/* Page-specific styles: title page, My Q, Friends, profile, search, login. */

.attrib { margin: 40px auto 0; max-width: 640px; text-align: center; color: var(--faint); font-size: 12px; line-height: 1.5; }
.svc-page-head { padding-top: 18px; }
.svc-logo.big { height: 52px; max-width: 260px; }
.svc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.svc-pick button { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--panel-2); border: 1px solid transparent; font-weight: 500; text-align: left; }
.svc-pick img { width: 38px; height: 38px; border-radius: 10px; }
.svc-pick i { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--faint); display: grid; place-items: center; }
.svc-pick i svg { width: 14px; height: 14px; opacity: 0; stroke-width: 3; }
.svc-pick .on { border-color: #649bf7; background: #182a44; }
.svc-pick .on i { background: var(--blue); border-color: var(--blue); }
.svc-pick .on i svg { opacity: 1; }

/* =========================== Title page =========================== */
body.immersive #topbar { display: none; }
.title-page { position: relative; }
.t-hero { position: relative; height: min(68vh, 600px); min-height: 440px; overflow: hidden; background: #0b0c14; display: flex; flex-direction: column; justify-content: flex-end; }
.t-hero.skel { border-radius: 0; height: 60vh; }
.t-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; animation: kenburns 24s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } }
.t-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 14, .85) 22%, rgba(7, 8, 14, .2) 55%, rgba(7, 8, 14, .35) 100%); }
.t-back { position: absolute; z-index: 3; top: calc(12px + var(--safe-t)); left: 14px; }
.t-play {
  position: absolute; z-index: 2; left: 50%; top: 34%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.t-play svg.i { width: 30px; height: 30px; padding: 22px; box-sizing: content-box; border-radius: 50%; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .2s, background .2s; margin-left: 4px; }
.t-play:hover svg.i { transform: scale(1.08); background: rgba(255, 255, 255, .26); }
.t-hero-info { position: relative; z-index: 2; padding: 0 var(--gutter) 6px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.t-logo { max-width: min(78%, 420px); max-height: 120px; object-fit: contain; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, .7)); margin-bottom: 6px; }
.t-name { font-size: 36px; text-shadow: 0 3px 22px rgba(0, 0, 0, .7); }
.t-meta { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.t-genres { color: var(--muted); font-size: 13.5px; }
.t-actions { display: flex; gap: 10px; width: 100%; max-width: 460px; margin-top: 10px; }
.t-actions .t-big { flex: 1 1 0; min-width: 0; height: 52px; font-size: 16px; border-radius: 16px; padding: 0 12px; }
.t-actions .t-big span { overflow: hidden; text-overflow: ellipsis; }
.t-actions .round { width: 52px; height: 52px; border-radius: 16px; flex: none; }
.t-player { position: relative; z-index: 4; width: 100%; aspect-ratio: 16/9; background: #000; }
.t-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.t-close { position: absolute; right: 12px; top: 12px; }
.title-page.playing .t-hero { height: auto; min-height: 0; padding-top: var(--safe-t); }
.title-page.playing .t-backdrop, .title-page.playing .t-play, .title-page.playing .t-hero::after { display: none; }
.title-page.playing .t-back { top: calc(12px + var(--safe-t)); }
.title-page.playing .t-hero-info { padding-top: 18px; }
@media (min-width: 900px) {
  .t-hero { height: 86vh; max-height: 860px; }
  .t-hero::after { background: linear-gradient(90deg, rgba(7, 8, 14, .92) 0%, rgba(7, 8, 14, .55) 38%, transparent 70%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
  .t-hero-info { align-items: flex-start; text-align: left; max-width: calc(560px + 2 * var(--gutter)); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-bottom: 40px; }
  .t-logo { max-width: 460px; max-height: 160px; object-position: left; }
  .t-name { font-size: 54px; }
  .t-play { left: auto; right: 12%; top: 50%; }
  .title-page.playing .t-hero { padding: 70px 0 0; }
  .title-page.playing .t-player { max-width: min(var(--max), 140vh); margin: 0 auto; border-radius: 18px; overflow: hidden; }
}
.t-body { position: relative; z-index: 2; }
.t-overview { margin-top: 18px; max-width: 760px; }
.t-tagline { color: var(--ink-2); font-style: italic; margin-bottom: 8px; }
.t-text { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.t-text.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.t-more { font-weight: 700; margin-top: 4px; }

.rate-row { margin-top: 22px !important; }
.rate-card { flex: none; width: 128px; padding: 14px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; text-align: left; }
.rate-card b { font-size: 26px; line-height: 1; }
.rate-card b small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.rate-card > small { color: var(--muted); font-size: 12px; }
.rate-card.you { border-style: dashed; border-color: var(--line-2); }
.rb { height: 24px; display: inline-flex; align-items: center; align-self: flex-start; font-weight: 800; font-size: 13px; border-radius: 6px; padding: 0 7px; }
.rb.imdb { background: #f5c518; color: #000; letter-spacing: -.02em; }
.rb.rt { font-size: 20px; padding: 0; }
.rb.mc { width: 28px; justify-content: center; color: #fff; padding: 0; }
.rb.mc.good { background: #00ce7a; } .rb.mc.mid { background: #ffbd3f; color: #222; } .rb.mc.bad { background: #ff6874; }
.rb.tmdb { background: linear-gradient(90deg, #90cea1, #01b4e4); color: #0d253f; }
.rb.who { padding: 0; gap: 0; } .rb.who .avatar { margin-right: -6px; box-shadow: 0 0 0 2px var(--panel); }
.rb.you { background: var(--brand); color: #fff; }
.rb.tzb { background: var(--brand); color: #fff; letter-spacing: .04em; font-size: 11px; }
.rate-card.tz { border-color: color-mix(in srgb, var(--pc) 45%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--pc) 14%, var(--panel)), var(--panel)); }
.rate-card.tz b { color: var(--pc); }
.t-awards { margin-top: 14px; display: inline-block; padding: 8px 14px; border-radius: 12px; background: rgba(255, 207, 92, .08); border: 1px solid rgba(255, 207, 92, .2); color: #ffe3a1; font-size: 14px; }

.mine-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 16px; }
.mine-card .section-head { margin-bottom: 12px; }
.mine-progress { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 14px; }
.mine-progress b { color: var(--ink); }
.mine-review { display: block; width: 100%; text-align: left; margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--panel-2); }
.mine-review p { margin-top: 6px; color: var(--ink-2); }

.where { display: flex; flex-direction: column; gap: 14px; }
.where-group { display: flex; align-items: center; gap: 14px; }
.where-label { width: 92px; flex: none; color: var(--muted); font-size: 13px; font-weight: 500; }
.where-logos { display: flex; flex-wrap: wrap; gap: 10px; }
.prov { width: 48px; height: 48px; border-radius: 13px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.prov img { width: 100%; height: 100%; }
.prov.mine { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--cyan); }

#t-seasons { margin-bottom: 14px; }
.eps { display: flex; flex-direction: column; gap: 4px; }
.ep { display: grid; grid-template-columns: 128px 1fr 44px; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ep-still { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--panel-2); }
.ep-still img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, filter .3s; }
.ep-still em { position: absolute; left: 6px; bottom: 5px; font-style: normal; font-weight: 800; font-size: 13px; background: rgba(0, 0, 0, .65); padding: 1px 7px; border-radius: 6px; }
.ep-text { min-width: 0; }
.ep-text b { display: block; font-size: 15px; }
.ep-text small { color: var(--muted); font-size: 12.5px; }
.ep-text p { color: var(--muted); font-size: 13px; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep-check { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--panel-3); color: var(--faint); transition: .2s; }
.ep-check svg.i { width: 20px; height: 20px; stroke-width: 3; }
.ep-check:hover { border-color: var(--muted); color: var(--ink); }
.ep-check[aria-pressed="true"] { background: var(--brand); border-color: transparent; color: #fff; animation: qpop .3s ease; }
.ep.seen .ep-still img { opacity: .45; filter: grayscale(.4); }
.ep.seen .ep-text b { color: var(--muted); }
.ep-soon { color: var(--faint); display: grid; place-items: center; }
@media (min-width: 760px) { .ep { grid-template-columns: 180px 1fr 48px; } }

.vid { flex: none; width: 250px; text-align: left; }
.vid-art { position: relative; display: block; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: var(--panel-2); }
.vid-art img { width: 100%; height: 100%; object-fit: cover; }
.vid-art i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .25); }
.vid-art i svg { width: 40px; height: 40px; padding: 12px; border-radius: 50%; background: rgba(0, 0, 0, .5); box-sizing: content-box; }
.vid-name { display: block; margin-top: 8px; font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vid small { color: var(--faint); font-size: 12px; }

.person { flex: none; width: 92px; text-align: center; }
.person .face { width: 84px; height: 84px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--panel-2); font-weight: 700; color: var(--muted); }
.person .face img { width: 100%; height: 100%; object-fit: cover; }
.person b { display: block; font-size: 13px; font-weight: 500; line-height: 1.25; }
.person small { display: block; color: var(--faint); font-size: 12px; line-height: 1.25; margin-top: 2px; }

.info { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px 24px; margin: 0; }
.info dt { color: var(--muted); font-size: 13px; }
.info dd { margin: 2px 0 0; font-weight: 500; }

.takes { display: flex; flex-direction: column; gap: 10px; }
.take { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.take p { color: var(--ink-2); margin-top: 6px; }

/* =========================== My Q =========================== */
.q-tabs { position: sticky; top: calc(60px + var(--safe-t)); z-index: 5; background: rgba(18, 20, 31, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.q-tabs button { padding: 0 4px; font-size: 13.5px; white-space: nowrap; gap: 4px; }
.q-tabs .count { background: none; padding: 0; color: var(--faint); font-size: 12px; }
.q-tabs button.active .count { color: var(--cyan); }
.q-tabs .count:empty { display: none; }
@media (min-width: 600px) { .q-tabs { max-width: 600px; } .q-tabs button { font-size: 14px; } }
.qlist { display: flex; flex-direction: column; margin-top: 10px; }
.qrow { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity .3s; }
.qrow-art { display: block; aspect-ratio: 2/3; border-radius: 12px; overflow: hidden; background: var(--panel-2); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.qrow-art img { width: 100%; height: 100%; object-fit: cover; }
.qrow-art.sm { width: 72px; }
.qrow.waiting { grid-template-columns: 72px 1fr; align-items: center; }
.qrow-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.qrow-title { font-size: 19px; font-weight: 700; }
.qrow-ep { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qrow-bar { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.qrow-bar .bar { flex: 1; height: 9px; border-radius: 5px; }
.qrow-bar span { color: var(--muted); font-size: 14px; min-width: 42px; text-align: right; }
.qrow-actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.qrow-actions .muted { font-size: 14px; }
.qrow-when { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.qrow-when svg.i { width: 16px; height: 16px; }
.qcheck { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--panel-2); border: 2px solid transparent;
  background-image: linear-gradient(var(--panel-2), var(--panel-2)), var(--glow); background-origin: border-box; background-clip: padding-box, border-box; transition: transform .15s; }
.qcheck svg.i { stroke-width: 3; }
.qcheck:hover { transform: scale(1.06); }
.qcheck.done { background-image: var(--glow), var(--glow); animation: qpop .35s ease; }
.qrow.ticked { opacity: .55; }
.q-subhead { margin: 30px 0 4px; font-size: 15px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.fab { position: fixed; z-index: 35; right: max(18px, calc((100vw - var(--max)) / 2 + 18px)); bottom: calc(var(--nav-h) + 30px + var(--safe-b));
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #a35bff, #ff4fb8); box-shadow: 0 12px 30px rgba(200, 70, 200, .45); transition: transform .15s; }
.fab svg.i { width: 28px; height: 28px; stroke-width: 2.5; }
.fab:hover { transform: scale(1.06) rotate(90deg); transition: transform .3s; }
.wl-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 12px; }
.sort { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.sort svg.i { width: 18px; height: 18px; }
.sort select { background: transparent; border: 0; color: var(--ink-2); font-weight: 500; outline: none; cursor: pointer; }
.wl-genres { margin-bottom: 20px; }
.rate-dot { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--gold);
  background: rgba(8, 9, 16, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rate-dot svg.i { width: 16px; height: 16px; }
.ep-sheet-still { width: calc(100% + 40px); max-width: none; margin: -24px -20px 0; aspect-ratio: 16/9; object-fit: cover; border-radius: 26px 26px 0 0; }
@media (min-width: 700px) { .ep-sheet-still { margin-top: -10px; } }

.up-head { margin: 26px 0 18px; }
.up-head h2 { font-size: 28px; }
.timeline { position: relative; display: flex; flex-direction: column; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 0; top: 0; bottom: -40px; width: 78px; border-radius: 39px;
  background: linear-gradient(180deg, #e86cf0 0%, #8b6cff 55%, rgba(139, 108, 255, 0) 100%); }
.tl-item { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 18px; align-items: start; }
.tl-when { display: flex; flex-direction: column; align-items: center; padding-top: 22px; color: #fff; text-align: center; line-height: 1.1; }
.tl-when i { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 5px rgba(255, 255, 255, .25); margin-bottom: 12px; }
.tl-when b { font-size: 24px; }
.tl-when span { font-size: 15px; font-weight: 500; }
.tl-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.tl-card img { width: 96px; aspect-ratio: 2/3; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.tl-card h3 { font-size: 21px; margin-bottom: 8px; }
.tl-card p { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--ink-2); }
.tl-card p svg.i { width: 19px; height: 19px; }
@media (min-width: 760px) { .tl-card { grid-template-columns: 120px 1fr; } .tl-card img { width: 120px; } }

/* =========================== Friends =========================== */
.bubbles { gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.bubble { position: relative; flex: none; width: 82px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.bubble .avatar { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(155, 107, 255, .7); }
.bubble b { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bubble small { color: var(--muted); font-size: 11.5px; margin-top: -4px; }
.bubble-emoji { position: absolute; top: 50px; right: 8px; font-style: normal; font-size: 18px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.avatar.add { background: var(--panel-2); color: var(--ink-2); box-shadow: inset 0 0 0 2px var(--line-2) !important; }
.rec { flex: none; width: 128px; }
.rec .poster { width: 100%; }
.rec-note { margin-top: 8px; font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 760px) { .rec { width: 156px; } }
.feed { display: flex; flex-direction: column; }
.feed-item { display: grid; grid-template-columns: 36px 1fr 64px; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.feed-text p { line-height: 1.4; }
.feed-text a:hover b { color: var(--cyan); }
.feed-stars { margin-top: 4px; }
.feed-quote { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }
.feed-text small { display: block; margin-top: 6px; font-size: 12px; }
.feed-poster { width: 64px; }
.feed-poster .art { border-radius: 8px; }
.feed-poster .qadd { width: 26px; height: 26px; border-radius: 8px; right: 3px; bottom: 3px; }
.feed-poster .qadd svg.i { width: 15px; height: 15px; }
.friends-empty { margin-top: 10px; padding: 60px 24px; }

.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 500; margin: 6px 0 14px; }
.back-link svg.i { width: 18px; height: 18px; }
.persona {
  position: relative; overflow: hidden; border-radius: 28px; padding: 24px 22px 26px; text-align: center; isolation: isolate;
  background: linear-gradient(150deg, var(--p1), var(--p2)); box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.persona-glow { position: absolute; inset: -40%; z-index: -1; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .35), transparent 40%), radial-gradient(circle at 80% 90%, rgba(0, 0, 0, .35), transparent 50%); }
.persona-who { display: flex; align-items: center; gap: 12px; text-align: left; }
.persona-who .avatar { box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); }
.persona-who b { font-size: 15px; display: block; }
.persona-emoji { font-size: 76px; line-height: 1; margin: 22px 0 8px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .3)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-4deg); } }
.persona h2 { font-size: 32px; text-shadow: 0 2px 16px rgba(0, 0, 0, .25); }
.persona-blurb { margin: 8px auto 0; max-width: 380px; font-size: 16px; color: rgba(255, 255, 255, .9); }
.persona-traits { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.persona-traits span { padding: 6px 12px; border-radius: 20px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .25); font-size: 13.5px; font-weight: 500; }
.match { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 10px 18px 10px 10px; border-radius: 40px; background: rgba(0, 0, 0, .25); text-align: left; }
.match b { display: block; font-size: 16px; }
.match span { font-size: 13px; opacity: .85; }
.ring { width: 54px; height: 54px; }
.ring text { fill: #fff; font: 700 17px Cera, sans-serif; }
.demo-tag { display: inline-block; margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .3); }
.profile-actions { display: flex; justify-content: center; margin-top: 18px; }
@media (min-width: 760px) { .persona { padding: 32px; } .persona h2 { font-size: 40px; } .profile { max-width: 900px; } }

.dna-bars { display: flex; flex-direction: column; gap: 12px; }
.dna-bar { display: grid; grid-template-columns: 96px 1fr 42px; gap: 12px; align-items: center; font-size: 14px; }
.dna-bar .bar { height: 10px; border-radius: 5px; }
.dna-bar b { text-align: right; color: var(--muted); font-weight: 500; }
.split { margin-top: 22px; }
.split-bar { height: 12px; border-radius: 6px; background: #ff4fb8; overflow: hidden; }
.split-bar i { display: block; height: 100%; background: #3fd0ff; }
.split-legend { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 13.5px; }
.split-legend span { display: flex; align-items: center; gap: 6px; }
.split-legend svg.i { width: 16px; height: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.stat-grid div { padding: 14px 6px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.stat-grid b { display: block; font-size: 24px; }
.stat-grid span { color: var(--muted); font-size: 12px; }
.reviews { display: flex; flex-direction: column; gap: 10px; }
.review { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.review img { width: 56px; border-radius: 8px; aspect-ratio: 2/3; object-fit: cover; }
.review p { color: var(--ink-2); margin: 6px 0; }
.invite-box .input { font-size: 14px; color: var(--cyan); }
.settings .ico svg.i { width: 20px; height: 20px; }

/* =========================== Search =========================== */
.search { padding-top: var(--safe-t); }
.search-bar { position: sticky; top: 0; z-index: 2; display: flex; gap: 12px; align-items: center; padding: 12px var(--gutter); background: rgba(7, 8, 14, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 14px; background: var(--panel-2); color: var(--muted); }
.search-field input { flex: 1; border: 0; background: transparent; outline: none; color: var(--ink); font-size: 16px; min-width: 0; }
.search-cancel { color: var(--cyan); font-weight: 500; }
.search-heading { padding: 4px var(--gutter) 0; color: var(--muted); max-width: var(--max); margin: 0 auto; }
.search-body { padding-top: 12px; padding-bottom: 60px; }
.search-label { font-size: 15px; color: var(--muted); font-weight: 500; margin: 6px 0 14px; }

/* =========================== Lockscreen =========================== */
body.lockscreen { background: radial-gradient(ellipse at 50% -10%, rgba(120, 60, 179, .35), transparent 60%), radial-gradient(ellipse at 90% 110%, rgba(18, 103, 161, .3), transparent 50%), #04050a; }
.ls { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; text-align: center; }
.ls-brand img { width: 92px; height: 92px; border-radius: 20px; margin: 0 auto; box-shadow: 0 0 60px rgba(120, 90, 255, .35); }
.ls-word { font-size: 32px; font-weight: 300; letter-spacing: .04em; margin-top: 12px; }
.ls-tag { font-size: 12px; letter-spacing: .4em; color: var(--muted); margin-top: 2px; }
.ls-step { margin-top: 34px; width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; }
.ls-step h2 { font-size: 24px; margin-bottom: 18px; }
.ls-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.ls-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 500; }
.ls-tile:hover .avatar { transform: scale(1.06); }
.ls-tile .avatar { transition: transform .2s; }
.ls-form { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.ls-back { margin-top: 18px; color: var(--muted); }
.pin-dots { display: flex; gap: 14px; height: 18px; margin-bottom: 4px; }
.pin-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); transition: .15s; }
.pin-dots i.on { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 10px rgba(111, 227, 255, .5); }
.pin-dots i.err { border-color: var(--bad); }
.pin-pad { display: grid; grid-template-columns: repeat(3, 70px); gap: 14px; margin-top: 6px; }
.pin-pad button { height: 70px; border-radius: 50%; background: rgba(40, 44, 80, .35); border: 1px solid var(--line-2); font-size: 26px; font-weight: 400; display: grid; place-items: center; transition: background .15s; }
.pin-pad button:active { background: rgba(120, 90, 220, .35); }
.pin-pad .go { background: var(--brand); border: 0; }
.join-from { margin-bottom: 14px; }
