[hidden] { display: none !important; }
/* Layout: a perfumer's bench — the sample (photo, palette, mood) on the left, the dipped blotter strip with the verdict on the right; friends and ranking live in tabs. */
:root {
  --bg: #F2F1F5;
  --surface: #FFFFFF;
  --sunk: #E8E6EE;
  --ink: #1D1A26;
  --muted: #666275;
  --line: #D8D5E0;
  --accent: #96490F;
  --accent-ink: #FFFFFF;
  --accent-soft: #F5E6D7;
  --ok: #2B7A4C;
  --ok-soft: #DFF0E5;
  --miss: #8A5A00;
  --miss-soft: #F6EBD3;
  --danger: #B3261E;
  --paper: #FBFAF7;
  --f-display: "Gowun Batang", "Nanum Myeongjo", "AppleMyungjo", serif;
  --f-body: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --r: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14121A; --surface: #1D1A25; --sunk: #272331; --ink: #EDEAF4; --muted: #A29EB1;
    --line: #353040; --accent: #E8A05A; --accent-ink: #1E1206; --accent-soft: #3A2816;
    --ok: #6BC793; --ok-soft: #183024; --miss: #E3B65A; --miss-soft: #33280F; --paper: #EDEAE2; --danger: #F2867E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #14121A; --surface: #1D1A25; --sunk: #272331; --ink: #EDEAF4; --muted: #A29EB1;
  --line: #353040; --accent: #E8A05A; --accent-ink: #1E1206; --accent-soft: #3A2816;
  --ok: #6BC793; --ok-soft: #183024; --miss: #E3B65A; --miss-soft: #33280F; --paper: #EDEAE2; --danger: #F2867E;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 15px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 48px;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.wrap { max-width: 1060px; margin: 0 auto; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); padding-block: 14px 0; }
.top-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: baseline; gap: 8px; margin-right: auto; }
.brand b { font-family: var(--f-display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.brand span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mode { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface); }
.mode button { border: 0; background: transparent; padding: 4px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.mode button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.mode-tag { font-size: 12px; color: var(--muted); border: 1px dashed var(--line); padding: 3px 10px; border-radius: 999px; }
.me-chip { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px 4px 4px; }
.me-chip .lv { font-size: 11px; background: var(--accent-soft); color: var(--accent); padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.me-chip .pt { font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.tabs { display: flex; gap: 4px; margin-top: 12px; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; background: transparent; padding: 10px 14px; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; border-radius: 0; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.tabs .count { font-family: var(--f-mono); font-size: 11px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 1px 6px; margin-left: 4px; vertical-align: 2px; }

main { padding-top: 24px; }
.eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.btn { border: 1px solid var(--ink); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.small { padding: 6px 12px; font-size: 13px; min-height: 0; }
.btn.danger, .btn.ghost.danger { color: var(--danger); border-color: var(--danger); background: transparent; }
#nickWipe { margin-right: auto; color: var(--muted); }
#nickWipe.danger { color: var(--danger); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn .plus { font-family: var(--f-mono); font-size: 12px; opacity: 0.85; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.status { font-size: 13px; color: var(--muted); min-height: 1.2em; }

/* analyze */
.bench { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
@media (max-width: 820px) { .bench { grid-template-columns: minmax(0, 1fr); } }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r); padding: 22px 16px; background: var(--surface); cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop strong { font-size: 16px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.samples { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.samples button { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 12px 4px 4px; font-size: 13px; }
.samples button img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.samples button[aria-pressed="true"] { border-color: var(--ink); }
.photo { position: relative; border-radius: var(--r); overflow: hidden; background: var(--sunk); aspect-ratio: 4 / 3; max-width: 100%; display: grid; gap: 3px; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; min-width: 0; min-height: 0; }
.photo.n1 { grid-template: 1fr / 1fr; }
.photo.n2 { grid-template: 1fr / 1fr 1fr; }
.photo.n3 { grid-template: 1fr 1fr / 1.4fr 1fr; }
.photo.n3 img:first-child { grid-row: span 2; }
.photo.n4 { grid-template: 1fr 1fr / 1fr 1fr; }
.photo.n5, .photo.n6 { grid-template: 1fr 1fr / 1fr 1fr 1fr; }
.photo.n5 img:first-child { grid-row: span 2; }
.photo .tag { position: absolute; left: 10px; top: 10px; background: rgba(20,18,26,0.72); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.thumb { position: relative; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 6px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; display: block; }
.thumb .mini { display: flex; height: 6px; border-radius: 3px; overflow: hidden; }
.thumb .fam-dot { font-size: 12px; font-weight: 500; }
.thumb .x { position: absolute; top: 2px; right: 2px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 15px; line-height: 1; display: grid; place-items: center; padding: 0; }
.thumb .stag { position: absolute; left: 10px; top: 10px; font-size: 10px; background: rgba(20,18,26,0.72); color: #fff; padding: 1px 6px; border-radius: 999px; }
.add-tile { border: 1.5px dashed var(--line); border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 120px; }
.add-tile b { font-size: 22px; font-weight: 400; color: var(--ink); }
.add-tile:hover { border-color: var(--accent); color: var(--accent); }
.spread { font-size: 13px; color: var(--muted); }
.palette { display: flex; height: 56px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.palette div { min-width: 0; }
.meters-more { margin-top: 14px; }
.meters-more summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.meters-more .meters { margin-top: 12px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.sw { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sw i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); flex: none; }
.meters { display: grid; gap: 12px; }
.meter { display: grid; grid-template-columns: 64px minmax(0, 1fr) 82px; gap: 10px; align-items: center; font-size: 13px; }
.meter .track { position: relative; height: 8px; border-radius: 99px; background: var(--sunk); }
.meter .dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ink); border: 2px solid var(--surface); }
.meter .ends { font-size: 11px; color: var(--muted); text-align: right; }
.meter.temp .track { background: linear-gradient(90deg, #6FA9D6, #D9D3C8, #E0975A); }

.verdict { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; }
@media (max-width: 460px) { .verdict { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; } }
.blotter { position: relative; width: 100%; height: 330px; background: var(--paper); clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%); filter: drop-shadow(0 1px 0 var(--line)); overflow: hidden; }
.blotter .dip { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; opacity: 0.85; transition: height .6s ease, background .4s; }
.blotter .dip::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 14px; background: inherit; opacity: 0.45; filter: blur(4px); }
.blotter .label { position: absolute; top: 16px; left: 0; right: 0; text-align: center; writing-mode: vertical-rl; margin: 0 auto; font-family: var(--f-display); font-size: 26px; font-weight: 700; color: #1D1A26; letter-spacing: 0.08em; height: 52%; }
.blotter .no { position: absolute; top: 8px; left: 8px; font-family: var(--f-mono); font-size: 10px; color: #6B6779; }
.fam-name { font-family: var(--f-display); font-size: 44px; font-weight: 700; line-height: 1.1; }
.fam-en { font-family: var(--f-mono); font-size: 13px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.notes { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin-top: 16px; font-size: 14px; }
.notes dt { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; padding-top: 2px; }
.notes dd { margin: 0; }
.bars { display: grid; gap: 10px; margin-top: 18px; }
.bar { display: grid; grid-template-columns: 76px minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: 13px; }
.bar .t { height: 10px; background: var(--sunk); border-radius: 99px; overflow: hidden; }
.bar .f { height: 100%; border-radius: 99px; transition: width .6s ease; }
.bar .v { font-family: var(--f-mono); text-align: right; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; background: var(--surface); }
.chip.ai { border-color: var(--accent); color: var(--accent); }
.story { font-family: var(--f-display); font-size: 17px; line-height: 1.75; margin: 0; max-width: 60ch; }
.src { font-size: 12px; color: var(--muted); }
.cardbox { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 640px) { .cardbox { grid-template-columns: minmax(0, 1fr); } }
.cardbox img { width: 100%; border-radius: 8px; border: 1px solid var(--line); display: block; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; }

/* feed */
.feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.vibe { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vibe.mine { border-color: var(--ink); }
.who { display: flex; align-items: center; gap: 10px; }
.av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 600; color: #fff; font-size: 14px; overflow: hidden; object-fit: cover; }
.who .n { font-weight: 600; }
.who .s { font-size: 12px; color: var(--muted); }
.demo-tag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; margin-left: 4px; font-weight: 400; }
.vibe .palette { height: 40px; }
.pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pick button { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--bg); border-radius: 7px; padding: 6px 8px; font-size: 13px; text-align: left; min-width: 0; }
.pick button i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.pick button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick button[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); font-weight: 600; box-shadow: inset 0 0 0 1px var(--ink); }
.note-in { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; background: var(--bg); font-size: 14px; }
.result { border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.result.ok { background: var(--ok-soft); color: var(--ok); }
.result.miss { background: var(--miss-soft); color: var(--miss); }
.result.wait { background: var(--sunk); color: var(--muted); }
.result b { font-weight: 600; }
.fam-dot { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.fam-dot i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.recs { display: flex; flex-direction: column; gap: 8px; }
.rec { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.rec.won { border-color: var(--ok); background: var(--ok-soft); }
.note { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.rec .btn { padding: 6px 12px; font-size: 13px; }
.section-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 28px 0 12px; }
.section-h h2 { font-family: var(--f-display); font-size: 22px; }
.empty { text-align: center; padding: 28px 16px; border: 1.5px dashed var(--line); border-radius: var(--r); color: var(--muted); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.mine-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; }
@media (max-width: 760px) { .mine-grid { grid-template-columns: minmax(0, 1fr); } }

/* rank */
.rank-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 820px) { .rank-grid { grid-template-columns: minmax(0, 1fr); } }
.board { list-style: none; margin: 0; padding: 0; }
.board li { display: grid; grid-template-columns: 28px 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.board li:last-child { border-bottom: 0; }
.board li.me { background: var(--accent-soft); border-radius: 8px; padding-inline: 10px; }
.board .pos { font-family: var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.board .pts { font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.board .sub { font-size: 12px; color: var(--muted); }
.lvbar { height: 8px; background: var(--sunk); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.lvbar div { height: 100%; background: var(--accent); }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.badge { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.badge b { display: block; font-family: var(--f-display); font-size: 16px; }
.badge.on { border-color: var(--accent); background: var(--accent-soft); }
.badge.off { opacity: 0.55; }
.rules { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.rules td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.rules td:last-child { text-align: right; font-family: var(--f-mono); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* perfumes */
.prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
@media (max-width: 760px) { .prods { grid-template-columns: minmax(0, 1fr); } }
.prod { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; background: var(--bg); }
.prod.first { border-color: var(--ink); background: var(--surface); }
.prod .rank { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.prod .brand { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.prod .pname { font-family: var(--f-display); font-size: 21px; font-weight: 700; line-height: 1.25; }
.prod .pen { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; margin-top: 2px; }
.prod .match { font-family: var(--f-mono); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.prod .match small { font-size: 11px; color: var(--muted); margin-left: 2px; }
.prod .pnotes { font-size: 13px; }
.prod .why { font-size: 13px; color: var(--muted); }
.prod a { font-size: 13px; color: var(--accent); text-decoration: none; margin-top: auto; }
.prod a:hover { text-decoration: underline; }
.ppick { display: flex; flex-wrap: wrap; gap: 6px; }
.ppick button { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.ppick button[aria-pressed="true"] { border-color: var(--ink); background: var(--surface); font-weight: 600; box-shadow: inset 0 0 0 1px var(--ink); }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center; z-index: 20; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.note-line { font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* website additions */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
.me-chip { cursor: pointer; font: inherit; color: inherit; }
.me-chip:disabled { cursor: default; opacity: 0.7; }
.me-chip .nm { font-weight: 600; font-size: 14px; padding-left: 10px; max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foot { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
dialog { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); padding: 0; width: min(420px, calc(100% - 32px)); }
dialog::backdrop { background: rgba(20, 18, 26, 0.45); }
dialog form { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
dialog h3 { font-family: var(--f-display); font-size: 21px; }
dialog p { margin: 0; font-size: 14px; }
dialog .err { color: var(--miss); font-size: 13px; min-height: 1.2em; }
.lang-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; min-width: 44px; min-height: 36px; }
.lang-btn:hover { border-color: var(--ink); }
html[lang="en"] .blotter .label { letter-spacing: 0.04em; font-size: 22px; }

.prod-more { margin-top: 18px; }
.more-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
@media (max-width: 760px) { .more-list { grid-template-columns: minmax(0, 1fr); } }
.more-list li { display: grid; grid-template-columns: 40px 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.more-list .mm { font-family: var(--f-mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.more-list .mt { min-width: 0; font-size: 14px; }
.more-list .mb { color: var(--muted); }
.more-list .mn { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.more-list a { color: var(--accent); text-decoration: none; font-size: 16px; padding: 4px 8px; }

.style-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.style-row .eyebrow { margin-right: 2px; }
.chip.style { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 500; }
.chip.cue { font-size: 12px; color: var(--muted); }
.src-tag { font-size: 11px; color: var(--muted); }

.ai-loading { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-block: 40px; }
.ai-loading .lt { margin: 0; font-family: var(--f-display); font-size: 20px; font-weight: 700; }
.ai-loading .ls { margin: 0; font-size: 14px; color: var(--muted); max-width: 36ch; }
.ai-loading .strips { display: flex; gap: 10px; height: 72px; align-items: flex-end; }
.ai-loading .strips i { width: 18px; height: 72px; background: var(--paper); border: 1px solid var(--line); clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%); position: relative; overflow: hidden; }
.ai-loading .strips i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: var(--accent); opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  .ai-loading .strips i::after { animation: dip 1.4s ease-in-out infinite; }
  .ai-loading .strips i:nth-child(2)::after { animation-delay: .2s; }
  .ai-loading .strips i:nth-child(3)::after { animation-delay: .4s; }
}
@keyframes dip { 0%, 100% { height: 18%; } 50% { height: 70%; } }

.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-block: 48px; }
.empty-state .lt { margin: 0; font-family: var(--f-display); font-size: 20px; font-weight: 700; }
.empty-state .ls { margin: 0; font-size: 14px; color: var(--muted); max-width: 40ch; }
.empty-state .strips { display: flex; gap: 10px; height: 72px; align-items: flex-end; }
.empty-state .strips i { width: 18px; height: 72px; background: var(--paper); border: 1px solid var(--line); clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%); }

:root { --bottle-glass: rgba(255, 255, 255, 0.9); --bottle-cap: #2B2734; --bottle-line: rgba(29, 26, 38, 0.45); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bottle-glass: rgba(255, 255, 255, 0.14); --bottle-cap: #D6D0E2; --bottle-line: rgba(237, 234, 244, 0.55); } }
:root[data-theme="dark"] { --bottle-glass: rgba(255, 255, 255, 0.14); --bottle-cap: #D6D0E2; --bottle-line: rgba(237, 234, 244, 0.55); }
.bottle { display: inline-flex; flex: none; line-height: 0; }
.prod-head { display: flex; gap: 12px; align-items: center; }
