/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src\\app\\layout.tsx","import":"Cinzel","arguments":[{"subsets":["latin"],"weight":["500","600","700"],"variable":"--font-display"}],"variableName":"display"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/b497598118275079-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/a273567b21a7c318-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/b497598118275079-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/a273567b21a7c318-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/b497598118275079-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/a273567b21a7c318-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Cinzel Fallback';src: local("Times New Roman");ascent-override: 71.31%;descent-override: 27.18%;line-gap-override: 0.00%;size-adjust: 136.86%
}.__className_6230ca {font-family: 'Cinzel', 'Cinzel Fallback';font-style: normal
}.__variable_6230ca {--font-display: 'Cinzel', 'Cinzel Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"src\\app\\layout.tsx","import":"Instrument_Sans","arguments":[{"subsets":["latin"],"weight":["400","500","600"],"variable":"--font-sans"}],"variableName":"sans"} ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/adb45196eddef626-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/26d0ba92e140f0dc-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/adb45196eddef626-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/26d0ba92e140f0dc-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/adb45196eddef626-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/26d0ba92e140f0dc-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Instrument Sans Fallback';src: local("Arial");ascent-override: 94.42%;descent-override: 24.33%;line-gap-override: 0.00%;size-adjust: 102.74%
}.__className_e986a4 {font-family: 'Instrument Sans', 'Instrument Sans Fallback';font-style: normal
}.__variable_e986a4 {--font-sans: 'Instrument Sans', 'Instrument Sans Fallback'
}

/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #1a1714;
  --surface: #242019;
  --surface-2: #2c261d;
  --line: #362e23;
  --line-soft: #302a20;
  --text: #f2ede3;
  --text-dim: #cdc4b2;
  --muted: #a99f8d;
  --muted-2: #8a8172;
  --gold: #e0b155;
  --gold-soft: #f0d9a8;
  --green: #7fb98a;
  --green-dim: #9fcaa6;
  --danger: #d98a6a;
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.brand { font-family: var(--font-display), Georgia, serif; font-weight: 600; letter-spacing: 0.03em; }
.serif { font-family: var(--font-display), Georgia, serif; }

.app-shell { max-width: 480px; margin: 0 auto; min-height: 100dvh; padding: 14px 16px calc(76px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }

.appbar { display: flex; align-items: center; gap: 10px; padding-top: 6px; min-height: 34px; }
.appbar .back { color: var(--text-dim); display: flex; background: none; border: 0; padding: 4px; margin-left: -4px; }
.appbar h1 { font-size: 17px; margin: 0; font-weight: 600; }
.appbar .trail { margin-left: auto; font-size: 12px; color: var(--muted-2); }

.hsm { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.card.tight { padding: 4px 16px; }
.card.gold { background: rgba(224,177,85,0.1); border-color: rgba(224,177,85,0.35); }
.card.green { background: #20281f; border-color: #2f4030; }
.card.warn { background: rgba(224,177,85,0.09); border-color: rgba(224,177,85,0.25); }

.muted { color: var(--muted); }
.dim { color: var(--text-dim); }

.btn { height: 52px; border-radius: 13px; border: 0; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; }
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:disabled { opacity: 0.45; }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); height: 46px; border-radius: 12px; font-size: 13.5px; font-weight: 500; }
.btn-danger-ghost { background: rgba(217,138,106,0.12); border: 1px solid rgba(217,138,106,0.4); color: var(--danger); }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; color: var(--text-dim); }
.chip.gold { background: rgba(224,177,85,0.12); border-color: rgba(224,177,85,0.4); color: var(--gold-soft); }
.chip.time { border-color: var(--gold); color: var(--gold-soft); }

.field { background: #1c1913; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--text); width: 100%; line-height: 1.5; }
.field:focus { outline: none; border-color: var(--gold); }
.field.lg { font-size: 16px; padding: 13px 14px; border-radius: 12px; }
.field-label { font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 5px; }

.vid-row { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--surface); }

.sheet-backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,0.55); animation: fade 0.15s ease; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 31;
  max-width: 480px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 20px 20px 0 0;
  max-height: 94dvh; display: flex; flex-direction: column;
  padding: 6px 16px calc(16px + env(safe-area-inset-bottom));
  animation: slideup 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet-grip { width: 38px; height: 4px; border-radius: 2px; background: var(--line); margin: 6px auto 10px; }
.sheet-body { overflow-y: auto; display: flex; flex-direction: column; gap: 16px; padding-bottom: 4px; flex: 1 1; }
.sheet-textarea { min-height: 40dvh; resize: none; line-height: 1.6; }
@keyframes slideup { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.still { background: radial-gradient(circle at 62% 33%, rgba(224,177,85,0.28), transparent 55%), linear-gradient(158deg, #40301e, #231a11); border: 1px solid #4a3a25; position: relative; flex-shrink: 0; }
.still .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: #f2ede3; display: flex; }

.status-pill { display: flex; align-items: center; gap: 7px; background: #20281f; border: 1px solid #2f4030; padding: 5px 11px; border-radius: 999px; font-size: 12px; color: var(--green-dim); font-weight: 500; }
.status-pill.off { background: #2a2018; border-color: #5a4632; color: var(--danger); }
.dot { width: 7px; height: 7px; border-radius: 99px; background: var(--green); }
.dot.off { background: var(--danger); }

.spinner { width: 15px; height: 15px; border: 2px solid var(--gold); border-right-color: transparent; border-radius: 99px; display: inline-block; animation: spin 0.8s linear infinite; }
.spinner.sm { width: 13px; height: 13px; }
.spinner.muted { border-color: var(--muted-2); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grow { flex: 1 1; }
.row { display: flex; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; }

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: space-around;
  background: rgba(26,23,20,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-soft);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted-2); font-size: 10.5px; font-weight: 500; padding: 4px 14px; min-width: 60px; }
.bottom-nav a.active { color: var(--gold); }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 15; padding: 26px 16px 14px; background: linear-gradient(#1a171400, var(--bg) 42%); }
.sticky-cta .inner { max-width: 480px; margin: 0 auto; }

.step-track { display: flex; justify-content: space-between; margin-top: 16px; position: relative; }
.step-track .line { position: absolute; left: 24px; right: 24px; top: 9px; height: 2px; background: var(--line); }
.step-track .line-fill { position: absolute; left: 24px; top: 9px; height: 2px; background: var(--gold); transition: width 0.4s; }
.step-node { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.step-node .bead { width: 20px; height: 20px; border-radius: 99px; background: #2a2419; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; }
.step-node.done .bead { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.step-node.active .bead { background: var(--bg); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(224,177,85,0.15); }
.step-node .label { font-size: 10px; color: var(--muted-2); text-align: center; line-height: 1.2; width: 52px; }
.step-node.active .label { color: var(--gold); }

/* login */
.login-wrap { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; overflow: hidden; }
.login-glow { position: absolute; top: -10%; left: 50%; width: 460px; height: 460px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(224,177,85,0.16), transparent 65%); pointer-events: none; }
.login-card { position: relative; width: 100%; max-width: 340px; display: flex; flex-direction: column; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 34px 26px 28px; }
.login-mark { color: var(--gold); display: flex; margin-bottom: 14px; }
.login-title { font-size: 22px; margin: 0; }
.login-sub { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.login-error { color: var(--danger); font-size: 12.5px; margin-top: 8px; align-self: center; }


