/* StitchClips. Dark studio, warm gold and orange on deep charcoal.
   iPhone first, desktop second. Every font stack ends in sans-serif. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Inter-400.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/Inter-600.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/Inter-800.ttf") format("truetype"); }

:root {
    --bg: #111216;
    --surface: #1a1c22;
    --surface-2: #22252d;
    --surface-3: #2b2f39;
    --line: #30343e;
    --text: #f4f0e6;
    --muted: #a5a096;
    --dim: #77736b;
    --gold: #f8bd45;
    --gold-2: #f5a623;
    --orange: #f26b21;
    --good: #5fd39a;
    --bad: #ff7466;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --r: 18px;
    --r-s: 12px;
    --tap: 48px;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); }
body { font-size: 16px; line-height: 1.5; min-height: 100vh; padding-bottom: calc(96px + env(safe-area-inset-bottom));
    background-image: radial-gradient(900px 480px at 50% -160px, rgba(245, 166, 35, .13), transparent 70%); background-repeat: no-repeat; }
h1, h2, h3, h4, p, label, button, input, select, textarea, summary, a, li, td, th, span, div { font-family: var(--sans); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--gold); }
button, input, select, textarea { font-size: 16px; color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 900px; margin: 0 auto; padding: 16px 16px 40px; }
.loading { color: var(--muted); padding: 48px 0; text-align: center; }

/* ---------- top bar */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: calc(10px + env(safe-area-inset-top)) 16px 0; background: rgba(17, 18, 22, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -.02em; margin-right: auto; }
.brand img { display: block; height: 30px; width: auto; }
.signout { margin: 0; }
.tabs { order: 3; width: 100%; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: 1 0 auto; text-align: center; padding: 12px 14px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a.on { color: var(--text); border-bottom-color: var(--gold); }
@media (min-width: 760px) {
    .top { flex-wrap: nowrap; padding: 10px 24px 0; }
    .brand { margin-right: 20px; padding-bottom: 10px; }
    .tabs { order: 0; width: auto; flex: 1; }
    .tabs a { flex: 0 0 auto; }
    .signout { padding-bottom: 10px; }
}

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 10px 18px; border-radius: var(--r-s);
    border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-weight: 600; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform .06s ease, background .15s ease, border-color .15s ease; }
.btn:active { transform: scale(.98); }
.btn:hover { border-color: #4a4f5c; }
.btn.primary { background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: #1a1408; border-color: transparent; font-weight: 800; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.go { background: linear-gradient(180deg, #ff8a3c, var(--orange)); color: #fff; border-color: transparent; font-weight: 800; }
.btn.ghost { background: transparent; }
.btn.quiet { background: transparent; border-color: transparent; color: var(--muted); }
.btn.small { min-height: 40px; padding: 6px 12px; font-size: 14px; }
.btn.big { min-height: 56px; font-size: 18px; width: 100%; border-radius: 14px; }
.btn.danger { color: var(--bad); }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.btn.on { background: var(--surface-3); border-color: var(--gold); color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- cards and text */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-top: 16px; }
.card h2 { font-size: 20px; font-weight: 800; }
.card h3 { font-size: 16px; font-weight: 800; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.msg { padding: 12px 14px; border-radius: var(--r-s); font-size: 15px; margin-top: 12px; }
.msg.bad { background: rgba(255, 116, 102, .12); border: 1px solid rgba(255, 116, 102, .4); color: #ffc1ba; }
.msg.good { background: rgba(95, 211, 154, .1); border: 1px solid rgba(95, 211, 154, .35); color: #b8f0d4; }
.msg.info { background: rgba(248, 189, 69, .09); border: 1px solid rgba(248, 189, 69, .32); color: #f6dfae; }

/* ---------- the ask */
.ask { margin-top: 8px; padding: 20px; border-radius: 22px; border: 1px solid #3a3528;
    background: linear-gradient(180deg, #20222a, #191b21); box-shadow: 0 18px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .04); }
.ask h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.ask h1 em { font-style: normal; color: var(--gold); }
.ask textarea { display: block; width: 100%; margin-top: 14px; min-height: 104px; resize: vertical; padding: 16px; border-radius: 16px; border: 2px solid var(--line);
    background: #0f1014; color: var(--text); font-size: 19px; line-height: 1.4; font-weight: 400; }
.ask textarea::placeholder { color: var(--dim); }
.ask textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(248, 189, 69, .16); }
.ask .controls { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.ask select { flex: 1 1 180px; min-height: 56px; }
.ask .btn.primary { flex: 1 1 160px; min-height: 56px; font-size: 19px; }
.libline { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 15px; color: var(--muted); }
.libline b { color: var(--text); font-weight: 800; }
.dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; background: var(--good); }
.dot.busy { background: var(--gold); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(248, 189, 69, .55); } 50% { box-shadow: 0 0 0 7px rgba(248, 189, 69, 0); } }

/* ---------- form controls */
label.f, .f-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
input[type=text], input[type=password], textarea, select { width: 100%; min-height: var(--tap); padding: 12px 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: #0f1014; color: var(--text); }
textarea { resize: vertical; line-height: 1.45; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23a5a096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(248, 189, 69, .15); }
input[type=range] { width: 100%; height: var(--tap); accent-color: var(--gold); background: transparent; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg .btn { flex: 1 1 0; min-width: 96px; padding: 8px 10px; font-size: 15px; text-align: center; }
.switch { display: flex; align-items: center; gap: 12px; min-height: var(--tap); cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { flex: 0 0 auto; width: 54px; height: 32px; border-radius: 16px; background: var(--surface-3); border: 1px solid var(--line); position: relative; transition: background .15s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #d8d3c8; transition: transform .15s; }
.switch input:checked + .track { background: var(--gold-2); border-color: transparent; }
.switch input:checked + .track::after { transform: translateX(22px); background: #1a1408; }
.switch input:focus-visible + .track { outline: 2px solid var(--gold); outline-offset: 2px; }
.rangeline { display: flex; align-items: center; gap: 12px; }
.rangeline output { flex: 0 0 auto; min-width: 92px; text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- request header and search wait */
.reqhead .ask-text { font-size: 19px; font-weight: 600; margin-top: 6px; }
.wait { text-align: center; padding: 30px 18px; }
.spinner { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; border: 4px solid var(--surface-3); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- candidates */
.filters { display: flex; gap: 6px; overflow-x: auto; margin-top: 14px; padding-bottom: 2px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters .btn { flex: 0 0 auto; }
.cand { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-top: 12px; border-left: 4px solid var(--line); }
.cand.include { border-left-color: var(--good); }
.cand.exclude { opacity: .62; }
.cand .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--surface-3); color: var(--muted); }
.badge.strong { background: rgba(95, 211, 154, .16); color: var(--good); }
.badge.good { background: rgba(248, 189, 69, .16); color: var(--gold); }
.cand h3 { margin-top: 8px; font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.cand .where { font-size: 14px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.cand .where b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.quote { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-s); background: #13141a; font-size: 16px; line-height: 1.55; }
.quote .ctx { color: var(--dim); }
.quote .said { color: var(--text); font-weight: 600; background: linear-gradient(transparent 62%, rgba(248, 189, 69, .22) 0); }
.quote .tag { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 8px 0 2px; }
.quote .tag:first-child { margin-top: 0; }
.why { margin-top: 10px; font-size: 14px; color: var(--muted); }
.why li { margin: 2px 0; }
.why ul { margin: 4px 0 0; padding-left: 18px; }
.cand .actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.cand .actions .btn { flex: 1 1 120px; }
.btn.inc.on { background: rgba(95, 211, 154, .16); border-color: var(--good); color: var(--good); }
.btn.exc.on { background: rgba(255, 116, 102, .12); border-color: var(--bad); color: var(--bad); }
.player { margin-top: 12px; }
.player video { display: block; width: 100%; max-height: 62vh; background: #000; border-radius: var(--r-s); }
.trim { margin-top: 12px; padding: 12px; border-radius: var(--r-s); background: #13141a; }
.trimrow { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.trimrow .lbl { flex: 0 0 48px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.trimrow .t { flex: 1 1 auto; text-align: center; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.trimrow .btn { flex: 0 0 auto; min-width: 54px; padding: 6px 8px; }

/* ---------- running order */
.order { list-style: none; margin: 12px 0 0; padding: 0; }
.order li { display: flex; align-items: center; gap: 10px; padding: 10px; margin-top: 8px; border-radius: var(--r-s); background: var(--surface-2); border: 1px solid var(--line); }
.order li.dragging { border-color: var(--gold); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); position: relative; z-index: 5; }
.order .handle { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-3); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.order .handle svg { pointer-events: none; }
.order .n { flex: 0 0 auto; width: 26px; text-align: center; font-weight: 800; color: var(--gold); }
.order .t { flex: 1 1 auto; min-width: 0; }
.order .t b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-weight: 600; overflow: hidden; overflow-wrap: anywhere; line-height: 1.3; }
.order .mv { flex-direction: column; }
.order .t span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.order .mv { display: flex; gap: 4px; }
.order .mv .btn { min-width: 44px; padding: 4px; }

/* ---------- production panel */
.panel details { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 4px; }
.panel summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 56px; cursor: pointer; font-weight: 800; font-size: 17px; }
.panel summary::-webkit-details-marker { display: none; }
.panel summary .state { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); text-align: right; max-width: 56%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel summary .state.need { color: var(--gold); }
.panel summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: 0 4px 4px 4px; transition: transform .15s; }
.panel details[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.panel .body { padding: 0 0 12px; }
.director textarea { min-height: 92px; font-size: 17px; }
.understood { margin: 10px 0 0; padding: 0; list-style: none; }
.understood li { padding: 7px 0 7px 28px; position: relative; font-size: 15px; border-top: 1px solid var(--line); }
.understood li:first-child { border-top: 0; }
.understood li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good); transform: rotate(-45deg); }
.understood li.unsure::before { content: "?"; border: 0; transform: none; top: 6px; left: 6px; color: var(--gold); font-weight: 800; width: auto; height: auto; }
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stylepick { padding: 10px 8px; border-radius: var(--r-s); border: 2px solid var(--line); background: #0f1014; cursor: pointer; text-align: center; min-height: 96px; }
.stylepick.on { border-color: var(--gold); }
.stylepick .demo { display: grid; place-items: center; height: 46px; overflow: hidden; }
.stylepick .name { font-size: 13px; font-weight: 800; margin-top: 6px; }
.stylepick .about { font-size: 11px; color: var(--muted); line-height: 1.25; }
.demo-marquee { font-family: "Bebas Neue", "Inter", Impact, "Arial Narrow", sans-serif; font-weight: 800; letter-spacing: .06em; color: var(--gold); font-size: 22px; text-transform: uppercase; }
.demo-clean { font-weight: 800; color: #fff; font-size: 17px; border-top: 2px dashed var(--gold); padding-top: 4px; }
.demo-stamp { font-weight: 800; color: #fff; font-size: 17px; border-left: 5px solid var(--orange); padding-left: 8px; text-align: left; }
.pick { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-top: 8px; border-radius: var(--r-s); border: 2px solid var(--line); background: #0f1014; cursor: pointer; min-height: 56px; }
.pick.on { border-color: var(--gold); background: rgba(248, 189, 69, .07); }
.pick.removed { opacity: .55; cursor: default; }
.pick .radio { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted); display: grid; place-items: center; }
.pick.on .radio { border-color: var(--gold); }
.pick.on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.pick .t { flex: 1 1 auto; min-width: 0; }
.pick .t b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick .t span { font-size: 13px; color: var(--muted); }
.pick audio { display: block; width: 100%; height: 40px; margin-top: 8px; }
.pickwrap audio { width: 100%; height: 40px; margin-top: 6px; }
.upload { margin-top: 12px; padding: 14px; border-radius: var(--r-s); border: 1px dashed #4a4f5c; background: #13141a; }
.upload input[type=file] { width: 100%; min-height: var(--tap); padding: 10px; border-radius: var(--r-s); border: 1px solid var(--line); background: #0f1014; }
.timeline { display: flex; gap: 3px; margin-top: 12px; height: 46px; border-radius: 10px; overflow: hidden; background: #0f1014; }
.timeline div { flex: 1 1 0; min-width: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #14110a; overflow: hidden; white-space: nowrap; }
.timeline .title, .timeline .end { background: var(--gold); }
.timeline .clip { background: #e9e4d8; }
.timeline .space { background: #3a3e49; color: var(--muted); }
.timeline .crossfade { background: #8b8f9a; }
.timeline .narration { background: var(--orange); color: #fff; }
.parts { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; }
.parts li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.parts li:first-child { border-top: 0; }
.parts li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.parts li.total { font-weight: 800; color: var(--gold); border-top: 2px solid var(--line); }
.parts li.note { color: var(--muted); display: block; }

/* ---------- sign-off */
.signoff { border-color: #4a3d1e; background: linear-gradient(180deg, #211e17, #1a1c22); }
.checklist { margin: 12px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist a { color: var(--gold); font-weight: 600; text-decoration: none; }
.checklist .bullet { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gold); margin-top: 1px; }
.allset { display: flex; gap: 10px; align-items: center; color: var(--good); font-weight: 600; margin-top: 12px; }

/* ---------- render progress and finished videos */
.progress { height: 14px; border-radius: 7px; background: var(--surface-3); overflow: hidden; margin-top: 14px; }
.progress div { height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--gold), var(--orange)); transition: width .6s ease; }
.rstats { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.video { margin-top: 14px; }
.video video { display: block; width: 100%; max-height: 72vh; background: #000; border-radius: var(--r-s); }
.vmeta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; margin-top: 14px; font-size: 14px; }
.vmeta div span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.vmeta div b { font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 620px) { .vmeta { grid-template-columns: repeat(4, 1fr); } }
.sources { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; counter-reset: s; }
.sources li { padding: 10px 0; border-top: 1px solid var(--line); }
.sources li b { font-weight: 600; }
.sources li .q { color: var(--muted); margin-top: 4px; }
.removedcard { opacity: .7; border-style: dashed; }
details.plain summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; font-weight: 600; color: var(--gold); }

/* ---------- the running total bar */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(26, 28, 34, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid #4a3d1e; }
.bar .tot { flex: 1 1 auto; min-width: 0; }
.bar .tot b { display: block; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bar .tot span { font-size: 13px; color: var(--muted); }
.bar .btn { flex: 0 0 auto; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; max-width: min(92vw, 520px); padding: 12px 18px; border-radius: 14px;
    background: #2b2f39; border: 1px solid #4a4f5c; box-shadow: 0 14px 40px rgba(0, 0, 0, .55); font-weight: 600; text-align: center; }
.toast.bad { border-color: var(--bad); color: #ffc1ba; }

/* ---------- list rows (requests) */
.item { display: block; text-decoration: none; color: inherit; }
.item .card { transition: border-color .15s; }
.item:hover .card { border-color: #4a4f5c; }
.empty { text-align: center; color: var(--muted); padding: 36px 16px; }

/* ---------- sign-in */
body.signin { display: grid; place-items: center; padding: 24px 16px; min-height: 100vh; }
.signin-card { width: 100%; max-width: 400px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px 22px 22px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55); }
.signin-card h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.signin-card .tagline { color: var(--gold); font-weight: 600; margin-top: 4px; }
.signin-card form { text-align: left; margin-top: 18px; }
.signin-card label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.signin-card .btn.big { margin-top: 18px; }
.signin-card .hint { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.signin-card .lead { text-align: center; }
.signin-card .fine { font-size: 12px; color: var(--dim); margin-top: 22px; }
.or { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--muted); font-size: 13px; font-weight: 600; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.signin-mark { border-radius: 20px; }
@font-face { font-family: "Bebas Neue"; font-weight: 400; font-display: swap; src: url("/assets/fonts/BebasNeue-Regular.ttf") format("truetype"); }

/* ---------- Find It On The Web */
.askmode { margin-top: 14px; }
.askmode .btn { min-height: 44px; }
.webwait { display: flex; gap: 14px; align-items: center; margin-top: 14px; }
.spinner.small { width: 28px; height: 28px; border-width: 3px; margin: 0; flex: 0 0 auto; }
.webresult { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.webresult img, .webresult .nothumb { flex: 0 0 auto; width: 120px; height: 68px; object-fit: cover; border-radius: 10px; background: var(--surface-3); }
.webresult b { display: block; font-weight: 600; overflow-wrap: anywhere; line-height: 1.3; }
.webpicked { margin-top: 12px; padding: 12px 14px; border-radius: var(--r-s); background: #13141a; overflow-wrap: anywhere; }
.webmoment { margin-top: 12px; padding: 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--surface-2); }
.webmoment .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); }
.webmoment .actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.webmoment .actions .btn { flex: 1 1 150px; }
.badge.web { background: rgba(242, 107, 33, .18); color: #ff9a5a; }
.msg a { color: inherit; overflow-wrap: anywhere; }
.cand .where a { overflow-wrap: anywhere; }
@media (max-width: 480px) { .webresult img, .webresult .nothumb { width: 96px; height: 54px; } }

/* ---------- link lists */
.linklabel { display: block; font-weight: 600; color: var(--gold); text-decoration: none; overflow-wrap: anywhere; line-height: 1.35; }
.linklabel:hover { text-decoration: underline; }
.webresult.gone { opacity: .5; }
.webresult.gone .linklabel { text-decoration: line-through; }
.steps { margin: 12px 0; padding-left: 22px; }
.steps li { margin: 8px 0; line-height: 1.45; }
.askmode .btn { min-width: 0; font-size: 14px; padding: 8px 6px; }
