/* ==========================================================================
   大锤智联 V2.0 · 工业级 3D 光学拟物虚拟硬件引擎样式（Braun / TE / Apple 质感）
   覆盖 6 款数字孪生：3D 可动食物秤 / 磨砂ITO体脂秤 / 48齿滚花铝旋钮+局刷墨水屏 /
   360° 漫反射补水杯垫+实景陶杯 / 阳极铝微弧翻页笔 / 曜石铝NFC卡+手机贴近感应
   ========================================================================== */

/* ---- Shared Studio Tabletop Stage ---- */
.hws-stage {
  position: relative;
  border-radius: 22px;
  padding: 2.35rem 1.2rem 2.35rem;
  min-height: 306px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.11);
  background:
    radial-gradient(75% 70% at 24% 12%, rgba(255, 255, 255, 0.72), transparent 62%),
    radial-gradient(60% 65% at 86% 90%, rgba(217, 179, 130, 0.18), transparent 65%),
    repeating-linear-gradient(
      90deg,
      rgba(139, 107, 74, 0.025) 0px,
      rgba(139, 107, 74, 0.025) 2px,
      transparent 2px,
      transparent 14px
    ),
    linear-gradient(155deg, #f3ede4 0%, #eae1d4 52%, #e6dfd5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -18px 34px rgba(120, 96, 68, 0.08),
    0 10px 26px rgba(15, 23, 42, 0.06);
  user-select: none;
  -webkit-user-select: none;
}

.hws-stage--stone {
  background:
    radial-gradient(72% 68% at 22% 14%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(62% 60% at 84% 88%, rgba(148, 163, 184, 0.18), transparent 66%),
    linear-gradient(155deg, #f1f4f8 0%, #e5ebf2 54%, #dde4ee 100%);
}

html[data-theme="dark"] .hws-stage {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(70% 68% at 24% 12%, rgba(96, 165, 250, 0.11), transparent 62%),
    radial-gradient(60% 60% at 84% 88%, rgba(245, 158, 11, 0.07), transparent 66%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.015) 0px,
      rgba(255, 255, 255, 0.015) 2px,
      transparent 2px,
      transparent 16px
    ),
    linear-gradient(155deg, #1b2436 0%, #131b2c 55%, #0e1524 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -22px 42px rgba(0, 0, 0, 0.35),
    0 14px 32px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .hws-stage {
    border-color: rgba(255, 255, 255, 0.1);
    background:
      radial-gradient(70% 68% at 24% 12%, rgba(96, 165, 250, 0.11), transparent 62%),
      radial-gradient(60% 60% at 84% 88%, rgba(245, 158, 11, 0.07), transparent 66%),
      repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.015) 0px,
        rgba(255, 255, 255, 0.015) 2px,
        transparent 2px,
        transparent 16px
      ),
      linear-gradient(155deg, #1b2436 0%, #131b2c 55%, #0e1524 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.09),
      inset 0 -22px 42px rgba(0, 0, 0, 0.35),
      0 14px 32px rgba(0, 0, 0, 0.35);
  }
}

.hws-spec-tag {
  position: absolute;
  top: 0.68rem;
  left: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(51, 65, 85, 0.72);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  z-index: 6;
  pointer-events: none;
}
html[data-theme="dark"] .hws-spec-tag {
  color: rgba(203, 213, 225, 0.8);
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .hws-spec-tag {
    color: rgba(203, 213, 225, 0.8);
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

.hws-stage-hint {
  position: absolute;
  bottom: 0.62rem;
  right: 0.78rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(71, 85, 105, 0.78);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(15, 23, 42, 0.07);
  padding: 0.16rem 0.54rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  z-index: 6;
  pointer-events: none;
}
html[data-theme="dark"] .hws-stage-hint {
  color: rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.09);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .hws-stage-hint {
    color: rgba(148, 163, 184, 0.9);
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(255, 255, 255, 0.09);
  }
}

/* Shared Precision Optical LED & Aluminum Tare Hardware Parts */
.hws-led-matrix {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.92),
    0 0 18px rgba(191, 219, 254, 0.62);
  position: relative;
  line-height: 1;
}
.hws-led-matrix small {
  font-size: 0.62em;
  opacity: 0.88;
  margin-left: 0.16em;
}
.hws-led-matrix--onwhite {
  color: #ffffff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 16px rgba(147, 197, 253, 0.55);
}
.hws-led-window {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 11px;
  border-radius: 9px;
  background: linear-gradient(180deg, #0b1120 0%, #172033 100%);
  border: 1px solid rgba(15, 23, 42, 0.32);
  box-shadow:
    inset 0 1px 4px rgba(0, 0, 0, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.85);
}

.hws-micro-leds {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hws-micro-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.35);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25);
  transition: background 0.22s, box-shadow 0.22s;
}
.hws-micro-dot.is-green {
  background: #22c55e;
  box-shadow: 0 0 7px rgba(34, 197, 94, 0.95), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}
.hws-micro-dot.is-amber {
  background: #f59e0b;
  box-shadow: 0 0 7px rgba(245, 158, 11, 0.95), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}
.hws-micro-dot.is-red {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.98), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}
.hws-micro-dot.is-blue {
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.98), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

/* Lathe-Turned Brushed Aluminum TARE Button with Warm Amber Chamfer */
.hws-al-tare {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #d97706;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  background:
    conic-gradient(
      from 15deg,
      #eef2f6 0deg,
      #cbd5e1 55deg,
      #f8fafc 125deg,
      #94a3b8 190deg,
      #f1f5f9 265deg,
      #b8c4d4 325deg,
      #eef2f6 360deg
    );
  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.92),
    0 0 0 1px rgba(245, 158, 11, 0.25);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  position: relative;
}
.hws-al-tare::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.hws-al-tare:hover { filter: brightness(1.04); }
.hws-al-tare:active,
.hws-al-tare.is-pressed {
  transform: scale(0.92) translateY(1px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.24),
    inset 0 2px 4px rgba(15, 23, 42, 0.25);
}

/* Load-cell spring dip animation when placing food */
@keyframes hwsLoadPress {
  0% { transform: translateY(0) scale(1); }
  32% { transform: translateY(3px) scale(0.992); }
  68% { transform: translateY(-0.5px) scale(1.002); }
  100% { transform: translateY(0) scale(1); }
}
.hws-load-press {
  animation: hwsLoadPress 0.34s cubic-bezier(0.22, 0.9, 0.32, 1);
}

/* ==========================================================================
   TWIN 1 · NUTRISCALE POCKET (3 REAL MECHANICAL FORMS: BOOK / WING / FOLIO)
   ========================================================================== */
.hws-scale-scene {
  width: 100%;
  min-height: 238px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 960px;
  padding: 0.9rem 0 0.5rem;
}

/* Ceramic Bowl / Dish Sitting on Scale Pad (replaces ugly dashed emoji box) */
.hws-dish-overlay {
  position: absolute;
  inset: 10% 12%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-10px) scale(0.92);
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.22, 0.9, 0.3, 1);
  z-index: 4;
}
.hws-dish-overlay.has-food {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hws-ceramic-bowl {
  position: relative;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background:
    radial-gradient(68% 64% at 34% 28%, #ffffff 0%, #f4f1ea 62%, #ded8cb 100%);
  border: 2px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 14px 24px rgba(15, 23, 42, 0.24),
    0 4px 8px rgba(15, 23, 42, 0.14),
    inset 0 6px 14px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px;
}
.hws-ceramic-bowl::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: radial-gradient(75% 70% at 40% 35%, #f8fafc 0%, #e8ecf2 100%);
  box-shadow: inset 0 3px 8px rgba(15, 23, 42, 0.12);
}
.hws-bowl-dots {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  max-width: 78px;
}
.hws-bowl-medallion {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.65);
}
.hws-bowl-pill {
  position: relative;
  z-index: 1;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 760;
  color: #334155;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 999px;
  padding: 1px 7px;
}

/* Removable food chips bar neatly docked beneath stage (not pasted on device) */
.hws-active-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-height: 28px;
}
.hws-active-items:empty { display: none; }
.hws-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.2rem 0.56rem;
  border-radius: 999px;
  background: var(--iot-surface);
  border: 1px solid var(--iot-line-strong);
  font-size: 0.75rem;
  font-weight: 640;
  color: var(--iot-ink);
}
.hws-active-chip button {
  border: 0;
  background: transparent;
  color: var(--iot-muted);
  cursor: pointer;
  padding: 0 0.15rem;
  font-size: 0.85rem;
  line-height: 1;
}
.hws-active-chip button:hover { color: var(--iot-rose); }

/* --- 1A. BookFold 3D Clamshell Scale (130x144mm -> 130x72mm with MagSafe back) --- */
.hws-book {
  position: relative;
  width: 268px;
  height: 216px;
  transform-style: preserve-3d;
  transform: rotateX(18deg);
  transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.28, 1);
}
.hws-book.is-folded {
  transform: rotateX(18deg) translateY(-34px);
}
.hws-book-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 268px;
  height: 108px;
  transform-origin: bottom center;
  transform-style: preserve-3d;
  transform: rotateX(0deg);
  transition: transform 0.64s cubic-bezier(0.24, 0.88, 0.26, 1);
  z-index: 3;
}
.hws-book.is-folded .hws-book-top {
  transform: translateZ(14px) rotateX(-180deg);
}
.hws-book-face {
  position: absolute;
  inset: 0;
  border-radius: 16px 16px 4px 4px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #f5f4f0 68%, #eae7df 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 5px 0 #d5d8de,
    0 14px 26px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.hws-book-face--front {
  padding: 16px 10px 8px;
}
.hws-book-pad {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(165deg, #cfd6df 0%, #c2cbd6 100%);
  box-shadow:
    inset 0 2px 5px rgba(15, 23, 42, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.55);
}
.hws-book-face--back {
  transform: rotateX(180deg);
  border-radius: 4px 4px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #fbfaf7 0%, #efede8 72%, #e6e3dc 100%);
  box-shadow:
    0 -5px 0 #cfd3da,
    0 -1px 0 rgba(15, 23, 42, 0.14),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
}
.hws-magsafe-ring {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 4.5px solid rgba(148, 163, 184, 0.42);
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.16),
    0 1px 1px rgba(255, 255, 255, 0.9);
  position: relative;
}
.hws-magsafe-ring::after {
  content: 'MAGSAFE';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: ui-monospace, monospace;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(100, 116, 139, 0.55);
}
.hws-book-hinge {
  position: absolute;
  top: 103px;
  left: 0;
  width: 268px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(180deg, #f8fafc 0%, #94a3b8 38%, #e2e8f0 68%, #64748b 100%);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  z-index: 4;
}
.hws-book-hinge::before,
.hws-book-hinge::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(15, 23, 42, 0.28);
}
.hws-book-hinge::before { left: 26px; }
.hws-book-hinge::after { right: 26px; }

.hws-book-bottom {
  position: absolute;
  top: 108px;
  left: 0;
  width: 268px;
  height: 108px;
  border-radius: 4px 4px 16px 16px;
  padding: 8px 10px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, #ffffff 0%, #f5f4f0 68%, #e8e5dd 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 7px 0 #c9ced8,
    0 18px 34px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: box-shadow 0.55s ease;
  z-index: 2;
}
.hws-book.is-folded .hws-book-bottom {
  box-shadow:
    0 12px 0 #bfc6d2,
    0 22px 38px rgba(15, 23, 42, 0.28);
}
.hws-book-bottom-pad {
  flex: 1;
  border-radius: 10px;
  background: linear-gradient(165deg, #cfd6df 0%, #c2cbd6 100%);
  box-shadow:
    inset 0 2px 5px rgba(15, 23, 42, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.55);
}
.hws-book-bar {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 4px 4px 0;
}
.hws-book-led-wrap {
  margin-right: auto;
  margin-left: 16px;
}
.hws-book-led-wrap .hws-led-matrix {
  font-size: 0.96rem;
}

/* --- 1B. WingScale Mechanical Sliding Wings + Front Tongue --- */
.hws-wing {
  position: relative;
  width: 316px;
  height: 222px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateX(16deg);
}
.hws-wing-side {
  position: absolute;
  top: 26px;
  width: 82px;
  height: 152px;
  border-radius: 14px;
  padding: 8px;
  background: linear-gradient(155deg, #e7ecf2 0%, #cbd5e1 55%, #b6c2d1 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 5px 0 #9aa6b8,
    0 14px 24px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.52s cubic-bezier(0.22, 0.92, 0.28, 1), opacity 0.35s ease;
  z-index: 1;
}
.hws-wing-side-pad {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(165deg, #ced5df 0%, #bfc8d5 100%);
  box-shadow: inset 0 1px 4px rgba(15, 23, 42, 0.14);
}
.hws-wing-side--left {
  left: 68px;
  transform: translateX(-64px);
}
.hws-wing-side--right {
  right: 68px;
  transform: translateX(64px);
}
.hws-wing.is-folded .hws-wing-side--left,
.hws-wing.is-folded .hws-wing-side--right {
  transform: translateX(0);
}

.hws-wing-tongue {
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 176px;
  height: 48px;
  margin-left: -88px;
  border-radius: 0 0 14px 14px;
  padding: 9px 10px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: linear-gradient(160deg, #ffffff 0%, #f1efe9 75%, #e2dfd7 100%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 5px 0 #c6ccd6,
    0 12px 22px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(0);
  transition: transform 0.48s cubic-bezier(0.22, 0.92, 0.28, 1);
  z-index: 2;
}
.hws-wing.is-folded .hws-wing-tongue {
  transform: translateY(-48px);
}
.hws-wing-tongue .hws-led-matrix {
  font-size: 0.88rem;
}

.hws-wing-core {
  position: relative;
  top: -12px;
  width: 184px;
  height: 178px;
  border-radius: 22px;
  padding: 11px;
  background: linear-gradient(155deg, #ffffff 0%, #f5f3ee 72%, #e9e6de 100%);
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow:
    0 9px 0 #cbd2dc,
    0 10px 0 rgba(15, 23, 42, 0.14),
    0 20px 36px rgba(15, 23, 42, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  z-index: 3;
}
.hws-wing-core-pad {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(165deg, #d0d7e0 0%, #c0c9d6 100%);
  box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.15);
  position: relative;
}
.hws-wing-notch {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 34px;
  height: 5px;
  margin-left: -17px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d97706, #f59e0b, #d97706);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* --- 1C. FolioScale Washable Silicone Mat + Magnetic Wrap Pouch --- */
.hws-folio {
  position: relative;
  width: 280px;
  height: 210px;
  transform-style: preserve-3d;
  transform: rotateX(18deg);
  transition: transform 0.56s cubic-bezier(0.22, 0.9, 0.28, 1);
}
.hws-folio.is-folded {
  transform: rotateX(16deg) translateY(-16px);
}
.hws-folio-mat {
  position: absolute;
  top: 0;
  left: 4px;
  width: 272px;
  height: 152px;
  border-radius: 16px 16px 4px 4px;
  background: linear-gradient(175deg, #cad2dc 0%, #bcc6d3 50%, #c6cfd9 100%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 3px 0 #9ea9b8,
    0 12px 22px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform-origin: bottom center;
  transition: transform 0.58s cubic-bezier(0.22, 0.88, 0.28, 1), border-radius 0.45s ease, box-shadow 0.45s ease;
  z-index: 2;
}
.hws-folio-mat::before {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(255, 255, 255, 0.45));
  border-radius: 999px;
}
.hws-folio-wash-tag {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(51, 65, 85, 0.65);
  background: rgba(255, 255, 255, 0.45);
  padding: 2px 7px;
  border-radius: 999px;
}
.hws-folio.is-folded .hws-folio-mat {
  transform: translateY(112px) scaleY(0.56);
  border-radius: 16px;
  box-shadow:
    0 12px 0 #95a1b3,
    0 24px 36px rgba(15, 23, 42, 0.28),
    inset 0 2px 3px rgba(255, 255, 255, 0.55);
  z-index: 4;
}
.hws-folio-clasp {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 56px;
  height: 22px;
  margin-left: -28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #eae7df 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.22);
  opacity: 0;
  transform: translateY(-10px) scale(0.85);
  transition: opacity 0.35s ease 0.22s, transform 0.35s ease 0.22s;
}
.hws-folio-clasp::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: 6px;
  height: 3px;
  border-radius: 999px;
  background: #f59e0b;
}
.hws-folio.is-folded .hws-folio-clasp {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hws-folio-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 280px;
  height: 62px;
  border-radius: 15px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(160deg, #ffffff 0%, #f5f3ee 72%, #e6e3db 100%);
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow:
    0 7px 0 #c6cdd8,
    0 18px 34px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  z-index: 3;
}
.hws-folio-bar .hws-led-matrix {
  font-size: 1.18rem;
}
.hws-folio-usbc {
  position: absolute;
  right: -3px;
  top: 50%;
  width: 4px;
  height: 14px;
  margin-top: -7px;
  border-radius: 2px;
  background: #334155;
}

/* ==========================================================================
   TWIN 2 · BODYSCALE (FROSTED ITO TEMPERED GLASS + 4 ELECTRODES + OPTICAL HALO)
   ========================================================================== */
.hws-body-deck {
  position: relative;
  width: 242px;
  height: 242px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(242, 246, 251, 0.94) 48%, rgba(227, 234, 243, 0.96) 100%);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 8px 0 #c7d0dc,
    0 24px 44px rgba(15, 23, 42, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.26s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.hws-body-deck.is-stepped {
  transform: scale(0.985) translateY(3px);
}
.hws-body-ito-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hws-body-sheen {
  position: absolute;
  inset: -25%;
  background: linear-gradient(125deg, transparent 36%, rgba(255, 255, 255, 0.62) 48%, transparent 58%);
  pointer-events: none;
}
.hws-body-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}
.hws-optical-halo {
  position: relative;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.45s ease, border-color 0.45s ease;
}
.hws-optical-halo::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 9px solid currentColor;
  filter: blur(7px);
  opacity: 0.72;
  animation: hwsHaloBreathe 2.8s ease-in-out infinite;
}
.hws-optical-halo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid currentColor;
  opacity: 0.92;
  box-shadow: inset 0 0 18px currentColor;
}
.hws-optical-halo[data-tone="green"] { color: #10b981; }
.hws-optical-halo[data-tone="amber"] { color: #f59e0b; }
.hws-optical-halo[data-tone="blue"] { color: #38bdf8; }
@keyframes hwsHaloBreathe {
  0%, 100% { transform: scale(0.97); opacity: 0.62; }
  50% { transform: scale(1.04); opacity: 0.92; }
}
.hws-body-digits {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #0f172a;
  text-shadow: 0 0 14px rgba(37, 99, 235, 0.22);
  font-variant-numeric: tabular-nums;
}
.hws-body-digits small {
  font-size: 0.92rem;
  color: #475569;
  margin-left: 0.16rem;
}
.hws-body-caption {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  background: rgba(255, 255, 255, 0.62);
  padding: 0.18rem 0.62rem;
  border-radius: 999px;
}
.hws-body-sparkline {
  width: 142px;
  height: 28px;
  margin-top: 0.35rem;
}

/* ==========================================================================
   TWIN 3 · FOCUS KNOB (48-TOOTH CNC KNURLED ALUMINUM DIAL + E-INK FLASH)
   ========================================================================== */
.hws-knob-unit {
  position: relative;
  width: min(444px, 100%);
  padding: 15px 16px 15px 15px;
  border-radius: 24px;
  background: linear-gradient(155deg, #fbfaf7 0%, #efede7 65%, #e3e0d8 100%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 9px 0 #c5cbd6,
    0 24px 44px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) auto;
  gap: 16px;
  align-items: center;
}

/* Recessed 2.13" E-Paper Display */
.hws-eink-bezel {
  padding: 6px;
  border-radius: 15px;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.85);
}
.hws-eink-panel {
  position: relative;
  border-radius: 10px;
  padding: 10px 11px;
  min-height: 156px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 60%),
    repeating-linear-gradient(0deg, rgba(24, 28, 26, 0.018) 0px, rgba(24, 28, 26, 0.018) 1px, transparent 1px, transparent 3px),
    #e5e7df;
  color: #161a18;
  font-family: ui-monospace, 'SF Mono', 'PingFang SC', monospace;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.16);
  transition: filter 0.08s linear;
}
.hws-eink-panel.is-flashing {
  filter: invert(1) contrast(1.4);
}
.hws-eink-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.66rem;
  font-weight: 700;
  opacity: 0.74;
  border-bottom: 1.5px solid rgba(22, 26, 24, 0.22);
  padding-bottom: 4px;
  margin-bottom: 7px;
}
.hws-eink-clock {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.hws-eink-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3px;
  font-size: 0.74rem;
  line-height: 1.35;
}
.hws-eink-list li.is-done {
  text-decoration: line-through;
  opacity: 0.48;
}

/* Precision CNC 48-Tooth Knurled Aluminum Rotary Dial */
.hws-dial-bay {
  position: relative;
  width: 144px;
  height: 158px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hws-dial-scale {
  position: relative;
  width: 138px;
  height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hws-dial-ticks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hws-dial-knob {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 12px 16px rgba(15, 23, 42, 0.3));
  transition: transform 0.1s ease;
}
.hws-dial-knob:active,
.hws-dial-knob.is-dragging {
  cursor: grabbing;
}
.hws-dial-knob.is-pressed {
  transform: scale(0.955);
  filter: drop-shadow(0 5px 8px rgba(15, 23, 42, 0.28));
}
.hws-dial-rotor {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: transform 0.14s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.hws-dial-knob.is-dragging .hws-dial-rotor {
  transition: none;
}
.hws-dial-cap {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background:
    conic-gradient(
      from 30deg,
      #f8fafc 0deg,
      #cbd5e1 48deg,
      #ffffff 105deg,
      #94a3b8 170deg,
      #f1f5f9 235deg,
      #b6c2d2 300deg,
      #f8fafc 360deg
    );
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, 0.9),
    inset 0 -3px 6px rgba(15, 23, 42, 0.22);
}
.hws-dial-cap::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.hws-dial-marker {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 6px;
  height: 15px;
  margin-left: -3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fbbf24, #d97706);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 0 8px rgba(245, 158, 11, 0.5);
}
.hws-dial-center-label {
  position: relative;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* Cobalt Mechanical Side Switch protruding from Right Edge */
.hws-side-key {
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 54px;
  border-radius: 0 7px 7px 0;
  border: 1px solid #1d4ed8;
  border-left: 0;
  background: linear-gradient(90deg, #1e40af 0%, #2563eb 45%, #60a5fa 100%);
  box-shadow:
    3px 4px 10px rgba(37, 99, 235, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: transform 0.1s ease, width 0.1s ease;
}
.hws-side-key:hover { filter: brightness(1.08); }
.hws-side-key:active {
  transform: translateY(-50%) translateX(-4px);
}
.hws-coin-spark {
  position: absolute;
  right: 8px;
  top: 10px;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: #f59e0b;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.45);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.hws-coin-spark.is-pop {
  opacity: 1;
  transform: translateY(-8px);
}

/* ==========================================================================
   TWIN 4 · HYDRATION COASTER (360° TABLETOP AMBIENT BLEED + CERAMIC MUG)
   ========================================================================== */
.hws-coaster-scene {
  position: relative;
  width: 280px;
  height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
}
.hws-coaster-glow {
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 228px;
  height: 82px;
  margin-left: -114px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(148, 163, 184, 0.35) 0%, transparent 72%);
  filter: blur(12px);
  transition: background 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.hws-coaster-scene.is-alert .hws-coaster-glow {
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.92) 0%, rgba(2, 132, 199, 0.42) 48%, transparent 76%);
  animation: hwsIcePulse 2.1s ease-in-out infinite;
}
.hws-coaster-scene.is-done .hws-coaster-glow {
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.85) 0%, rgba(5, 150, 105, 0.32) 48%, transparent 76%);
}
@keyframes hwsIcePulse {
  0%, 100% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}
.hws-coaster-disc {
  position: relative;
  width: 210px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 42% 34%, #ffffff 0%, #eceef2 66%, #d5dce6 100%);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 9px 0 #b8c2d0,
    0 11px 0 rgba(15, 23, 42, 0.14),
    0 18px 28px rgba(15, 23, 42, 0.22),
    inset 0 3px 8px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.35s ease;
}
.hws-coaster-scene.is-alert .hws-coaster-disc {
  box-shadow:
    0 9px 0 #7dd3fc,
    0 12px 28px rgba(56, 189, 248, 0.65),
    inset 0 2px 6px rgba(2, 132, 199, 0.14);
}
.hws-coaster-scene.is-done .hws-coaster-disc {
  box-shadow:
    0 9px 0 #6ee7b7,
    0 12px 28px rgba(16, 185, 129, 0.55),
    inset 0 2px 6px rgba(5, 150, 105, 0.14);
}
.hws-coaster-well {
  position: absolute;
  inset: 10px 24px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.045), transparent 72%);
}
.hws-mug-shadow {
  position: absolute;
  bottom: 42px;
  left: 50%;
  width: 112px;
  height: 30px;
  margin-left: -56px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.34) 0%, transparent 72%);
  transition: transform 0.34s ease, opacity 0.34s ease;
  pointer-events: none;
}
.hws-coaster-scene.is-lifted .hws-mug-shadow {
  transform: scale(0.76);
  opacity: 0.45;
}
.hws-mug-wrap {
  position: absolute;
  bottom: 44px;
  left: 50%;
  width: 138px;
  height: 148px;
  margin-left: -62px;
  transform-origin: center bottom;
  transition: transform 0.36s cubic-bezier(0.22, 0.9, 0.3, 1);
  pointer-events: none;
  z-index: 3;
}
.hws-coaster-scene.is-lifted .hws-mug-wrap {
  transform: translateY(-38px) rotate(-13deg);
}
.hws-coaster-readout {
  position: absolute;
  bottom: 0.62rem;
  left: 0.78rem;
  font-family: ui-monospace, monospace;
  font-size: 0.74rem;
  font-weight: 760;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.18rem 0.62rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
html[data-theme="dark"] .hws-coaster-readout {
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   TWIN 5 · SLIDE CLICKER PRO (SCULPTED ALUMINUM WAND + SMOKED OLED + HAPTICS)
   ========================================================================== */
.hws-wand-wrap {
  position: relative;
  width: min(410px, 100%);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hws-haptic-wave {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 74px;
  margin-top: -37px;
  border: 2.5px solid #f59e0b;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.hws-haptic-wave--l { left: 2px; border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.hws-haptic-wave--r { right: 2px; border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.hws-wand-wrap.is-buzz .hws-haptic-wave {
  animation: hwsBuzzArc 0.55s ease-out 2;
}
@keyframes hwsBuzzArc {
  0% { transform: scale(0.8); opacity: 0.95; }
  100% { transform: scale(1.65); opacity: 0; }
}
.hws-wand-body {
  position: relative;
  width: min(378px, 100%);
  height: 86px;
  border-radius: 44px;
  padding: 0 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f3f7 44%, #dde2ea 82%, #c9d1dd 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 10px 0 #aeb8c7,
    0 24px 40px rgba(15, 23, 42, 0.25),
    inset 0 2px 3px rgba(255, 255, 255, 0.96),
    inset 0 -3px 6px rgba(15, 23, 42, 0.14);
}
.hws-wand-wrap.is-buzz .hws-wand-body {
  animation: hwsWandVibe 0.08s linear 7;
}
@keyframes hwsWandVibe {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-3px, 1px, 0); }
  75% { transform: translate3d(3px, -1px, 0); }
}
.hws-wand-oled {
  flex: 1;
  min-width: 0;
  height: 50px;
  border-radius: 25px;
  padding: 6px 15px;
  background: linear-gradient(180deg, #050811 0%, #0d1526 100%);
  border: 1.5px solid rgba(15, 23, 42, 0.42);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.78);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.hws-wand-oled-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.hws-wand-oled-time {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 1.18rem;
  font-weight: 800;
  color: #f8fafc;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.65);
  font-variant-numeric: tabular-nums;
}
.hws-wand-oled-page {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
}
.hws-wand-oled-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
}
.hws-wand-oled-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #fbbf24);
  transition: width 0.3s ease;
}
.hws-wand-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.hws-wand-prev {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #dde3ec 100%);
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    0 3px 6px rgba(15, 23, 42, 0.16),
    inset 0 1px 2px rgba(255, 255, 255, 0.9);
  transition: transform 0.1s ease;
}
.hws-wand-prev:active { transform: scale(0.92); }
.hws-wand-next {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #d97706;
  background: radial-gradient(circle at 50% 65%, #fbbf24 0%, #f59e0b 62%, #d97706 100%);
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 5px 14px rgba(245, 158, 11, 0.45),
    inset 0 4px 8px rgba(180, 83, 9, 0.28),
    inset 0 -2px 4px rgba(255, 251, 235, 0.55);
  transition: transform 0.1s ease;
}
.hws-wand-next:active { transform: scale(0.93); }

/* ==========================================================================
   TWIN 6 · NFC SMART TAG (OBSIDIAN ALUMINUM CARD + FROSTED DISCS + PHONE TAP)
   ========================================================================== */
.hws-nfc-stage-inner {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: grid;
  gap: 14px;
  padding-top: 10px;
}
.hws-nfc-top {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.hws-obsidian-card {
  position: relative;
  height: 98px;
  border-radius: 14px;
  padding: 10px 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, transparent 45%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    linear-gradient(145deg, #1f2937 0%, #0f172a 58%, #070b14 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 5px 0 #020617,
    0 14px 26px rgba(15, 23, 42, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hws-obsidian-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #94a3b8;
}
.hws-obsidian-card-foot strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}
.hws-obsidian-card-foot small {
  font-size: 0.65rem;
  color: #93c5fd;
}

/* Dynamic Island Live NFC Notification Preview */
.hws-phone-toast {
  background: #0b1120;
  color: #f8fafc;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
  display: grid;
  gap: 3px;
  transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.hws-phone-toast.is-ping {
  transform: scale(1.03);
}
.hws-phone-toast-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #60a5fa;
}
.hws-phone-toast strong { font-size: 0.84rem; line-height: 1.3; }
.hws-phone-toast small { font-size: 0.7rem; color: #94a3b8; }

.hws-nfc-discs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.hws-nfc-disc-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 6px 8px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.56);
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
html[data-theme="dark"] .hws-nfc-disc-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .hws-nfc-disc-btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
  }
}
.hws-nfc-disc-btn:hover { transform: translateY(-2px); border-color: var(--iot-cobalt); }
.hws-nfc-disc-btn.is-active {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}
.hws-nfc-puck {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ffffff 0%, #eef2f6 68%, #dde3ec 100%);
  border: 2px solid #ffffff;
  box-shadow:
    0 5px 0 #c6cdd8,
    0 12px 18px rgba(15, 23, 42, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
}
.hws-nfc-puck::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(37, 99, 235, 0.28);
}
.hws-nfc-rf {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #2563eb;
  opacity: 0;
  pointer-events: none;
}
.hws-nfc-disc-btn.is-active .hws-nfc-rf {
  animation: hwsRfWave 1.5s ease-out infinite;
}
@keyframes hwsRfWave {
  0% { transform: scale(0.92); opacity: 0.85; }
  100% { transform: scale(1.42); opacity: 0; }
}
.hws-nfc-disc-btn strong { font-size: 0.78rem; line-height: 1.25; }
.hws-nfc-disc-btn small { font-size: 0.67rem; opacity: 0.72; }

/* ---- Mobile & Reduced Motion Polish ---- */
@media (max-width: 640px) {
  .hws-stage { padding: 2.15rem 0.65rem 2rem; min-height: 274px; }
  .hws-book { transform: rotateX(18deg) scale(0.88); }
  .hws-book.is-folded { transform: rotateX(18deg) translateY(-22px) scale(0.88); }
  .hws-wing { transform: rotateX(16deg) scale(0.84); }
  .hws-folio { transform: rotateX(18deg) scale(0.86); }
  .hws-folio.is-folded { transform: rotateX(16deg) translateY(-14px) scale(0.86); }
  .hws-knob-unit {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  .hws-dial-bay { margin-inline: auto; height: 142px; }
  .hws-side-key { right: -10px; height: 46px; }
  .hws-nfc-top { grid-template-columns: 1fr; }
  .hws-wand-body { height: 78px; padding: 0 12px 0 14px; gap: 8px; }
  .hws-wand-next { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .hws-optical-halo::before,
  .hws-coaster-scene.is-alert .hws-coaster-glow,
  .hws-nfc-disc-btn.is-active .hws-nfc-rf,
  .hws-wand-wrap.is-buzz .hws-wand-body,
  .hws-wand-wrap.is-buzz .hws-haptic-wave,
  .hws-load-press {
    animation: none !important;
  }
}
