/* Токени взяті з diia-open-source/android-diia: ui_base/.../theme/Color.kt, Type.kt, drawable/*.xml */
@font-face { font-family: "e-Ukraine"; src: url(fonts/e_ukraine_regular.otf) format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "e-Ukraine"; src: url(fonts/e_ukraine_medium.otf) format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "e-Ukraine Head"; src: url(fonts/e_ukraine_head_regular.otf) format("opentype"); font-display: swap; }

:root {
  --ink: #000;
  --paper: #fff;
  --squeeze: #E2ECF4;        /* BlackSqueeze — дільники */
  --grey: #D1D1D1;
  --green: #19BE6F;
  --muted: rgba(0, 0, 0, .54);
  --w40: rgba(255, 255, 255, .4);
  --ticker: linear-gradient(90deg, #A7ED96, #8ED0D0);  /* TickerType.POSITIVE */
  --ticker-fg: #000;
  --dot-on: var(--ink);
  /* bg_blue_yellow_gradient.xml */
  --bg-app:
    radial-gradient(60% 45% at 82% 82%, #DEF1D5, transparent),
    radial-gradient(45% 35% at 5% 91%, #C5E5DD, transparent),
    radial-gradient(50% 25% at 82% 16%, rgba(167, 203, 227, .41), transparent),
    radial-gradient(50% 25% at 18% 34%, rgba(255, 255, 255, .18), transparent),
    #B2D3E9;
  --bg-desk: var(--bg-app);
  --desk-fg: var(--ink);
  --text: var(--ink);        /* колір тексту на фоні застосунку; у картках завжди --ink */
  --head: "e-Ukraine Head", "e-Ukraine", system-ui, sans-serif;
}

/* Тема «Копірайтер+» — палітра заміряна зі скріншотів Резерв+ (App Store) */
:root[data-theme="kplus"] {
  --ink: #23221E;
  --paper: #EFEFE5;
  --squeeze: #E1DECB;
  --grey: #C3C0AD;
  --muted: rgba(35, 34, 30, .6);
  --ticker: #6A4A1C;
  --ticker-fg: #EFEFE5;
  --dot-on: #F98E0E;
  --accent: #F98E0E;
  --olive: #51503E;
  --panel: #D4D2BD;
  --bg-app: #E1DECB;
  --bg-desk: radial-gradient(50% 60% at 60% 45%, #34322B, transparent), #23221E;
  --desk-fg: #E1DECB;
  --desk-icon: invert(1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "e-Ukraine", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg-app);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--bg-app); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--focus, var(--ink)); outline-offset: 2px; border-radius: 8px; }
.ic { width: 24px; height: 24px; flex: none; }
.ic.sm { width: 16px; height: 16px; }

/* DiiaTypography */
.greet { font: 38px/44px var(--head); }
.hero { font-size: 29px; line-height: 32px; }
.h1 { font: 23px/28px var(--head); }
.h3 { font-size: 18px; line-height: 24px; }
.h4 { font-size: 16px; line-height: 24px; font-weight: 400; }
.t1 { font-size: 14px; line-height: 16px; }
.t2 { font-size: 12px; line-height: 16px; }
.t3 { font-size: 12px; line-height: 18px; }
.t4 { font-size: 11px; line-height: 16px; }
.t5 { font-size: 10px; line-height: 16px; }
.num { font-size: 30px; line-height: 32px; display: block; }
.muted { color: var(--muted); }
.center { text-align: center; }

.app { max-width: 430px; margin: 0 auto; min-height: 100dvh; }
#screen { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.status, .desk-note { display: none; }
.pager, .hscroll, .chips { user-select: none; -webkit-user-select: none; }
img { -webkit-user-drag: none; }

/* Top bar */
.top { display: flex; align-items: center; gap: 8px; padding: 16px 16px 8px 24px; min-height: 64px; }
.top h1 { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top.has-back { padding-left: 12px; }
.top-r { display: flex; gap: 4px; margin-left: auto; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; flex: none; }

/* Cards / lists (ListItemGroupOrg: White, radius 16, padding 24 зовні) */
.card { background: var(--paper); border-radius: 16px; margin: 16px 24px 0; padding: 16px; }
.card > .h4 + * { margin-top: 8px; }
.list { padding: 0; overflow: hidden; }
.li { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px; }
.li + .li { border-top: 1px solid var(--squeeze); }
.li > span:not(.end) { flex: 1; min-width: 0; }
.li .end { color: var(--muted); }
.sec { margin: 24px 24px 0; }

/* Status chip (ChipStatusAtm: radius 10, 11/16) */
.chip-status { display: inline-block; padding: 2px 8px; border-radius: 10px; background: var(--grey); font-size: 11px; line-height: 16px; align-self: flex-start; }
.chip-status.pos { background: var(--green); color: var(--paper); }
.chip-status.white { background: var(--paper); }

/* Feed */
.hello { padding: 8px 24px 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hscroll { display: flex; gap: 8px; overflow-x: auto; padding: 8px 24px 4px; scroll-snap-type: x mandatory; scroll-padding: 24px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.half { flex: 0 0 168px; aspect-ratio: 1; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; scroll-snap-align: start; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 24px 0; }
.tile { background: var(--paper); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 24px; min-height: 112px; }
.tile .ic { width: 32px; height: 32px; }
.news { display: flex; flex-direction: column; gap: 4px; }

/* Document → кейс (DocOrg: aspectRatio .7, radius 24, WhiteAlpha40) */
.pager { display: flex; gap: 12px; overflow-x: auto; padding: 8px 32px 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pager::-webkit-scrollbar { display: none; }
.doc { flex: 0 0 100%; aspect-ratio: .7; scroll-snap-align: center; perspective: 1400px; cursor: pointer; }
.doc-flip { position: relative; height: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.doc.flipped .doc-flip { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 8px 24px rgba(40, 80, 120, .12); }
.front { padding-top: 20px; }
.front .chip-status { margin: 0 16px; }
.doc-title { padding: 8px 16px 0; }
.doc-mid { display: flex; gap: 16px; padding: 16px; }
.doc-photo { width: 44%; aspect-ratio: .78; border-radius: 12px; background: var(--w40); display: grid; place-items: center; overflow: hidden; flex: none; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-photo b { font: 64px/1 var(--head); opacity: .5; }
.fields { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fields dt { color: rgba(0, 0, 0, .6); }
.doc-name { margin-top: auto; padding: 0 16px 12px; }
.doc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px 20px; }
.ellipse { width: 32px; height: 32px; display: grid; place-items: center; flex: none; }
.ellipse .ic { width: 32px; height: 32px; }
.back { transform: rotateY(180deg); background: rgba(255, 255, 255, .55); padding: 20px 16px; gap: 4px; }
.metric { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.back .btn { margin-top: auto; }

/* TickerAtm: висота 24, бігучий рядок */
.ticker { height: 24px; background: var(--ticker); color: var(--ticker-fg); overflow: hidden; display: flex; align-items: center; }
.ticker-track { display: flex; white-space: nowrap; animation: tick 20s linear infinite; }
.ticker-track span { padding-right: 24px; }
@keyframes tick { to { transform: translateX(-50%); } }

.dots { display: flex; justify-content: center; gap: 6px; padding: 4px 0 8px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .2); transition: width .2s; }
.dots i.on { background: var(--dot-on); width: 16px; }

/* Кольори карток — градієнти з doc_background.xml та Color.kt (GradientAlternative*) */
.g0 { background: radial-gradient(110% 70% at 95% 90%, #D8EBA5, transparent 65%), radial-gradient(70% 50% at 0% 100%, #89C9C4, transparent 70%), #79B9E3; }
.g1 { background: linear-gradient(160deg, #B5D39D 0%, #F1ACAC 55%, #BF98C6 100%); }
.g2 { background: radial-gradient(100% 70% at 100% 100%, #FAF7BA, transparent 60%), linear-gradient(160deg, #F1ACAC, #BF98C6); }
.g3 { background: radial-gradient(90% 60% at 0% 0%, #E2F2FE, transparent 70%), linear-gradient(160deg, #A9CEE7, #BED9F5 45%, #7179EF); }

/* Деталі кейсу */
.cover { margin: 8px 24px 0; border-radius: 24px; padding: 20px 16px; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.cover .chip-status { margin-bottom: auto; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }
.row + .row { border-top: 1px solid var(--squeeze); }
.row span:last-child { text-align: right; }
.table { padding-top: 4px; padding-bottom: 4px; }
.metrics { display: grid; gap: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 12px; border-radius: 40px; background: var(--squeeze); font-size: 12px; line-height: 16px; }
.actions { display: grid; gap: 12px; margin: 24px 24px 0; }

/* Сервіси (SearchInputMlc: h40, radius 16; ChipMlc: radius 40, 12/16) */
.search { display: flex; align-items: center; gap: 8px; margin: 8px 24px 0; height: 40px; background: var(--paper); border-radius: 16px; padding: 0 12px; }
.search:focus-within { box-shadow: 0 0 0 2px var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 12px; line-height: 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 16px 24px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 32px; padding: 0 16px; border-radius: 40px; background: var(--paper); font-size: 12px; line-height: 16px; white-space: nowrap; }
.chip.on { background: var(--ink); color: var(--paper); }
.empty { padding: 24px 16px; }

/* Меню */
.profile { display: flex; align-items: center; gap: 16px; }
.ava { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 23px/1 var(--head); flex: none; }
.foot { margin: 24px 24px 0; }

/* Кнопки (BtnPrimaryDefaultAtm: чорна, t1) */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; border-radius: 40px; background: var(--ink); color: var(--paper); font-size: 14px; line-height: 16px; padding: 0 32px; width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }

/* Tab bar (HomeBottomBar: Black, іконка 24, підпис t5 White) */
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 430px); background: var(--ink); display: flex; padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); z-index: 5; }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--paper); }

/* Bottom sheet: немодальний <dialog> + власний scrim, щоб на ПК він жив усередині телефона */
.sheet { position: fixed; z-index: 9; inset: auto 0 0; margin: 0 auto; width: min(100%, 430px); max-height: 88%; border: 0; border-radius: 24px 24px 0 0; padding: 8px 0 calc(24px + env(safe-area-inset-bottom)); background: var(--paper); color: var(--ink); overflow: auto; }
.scrim { display: none; position: fixed; inset: 0; z-index: 8; background: rgba(0, 0, 0, .5); }
.sheet[open] ~ .scrim { display: block; }
.sheet[open] { animation: up .25s ease-out; }
@keyframes up { from { transform: translateY(100%); } }
.grab { width: 40px; height: 4px; border-radius: 2px; background: var(--grey); margin: 0 auto 8px; }
.sheet .pad { padding: 8px 24px; display: flex; flex-direction: column; gap: 12px; }
.sheet .list .li { padding: 16px 24px; }
.sheet ul { padding-left: 18px; display: grid; gap: 6px; }
.tl { display: grid; gap: 2px; padding: 12px 0; }
.tl + .tl { border-top: 1px solid var(--squeeze); }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); background: var(--ink); color: var(--paper); border-radius: 16px; padding: 12px 16px; font-size: 12px; line-height: 16px; opacity: 0; transition: .2s; pointer-events: none; z-index: 10; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Теми: службові елементи, що потрібні лише «Копірайтер+» */
.doc-body { display: contents; }
.ellipse .plus, .doc-role { display: none; }
.swatch { width: 24px; height: 24px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.plus-mark { color: var(--accent); }

/* ===== «Копірайтер+»: картка як «Резерв ID» — оливкова рамка, беж-панель, коричневий тікер, кнопка «+» ===== */
:root[data-theme="kplus"] .g0 { background: var(--panel); }
:root[data-theme="kplus"] .g1 { background: var(--grey); }
:root[data-theme="kplus"] .g2 { background: #B8B39E; }
:root[data-theme="kplus"] .g3 { background: #A0957F; }
:root[data-theme="kplus"] .front,
:root[data-theme="kplus"] .cover { background: var(--olive); color: var(--paper); }
:root[data-theme="kplus"] .cover .chip-status { background: var(--panel); color: var(--ink); }
:root[data-theme="kplus"] .front { padding: 20px 12px 12px; }
:root[data-theme="kplus"] .front .chip-status { display: none; }
:root[data-theme="kplus"] .doc-title { text-align: center; font: 29px/32px var(--head); padding: 4px 0 20px; }
:root[data-theme="kplus"] .doc-body { display: flex; flex-direction: column; flex: 1; position: relative; background: var(--panel); color: var(--ink); border-radius: 16px; overflow: hidden; }
:root[data-theme="kplus"] .doc-mid { padding: 12px; }
:root[data-theme="kplus"] .ticker { order: 1; }
:root[data-theme="kplus"] .doc-role { display: block; order: 2; margin-top: auto; padding: 0 16px; color: var(--muted); }
:root[data-theme="kplus"] .doc-name { order: 3; margin-top: auto; font-size: 21px; line-height: 26px; padding: 4px 64px 16px 16px; }
:root[data-theme="kplus"] .doc-role + .doc-name { margin-top: 0; }
:root[data-theme="kplus"] .doc-foot { position: absolute; right: 12px; bottom: 12px; padding: 0; }
:root[data-theme="kplus"] .doc-foot .t2,
:root[data-theme="kplus"] .ellipse svg { display: none; }
:root[data-theme="kplus"] .ellipse { width: 40px; height: 40px; }
:root[data-theme="kplus"] .ellipse .plus { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grey); font-size: 28px; line-height: 1; }
:root[data-theme="kplus"] .back { background: var(--panel); }

/* ===== «Прайд»: веселковий тікер — TickerType.RAINBOW з Color.kt, пастельні картки, смужка прапора над таб-баром ===== */
:root[data-theme="pride"] {
  --bg-app:
    radial-gradient(55% 35% at 85% 8%, rgba(255, 150, 200, .55), transparent),
    radial-gradient(50% 35% at 8% 38%, rgba(255, 214, 110, .5), transparent),
    radial-gradient(60% 40% at 92% 68%, rgba(130, 225, 165, .5), transparent),
    radial-gradient(60% 40% at 12% 96%, rgba(150, 165, 255, .55), transparent),
    #F4EFFF;
  --ticker: linear-gradient(90deg, #FC2C78, #FFD15C, #4EE89E, #993FC3);
  --flag: linear-gradient(90deg, #E40303, #FF8C00, #FFED00, #008026, #24408E, #732982);
  --dot-on: var(--flag);
}
:root[data-theme="pride"] .g0 { background: linear-gradient(160deg, #FFB3C7, #FFD8A8 22%, #FFF2A6 42%, #BDEFC9 62%, #B5D3FF 80%, #D9C2FF); }
:root[data-theme="pride"] .g1 { background: linear-gradient(160deg, #FFB3C7, #FFD8A8); }
:root[data-theme="pride"] .g2 { background: linear-gradient(160deg, #BDEFC9, #B5D3FF); }
:root[data-theme="pride"] .g3 { background: linear-gradient(160deg, #B5D3FF, #D9C2FF); }
:root[data-theme="pride"] .tabbar { background: var(--flag) top / 100% 4px no-repeat, #000; }
:root[data-theme="pride"] .chip.on { background: var(--flag); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }

/* ===== «Новорічна»: нічне небо, сніг, кучки снігу на картках і таб-барі ===== */
:root[data-theme="ny"] {
  --text: #fff;
  --ink: #0B1E40;
  --muted: rgba(255, 255, 255, .72);
  --squeeze: #E3ECF7;
  --ticker: linear-gradient(90deg, #FFD86B, #FFF1C7);
  --dot-on: #fff;
  --focus: #FFD86B;
  --bg-app:
    radial-gradient(70% 40% at 85% 0%, rgba(120, 170, 255, .35), transparent),
    radial-gradient(60% 40% at 0% 100%, rgba(90, 150, 230, .3), transparent),
    linear-gradient(180deg, #0B1E40, #1B3A6B);
  --desk-fg: #fff;
  --desk-icon: invert(1);
  --cap: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 16C2 10 8 8 14 9C20 3 32 2 38 8C44 5 52 5 56 9C64 2 80 1 88 8C94 5 102 5 106 9C114 3 128 2 136 8C142 5 150 5 154 9C162 3 176 3 182 9C190 7 198 10 200 16C196 19 190 17 186 18C180 20 176 17 170 18C160 19 150 17 140 18C132 19 124 16 116 18C106 20 96 17 86 18C76 19 66 16 56 18C46 20 36 17 26 18C16 19 8 17 0 16Z'/%3E%3C/svg%3E");
}
:root[data-theme="ny"] .g0 { background: linear-gradient(160deg, #EAF4FF, #B9D5F7); }
:root[data-theme="ny"] .g1 { background: linear-gradient(160deg, #FFE1E1, #F29A9A); }
:root[data-theme="ny"] .g2 { background: linear-gradient(160deg, #DDF2E1, #8CC79A); }
:root[data-theme="ny"] .g3 { background: linear-gradient(160deg, #FFF4D1, #F2C94C); }
/* Світлі поверхні на темному фоні: повертаємо темний текст і темний --muted */
:root[data-theme="ny"] :is(.card, .tile, .search, .chip, .sheet, .face, .half, .cover) { color: var(--ink); --muted: rgba(0, 0, 0, .54); }
:root[data-theme="ny"] .chip.on { background: #FFD86B; }
:root[data-theme="ny"] :is(.top, .status) .ic { filter: invert(1); }
:root[data-theme="ny"] .dots i:not(.on) { background: rgba(255, 255, 255, .3); }
:root[data-theme="ny"] .actions .btn { background: var(--paper); color: var(--ink); }
:root[data-theme="ny"] .actions .btn.ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
:root[data-theme="ny"] .tabbar { background: #08142A; }
:root[data-theme="ny"] :is(.pager, .hscroll) { padding-top: 16px; }
:root[data-theme="ny"] :is(.card, .half, .doc) { position: relative; }
:root[data-theme="ny"] :is(.card, .half, .doc)::before,
:root[data-theme="ny"] .tabbar::before {
  content: ""; position: absolute; z-index: 2; left: 12px; right: 12px; top: -8px; height: 16px;
  background: var(--cap) center / 100% 100% no-repeat; pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0, 20, 60, .25));
}
:root[data-theme="ny"] .tabbar::before { left: 0; right: 0; top: -10px; height: 14px; }

.snow { position: fixed; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; container-type: size; }
.snow i { position: absolute; top: -8px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: var(--o); animation: fall var(--d) linear var(--t) infinite; }
@keyframes fall { to { transform: translate(var(--w), calc(100cqh + 16px)); } }

/* ===== ПК: мокап телефона (390×844, як iPhone 14) — екран всередині скролиться сам ===== */
@media (min-width: 768px) and (hover: hover) {
  body { height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 64px; }
  .phone {
    zoom: var(--z, 1); position: relative; flex: none;
    padding: 12px; border-radius: 66px; background: #111;
    box-shadow: inset 0 0 0 2px #333, 0 0 0 1px rgba(0, 0, 0, .25), 0 40px 100px rgba(20, 50, 80, .35);
  }
  .phone::before { content: ""; position: absolute; z-index: 20; top: 23px; left: 50%; translate: -50%; width: 122px; height: 36px; border-radius: 20px; background: #000; }
  .app {
    position: relative; isolation: isolate; width: 390px; height: 844px; min-height: 0; border-radius: 54px; overflow: hidden;
    display: flex; flex-direction: column;
    background: var(--bg-app);
  }
  body::before { background: var(--bg-desk); }
  .desk-note { color: var(--desk-fg); }
  .desk-note .muted { color: inherit; opacity: .7; }
  .desk-note .ic { filter: var(--desk-icon, none); }
  .status { display: flex; justify-content: space-between; align-items: center; flex: none; height: 54px; padding: 6px 30px 0 44px; font-size: 16px; font-weight: 500; }
  .status span:last-child { display: flex; gap: 6px; }
  .status .ic { width: 18px; height: 18px; }
  .status .ic:last-child { width: 26px; }
  #screen { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding-bottom: 104px; }
  #screen::-webkit-scrollbar { display: none; }
  .tabbar { position: absolute; left: 0; transform: none; width: 100%; padding-bottom: 28px; }
  .sheet, .scrim, .toast, .snow { position: absolute; }
  .sheet { width: 100%; padding-bottom: 40px; }
  .toast { bottom: 108px; }
  .pager, .hscroll, .chips { cursor: grab; }
  .desk-note { display: flex; flex-direction: column; gap: 12px; width: 280px; }
  .desk-note .greet { font-size: 32px; line-height: 38px; }
  .desk-note .hint { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
}
@media (min-width: 768px) and (max-width: 1023px) and (hover: hover) { .desk-note { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .sheet[open] { animation: none; }
  .snow { display: none; }
  .doc-flip, .toast, .dots i { transition: none; }
}
