/* ==========================================================================
   App shell — shared by client portal and trainer admin (dark luxe)
   ========================================================================== */
body.app { background: var(--ink); min-height: 100dvh; }
body.app::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 85% -5%, rgba(232, 163, 61, .09), transparent 60%),
    radial-gradient(50% 40% at -10% 110%, rgba(62, 74, 58, .25), transparent 60%);
}
.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100dvh; }

/* Sidebar */
.sidebar {
  position: sticky; top: 0; height: 100dvh;
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 14px 16px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(23, 21, 15, .9), rgba(14, 13, 11, .9));
  overflow-y: auto; scrollbar-width: none;
  z-index: 50;
}
.sidebar::-webkit-scrollbar { display: none; }
.sb-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; }
.sb-brand__mark { font-family: var(--serif); font-style: italic; font-size: 1.85rem; line-height: 1; letter-spacing: -.02em; }
.sb-brand__sub { font-family: var(--mono); font-size: .5625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); line-height: 1.3; border-left: 1px solid var(--line-2); padding-left: 10px; }
.sb-group { display: grid; gap: 2px; margin-top: 10px; }
.sb-label { font-family: var(--mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); padding: 8px 12px 6px; }
.sb-link {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 42px; padding: 0 12px;
  border-radius: 12px;
  font-size: .875rem; font-weight: 600; color: var(--text-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.sb-link svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.sb-link:hover { background: var(--bone-4); color: var(--text); }
.sb-link.is-active { background: var(--bone-8); color: var(--text); }
.sb-link.is-active::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--amber); }
.sb-link.is-active svg { color: var(--amber); opacity: 1; }
.sb-count { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; font-family: var(--mono); font-size: .6875rem; background: var(--bone-8); color: var(--text-2); }
.sb-count--hot { background: var(--amber); color: var(--on-accent); font-weight: 600; }
.sb-foot { margin-top: auto; padding-top: 14px; display: grid; gap: 8px; }
.sb-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--bone-4); }
.sb-user b { font-size: .875rem; display: block; line-height: 1.2; }
.sb-user small { font-size: .75rem; color: var(--text-3); }
.sb-record { margin: 4px 0 8px; }

.sb-scrim { display: none; }
@media (max-width: 899px) { .sb-scrim { display: block; } }

/* Main column */
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  height: calc(var(--topbar-h) + var(--safe-t));
  padding: var(--safe-t) clamp(16px, 3vw, 40px) 0;
  background: rgba(14, 13, 11, .72);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--line);
}
.topbar__title { font-weight: 700; font-size: .9375rem; min-width: 0; display: flex; align-items: center; gap: 8px; }
.topbar__crumbs { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--text-3); min-width: 0; }
.topbar__crumbs a:hover { color: var(--text); }
.topbar__crumbs b { color: var(--text); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__crumbs svg { width: 14px; height: 14px; flex: none; }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 10px 0 14px; width: clamp(160px, 22vw, 300px);
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--bone-4);
  color: var(--text-3); font-size: .875rem;
  transition: border-color var(--t), background var(--t);
}
.search-btn:hover { border-color: var(--bone-20); background: var(--bone-8); color: var(--text-2); }
.search-btn svg { width: 16px; height: 16px; }
.search-btn kbd { margin-left: auto; }
.topbar__back { display: none; }
.topbar__brand { display: none; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--text-2); border: 1px solid transparent; transition: all var(--t-fast); }
.icon-btn:hover { background: var(--bone-8); color: var(--text); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); border: 2px solid var(--ink); }

.view { flex: 1; padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 40px) 64px; outline: none; max-width: 1600px; width: 100%; }
.view.is-entering > * { animation: viewIn .38s var(--ease-out); }
.view.is-entering > *:nth-child(2) { animation-delay: .03s; }
.view.is-entering > *:nth-child(3) { animation-delay: .06s; }
.view.is-entering > *:nth-child(n+4) { animation-delay: .09s; }
@keyframes viewIn { from { transform: translateY(12px); } }

/* Tab bar + FAB (mobile) */
.tabbar { display: none; }
.fab { display: none; }

@media (max-width: 899px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(86vw, 320px); transform: translateX(-102%); transition: transform .5s var(--ease-out); box-shadow: var(--shadow-2); padding-top: calc(20px + var(--safe-t)); padding-bottom: calc(16px + var(--safe-b)); }
  .sidebar.is-open { transform: none; }
  .sb-scrim { position: fixed; inset: 0; z-index: 45; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .4s; }
  .sidebar.is-open + .sb-scrim { opacity: 1; pointer-events: auto; }
  .topbar { padding-inline: 12px; gap: 6px; }
  .topbar__brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; }
  .topbar__crumbs { display: none; }
  .search-btn { width: 42px; padding: 0; justify-content: center; border-color: transparent; background: transparent; }
  .search-btn span, .search-btn kbd { display: none; }
  .topbar__back.is-visible { display: grid; }
  .topbar__back.is-visible ~ .topbar__brand { display: none; }
  .view { padding: 18px 16px calc(var(--tabbar-h) + 48px + var(--safe-b)); }
  .tabbar {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch;
    height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
    background: rgba(18, 17, 13, .88);
    -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button { display: grid; place-content: center; justify-items: center; gap: 4px; font-size: .6875rem; font-weight: 650; color: var(--text-3); min-height: 48px; position: relative; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar .is-active { color: var(--amber); }
  .tabbar .is-active::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--amber); border-radius: 0 0 2px 2px; }
  .tabbar .tab-badge { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; background: var(--amber); color: var(--on-accent); font-family: var(--mono); font-size: .625rem; display: grid; place-items: center; font-weight: 600; }
  .tabbar__spacer { pointer-events: none; }
  .fab {
    position: fixed; z-index: 61; left: 50%; bottom: calc(var(--safe-b) + 18px);
    width: 68px; height: 68px; margin-left: -34px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--amber); color: var(--on-accent);
    box-shadow: 0 0 0 6px var(--ink), 0 14px 30px -6px rgba(232, 163, 61, .6);
    transition: transform var(--t) var(--ease-spring);
  }
  .fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(232,163,61,.5); animation: fabPulse 2.6s var(--ease-out) infinite; }
  .fab:active { transform: scale(.92); }
  .fab svg { width: 28px; height: 28px; }
  .fab__rec { width: 22px; height: 22px; border-radius: 50%; background: var(--ember); border: 3px solid var(--on-accent); }
  .toasts { --toast-offset: calc(var(--tabbar-h) + 16px); }
}
@keyframes fabPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

/* --- Page head ----------------------------------------------------------- */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 36px); }
.page-head__title { font-family: var(--serif); font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: .95; letter-spacing: -.02em; margin-top: 10px; }
.page-head__title em { color: var(--amber); }
.page-head__sub { color: var(--text-2); margin-top: 10px; max-width: 60ch; font-size: .9375rem; }
.page-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 899px) { .page-head__actions .btn { flex: 1; } .page-head__actions { width: 100%; } }

/* --- Layout grids -------------------------------------------------------- */
.g { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.g-auto-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); align-items: start; }
.span-2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }
@media (max-width: 1200px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .g-main { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .g-2, .g-3 { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } }
@media (max-width: 480px) { .g-4 { grid-template-columns: 1fr 1fr; } }
.sticky-col { position: sticky; top: calc(var(--topbar-h) + 20px); }
@media (max-width: 1100px) { .sticky-col { position: static; } }

/* --- Card variants ------------------------------------------------------- */
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.card__title { font-size: .9375rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.card__title svg { width: 18px; height: 18px; color: var(--amber); }
.card__body { padding: 16px 20px 20px; }
.card__foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.card--glass { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.card--hover { transition: border-color var(--t), transform var(--t) var(--ease-out), background var(--t); }
.card--hover:hover { border-color: var(--bone-20); transform: translateY(-2px); }
.card--amber { background: linear-gradient(140deg, rgba(232,163,61,.16), rgba(232,163,61,.03) 60%), var(--surface); border-color: rgba(232,163,61,.28); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 32px 0 14px; }
.section-title h2 { font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.section-title h2 em { color: var(--amber); }
.section-title:first-child { margin-top: 0; }

/* Stats */
.stat { padding: 18px 20px; display: grid; gap: 6px; align-content: start; position: relative; overflow: hidden; }
.stat__label { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.stat__label svg { width: 14px; height: 14px; color: var(--amber); }
.stat__value { font-family: var(--serif); font-size: clamp(2.4rem, 3.4vw, 3.2rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__value small { font-family: var(--mono); font-size: .875rem; color: var(--text-3); letter-spacing: 0; margin-left: 4px; }
.stat__sub { font-size: .8125rem; color: var(--text-2); }
.stat--link { cursor: pointer; }
.stat--link::after { content: "→"; position: absolute; right: 16px; top: 16px; color: var(--text-3); transition: transform var(--t) var(--ease-out), color var(--t); }
.stat--link:hover::after { transform: translateX(4px); color: var(--amber); }
.stat__spark { margin-top: 6px; }

/* Lists */
.list { display: grid; }
.list-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; min-height: 60px;
  border-top: 1px solid var(--line);
  transition: background var(--t-fast);
  text-align: left; width: 100%;
}
.list-row:first-child { border-top: 0; }
a.list-row:hover, button.list-row:hover { background: var(--bone-4); }
.list-row__main { flex: 1; min-width: 0; }
.list-row__title { font-weight: 650; font-size: .9375rem; line-height: 1.3; }
.list-row__meta { font-size: .8125rem; color: var(--text-3); margin-top: 2px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.list-row__trail { display: flex; align-items: center; gap: 8px; flex: none; }
.list-row__thumb { width: 72px; height: 46px; border-radius: 10px; overflow: hidden; flex: none; position: relative; background: var(--char-2); }
.list-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-row__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bone-4); border: 1px solid var(--line); color: var(--amber); flex: none; }
.list-row__icon svg { width: 18px; height: 18px; }
.chev { width: 16px; height: 16px; color: var(--text-3); }
@media (max-width: 560px) { .list-row { padding: 12px 14px; gap: 12px; } .list-row__thumb { width: 60px; height: 40px; } }

/* Media card */
.mcard { display: flex; flex-direction: column; gap: 10px; border-radius: var(--r-lg); padding: 8px 8px 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color var(--t), transform var(--t) var(--ease-out); text-align: left; width: 100%; }
.mcard:hover { border-color: var(--bone-20); transform: translateY(-2px); }
.mcard__thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--char-2); }
.mcard__thumb img, .mcard__thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.mcard:hover .mcard__thumb img { transform: scale(1.05); }
.mcard__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6)); }
.mcard__dur { position: absolute; right: 8px; bottom: 8px; z-index: 2; font-family: var(--mono); font-size: .6875rem; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.6); }
.mcard__state { position: absolute; left: 8px; top: 8px; z-index: 2; }
.mcard__state .badge { background: rgba(14,13,11,.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mcard__body { padding: 0 6px; display: grid; gap: 6px; }
.mcard__title { font-weight: 700; font-size: .9375rem; line-height: 1.3; }
.mcard__meta { font-size: .75rem; color: var(--text-3); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mcard__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mcard__tags .tag { height: 24px; font-size: .6875rem; padding: 0 9px; }
.mcard__processing { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 8px; background: rgba(14,13,11,.7); font-family: var(--mono); font-size: .6875rem; color: var(--text-2); letter-spacing: .06em; text-transform: uppercase; }
.mcard__processing svg { width: 22px; height: 22px; animation: spin 1.4s linear infinite; color: var(--amber); }
.mcard__lock { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 6px; background: rgba(14,13,11,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .75rem; color: var(--text-2); }
.mcard__lock svg { width: 20px; height: 20px; color: var(--amber); }

/* Filter bar */
.filterbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.filterbar .input-icon { flex: 1 1 220px; max-width: 360px; }
.filterbar .select { width: auto; min-width: 150px; }
@media (max-width: 560px) { .filterbar .select { flex: 1 1 calc(50% - 5px); min-width: 0; } .filterbar .input-icon { max-width: none; flex-basis: 100%; } }
.hscroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: none; }

/* Key-value */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .875rem; }
.kv dt { color: var(--text-3); }
.kv dd { color: var(--text); font-weight: 600; text-align: right; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 18px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--amber), var(--bone-12) 30%, var(--bone-12)); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -27px; top: 22px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--amber); }
.tl-item--future::before { border-color: var(--bone-40); border-style: dashed; }
.tl-date { font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }

/* Dog card (portal + admin) */
.dogcard { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; border: 1px solid var(--line); transition: transform .6s var(--ease-out), border-color var(--t); }
.dogcard:hover { transform: translateY(-3px); border-color: var(--bone-20); }
.dogcard__img { position: absolute; inset: 0; z-index: -1; }
.dogcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.dogcard:hover .dogcard__img img { transform: scale(1.05); }
.dogcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,11,.3) 0%, transparent 30%, rgba(14,13,11,.55) 60%, rgba(14,13,11,.95)); }
.dogcard__body { padding: 22px; display: grid; gap: 12px; }
.dogcard__name { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.6rem); line-height: .85; letter-spacing: -.03em; }
.dogcard__meta { font-family: var(--mono); font-size: .75rem; color: var(--bone-80); letter-spacing: .04em; }
.dogcard__top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; gap: 8px; }

/* Household switcher */
.hh-switch { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bone-4); text-align: left; transition: border-color var(--t); }
.hh-switch:hover { border-color: var(--bone-20); }
.hh-switch b { display: block; font-size: .875rem; line-height: 1.2; }
.hh-switch small { font-size: .75rem; color: var(--text-3); }
.hh-switch svg { width: 16px; height: 16px; color: var(--text-3); margin-left: auto; }
.menu-pop { position: absolute; z-index: 300; min-width: 240px; padding: 6px; border-radius: 16px; background: var(--char-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); animation: modalIn .3s var(--ease-out) both; }
.menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 10px; text-align: left; font-size: .875rem; min-height: 44px; }
.menu-pop button:hover { background: var(--bone-8); }
.menu-pop button svg { width: 16px; height: 16px; }

/* Privacy banner */
.privacy-strip { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bone-4); font-size: .8125rem; color: var(--text-2); }
.privacy-strip svg { width: 18px; height: 18px; color: var(--amber); flex: none; }

/* Timestamp list */
.ts-list { display: grid; gap: 6px; }
.ts-btn { display: flex; align-items: center; gap: 14px; padding: 12px 14px; min-height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--bone-4); text-align: left; transition: all var(--t); width: 100%; }
.ts-btn:hover { border-color: var(--bone-20); }
.ts-btn.is-active { border-color: var(--amber); background: var(--amber-12); }
.ts-btn b { font-family: var(--mono); color: var(--amber); font-weight: 500; font-size: .8125rem; min-width: 38px; }
.ts-btn svg { width: 16px; height: 16px; margin-left: auto; color: var(--text-3); }

/* Note block */
.note { padding: 16px 18px; border-left: 2px solid var(--amber); background: var(--amber-12); border-radius: 0 16px 16px 0; font-size: .9375rem; color: var(--bone-80); }
.note__by { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .8125rem; color: var(--text-2); }

/* Transcript */
.transcript { font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; color: var(--bone-80); font-style: italic; }

/* Locked state */
.locked { display: grid; place-items: center; text-align: center; gap: 16px; padding: clamp(40px, 8vw, 100px) 24px; border-radius: var(--r-xl); border: 1px solid var(--line); background: radial-gradient(60% 60% at 50% 30%, rgba(232,163,61,.08), transparent 70%), var(--surface); }
.locked__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(232,163,61,.35); color: var(--amber); background: var(--amber-12); }
.locked__icon svg { width: 34px; height: 34px; }
.locked h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; }
.locked p { color: var(--text-2); max-width: 46ch; }

/* Progress list item */
.hw-item { display: flex; gap: 14px; align-items: flex-start; padding: 6px 20px; border-top: 1px solid var(--line); }
.hw-item:first-child { border-top: 0; }
.hw-item .check { flex: 1; }
.hw-src { font-size: .75rem; color: var(--text-3); display: block; margin-top: 2px; text-decoration: none !important; }

/* Celebrate */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 9600; }

/* Coming soon profile */
.profile-cover { position: relative; height: clamp(220px, 32vw, 360px); border-radius: var(--r-xl); overflow: hidden; }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14,13,11,.9)); }
.profile-id { display: flex; align-items: flex-end; gap: 20px; margin-top: -70px; position: relative; z-index: 2; padding: 0 24px; flex-wrap: wrap; }
.profile-id .avatar { --size: 128px; border: 4px solid var(--ink); }
.soon-ribbon { position: absolute; top: 18px; right: -44px; transform: rotate(35deg); background: var(--amber); color: var(--ink); font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 54px; font-weight: 600; z-index: 3; }

/* Bottom sheet "more" menu */
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.more-grid a { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--bone-4); font-size: .75rem; font-weight: 650; text-align: center; min-height: 88px; align-content: center; }
.more-grid a svg { width: 22px; height: 22px; color: var(--amber); }
.more-grid a.is-active { border-color: var(--amber); background: var(--amber-12); }

/* Utility */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.p-0 { padding: 0 !important; }
.text-sm { font-size: .875rem; } .text-xs { font-size: .75rem; }
.w-full { width: 100%; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.hide-sm { } @media (max-width: 760px) { .hide-sm { display: none !important; } }
.show-sm { display: none !important; } @media (max-width: 760px) { .show-sm { display: block !important; } }
