:root {
  --bg: #0a0a0b;
  --surface: #151517;
  --surface-2: #1e1e21;
  --surface-3: #28282c;
  --line: rgba(255, 255, 255, 0.07);
  --text: #f5f5f6;
  --text-2: rgba(245, 245, 246, 0.58);
  --text-3: rgba(245, 245, 246, 0.34);
  --scrim: rgba(0, 0, 0, 0.55);
  --warm: 255, 196, 128;          /* default light color (≈2700 K), r,g,b */
  --good: #7fd6a4;
  --bad: #ff8a7a;
  --r-xl: 32px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f1f1f3;
    --surface: #ffffff;
    --surface-2: #f4f4f6;
    --surface-3: #e9e9ec;
    --line: rgba(0, 0, 0, 0.06);
    --text: #0c0c0d;
    --text-2: rgba(12, 12, 13, 0.56);
    --text-3: rgba(12, 12, 13, 0.32);
    --scrim: rgba(0, 0, 0, 0.28);
    color-scheme: light;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  overflow: hidden;
}
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }

/* ---- shell ---------------------------------------------------------------- */
#app { position: fixed; inset: 0; }
.view {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--safe-top) + 18px) 16px calc(var(--safe-bottom) + 112px);
  transition: opacity 0.32s var(--ease), transform 0.42s var(--ease-out);
}
.view.off { opacity: 0; transform: translateX(var(--off-x, 24px)) scale(0.985); pointer-events: none; }
.wrap { max-width: 720px; margin: 0 auto; }

.top { display: flex; align-items: flex-end; justify-content: space-between; margin: 6px 4px 18px; }
.title { font-size: 34px; line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; margin: 0; }
.subtitle { margin: 6px 0 0; font-size: 15px; color: var(--text-2); font-weight: 500; letter-spacing: -0.01em; }
.round-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); display: grid; place-items: center;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.round-btn:active { transform: scale(0.9); }
.round-btn svg { width: 20px; height: 20px; }

/* segmented floor filter */
.seg {
  position: relative; display: flex; gap: 2px; padding: 4px; margin: 0 0 16px;
  background: var(--surface); border-radius: 999px; overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button {
  position: relative; z-index: 1; flex: 1 0 auto; height: 34px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--text-2); letter-spacing: -0.01em; white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.seg button.on { color: var(--text); }
.seg .pill {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 999px; background: var(--surface-3);
  transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out);
}

/* ---- room cards ------------------------------------------------------------ */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.section-label {
  grid-column: 1 / -1; margin: 14px 4px 2px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--text-3);
}
.card {
  --lvl: 0; --rgb: var(--warm);
  position: relative; height: 136px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); padding: 14px 16px 15px;
  display: flex; flex-direction: column; justify-content: space-between;
  touch-action: pan-y; isolation: isolate;
  transform: translateZ(0);
  transition: transform 0.35s var(--ease-out), background 0.4s var(--ease);
}
.card.pressed { transform: scale(0.965); }
.card .fill {
  position: absolute; inset: 0; z-index: -1; transform-origin: left center;
  background: rgba(var(--rgb), 0.2);
  transform: scaleX(var(--lvl));
}
.card.on .fill { background: linear-gradient(90deg, rgba(var(--rgb), 0.24), rgba(var(--rgb), 0.46)); box-shadow: inset -1px 0 0 rgba(var(--rgb), 0.55); }
.card .glow {
  position: absolute; z-index: -1; width: 180px; height: 180px; left: -60px; top: -70px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--rgb), 0.7), rgba(var(--rgb), 0));
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.card.on .glow { opacity: calc(0.25 + var(--lvl) * 0.75); }
.card.dragging .fill, .card.dragging .glow { transition: none; }
.card:not(.dragging) .fill { transition: transform 0.55s var(--ease-out), background 0.4s; }
.card .row { display: flex; align-items: center; justify-content: space-between; }
.power {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-3); color: var(--text-2);
  transition: background 0.3s var(--ease), color 0.3s, transform 0.25s var(--ease), box-shadow 0.3s;
}
.power svg { width: 18px; height: 18px; }
.card.on .power { background: rgb(var(--rgb)); color: #1a1206; box-shadow: 0 0 18px rgba(var(--rgb), 0.45); }
.power:active { transform: scale(0.88); }
.pct { font-size: 15px; font-weight: 600; color: var(--text-2); letter-spacing: -0.01em; transition: color 0.3s; }
.card.on .pct { color: var(--text); }
.card .name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.card .sub { font-size: 13px; color: var(--text-2); margin-top: 3px; font-weight: 500; }
.card.unavailable { opacity: 0.45; }
.card .here {
  position: absolute; top: 16px; right: 16px; width: 8px; height: 8px; border-radius: 50%;
  background: rgb(var(--warm)); box-shadow: 0 0 0 0 rgba(var(--warm), 0.6); animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--warm), 0.55); } 70% { box-shadow: 0 0 0 10px rgba(var(--warm), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--warm), 0); } }

/* ---- tab bar ------------------------------------------------------------------- */
.tabbar {
  position: fixed; z-index: 20; left: 50%; bottom: calc(var(--safe-bottom) + 14px); transform: translateX(-50%);
  display: flex; padding: 5px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 0.5px var(--line);
}
.tabbar button {
  position: relative; z-index: 1; height: 48px; min-width: 116px; padding: 0 20px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--text-2); letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}
.tabbar button svg { width: 19px; height: 19px; }
.tabbar button.on { color: var(--text); }
.tabbar .pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px; background: var(--surface-3); will-change: transform; }
.tabbar .dot { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--warm)); margin-left: -2px; opacity: 0; transition: opacity 0.3s; }
.tabbar .dot.live { opacity: 1; }

/* ---- sheet --------------------------------------------------------------------- */
.scrim { position: fixed; inset: 0; z-index: 30; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.scrim.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 31; left: 0; right: 0; bottom: 0; max-width: 720px; margin: 0 auto;
  height: calc(100% - var(--safe-top) - 44px);
  background: var(--surface); border-radius: var(--r-xl) var(--r-xl) 0 0;
  transform: translateY(105%); will-change: transform;
  display: flex; flex-direction: column;
  box-shadow: 0 -10px 60px rgba(0, 0, 0, 0.4);
}
.sheet .grab { flex: none; height: 26px; display: grid; place-items: center; touch-action: none; }
.sheet .grab::before { content: ""; width: 38px; height: 5px; border-radius: 3px; background: var(--surface-3); }
.sheet .head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 20px 6px; touch-action: none; }
.sheet .head h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }
.sheet .head .round-btn { background: var(--surface-2); width: 34px; height: 34px; }
.sheet .head .round-btn svg { width: 16px; height: 16px; }
.sheet .body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 20px calc(var(--safe-bottom) + 28px); }
.sheet .lede { color: var(--text-2); font-size: 15px; margin: 0 0 18px; line-height: 1.4; }

/* big vertical slider */
.hero-ctl { display: flex; flex-direction: column; align-items: center; padding: 6px 0 22px; }
.big-pct { font-size: 52px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 18px; }
.big-pct small { font-size: 24px; font-weight: 600; color: var(--text-2); margin-left: 2px; letter-spacing: 0; }
.vslider {
  --lvl: 0; --rgb: var(--warm);
  position: relative; width: 128px; height: 330px; border-radius: 40px; overflow: hidden;
  background: var(--surface-2); touch-action: none; isolation: isolate;
  transition: transform 0.3s var(--ease-out);
}
.vslider.pressed { transform: scale(1.025); }
.vslider .fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100%; transform-origin: bottom; transform: scaleY(var(--lvl));
  background: linear-gradient(180deg, rgba(var(--rgb), 1), rgba(var(--rgb), 0.82));
}
.vslider:not(.dragging) .fill { transition: transform 0.6s var(--ease-out), background 0.4s; }
.vslider .icon { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 26px; color: var(--text-2); mix-blend-mode: normal; }
.vslider.lit .icon { color: rgba(30, 20, 6, 0.75); }

.hslider {
  --lvl: 0; --rgb: var(--warm);
  position: relative; height: 54px; border-radius: 27px; overflow: hidden; background: var(--surface-2);
  touch-action: pan-y; isolation: isolate;
}
.hslider .fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--lvl)); background: rgba(var(--rgb), 0.9); z-index: -1; }
.hslider:not(.dragging) .fill { transition: transform 0.55s var(--ease-out), background 0.4s; }
.hslider .lbl { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; pointer-events: none; }
.hslider .lbl span:last-child { color: var(--text-2); font-weight: 500; }
.hslider.lit .lbl span:first-child { color: #1b1307; }
.hslider.lit-r .lbl span:last-child { color: rgba(27, 19, 7, 0.62); }

.warmth {
  position: relative; height: 54px; border-radius: 27px; touch-action: none;
  background: linear-gradient(90deg, #ff9d42, #ffd6a1 38%, #fff3e4 62%, #d9e8ff);
}
.warmth .knob, .huering .knob {
  position: absolute; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: transparent; box-shadow: 0 0 0 4px #fff, 0 4px 14px rgba(0, 0, 0, 0.35); pointer-events: none;
  transition: transform 0.25s var(--ease);
}
.warmth.dragging .knob, .huering.dragging .knob { transform: scale(1.15); }

.huering { position: relative; width: 260px; height: 260px; margin: 6px auto 4px; border-radius: 50%; touch-action: none;
  background: conic-gradient(from 90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.huering::after { content: ""; position: absolute; inset: 44px; border-radius: 50%; background: var(--surface); }
.huering .swatch { position: absolute; inset: 70px; border-radius: 50%; z-index: 1; transition: background 0.2s; }
.huering .knob { top: 0; left: 0; margin: -15px 0 0 -15px; z-index: 2; }

.block { margin: 0 0 22px; }
.block-label { display: flex; justify-content: space-between; align-items: baseline; margin: 0 4px 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
.block-label .val { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text-2); font-weight: 500; }
.stack { display: flex; flex-direction: column; gap: 10px; }

.list { background: var(--surface-2); border-radius: var(--r-md); overflow: hidden; }
.list .item { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; position: relative; }
.list .item + .item::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--line); }
.list .item .grow { flex: 1; min-width: 0; }
.list .item .t { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.list .item .d { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.list .item.tap:active { background: var(--surface-3); }
.chev { width: 16px; height: 16px; color: var(--text-3); }

/* iOS-style switch */
.toggle { position: relative; width: 51px; height: 31px; flex: none; border-radius: 16px; background: var(--surface-3); transition: background 0.3s var(--ease); }
.toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); transition: transform 0.35s var(--ease-out); }
.toggle.on { background: rgb(var(--warm)); }
.toggle.on::after { transform: translateX(20px); }

/* ---- presence ------------------------------------------------------------------ */
.pres-hero {
  position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--surface); padding: 22px 20px 20px; margin-bottom: 12px; isolation: isolate;
}
.pres-hero .aura {
  position: absolute; z-index: -1; width: 420px; height: 420px; right: -170px; top: -210px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--warm), 0.32), rgba(var(--warm), 0)); opacity: 0; transform: scale(0.7);
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease-out);
}
.pres-hero.live .aura { opacity: 1; transform: scale(1); }
.pres-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pres-state { font-size: 15px; font-weight: 600; color: var(--text-2); letter-spacing: -0.01em; }
.pres-hero.live .pres-state { color: rgb(var(--warm)); }
.big-toggle { position: relative; width: 76px; height: 44px; border-radius: 22px; background: var(--surface-3); transition: background 0.35s var(--ease); flex: none; }
.big-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); transition: transform 0.45s var(--ease-out); }
.big-toggle.on { background: rgb(var(--warm)); }
.big-toggle.on::after { transform: translateX(32px); }
.where { margin: 18px 0 2px; font-size: 40px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; min-height: 42px; }
.where-sub { font-size: 15px; color: var(--text-2); min-height: 20px; font-weight: 500; }
.where-btn { text-align: left; display: block; }
.conf { height: 4px; border-radius: 2px; background: var(--surface-3); margin: 16px 0 14px; overflow: hidden; }
.conf i { display: block; height: 100%; width: 0; background: rgb(var(--warm)); border-radius: 2px; transition: width 0.6s var(--ease-out); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--surface-2); font-size: 13px; font-weight: 500; color: var(--text-2); }
.chip b { color: var(--text); font-weight: 600; }
.chip .led { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.chip .led.ok { background: var(--good); }
.chip .led.warn { background: rgb(var(--warm)); }
.chip .led.bad { background: var(--bad); }

.map-card { background: var(--surface); border-radius: var(--r-xl); padding: 14px; margin-bottom: 12px; }
.map-card .seg { margin-bottom: 12px; background: var(--surface-2); }
.map-card .seg .pill { background: var(--surface-3); }
.map-canvas { width: 100%; aspect-ratio: 1 / 1; border-radius: 22px; background: var(--surface-2); display: block; }
.map-empty { aspect-ratio: 1.6 / 1; border-radius: 22px; background: var(--surface-2); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--text-2); font-size: 15px; line-height: 1.4; }

.setup .item .badge { font-size: 13px; color: var(--text-2); font-weight: 500; }
.setup { background: var(--surface); }

.note { font-size: 13px; color: var(--text-3); line-height: 1.45; margin: 14px 6px 0; }
.err { color: var(--bad); }

/* calibrate */
.cal { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 8px; }
.ring { position: relative; width: 220px; height: 220px; margin: 10px 0 22px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: var(--surface-2); }
.ring .prog { stroke: rgb(var(--warm)); stroke-linecap: round; transition: stroke-dashoffset 0.5s linear; }
.ring .mid { position: absolute; inset: 0; display: grid; place-content: center; }
.ring .mid .n { font-size: 48px; font-weight: 700; letter-spacing: -0.04em; }
.ring .mid .u { font-size: 13px; color: var(--text-2); font-weight: 500; margin-top: 2px; }
.cal h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.02em; }
.cal p { margin: 0 0 22px; color: var(--text-2); font-size: 15px; line-height: 1.45; max-width: 300px; }

.btn {
  height: 52px; padding: 0 22px; border-radius: 26px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  background: var(--surface-2); transition: transform 0.2s var(--ease), background 0.2s;
}
.btn:active { transform: scale(0.96); }
.btn.primary { background: rgb(var(--warm)); color: #1a1206; }
.btn.wide { width: 100%; }
.btn-row { display: flex; gap: 10px; width: 100%; }
.btn-row .btn { flex: 1; }

.bar { height: 4px; width: 56px; border-radius: 2px; background: var(--surface-3); overflow: hidden; flex: none; }
.bar i { display: block; height: 100%; background: var(--good); border-radius: 2px; }
.bar i.mid { background: rgb(var(--warm)); }
.bar i.low { background: var(--bad); }

.room-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin: 0 -2px; scrollbar-width: none; }
.room-chips::-webkit-scrollbar { display: none; }
.room-chips button { flex: none; height: 38px; padding: 0 16px; border-radius: 19px; background: var(--surface-2); font-size: 14px; font-weight: 600; color: var(--text-2); transition: background 0.25s, color 0.25s; }
.room-chips button.on { background: var(--text); color: var(--bg); }

/* pair */
.pair { position: fixed; z-index: 40; background: var(--bg); inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.pair .mark { width: 72px; height: 72px; border-radius: 22px; background: var(--surface); display: grid; place-items: center; margin-bottom: 26px; }
.pair .mark i { width: 28px; height: 28px; border-radius: 50%; background: rgb(var(--warm)); box-shadow: 0 0 30px rgba(var(--warm), 0.6); }
.pair h1 { font-size: 28px; letter-spacing: -0.025em; margin: 0 0 8px; }
.pair p { color: var(--text-2); margin: 0 0 28px; font-size: 15px; line-height: 1.45; max-width: 300px; }
.code { position: relative; display: flex; gap: 8px; margin-bottom: 18px; }
.code span { width: 36px; height: 50px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; font-size: 24px; font-weight: 600; transition: box-shadow 0.2s; }
.code span.cur { box-shadow: inset 0 0 0 2px rgba(var(--warm), 0.9); }
.code input { position: absolute; inset: 0; opacity: 0; font-size: 16px; }
.pair .msg { min-height: 20px; font-size: 14px; }
.pair .name-in { width: 100%; max-width: 320px; height: 52px; border-radius: 26px; border: 0; padding: 0 20px; margin-bottom: 14px;
  font: inherit; font-size: 17px; text-align: center; background: var(--surface); color: var(--text); outline: none; -webkit-user-select: text; user-select: text; }
.linkish { margin-top: 18px; font-size: 15px; font-weight: 600; color: rgb(var(--warm)); padding: 8px; }

.toast {
  position: fixed; z-index: 50; left: 50%; top: calc(var(--safe-top) + 10px); transform: translate(-50%, -140%);
  padding: 12px 18px; border-radius: 22px; background: var(--surface-3); font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); transition: transform 0.5s var(--ease-out); max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.offline { position: fixed; z-index: 40; left: 50%; top: calc(var(--safe-top) + 8px); transform: translateX(-50%); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 12px; background: var(--surface-3); color: var(--text-2); }

@media (prefers-reduced-motion: reduce) { * { transition-duration: 0.01s !important; animation: none !important; } }

/* ---- presence v2 ------------------------------------------------------------------ */
.scope-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.scope-row > span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.seg.scope { margin: 0; flex: 0 0 auto; background: var(--surface-2); }
.seg.scope button { flex: 0 0 auto; min-width: 82px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.map-card.inset { padding: 0; background: none; margin: 4px 0 16px; }
.pulse-dot { width: 64px; height: 64px; border-radius: 50%; margin: 6px auto 20px; background: rgb(var(--warm)); animation: breathe 1.5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(0.8); opacity: 0.55; box-shadow: 0 0 0 0 rgba(var(--warm), 0.5); } 50% { transform: scale(1); opacity: 1; box-shadow: 0 0 40px 6px rgba(var(--warm), 0.45); } }
.corner-btn {
  width: 168px; height: 168px; border-radius: 50%; background: rgb(var(--warm)); color: #1a1206;
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  box-shadow: 0 10px 40px rgba(var(--warm), 0.35), inset 0 -6px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.18s var(--ease);
}
.corner-btn:active { transform: scale(0.93); }
