/* My Studio HQ — Ana Brandt brand system: cream/sand/stone/tan/sage tones, ink text, clay only on buttons and small accents.
   No borders, hairlines or dividers anywhere: separation comes from tone and space. */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --cream: #FBF8F2;
  --sand: #F4EDE1;
  --stone: #E9E2D6;
  --tan: #E4D7C0;
  --sage: #DCE3D4;
  --sage-deep: #C7D2BB;
  --ink: #2A241E;
  --ink-soft: #5E554B;
  --clay: #A35F40;        /* button fill: brand clay, deepened just enough for readable cream text */
  --clay-text: #97563A;   /* clay for small text accents */
  --clay-soft: rgba(176, 106, 74, .16);
  --ring: 0 0 0 3px rgba(176, 106, 74, .35);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --nav-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--clay-text); text-underline-offset: 3px; }
:focus { outline: none; }
:focus-visible { box-shadow: var(--ring); border-radius: var(--r-sm); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.15; letter-spacing: -.005em; }
h1 { font-size: 30px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.soft { color: var(--ink-soft); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

/* ---------- layout ---------- */
.shell { min-height: 100vh; min-height: 100dvh; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 18px 10px; background: rgba(251, 248, 242, .94);
  backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px);
}
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 21px; display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.wordmark i { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); display: inline-block; transform: translateY(1px); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--tan); display: grid; place-items: center;
  font-weight: 600; font-size: 15px; border: 0; cursor: pointer;
}
main { padding: 6px 16px calc(var(--nav-h) + var(--safe-b) + 28px); max-width: 1120px; margin: 0 auto; }
.page-head { padding: 10px 2px 18px; }
.page-head h1 { margin-top: 4px; }
.page-head p { margin-top: 8px; color: var(--ink-soft); max-width: 640px; }
.stack { display: grid; gap: 14px; }
.grid2 { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.grid2 > *, .stack > *, .today > * { min-width: 0; }
.today { display: flex; flex-direction: column; gap: 14px; }
.today .col { display: contents; }
@media (max-width: 899px) {
  .o1 { order: 1; } .o2 { order: 2; } .o3 { order: 3; } .o4 { order: 4; } .o5 { order: 5; } .o6 { order: 6; } .o7 { order: 7; } .o8 { order: 8; }
}
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.spacer { flex: 1; }

/* bottom tab bar (phones) */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--sand); padding: 6px 4px calc(6px + var(--safe-b)); height: calc(var(--nav-h) + var(--safe-b));
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none;
  font-size: 11.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; border-radius: var(--r-md); cursor: pointer; position: relative;
}
.tab svg { width: 23px; height: 23px; }
.tab.on { color: var(--ink); font-weight: 600; }
.tab.on::after { content: ""; position: absolute; top: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }
.side { display: none; }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 248px 1fr; }
  .topbar { display: none; }
  .tabbar { display: none; }
  .side {
    display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; padding: 26px 16px;
    background: var(--sand);
  }
  .side .wordmark { padding: 0 10px 22px; font-size: 22px; }
  .side .tab { flex-direction: row; justify-content: flex-start; gap: 12px; font-size: 15px; padding: 11px 12px; }
  .side .tab.on { background: var(--stone); }
  .side .tab.on::after { display: none; }
  .side .who { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r-md); border: 0; background: none; cursor: pointer; text-align: left; }
  .side .who:hover { background: var(--stone); }
  main { padding: 28px 36px 48px; }
  h1 { font-size: 38px; }
  .grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .grid2 > .span2 { grid-column: 1 / -1; }
  .today { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .today .col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .today > .wide { grid-column: 1 / -1; }
}

/* ---------- cards ---------- */
.card { border-radius: var(--r-lg); padding: 18px; background: var(--sand); }
.card > h2, .card > h3 { margin-bottom: 4px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-head .eyebrow { margin-bottom: 4px; }
.t-cream { background: var(--cream); }
.t-sand { background: var(--sand); }
.t-stone { background: var(--stone); }
.t-tan { background: var(--tan); }
.t-sage { background: var(--sage); }
.t-sagedeep { background: var(--sage-deep); }
.inset { background: rgba(251, 248, 242, .72); border-radius: var(--r-md); padding: 12px 14px; }
@media (min-width: 900px) { .card { padding: 22px; } }

/* ---------- buttons, chips, inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--clay); color: var(--cream); border-radius: 999px; padding: 12px 20px; font-size: 15px; font-weight: 600;
  text-decoration: none; min-height: 44px; transition: transform .12s ease, background .2s ease; white-space: nowrap;
}
.btn:hover { background: #95573A; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.soft { background: var(--stone); color: var(--ink); }
.btn.soft:hover { background: var(--tan); }
.t-stone .btn.soft, .t-tan .btn.soft, .t-sagedeep .btn.soft { background: var(--cream); }
.t-stone .btn.soft:hover, .t-tan .btn.soft:hover, .t-sagedeep .btn.soft:hover { background: var(--sand); }
input[type="radio"] { accent-color: var(--clay); width: 18px; height: 18px; margin: 0; }
input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 6px; background: var(--tan);
  display: inline-grid; place-content: center; cursor: pointer; flex: none; transition: background .15s ease;
}
input[type="checkbox"]::after { content: ""; width: 10px; height: 5px; border-left: 2.5px solid var(--cream); border-bottom: 2.5px solid var(--cream); transform: translateY(-1px) rotate(-45deg); opacity: 0; }
input[type="checkbox"]:checked { background: var(--clay); }
input[type="checkbox"]:checked::after { opacity: 1; }
input[type="checkbox"]:focus-visible { box-shadow: var(--ring); }
.t-tan input[type="checkbox"], .chip input[type="checkbox"] { background: var(--cream); }
.t-tan input[type="checkbox"]:checked, .chip input[type="checkbox"]:checked { background: var(--clay); }
.btn.ghost { background: transparent; color: var(--ink); padding: 10px 12px; }
.btn.ghost:hover { background: rgba(42, 36, 30, .06); }
.btn.small { min-height: 36px; padding: 8px 14px; font-size: 14px; }
.btn.block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.link { background: none; border: 0; padding: 0; color: var(--clay-text); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  border: 0; border-radius: 999px; padding: 8px 14px; background: var(--stone); font-size: 14px; font-weight: 500; cursor: pointer;
  white-space: nowrap; color: var(--ink); min-height: 36px;
}
.chip.on { background: var(--ink); color: var(--cream); }
.t-stone .chip { background: var(--cream); }
.t-stone .chip.on, .t-sage .chip.on, .t-tan .chip.on { background: var(--ink); color: var(--cream); }
.t-sage .chip, .t-tan .chip, .t-sagedeep .chip { background: rgba(251, 248, 242, .75); }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; background: rgba(251, 248, 242, .8); color: var(--ink); }
.pill.clay { background: var(--clay-soft); color: var(--clay-text); }
.pill.ink { background: var(--ink); color: var(--cream); }

label.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
label.field .hint { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.input, textarea.input, select.input {
  width: 100%; border: 0; border-radius: var(--r-md); background: var(--cream); padding: 12px 14px; font-size: 16px;
  min-height: 46px; transition: box-shadow .15s ease;
}
.t-cream .input, .on-cream .input { background: var(--sand); }
textarea.input { resize: vertical; min-height: 96px; line-height: 1.5; }
.input::placeholder { color: #8A7F73; }
.input:focus { box-shadow: var(--ring); }
.code-input { letter-spacing: .3em; font-size: 22px; text-align: center; font-weight: 600; }

/* ---------- lists ---------- */
.list { display: grid; gap: 8px; }
.item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); background: rgba(251, 248, 242, .66); }
.item .grow { flex: 1; min-width: 0; }
.item .title { font-weight: 500; overflow-wrap: anywhere; }
.item .meta { font-size: 13px; color: var(--ink-soft); }
.check {
  flex: none; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--tan); cursor: pointer; display: grid; place-items: center;
  margin-top: 1px;
}
.check svg { width: 15px; height: 15px; opacity: 0; color: var(--cream); }
.check.on { background: var(--clay); }
.check.on svg { opacity: 1; }
.item.done .title { text-decoration: line-through; color: var(--ink-soft); }
.star { border: 0; background: none; cursor: pointer; padding: 2px; color: var(--ink-soft); flex: none; }
.star.on { color: var(--clay-text); }
.star svg { width: 20px; height: 20px; }
.x { border: 0; background: none; cursor: pointer; padding: 4px; color: var(--ink-soft); flex: none; border-radius: 8px; }
.x:hover { background: rgba(42, 36, 30, .07); }
.x svg { width: 16px; height: 16px; }

.event { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 9px 12px; border-radius: var(--r-md); background: rgba(251, 248, 242, .66); }
.event .when { font-weight: 600; font-size: 14px; }
.event .what { font-weight: 500; }
.event .where { font-size: 13px; color: var(--ink-soft); }

.bar { height: 10px; border-radius: 999px; background: rgba(251, 248, 242, .8); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--clay); transition: width .4s ease; }
.goal { display: grid; gap: 7px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(251, 248, 242, .5); }
.goal .row .btn { min-height: 32px; padding: 6px 12px; }

/* ---------- programs ---------- */
.programs { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .programs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .programs { grid-template-columns: 1fr 1fr 1fr; } }
.prog { border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.prog .pic.noimg { aspect-ratio: 3 / 1; }
.prog .pic { aspect-ratio: 16 / 9; background: var(--tan); display: grid; place-items: center; overflow: hidden; }
.prog .pic img { width: 100%; height: 100%; object-fit: cover; }
.prog .mono { font-family: var(--serif); font-size: 34px; color: var(--ink-soft); }
/* program logos: app icons and wordmarks, centred on the tile */
.pic.haslogo { position: relative; }
.prog .pic.haslogo { aspect-ratio: 3 / 1; }
.pic.haslogo img.logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 76%; max-height: 62%; width: auto; height: auto; object-fit: contain; border-radius: 14px; }
.pic.haslogo .mono { display: none; }
.prog .body { padding: 14px 16px 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.prog .body h3 { font-size: 19px; }
.prog .body p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.prog .foot { padding: 0 16px 16px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.rail { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 4px; scroll-snap-type: x proximity; }
.rail::-webkit-scrollbar { display: none; }
.mini { flex: none; width: 150px; border-radius: var(--r-md); background: rgba(251, 248, 242, .7); text-decoration: none; color: var(--ink); overflow: hidden; scroll-snap-align: start; }
.mini .pic { aspect-ratio: 16 / 10; background: var(--stone); display: grid; place-items: center; overflow: hidden; }
.mini .pic img { width: 100%; height: 100%; object-fit: cover; }
.mini .mono { font-family: var(--serif); font-size: 24px; color: var(--ink-soft); }
.mini span { display: block; padding: 8px 10px 10px; font-size: 13.5px; font-weight: 600; line-height: 1.25; }

/* ---------- brief / markdown ---------- */
.md h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin: 14px 0 6px; }
.md h4:first-child { margin-top: 0; }
.md ul { margin: 0; padding-left: 18px; }
.md li { margin: 3px 0; }
.md li::marker { color: var(--clay-text); }
.md p { margin: 0 0 8px; }
.md strong { font-weight: 600; }

/* ---------- chat ---------- */
.chat { display: grid; gap: 10px; }
.msg { max-width: 92%; padding: 12px 14px; border-radius: 18px; font-size: 15.5px; }
.msg.me { justify-self: end; background: var(--ink); color: var(--cream); border-bottom-right-radius: 6px; white-space: pre-wrap; }
.msg.ai { justify-self: start; background: rgba(251, 248, 242, .85); border-bottom-left-radius: 6px; }
.msg .tools { margin-top: 8px; }

/* ---------- AI meter / upsell ---------- */
.meter { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); background: rgba(251, 248, 242, .75); border-radius: 999px; padding: 5px 11px; border: 0; cursor: pointer; }
.meter svg { width: 14px; height: 14px; color: var(--clay-text); }
.upsell { display: grid; gap: 12px; }
.upsell ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.price { font-family: var(--serif); font-size: 34px; font-weight: 600; }

/* ---------- sheet / dialogs ---------- */
.veil { position: fixed; inset: 0; background: rgba(42, 36, 30, .38); z-index: 60; display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
.sheet {
  width: 100%; max-height: 92vh; overflow-y: auto; background: var(--cream); border-radius: 26px 26px 0 0;
  padding: 10px 18px calc(22px + var(--safe-b)); animation: rise .22s ease; overscroll-behavior: contain;
}
.sheet .grab { width: 44px; height: 5px; border-radius: 999px; background: var(--tan); margin: 4px auto 14px; }
.sheet h2 { margin-bottom: 6px; }
.sheet .actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
@media (min-width: 700px) {
  .veil { align-items: center; }
  .sheet { max-width: 560px; border-radius: 26px; padding: 26px 28px 26px; }
  .sheet .grab { display: none; }
}
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 14px); transform: translateX(-50%) translateY(10px);
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 80; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 900px) { .toast { bottom: 28px; } }

/* ---------- loading ---------- */
.skel { border-radius: var(--r-md); background: linear-gradient(90deg, rgba(228, 215, 192, .5), rgba(244, 237, 225, .9), rgba(228, 215, 192, .5)); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(251, 248, 242, .45); border-top-color: var(--cream); animation: rot .8s linear infinite; display: inline-block; }
.spin.dark { border-color: rgba(42, 36, 30, .15); border-top-color: var(--ink); }
@keyframes rot { to { transform: rotate(360deg); } }
.center { display: grid; place-items: center; min-height: 60vh; text-align: center; }

/* ---------- sign in ---------- */
.signin { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 28px 18px; }
.signin .panel { width: 100%; max-width: 440px; display: grid; gap: 18px; }
.signin .hero { display: grid; gap: 10px; }
.signin h1 { font-size: 34px; }
.signin .card { padding: 22px; }
.signin .fine { font-size: 13.5px; color: var(--ink-soft); }
.perks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.perks li b { font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); flex: none; margin-top: 8px; }

/* ---------- misc ---------- */
.empty { text-align: left; display: grid; gap: 10px; padding: 4px 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: rgba(251, 248, 242, .7); border-radius: var(--r-md); padding: 12px; }
.kpi b { display: block; font-family: var(--serif); font-size: 26px; }
.kpi span { font-size: 12.5px; color: var(--ink-soft); }
.notice { border-radius: var(--r-md); padding: 12px 14px; background: var(--clay-soft); color: var(--ink); font-size: 14.5px; }
.brainitem { cursor: pointer; text-align: left; border: 0; width: 100%; display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-md); }
.brainitem .title { font-weight: 600; }
.brainitem .snip { font-size: 14px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.brainitem:hover { filter: brightness(.985); }
.starter { text-align: left; border: 0; cursor: pointer; border-radius: var(--r-md); padding: 12px 14px; background: rgba(251, 248, 242, .72); display: grid; gap: 2px; width: 100%; }
.starter b { font-weight: 600; }
.starter span { font-size: 13.5px; color: var(--ink-soft); }
.starter.done { opacity: .6; }
.reply { white-space: pre-wrap; background: rgba(251, 248, 242, .85); border-radius: var(--r-md); padding: 14px; font-size: 15.5px; min-height: 120px; }
details.more summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-soft); }
details.more[open] summary::after { content: "–"; }
details.more > div { margin-top: 12px; }

/* ---------- greeting + quick ask ---------- */
.hello-head .hello { font-size: 17px; margin: 10px 0 0; color: var(--ink); }
.hello-head .hello b { font-weight: 600; }
.ask-row { display: flex; gap: 8px; margin: 12px 0 6px; max-width: 640px; }
.ask-row .input { background: var(--sand); }
.ask-row .btn svg { width: 16px; height: 16px; }

/* ---------- schedule tag ---------- */
.tag { display: inline-block; margin-left: 6px; font-size: 11.5px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--sage); color: var(--ink); vertical-align: 1px; }
.where .tag:first-child { margin-left: 0; }

/* ---------- weather & light ---------- */
.wx-now { display: flex; align-items: center; gap: 12px; }
.wx-icon svg { width: 40px; height: 40px; color: var(--clay-text); display: block; }
.wx-temp { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; display: inline-flex; align-items: flex-start; }
.wx-temp .deg { font-family: var(--sans); font-size: 24px; font-weight: 500; margin-left: 1px; line-height: 1.1; }
.wx-label { font-weight: 600; }
.wx-note { margin: 10px 0 0; }
.sunrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.sunrow > div { background: rgba(251, 248, 242, .66); border-radius: var(--r-md); padding: 10px 12px; display: grid; gap: 2px; align-content: start; }
.sunrow b { font-size: 16px; font-weight: 600; }
.lightbar { position: relative; height: 12px; border-radius: 999px; background: var(--stone); margin-top: 14px; overflow: hidden; }
.lightbar span { position: absolute; top: 0; bottom: 0; }
.lightbar .blue, .sw.blue { background: #B9C4CC; }
.lightbar .gold, .sw.gold { background: #E3C27F; }
.lightbar .day { background: var(--cream); }
.lightbar .now { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; }
.lightbar-ends { display: flex; justify-content: space-between; margin-top: 4px; }
.lightrow { display: grid; grid-template-columns: 12px auto 1fr; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-md); background: rgba(251, 248, 242, .66); font-size: 14.5px; }
.lightrow b { font-weight: 600; }
.lightrow .times { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 12px; row-gap: 2px; text-align: right; }
.lightrow .times span { white-space: nowrap; }
.sw { width: 12px; height: 12px; border-radius: 4px; }

/* ---------- My Studio Books ---------- */
.msb-brand { margin-top: 14px; }
.msb-brand h3 { margin-bottom: 2px; }
.price-row { display: flex; gap: 12px; align-items: flex-start; padding: 9px 12px; border-radius: var(--r-md); background: rgba(251, 248, 242, .66); margin-bottom: 6px; }
.price-row .grow { flex: 1; min-width: 0; display: grid; gap: 2px; }
.price-row b { font-weight: 600; }
.price-tag { font-weight: 600; white-space: nowrap; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.chip.static { cursor: default; }
.toggle-row { padding: 12px 14px; border-radius: var(--r-md); background: var(--sand); }

/* ---------- platforms ---------- */
.plats { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .plats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); text-decoration: none; color: var(--ink); }
.plat .mono { width: 40px; height: 40px; border-radius: 12px; background: rgba(251, 248, 242, .75); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; color: var(--ink-soft); flex: none; }
.plat .grow { flex: 1; min-width: 0; display: grid; gap: 1px; }
.plat b { font-weight: 600; overflow-wrap: anywhere; }
.plat svg { width: 16px; height: 16px; color: var(--ink-soft); flex: none; }
.plat:hover { filter: brightness(.985); }
.plat .mono.haslogo { width: auto; min-width: 40px; max-width: 104px; background: none; padding: 0; }
.plat .mono.haslogo img.logo { display: block; height: 40px; width: auto; max-width: 104px; object-fit: contain; border-radius: 10px; }
.plat .mono i { font-style: normal; }
.plat .mono.haslogo i { display: none; }
.item.is-hidden { opacity: .55; }
.pl-toggles { display: grid; gap: 4px; flex: none; }
@media (max-width: 480px) { .lightrow .times { flex-direction: column; align-items: flex-end; } }
