/* Demo demo32 "Sticker packs" — paper, ink and DEPO green; Unbounded for display, Onest for text. */
@font-face { font-family: Unbounded; src: url(/demo32/fonts/Unbounded-latin.woff2) format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: Unbounded; src: url(/demo32/fonts/Unbounded-cyrillic.woff2) format('woff2'); font-weight: 200 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; src: url(/demo32/fonts/Onest-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: Onest; src: url(/demo32/fonts/Onest-cyrillic.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* Noto Color Emoji (SIL OFL 1.1, Google Fonts v47), self-hosted in 11 subsets: a browser loads only the ones a page uses. */
@font-face { font-family: "DEPO Emoji"; src: url(/demo32/fonts/NotoColorEmoji.0.woff2) format("woff2"); font-display: swap; unicode-range: U+1f1e6-1f1ff; }
@font-face { font-family: "DEPO Emoji"; src: url(/demo32/fonts/NotoColorEmoji.1.woff2) format("woff2"); font-display: swap; unicode-range: U+200d, U+2620, U+26a7, U+fe0f, U+1f308, U+1f38c, U+1f3c1, U+1f3f3-1f3f4, U+1f6a9, U+e0062-e0063, U+e0065, U+e0067, U+e006c, U+e006e, U+e0073-e0074, U+e0077, U+e007f; }
@font-face { font-family: "DEPO Emoji"; src: url(/demo32/fonts/NotoColorEmoji.2.woff2) format("woff2"); font-display: swap; unicode-range: U+23, U+2a, U+30-39, U+a9, U+ae, U+200d, U+203c, U+2049, U+20e3, U+2122, U+2139, U+2194-2199, U+21a9-21aa, U+23cf, U+23e9-23ef, U+23f8-23fa, U+24c2, U+25aa-25ab, U+25b6, U+25c0, U+25fb-25fe, U+2611, U+2622-2623, U+2626, U+262a, U+262e-262f, U+2638, U+2640, U+2642, U+2648-2653, U+2660, U+2663, U+2665-2666, U+2668, U+267b, U+267e-267f, U+2695, U+269b-269c, U+26a0, U+26a7, U+26aa-26ab, U+26ce, U+26d4, U+2705, U+2714, U+2716, U+271d, U+2721, U+2733-2734, U+2747, U+274c, U+274e, U+2753-2755, U+2757, U+2764, U+2795-2797, U+27a1, U+27b0, U+27bf, U+2934-2935, U+2b05-2b07, U+2b1b-2b1c, U+2b55, U+3030, U+303d, U+3297, U+3299, U+fe0f, U+1f170-1f171, U+1f17e-1f17f, U+1f18e, U+1f191-1f19a, U+1f201-1f202, U+1f21a, U+1f22f, U+1f232-1f23a, U+1f250-1f251, U+1f310, U+1f3a6, U+1f3b5-1f3b6, U+1f3bc, U+1f3e7, U+1f441, U+1f499-1f49c, U+1f49f-1f4a0, U+1f4ac-1f4ad, U+1f4b1-1f4b2, U+1f4b9, U+1f4db, U+1f4f2-1f4f6, U+1f500-1f507, U+1f515, U+1f518-1f524, U+1f52f-1f53d, U+1f549, U+1f54e, U+1f5a4, U+1f5e8, U+1f5ef, U+1f6ab, U+1f6ad-1f6b1, U+1f6b3, U+1f6b7-1f6bc, U+1f6be, U+1f6c2-1f6c5, U+1f6d0-1f6d1, U+1f6d7, U+1f6dc, U+1f7e0-1f7eb, U+1f7f0, U+1f90d-1f90e, U+1f9d1-1f9d2, U+1f9e1, U+1fa75-1fa77, U+1faaf; }
@font-face { font-family: "DEPO Emoji"; src: url(/demo32/fonts/NotoColorEmoji.3.woff2) format("woff2"); font-display: swap; unicode-range: U+200d, U+231a-231b, U+2328, U+23f0-23f3, U+2602, U+260e, U+2692, U+2694, U+2696-2697, U+2699, U+26b0-26b1, U+26cf, U+26d1, U+26d3, U+2702, U+2709, U+270f, U+2712, U+fe0f, U+1f302, U+1f321, U+1f392-1f393, U+1f3a9, U+1f3bd, U+1f3ee, U+1f3f7, U+1f3fa, U+1f451-1f462, U+1f484, U+1f489-1f48a, U+1f48c-1f48e, U+1f4a1, U+1f4a3, U+1f4a5, U+1f4b0, U+1f4b3-1f4b8, U+1f4bb-1f4da, U+1f4dc-1f4f1, U+1f4ff, U+1f508-1f514, U+1f516-1f517, U+1f526-1f529, U+1f52c-1f52e, U+1f550-1f567, U+1f56f-1f570, U+1f576, U+1f587, U+1f58a-1f58d, U+1f5a5, U+1f5a8, U+1f5b1-1f5b2, U+1f5c2-1f5c4, U+1f5d1-1f5d3, U+1f5dc-1f5de, U+1f5e1, U+1f5f3, U+1f6aa, U+1f6ac, U+1f6bd, U+1f6bf, U+1f6c1, U+1f6cb, U+1f6cd-1f6cf, U+1f6d2, U+1f6e0-1f6e1, U+1f6f0, U+1f97b-1f97f, U+1f9af, U+1f9ba, U+1f9e2-1f9e6, U+1f9ea-1f9ec, U+1f9ee-1f9f4, U+1f9f7-1f9ff, U+1fa71-1fa74, U+1fa79-1fa7b, U+1fa86, U+1fa8e-1fa8f, U+1fa91-1fa93, U+1fa96, U+1fa99-1faa0, U+1faa2-1faa7, U+1faaa-1faae; }
@font-face { font-family: "DEPO Emoji"; src: url(/demo32/fonts/NotoColorEmoji.4.woff2) format("woff2"); font-display: swap; unicode-range: U+265f, U+26bd-26be, U+26f3, U+26f8, U+fe0f, U+1f004, U+1f0cf, U+1f380-1f384, U+1f386-1f38b, U+1f38d-1f391, U+1f396-1f397, U+1f399-1f39b, U+1f39e-1f39f, U+1f3a3-1f3a5, U+1f3a7-1f3a9, U+1f3ab-1f3b4, U+1f3b7-1f3bb, U+1f3bd-1f3c0, U+1f3c5-1f3c6, U+1f3c8-1f3c9, U+1f3cf-1f3d3, U+1f3f8-1f3f9, U+1f47e, U+1f4e2, U+1f4f7-1f4fd, U+1f52b, U+1f579, U+1f58c-1f58d, U+1f5bc, U+1f6f7, U+1f6f9, U+1f6fc, U+1f93f, U+1f941, U+1f945, U+1f947-1f94f, U+1f9e7-1f9e9, U+1f9f5-1f9f6, U+1fa70-1fa71, U+1fa80-1fa81, U+1fa83-1fa85, U+1fa87-1fa8a, U+1fa94-1fa95, U+1fa97-1fa98, U+1faa1, U+1faa9, U+1fadf; }
@font-face { font-family: "DEPO Emoji"; src: url(/demo32/fonts/NotoColorEmoji.5.woff2) format("woff2"); font-display: swap; unicode-range: U+2693, U+26e9-26ea, U+26f1-26f2, U+26f4-26f5, U+26fa, U+26fd, U+2708, U+fe0f, U+1f301, U+1f303, U+1f306-1f307, U+1f309, U+1f310, U+1f3a0-1f3a2, U+1f3aa, U+1f3cd-1f3ce, U+1f3d5, U+1f3d7-1f3db, U+1f3df-1f3e6, U+1f3e8-1f3ed, U+1f3ef-1f3f0, U+1f488, U+1f492, U+1f4ba, U+1f54b-1f54d, U+1f5fa-1f5ff, U+1f680-1f6a2, U+1f6a4-1f6a8, U+1f6b2, U+1f6d1, U+1f6d5-1f6d6, U+1f6dd-1f6df, U+1f6e2-1f6e5, U+1f6e9, U+1f6eb-1f6ec, U+1f6f3-1f6f6, U+1f6f8, U+1f6fa-1f6fb, U+1f9bc-1f9bd, U+1f9ed, U+1f9f3, U+1fa7c; }
@font-face { font-family: "DEPO Emoji"; src: url(/demo32/fonts/NotoColorEmoji.6.woff2) format("woff2"); font-display: swap; unicode-range: U+200d, U+2615, U+fe0f, U+1f32d-1f330, U+1f336, U+1f33d, U+1f344-1f37f, U+1f382, U+1f52a, U+1f7e9, U+1f7eb, U+1f942-1f944, U+1f950-1f96f, U+1f99e, U+1f9aa, U+1f9c0-1f9cb, U+1fad0-1fadc; }
@font-face { font-family: "DEPO Emoji"; src: url(/demo32/fonts/NotoColorEmoji.7.woff2) format("woff2"); font-display: swap; unicode-range: U+200d, U+2600-2601, U+2603-2604, U+2614, U+2618, U+26a1, U+26c4-26c5, U+26c8, U+26f0, U+2728, U+2744, U+2b1b, U+2b50, U+fe0f, U+1f300, U+1f304-1f305, U+1f308, U+1f30a-1f30f, U+1f311-1f321, U+1f324-1f32c, U+1f331-1f335, U+1f337-1f33c, U+1f33e-1f344, U+1f3d4, U+1f3d6, U+1f3dc-1f3de, U+1f3f5, U+1f400-1f43f, U+1f490, U+1f4a7, U+1f4ae, U+1f525, U+1f54a, U+1f573, U+1f577-1f578, U+1f648-1f64a, U+1f6d8, U+1f940, U+1f980-1f9ae, U+1f9ba, U+1fa90, U+1faa8, U+1fab0-1fabf, U+1facd-1facf, U+1fae7; }
@font-face { font-family: "DEPO Emoji"; src: url(/demo32/fonts/NotoColorEmoji.8.woff2) format("woff2"); font-display: swap; unicode-range: U+200d, U+2640, U+2642, U+2695-2696, U+26f7, U+26f9, U+2708, U+2764, U+27a1, U+fe0f, U+1f33e, U+1f373, U+1f37c, U+1f384-1f385, U+1f393, U+1f3a4, U+1f3a8, U+1f3c2-1f3c4, U+1f3c7, U+1f3ca-1f3cc, U+1f3eb, U+1f3ed, U+1f3fb-1f3ff, U+1f430, U+1f466-1f469, U+1f46b-1f478, U+1f47c, U+1f481-1f483, U+1f486-1f487, U+1f48b, U+1f48f, U+1f491, U+1f4bb-1f4bc, U+1f527, U+1f52c, U+1f574-1f575, U+1f57a, U+1f645-1f647, U+1f64b, U+1f64d-1f64e, U+1f680, U+1f692, U+1f6a3, U+1f6b4-1f6b6, U+1f6c0, U+1f6cc, U+1f91d, U+1f926, U+1f930-1f931, U+1f934-1f93a, U+1f93c-1f93e, U+1f977, U+1f9af-1f9b3, U+1f9b8-1f9b9, U+1f9bc-1f9bd, U+1f9cc-1f9cf, U+1f9d1-1f9df, U+1fa70, U+1fa82, U+1fac3-1fac5, U+1fac8, U+1faef; }
@font-face { font-family: "DEPO Emoji"; src: url(/demo32/fonts/NotoColorEmoji.9.woff2) format("woff2"); font-display: swap; unicode-range: U+200d, U+2194-2195, U+2603, U+261d, U+2620, U+2639-263a, U+2665, U+26a1, U+26c4, U+270a-270d, U+2728, U+2763-2764, U+2b50, U+fe0f, U+1f31a-1f31f, U+1f32b, U+1f389-1f38a, U+1f3fb-1f3ff, U+1f440-1f450, U+1f463-1f465, U+1f479-1f47b, U+1f47d-1f480, U+1f485, U+1f48b-1f48c, U+1f493-1f49f, U+1f4a2, U+1f4a4-1f4a6, U+1f4a8-1f4ab, U+1f4af, U+1f525, U+1f573, U+1f590, U+1f595-1f596, U+1f5a4, U+1f5e3, U+1f600-1f644, U+1f648-1f64a, U+1f64c, U+1f64f, U+1f90c-1f925, U+1f927-1f92f, U+1f932-1f933, U+1f970-1f976, U+1f978-1f97a, U+1f9a0, U+1f9b4-1f9b7, U+1f9bb, U+1f9be-1f9bf, U+1f9d0, U+1f9e0-1f9e1, U+1fa75-1fa79, U+1fac0-1fac2, U+1fac6, U+1fae0-1fae6, U+1fae8-1faea, U+1faef-1fafa; }
@font-face { font-family: "DEPO Emoji"; src: url(/demo32/fonts/NotoColorEmoji.10.woff2) format("woff2"); font-display: swap; unicode-range: U+1f6d9, U+1fa8b-1fa8d, U+1facc, U+1fadd, U+1faeb; }

:root {
    --paper: #f3efe6;
    --paper-2: #e9e3d6;
    --card: #fbf9f4;
    --ink: #15201a;
    --ink-2: #4b5750;
    --ink-3: #7c867f;
    --green: #1d5a37;
    --lime: #53f57e;
    --warm: #ff6a3d;
    --line: rgb(21 32 26 / 0.12);
    --chat: #121a15;
    --display: Unbounded, 'DEPO Emoji', 'Arial Black', sans-serif;
    --text: Onest, 'DEPO Emoji', system-ui, sans-serif;
    --emoji: 'DEPO Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    --r: 18px;
    color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body {
    margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--text);
    background-image: radial-gradient(rgb(21 32 26 / 0.09) 1px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
kbd, code { font: 600 0.86em/1 ui-monospace, 'SFMono-Regular', Menlo, 'DEPO Emoji', monospace; background: rgb(21 32 26 / 0.07); border-radius: 6px; padding: 0.18em 0.4em; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ── buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 0.4em; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--ink); color: #fff; padding: 0.72em 1.25em; font-weight: 650; font-size: 15px; text-decoration: none; line-height: 1;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { background: var(--green); transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgb(29 90 55 / 0.7); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.4; pointer-events: none; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { padding: 0.55em 0.95em; font-size: 14px; }

/* ── bar ── */
.bar {
    position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 12px clamp(16px, 4vw, 48px);
    background: rgb(243 239 230 / 0.86); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line);
}
.bar__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.bar__brand img { width: 50px; height: auto; }
.bar__brand span { font: 700 15px/1 var(--display); letter-spacing: -0.01em; }
.bar__nav { display: flex; gap: 22px; }
.bar__nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 15px; }
.bar__nav a:hover, .bar__nav a[aria-current] { color: var(--ink); }
.bar__tools { margin-left: auto; display: flex; gap: 10px; }

/* ── hero ── */
main { padding: 0 clamp(16px, 4vw, 48px); max-width: 1480px; margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 5vw, 72px); }
.kicker { margin: 0 0 14px; font: 700 12px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.hero__title { margin: 0; font: 800 clamp(40px, 6.4vw, 92px)/0.98 var(--display); letter-spacing: -0.045em; text-wrap: balance; }
.hero__title em { font-style: normal; background: var(--lime); padding: 0 0.12em; border-radius: 0.18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { margin: 26px 0 0; max-width: 58ch; font-size: 18px; color: var(--ink-2); }
.stats { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 34px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 13px; color: var(--ink-3); }
.stats dd { margin: 0; font: 800 34px/1.1 var(--display); letter-spacing: -0.03em; }

/* ── the chat picker ── */
.chat {
    position: relative; display: flex; flex-direction: column; height: 560px; border-radius: 30px; overflow: hidden;
    background: var(--chat); color: #e9efe9; box-shadow: 0 40px 80px -40px rgb(10 30 18 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.04) inset;
    background-image: radial-gradient(circle at 80% 0%, rgb(83 245 126 / 0.14), transparent 46%), radial-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1.2px);
    background-size: auto, 20px 20px;
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgb(255 255 255 / 0.07); }
.chat__head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 40% 30%; }
.chat__head p { margin: 0; display: flex; flex-direction: column; font-size: 15px; line-height: 1.25; }
.chat__head span { font-size: 12.5px; color: #8fa196; }
.chat__tag { white-space: nowrap; margin-left: auto; font: 700 10.5px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink) !important; background: var(--lime); border-radius: 99px; padding: 6px 9px; }
.chat__log { flex: 1; list-style: none; margin: 0; padding: 18px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: thin; }
.msg { max-width: 78%; padding: 9px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; animation: msg-in 0.28s cubic-bezier(.2, .9, .3, 1.3); }
.msg--in { align-self: flex-start; background: #233029; border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: var(--lime); color: var(--ink); border-bottom-right-radius: 6px; }
.msg--sticker { align-self: flex-end; background: none; padding: 0; width: 148px; }
.msg--sticker img, .msg--sticker video { width: 148px; height: 148px; object-fit: contain; }
@keyframes msg-in { from { transform: translateY(10px) scale(0.9); opacity: 0; } }
.chat__suggest { margin: 0 12px 8px; padding: 10px 10px 8px; border-radius: 20px; background: rgb(34 46 39 / 0.92); backdrop-filter: blur(8px); box-shadow: 0 -10px 30px -12px rgb(0 0 0 / 0.6); animation: msg-in 0.2s ease; }
.chat__hint { margin: 0 4px 6px; font-size: 12px; color: #8fa196; }
.chat__hint b { color: #e9efe9; font-weight: 600; }
.chat__strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chat__strip button { flex: 0 0 auto; width: 88px; height: 88px; padding: 6px; border: 0; border-radius: 14px; background: transparent; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.chat__strip button:hover, .chat__strip button:focus-visible { background: rgb(255 255 255 / 0.08); transform: scale(1.06); }
.chat__strip img, .chat__strip video { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.chat__compose { display: flex; gap: 8px; margin: 0 12px; padding: 6px 6px 6px 16px; border-radius: 999px; background: #1d2822; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.chat__compose input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15.5px; color: #fff; }
.chat__compose input::placeholder { color: #7f9187; }
.chat__send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--lime); color: var(--ink); cursor: pointer; font-size: 15px; }
.chat__quick { display: flex; gap: 4px; padding: 10px 14px 14px; overflow-x: auto; scrollbar-width: none; }
.chat__quick button { flex: 0 0 auto; border: 0; background: rgb(255 255 255 / 0.05); border-radius: 12px; padding: 6px 9px; font: 20px/1 var(--emoji); cursor: pointer; transition: transform 0.15s, background 0.15s; }
.chat__quick button:hover { transform: translateY(-2px) scale(1.1); background: rgb(255 255 255 / 0.12); }

/* ── section heads ── */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-bottom: 22px; }
.sec-title { margin: 0; font: 800 clamp(26px, 3vw, 38px)/1.05 var(--display); letter-spacing: -0.035em; }
.sec-note { margin: 0; color: var(--ink-2); max-width: 64ch; }

/* ── collections ── */
.cols { padding: 28px 0 10px; border-top: 1px solid var(--line); }
.cols__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; }
.col {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 214px; padding: 18px; text-align: left;
    border: 0; border-radius: 24px; background: var(--card); cursor: pointer; overflow: hidden; color: var(--ink);
    box-shadow: 0 1px 0 rgb(21 32 26 / 0.06), 0 0 0 1px var(--line) inset; transition: transform 0.25s cubic-bezier(.2, .8, .2, 1), box-shadow 0.25s;
}
.col:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgb(21 32 26 / 0.5), 0 0 0 1px var(--line) inset; }
.col[aria-pressed="true"] { background: var(--ink); color: #fff; }
.col[aria-pressed="true"] .col__meta { color: #a9b8ae; }
.col__fan { position: absolute; top: 14px; left: 0; right: 0; height: 118px; }
.col__fan > * { position: absolute; top: 0; width: 96px; height: 96px; object-fit: contain; transition: transform 0.35s cubic-bezier(.2, .8, .2, 1.2); }
.col__fan > :nth-child(1) { left: calc(50% - 118px); transform: rotate(-10deg); }
.col__fan > :nth-child(2) { left: calc(50% - 48px); top: -6px; transform: rotate(3deg); z-index: 1; }
.col__fan > :nth-child(3) { left: calc(50% + 22px); transform: rotate(11deg); }
.col:hover .col__fan > :nth-child(1) { transform: rotate(-16deg) translate(-8px, -4px); }
.col:hover .col__fan > :nth-child(2) { transform: rotate(0) translateY(-10px) scale(1.06); }
.col:hover .col__fan > :nth-child(3) { transform: rotate(17deg) translate(8px, -4px); }
.col__title { font: 800 19px/1.15 var(--display); letter-spacing: -0.02em; }
.col__meta { margin-top: 4px; font-size: 13.5px; color: var(--ink-3); }
.col--all .col__fan { display: grid; place-items: center; }
.col--all .col__big { position: static; width: auto; height: auto; font: 900 64px/1 var(--display); letter-spacing: -0.06em; color: var(--lime); -webkit-text-stroke: 2px var(--ink); transform: none !important; }
.col--all[aria-pressed="true"] .col__big { -webkit-text-stroke-color: var(--lime); color: transparent; }
.col--new { justify-content: center; align-items: center; background: transparent; box-shadow: inset 0 0 0 2px var(--line); border: 2px dashed transparent; text-align: center; }
.col--new .col__title { font-size: 16px; }
.col--new span:first-child { font: 300 44px/1 var(--display); color: var(--green); }

/* ── library ── */
.lib { padding: 52px 0 24px; }
.tools {
    position: sticky; top: 66px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 -10px 18px; padding: 10px;
    border-radius: 20px; background: rgb(243 239 230 / 0.9); backdrop-filter: blur(12px);
}
.tools__find input {
    width: min(320px, 70vw); border: 0; border-radius: 999px; padding: 0.68em 1.1em 0.68em 2.4em; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2315201a' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 0.95em 50%;
    box-shadow: inset 0 0 0 1.5px var(--line); outline: none;
}
.tools__find input:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chips__gap { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.chip { border: 0; border-radius: 999px; padding: 0.5em 0.95em; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-size: 14px; font-weight: 550; transition: background 0.15s, box-shadow 0.15s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tools__count { margin-left: auto; font-size: 14px; color: var(--ink-3); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px 14px; }
.st { position: relative; display: flex; flex-direction: column; align-items: center; padding: 10px 6px 12px; border-radius: 22px; transition: background 0.2s; }
.st:hover { background: rgb(255 255 255 / 0.55); }
.st__stage { position: relative; width: 100%; }
.st__pick { position: relative; width: 100%; aspect-ratio: 1; padding: 8px; border: 0; background: none; cursor: pointer; }
.st__pick img, .st__pick video { width: 100%; height: 100%; object-fit: contain; transition: transform 0.35s cubic-bezier(.2, .8, .25, 1.35), filter 0.35s; filter: drop-shadow(0 0 0 transparent); }
.st:hover .st__pick img, .st:hover .st__pick video { transform: translateY(-6px) rotate(-3deg) scale(1.04); filter: drop-shadow(0 14px 14px rgb(21 32 26 / 0.22)); }
.st__pick[aria-pressed="true"] img, .st__pick[aria-pressed="true"] video { transform: scale(0.88); }
.st__order {
    position: absolute; top: 4px; right: 4px; min-width: 30px; height: 30px; display: grid; place-items: center; padding: 0 8px; border-radius: 99px;
    background: var(--lime); color: var(--ink); font: 800 13px/1 var(--display); box-shadow: 0 0 0 3px var(--paper); transform: scale(0); transition: transform 0.25s cubic-bezier(.2, .9, .3, 1.5);
}
.st__pick[aria-pressed="true"] .st__order { transform: scale(1); }
.st__pick[aria-pressed="true"]::before { content: ''; position: absolute; inset: 2px; border-radius: 26px; box-shadow: inset 0 0 0 2.5px var(--ink); }
.st__meta { display: flex; align-items: center; gap: 6px; width: 100%; padding: 0 6px; font-size: 13px; }
.st__emoji { font: 17px/1 var(--emoji); letter-spacing: 1px; white-space: nowrap; overflow: hidden; min-width: 0; }
.st__num { flex: 0 0 auto; margin-left: auto; font: 700 11.5px/1 var(--display); color: var(--ink-3); }
.st__fmt { flex: 0 0 auto; white-space: nowrap; font: 700 9.5px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 6px; border-radius: 6px; background: rgb(21 32 26 / 0.07); color: var(--ink-2); }
.st__fmt--moving { background: var(--ink); color: var(--lime); }
.st__kw { width: 100%; margin: 6px 0 0; padding: 0 6px; font-size: 12.5px; line-height: 1.35; color: var(--ink-3); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.st__kw mark { background: var(--lime); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.st__tools { position: absolute; top: 2px; left: 2px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: scale(0.85); transform-origin: top left; transition: opacity 0.18s, transform 0.18s; }
.st:hover .st__tools, .st__tools:focus-within { opacity: 1; transform: none; }
.st__edit, .st__bin { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgb(21 32 26 / 0.18); cursor: pointer; font: 14px/1 var(--text); }
.st__bin:hover { background: var(--warm); }
.st__like {
    position: absolute; right: 2px; bottom: 2px; display: inline-flex; align-items: center; gap: 4px; min-width: 34px; height: 30px; padding: 0 9px; border: 0; border-radius: 99px;
    background: rgb(255 255 255 / 0.9); color: var(--ink-2); font: 16px/1 var(--text); cursor: pointer; box-shadow: 0 2px 8px rgb(21 32 26 / 0.12); transition: transform 0.15s, color 0.15s;
}
.st__like b { font: 800 11.5px/1 var(--display); }
.st__like:hover { transform: scale(1.08); color: #e3123e; }
.st__like[aria-pressed="true"] { color: #e3123e; background: #fff; }
.st__like[aria-pressed="true"] span { animation: beat 0.4s ease; }
@keyframes beat { 50% { transform: scale(1.4); } }
.st--trashed .st__pick img, .st--trashed .st__pick video { filter: grayscale(0.85) opacity(0.6); }
.st--trashed:hover .st__pick img, .st--trashed:hover .st__pick video { filter: none; }
.st__restore { position: absolute; top: 4px; left: 4px; padding: 7px 12px; border: 0; border-radius: 99px; background: var(--ink); color: var(--lime); font: 700 13px/1 var(--text); cursor: pointer; }
.st__restore:hover { background: var(--green); color: #fff; }
.st__when { color: var(--warm); font-weight: 600; }
.tools__order { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.tools__order select { border: 0; border-radius: 999px; padding: 0.45em 0.8em; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; cursor: pointer; }
.chip--trash b { margin-left: 2px; font: 800 11px/1 var(--display); }
.chip--trash[aria-pressed="true"] { background: var(--warm); color: #fff; }
.sd__like { height: 100%; color: #e3123e; }
.toast__btn { margin: 0 2px; padding: 3px 10px; border: 0; border-radius: 99px; background: var(--lime); color: var(--ink); font: 700 13px/1.3 var(--text); cursor: pointer; }
.st--flash { animation: flash 1.6s ease; }
@keyframes flash { 20%, 60% { background: rgb(83 245 126 / 0.35); } }
.empty { padding: 60px 0; text-align: center; color: var(--ink-3); }

/* ── packs ── */
.packs { padding: 56px 0 30px; border-top: 1px solid var(--line); margin-top: 30px; }
.packs__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.pack { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow 0.3s; }
.pack--hl { box-shadow: 0 0 0 3px var(--lime) inset, 0 20px 40px -24px rgb(29 90 55 / 0.6); }
.pack__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 10px; border-radius: 16px; background: var(--paper-2); }
.pack__grid > * { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.pack__title { margin: 0; font: 800 18px/1.2 var(--display); letter-spacing: -0.02em; }
.pack__meta { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.pack__act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

/* ── dev ── */
.dev { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; margin: 40px 0 60px; padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--ink); color: #e9efe9; }
.dev .sec-note { color: #a9b8ae; margin: 12px 0 22px; }
.dev .kicker { color: var(--lime); }
.dev .btn { background: var(--lime); color: var(--ink); }
.dev__code { margin: 0; padding: 22px; border-radius: 20px; background: #0c120e; font: 13.5px/1.65 ui-monospace, Menlo, monospace; color: #cfe8d6; overflow-x: auto; white-space: pre; }
.dev__code .c { color: #6f8a78; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 24px clamp(16px, 4vw, 48px) 120px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot p { margin: 0; }

/* ── the pack tray ── */
.tray {
    position: fixed; z-index: 40; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(1100px, calc(100% - 24px));
    display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 14px; border-radius: 26px;
    background: rgb(21 32 26 / 0.94); color: #fff; backdrop-filter: blur(14px); box-shadow: 0 24px 60px -20px rgb(10 30 18 / 0.7);
    animation: tray-in 0.35s cubic-bezier(.2, .9, .3, 1.2);
}
.tray[hidden] { display: none; }
@keyframes tray-in { from { transform: translate(-50%, 120%); } }
.tray__list { flex: 1; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; padding: 2px; }
.tray__item { position: relative; flex: 0 0 auto; width: 58px; height: 58px; padding: 4px; border-radius: 14px; background: rgb(255 255 255 / 0.06); cursor: grab; }
.tray__item img, .tray__item video { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.tray__item button { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 12px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity 0.15s; }
.tray__item:hover button, .tray__item button:focus-visible { opacity: 1; }
.tray__item.is-drag { opacity: 0.35; }
.tray__form { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.tray__form input { width: 200px; border: 0; border-radius: 999px; padding: 0.62em 1em; background: rgb(255 255 255 / 0.1); color: #fff; outline: none; }
.tray__form input:focus { box-shadow: inset 0 0 0 2px var(--lime); }
.tray__count { font: 700 12px/1 var(--display); color: #a9b8ae; white-space: nowrap; }
.tray .btn { background: var(--lime); color: var(--ink); }
.tray .btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.2); }

/* ── dialogs ── */
.dlg { width: min(860px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 28px; border: 0; border-radius: 28px; background: var(--card); color: var(--ink); box-shadow: 0 40px 100px -30px rgb(10 30 18 / 0.6); }
.dlg::backdrop { background: rgb(21 32 26 / 0.45); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlg-in 0.28s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes dlg-in { from { transform: translateY(20px) scale(0.97); opacity: 0; } }
.dlg [hidden] { display: none !important; }
.dlg__x { position: absolute; top: 14px; right: 14px; margin: 0; }
.dlg__x button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgb(21 32 26 / 0.07); font-size: 22px; line-height: 1; cursor: pointer; }
.dlg__title { margin: 0 0 8px; font: 800 26px/1.1 var(--display); letter-spacing: -0.03em; }
.dlg__note { margin: 0 0 18px; color: var(--ink-2); font-size: 14.5px; max-width: 70ch; }
.dlg label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.dlg input[type="text"], .dlg select { border: 0; border-radius: 12px; padding: 0.7em 0.9em; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 450; color: var(--ink); outline: none; }
.dlg input[type="text"]:focus, .dlg select:focus { box-shadow: inset 0 0 0 2px var(--ink); }
.dlg__foot { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 18px; }
.dlg__msg { font-size: 14px; color: var(--ink-2); margin-right: auto; }
.dlg--col { width: min(480px, calc(100% - 24px)); }

.sd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.sd__stage {
    display: grid; place-items: center; aspect-ratio: 1; border-radius: 22px; padding: 22px;
    background: conic-gradient(var(--paper-2) 25%, var(--paper) 0 50%, var(--paper-2) 0 75%, var(--paper) 0) 0 0 / 28px 28px;
}
.sd__stage img, .sd__stage video { width: 100%; height: 100%; object-fit: contain; }
.sd__title { margin: 0 0 12px; font: 800 30px/1.05 var(--display); letter-spacing: -0.035em; }
.sd__facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 18px; font-size: 14px; }
.sd__facts dt { color: var(--ink-3); }
.sd__facts dd { margin: 0; font-weight: 550; }
.sd__label { margin: 16px 0 8px; font: 700 13px/1 var(--display); letter-spacing: 0.02em; }
.sd__label small { font: 400 13px/1.3 var(--text); color: var(--ink-3); letter-spacing: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px 5px 11px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; }
.tag--emoji { font: 22px/1 var(--emoji); padding: 4px 4px 4px 9px; }
.tag button { width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgb(21 32 26 / 0.07); font: 13px/1 var(--text); cursor: pointer; }
.tag button:hover { background: var(--warm); color: #fff; }
.sd__add { display: flex; gap: 8px; margin-top: 8px; }
.sd__add input { flex: 1; min-width: 0; }
.sd__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.add__col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop {
    position: relative; display: block !important; padding: 30px; border-radius: 20px; text-align: center; cursor: pointer; font-weight: 450 !important;
    background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); border: 2px dashed rgb(21 32 26 / 0.2); transition: background 0.2s, border-color 0.2s;
}
.drop.is-over { background: rgb(83 245 126 / 0.18); border-color: var(--green); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop b { font: 800 17px/1.4 var(--display); color: var(--ink); }
.add__list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-height: 46dvh; overflow-y: auto; }
.add__row { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 10px; align-items: start; padding: 10px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.add__row > :first-child { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: conic-gradient(var(--paper-2) 25%, var(--paper) 0 50%, var(--paper-2) 0 75%, var(--paper) 0) 0 0 / 14px 14px; }
.add__row label { margin: 0; }
.add__row input[type="text"] { padding: 0.5em 0.7em; font-size: 14px; }
.add__file { font-size: 12.5px; color: var(--ink-3); word-break: break-all; }
.add__qe { display: flex; gap: 2px; flex-wrap: wrap; }
.add__qe button { border: 0; background: none; font: 18px/1 var(--emoji); padding: 3px; border-radius: 6px; cursor: pointer; }
.add__qe button:hover { background: var(--paper-2); }
.add__x { border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink-3); }
.add__state { grid-column: 2 / -1; font-size: 13px; font-weight: 600; }
.add__state--added { color: var(--green); }
.add__state--duplicate { color: #9a6b00; }
.add__state--error { color: #c23a12; }

.toast { position: fixed; z-index: 60; left: 50%; top: 84px; transform: translateX(-50%); padding: 12px 18px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.6); animation: msg-in 0.25s ease; max-width: calc(100% - 32px); }
.toast a { color: var(--lime); }

/* ── api page ── */
.doc__main { max-width: 980px; padding-top: 48px; padding-bottom: 80px; }
.doc__title { margin: 0 0 18px; font: 800 clamp(40px, 6vw, 72px)/1 var(--display); letter-spacing: -0.045em; }
.doc h2 { margin: 48px 0 14px; font: 800 24px/1.2 var(--display); letter-spacing: -0.03em; }
.doc__table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.doc__table th, .doc__table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc__table th { font: 700 12px/1.6 var(--display); color: var(--green); width: 60px; }
.doc__code { padding: 20px; border-radius: 18px; background: var(--ink); color: #cfe8d6; font: 13.5px/1.6 ui-monospace, Menlo, monospace; overflow-x: auto; }
.doc__list li { margin-bottom: 8px; color: var(--ink-2); }

@media (max-width: 980px) {
    .hero, .dev, .sd { grid-template-columns: 1fr; }
    .chat { height: 500px; }
    .bar__nav { display: none; }
    .tray { flex-wrap: wrap; }
    .tray__list { flex-basis: 100%; }
    .tray__form { flex: 1; }
    .tray__form label { flex: 1; }
    .tray__form input { width: 100%; }
    .add__row { grid-template-columns: 60px minmax(0, 1fr) auto; }
    .add__row > :first-child { width: 60px; height: 60px; }
    .add__row .add__kw { grid-column: 2 / -1; }
}
@media (max-width: 560px) {
    .bar { gap: 12px; }
    .bar__brand span, .bar__tools .btn--ghost, .chat__tag { display: none; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 4px 8px; }
    .tools { top: 62px; }
    .tools__count { margin-left: 0; }
    .add__col { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
