/* somedaily.app — one stylesheet for every page, every language. Cream ground, no gradients (home design D, 1 Nov 2026).
   Fonts are served from this site (no Google Fonts), all under the SIL OFL: fonts/OFL.txt, Fraunces-OFL.txt, NunitoSans-OFL.txt.
   Scripts these fonts don't cover (Arabic, Devanagari, CJK) fall through to the reader's system fonts. */
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-Variable.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
/* The affirmation feed in the home phone uses the app's "Bold" theme font, exactly as before. */
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond-Medium.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond-MediumItalic.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Somedaily Naskh"; src: url("/fonts/NotoNaskhArabic-Variable.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("/fonts/NunitoSans-Variable.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --ink: #26221f;
  --text: #57504a;
  --muted: #6d655e;
  --faint: #9a918a;
  --ground: #f4f1ec;
  --cream: #fffdfa;
  --line: #e4d6cf;
  --rose: #b0606f;
  --deep: #7e4250;
  --brown: #8a5a4a;
  --blush: #f1dde3;
  --night: #24201d;
  --shadow: 0 20px 40px -28px rgba(80, 40, 40, 0.35);
  --disp: "Fraunces", Georgia, "Times New Roman", serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Avenir Next", "Segoe UI", Roboto, Arial, sans-serif;
  --track: 0.14em;
}
:lang(ja) { --disp: "Fraunces", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; --serif: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; --sans: "Nunito Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; --track: 0.04em; }
:lang(zh) { --disp: "Fraunces", "Songti SC", "STSong", "Noto Serif SC", serif; --serif: "Cormorant Garamond", "Songti SC", "STSong", "Noto Serif SC", serif; --sans: "Nunito Sans", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; --track: 0.04em; }
:lang(ko) { --disp: "Fraunces", "AppleMyungjo", "Nanum Myeongjo", "Noto Serif KR", serif; --serif: "Cormorant Garamond", "AppleMyungjo", "Nanum Myeongjo", "Noto Serif KR", serif; --sans: "Nunito Sans", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; --track: 0.04em; }
:lang(ar) { --disp: "Somedaily Naskh", "Geeza Pro", "Times New Roman", serif; --serif: "Somedaily Naskh", "Geeza Pro", "Times New Roman", serif; --sans: "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; --track: 0; }
:lang(hi) { --disp: "Fraunces", "Kohinoor Devanagari", "Noto Serif Devanagari", "Devanagari Sangam MN", serif; --serif: "Cormorant Garamond", "Kohinoor Devanagari", "Noto Serif Devanagari", "Devanagari Sangam MN", serif; --sans: "Nunito Sans", "Kohinoor Devanagari", "Noto Sans Devanagari", sans-serif; --track: 0; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
:lang(ja) body, :lang(zh) body, :lang(ko) body, :lang(hi) body, :lang(ar) body { line-height: 1.75; }
a { color: inherit; text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 16px; top: 16px; z-index: 50; background: var(--cream); padding: 8px 12px; border-radius: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.sect { margin-top: 88px; }
.arr { display: inline-block; }
[dir="rtl"] .arr { transform: scaleX(-1); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.over { margin: 0; font: 800 13px/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--brown); }
.tag { display: block; font: 800 12px/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--brown); }
.h1 { margin: 14px 0 0; font: 500 clamp(46px, 6.6vw, 84px)/1.02 var(--serif); }
.h1.rose { font: 800 clamp(40px, 6vw, 76px)/1.02 var(--disp); letter-spacing: -0.015em; color: var(--rose); }
.h2 { margin: 0; font: 500 clamp(30px, 3.8vw, 42px)/1.1 var(--disp); }
.h3 { margin: 8px 0 0; font: 600 26px/1.15 var(--disp); }
.sub { margin: 8px 0 0; font-size: 17px; line-height: 1.55; color: var(--text); }
.lead { margin: 18px 0 0; max-width: 520px; font: 500 24px/1.4 var(--serif); color: var(--text); }
:lang(ja) .h1, :lang(zh) .h1, :lang(ko) .h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.2; }
:lang(ja) .h1.rose, :lang(zh) .h1.rose, :lang(ko) .h1.rose { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.2; }
:lang(ja) .lead, :lang(zh) .lead, :lang(ko) .lead, :lang(hi) .lead, :lang(ar) .lead { font-size: 20px; line-height: 1.7; }
:lang(ar) .h1, :lang(hi) .h1 { line-height: 1.3; }
.muted { color: var(--text); }
.more { display: inline-block; margin-top: 22px; font-weight: 800; font-size: 15px; color: var(--brown); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Header */
.top { position: relative; z-index: 20; }
.nav { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06); }
.brand span { font: 600 22px var(--disp); color: var(--ink); letter-spacing: -0.01em; }
:lang(ar) .brand span { font-family: "Fraunces", Georgia, serif; }
.menu { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 22px; }
[dir="rtl"] .menu { margin: 0 auto 0 0; }
.menu a { font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
.menu a:hover, .menu a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.dl { flex: none; display: inline-flex; align-items: center; background: var(--ink); color: var(--cream); text-decoration: none; padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; white-space: nowrap; border: 0; cursor: pointer; }
.dl:hover { background: #000; }
.lang { position: relative; flex: none; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); font-weight: 700; font-size: 14px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .flag { width: 18px; height: 18px; }
/* Round flags, as the app draws them (FlagView): a light ring and a soft shadow. */
.flag { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 1.5px #fbf7f3, 0 2px 5px -1px rgba(40, 30, 30, 0.35); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: var(--cream); border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(40, 30, 30, 0.35), 0 0 0 1px var(--line); display: grid; grid-template-columns: repeat(2, max-content); grid-auto-flow: column; grid-template-rows: repeat(9, auto); gap: 2px 4px; z-index: 30; }
.lang li a { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 10px; text-decoration: none; font-size: 15px; white-space: nowrap; }
@media (max-width: 600px) { .lang ul { grid-template-columns: max-content; grid-template-rows: none; grid-auto-flow: row; max-height: min(70vh, 560px); overflow-y: auto; } }
.lang li a:hover { background: var(--ground); }
.lang li a[aria-current="true"] { background: var(--ink); color: var(--cream); }
/* Five menu links: tighten the single row first, then move the links to their own row. */
@media (max-width: 1140px) { .nav { gap: 16px; } .menu { gap: 18px; } .lang summary .ln { display: none; } }
@media (max-width: 1000px) {
  .nav { flex-wrap: wrap; gap: 12px 14px; padding: 14px 16px 10px; }
  /* The menu links wrap to a second line instead of being cut off at the edge (long labels in de, ru, hi). */
  .menu { order: 3; flex-basis: 100%; margin: 0; flex-wrap: wrap; gap: 4px 18px; padding-bottom: 4px; }
  .lang { margin-inline-start: auto; }
  .lang summary { padding: 8px 10px; }
  .lang summary .ln { display: none; }
  .dl { padding: 9px 14px; font-size: 13.5px; }
}
@media (max-width: 430px) { .brand span { font-size: 19px; } .nav { gap: 10px 10px; } .dl { padding: 8px 12px; font-size: 13px; } .lang summary { padding: 7px 8px; } }
@media (max-width: 400px) { .top .brand span { display: none; } }

/* Download: Apple badge + desktop-only QR */
.get { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.badge { display: inline-flex; flex: none; }
.badge img { height: 52px; width: auto; }
.qr { display: flex; align-items: center; gap: 14px; }
.qr::before { content: ""; width: 1px; height: 76px; background: #ddd4cb; }
.qr .code { position: relative; width: 116px; height: 116px; flex: none; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 12px 26px -18px rgba(30, 25, 20, 0.5); }
.qr .code img { width: 100%; height: 100%; }
.qr .code img + img { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 7px; border: 2.5px solid #fff; }
.qr span { font-size: 14px; line-height: 1.4; color: var(--text); }
.qr b { color: var(--ink); }
@media (max-width: 760px) { .qr { display: none !important; } }
.android .ios-only { display: none !important; }
.android-note { display: none; }
.android .android-note { display: block; }

/* Cards and pills */
.card { background: var(--cream); border-radius: 26px; padding: 26px; min-width: 0; box-shadow: var(--shadow); }
.row { display: flex; flex-wrap: wrap; gap: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: var(--cream); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14.5px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.pill[aria-pressed="true"], .pill.on, .pill.dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill:hover { border-color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--cream); text-decoration: none; border: 0; border-radius: 14px; padding: 15px 24px; font-weight: 800; font-size: 16px; cursor: pointer; }
.btn:hover { background: #000; }
.btn.light { background: var(--cream); color: var(--ink); }

/* Hero (split) */
.hero { max-width: 1200px; margin: 0 auto; padding: 36px 24px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero > div:first-child { flex: 1 1 460px; min-width: 0; }
.hero > .art { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; position: relative; }
.sticker { display: inline-block; background: var(--ink); color: var(--cream); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; padding: 8px 14px; transform: rotate(-2deg); text-transform: uppercase; }
:lang(ar) .sticker, :lang(hi) .sticker { letter-spacing: 0; }

/* Ready board collage (HTML, so the labels are in every language) */
.board { position: relative; width: 340px; max-width: 100%; aspect-ratio: 66 / 94; background: #f3eee8; border-radius: 8px; padding: 12px; box-shadow: 0 40px 70px -40px rgba(80, 40, 40, 0.55); transform: rotate(2deg); overflow: hidden; container-type: inline-size; }
.board .ph { position: absolute; background: #fff; padding: 2.4cqw 2.4cqw 2.4cqw; box-shadow: 0 6px 14px -8px rgba(40, 30, 30, 0.45); border-radius: 2px; }
.board .ph img { width: 100%; height: 100%; object-fit: cover; }
.board .lbl { position: absolute; font: 800 5.6cqw/1 var(--sans); letter-spacing: 0.04em; padding: 2.4cqw 3.4cqw; text-transform: uppercase; box-shadow: 0 6px 12px -8px rgba(40, 30, 30, 0.5); white-space: nowrap; }
.board .note { position: absolute; padding: 3cqw 3.4cqw; font: 500 5.4cqw/1.2 var(--serif); color: #4a3e39; box-shadow: 0 6px 12px -8px rgba(40, 30, 30, 0.4); text-align: center; display: flex; align-items: center; justify-content: center; }
.board .yr { position: absolute; background: #fff; padding: 1.6cqw 4cqw; font: 800 10cqw/1 var(--disp); color: #b4583c; box-shadow: 0 6px 12px -8px rgba(40, 30, 30, 0.5); }
.board .scr { position: absolute; font: italic 500 7cqw/1 var(--serif); color: #b4583c; background: rgba(255, 253, 250, 0.92); padding: 2.4cqw 6cqw; border-radius: 999px; white-space: nowrap; }
.board .dot { position: absolute; width: 5cqw; height: 5cqw; border-radius: 50%; }
.board.flat { transform: none; box-shadow: none; }

/* Steps */
.steps { margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; }
.steps .n { font: 300 44px/1 var(--disp); color: var(--rose); }
.steps h3 { margin: 10px 0 6px; font: 500 21px/1.2 var(--disp); }
.steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }

/* Sentence tiles */
.lines { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.line { margin: 0; position: relative; min-height: 220px; border-radius: 22px; background: var(--cream) center / cover; display: flex; align-items: center; justify-content: center; text-align: center; padding: 28px 40px; box-shadow: 0 18px 36px -28px rgba(80, 40, 40, 0.4); }
.line p, .line figcaption { margin: 0; font: 500 27px/1.2 var(--serif); color: #3b2a2a; }
:lang(ja) .line p, :lang(zh) .line p, :lang(ko) .line p, :lang(hi) .line p, :lang(ar) .line p { font-size: 22px; line-height: 1.55; }
.line .save { position: absolute; inset-inline-end: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 253, 250, 0.92); display: grid; place-items: center; cursor: pointer; color: var(--ink); text-decoration: none; }
.line .save svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.line.blush { background-color: var(--blush); }

/* Lock-screen phones (wallpapers) */
.lock { position: relative; aspect-ratio: 9 / 19.5; border-radius: 34px; overflow: hidden; background: #ddd center / cover; border: 6px solid var(--ink); box-shadow: 0 30px 50px -34px rgba(80, 40, 40, 0.7); color: #3b2a2a; text-align: center; container-type: inline-size; }
.lock .shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32); }
.lock .clock { position: relative; padding-top: 14cqw; }
.lock .date { font: 700 5.4cqw/1.2 var(--sans); opacity: 0.85; }
.lock .time { font: 700 24cqw/1.05 var(--sans); letter-spacing: -0.02em; }
.lock .time.serif { font: 500 22cqw/1 var(--disp); letter-spacing: 0; }
.lock .say { position: absolute; left: 8cqw; right: 8cqw; top: 46%; margin: 0; font: 500 11cqw/1.18 var(--serif); }
:lang(ja) .lock .say, :lang(zh) .lock .say, :lang(ko) .lock .say, :lang(hi) .lock .say, :lang(ar) .lock .say { font-size: 9cqw; line-height: 1.45; }
.lock .kick { position: absolute; left: 8cqw; right: 8cqw; top: 40%; font: 800 4.6cqw/1.2 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--deep); }
.lock .mark { position: absolute; left: 50%; bottom: 7cqw; transform: translateX(-50%); }
.lock .mark img { width: 14px; height: 14px; border-radius: 4px; }
/* The somedaily.app watermark pill: always left-to-right, never wraps, as wide as its content. */
.mark { display: inline-flex; align-items: center; gap: 4px; width: max-content; max-width: none; white-space: nowrap; direction: ltr; unicode-bidi: isolate;
  background: rgba(255, 251, 247, 0.85); border-radius: 999px; padding: 3px 8px 3px 3px; font: 700 10px/1.2 "Nunito Sans", -apple-system, sans-serif; color: #2a211d; }
.mark img { flex: none; }
.lock.light { color: #fff; }
.lock.light .say { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
.lock.light .kick { color: #fde8ec; }
.lock.dark { color: #f6eee9; }
.lock.dark .kick { color: #f1c7cf; }
.walls { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px; }
.walls figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.walls figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.walls figcaption span { font-size: 14px; font-weight: 700; color: var(--muted); }
.walls .get-it { background: var(--ink); color: var(--cream); border: 0; padding: 9px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; cursor: pointer; }
.walls [hidden] { display: none; }
.strip { margin-top: 26px; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 4px 4px 12px; }
.strip::-webkit-scrollbar { display: none; }
.strip > * { flex: 0 0 160px; }
.strip .lock { border-width: 6px; border-color: #1e1b19; border-radius: 26px; }
.strip .all { aspect-ratio: 9 / 19.5; border-radius: 26px; border: 2px dashed #d9c4c8; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-weight: 800; font-size: 15px; color: var(--brown); text-decoration: none; }
.strip a.lock { display: block; text-decoration: none; }
.strip figure { margin: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; }

/* Year word */
.word-prev { margin-top: 20px; border-radius: 20px; background: url("/assets/bg/cloud.jpg") center 40% / cover; min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px; }
.word-prev .k { font: 800 12px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--deep); }
.word-prev .w { margin-top: 6px; font: 500 52px/1.1 var(--serif); color: #3b2a2a; }
.word-prev .s { margin-top: 8px; font: 500 20px/1.35 var(--serif); color: #4a3e39; max-width: 420px; }
.sheet { width: 210px; aspect-ratio: 1 / 1.414; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 18px 30px -22px rgba(80, 40, 40, 0.5); padding: 14px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr 1fr 1fr; gap: 8px; }
.sheet b { grid-column: 1 / 3; text-align: center; font: 500 20px var(--serif); color: #3b2a2a; }
.sheet i { border: 1.5px dashed #d9c4c8; border-radius: 4px; }

/* 21 days */
.days { margin-top: 18px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days span { aspect-ratio: 1; border-radius: 8px; background: var(--ground); color: var(--deep); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.days span.w1 { background: var(--blush); }
.days span.now { background: var(--rose); color: var(--cream); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 500 21px/1.3 var(--disp); color: var(--ink); }
.faq p { margin: 10px 0 0; font-size: 16px; line-height: 1.65; color: var(--text); }

/* Closing card */
.close { border-radius: 32px; background: var(--cream); box-shadow: 0 30px 60px -40px rgba(80, 40, 40, 0.45); padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 36px; }
.close > div:first-child { flex: 1 1 420px; min-width: 0; }
.close h2 { margin: 0; font: 500 clamp(34px, 4.6vw, 52px)/1.08 var(--serif); }
:lang(ja) .close h2, :lang(zh) .close h2, :lang(ko) .close h2, :lang(hi) .close h2, :lang(ar) .close h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.35; }
.close .lock { width: 200px; margin: 0 auto; }

/* Dark band */
.band { border-radius: 32px; background: var(--ink); color: var(--cream); padding: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 36px; overflow: hidden; }
.band > div:first-child { flex: 1 1 420px; min-width: 0; }
.band h2 { margin: 0; font: 600 clamp(28px, 3.8vw, 42px)/1.1 var(--disp); }
.band p { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: #e6ddd5; }
.band .btn { margin-top: 26px; background: var(--cream); color: var(--ink); }
.shot { width: 230px; max-width: 100%; border-radius: 30px; border: 6px solid #3a332e; margin: 0 auto; }

/* Ticks */
.ticks { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--rose); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Wallpaper "card ready" dialog and Android sheet */
dialog { border: 0; border-radius: 28px; padding: 0; max-width: min(440px, calc(100vw - 32px)); background: var(--cream); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(30, 20, 20, 0.55); }
dialog::backdrop { background: rgba(38, 34, 31, 0.45); }
.dlg { padding: 26px; }
.dlg h2 { margin: 0; font: 600 26px/1.15 var(--disp); }
.dlg p { margin: 10px 0 0; color: var(--text); font-size: 16px; }
.dlg ol { margin: 14px 0 0; padding-inline-start: 20px; color: var(--text); font-size: 15px; }
.dlg .x { position: absolute; inset-inline-end: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ground); cursor: pointer; font-size: 18px; }
.dlg .prev { width: 120px; margin: 0 auto 16px; border-radius: 18px; box-shadow: var(--shadow); }
.dlg .acts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Sticky slim bar on phones */
.bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; align-items: center; gap: 12px; background: rgba(38, 34, 31, 0.96); color: var(--cream); border-radius: 18px; padding: 10px 10px 10px 12px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5); transform: translateY(140%); transition: transform 0.35s ease; }
.bar img { width: 36px; height: 36px; border-radius: 9px; }
.bar span { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.3; }
.bar a { background: var(--cream); color: var(--ink); text-decoration: none; border-radius: 999px; padding: 9px 14px; font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.bar button { background: none; border: 0; color: #cfc5bd; font-size: 18px; cursor: pointer; padding: 4px 6px; }
@media (max-width: 760px) { .bar { display: flex; } .bar.on { transform: none; } }

/* Footer */
.foot { margin-top: 100px; background: var(--night); color: #d9d0c7; }
.foot .wrap { padding-top: 44px; padding-bottom: 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot .brand span { color: var(--cream); }
.foot p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: #b8aea5; max-width: 300px; }
.foot h2 { margin: 0 0 12px; font: 800 12px/1.3 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: #a39890; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.foot a { color: #e9e1da; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .langs { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.foot .langs a[aria-current="true"] { color: #fff; font-weight: 800; }
.foot small { grid-column: 1 / -1; color: #8f857d; font-size: 13px; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > div:first-child { grid-column: 1 / -1; } }

/* Home: the app's Olumla feed in a phone (from the original site, unchanged) */
.phone { margin: 0; width: 270px; height: 584px; border-radius: 46px; padding: 9px; background: #1e1b19; box-shadow: 0 40px 70px -40px rgba(30, 25, 20, 0.6); flex: none; }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #b9c6ce url("/assets/feed-sky.jpg") center 30% / cover no-repeat; isolation: isolate; }
.screen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(150, 168, 182, 0.35) 0%, rgba(230, 214, 214, 0.05) 45%, rgba(238, 176, 186, 0.55) 72%, rgba(196, 128, 150, 0.55) 100%); mix-blend-mode: multiply; }
.feed-top { position: absolute; top: 26px; left: 0; right: 0; z-index: 2; text-align: center; font: 600 11px/1 var(--sans); letter-spacing: 0.16em; color: rgba(70, 62, 58, 0.78); pointer-events: none; text-transform: uppercase; }
.feed { list-style: none; margin: 0; padding: 0; height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; outline: none; }
.feed::-webkit-scrollbar { display: none; }
.feed li { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; padding: 0 26px 70px; text-align: center; text-wrap: balance; font: 900 26px/1.12 "Fraunces", var(--serif); letter-spacing: -0.01em; color: #b0606f; }
:lang(ja) .feed li, :lang(zh) .feed li, :lang(ko) .feed li, :lang(hi) .feed li, :lang(ar) .feed li { font: 700 22px/1.5 var(--serif); letter-spacing: 0; }
.feed:focus-visible { box-shadow: inset 0 0 0 2px rgba(176, 96, 111, 0.6); border-radius: 38px; }
.sound { position: absolute; left: 16px; bottom: 18px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(247, 243, 240, 0.92); box-shadow: 0 6px 16px -8px rgba(40, 30, 30, 0.5); display: grid; place-items: center; cursor: pointer; color: #2a211d; }
.sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sound .on { display: none; }
.sound[aria-pressed="true"] .on { display: inline; }
.sound[aria-pressed="true"] .off { display: none; }
.sound:focus-visible { outline: 2px solid #b0606f; outline-offset: 3px; }
.hint { position: absolute; right: 0; left: 0; bottom: 26px; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 600 10px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(70, 50, 55, 0.7); pointer-events: none; transition: opacity 0.5s ease; }
.hint span { width: 2px; height: 16px; border-radius: 2px; background: currentColor; animation: hint 1.8s ease-in-out infinite; }
.screen.scrolled .hint { opacity: 0; }
@keyframes hint { 0%, 100% { transform: translateY(-3px); opacity: 0.4; } 50% { transform: translateY(4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hint span { animation: none; } .feed { scroll-behavior: auto; } html { scroll-behavior: auto; } }

/* Home: board wall */
.wall { margin-top: 30px; columns: 4 240px; column-gap: 22px; }
.wall > * { break-inside: avoid; margin: 0 0 22px; }
.pola { background: #fff; padding: 12px 12px 14px; box-shadow: 0 18px 30px -20px rgba(80, 40, 40, 0.5); }
.pola img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pola figcaption { margin-top: 10px; text-align: center; font: italic 500 20px/1.2 var(--serif); color: #4a3e39; }
.note-card { display: block; padding: 22px; text-decoration: none; color: var(--ink); box-shadow: 0 18px 30px -22px rgba(80, 40, 40, 0.45); }
.note-card .q { display: block; margin-top: 8px; font: 500 25px/1.22 var(--serif); }
.note-card .go { display: block; margin-top: 10px; font-size: 13px; font-weight: 800; color: var(--brown); }
.ready { background: #fff; padding: 12px; box-shadow: 0 18px 30px -20px rgba(80, 40, 40, 0.5); text-decoration: none; color: var(--ink); display: block; }
.ready .board { width: 100%; transform: none; box-shadow: none; }
.ready img { width: 100%; }
.ready .meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-weight: 800; font-size: 14px; }
.ready .meta i { font-style: normal; font-size: 11px; letter-spacing: 0.1em; color: var(--brown); text-transform: uppercase; }
.ready small { display: block; color: var(--text); font-size: 13px; }

/* Home: needs, screens, hub */
.needs { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.needs a { background: var(--cream); border-radius: 20px; padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.needs a:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.needs .q { font: 500 23px/1.25 var(--serif); flex: 1; }
.needs .go { font-size: 13px; font-weight: 800; color: var(--brown); }
.screens { margin-top: 30px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.screens figure { margin: 0; }
.screens img { width: 100%; border-radius: 22px; border: 5px solid #1e1b19; box-shadow: 0 24px 40px -28px rgba(30, 25, 20, 0.6); aspect-ratio: 440 / 956; object-fit: cover; }
.screens h3 { margin: 14px 0 4px; font: 600 18px/1.2 var(--disp); }
.screens p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.screens a { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 800; color: var(--brown); text-decoration: none; }
@media (max-width: 1000px) { .screens { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -24px; padding: 0 24px 10px; } .screens figure { flex: 0 0 190px; scroll-snap-align: start; } }
.hub { margin-top: 26px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hub a { background: var(--cream); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.hub img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hub div { padding: 14px 16px 18px; }
.hub b { display: block; margin-top: 4px; font: 600 19px/1.2 var(--disp); }
.hub p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--text); }
@media (max-width: 1000px) { .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Try-it tools */
.tool { background: var(--cream); border-radius: 26px; padding: 26px; min-width: 0; box-shadow: var(--shadow); }
.draw { margin-top: 14px; position: relative; border-radius: 20px; overflow: hidden; min-height: 250px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 30px; background: url("/assets/bg/cloud.jpg") center / cover; }
.draw .k { position: absolute; inset-inline-start: 16px; top: 14px; font: 800 12px/1.3 var(--sans); letter-spacing: 0.1em; color: var(--deep); text-transform: uppercase; }
.draw p { margin: 0; font: 500 34px/1.2 var(--serif); color: #3b2a2a; }
:lang(ja) .draw p, :lang(zh) .draw p, :lang(ko) .draw p, :lang(hi) .draw p, :lang(ar) .draw p { font-size: 26px; line-height: 1.5; }
.tool .app { display: block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; }
.tool .app b { color: var(--rose); }
.maker { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.maker .lock { flex: 0 0 150px; border: 0; border-radius: 18px; box-shadow: 0 16px 30px -20px rgba(80, 40, 40, 0.6); }
.maker .lock .say { top: 50%; transform: translateY(-50%); font-size: 13cqw; }
.maker > div { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.maker input, .maker textarea { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); resize: none; }
.sw { display: flex; flex-wrap: wrap; gap: 10px; }
.sw button { width: 44px; height: 44px; border-radius: 12px; border: 0; background: center / cover; cursor: pointer; }
.sw button[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 2px; }
.breath { position: relative; margin-top: 16px; border-radius: 20px; background: #eceef2; padding: 16px 0 20px; text-align: center; }
.breath .bell { left: auto; inset-inline-start: 14px; bottom: 16px; width: 36px; height: 36px; }
.breath .hint2 { display: block; font-size: 14px; color: #6d7480; }
.box { position: relative; width: 196px; height: 186px; margin: 6px auto 0; }
.box .l { position: absolute; font: 800 12px/1 var(--sans); letter-spacing: 0.08em; color: #8a96a3; text-transform: uppercase; }
.box .l.on { color: #3e6a8c; }
.box .l1 { left: 0; right: 0; top: 0; } .box .l2 { inset-inline-end: 0; top: 50%; } .box .l3 { left: 0; right: 0; bottom: 0; } .box .l4 { inset-inline-start: 0; top: 50%; }
.box .sq { position: absolute; left: 38px; top: 24px; width: 120px; height: 120px; border: 2.5px solid #c6d3df; border-radius: 24px; }
.box .dot { position: absolute; left: 32px; top: 18px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 4px #dce6f0; }
.box .num { position: absolute; left: 38px; top: 24px; width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; font: 300 40px var(--sans); color: #3e6a8c; }
.breath .start { margin-top: 14px; background: #fbf8f4; border: 0; border-radius: 999px; padding: 11px 26px; font-weight: 700; font-size: 15px; box-shadow: 0 10px 22px -14px rgba(60, 50, 70, 0.45); cursor: pointer; }
.prog { margin-top: 16px; height: 6px; border-radius: 3px; background: #efe4de; }
.prog i { display: block; height: 6px; border-radius: 3px; background: var(--rose); transition: width 0.3s; }
.mini-list { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.mini-list input { border: 0; border-bottom: 1px solid var(--line); background: none; padding: 8px 0; font: inherit; font-size: 15px; color: var(--ink); }
.mini-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-grid span { aspect-ratio: 3 / 4; border-radius: 10px; background: center / cover; }
.mini-grid label { aspect-ratio: 3 / 4; border-radius: 10px; background: var(--blush); display: flex; align-items: center; justify-content: center; font: italic 500 15px var(--serif); color: var(--deep); cursor: pointer; text-align: center; padding: 6px; }

/* Topic + directory */
.topic-hero { padding-bottom: 40px; }
.aff-list { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.aff { background: var(--cream); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.aff p { margin: 0; font: 500 25px/1.28 var(--serif); }
:lang(ja) .aff p, :lang(zh) .aff p, :lang(ko) .aff p, :lang(hi) .aff p, :lang(ar) .aff p { font-size: 20px; line-height: 1.6; }
.aff .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.aff .acts button, .aff .acts a { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; color: var(--ink); }
.more-in-app { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--blush); border-radius: 20px; padding: 20px 24px; }
.more-in-app b { font: 600 20px/1.3 var(--disp); }
.dir { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dir a { background: var(--cream); border-radius: 20px; padding: 20px 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.dir a:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.dir b { font: 600 20px/1.2 var(--disp); }
.dir span { font-size: 14px; line-height: 1.5; color: var(--text); }
.dir i { font-style: normal; font-size: 12px; font-weight: 800; color: var(--brown); letter-spacing: 0.08em; text-transform: uppercase; }
.crumbs { max-width: 1200px; margin: 0 auto; padding: 6px 24px 0; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Long-form (guide, legal) */
.prose { font-size: 17.5px; line-height: 1.75; color: #3a3430; }
.prose h2 { margin: 48px 0 10px; font: 600 30px/1.2 var(--disp); color: var(--ink); }
.prose h3 { margin: 30px 0 8px; font: 600 22px/1.25 var(--disp); color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 12px 0; }
.prose li { margin: 6px 0; }
.prose .summary { background: var(--cream); border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow); }
.prose .orig { background: var(--blush); border-radius: 16px; padding: 14px 18px; font-size: 15px; }
.toc { background: var(--cream); border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow); }
.toc ol { margin: 8px 0 0; padding-inline-start: 20px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Quiz */
.quiz { max-width: 760px; margin: 0 auto; }
[data-quiz] .qpills { margin-top: 20px; }
[data-quiz] .qpills .pill { font: 700 15px var(--sans); padding: 10px 18px; }
[data-quiz] .opts { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
[data-quiz] .opt { display: flex; flex-direction: column; gap: 4px; text-align: start; background: var(--cream); border: 2px solid var(--line); border-radius: 18px; padding: 18px 20px; cursor: pointer; font-family: var(--sans); color: var(--ink); }
[data-quiz] .opt b { font: 600 20px/1.2 var(--disp); }
[data-quiz] .opt span { font-size: 15px; color: var(--text); }
[data-quiz] .opt:hover { border-color: var(--ink); }
[data-quiz] .opt[aria-pressed="true"] { border-color: var(--rose); background: #fbeff1; }
[data-quiz] .qnav { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
[data-quiz] .qback { background: none; border: 0; font: 800 15px var(--sans); color: var(--muted); cursor: pointer; padding: 8px 0; }
.btn[disabled] { opacity: 0.35; cursor: default; }

/* Premium */
.plans { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.plan { background: var(--cream); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.plan b { display: block; font: 600 24px/1.2 var(--disp); }
.plan p { margin: 8px 0 0; color: var(--text); font-size: 15.5px; }
.compare { margin-top: 26px; width: 100%; border-collapse: collapse; background: var(--cream); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); font-size: 15.5px; }
.compare th, .compare td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--ground); }
.compare th { font-size: 12px; letter-spacing: var(--track); text-transform: uppercase; color: var(--brown); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 110px; }

/* Embed page */
.blog { border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -40px rgba(30, 25, 20, 0.45); overflow: hidden; }
.blog .chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #efeae4; direction: ltr; }
.blog .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #e0b4b4; }
.blog .chrome i:nth-child(2) { background: #e6d3a8; } .blog .chrome i:nth-child(3) { background: #b8d1b4; }
.blog .chrome span { margin-left: 12px; flex: 1; background: #fff; border-radius: 6px; padding: 4px 10px; font-size: 12px; color: var(--muted); }
.blog .page { display: flex; flex-wrap: wrap; gap: 26px; padding: 26px; }
.blog .page > div:first-child { flex: 1 1 260px; min-width: 0; }
.blog .page > div:last-child { flex: 0 1 250px; min-width: 0; }
.blog .ln { display: block; margin-top: 12px; height: 9px; border-radius: 4px; background: #efe9e3; }
.code { margin: 18px 0 0; white-space: pre-wrap; word-break: break-all; background: var(--ink); color: #f3e6e1; border-radius: 14px; padding: 16px; font: 13px/1.55 ui-monospace, Menlo, monospace; direction: ltr; text-align: left; }
.setrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.setrow > span:first-child { width: 90px; font-size: 14px; font-weight: 700; color: var(--text); }
.setrow select { border: 1px solid var(--line); background: var(--cream); border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 14px; font-weight: 700; }

/* Root language chooser */
.choose { max-width: 760px; margin: 0 auto; padding: 60px 24px; text-align: center; }
.choose ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.choose a { display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; background: var(--cream); border-radius: 14px; padding: 14px; text-decoration: none; font-weight: 700; box-shadow: var(--shadow); }

/* Print (A4 / A3 vision board sheet) */
@media print {
  .top, .foot, .bar, .no-print { display: none !important; }
  body { background: #fff; }
}
/* Clock digits stay Latin, left-to-right, in every script. */
.lock .clock { direction: ltr; }
.lock .time.serif { font-family: "Fraunces", Georgia, serif; }
.lock .time { font-family: "Nunito Sans", -apple-system, sans-serif; }

/* Directory */
.search { margin: 26px auto 0; max-width: 620px; display: flex; gap: 8px; background: var(--cream); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 16px; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.areas { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.area { position: relative; min-height: 200px; border-radius: 22px; background: center / cover; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px; box-shadow: 0 20px 40px -26px rgba(60, 30, 30, 0.6); }
.area b { font: 600 24px/1.15 var(--disp); }
.area span { font-size: 13px; font-weight: 800; }
.area.quiz-card { background: var(--ink); justify-content: space-between; }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } .area { min-height: 160px; } }
.moods a { gap: 8px; }
.moods i { font-style: normal; font-size: 12px; font-weight: 800; color: var(--brown); }
.moods .ex { font: 500 18px/1.35 var(--serif); color: var(--text); }
[data-searchable] [hidden] { display: none; }

/* Daily */
.daily-card { margin-top: 18px; position: relative; border-radius: 32px; overflow: hidden; min-height: 420px; display: flex; align-items: center; justify-content: center; background: url("/assets/bg/cloud.jpg") center 75% / cover; box-shadow: 0 40px 70px -40px rgba(80, 40, 40, 0.6); }
.daily-card p { margin: 0; padding: 48px 48px 70px; text-align: center; font: 500 clamp(38px, 5vw, 64px)/1.1 var(--serif); color: #2a1f22; text-wrap: balance; }
:lang(ja) .daily-card p, :lang(zh) .daily-card p, :lang(ko) .daily-card p, :lang(hi) .daily-card p, :lang(ar) .daily-card p { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.5; }
.daily-card .mark { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 4px 10px 4px 4px; gap: 6px; font-size: 12px; }
.daily-card .mark img { width: 18px; height: 18px; border-radius: 5px; }
.notif { margin-top: 20px; background: rgba(255, 253, 250, 0.9); border-radius: 22px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; box-shadow: 0 20px 40px -28px rgba(80, 40, 40, 0.6); }
.notif img { width: 38px; height: 38px; border-radius: 9px; }
.notif > div { flex: 1; min-width: 0; }
.notif > div > div { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.notif b { color: var(--ink); }
.notif p { margin: 3px 0 0; font-size: 15px; line-height: 1.4; }
.needs.prev a { min-height: 150px; }
.archive { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; }
.archive li { display: flex; gap: 18px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font: 500 21px/1.35 var(--serif); scroll-margin-top: 90px; }
.archive li .tag { flex: 0 0 110px; font-size: 12px; }
.archive li.now { background: var(--blush); border-radius: 12px; padding: 12px; }

/* 21 days */
.days21 { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; align-items: start; }
.day { background: var(--cream); border-radius: 18px; padding: 16px; box-shadow: 0 10px 20px -18px rgba(80, 40, 40, 0.6); }
.day summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 10px; min-height: 76px; }
.day summary::-webkit-details-marker { display: none; }
.day .t { font: 500 20px/1.2 var(--serif); }
.day p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--text); }
.day[open] { grid-column: span 2; }
.day.dark { background: var(--ink); color: var(--cream); }
.day.dark .tag { color: #f1c7cf; }
.day.dark p { color: #e6ddd5; }
@media (max-width: 500px) { .day[open] { grid-column: 1 / -1; } }

/* Premium */
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; }
.plan.dark { background: var(--ink); color: var(--cream); }
.plan.dark .tag { color: #f1c7cf; }
.plan.dark p { color: #e6ddd5; }
.plan .best { position: absolute; top: -12px; inset-inline-start: 24px; background: var(--rose); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; }
.compare th[scope="row"] { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 15.5px; }
.compare thead th:first-child { font: 600 20px var(--disp); text-transform: none; letter-spacing: 0; color: var(--ink); }
.mk { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; background: #efe6e0; color: #fff; font-weight: 800; font-size: 14px; }
.mk.on { background: var(--rose); }

/* Quiz */
.qstep h2 { font-weight: 600; }
.qresult .daily-card p { font-size: clamp(30px, 3.6vw, 44px); }
.prose .band h2 { color: var(--cream); margin: 0; }
.prose .band p { color: #e6ddd5; }

/* English pages: a quiet bar offering the visitor's own language (never an automatic redirect). */
.offer { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 44px; background: var(--ink); color: var(--cream); font-size: 14.5px; font-weight: 700; position: relative; }
.offer a { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); text-decoration: none; }
.offer a:hover span:first-of-type { text-decoration: underline; }
.offer button { position: absolute; inset-inline-end: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #cfc5bd; font-size: 20px; cursor: pointer; padding: 4px 8px; }

/* ---------------------------------------------------------------- 2027 new-year pages (8 Nov 2026) */
.ny-hero .h1 { max-width: 640px; }
.ny-center { text-align: center; padding-top: 36px; }
.ny-center .lead { margin-inline: auto; max-width: 660px; }
.ny-center .pills { justify-content: center; }
.ny-ph { position: relative; margin: 0; border-radius: 26px; overflow: hidden; background: var(--blush); box-shadow: 0 30px 60px -40px rgba(80, 40, 40, 0.55); min-height: 220px; }
.ny-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ny-ph .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(20, 12, 10, 0.55)); }
.ny-ph p, .ny-ph figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; margin: 0; color: #fff; font: 500 clamp(19px, 2vw, 24px)/1.25 var(--disp); }
.ny-collage { flex: 1 1 420px; position: relative; min-height: 560px; max-width: 580px; }
.ny-collage .ny-ph.a { position: absolute; left: 0; top: 30px; width: 48%; height: 380px; transform: rotate(-4deg); }
.ny-collage .ny-ph.b { position: absolute; right: 0; top: 0; width: 56%; height: 450px; transform: rotate(3deg); }
.ny-collage .c { position: absolute; left: 4%; top: 400px; width: 52%; transform: rotate(-2deg); }
.ny-collage .c p { margin: 8px 0 0; font: 500 22px/1.3 var(--disp); }
.ny-band { background: var(--cream); margin-top: 72px; padding: 72px 0; }
.ny-group + .ny-group { margin-top: 72px; }
.ny-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.pill.static { cursor: default; font-size: 13px; }
.pill.dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.ny-split { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 26px; }
.flip .ny-split { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
.flip .ny-split .ny-ph { order: 2; }
.ny-split .ny-ph { min-height: 420px; }
.ny-lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ny-line { background: var(--ground); border-radius: 20px; padding: 20px 22px; display: flex; gap: 14px; font: 500 20px/1.35 var(--disp); }
.ny-line .n, .ny-prompts .n { color: var(--rose); font: 500 16px/1.6 var(--disp); min-width: 24px; }
.ny-words { margin-top: 34px; gap: 12px; }
.ny-word { font: 500 22px var(--disp); padding: 12px 22px; }
.ny-word[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.ny-result { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px; }
.ny-ph.big { min-height: 560px; }
.ny-ph.big .ov { background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(20, 12, 10, 0.45)); }
.ny-ph.big figcaption { top: 42%; bottom: auto; text-align: center; }
.ny-ph.big figcaption .tag { color: #fff; letter-spacing: 0.3em; }
.ny-ph.big figcaption b { display: block; margin-top: 10px; font: 500 clamp(56px, 8vw, 104px)/1 var(--disp); }
.ny-wlines { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ny-wlines .card { padding: 18px 22px; font: 500 21px/1.35 var(--disp); box-shadow: none; border: 1px solid var(--line); }
.ny-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.ny-tile { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.ny-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.ny-tile b { margin-top: 6px; font: 500 24px var(--disp); }
.ny-tile span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.ny-tile:focus-visible img { outline: 3px solid var(--rose); outline-offset: 3px; }
.ny-quad { flex: 1 1 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 560px; }
.ny-quad .ny-ph { min-height: 250px; }
.ny-quad .ny-ph:nth-child(n+3) { min-height: 190px; }
.ny-diff { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; }
.ny-table { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.ny-table .r { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.ny-table .r.h { border-top: 0; font: 800 12px var(--sans); letter-spacing: var(--track); text-transform: uppercase; }
.ny-table .x, .ny-table .y { padding: 18px 22px; }
.ny-table .x { color: var(--faint); text-decoration: line-through; }
.ny-table .y { background: var(--ground); font: 500 19px/1.35 var(--disp); }
.ny-table .h .x { text-decoration: none; background: #efe9e2; color: var(--muted); }
.ny-table .h .y { background: var(--ink); color: var(--cream); font: inherit; }
.ny-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ny-area { padding: 0; overflow: hidden; }
.ny-area img { width: 100%; height: 190px; object-fit: cover; display: block; }
.ny-area div { padding: 20px 22px 24px; }
.ny-area p { margin: 8px 0 0; font: 500 21px/1.3 var(--disp); }
.ny-sheetbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: center; background: var(--blush); border-radius: 36px; padding: clamp(28px, 5vw, 60px); }
.ny-sheet { background: #fffdfa; padding: 44px 48px; border-radius: 6px; box-shadow: 0 40px 70px -40px rgba(80, 40, 40, 0.55); transform: rotate(1.2deg); }
.ny-sheet .t { display: flex; justify-content: space-between; font: 500 34px var(--disp); }
.ny-sheet .yr { color: var(--rose); }
.ny-sheet p { margin: 4px 0 14px; font-size: 14px; color: var(--faint); }
.ny-sheet .row { display: flex; gap: 14px; align-items: flex-end; padding: 15px 0; }
.ny-sheet .row b { min-width: 120px; font: 800 11px var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--rose); }
.ny-sheet .row i { flex: 1; border-bottom: 1px dashed #d9c9c0; height: 14px; }
.ny-sheet small { display: block; margin-top: 18px; text-align: end; color: #b9ada5; }
.ny-jphero { flex: 1 1 420px; position: relative; min-height: 540px; max-width: 580px; }
.ny-jphero .ny-ph { position: absolute; inset: 0 0 40px 18%; }
.ny-jphero .card { position: absolute; left: 0; bottom: 0; width: 62%; transform: rotate(-2deg); }
.ny-jphero .q { margin: 10px 0 0; font: 500 23px/1.3 var(--disp); }
.ny-jphero .ans { margin: 12px 0 0; font: italic 500 19px/1.5 var(--serif); color: var(--brown); }
.ny-pp { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ny-part { background: #efe9e2; border-radius: 30px; padding: clamp(26px, 4vw, 44px); }
.ny-part.pink { background: var(--blush); }
.ny-part .h2 { margin-top: 8px; }
.ny-prompts { list-style: none; margin: 18px 0 0; padding: 0; }
.ny-prompts li { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(80, 40, 40, 0.12); font: 500 19px/1.4 var(--disp); }
.ny-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ny-three .ny-ph { min-height: 340px; }
.ny-close .lock { flex: 0 1 260px; }
.ny-close > div:first-child { flex: 1 1 380px; }
:lang(ja) .ny-line, :lang(zh) .ny-line, :lang(ko) .ny-line, :lang(hi) .ny-line, :lang(ar) .ny-line,
:lang(ja) .ny-prompts li, :lang(zh) .ny-prompts li, :lang(ko) .ny-prompts li, :lang(hi) .ny-prompts li, :lang(ar) .ny-prompts li { font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.6; }
@media (max-width: 1000px) {
  .ny-split, .flip .ny-split, .ny-result, .ny-diff, .ny-sheetbox, .ny-pp { grid-template-columns: minmax(0, 1fr); }
  .flip .ny-split .ny-ph { order: 0; }
  .ny-areas, .ny-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ny-ph.big { min-height: 420px; }
}
@media (max-width: 600px) {
  .ny-lines, .ny-areas, .ny-three { grid-template-columns: minmax(0, 1fr); }
  .ny-split .ny-ph { min-height: 300px; }
  .ny-collage { min-height: 470px; }
  .ny-collage .ny-ph.a { height: 300px; }
  .ny-collage .ny-ph.b { height: 360px; }
  .ny-collage .c { top: 330px; width: 70%; }
  .ny-jphero { min-height: 440px; }
  .ny-jphero .card { width: 80%; }
  .ny-sheet { padding: 28px 24px; transform: none; }
  .ny-sheet .row b { min-width: 90px; }
  .ny-table .x, .ny-table .y { padding: 14px; font-size: 15px; }
  .ny-word { font-size: 18px; padding: 10px 16px; }
  .ny-band { padding: 48px 0; margin-top: 48px; }
}
@media print {
  body.ny-print .top, body.ny-print .foot, body.ny-print main > *:not(#sheet), body.ny-print .bar, body.ny-print #sheet .ny-sheetbox > div:first-child { display: none !important; }
  body.ny-print .ny-sheetbox { display: block; background: none; padding: 0; }
  body.ny-print .ny-sheet { box-shadow: none; transform: none; }
}

/* ---------------------------------------------------------------- about page (9 Nov 2026) */
.facts { margin: 22px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 800 13px/1.5 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--brown); }
.facts dd { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); }
.about-shots { margin-top: 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .about-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts div { grid-template-columns: 1fr; gap: 4px; } }
.cmp-apps th small { display: block; font: 600 12px var(--sans); color: var(--muted); }
.cmp-apps th a { color: var(--ink); }
.cmp-apps td { font-size: 14px; vertical-align: top; }
.cmp-apps tr.us th, .cmp-apps tr.us td { background: var(--blush); }
.cmp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.cmp-card { background: var(--cream); border-radius: 26px; padding: 22px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.cmp-card.us { background: var(--blush); box-shadow: 0 30px 50px -34px rgba(126, 66, 80, 0.6); }
.cmp-card header a { font: 500 26px/1.1 var(--disp); color: var(--ink); text-decoration: none; }
.cmp-card header small { display: block; margin-top: 4px; font: 700 13px var(--sans); color: var(--muted); }
.cmp-card .chips { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cmp-card .chip { padding: 5px 11px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line); font: 700 13px var(--sans); color: var(--text); }
.cmp-card .chip.bad { background: #f6e4e4; border-color: #ecc9c9; color: #8a3b3b; }
.cmp-card .chip.ok { background: #e3efe6; border-color: #c8dfcf; color: #2f6b45; }
.cmp-card .meta { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.cmp-wrap { overflow-x: auto; border-radius: 28px; background: var(--cream); box-shadow: var(--shadow); }
.cmp-table { width: 100%; min-width: 860px; border-collapse: collapse; }
.cmp-table thead th { padding: 18px 20px; text-align: start; font: 800 11.5px/1.4 var(--sans); letter-spacing: var(--track); text-transform: uppercase; color: var(--brown); border-bottom: 1px solid var(--line); }
.cmp-table tbody th, .cmp-table td { padding: 18px 20px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--text); }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table tbody th a { font: 500 21px/1.15 var(--disp); color: var(--ink); text-decoration: none; }
.cmp-table tbody th small { display: block; margin-top: 4px; font: 700 12.5px var(--sans); color: var(--muted); }
.cmp-table tr.us { background: var(--blush); }
.cmp-table .chips { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; max-width: 280px; }
.cmp-table .chip { padding: 4px 10px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line); font: 700 12.5px var(--sans); color: var(--text); white-space: nowrap; }
.cmp-table .chip.bad { background: #f6e4e4; border-color: #ecc9c9; color: #8a3b3b; }
.cmp-table .chip.ok { background: #e3efe6; border-color: #c8dfcf; color: #2f6b45; }
.cmp-table tr.us { background: linear-gradient(90deg, #f6dde4, #fbeef1); }
.cmp-table tr.us th { position: relative; box-shadow: inset 5px 0 0 var(--rose); }
.cmp-table .us-icon { display: block; width: 40px; height: 40px; border-radius: 11px; margin-bottom: 8px; box-shadow: 0 8px 16px -10px rgba(126, 66, 80, 0.6); }
.cmp-table .us-badge { display: inline-block; margin: 8px 0 0 10px; vertical-align: 3px; padding: 4px 11px; border-radius: 999px; background: var(--rose); color: #fff; font: 800 12px var(--sans); }
