/* To Do — base layout, widgets, modals. Looks live in themes.css. */
:root {
  --paper: #fdf9f2; --paper-2: #fbf4ea; --ink: #2e3a59; --ink-2: #5b647d; --ink-3: #8a90a3;
  --line: rgba(46, 58, 89, .14); --line-2: rgba(46, 58, 89, .28);
  --accent: #e2617a; --accent-ink: #b73a54; --accent-soft: #fbe3e9; --accent-soft-2: #f7c8d4; --cherry: #c8373e;
  --bg: #f9e1e8; --bg-pattern: none; --bg-photo: none;
  --shadow: 0 10px 30px rgba(120, 60, 80, .12), 0 2px 6px rgba(120, 60, 80, .08); --shadow-2: 0 18px 50px rgba(120, 60, 80, .18);
  --r: 22px; --r-sm: 14px; --tilt: 0deg; --border: 2px dashed var(--accent-soft-2); --edge: none;
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif; --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif; --font-hand: "Caveat", "Nunito", cursive;
  --urgent: #e0484f; --high: #f0944a; --normal: #7aa7e6; --low: #9ac79e; --nav-h: 66px;
  --surface: var(--paper); /* widget surface — follows the paper colour, and the one-colour picker */
  --row: rgba(255,255,255,.55);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; color: var(--ink); font-family: var(--font-body); font-size: 15.5px; line-height: 1.45; background: var(--bg); background-image: var(--bg-photo), var(--bg-pattern); background-size: cover, auto; background-position: center, 0 0; background-attachment: fixed; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent-soft-2); outline-offset: 2px; border-radius: 12px; }
a { color: var(--accent-ink); }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
img { max-width: 100%; }
/* nothing ever leaves its box */
.widget, .card, .sheet, .modal, .row, .pcard, .list li, .toast, .pv, .chip { min-width: 0; }
.row .title, .stky-text, .w-notes textarea, .list li .what, .prod .nm, .prod .ds, .feel span, .ci-body .t, .pcard .nm { overflow-wrap: anywhere; }
.widget, .card, .sheet { overflow: hidden; }

/* ---------- shell ---------- */
.shell { max-width: 980px; margin: 0 auto; padding: 14px 16px calc(var(--nav-h) + 28px); }
@media (min-width: 900px) { .shell { padding-top: 22px; } }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--accent-ink); letter-spacing: .2px; }
.brand svg { width: 28px; height: 28px; }
.greet { text-align: right; }
.greet .hi { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.greet .sub { color: var(--ink-2); font-size: 14px; }
.wallet { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.wallet span { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 13.5px; font-weight: 800; color: var(--ink-2); }

.nav { position: fixed; left: 0; right: 0; bottom: 0; height: var(--nav-h); z-index: 20; background: var(--surface); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: stretch; padding-bottom: env(safe-area-inset-bottom); overflow-x: auto; }
.nav button { flex: 1; min-width: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.nav button svg { width: 24px; height: 24px; }
.nav button.on { color: var(--accent-ink); }
@media (min-width: 900px) {
  .nav { position: sticky; top: 12px; bottom: auto; margin: 0 auto 18px; max-width: 980px; height: 56px; border-radius: 999px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 4px; gap: 4px; }
  .nav button { flex-direction: row; gap: 8px; font-size: 14.5px; border-radius: 999px; }
  .nav button.on { background: var(--accent-soft); }
  .shell { padding-bottom: 60px; }
}

/* ---------- page grid + widgets ---------- */
.page { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 860px) { .page { grid-template-columns: 1fr 1fr; } .widget.wide, .widget.big, .widget.w-todo { grid-column: 1 / -1; } }
.dateline .date { white-space: nowrap; }
.widget { position: relative; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px 18px 20px; transform: rotate(var(--tilt)); }
.widget::after { content: ""; position: absolute; inset: 9px; border: var(--border); border-radius: calc(var(--r) - 8px); pointer-events: none; }
.widget > * { position: relative; z-index: 1; }
.widget.tall { min-height: 420px; }
.w-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.w-head h3 { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); padding: 4px 14px; border-radius: 999px; max-width: 100%; }
.w-head .meta { font-size: 13.5px; color: var(--ink-3); font-weight: 700; white-space: nowrap; }
.w-tools { position: absolute; top: 6px; right: 8px; z-index: 3; display: none; gap: 2px; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow); padding: 2px; }
body.editing .w-tools { display: flex; }
body.editing .widget { outline: 2px dashed var(--accent); outline-offset: 3px; }
.w-tools button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); font-size: 15px; }
.w-tools button:hover { background: var(--accent-soft); color: var(--accent-ink); }
.editbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.editbar .sp { flex: 1; }
.addgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.addgrid button { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; text-align: left; font-weight: 800; font-size: 14px; display: flex; gap: 8px; align-items: center; min-height: 54px; }
.addgrid button .ic { font-size: 22px; }
.addgrid button small { display: block; color: var(--ink-3); font-weight: 700; font-size: 12.5px; }
.addgrid button.locked { opacity: .6; }

/* ---------- sheet head (todo widget) ---------- */
.sheet-head { text-align: center; margin: 2px 0 10px; }
.badge-title { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 22px; border-radius: 999px; position: relative; max-width: 100%; }
.badge-title::before, .badge-title::after { content: "♥"; font-size: 13px; color: var(--accent); position: absolute; top: 12px; }
.badge-title::before { left: 8px; } .badge-title::after { right: 8px; }
.slogan { font-family: var(--font-hand); font-size: 20px; color: var(--ink-2); margin-top: 4px; }
.motif { position: absolute; right: 14px; top: 12px; width: 64px; height: 64px; opacity: .95; z-index: 0; pointer-events: none; }
.motif-bl { right: auto; top: auto; left: 12px; bottom: 10px; width: 56px; height: 56px; }
.dateline { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "date nav" "week week"; align-items: center; gap: 10px; margin: 8px 0 14px; }
@media (max-width: 460px) { .dateline { grid-template-columns: 1fr; grid-template-areas: "date" "nav" "week"; justify-items: center; } }
.dateline .date { grid-area: date; font-family: var(--font-hand); font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dateline .date .lbl { white-space: nowrap; font-family: var(--font-body); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.dateline .daynav { grid-area: nav; } .dateline .weekdots { grid-area: week; justify-content: center; }
@media (min-width: 640px) { .dateline { grid-template-columns: 1fr auto auto; grid-template-areas: "date week nav"; } }
.daynav { display: flex; align-items: center; gap: 4px; }
.daynav button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent-soft); }
.daynav button.today { width: auto; padding: 0 12px; border-radius: 999px; font-weight: 800; font-size: 13.5px; }
.weekdots { display: flex; gap: 6px; }
.weekdots span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; color: var(--ink-3); border: 1.5px solid var(--line-2); cursor: pointer; }
.weekdots span.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.weekdots span.done { background: var(--accent-soft-2); border-color: transparent; color: var(--accent-ink); }
.zone { margin-top: 14px; }
.zone-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.zone-h h3 { margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); padding: 3px 12px; border-radius: 999px; }
.zone-h .meta { font-size: 13.5px; color: var(--ink-3); font-weight: 700; }
.progress { height: 10px; border-radius: 999px; background: var(--accent-soft); overflow: hidden; margin: 6px 0 2px; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-soft-2), var(--accent)); border-radius: 999px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.pdots { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0; }
.pdots i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-soft-2); } .pdots i.on { background: var(--accent); }

/* ---------- task rows ---------- */
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px 12px; align-items: center; padding: 9px 6px; border-bottom: 1.5px dotted var(--line-2); min-height: 62px; position: relative; background: var(--row); border-radius: 12px; margin-bottom: 4px; }
.row.has-photo { grid-template-columns: 30px 58px 1fr auto; }
.row.done .title { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--accent); color: var(--ink-3); }
.row.done .thumb { filter: saturate(.6); opacity: .8; }
.row .num { font-family: var(--font-hand); font-weight: 700; color: var(--ink-3); font-size: 18px; width: 22px; text-align: right; }
.check { width: 28px; height: 28px; border-radius: 9px; border: 2.5px solid var(--accent); background: #fff; display: grid; place-items: center; position: relative; transition: transform .15s; flex: none; }
.check:active { transform: scale(.9); }
.check svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .28s ease .05s; }
.check.on { background: var(--accent); border-color: var(--accent); animation: pop .35s cubic-bezier(.2,1.5,.5,1); }
.check.on svg { stroke-dashoffset: 0; }
@keyframes pop { 0% { transform: scale(.8); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.thumb { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; background: var(--accent-soft); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(120,60,80,.18); transform: rotate(-2.5deg); flex: none; display: block; }
.thumb.sticker { display: grid; place-items: center; font-size: 30px; }
.row:nth-child(even) .thumb { transform: rotate(2deg); }
.row .body { min-width: 0; }
.row .title { font-size: 16.5px; font-weight: 700; line-height: 1.3; cursor: text; border-radius: 6px; padding: 1px 3px; margin-left: -3px; }
.row .title:hover { background: rgba(255,255,255,.7); }
.row .title[contenteditable="true"] { background: #fff; outline: 2px solid var(--accent-soft-2); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink-2); line-height: 1.5; max-width: 100%; }
.chip.proj { border-color: transparent; } .chip.urg { border-color: transparent; color: #fff; }
.chip.urg.urgent { background: var(--urgent); } .chip.urg.high { background: var(--high); } .chip.urg.normal { background: var(--normal); } .chip.urg.low { background: var(--low); }
.chip.who { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.chip.who .av { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 10.5px; }
.chip.timer { background: #f6e3a1; border-color: transparent; color: #7a5a10; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .55; } }
.chip.carry { background: var(--paper-2); color: var(--ink-3); border-style: dashed; }
.row .acts { display: flex; gap: 2px; align-items: center; }
.ib { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); transition: background .15s, color .15s; flex: none; }
.ib:hover { background: var(--accent-soft); color: var(--accent-ink); }
.ib.on { color: var(--accent-ink); } .ib svg { width: 20px; height: 20px; }
.star.on svg { fill: #f2b84b; stroke: #f2b84b; }
@media (max-width: 599px) { .row .acts .ib.star.opt { display: none; } }
.empty { text-align: center; padding: 18px 10px; color: var(--ink-2); font-family: var(--font-hand); font-size: 21px; }
.rule-lines { background: repeating-linear-gradient(180deg, transparent 0 31px, var(--line) 31px 33px); height: 99px; border-radius: 8px; opacity: .8; }

/* ---------- brain dump ---------- */
.dump { margin-top: 18px; background: #fff; border-radius: 18px; border: 2px solid var(--accent-soft-2); padding: 14px 14px 12px; }
.dump h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--accent-ink); display: flex; gap: 8px; align-items: center; }
.dump textarea { width: 100%; min-height: 92px; resize: vertical; border: 0; background: repeating-linear-gradient(180deg, transparent 0 29px, var(--line) 29px 31px); line-height: 31px; font-size: 16px; padding: 0 2px; outline: none; font-family: var(--font-body); color: var(--ink); }
.dump textarea::placeholder { color: var(--ink-3); font-family: var(--font-hand); font-size: 19px; }
.dump .hint { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; } .dump .hint b { color: var(--ink-2); }
.preview { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; }
.preview .pv { display: flex; align-items: center; gap: 8px; font-size: 14.5px; background: var(--paper-2); border-radius: 12px; padding: 6px 10px; flex-wrap: wrap; }
.preview .pv .t { font-weight: 700; flex: 1; min-width: 120px; }
.dump .actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 800; font-size: 15.5px; background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.14); transition: transform .12s, box-shadow .12s; max-width: 100%; }
.btn:hover { transform: translateY(-1px); } .btn:active { transform: translateY(0) scale(.98); }
.btn.soft { background: var(--accent-soft); color: var(--accent-ink); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink-2); box-shadow: none; }
.btn.danger { background: var(--cherry); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }

/* ---------- cards / lists ---------- */
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 18px; margin-bottom: 14px; }
.card h2 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--accent-ink); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card h2 small { font-family: var(--font-body); font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.pcard { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 4px 14px rgba(120,60,80,.10); border-top: 10px solid var(--c, var(--accent-soft-2)); cursor: pointer; transition: transform .15s; position: relative; min-height: 120px; text-align: left; }
.pcard:hover { transform: translateY(-2px); }
.pcard .st { font-size: 30px; line-height: 1; }
.pcard .nm { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-top: 6px; }
.pcard .ct { color: var(--ink-3); font-size: 13.5px; font-weight: 700; margin-top: 2px; }
.pcard .progress { margin-top: 10px; }
.pcard.add { display: grid; place-items: center; border: 2px dashed var(--accent-soft-2); border-top-width: 2px; background: transparent; box-shadow: none; color: var(--accent-ink); font-weight: 800; text-align: center; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1.5px dotted var(--line-2); }
.list li .when { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--ink-2); font-size: 14px; min-width: 92px; }
.list li .what { flex: 1; min-width: 0; } .list li .what b { font-weight: 800; } .list li .what .sub { color: var(--ink-3); font-size: 13.5px; }
.list li .dur { font-weight: 800; font-variant-numeric: tabular-nums; background: var(--accent-soft); color: var(--accent-ink); padding: 2px 10px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; }
.list li .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; font-size: 18px; flex: none; }
.dayhead { font-family: var(--font-hand); font-size: 21px; font-weight: 700; color: var(--ink-2); margin: 14px 0 2px; }
.totals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.totals .tt { background: #fff; border-radius: 14px; padding: 8px 12px; font-size: 14px; box-shadow: 0 2px 8px rgba(120,60,80,.08); max-width: 100%; }
.totals .tt b { display: block; font-family: var(--font-display); font-size: 18px; color: var(--accent-ink); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.filters button { font-size: 13.5px; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink-2); min-height: 34px; }
.filters button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.running { display: flex; align-items: center; gap: 12px; background: #f6e3a1; border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; color: #5c4408; flex-wrap: wrap; }
.running b { font-family: var(--font-display); font-size: 22px; font-variant-numeric: tabular-nums; } .running .grow { flex: 1; min-width: 0; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; min-width: 0; }
.field label { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.in { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font-size: 16px; color: var(--ink); }
.in:focus { border-color: var(--accent-soft-2); outline: none; }
textarea.in { min-height: 80px; resize: vertical; }
.inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); }
.swatches button.on { box-shadow: 0 0 0 3px var(--accent); }
.stickers { display: flex; gap: 4px; flex-wrap: wrap; }
.stickers button { width: 40px; height: 40px; border-radius: 12px; font-size: 22px; display: grid; place-items: center; }
.stickers button.on { background: var(--accent-soft); }
.seg { display: inline-flex; background: #fff; border-radius: 999px; border: 1.5px solid var(--line); padding: 3px; gap: 2px; flex-wrap: wrap; max-width: 100%; }
.seg button { padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 13.5px; color: var(--ink-2); min-height: 34px; }
.seg button.on { background: var(--accent); color: #fff; }
.seg button.on.urgent { background: var(--urgent); } .seg button.on.high { background: var(--high); } .seg button.on.normal { background: var(--normal); } .seg button.on.low { background: var(--low); }
input[type="color"] { width: 56px; height: 44px; border: 2px solid var(--line); border-radius: 12px; padding: 2px; background: #fff; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.toggle { width: 52px; height: 30px; border-radius: 999px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: left .2s; }
.toggle.on { background: var(--accent); } .toggle.on::after { left: 25px; }
.row-set { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1.5px dotted var(--line-2); flex-wrap: wrap; }
.row-set .l { flex: 1 1 220px; min-width: min(220px, 100%); } .row-set > :not(.l) { max-width: 100%; } .row-set .l b { display: block; font-weight: 800; } .row-set .l span { color: var(--ink-3); font-size: 13.5px; }
.kbd { font-family: ui-monospace, monospace; font-size: 12.5px; background: #fff; border: 1.5px solid var(--line); border-radius: 6px; padding: 1px 6px; }

/* ---------- modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(60, 30, 40, .35); backdrop-filter: blur(3px); z-index: 50; display: grid; place-items: end center; padding: 0; animation: fade .2s; }
@media (min-width: 600px) { .modal-bg { place-items: center; padding: 20px; } }
.modal { width: 100%; max-width: 580px; max-height: 92vh; overflow: auto; background: var(--surface); border-radius: 24px 24px 0 0; padding: 20px 18px 24px; box-shadow: var(--shadow-2); animation: up .25s cubic-bezier(.2,.9,.3,1); }
.modal.wide { max-width: 860px; }
@media (min-width: 600px) { .modal { border-radius: 24px; } }
.modal h2 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--accent-ink); }
.modal .foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; flex-wrap: wrap; } .modal .foot .r { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } } @keyframes up { from { transform: translateY(24px); opacity: 0; } }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.photos button { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--accent-soft); border: 3px solid transparent; }
.photos button.on { border-color: var(--accent); } .photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bigphoto { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; background: var(--accent-soft); display: block; margin-bottom: 12px; border: 4px solid #fff; box-shadow: var(--shadow); }

/* ---------- check-in ---------- */
.checkin .mood { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.checkin .mood button { font-size: 14.5px; font-weight: 800; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); min-height: 40px; }
.checkin .mood button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.ci-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1.5px dotted var(--line-2); } .ci-row .t { flex: 1; font-weight: 700; }

/* ---------- entry + chooser ---------- */
.entry { min-height: 100vh; display: grid; place-items: center; padding: 20px 16px; }
.entry .sheet { width: 100%; max-width: 420px; text-align: center; padding: 36px 26px 26px; position: relative; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.entry .sheet::after { content: ""; position: absolute; inset: 10px; border: var(--border); border-radius: 16px; pointer-events: none; }
.entry .sheet > * { position: relative; z-index: 1; }
.entry .logo { width: 64px; height: 64px; margin: 0 auto 4px; }
.entry h1 { font-family: var(--font-display); font-weight: 600; font-size: 34px; margin: 0; color: var(--accent-ink); }
.entry p { color: var(--ink-2); margin: 6px auto 22px; max-width: 300px; font-size: 15px; line-height: 1.5; }
.entry .field { margin-bottom: 10px; }
.entry .spb-btn { margin-top: 6px; }
.entry .or { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; color: var(--ink-3); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.entry .or::before, .entry .or::after { content: ''; flex: 1; height: 1.5px; background: var(--line); }
.entry .field { text-align: left; }
.entry .err { color: var(--cherry); font-weight: 700; margin-top: 8px; min-height: 22px; }
.entry .note { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; }
.pin { display: flex; gap: 8px; justify-content: center; margin: 10px 0; }
.pin input { width: 46px; height: 56px; text-align: center; font-size: 24px; font-weight: 800; border-radius: 14px; border: 2px solid var(--line); background: #fff; }
.chooser { max-width: 1060px; margin: 0 auto; padding: 24px 16px 60px; }
.chooser h1 { font-family: var(--font-display); font-weight: 600; font-size: 32px; text-align: center; margin: 8px 0 4px; color: var(--accent-ink); }
.chooser p { text-align: center; color: var(--ink-2); margin: 0 0 20px; }
.looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.look { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-2); background: #fff; text-align: left; border: 4px solid transparent; transition: transform .15s; display: flex; flex-direction: column; }
.look:hover { transform: translateY(-3px); } .look.on { border-color: var(--accent); }
.look .prev { height: 230px; overflow: hidden; position: relative; }
.look .prev .mini { position: absolute; left: 0; top: 0; width: 200%; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
.look .nm { padding: 12px 14px 2px; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); }
.look .ds { padding: 0 14px 14px; color: var(--ink-3); font-size: 13.5px; font-weight: 700; }

/* ---------- toasts, petals ---------- */
.toasts { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 14px); transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(92vw, 420px); }
@media (min-width: 900px) { .toasts { bottom: 24px; } }
.toast { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 11px 16px 11px 12px; box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; border: 2px solid var(--accent-soft-2); animation: toastin .35s cubic-bezier(.2,1.2,.4,1); max-width: 100%; }
.toast .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; font-size: 18px; flex: none; }
.toast.bye { animation: toastout .3s forwards; } .toast.err { border-color: #f3b4b8; }
@keyframes toastin { from { transform: translateY(16px) scale(.96); opacity: 0; } } @keyframes toastout { to { transform: translateY(10px); opacity: 0; } }
.petals { position: fixed; inset: 0; pointer-events: none; z-index: 55; }

/* ---------- widgets: specific ---------- */
.w-goals .goal, .w-rem .rem { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1.5px dashed var(--line-2); }
.w-goals .goal input, .w-rem .rem input { flex: 1; border: 0; background: transparent; font-size: 15.5px; min-width: 0; outline: none; font-weight: 700; color: var(--ink); }
.w-goals .goal .n { font-family: var(--font-display); color: var(--accent); font-weight: 700; }
.w-notes textarea { width: 100%; min-height: 150px; border: 0; background: repeating-linear-gradient(180deg, transparent 0 29px, var(--line) 29px 31px); line-height: 31px; font-size: 16px; resize: vertical; outline: none; font-family: var(--font-hand); font-size: 20px; color: var(--ink); padding: 0 2px; }
.w-doodle canvas { width: 100%; height: 260px; background: #fff; border-radius: 14px; touch-action: none; display: block; border: 1.5px solid var(--line); }
.w-doodle .pens { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.w-doodle .pens button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); } .w-doodle .pens button.on { box-shadow: 0 0 0 3px var(--accent); }
.w-key .krow { display: grid; grid-template-columns: 44px 1fr 30px; align-items: center; gap: 8px; padding: 5px 0; }
.w-key .krow .sym { width: 40px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; border: 1.5px solid var(--line); background: #fff; }
.w-key .krow input { border: 0; background: transparent; font-size: 15px; min-width: 0; outline: none; color: var(--ink); font-weight: 700; }
.w-key h4 { margin: 10px 0 4px; font-family: var(--font-hand); font-size: 19px; color: var(--ink-2); }
.w-food .meal { display: grid; grid-template-columns: 34px 1fr 84px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1.5px dashed var(--line-2); }
.w-food .meal .ic { font-size: 22px; } .w-food .meal input { border: 0; background: transparent; min-width: 0; font-size: 15px; outline: none; color: var(--ink); font-weight: 700; }
.w-food .meal input[type="time"] { font-size: 14px; text-align: right; }
.w-food .water { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.w-food .water button { width: 32px; height: 40px; border-radius: 8px 8px 12px 12px; border: 2px solid #7aa7e6; background: #fff; font-size: 18px; display: grid; place-items: center; transition: background .2s; }
.w-food .water button.on { background: #cfe0f3; }
.w-car .frame { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: var(--accent-soft); border: 4px solid #fff; box-shadow: var(--shadow); }
.w-car .frame img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translate(var(--x, 0px), var(--y, 0px)) scale(var(--z, 1)); min-width: 100%; min-height: 100%; object-fit: cover; transition: opacity .6s; user-select: none; -webkit-user-drag: none; }
.w-car .dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; } .w-car .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-soft-2); } .w-car .dots i.on { background: var(--accent); }
.w-car .frame.editing { cursor: grab; }
.w-banner { text-align: center; padding: 14px; position: relative; }
.w-banner .bgm { position: absolute; inset: -22px -18px -20px; width: calc(100% + 36px); height: calc(100% + 42px); object-fit: cover; z-index: 0; border-radius: var(--r); animation: bgmIn .7s both; }
@keyframes bgmIn { from { opacity: 0; } }
.w-banner.has-bg { min-height: 120px; display: grid; place-items: center; }
.w-banner.has-bg .txt, .w-banner.has-bg .slogan { position: relative; z-index: 1; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.45), 0 0 2px rgba(0,0,0,.3); }
.w-banner .tap-hint { position: absolute; right: -8px; bottom: -12px; z-index: 2; font-size: 11.5px; font-weight: 800; color: var(--ink-3); background: rgba(255,255,255,.85); padding: 3px 8px; border-radius: 999px; pointer-events: none; }
.w-banner.has-bg .tap-hint { color: var(--accent-ink); }
.widget.w-banner-bg { overflow: hidden; }
.cloudpill { position: fixed; top: 10px; left: 50%; transform: translate(-50%, -30px); opacity: 0; z-index: 95; background: rgba(255,255,255,.94); color: var(--accent-ink); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow); transition: .25s; pointer-events: none; }
.cloudpill.show { opacity: 1; transform: translate(-50%, 0); }
.scene.locked { opacity: .85; } .scene.locked video { filter: saturate(.8); }
.pcard .mail { margin-top: 8px; display: inline-flex; }
.w-banner .txt { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 5vw, 40px); line-height: 1.1; padding: 8px 6px; }
.w-banner .txt.glitter { background: linear-gradient(90deg, var(--accent-ink), var(--accent), #f29ac2, var(--accent-ink), var(--accent)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4s linear infinite; }
.w-banner .txt.outline { color: #fff; text-shadow: 0 0 2px var(--accent-ink), 2px 0 0 var(--accent-ink), -2px 0 0 var(--accent-ink), 0 2px 0 var(--accent-ink), 0 -2px 0 var(--accent-ink), 1.5px 1.5px 0 var(--accent-ink), -1.5px -1.5px 0 var(--accent-ink), 1.5px -1.5px 0 var(--accent-ink), -1.5px 1.5px 0 var(--accent-ink); }
.w-banner .txt.hand { font-family: var(--font-hand); font-size: clamp(26px, 6vw, 46px); }
.w-banner .txt.marquee { white-space: nowrap; overflow: hidden; } .w-banner .txt.marquee span { display: inline-block; animation: marquee 10s linear infinite; padding-left: 100%; }
@keyframes shimmer { to { background-position: 300% 0; } } @keyframes marquee { to { transform: translateX(-200%); } }
.w-stk .board { position: relative; min-height: 220px; background: rgba(255,255,255,.4); border-radius: 14px; overflow: hidden; }
.w-stk .stk { position: absolute; touch-action: none; cursor: grab; user-select: none; }
.w-stk .stk img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.w-stk .stk.emoji { font-size: 48px; line-height: 1; display: grid; place-items: center; }
.w-stk .stk.sel { outline: 2px dashed var(--accent); outline-offset: 2px; }
.w-stk .stk-tools { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
.w-weekly .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 719px) { .w-weekly .days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.w-weekly .d { background: #fff; border-radius: 12px; padding: 8px; min-height: 110px; border: 1.5px solid var(--line); }
.w-weekly .d.today { border-color: var(--accent); }
.w-weekly .d h5 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; color: var(--accent-ink); font-size: 14px; display: flex; justify-content: space-between; }
.w-weekly .d .it { font-size: 13px; font-weight: 700; padding: 2px 0; border-bottom: 1px dotted var(--line); display: flex; gap: 4px; align-items: center; }
.w-weekly .d .it.done { text-decoration: line-through; color: var(--ink-3); }
.w-weekly .d textarea { width: 100%; border: 0; background: transparent; font-family: var(--font-hand); font-size: 17px; resize: none; outline: none; min-height: 40px; color: var(--ink); }
.w-daily .hour { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: start; padding: 4px 0; border-bottom: 1px dotted var(--line); min-height: 34px; }
.w-daily .hour .h { font-weight: 800; color: var(--ink-3); font-size: 13px; padding-top: 6px; }
.w-daily .hour input { border: 0; background: transparent; font-size: 15px; width: 100%; outline: none; color: var(--ink); }
.w-daily .hour .it { font-size: 14px; font-weight: 800; color: var(--accent-ink); background: var(--accent-soft); border-radius: 8px; padding: 3px 8px; display: inline-block; margin: 2px 4px 2px 0; }
.w-cal .months { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.w-cal .month { background: #fff; border-radius: 12px; padding: 8px; border: 1.5px solid var(--line); }
.w-cal .month h5 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--accent-ink); text-align: center; }
.w-cal .mg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.w-cal .mg span { aspect-ratio: 1; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; border-radius: 50%; color: var(--ink-2); position: relative; cursor: pointer; }
.w-cal .mg span.h { color: var(--ink-3); font-size: 10.5px; cursor: default; }
.w-cal .mg span.today { background: var(--accent); color: #fff; }
.w-cal .mg span.has::after { content: ""; position: absolute; bottom: 1px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.w-cal .mg span.alldone { background: var(--accent-soft-2); }
.w-cal.big .mg span { font-size: 14px; }
.w-cal .seg { margin-bottom: 8px; }
.w-habits .hrow { display: grid; grid-template-columns: 1fr repeat(7, 28px); gap: 4px; align-items: center; padding: 4px 0; }
.w-habits .hrow input { border: 0; background: transparent; font-weight: 700; min-width: 0; outline: none; color: var(--ink); font-size: 14.5px; }
.w-habits .hrow button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--accent-soft-2); background: #fff; } .w-habits .hrow button.on { background: var(--accent); border-color: var(--accent); }
.w-habits .hh { display: grid; grid-template-columns: 1fr repeat(7, 28px); gap: 4px; font-size: 11px; font-weight: 800; color: var(--ink-3); text-align: center; }
.w-mood .faces { display: flex; gap: 6px; flex-wrap: wrap; } .w-mood .faces button { font-size: 28px; width: 46px; height: 46px; border-radius: 14px; } .w-mood .faces button.on { background: var(--accent-soft); }
.w-quote blockquote { margin: 0; font-family: var(--font-hand); font-size: 24px; color: var(--ink-2); text-align: center; padding: 10px; }
.w-count .big { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--accent-ink); text-align: center; }
.w-tags .tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.w-tags .tag { width: 150px; background: var(--c); border-radius: 6px 6px 14px 14px; padding: 26px 10px 12px; position: relative; box-shadow: 0 6px 14px rgba(0,0,0,.12); transform: rotate(var(--rt)); }
.w-tags .tag::before { content: ""; position: absolute; top: -18px; left: 50%; width: 2px; height: 24px; background: #8a6f6b; transform: translateX(-50%); }
.w-tags .tag::after { content: ""; position: absolute; top: 6px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: translateX(-50%); box-shadow: inset 0 0 0 2px #8a6f6b; }
.w-tags .tag h5 { margin: 0 0 6px; font-family: var(--font-hand); font-size: 20px; text-align: center; color: var(--ink); }
.w-tags .tag textarea { width: 100%; border: 0; background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(255,255,255,.7) 22px 24px); min-height: 110px; resize: none; outline: none; font-size: 14px; line-height: 24px; color: var(--ink); }
.w-sticky { background: transparent; box-shadow: none; padding: 0; } .w-sticky::after { display: none; }
.w-sticky .note { background: #f7c8d4; border-radius: 6px; padding: 18px 16px; box-shadow: 0 8px 20px rgba(0,0,0,.14); transform: rotate(-1.5deg); position: relative; }
.w-sticky .note::before { content: ""; position: absolute; top: -10px; left: 50%; width: 90px; height: 22px; background: rgba(255,255,255,.55); transform: translateX(-50%) rotate(-2deg); border: 1px dashed rgba(0,0,0,.08); }
.w-sticky .note h4 { margin: 0 0 6px; font-family: var(--font-hand); font-size: 24px; text-align: center; color: var(--ink); }
.w-sticky .note textarea { width: 100%; border: 0; background: transparent; font-family: var(--font-hand); font-size: 20px; min-height: 140px; resize: none; outline: none; line-height: 30px; color: var(--ink); background: repeating-linear-gradient(180deg, transparent 0 28px, rgba(0,0,0,.08) 28px 30px); }
.w-sticky .heart { width: 120px; height: 110px; margin: 10px auto 0; position: relative; }
.w-sticky .heart::before, .w-sticky .heart::after { content: ""; position: absolute; top: 0; width: 60px; height: 96px; border-radius: 60px 60px 0 0; background: #fbd0dc; }
.w-sticky .heart::before { left: 60px; transform: rotate(-45deg); transform-origin: 0 100%; } .w-sticky .heart::after { left: 0; transform: rotate(45deg); transform-origin: 100% 100%; }
.w-today .progress-dots { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.w-today .progress-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); } .w-today .progress-dots i.on { background: #2e7d4f; }
.w-today h1 { font-family: var(--font-display-serif, "Fraunces", serif); font-weight: 400; font-size: 44px; margin: 0; line-height: 1; letter-spacing: -.5px; }
.w-today h1 i { font-style: italic; font-size: 30px; display: block; }
.w-today .steps { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }
.w-gallery .sets { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.w-gallery .set { border-radius: 14px; overflow: hidden; background: #fff; border: 1.5px solid var(--line); text-align: left; }
.w-gallery .set .pair { display: grid; grid-template-columns: 1fr 1fr; height: 100px; } .w-gallery .set .pair img { width: 100%; height: 100%; object-fit: cover; }
.w-gallery .set .nm { padding: 6px 8px; font-weight: 800; font-size: 13.5px; }
.ba { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: #000; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--cut, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 4px; background: #fff; transform: translateX(-2px); box-shadow: 0 0 10px rgba(0,0,0,.4); }
.ba .lbl { position: absolute; top: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 800; } .ba .lbl.l { left: 8px; } .ba .lbl.r { right: 8px; }
.thumbs { display: flex; gap: 6px; flex-wrap: wrap; } .thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 2px solid #fff; box-shadow: var(--shadow); }
.w-tree svg { width: 100%; height: auto; display: block; border-radius: 16px; }
.w-tree .fruit { cursor: pointer; transition: transform .2s; } .w-tree .fruit:hover { transform: scale(1.08); transform-box: fill-box; transform-origin: center; }
.w-tree .legend { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); font-weight: 700; margin-top: 8px; justify-content: center; }

/* ---------- store ---------- */
.store-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.store-tabs button { font-weight: 800; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); min-height: 40px; }
.store-tabs button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.item { background: #fff; border-radius: 18px; padding: 12px; box-shadow: 0 4px 14px rgba(120,60,80,.10); display: flex; flex-direction: column; gap: 6px; text-align: left; }
.item .sw { height: 70px; border-radius: 12px; background: var(--c, var(--accent-soft)); display: grid; place-items: center; font-size: 30px; border: 1.5px solid var(--line); }
.item .nm { font-weight: 800; } .item .pr { color: var(--ink-3); font-size: 13.5px; font-weight: 700; }
.item .btn { margin-top: auto; }
.bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.bundle { background: #fff; border-radius: 16px; padding: 14px 10px; text-align: center; border: 2px solid var(--line); }
.bundle b { display: block; font-family: var(--font-display); font-size: 24px; color: var(--accent-ink); } .bundle span { color: var(--ink-3); font-weight: 800; font-size: 13.5px; }
.bundle.best { border-color: var(--accent); }

/* ---------- sticker library + cut-out ---------- */
.stklib { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; max-height: 300px; overflow: auto; }
.stklib button { aspect-ratio: 1; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 30px; overflow: hidden; }
.stklib button img { width: 100%; height: 100%; object-fit: contain; }
.stklib button.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.cut canvas { width: 100%; max-height: 420px; object-fit: contain; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0/16px 16px; border-radius: 12px; touch-action: none; display: block; }
.cut .ctl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 10px; } .cut .ctl label { font-size: 13px; font-weight: 800; color: var(--ink-3); }

/* ---------- settings ---------- */
.themes { display: flex; gap: 10px; flex-wrap: wrap; }
.themes button { width: 84px; height: 72px; border-radius: 16px; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); display: grid; place-items: end center; font-size: 12.5px; font-weight: 800; padding-bottom: 5px; color: var(--ink-2); text-transform: capitalize; overflow: hidden; white-space: nowrap; }
.themes button.on { box-shadow: 0 0 0 3px var(--accent); }
.themes button.metal { background-image: linear-gradient(135deg, rgba(255,255,255,.7), transparent 40%, rgba(255,255,255,.5)), var(--m); }

/* ---------- print ---------- */
@media print {
  body { background: #fff !important; }
  .nav, .top, .dump, .acts, .toasts, .petals, .daynav, .no-print, .editbar, .w-tools { display: none !important; }
  .shell { padding: 0; max-width: none; } .page { display: block; }
  .widget, .card { box-shadow: none; border: 1px solid #ddd; page-break-inside: avoid; transform: none; margin-bottom: 12px; }
  .thumb { transform: none; }
}

/* ---------- cute notes as stickies ---------- */
.stk-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.stky { position: relative; aspect-ratio: 1; background-size: contain; background-repeat: no-repeat; background-position: center; transform: rotate(var(--rot)); filter: drop-shadow(0 6px 10px rgba(0,0,0,.14)); display: grid; place-items: center; padding: 22%; }
.stky-text { width: 100%; height: 100%; font-family: var(--font-hand); font-size: 20px; line-height: 1.2; color: #3a2f3f; outline: none; overflow: hidden; text-align: center; display: grid; place-items: center; overflow-wrap: anywhere; }
.stky-text:empty::before { content: attr(data-ph); color: rgba(58,47,63,.45); }
.stky-x { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.85); color: #a33; font-weight: 800; opacity: 0; transition: opacity .15s; }
.stky:hover .stky-x, .stky:focus-within .stky-x { opacity: 1; }
.mic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 20px; flex: none; }
.mic.on { background: var(--accent); color: #fff; animation: blink 1s infinite; }
.quickbar { margin: 0 0 14px; }

.washi-top { position: absolute; left: 50%; top: -9px; width: 46%; height: 24px; transform: translateX(-50%) rotate(-2deg); background-size: auto 100%; background-repeat: repeat-x; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.18); opacity: .95; z-index: 2 !important; }

.composer { display: flex; flex-direction: column; gap: 10px; }
.cline { display: grid; grid-template-columns: 58px 1fr 40px; gap: 10px; align-items: start; background: var(--paper-2); border-radius: 14px; padding: 8px; }
.cline .thumb { transform: none; cursor: pointer; }
.cline .cbody { min-width: 0; }
.cline .cbody .inline { flex-wrap: wrap; }
.cline .cbody input.in { flex: 1; min-width: 160px; }
.cline .seg button { padding: 4px 9px; min-height: 30px; }
.ib.plus { background: var(--accent); color: #fff; font-size: 22px; font-weight: 800; }

/* ---------- avatars, profile ---------- */
.avatar { display: inline-grid; place-items: center; border-radius: 50%; background: var(--accent-soft-2) center/cover no-repeat; color: var(--accent-ink); flex: none; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.12); overflow: hidden; }
.avatar.empty { background-color: var(--accent-soft); color: var(--accent); }
.avatar.empty svg { width: 60%; height: 60%; display: block; stroke-width: 2; }
.avatar-btn { background: none; border: 0; padding: 0; line-height: 0; }
.avatar-btn { cursor: pointer; } .avatar-btn:hover .avatar { filter: brightness(1.04); }
.avatar-btn { position: relative; display: inline-block; border-radius: 50%; }

.profile .prof-top { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.hwrap { position: relative; display: flex; align-items: center; gap: 8px; }
.hwrap .at { position: absolute; left: 12px; color: var(--ink-3); font-weight: 800; }
.hwrap .hstatus { font-size: 13px; font-weight: 800; color: var(--ink-3); white-space: nowrap; } .hstatus.ok { color: #2f7d4f; } .hstatus.no { color: var(--cherry); }
/* ---------- check-in v2 ---------- */
.checkin.v2 .ci-hero { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.checkin.v2 .ci-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--accent-ink); line-height: 1.15; }
.checkin.v2 .ci-sub { color: var(--ink-2); font-size: 14.5px; margin-top: 2px; }
.ring { width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--accent-soft) 0); display: grid; place-items: center; flex: none; transition: background .3s; }
.ring b { width: 50px; height: 50px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-family: var(--font-display); font-size: 14px; color: var(--accent-ink); }
.ci-list { background: rgba(255,255,255,.5); border-radius: 18px; padding: 4px 12px; }
.checkin.v2 .ci-row { border-bottom: 1.5px solid rgba(0,0,0,.05); padding: 10px 0; gap: 12px; }
.checkin.v2 .ci-row:last-child { border-bottom: 0; }
.check.big { width: 34px; height: 34px; border-radius: 50%; }
.ci-thumb { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: none; } .ci-thumb.st { display: grid; place-items: center; font-size: 22px; background: var(--accent-soft); }
.ci-body { flex: 1; min-width: 0; } .ci-body .t { font-weight: 800; } .ci-body .sub { font-size: 13px; color: var(--ink-3); }
.ci-h { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--accent-ink); margin: 16px 0 8px; }
.feel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.feel { background: rgba(255,255,255,.75); border-radius: 16px; padding: 10px 6px; display: grid; place-items: center; gap: 4px; font-weight: 800; font-size: 13.5px; color: var(--ink-2); border: 2px solid transparent; transition: transform .12s; }
.feel .e { font-size: 26px; line-height: 1; } .feel:hover { transform: translateY(-2px); } .feel.on { border-color: var(--accent); background: #fff; color: var(--accent-ink); }
.feel.add { background: transparent; border: 2px dashed var(--accent-soft-2); color: var(--ink-3); }
.emo-pick { width: 56px; height: 56px; border-radius: 16px; background: #fff; border: 2px solid var(--line); font-size: 28px; display: grid; place-items: center; }

.tree-empty { text-align: center; padding: 40px 16px; background: rgba(255,255,255,.45); border: 2px dashed var(--accent-soft-2); border-radius: 18px; }
.tree-empty .big-ic { font-size: 56px; } .tree-empty .tt { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--accent-ink); margin: 6px 0 4px; } .tree-empty .sub { color: var(--ink-2); max-width: 420px; margin: 0 auto; }

/* ---------- moving scene behind the page ---------- */
.bgvideo { position: fixed; inset: 0; width: 100vw; height: 100vh; object-fit: cover; z-index: -1; pointer-events: none; }
body.has-video { background-image: none !important; background: transparent; }
body.has-video::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(255,255,255,.18); pointer-events: none; }
body.has-video .widget, body.has-video .card { backdrop-filter: blur(2px); }
.scenes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.scene { border-radius: 16px; overflow: hidden; background: #fff; border: 3px solid transparent; text-align: left; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.scene.on { border-color: var(--accent); }
.scene video { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; max-height: 200px; }
.scene .nm { font-weight: 800; padding: 8px 10px 0; } .scene .sub { font-size: 12.5px; color: var(--ink-3); padding: 0 10px 10px; }

.page.one { grid-template-columns: 1fr !important; } .page.one .widget { grid-column: 1 / -1; }
.widget.small { padding: 16px 14px 14px; } @media (min-width: 860px) { .page:not(.one) .widget.small { max-width: 50%; } }
.resize-h { position: absolute; right: 2px; top: 50%; width: 10px; height: 44px; margin-top: -22px; border-radius: 6px; background: var(--accent); opacity: .7; cursor: ew-resize; z-index: 4; touch-action: none; }

/* ---- confirm cards (delete etc.) ---- */
.confirm { text-align: center; padding: 6px 4px 2px; }
.confirm .ic { width: 72px; height: 72px; margin: 0 auto 10px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; font-size: 34px; animation: confirmPop .35s cubic-bezier(.2,.9,.3,1.3); }
.confirm.danger .ic { background: #fde8ec; }
@keyframes confirmPop { from { transform: scale(.6); opacity: 0; } }
.confirm h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--accent-ink); margin: 0 0 6px; }
.confirm p { margin: 0 0 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.confirm .stays { color: var(--ink-3); font-size: 14px; }
.confirm-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.confirm-foot .btn { min-height: 50px; font-size: 16px; }
.btn.danger { background: #d9435a; color: #fff; }
/* ---- themed time picker ---- */
.timebtn { min-height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 800; font-size: 14px; color: var(--ink-3); }
.timebtn.set { color: var(--accent-ink); border-color: var(--accent); background: var(--accent-soft); }
.tp { text-align: center; }
.tp-big { font-family: var(--font-display); font-weight: 600; font-size: 40px; color: var(--accent-ink); margin: 0 0 6px; }
.tp-h { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 10px 0 6px; }
.tp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.tp-grid button { min-height: 44px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); font-weight: 800; font-size: 16px; color: var(--ink-2); }
.tp-grid button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tp .seg { margin-top: 2px; }
input[type=time], input[type=date] { color-scheme: light; accent-color: var(--accent); }
/* ---- header: time · city · weather ---- */
.now { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; align-items: center; font-size: 13.5px; font-weight: 800; color: var(--ink-2); margin: 2px 0 6px; }
.now span { background: rgba(255,255,255,.7); border-radius: 999px; padding: 3px 10px; }
.now .wx { color: var(--accent-ink); }
/* ---- install ---- */
.install-icon { display: grid; place-items: center; margin: 4px 0 12px; } .install-icon img { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--shadow-2); }
.steps { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; } .steps li { margin-bottom: 6px; }
/* ---- calendar day view ---- */
.w-cal .day-view { display: grid; gap: 4px; }
.w-cal .day-view .anytime { background: var(--accent-soft); border-radius: 12px; padding: 8px 10px; font-size: 14px; }
.w-cal .day-view .hr { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: center; min-height: 40px; border-top: 1px dotted var(--line-2); padding: 3px 0; }
.w-cal .day-view .hr .t { font-size: 15px; font-weight: 800; color: var(--ink-3); }
.w-cal .day-view .hr .ev { background: #fff; border-left: 4px solid var(--accent); border-radius: 10px; padding: 5px 10px; font-size: 15px; margin: 0; position: relative; z-index: 1; box-shadow: 0 1px 3px rgba(0,0,0,.06); } .w-cal .day-view .hr .ev.done { opacity: .55; text-decoration: line-through; }
.w-cal .day-view .hr.now { background: linear-gradient(90deg, rgba(224,48,63,.07), transparent 70%); border-radius: 10px; }
.w-cal .day-view .hr.now::before { content: ''; position: absolute; left: 58px; right: 0; top: calc(var(--m, 0) * 100%); height: 2px; background: #e0303f; border-radius: 2px; opacity: .85; pointer-events: none; } .w-cal .day-view .hr.now::after { content: ''; position: absolute; left: 52px; top: calc(var(--m, 0) * 100% - 4px); width: 10px; height: 10px; border-radius: 50%; background: #e0303f; box-shadow: 0 0 0 3px rgba(224,48,63,.18); pointer-events: none; }
.w-cal .day-view .nowtag { position: absolute; right: 8px; top: 7px; display: inline-flex; align-items: center; gap: 5px; background: #fff; color: #e0303f; border-radius: 999px; padding: 3px 9px 3px 7px; font-size: 13px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(224,48,63,.22), inset 0 0 0 1px rgba(224,48,63,.18); z-index: 1; } .w-cal .day-view .nowtag i { width: 7px; height: 7px; border-radius: 50%; background: #e0303f; animation: nowPulse 1.6s ease-in-out infinite; } .w-cal .day-view .nowtag em { font-style: normal; font-size: 15px; line-height: 1; }
@keyframes nowPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(224,48,63,.45); } 50% { box-shadow: 0 0 0 5px rgba(224,48,63,0); } }
@media (prefers-reduced-motion: reduce) { .w-cal .day-view .nowtag i { animation: none; } }
.w-cal .day-view .hr button.add { opacity: 0; position: absolute; right: 8px; top: 6px; font-size: 15px; font-weight: 800; color: var(--accent-ink); padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); } .w-cal .day-view .hr.now button.add { right: 88px; } .w-cal .day-view .hr:hover button.add, .w-cal .day-view .hr:focus-within button.add { opacity: 1; }
.sync-box { background: var(--accent-soft); border-radius: 14px; padding: 12px; font-size: 14px; } .sync-box code { display: block; background: #fff; border-radius: 8px; padding: 8px; font-size: 12px; overflow-wrap: anywhere; margin: 6px 0; }
/* ---- Glass finish (store: finish:glass) ---- */
body.finish-glass .row { background: rgba(255,255,255,.42); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255,255,255,.75); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 18px rgba(120,60,80,.08); border-bottom-style: solid; }
body.finish-glass .row.done { background: rgba(255,255,255,.22); }
body.finish-glass .chip, body.finish-glass .w-head h3, body.finish-glass .dayhead-pill, body.finish-glass .todo .dayhead { background: rgba(255,255,255,.45); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); border: 1px solid rgba(255,255,255,.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 2px 8px rgba(120,60,80,.07); }
body.finish-glass .dump, body.finish-glass .cline { background: rgba(255,255,255,.4); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255,255,255,.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 10px 30px rgba(120,60,80,.1); }
body.finish-glass .cline { background: rgba(255,255,255,.35); }
body.finish-glass .seg, body.finish-glass .in, body.finish-glass .timebtn, body.finish-glass .quickbar .spb { background: rgba(255,255,255,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255,255,255,.85); }
body.finish-glass .check { background: rgba(255,255,255,.6); }
body.finish-glass .widget { background: color-mix(in srgb, var(--surface) 72%, transparent); backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25); border: 1px solid rgba(255,255,255,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), var(--shadow); }
/* store preview of the glass finish */
.glass-demo { position: relative; width: 100%; height: 100%; min-height: 110px; border-radius: 12px; padding: 8px; display: grid; gap: 6px; align-content: center; background: url('/shots/petals/bg-thumb.jpg') center/cover, linear-gradient(135deg, #ffd6e3, #c9b6f2); overflow: hidden; }
.glass-demo.big { min-height: 0; padding: 14px; gap: 10px; margin-bottom: 10px; }
.gl-row { display: grid; grid-template-columns: 22px 1fr; gap: 6px; align-items: center; background: rgba(255,255,255,.42); backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4); border: 1px solid rgba(255,255,255,.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.95); border-radius: 999px; padding: 5px 8px; font-size: 11px; font-weight: 800; color: #2e3a59; text-align: left; }
.glass-demo.big .gl-row { font-size: 15px; padding: 10px 14px; grid-template-columns: 30px 1fr; gap: 10px; }
.gl-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #f3a5c7; color: #f3a5c7; display: grid; place-items: center; font-size: 10px; background: rgba(255,255,255,.6); } .glass-demo.big .gl-check { width: 28px; height: 28px; font-size: 15px; }
.gl-t { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; min-width: 0; } .gl-chip { font-style: normal; font-size: 9.5px; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.9); color: #5b3fb0; } .glass-demo.big .gl-chip { font-size: 12.5px; padding: 2px 9px; }
.gl-title { justify-self: start; font-family: var(--font-display); font-weight: 600; font-size: 11px; color: #5b3fb0; background: rgba(255,255,255,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.85); border-radius: 999px; padding: 2px 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.95); } .glass-demo.big .gl-title { font-size: 16px; padding: 5px 14px; }
/* ---- clear screen (zen) ---- */
.zen-pill { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 12px); z-index: 32; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--accent-ink); font-weight: 800; font-size: 13.5px; box-shadow: var(--shadow); border: 1.5px solid rgba(255,255,255,.9); }
@media (min-width: 900px) { .zen-pill { bottom: 22px; } }
body.zen .shell > *:not(.nav):not(.top) { opacity: 0; pointer-events: none; transition: opacity .35s; }
body.zen .nav { opacity: .35; transition: opacity .35s; } body.zen .nav:hover { opacity: 1; }
body.zen .zen-pill { background: rgba(255,255,255,.55); }
.zen-pill { width: 46px; height: 46px; padding: 0; font-size: 22px; line-height: 1; }
/* ---- gif / meme feelings ---- */
.feel .e img { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; display: block; }
.feel.has-img .e { display: grid; place-items: center; }
.emo-pick img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
/* ---- header tidy: one pill style, right-aligned rows ---- */
.greet { display: grid; justify-items: end; gap: 6px; }
.greet .sub { margin: 0; }
.now, .wallet { margin: 0; gap: 6px; }
.now span, .wallet span { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 999px; background: rgba(255,255,255,.78); border: 1.5px solid rgba(255,255,255,.9); font-size: 13.5px; font-weight: 800; color: var(--ink-2); box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.wallet span.coins img { width: 20px; height: 20px; object-fit: contain; display: block; }
/* never let the browser fake a bold: faux-bold strokes cut notches where a variable font's contours overlap (the chipped "To-Do List") */
*, *::before, *::after { font-synthesis: none; }
/* ---- the ✕: same corner on every pop-up ---- */
.modal { position: relative; }
.modal-x { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; font-size: 16px; display: grid; place-items: center; z-index: 2; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.modal-x:hover { background: var(--accent); color: #fff; }
.modal > h2 { padding-right: 44px; }
.modal > h2:empty { display: none; }
.w-banner .txt.still { background: linear-gradient(90deg, var(--accent-ink), var(--accent), #f29ac2, var(--accent-ink)); background-size: 100% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
/* ---- note bar (composer style) ---- */
.notebar { display: flex; align-items: flex-end; gap: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 6px 8px 6px 6px; min-height: 52px; }
.notebar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.notebar .nb-ta { flex: 1; min-width: 0; border: 0; background: transparent; resize: none; outline: none; font: inherit; font-size: 15.5px; line-height: 1.45; padding: 9px 4px; color: var(--ink); max-height: 220px; }
.notebar .nb-right { display: flex; align-items: center; gap: 4px; flex: none; }
.notebar .nb-hint { font-size: 12px; font-weight: 800; color: var(--ink-3); padding: 0 4px; white-space: nowrap; } @media (max-width: 520px) { .notebar .nb-hint { display: none; } }
.notebar .nb-ib, .notebar .nb-mic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--ink-2); flex: none; padding: 0; font-size: 0; }
.notebar .nb-ib svg, .notebar .nb-mic svg { width: 22px; height: 22px; }
.notebar .nb-ib:hover, .notebar .nb-mic:hover { background: var(--accent-soft); color: var(--accent-ink); }
.notebar .nb-mic.on { background: var(--accent); color: #fff; animation: micPulse 1.2s ease-in-out infinite; }
@keyframes micPulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 25%, transparent); } }
/* ---- tick styles (store: tick:*) — on <body data-tick> and on store previews ---- */
[data-tick="box"] .check.check { border-radius: 8px; } [data-tick="box"] .check.check::after { content: none; }
[data-tick="heart"] .check, [data-tick="star"] .check, [data-tick="flower"] .check, [data-tick="bow"] .check, [data-tick="sparkle"] .check.check { border-radius: 50%; }
[data-tick="heart"] .check.check::after, [data-tick="star"] .check.check::after, [data-tick="flower"] .check.check::after, [data-tick="bow"] .check.check::after, [data-tick="sparkle"] .check.check::after { position: absolute; color: var(--accent); font-size: 15px; line-height: 1; transition: color .2s, transform .2s; }
[data-tick="heart"] .check.check::after { content: "♥"; } [data-tick="star"] .check.check::after { content: "★"; } [data-tick="flower"] .check.check::after { content: "✿"; font-size: 17px; } [data-tick="bow"] .check.check::after { content: "🎀"; font-size: 14px; } [data-tick="sparkle"] .check.check::after { content: "✦"; font-size: 17px; }
[data-tick]:not([data-tick=""]):not([data-tick="box"]) .check.check.on::after { color: #fff; transform: scale(1.15); }
[data-tick]:not([data-tick=""]):not([data-tick="box"]) .check.check svg { display: none; }
.tickprev { display: flex; gap: 10px; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 70px; } .tickprev .check.check { width: 34px; height: 34px; }
.stklib .any-emoji { font-size: 26px; background: var(--accent-soft); color: var(--accent-ink); border: 2px dashed var(--accent); }
[data-tick="tick"] .check.check, [data-tick="stargold"] .check.check { border-radius: 50%; }
[data-tick="tick"] .check.check::after { content: "✓"; position: absolute; color: var(--accent); font-size: 17px; font-weight: 900; line-height: 1; transition: color .2s, transform .2s; }
[data-tick="stargold"] .check.check::after { content: "⭐"; position: absolute; font-size: 15px; line-height: 1; filter: grayscale(1) opacity(.55); transition: filter .2s, transform .2s; }
[data-tick="stargold"] .check.check.on::after { filter: none; transform: scale(1.15); }
[data-tick="tick"] .check.check.on::after { color: #fff; transform: scale(1.15); }
[data-tick="tick"] .check.check svg, [data-tick="stargold"] .check.check svg { display: none; }
.modal > h2:empty + * { padding-top: 34px; }
.modal > h2:empty + .confirm { padding-top: 10px; }
.prod .pv { position: relative; } .prod .fav { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9); color: #e2617a; font-size: 17px; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.12); z-index: 2; }
.prod .fav.on { background: #e2617a; color: #fff; animation: pop .35s cubic-bezier(.2,1.5,.5,1); }
/* ---- the cute calendar ---- */
.w-cal .months.big { grid-template-columns: 1fr; }
.w-cal .months.big .month { border-radius: 18px; padding: 12px; border: 2px solid var(--accent-soft-2); background: linear-gradient(180deg, #fff, var(--accent-soft) 140%); }
.w-cal .months.big .month h5 { font-size: 18px; margin-bottom: 8px; }
.w-cal .months.big .mg { gap: 4px; }
.w-cal .months.big .mg span { aspect-ratio: auto; min-height: 52px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); display: grid; grid-template-rows: auto 1fr; place-items: start center; padding: 4px 2px 3px; font-size: 12.5px; transition: transform .12s; }
.w-cal .months.big .mg span:hover { transform: translateY(-2px); }
.w-cal .months.big .mg span.h { min-height: 0; background: transparent; border: 0; padding: 0 0 2px; font-size: 11px; letter-spacing: .04em; }
.w-cal .months.big .mg span:empty { background: transparent; border: 0; }
.w-cal .months.big .mg span b { font-weight: 800; font-size: 12.5px; line-height: 1; }
.w-cal .months.big .mg span .st { font-style: normal; font-size: 18px; line-height: 1; align-self: center; }
.w-cal .months.big .mg span .n { position: absolute; right: 4px; top: 4px; font-style: normal; font-size: 9.5px; font-weight: 800; background: var(--accent-soft); color: var(--accent-ink); border-radius: 999px; padding: 1px 5px; }
.w-cal .months.big .mg span.has::after { content: none; }
.w-cal .months.big .mg span.today { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.w-cal .months.big .mg span.today b { background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 7px; }
.w-cal .months.big .mg span.alldone { background: linear-gradient(180deg, #fff, var(--accent-soft)); border-color: var(--accent-soft-2); }
.w-cal .months.big .mg span.sel { box-shadow: 0 0 0 2px var(--accent); }
@media (max-width: 480px) { .w-cal .months.big .mg span { min-height: 44px; border-radius: 10px; } .w-cal .months.big .mg span .st { font-size: 14px; } }
/* ---- fruit studio ---- */
.fruit-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.fslot { display: grid; justify-items: center; gap: 4px; padding: 12px 8px 10px; border-radius: 18px; background: #fff; border: 2px solid var(--line); text-align: center; transition: transform .15s; }
.fslot:hover { transform: translateY(-2px); }
.fslot img { width: 72px; height: 72px; object-fit: contain; }
.fslot .lock { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: repeating-conic-gradient(#f6f1f8 0 25%, #fff 0 50%) 0 0/14px 14px; border: 2px dashed var(--accent-soft-2); }
.fslot.locked { border-style: dashed; background: rgba(255,255,255,.7); }
.fslot.draft { border-color: var(--accent); border-style: dashed; }
.fslot.drawn { border-color: var(--accent-soft-2); background: linear-gradient(180deg, #fff, var(--accent-soft)); }
.fslot b { font-size: 13px; color: var(--accent-ink); } .fslot span { font-size: 11.5px; color: var(--ink-3); font-weight: 700; }
.fruit-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.fruit-pick button { aspect-ratio: 1; border-radius: 14px; background: #fff; border: 2px solid var(--line); padding: 6px; } .fruit-pick button.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); } .fruit-pick img { width: 100%; height: 100%; object-fit: contain; }
/* ---- look request card ---- */
.look.look-request { border: 2px dashed var(--accent); background: rgba(255,255,255,.75); }
.lr-prev { height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; background: linear-gradient(135deg, var(--accent-soft), #fff 60%, var(--accent-soft-2)); border-radius: 14px; }
.lr-prev span { font-size: 40px; } .lr-prev b { font-family: var(--font-display); font-weight: 600; color: var(--accent-ink); font-size: 16px; }
/* ---- drag a widget to reposition (edit mode) ---- */
.w-tools .drag-h { font-size: 16px; letter-spacing: -1px; color: var(--accent-ink); }
.widget.dragging { opacity: .55; outline: 3px dashed var(--accent) !important; transform: scale(.98); }
body.drag-live { user-select: none; } body.drag-live .widget { transition: transform .15s; }
.seg button.on.none { background: var(--ink-3); }

.fruit-versions { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fv { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 10px; display: grid; justify-items: center; gap: 6px; } .fv.on { border-color: var(--accent); background: var(--accent-soft); }
.fv img { width: 90px; height: 90px; object-fit: contain; } .fv-when { font-size: 12.5px; font-weight: 800; color: var(--ink-3); }
.cats .cat .ic.svg { display: inline-grid; place-items: center; } .cats .cat .ic.svg svg { width: 34px; height: 34px; filter: drop-shadow(0 3px 5px rgba(226,97,122,.25)); }
.prod .fav svg { width: 22px; height: 22px; } .prod .fav { background: rgba(255,255,255,.92); } .prod .fav.on { background: #fff; }
/* ---- store cards: rigid preview box, rows aligned to the top (Safari-safe) ---- */
.shelf-row { align-items: start; }
.prod { height: auto; }
.prod .pv { height: 150px; max-height: 150px; overflow: hidden; display: grid; grid-template-rows: 100%; grid-template-columns: 100%; place-items: center; }
.prod .pv > video, .prod .pv > img { width: 100%; height: 100%; max-height: 150px; object-fit: cover; display: block; }
.prod .pv > .mini, .prod .pv > .glass-demo, .prod .pv > .tickprev { max-height: 150px; }

/* Day banner — rainbow day tabs with today lifted (Wave 135) */
.w-days { display: grid; gap: 10px; padding: 4px 2px 2px; }
.ds-months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.ds-months span { text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 6px 0 5px; border-radius: 9px 9px 4px 4px; color: #3b2a40; opacity: .88; }
.ds-months span.on { opacity: 1; transform: translateY(-3px); box-shadow: 0 5px 12px rgba(0,0,0,.14), inset 0 0 0 2px #fff; color: #2a1c2f; }
.ds-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; padding-top: 4px; }
.ds-week button { display: grid; justify-items: center; gap: 2px; padding: 10px 4px 9px; border-radius: 16px; color: #3b2a40; font-weight: 800; position: relative; transition: transform .2s, box-shadow .2s; }
.ds-week button small { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .78; }
.ds-week button b { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1; }
.ds-week button.past { opacity: .72; }
.ds-week button.sel { box-shadow: inset 0 0 0 2px rgba(59,42,64,.35); }
.ds-week button.on { opacity: 1; transform: translateY(-5px) scale(1.06); box-shadow: 0 10px 20px rgba(0,0,0,.16), inset 0 0 0 3px #fff; }
.ds-week button.on::after { content: '♥'; position: absolute; top: -9px; right: -5px; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #e2617a; font-size: 13px; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.16); }
.ds-week button:hover { transform: translateY(-3px); }
.ds-dots { display: flex; gap: 3px; margin-top: 3px; } .ds-dots u { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(59,42,64,.28); text-decoration: none; } .ds-dots u.on { background: #e2617a; }
.ds-date { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--accent-ink); }
@media (max-width: 460px) { .ds-months span { font-size: 12.5px; letter-spacing: 0; padding: 5px 0 4px; border-radius: 7px 7px 3px 3px; } .ds-week { gap: 5px; } .ds-week button { padding: 8px 2px 7px; border-radius: 13px; } .ds-week button b { font-size: 20px; } }

.tsamp { display: inline-grid; vertical-align: middle; margin-right: 6px; pointer-events: none; } .tsamp .check.check { width: 22px; height: 22px; min-width: 22px; }

/* coins as the price everywhere (Wave 141) */
.coinimg { width: 18px; height: 18px; vertical-align: -4px; margin-left: 3px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.18)); }
.coinpr { display: inline-flex; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; }
.cats button .coinimg { width: 30px; height: 30px; margin: 0; }
/* Gift tab (Wave 142) */
.gift { display: grid; gap: 14px; }
.gf-hero { position: relative; border-radius: var(--r); overflow: hidden; min-height: 190px; box-shadow: var(--shadow); } .gf-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.gf-hero-t { position: relative; z-index: 1; padding: 28px 26px; max-width: 46%; } .gf-hero-t h2 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 32px; color: #5a3d4a; } .gf-hero-t p { margin: 0; font-size: 16px; font-weight: 700; color: #7a5a68; line-height: 1.4; }
.gf-wallet { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--surface); border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow); }
.gf-w small { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); } .gf-w b { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 28px; color: var(--accent-ink); } .gf-w b .coinimg { width: 26px; height: 26px; margin: 0; }
.gf-arrow { font-size: 26px; color: var(--ink-3); } .gf-rule { margin-left: auto; font-size: 13.5px; font-weight: 800; color: var(--ink-3); }
.gf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.gf-card h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; font-size: 21px; color: var(--accent-ink); } .gf-card .hint { margin: 0 0 12px; }
.gf-presets { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; } .gf-presets button { font-size: 13.5px; font-weight: 800; padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); } .gf-presets button:hover { background: var(--accent-soft-2); }
.gf-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .gf-row .in { flex: 1; min-width: 0; } .gf-eq { font-weight: 800; color: var(--ink-3); white-space: nowrap; }
.gf-out { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--accent-ink); min-width: 70px; } .gf-out .coinimg { width: 24px; height: 24px; }
.gf-amt { display: inline-flex; align-items: center; gap: 4px; } .gf-amt .in { width: 96px; }
.gf-friends { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; } .gf-friends button { display: grid; justify-items: center; gap: 2px; padding: 6px 8px; border-radius: 14px; background: var(--row); } .gf-friends small { font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.gf-go { margin-top: 4px; min-width: 160px; }
@media (max-width: 560px) { .gf-hero { min-height: 230px; } .gf-hero-t { max-width: 100%; background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.6)); } .gf-rule { margin-left: 0; } }
/* person editor: emails + contacts (Wave 140) */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; } .chips .chip { display: inline-flex; align-items: center; gap: 6px; } .chips .chip .x, .contact .x { font-size: 13px; font-weight: 800; color: var(--ink-3); padding: 0 4px; min-height: 0; } .chips .chip .x:hover, .contact .x:hover { color: var(--urgent); }
.contacts { display: grid; gap: 6px; margin-bottom: 8px; } .contact { display: grid; grid-template-columns: 130px 1fr auto; gap: 6px; align-items: center; } .contact select.in { padding-right: 8px; }
@media (max-width: 460px) { .contact { grid-template-columns: 110px 1fr auto; } }
.gf-card > .in { margin-bottom: 10px; }
.contacts + .btn { width: auto; display: inline-flex; justify-self: start; }

.widget.holding { transform: scale(.985); transition: transform .25s; } .widget.dragging { cursor: grabbing; user-select: none; }

.stk-img { width: 1.25em; height: 1.25em; object-fit: contain; vertical-align: -.28em; display: inline-block; } .thumb.sticker .stk-img { width: 72%; height: 72%; } .ci-thumb .stk-img { width: 62%; height: 62%; } .stickers button .stk-img { width: 26px; height: 26px; } .stk-cur .stk-img { width: 22px; height: 22px; } .mg span .st .stk-img { width: 18px; height: 18px; }

/* draw studio — tidy toolbar (Wave 177), page colour + grid (Wave 175) */
.pr .top { gap: 10px; align-items: center; }
.pr .tools { display: inline-flex; gap: 2px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 4px; }
.pr .tools .tb { min-height: 0; border: 0; border-radius: 12px; padding: 6px 10px 5px; background: transparent; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); min-width: 56px; }
.pr .tools .tb .ic { display: grid; place-items: center; } .pr .tools .tb .ic svg { width: 22px; height: 22px; }
.pr .tools .tb.on { background: var(--accent); color: #fff; }
.pr .tb.col { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line), 0 4px 12px rgba(0,0,0,.12); }
.pr .prompt { grid-column: 1 / -1; font-family: var(--font-body); font-size: 14.5px; font-weight: 700; color: var(--ink-3); margin: -2px 0 2px; }
.pr .stage.grid::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(30,30,50,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(30,30,50,.14) 1px, transparent 1px); background-size: 24px 24px; z-index: 5; }
.pr .pop .swatches { display: flex; flex-wrap: wrap; gap: 8px; } .pr .pop .swatches button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); } .pr .pop .swatches button.on { box-shadow: 0 0 0 3px var(--accent); }
@media (max-width: 640px) { .pr .tools .tb { min-width: 48px; padding: 5px 7px 4px; } .pr .tools .tb .lb { font-size: 12.5px; } }

.w-cal .mg span.pic { background-size: cover; background-position: center; } .w-cal .mg span.pic b { background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 0 7px; } .w-cal .mg span.pic.sel b, .w-cal .mg span.pic.today b { background: var(--accent); color: #fff; }
.w-cal .day-view .daybg { height: 120px; border-radius: 14px; background-size: cover; background-position: center; margin-bottom: 10px; box-shadow: var(--shadow); }

.upic { display: inline-grid; place-items: center; width: 22px; height: 22px; vertical-align: -5px; margin-right: 2px; transition: transform .55s cubic-bezier(.2,.8,.2,1); } .upic svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 4px rgba(90,60,140,.3)); } button:hover > .upic, .btn:hover .upic { transform: rotate(180deg) scale(1.08); } @media (prefers-reduced-motion: reduce) { .upic { transition: none; } }

.notes-zone .zone-h { display: flex; justify-content: space-between; align-items: center; } .daynotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .daynotes li { background: var(--row); border-radius: 12px; padding: 8px 12px; font-size: 15px; color: var(--ink-2); font-family: var(--font-hand); font-size: 17px; } .daynotes li b { color: var(--accent-ink); font-family: var(--font-body); font-size: 13.5px; font-weight: 800; }

/* ---- finishes (Wave 191): body.finish-X restyles the app; .fin-X restyles the store demo ---- */
body.finish-pearl .row, .fin-pearl .gl-row { background: linear-gradient(135deg, #fff 0%, #f7ecff 28%, #e6f7ff 58%, #fff0f7 100%); border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 2px 10px rgba(180,150,220,.18); backdrop-filter: none; }
body.finish-pearl .chip, body.finish-pearl .w-head h3, body.finish-pearl .badge-title, .fin-pearl .gl-title, .fin-pearl .gl-chip { background: linear-gradient(120deg, #fff, #f3e7ff 50%, #e3f5ff); border: 1px solid rgba(255,255,255,.9); color: var(--accent-ink); }
body.finish-velvet .row, .fin-velvet .gl-row { background: color-mix(in srgb, var(--accent-soft) 60%, #fff); border: 0; box-shadow: inset 0 3px 8px rgba(40,20,60,.10), inset 0 -1px 0 rgba(255,255,255,.7); backdrop-filter: none; }
body.finish-velvet .chip, body.finish-velvet .w-head h3, body.finish-velvet .badge-title, .fin-velvet .gl-title, .fin-velvet .gl-chip { background: color-mix(in srgb, var(--accent) 22%, #fff); border: 0; box-shadow: inset 0 2px 5px rgba(40,20,60,.12); color: var(--accent-ink); }
body.finish-velvet .widget { box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.5); }
body.finish-chrome .row, .fin-chrome .gl-row { background: linear-gradient(180deg, #ffffff, #eef0f4); border: 0; box-shadow: 0 0 0 1.5px #c9ced6, inset 0 1px 0 #fff, inset 0 -1px 0 #d8dce3, 0 2px 6px rgba(0,0,0,.08); backdrop-filter: none; }
body.finish-chrome .w-head h3, body.finish-chrome .badge-title, body.finish-chrome .dayhead, .fin-chrome .gl-title { background: linear-gradient(180deg, #fbfbfd, #e2e5ea); box-shadow: 0 0 0 1.5px #c9ced6, inset 0 1px 0 #fff; color: #3a3f4a; -webkit-text-stroke: 0; }
body.finish-chrome .chip, .fin-chrome .gl-chip { background: linear-gradient(180deg, #fff, #e8ebf0); box-shadow: 0 0 0 1px #c9ced6; color: #3a3f4a; }
body.finish-chrome .check { background: linear-gradient(180deg, #fff, #dfe3e9); border-color: #b8bec8; }
body.finish-holo .row, .fin-holo .gl-row { background: linear-gradient(120deg, #ffd1e8, #d1e4ff, #d4ffe9, #fff5c2, #ffd1e8) 0 0 / 300% 100%; border: 1px solid rgba(255,255,255,.85); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 2px 10px rgba(150,120,220,.18); backdrop-filter: none; transition: background-position .6s; }
body.finish-holo .row:hover, .fin-holo .gl-row:hover { background-position: 100% 0; }
body.finish-holo .chip, body.finish-holo .w-head h3, body.finish-holo .badge-title, .fin-holo .gl-title, .fin-holo .gl-chip { background: linear-gradient(120deg, #ffd1e8, #d1e4ff, #d4ffe9, #fff5c2) 0 0 / 300% 100%; border: 1px solid rgba(255,255,255,.85); color: #5a3f8a; animation: holoShift 8s linear infinite; }
@keyframes holoShift { 0% { background-position: 0 0; } 100% { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { body.finish-holo .chip, body.finish-holo .w-head h3, .fin-holo .gl-title, .fin-holo .gl-chip { animation: none; } }
body.finish-clay .row, .fin-clay .gl-row { background: color-mix(in srgb, var(--accent-soft) 45%, #fff); border: 0; border-radius: 18px; box-shadow: inset -6px -6px 12px rgba(80,50,120,.10), inset 6px 6px 12px rgba(255,255,255,.9), 8px 8px 18px rgba(80,50,120,.12); backdrop-filter: none; }
body.finish-clay .chip, body.finish-clay .w-head h3, body.finish-clay .badge-title, .fin-clay .gl-title, .fin-clay .gl-chip { background: color-mix(in srgb, var(--accent-soft) 60%, #fff); border: 0; border-radius: 999px; box-shadow: inset -3px -3px 6px rgba(80,50,120,.10), inset 3px 3px 6px rgba(255,255,255,.9), 4px 4px 10px rgba(80,50,120,.12); color: var(--accent-ink); }
body.finish-clay .check { box-shadow: inset -2px -2px 4px rgba(80,50,120,.12), inset 2px 2px 4px rgba(255,255,255,.9), 3px 3px 8px rgba(80,50,120,.14); border: 0; }
body.finish-clay .widget { border-radius: 28px; box-shadow: inset -8px -8px 16px rgba(80,50,120,.06), inset 8px 8px 16px rgba(255,255,255,.6), var(--shadow); }
body.finish-gold .row, .fin-gold .gl-row { background: linear-gradient(180deg, #fffdf5, #fff6dc); border: 0; box-shadow: 0 0 0 1.5px #d9b45a, inset 0 0 0 1px rgba(255,255,255,.8), 0 2px 8px rgba(200,155,44,.18); backdrop-filter: none; }
body.finish-gold .w-head h3, body.finish-gold .badge-title, body.finish-gold .dayhead, .fin-gold .gl-title { background: linear-gradient(135deg, #d9b45a, #f6e4a6 45%, #c89b2c); color: #4a3608; box-shadow: 0 0 0 1px #c89b2c, inset 0 1px 0 rgba(255,255,255,.7); text-shadow: 0 1px 0 rgba(255,255,255,.5); }
body.finish-gold .chip, .fin-gold .gl-chip { background: linear-gradient(180deg, #fff9e6, #f3e3b3); box-shadow: 0 0 0 1px #d9b45a; color: #6b4f12; }
body.finish-gold .check { border-color: #c89b2c; background: linear-gradient(180deg, #fffbe9, #f6e4a6); } body.finish-gold .check.on { background: linear-gradient(135deg, #d9b45a, #c89b2c); border-color: #c89b2c; }
body.finish-gold .widget { box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(217,180,90,.55); }
.glass-demo[class*="fin-"]:not(.fin-glass) .gl-row { backdrop-filter: none; -webkit-backdrop-filter: none; }
/* ---- store cards: one rule for every card (Wave 192) ---- */
.shelf-row { align-items: stretch; } .prod { display: flex; flex-direction: column; } .prod .body { display: flex; flex-direction: column; flex: 1; } .prod .ds { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .prod .pr { margin-top: auto; } .prod .pr button, .prod .pr .soft { white-space: nowrap; }

.pr .tb.col.col { border-radius: 50%; }

body.straight .thumb, body.straight .ci-thumb, body.straight .pcard .st .avatar { transform: none !important; }

/* Metallic — brushed metal in the look's accent, the sparkle button's recipe (Wave 197) */
body.finish-metal .row, .fin-metal .gl-row, body.finish-metal .chip, body.finish-metal .w-head h3, body.finish-metal .badge-title, .fin-metal .gl-title, .fin-metal .gl-chip { position: relative; isolation: isolate; overflow: hidden; border: 0; color: #fff; text-shadow: 0 1px 2px rgba(40,0,12,.45);
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 46%, rgba(0,0,0,.10) 54%, rgba(255,255,255,.18) 100%), linear-gradient(110deg, color-mix(in srgb, var(--accent) 82%, #000) 0%, color-mix(in srgb, var(--accent) 70%, #fff) 14%, color-mix(in srgb, var(--accent) 62%, #000) 30%, color-mix(in srgb, var(--accent) 45%, #f0c9a8) 44%, color-mix(in srgb, var(--accent) 30%, #fbe3d6) 54%, color-mix(in srgb, var(--accent) 25%, #b8bcc8) 66%, color-mix(in srgb, var(--accent) 75%, #000) 80%, color-mix(in srgb, var(--accent) 70%, #fff) 90%, color-mix(in srgb, var(--accent) 60%, #000) 100%);
  background-size: 100% 100%, 320% 100%; background-position: 0 0, 0% 50%; box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(0,0,0,.35), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, #fff), 0 6px 16px -8px color-mix(in srgb, var(--accent) 80%, transparent), 0 2px 6px rgba(0,0,0,.25); backdrop-filter: none; }
body.finish-metal .row::before, .fin-metal .gl-row::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f' x='0' y='0'%3E%3CfeTurbulence type='turbulence' baseFrequency='.42' numOctaves='1' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)' opacity='.35'/%3E%3C/svg%3E") 0 0 / 120px 120px; mix-blend-mode: overlay; opacity: .5; }
body.finish-metal .row .title, body.finish-metal .row .sub, body.finish-metal .row .meta, .fin-metal .gl-t { color: #fff; }
body.finish-metal .row.done .title { color: rgba(255,255,255,.7); }
body.finish-metal .check, .fin-metal .gl-check { background: rgba(255,255,255,.9); border-color: #fff; }
body.finish-metal .row:hover { background-position: 0 0, 100% 50%; transition: background-position 1.2s; }
/* Glitter — the Add button's fine sparkle on every row, chip and title */
body.finish-glitter .row, .fin-glitter .gl-row, body.finish-glitter .chip, body.finish-glitter .w-head h3, body.finish-glitter .badge-title, .fin-glitter .gl-title, .fin-glitter .gl-chip { position: relative; isolation: isolate; overflow: hidden; border: 0; color: color-mix(in srgb, var(--accent) 55%, #000);
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 50%, rgba(0,0,0,.06)), linear-gradient(110deg, color-mix(in srgb, var(--accent) 70%, #fff), color-mix(in srgb, var(--accent) 40%, #fff) 50%, color-mix(in srgb, var(--accent) 75%, #fff)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px color-mix(in srgb, var(--accent) 35%, #fff), 0 4px 12px -6px color-mix(in srgb, var(--accent) 70%, transparent); backdrop-filter: none; }
body.finish-glitter .row::before, .fin-glitter .gl-row::before, body.finish-glitter .chip::before, body.finish-glitter .w-head h3::before, body.finish-glitter .badge-title::before, .fin-glitter .gl-title::before, .fin-glitter .gl-chip::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='s' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='1' seed='19' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 .96  0 0 0 0 .94  16 0 0 0 -10.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E") 0 0 / 120px 120px; mix-blend-mode: screen; opacity: .9; }
body.finish-glitter .row::after, .fin-glitter .gl-row::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='s' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='1' seed='19' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 .96  0 0 0 0 .94  16 0 0 0 -10.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E") 30px 60px / 90px 90px; mix-blend-mode: screen; opacity: .6; }
body.finish-glitter .row .title, body.finish-glitter .row .sub { color: color-mix(in srgb, var(--accent) 60%, #000); }
body.finish-glitter .check, .fin-glitter .gl-check { background: #fff; }
@media (prefers-reduced-motion: no-preference) { body.finish-glitter .row:hover::before { animation: glitShift 1.2s linear infinite; } }
@keyframes glitShift { to { background-position: 120px 120px; } }
/* Coins tab icon stacked like the other tabs (Wave 198) */
.cats .cat .ic.svg { display: grid; place-items: center; height: 40px; } .cats .cat .ic.svg img.coinimg { width: 34px; height: 34px; margin: 0; }

.prod .pv.coinpv { background: radial-gradient(circle at 50% 40%, #fff8e1, #ffe9b3); } .bigcoin { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(180,120,20,.35)); } .bigcoin.lg { width: 92px; height: 92px; } .bigcoin.xl { width: 112px; height: 112px; }
.gift + .shelf { margin-top: 14px; }

/* cart drawer (Wave 206) */
.cartpane { position: fixed; top: 0; right: 0; bottom: 0; width: min(390px, 100%); background: var(--surface); color: var(--ink); box-shadow: -16px 0 48px rgba(60,40,90,.2); z-index: 45; display: flex; flex-direction: column; transform: translateX(106%); transition: transform .38s cubic-bezier(.2,.8,.2,1); border-left: 1px solid var(--line); }
.cartpane.open { transform: none; }
.cartpane header { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 12px; border-bottom: 1px dotted var(--line-2); } .cartpane h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--accent-ink); } .cartpane header small { font-size: 13.5px; font-weight: 800; color: var(--ink-3); }
.cp-x { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 16px; }
.cp-items { flex: 1; overflow: auto; padding: 10px 14px; display: grid; gap: 8px; align-content: start; }
.cp-item { display: grid; grid-template-columns: 40px 1fr auto 28px; gap: 10px; align-items: center; background: var(--row); border-radius: 16px; padding: 10px 10px 10px 8px; }
.cp-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 20px; } .cp-nm { font-weight: 800; font-size: 15px; min-width: 0; overflow-wrap: anywhere; } .cp-nm small { display: block; font-size: 12.5px; color: var(--ink-3); text-transform: capitalize; }
.cp-rm { color: var(--ink-3); font-size: 14px; font-weight: 800; padding: 4px; } .cp-rm:hover { color: var(--urgent); }
.cp-empty { text-align: center; padding: 40px 16px; color: var(--ink-3); font-size: 15px; }
.cp-deal { margin: 0 14px; background: var(--accent-soft); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; font-weight: 800; color: var(--accent-ink); display: flex; align-items: center; gap: 10px; } .cp-deal.on { background: linear-gradient(135deg, #ffe4ef, #f1e4ff); }
.cp-dots { display: flex; gap: 4px; } .cp-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,.12); } .cp-dots i.on { background: var(--accent); }
.cp-sum { padding: 12px 20px 4px; display: grid; gap: 6px; } .cp-line { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--ink-2); } .cp-line.save { color: #2f8f5a; font-weight: 800; } .cp-line.total { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--accent-ink); margin-top: 4px; } .cp-line.total .coinimg { width: 24px; height: 24px; }
.cp-wallet { font-size: 13.5px; color: var(--ink-3); font-weight: 700; } .cp-wallet .short { color: var(--urgent); }
.cartpane footer { display: flex; gap: 10px; padding: 12px 20px calc(var(--nav-h, 0px) + 16px); border-top: 1px dotted var(--line-2); } .cartpane footer .btn { flex: 1; justify-content: center; }
@media (min-width: 900px) { .cartpane footer { padding-bottom: 20px; } }
body.dark-look .cartpane { background: var(--surface); }

/* washi strips placed anywhere (Wave 211) */
.page-wrap { position: relative; } .tape-layer { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.tape { position: absolute; height: 26px; pointer-events: auto; cursor: grab; background-size: auto 100%; background-repeat: repeat-x; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.18), inset 0 0 0 1px rgba(255,255,255,.35); opacity: .95; touch-action: none; transform-origin: 50% 50%; }
.tape.moving { cursor: grabbing; box-shadow: 0 8px 18px rgba(0,0,0,.22); opacity: 1; }
.tape .tape-tools { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); display: none; gap: 4px; background: var(--surface); border-radius: 999px; padding: 3px; box-shadow: var(--shadow); } .tape:hover .tape-tools, .tape:focus-within .tape-tools, .tape.moving .tape-tools { display: inline-flex; }
.tape .tape-tools button { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 800; }

.w-quote blockquote.verse { font-family: var(--font-hand); font-size: 20px; line-height: 1.45; color: var(--ink-2); margin: 0; text-align: center; } .w-quote blockquote.verse cite { display: block; margin-top: 8px; font-family: var(--font-body); font-style: normal; font-size: 13.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); } .w-quote .vtools { display: flex; justify-content: center; margin-top: 6px; } .w-quote .vtools .ib { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: 16px; }

.prod .pv .wprev { pointer-events: auto; cursor: default; overflow: auto; scrollbar-width: none; } .prod .pv .wprev::-webkit-scrollbar { display: none; } .prod .pv .wprev .w-head h3 { font-size: 14px; }
.big-prev .widget { pointer-events: auto; }

.prod .pv .wprev { font-size: 15px; line-height: 1.4; } .prod .pv .wprev .pcard.add { font-size: 14px; min-height: 0 !important; padding: 10px; }
