/* ==========================================================================
   THESHEEUM · Routine Block — Pure White Editorial & High-Craft Motion CSS
   Keywords: White · Refined · Luxurious · Minimal · Intuitive
   ========================================================================== */

:root {
  color-scheme: light;

  /* Editorial Apple Store Korea Light Gray Canvas & Crisp White Surfaces */
  --bg-page: #f5f5f7;
  --bg-white: #ffffff;
  --bg-subtle: #e8e8ed;
  --bg-canvas: #f5f5f7;

  /* Hairline Borders */
  --border-hairline: #e5e5ea;
  --border-frame: #e5e5ea;
  --border-burgundy-soft: #e5d4d8;

  /* Typography Colors */
  --text-ink: #1d1d1f;
  --text-body: #424245;
  --text-muted: #6e6e73;
  --text-ruler-hour: #6d727c;
  --text-ruler-tick: #b5b8c0;

  /* Brand & Point Accents (Theme Green #289672 from Ref Images 3, 4, 5) */
  --app-theme: #289672;
  --app-theme-hover: #1f785b;
  --app-theme-tint: #edf7f3;
  --point-burgundy: #8c2d46;
  --point-burgundy-hover: #732238;
  --point-burgundy-tint: #fdf7f8;
  --point-coralred: #e04f5f;
  --point-coolgray: #8e95a2;
  --point-purple: #8b5cf6;
  --thesheeum-blue: #0088ce;
  --thesheeum-cyan: #18b5d9;

  /* Exact Pastel Block Palette from Routine Block Web App */
  --pastel-sand-bg: #f7efe6;
  --pastel-sand-border: #e6d3be;
  --pastel-sand-text: #3d342c;

  --pastel-rosebeige-bg: #f4eae6;
  --pastel-rosebeige-border: #dfc9c1;
  --pastel-rosebeige-text: #3d312d;

  --pastel-apricot-bg: #fbf1e4;
  --pastel-apricot-border: #ead5b8;
  --pastel-apricot-text: #423628;

  --pastel-mintsky-bg: #e9f3f6;
  --pastel-mintsky-border: #c5dfe7;
  --pastel-mintsky-text: #243d46;

  --pastel-iceblue-bg: #e8f1f8;
  --pastel-iceblue-border: #c2d8ec;
  --pastel-iceblue-text: #1f3547;

  --pastel-lavender-bg: #f2ecf9;
  --pastel-lavender-border: #d8c8ec;
  --pastel-lavender-text: #382a4b;

  --pastel-lilac-bg: #f3eef8;
  --pastel-lilac-border: #dcd0eb;
  --pastel-lilac-text: #3b2f4a;

  /* Split Overlay Card Tokens (Image 2 Exact Match) */
  --split-gray-bg: #eff3f6;
  --split-gray-border: #dce3eb;
  --split-coral-bg: #faedee;
  --split-coral-border: #f1d2d6;

  /* Physics & Shadows */
  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 20px 50px -15px rgba(24, 24, 26, 0.06), 0 1px 3px rgba(24, 24, 26, 0.03);
  --shadow-elevated: 0 14px 32px -6px rgba(24, 24, 26, 0.12), 0 2px 6px rgba(24, 24, 26, 0.05);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  background-color: var(--bg-page);
  color: var(--text-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  word-break: keep-all;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   SINGLE-LINE LOCK (Zero 2-line wraps on all buttons, tabs, pills & badges)
   ========================================================================== */
.gnb-menu-btn,
.gnb-logo-link,
.gnb-product-label,
.home-collab-lockup,
.home-collab-product,
.rb-brand-title,
.rb-nav-item,
.rb-util-item,
.rb-new-routine-pill,
.rb-range-pill,
.rb-section-pill,
.rb-day-tab,
.step-pill,
.step-pill span,
.todo-add-btn,
.tp-pill,
.tf-pill,
.todo-time-unset,
.memo-new-btn,
.memo-tab,
.rolling-pill,
.clock-date-pill,
.memo-stat-pill,
.popover-item,
.rb-dock-item,
.dock-label,
.memo-yt-action-btn,
.footer-legal-btn {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   1. GLOBAL NAVIGATION BAR (Minimal White Header)
   ========================================================================== */
.gnb-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-hairline);
}

.gnb-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.46rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.gnb-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: opacity 0.2s ease;
}

.gnb-logo-link:hover {
  opacity: 0.82;
}

.gnb-logo-img {
  height: 19px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  /* Optical vertical alignment so 'THE쉬움' letters align flush with 'Routine Block' baseline & separator bar */
  transform: translateY(1.5px);
}

.gnb-product-label {
  font-size: 0.9375rem; /* 15px — Harmonized cap-height with compact THE쉬움 wordmark */
  font-weight: 700;
  line-height: 18px;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
}

.gnb-logo-sep {
  width: 1.5px;
  height: 15px;
  border-radius: 1px;
  background: #cbd5e1;
  flex-shrink: 0;
}

.gnb-product-label {
  color: var(--text-body);
}

.gnb-menu-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gnb-menu-btn {
  position: relative;
  padding: 0.34rem 0.82rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-body);
  transition: color 0.22s var(--ease-apple), background-color 0.22s var(--ease-apple);
}

.gnb-menu-btn:hover {
  color: var(--text-ink);
  background: var(--bg-page);
}

.gnb-menu-btn[aria-current="page"] {
  color: var(--point-burgundy);
  font-weight: 700;
  background: var(--point-burgundy-tint);
}

.gnb-menu-btn[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 28%;
  right: 28%;
  border-block-end: 2px solid var(--point-burgundy);
  border-radius: 2px;
}

/* ==========================================================================
   2. VIEW SWITCHING ARCHITECTURE
   ========================================================================== */
.main-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.app-view {
  width: 100%;
  margin-block: auto;
  animation: view-fade-enter 0.38s var(--ease-apple);
}

.app-view[hidden] {
  display: none !important;
}

@keyframes view-fade-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   3. HOME VIEW — One-Shape Morphing Container & 6-Step Motion Stage
   ========================================================================== */
.home-stage-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(0.42rem, 1.15dvh, 0.8rem) 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-minimal-head {
  text-align: center;
  margin-bottom: clamp(0.32rem, 0.75dvh, 0.55rem);
}

.home-collab-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  margin-bottom: clamp(0.14rem, 0.35dvh, 0.28rem);
}

.home-collab-logo {
  height: clamp(22px, 3.0dvh, 28px);
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  /* Compensate speech-bubble tail space inside 240-unit SVG so 'THE쉬움' aligns flush with 'Routine Block' */
  transform: translateY(2px);
}

.home-collab-x {
  font-size: clamp(0.9rem, 1.6dvh, 1.05rem);
  font-weight: 500;
  line-height: 1;
  color: #94a3b8;
  user-select: none;
}

.home-collab-product {
  font-size: clamp(1.1rem, 2.35dvh, 1.38rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-ink);
}

.home-headline {
  font-size: clamp(0.84rem, min(1.22vw, 1.85dvh), 1.06rem);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -0.025em;
  color: #6e6e73;
  text-wrap: balance;
}

.hl-topic {
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.03em;
}

.hl-muted {
  color: #6e6e73;
  font-weight: 600;
}

.hl-em {
  color: var(--point-burgundy);
  font-weight: 600;
}

.motion-stage-slot {
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* One-Shape Morphing Compact iPad Mockup Container (Authentic iPad Aspect Ratio 10:7 matching real app) */
.motion-canvas-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: var(--bg-white);
  border: 1px solid var(--border-frame);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  user-select: none;
}

.motion-canvas-frame.ipad-compact-mockup {
  padding: 10px 10px 12px;
  background: linear-gradient(145deg, #27272a 0%, #18181b 100%);
  border: 2px solid #3f3f46;
  border-radius: 26px;
  box-shadow:
    0 24px 56px rgba(15, 23, 42, 0.18),
    0 4px 14px rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.ipad-bezel-camera {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3f3f46;
  box-shadow: inset 0 0 0 1px #09090b;
  z-index: 65;
  pointer-events: none;
}

.ipad-home-indicator {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 116px;
  height: 3.5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  z-index: 65;
  pointer-events: none;
}

.motion-canvas-frame.ipad-compact-mockup .rb-workspace-surface {
  border-radius: 14px;
  overflow: hidden;
}

/* Layer 1: Authentic iPadOS Home Screen Intro View (Ref Image 1 & 2) */
.layer-icon-launch {
  position: absolute;
  inset: 10px 10px 12px;
  border-radius: 14px;
  z-index: 20;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 20px 14px;
  opacity: 0;
  pointer-events: none;
  transform-origin: center center;
}

.ipados-wallpaper-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.ipados-statusbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
}

.ipados-sb-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ipados-sb-right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ipados-bat-pct {
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.ipados-bat-shell {
  width: 21px;
  height: 10px;
  border-radius: 3px;
  border: 1.3px solid rgba(255, 255, 255, 0.85);
  padding: 1px;
  display: inline-flex;
  align-items: center;
}

.ipados-bat-fill {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 1.5px;
}

.ipados-intro-dimmer {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: rgba(9, 13, 24, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.ipados-intro-dimmer.is-active {
  opacity: 1;
}

.ipados-home-body {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 22px;
  align-items: start;
  flex: 1;
  padding-top: 8px;
}

/* Left Today View Widgets Column */
.ipados-widgets-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ipados-clock-block {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  margin-bottom: 2px;
}

.ipados-big-time {
  font-size: 2.85rem;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.ipados-date-sub {
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.96;
  margin-top: 2px;
}

.ipados-widget-row-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

/* Routine Block 2x2 Compact Widget (Attachment 2 Top Circle) */
.ipados-rb-widget-small {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 18px;
  padding: 11px 12px;
  height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  color: #18181b;
  transform-origin: center center;
  transition: box-shadow 0.22s ease;
}

.rbw-zone-head {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #b45309;
}

.rbw-zone-label {
  color: #6b2135;
}

.rbw-task-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #18181b;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.rbw-check-box {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #22c55e;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rbw-countdown-num {
  font-size: 1.48rem;
  font-weight: 800;
  color: var(--point-burgundy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.rbw-next-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #78716c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rbw-mini-ring {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #e7d6db;
  border-top-color: var(--point-burgundy);
  flex-shrink: 0;
}

/* Apple Weather 2x2 Widget */
.ipados-weather-widget {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #2177d4 0%, #5da8ef 100%);
  border-radius: 18px;
  padding: 11px 13px;
  height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.iw-city {
  font-size: 0.76rem;
  font-weight: 700;
}

.iw-temp {
  font-size: 2.15rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

.iw-cond {
  font-size: 0.7rem;
  font-weight: 600;
}

.iw-hilo {
  font-size: 0.64rem;
  opacity: 0.88;
}

/* Routine Block 4x2 Medium Timeline Widget (Attachment 2 Middle Circle) */
.ipados-rb-widget-medium {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr 1px 1.15fr;
  gap: 11px;
  align-items: center;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
  color: #18181b;
  transform-origin: center center;
  transition: box-shadow 0.22s ease;
}

.rbwm-left {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rbwm-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rbwm-status-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.rbwm-now-lbl {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--point-burgundy);
}

.rbwm-zone-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: #78716c;
}

.rbwm-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.rbwm-rem-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.rbwm-rem-num {
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--point-burgundy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rbwm-rem-unit {
  font-size: 0.66rem;
  font-weight: 600;
  color: #78716c;
}

.rbwm-divider {
  width: 1px;
  height: 92px;
  background: #eceaf0;
}

.rbwm-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rbwm-date-hdr {
  font-size: 0.66rem;
  font-weight: 700;
  color: #9ca3af;
}

.rbwm-upcoming-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rbwm-up-time {
  font-size: 0.58rem;
  font-weight: 600;
  color: #78716c;
}

.rbwm-up-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.rbwm-up-title {
  font-size: 0.64rem;
  font-weight: 700;
  color: #18181b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rbwm-up-tag {
  font-size: 0.55rem;
  font-weight: 700;
  color: #8C2D46;
  background: #faecef;
  padding: 1px 5px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Bottom Focus / Soundscape Mini Widget */
.ipados-music-widget {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.imw-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.imw-cover {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #27272a 0%, #8c2d46 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.imw-title-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.imw-title-wrap strong {
  font-size: 0.72rem;
  font-weight: 800;
  color: #18181b;
}

.imw-title-wrap span {
  font-size: 0.6rem;
  color: #78716c;
}

.imw-music-note {
  color: var(--point-burgundy);
  font-weight: 800;
  font-size: 0.82rem;
}

.imw-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.imw-thumb {
  height: 36px;
  border-radius: 7px;
  display: inline-flex;
  align-items: flex-end;
  padding: 4px 5px;
  font-size: 0.56rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.94);
}

.imw-thumb.t1 { background: linear-gradient(135deg, #d97757, #eab308); }
.imw-thumb.t2 { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.imw-thumb.t3 { background: linear-gradient(135deg, #047857, #34d399); }
.imw-thumb.t4 { background: linear-gradient(135deg, #581c87, #8b5cf6); }

/* Right App Icon Grid (6x4 Squircles) */
.ipados-apps-col {
  padding-top: 4px;
}

.ipados-apps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  row-gap: 16px;
  column-gap: 14px;
  justify-items: center;
}

.ios-app-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.ios-squircle {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.22);
  transition: box-shadow 0.22s ease;
}

.ios-app-label {
  font-size: 0.67rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.ios-routine-label {
  font-weight: 800;
}

/* iPadOS Icon Finishes */
.sq-green { background: linear-gradient(180deg, #4ade80 0%, #16a34a 100%); }
.sq-white { background: #ffffff; }
.sq-dark { background: linear-gradient(180deg, #27272a 0%, #09090b 100%); }
.sq-cream { background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%); }
.sq-silver { background: linear-gradient(180deg, #e2e8f0 0%, #94a3b8 100%); }
.sq-blue { background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%); }
.sq-orange { background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%); }
.sq-purple { background: linear-gradient(180deg, #c084fc 0%, #7e22ce 100%); }
.sq-red { background: linear-gradient(180deg, #fb7185 0%, #e11d48 100%); }
.sq-white-blue { background: #ffffff; }
.sq-safari { background: linear-gradient(180deg, #38bdf8 0%, #0369a1 100%); }
.sq-contacts { background: linear-gradient(180deg, #f8fafc 0%, #cbd5e1 100%); }
.sq-map { background: #e2e8f0; }

.sq-calendar {
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.sq-cal-day {
  font-size: 0.54rem;
  font-weight: 800;
  color: #ef4444;
}

.sq-cal-num {
  font-size: 1.4rem;
  font-weight: 500;
  color: #18181b;
}

.sq-clock-face {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  position: relative;
}

.sq-hand-h,
.sq-hand-m,
.sq-hand-s {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform-origin: bottom center;
  border-radius: 2px;
}

.sq-hand-h { width: 2.2px; height: 11px; background: #18181b; transform: translateX(-50%) rotate(-50deg); }
.sq-hand-m { width: 1.8px; height: 15px; background: #18181b; transform: translateX(-50%) rotate(55deg); }
.sq-hand-s { width: 1px; height: 17px; background: #f59e0b; transform: translateX(-50%) rotate(160deg); }

.sq-notes {
  background: #ffffff;
  flex-direction: column;
  justify-content: flex-start;
}

.sq-notes-top {
  width: 100%;
  height: 28%;
  background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
  border-bottom: 1.5px dashed #cbd5e1;
}

.sq-notes-lines {
  flex: 1;
  width: 100%;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 7px, #e2e8f0 7px, #e2e8f0 8px);
}

.sq-radar {
  background: #dcfce7;
}

.radar-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.35), rgba(34, 197, 94, 0.08));
  border: 2px solid #22c55e;
}

.radar-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  border: 2px solid #ffffff;
}

.sq-news {
  background: #ffffff;
}

.sq-news-n {
  font-size: 1.5rem;
  font-weight: 900;
  color: #e11d48;
  font-family: Georgia, serif;
}

/* Signature Burgundy Routine App Icon & Spotlight Focus Rules */
.launch-burgundy-box,
.sq-routine-burgundy {
  background: linear-gradient(155deg, #9d3451 0%, var(--point-burgundy) 100%);
  box-shadow: 0 8px 20px rgba(140, 45, 70, 0.36), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.ipados-rb-widget-small.is-home-spotlight,
.ipados-rb-widget-medium.is-home-spotlight {
  z-index: 12 !important;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.96),
    0 0 0 6.5px rgba(140, 45, 70, 0.48),
    0 20px 38px rgba(0, 0, 0, 0.34) !important;
}

.ios-routine-target.is-home-spotlight {
  z-index: 12 !important;
}

.ios-routine-target.is-target-active .sq-routine-burgundy,
.ios-routine-target.is-home-spotlight .sq-routine-burgundy {
  box-shadow:
    0 0 0 3.5px rgba(255, 255, 255, 0.96),
    0 0 0 7px rgba(140, 45, 70, 0.46),
    0 14px 28px rgba(0, 0, 0, 0.34);
}

.home-spotlight-pill {
  position: absolute;
  top: -12px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3.5px 9px;
  border-radius: 999px;
  background: #18181b;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(4px) scale(0.95);
  transition: opacity 0.2s ease, transform 0.22s var(--ease-apple);
  pointer-events: none;
  z-index: 15;
}

.home-spotlight-pill.pill-bottom {
  top: -12px;
  left: 12px;
}

.home-spotlight-pill.pill-dock {
  top: auto;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(4px) scale(0.95);
}

.home-spotlight-pill.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-spotlight-pill.pill-dock.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.sp-dot.dot-burgundy {
  background: #f43f5e;
}

/* Bottom Page Dots & Frosted Glass Dock */
.ipados-dock-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ipados-dock-wrap.is-dock-spotlight {
  z-index: 12;
}

.ipados-dock-wrap.is-dock-spotlight .ipados-page-dots {
  opacity: 0.45;
  transition: opacity 0.24s ease;
}

.ipados-dock-wrap.is-dock-spotlight .ipados-glass-dock {
  background: rgba(18, 22, 36, 0.42);
  border-color: rgba(255, 255, 255, 0.22);
  transition: background-color 0.24s ease, border-color 0.24s ease;
}

.ipados-dock-wrap.is-dock-spotlight .dock-sq:not(.ios-routine-target) {
  opacity: 0.45;
  filter: brightness(0.66);
  transition: opacity 0.24s ease, filter 0.24s ease;
}

.ipados-page-dots {
  display: flex;
  gap: 6px;
}

.ipados-page-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.ipados-page-dots .dot.active {
  background: #ffffff;
}

.ipados-glass-dock {
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 22px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
}

.dock-sq {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

.dock-sq.dock-routine-slot {
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.dock-routine-squircle {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.22s ease;
}

.dock-sep {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.38);
  margin: 0 2px;
}

/* Layer 2: Full Routine Block Workspace Surface (Clip-Path Mask Expands Over Home Screen) */
.rb-workspace-surface {
  position: relative;
  z-index: 30;
  background: var(--bg-canvas);
  transform-origin: center center;
}

/* Interactive Target Press & Border Highlight Feedback */
.is-target-active:not(.ios-routine-target) {
  border-color: var(--point-burgundy) !important;
  box-shadow: 0 0 0 3px rgba(140, 45, 70, 0.13) !important;
}

.is-target-pressed:not(.ios-routine-target) {
  transform: scale(0.94) !important;
}

/* ==========================================================================
   Exact Routine Block Web Workspace Replica Styling
   ========================================================================== */
.rb-topbar {
  height: 50px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-hairline);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rb-brand-mark {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.rb-app-brand-icon,
.rb-burgundy-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--app-theme);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rb-brand-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-ink);
}

.rb-planner-nav {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-left: 10px;
  margin-right: auto;
}

.rb-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-body);
}

.rb-toolbar-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-body);
}

.rb-history-btn {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  transition: background 0.15s ease, color 0.15s ease;
}

.rb-history-btn:hover {
  background: #edf2f7;
  color: var(--text-ink);
}

.rb-avatar-unit {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.rb-avatar-circle svg {
  fill: #64748b;
}

.rb-status-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--app-theme);
  border: 1.5px solid #ffffff;
}

.rb-history-arrows {
  color: #b5b2ac;
  font-size: 0.85rem;
}

.rb-top-divider {
  width: 1px;
  height: 13px;
  background: var(--border-hairline);
}

.rb-util-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3.5px 5.5px;
  border-radius: 6px;
  border: 1px solid transparent;
  color: #4b5563;
  transition: transform 0.2s var(--ease-apple), border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.rb-util-item .theme-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--app-theme);
  box-shadow: 0 0 0 3px rgba(40, 150, 114, 0.16);
  display: inline-block;
}

.rb-new-routine-pill {
  background: var(--app-theme);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5.5px 11px;
  border-radius: 999px;
  border: 1px solid var(--app-theme);
  transition: transform 0.2s var(--ease-apple), box-shadow 0.2s ease, background-color 0.2s ease;
}

.rb-new-routine-pill:hover {
  background: var(--app-theme-hover);
}

/* Main Two-Column Canvas (Exact 62:38 iPad Tablet Split Ratio — Ref App Screenshot Match) */
.rb-main-columns {
  padding: 10px 14px 12px;
  display: grid;
  grid-template-columns: 1.63fr 1fr;
  gap: 12px;
  align-items: stretch;
}

/* Left Timetable Card */
.rb-timetable-card {
  min-width: 0;
  background: var(--bg-white);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

/* Day-of-Week Row & Controls — Folder-Style Tabs Flush on Timetable Top Border (Ref Image 2 & 3 100% Match) */
.rb-days-header {
  height: 36px;
  padding: 0 6px 0 0;
  background: #ffffff;
  border-bottom: 1px solid #dfe3e8;
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
}

/* Day-of-Week Bar with Dual-Spring Liquid Indicator */
.rb-days-tabs {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.day-liquid-indicator {
  position: absolute;
  top: 0;
  bottom: -1px;
  left: 0;
  width: 30px;
  border-radius: 7px 7px 0 0;
  background: #ffffff;
  border: 1px solid #dfe3e8;
  border-top: 2.5px solid var(--app-theme);
  border-bottom: 1px solid #ffffff;
  z-index: 0;
  pointer-events: none;
}

.rb-day-tab {
  position: relative;
  z-index: 1;
  min-width: 30px;
  height: 29px;
  padding: 0 8px;
  border-radius: 7px 7px 0 0;
  background: #f1f3f5;
  font-size: 0.74rem;
  font-weight: 700;
  color: #18181b; /* Crisp Black/Charcoal for all weekdays (월~금) */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid transparent;
  border-bottom: none;
  transition: color 0.22s ease, transform 0.2s var(--ease-apple), border-color 0.2s ease, background-color 0.2s ease;
}

.rb-day-tab.is-active {
  background: transparent;
  color: #18181b;
  font-weight: 800;
}

.rb-day-tab.is-holiday {
  color: var(--app-theme) !important;
  font-weight: 800;
}

.rb-day-tab.is-holiday:not(.is-active):not(.is-popover-open) {
  background: #eaf6f1;
  border-color: rgba(40, 150, 114, 0.3);
}

@keyframes todayDotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(40, 150, 114, 0.6);
  }
  50% {
    transform: scale(1.28);
    box-shadow: 0 0 0 4px rgba(40, 150, 114, 0);
  }
}

.day-green-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 4.5px;
  height: 4.5px;
  border-radius: 50%;
  background: var(--app-theme);
  animation: todayDotPulse 1.6s infinite ease-in-out;
}

/* Minimal Tooltip Indicator Above Today's Pulsing Green Dot ('오늘') */
.today-dot-tooltip {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%) translateY(3px) scale(0.92);
  background: #18181b;
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  transition: opacity 0.25s var(--ease-apple), transform 0.25s var(--ease-apple);
  z-index: 45;
}

.today-dot-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 58%;
  transform: translateX(-50%);
  border-width: 3px;
  border-style: solid;
  border-color: #18181b transparent transparent transparent;
}

.today-dot-tooltip.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.rb-day-tab.is-popover-open {
  border: 1.5px solid #e69138;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(230, 145, 56, 0.22);
}

/* Dark Slate Charcoal Context Popover anchored to '토' / '일' tab (Scene 5) */
.rb-day-context-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 96px;
  z-index: 100;
  width: 176px;
  background: #464344;
  color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.12);
  padding: 8px 6px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92) translateY(-6px);
  transform-origin: top center;
  transition: opacity 0.18s var(--ease-apple), transform 0.18s var(--ease-apple);
}

.rb-day-context-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.popover-header {
  font-size: 0.68rem;
  font-weight: 700;
  color: #a8a29e;
  padding: 4px 10px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.popover-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.popover-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.73rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s var(--ease-apple);
}

.popover-item:hover,
.popover-item.is-target-active {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.popover-item.is-target-pressed {
  background: rgba(40, 150, 114, 0.45);
  box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.55);
  transform: scale(0.94);
}

.popover-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.popover-text {
  flex: 1;
  white-space: nowrap;
}

.rb-grid-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.rb-range-pill,
.rb-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3.5px 8px;
  border-radius: 7px;
  border: 1px solid #cce6dc;
  background: #eaf5f1;
  font-size: 0.7rem;
  font-weight: 700;
  color: #1e5240;
  transition: transform 0.2s var(--ease-apple), border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.range-text-compact {
  display: none;
}

.range-chevron {
  opacity: 0.7;
}

.rb-help-circle {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1px solid var(--border-frame);
  font-size: 0.66rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Timetable Grid Body (12 Hours: 05:00 ~ 17:00, each hour = 46px -> total 552px) */
.rb-grid-body {
  display: flex;
  height: 552px;
  position: relative;
}

.rb-time-ruler {
  width: 54px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

/* Narrow Tick Gutter Between Ruler and Blocks Canvas (Ref Image 3 Red Outline 100% Match) */
.rb-ruler-gutter {
  width: 7px;
  flex-shrink: 0;
  background-color: #ffffff;
  border-right: 1px solid #e2e8f0;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 11px,
      #cbd5e1 11px,
      #cbd5e1 11.5px
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 45px,
      #94a3b8 45px,
      #94a3b8 46px
    );
  background-size: 3.5px 100%, 6px 100%;
  background-position: left top, left top;
  background-repeat: no-repeat;
}

.ruler-hour {
  height: 46px;
  padding: 3px 6px 2px 4px;
  border-bottom: 1px solid #e2e8f0;
  border-left: 2.5px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  font-variant-numeric: tabular-nums;
}

.ruler-hour:last-child {
  border-bottom: none;
}

/* Current Hour Highlight on Left Time Ruler (Ref Image 2 & 3 Emerald Left Bar + Mint Tint) */
.ruler-hour.is-current-hour {
  background: #ecfdf5;
  border-left-color: var(--app-theme);
}

.ruler-hour.is-current-hour strong {
  color: #047857;
  font-weight: 800;
}

.ruler-hour strong {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1;
}

.ruler-hour span {
  font-size: 0.56rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1;
}

/* Center Blocks Canvas: Pure #FFFFFF Minimal White with 15-min Sub-grid Hairlines + Vertical Split Line */
.rb-blocks-canvas {
  flex: 1;
  position: relative;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, transparent calc(51% - 0.5px), #f1f5f9 calc(51% - 0.5px), #f1f5f9 calc(51% + 0.5px), transparent calc(51% + 0.5px)),
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 11px,
      #f1f5f9 11px,
      #f1f5f9 11.5px
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 45px,
      #e2e8f0 45px,
      #e2e8f0 46px
    );
  overflow: visible;
}

/* Routine Blocks Positioned on Exact 15-Min Scale (46px/hour) */
.rb-block {
  position: absolute;
  left: 6px;
  right: 6px;
  border-radius: 5px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pos-0500 { top: 1px; height: 30px; }            /* 05:00 - 05:40 */
.pos-0540 { top: 32px; height: 71px; }           /* 05:40 - 07:15 */
.pos-0715 { top: 104px; height: 45px; }          /* 07:15 - 08:15 */
/* 08:15 ~ 09:00: Intentional Open/Breathing Slot */
.pos-0900 { top: 184px; height: 114px; }         /* 09:00 - 11:30 */
.pos-1130 { top: 299px; height: 37px; }          /* 11:30 - 12:20 */
.pos-1220 { top: 337px; height: 30px; }          /* 12:20 - 13:00 */
.pos-1300-routine { top: 368px; height: 114px; } /* 13:00 - 15:30 오후 업무 */
/* 15:30 ~ 17:00: Intentional Open/Breathing Slot for Afternoon & YouTube Memo */

.block-sand {
  background: var(--pastel-sand-bg);
  border: 1px solid var(--pastel-sand-border);
  color: var(--pastel-sand-text);
}
.block-rosebeige {
  background: var(--pastel-rosebeige-bg);
  border: 1px solid var(--pastel-rosebeige-border);
  color: var(--pastel-rosebeige-text);
}
.block-apricot {
  background: var(--pastel-apricot-bg);
  border: 1px solid var(--pastel-apricot-border);
  color: var(--pastel-apricot-text);
}
.block-mintsky {
  background: var(--pastel-mintsky-bg);
  border: 1px solid var(--pastel-mintsky-border);
  color: var(--pastel-mintsky-text);
}
.block-iceblue,
.block-afternoon-work {
  background: var(--pastel-iceblue-bg);
  border: 1px solid var(--pastel-iceblue-border);
  color: var(--pastel-iceblue-text);
}
.block-lavender {
  background: var(--pastel-lavender-bg);
  border: 1px solid var(--pastel-lavender-border);
  color: var(--pastel-lavender-text);
}
.block-lilac {
  background: var(--pastel-lilac-bg);
  border: 1px solid var(--pastel-lilac-border);
  color: var(--pastel-lilac-text);
}

.rb-block-left {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.rb-radio {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.4px solid currentColor;
  opacity: 0.45;
  flex-shrink: 0;
}

.rb-block-text {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rb-block-right {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.67rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
  flex-shrink: 0;
}

/* ==========================================================================
   1-COLUMN FULL-WIDTH GENERAL BLOCKS (Ref Image 2 100% Reproduction)
   ========================================================================== */
.rb-fullwidth-general-block {
  position: absolute;
  left: 6px;
  right: 6px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 0 10px 0 12px;
  font-size: 0.71rem;
  z-index: 6;
  box-shadow: 0 1px 4px rgba(24, 24, 26, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pos-0830-memo {
  top: 161px;
  height: 23px;
  background: #fff9f2;
  border: 1px solid #fde7c9;
  color: #3b2f27;
}

.pos-1600-yt.block-youtube {
  top: 506px;
  height: 35px;
  background: #faf7ff;
  border: 1px solid #e9d5ff;
  color: #2a203b;
}

.fw-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  border-radius: 5px 0 0 5px;
}

.bar-amber { background: #e69138; }
.bar-purple { background: var(--point-purple); }

.fw-check {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.4px solid #8e95a2;
  margin-right: 7px;
  flex-shrink: 0;
}

.fw-title {
  font-weight: 700;
  color: #1e1e20;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.pos-0830-memo .fw-title {
  text-decoration: underline dotted #d1b496;
  text-underline-offset: 3px;
}

.fw-resize-handle {
  font-size: 0.62rem;
  color: #a8a49c;
  margin: 0 8px;
  opacity: 0.85;
  user-select: none;
}

.fw-time {
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
  white-space: nowrap;
  flex-shrink: 0;
}

.yt-red-badge,
.yt-badge {
  color: #ef4444;
  font-size: 0.68rem;
  margin-right: 6px;
  line-height: 1;
}

/* ==========================================================================
   2-COLUMN SPLIT-OVERLAY GENERAL BLOCKS (Image 2 Right Half of Routine Block)
   ========================================================================== */
.rb-split-overlay {
  position: absolute;
  left: 51%;
  right: 3px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px 0 11px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(24, 24, 26, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 1) Cool-Gray Compact Split Overlay at bottom-right of 09:00-11:30 ("점심 메뉴 및 식당 검색 11:05 - 11:30") */
.split-coolgray {
  bottom: 2px;
  height: 24px;
  padding: 0 6px 0 9px;
  gap: 4px;
  background: var(--split-gray-bg);
  border: 1px solid var(--split-gray-border);
  color: #2c333d;
  font-size: 0.61rem;
}

/* 2) Coral-Red Split Overlay on right half of 13:00-15:30 오후 업무 ("팀 미팅 13:00 - 14:00") */
.split-coralred {
  top: 2px;
  height: 44px;
  background: var(--split-coral-bg);
  border: 1px solid var(--split-coral-border);
  color: #261b1e;
}

.split-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  border-radius: 4px 0 0 4px;
}

.bar-coolgray { background: var(--point-coolgray); }
.bar-coralred { background: var(--point-coralred); }

.split-check {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.4px solid #8e95a2;
  flex-shrink: 0;
}

.split-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.22;
  min-width: 0;
}

.split-title {
  font-size: 0.69rem;
  font-weight: 700;
  color: #1e2024;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.split-coolgray .split-title {
  flex: 1;
}

.split-time {
  font-size: 0.62rem;
  font-weight: 500;
  color: #828792;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* Ghost Preview Drop Zone on Right Half of Routine Block (Scene 4 Drag Preview) */
.split-drop-ghost {
  position: absolute;
  left: 51%;
  right: 3px;
  top: 2px;
  height: 44px;
  border-radius: 4px;
  border: 1.5px dashed rgba(224, 79, 95, 0.55);
  background: rgba(250, 237, 238, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--point-burgundy);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.22s ease;
}

.split-drop-ghost.is-visible {
  opacity: 1;
}

.lunch-drop-ghost {
  top: auto;
  bottom: 2px;
  height: 24px;
  border: 1.5px dashed rgba(100, 116, 139, 0.65);
  background: rgba(241, 245, 249, 0.84);
  color: #334155;
  font-size: 0.6rem;
}

/* Ghost Preview Drop Zone for 1-Col Fullwidth General Block ('Memo : 오늘 할 일 & email 답신') */
.fw-drop-ghost {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 161px;
  height: 23px;
  border-radius: 5px;
  border: 1.5px dashed rgba(230, 145, 56, 0.72);
  background: rgba(255, 249, 242, 0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
  font-weight: 700;
  color: #9a5b25;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.2s ease;
}

.fw-drop-ghost.is-visible {
  opacity: 1;
}

/* Ghost Preview Drop Zone for YouTube Video Memo (Scene 6 Drag Preview) */
.yt-drop-ghost {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 506px;
  height: 35px;
  border-radius: 5px;
  border: 1.5px dashed rgba(139, 92, 246, 0.6);
  background: rgba(245, 240, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--point-purple);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.22s ease;
}

.yt-drop-ghost.is-visible {
  opacity: 1;
}

/* Floating Drag Card Proxy (Follows Cursor during Scene 4 Drag) */
.floating-drag-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 256px;
  height: 44px;
  background: var(--split-coral-bg);
  border: 1px solid var(--point-coralred);
  border-radius: 6px;
  padding: 0 10px 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-elevated);
  pointer-events: none;
  z-index: 75;
  opacity: 0;
}

.floating-memo-card {
  width: 268px;
  height: 36px;
  background: #fff9f2;
  border: 1.5px solid #e69138;
  box-shadow: 0 12px 26px rgba(230, 145, 56, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.floating-lunch-card {
  width: 238px;
  height: 36px;
  background: var(--split-gray-bg);
  border: 1.5px solid var(--point-coolgray);
  box-shadow: 0 12px 26px rgba(100, 116, 139, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Floating YouTube Drag Card Proxy (Scene 6) */
.floating-yt-card {
  width: 280px;
  height: 38px;
  background: #ffffff;
  border: 1.5px solid var(--point-purple);
  box-shadow: 0 14px 28px rgba(139, 92, 246, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Rightmost Vertical Time Horizon Index Bar (Ref Image 2 & 3 100% Match) */
.rb-horizon-strip {
  position: relative;
  width: 25px;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  flex-shrink: 0;
  transform-origin: right center;
  transition: box-shadow 0.3s var(--ease-apple), border-color 0.3s ease;
}

.horizon-tab {
  position: absolute;
  left: 0;
  right: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 7px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.3s ease;
}

/* 1) 05:00 ~ 08:15 모닝준비 (Warm Amber Left Line + Tone-on-Tone Gradient) */
.h-morning {
  top: 0;
  height: 149.5px;
  background: linear-gradient(180deg, #fdf1e2 0%, #faf6f0 100%);
  border-left: 3px solid #e08e45;
  color: #9a5b25;
}

/* 08:15 ~ 08:30 (149.5px ~ 161px): Intentional Open Breathing Gap on Horizon Rail */

/* 2) 08:30 ~ 11:30 오전딥워크 (Sky-Blue Left Line — Top Flush with 08:30 Memo Block, Ref Image 3 Match) */
.h-deepwork {
  top: 161px;
  height: 138px;
  background: linear-gradient(180deg, #e5f2fe 0%, #f5faff 100%);
  border-left: 3px solid #3b82f6;
  color: #1d589a;
}

/* 3) 11:30 ~ 13:00 점심 (Lavender-Purple Left Line + Tone-on-Tone Gradient) */
.h-lunch {
  top: 299px;
  height: 69px;
  background: linear-gradient(180deg, #efe7fe 0%, #f9f6ff 100%);
  border-left: 3px solid #8b5cf6;
  color: #5b21b6;
}

/* 4) 13:00 ~ 15:30 협업·실무 (Indigo-Blue Left Line + Tone-on-Tone Gradient) */
.h-work {
  top: 368px;
  height: 115px;
  background: linear-gradient(180deg, #e7ecfe 0%, #f6f8ff 100%);
  border-left: 3px solid #4f46e5;
  color: #3730a3;
}

/* 5) 15:30 ~ 17:00 자유시간 (Emerald-Green Left Line + Tone-on-Tone Gradient — Ref Image 2 '나들이' Match) */
.h-afternoon {
  top: 483px;
  height: 69px;
  background: linear-gradient(180deg, #ddf9ec 0%, #f2fcf8 100%);
  border-left: 3px solid #10b981;
  color: #065f46;
}

/* ==========================================================================
   SPOTLIGHT ZOOM (scale 1.08 / 1.06) & MINIMAL CALLOUT BADGES (Scenes 2, 3, 4)
   ========================================================================== */
.motion-spotlight-badge {
  position: absolute;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(24, 24, 27, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.16);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px) scale(0.92);
  transition: opacity 0.24s var(--ease-apple), transform 0.24s var(--ease-apple);
}

.motion-spotlight-badge.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.motion-spotlight-badge .sp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.sp-dot.dot-emerald { background: #34d399; }
.sp-dot.dot-amber { background: #fbbf24; }
.sp-dot.dot-coolgray { background: #94a3b8; }
.sp-dot.dot-coral { background: #fb7185; }

.spotlight-horizon-badge {
  top: 58px;
  right: 16px;
}

.spotlight-routine-badge {
  top: -13px;
  left: 12px;
}

.spotlight-general-fw-badge {
  top: -22px;
  right: 10px;
}

.spotlight-general-lunch-badge {
  top: -21px;
  right: 4px;
}

.spotlight-general-badge {
  top: -21px;
  right: 4px;
}

.rb-horizon-strip.is-spotlight-active {
  z-index: 42;
  background: #ffffff;
  border-radius: 6px;
  box-shadow:
    0 0 0 2px var(--app-theme),
    -10px 8px 28px rgba(40, 150, 114, 0.26),
    0 4px 12px rgba(15, 23, 42, 0.12);
}

.rb-block.is-spotlight-zoom {
  z-index: 35 !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16), 0 0 0 2px var(--app-theme) !important;
}

.rb-fullwidth-general-block.is-spotlight-zoom {
  z-index: 36 !important;
  box-shadow: 0 12px 28px rgba(230, 145, 56, 0.24), 0 0 0 2px #e69138 !important;
}

.rb-split-overlay.is-spotlight-zoom {
  z-index: 38 !important;
  box-shadow: 0 14px 34px rgba(224, 79, 95, 0.26), 0 0 0 2px #e04f5f !important;
}

.rb-split-overlay.split-coolgray.is-spotlight-zoom {
  z-index: 38 !important;
  box-shadow: 0 14px 32px rgba(71, 85, 105, 0.24), 0 0 0 2px #64748b !important;
}

/* Right Column: Focused 2 Stacked Productivity Widgets ('오늘 할 일' + 'Memo') */
.rb-widgets-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  height: 100%;
}

.rb-widget-card {
  background: var(--bg-white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}

.widget-todo-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
}

.mobile-dock-aux-card {
  display: none !important;
}

.w-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.w-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-ink);
}

.w-expand {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.clock-display-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 2px 0 4px;
}

.clock-ampm {
  font-size: 0.74rem;
  font-weight: 700;
  color: #9499a3;
}

.clock-digits {
  font-size: 2.05rem;
  font-weight: 800;
  color: #1e2430;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.clock-date-wrap {
  text-align: center;
}

.clock-date-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #5e6470;
  background: #f4f5f7;
  padding: 2px 10px;
  border-radius: 999px;
}

/* Todo Widget Card (Matching Real App iPad Split Panel) */
.todo-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.todo-count,
.todo-trash {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.todo-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.todo-progress-bar {
  height: 4px;
  background: #efede8;
  border-radius: 999px;
  overflow: hidden;
}

.todo-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--app-theme);
  transition: width 0.4s var(--ease-apple);
}

.todo-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.todo-input-fake {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.67rem;
  color: #a8a49c;
}

.todo-input-icons {
  font-size: 0.68rem;
  opacity: 0.72;
  letter-spacing: 2px;
}

.todo-add-btn {
  background: #b9dcd0;
  color: #ffffff;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}

.todo-meta-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.todo-priority-group {
  display: flex;
  align-items: center;
  gap: 3px;
}

.tp-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-right: 2px;
}

.tp-pill {
  font-size: 0.62rem;
  font-weight: 600;
  color: #6d727c;
  background: #f4f2ee;
  padding: 2px 6px;
  border-radius: 5px;
}

.tp-pill.is-selected {
  background: #fef3c7;
  color: #b45309;
  font-weight: 700;
  border: 1px solid #fde68a;
}

.todo-time-unset {
  font-size: 0.62rem;
  font-weight: 600;
  color: #5e6470;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 999px;
}

.todo-filter-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 2px;
}

.tf-pill {
  font-size: 0.64rem;
  font-weight: 600;
  color: #78756f;
  background: #f4f2ee;
  padding: 2.5px 8px;
  border-radius: 999px;
}

.tf-pill.is-active {
  background: #edf7f3;
  color: var(--app-theme);
  font-weight: 700;
  border: 1px solid #cbe7dc;
}

.todo-items-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.todo-list-item {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: 7px;
  padding: 5.5px 9px 5.5px 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  transition: box-shadow 0.28s var(--ease-apple), border-color 0.25s ease;
}

.todo-item-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: var(--point-coralred);
  border-radius: 7px 0 0 7px;
}

.todo-item-bar.bar-coolgray { background: #94a3b8; }
.todo-item-bar.bar-amber { background: #f59e0b; }

.todo-item-text {
  font-weight: 700;
  color: var(--text-ink);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.todo-item-tag {
  font-size: 0.63rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.todo-item-tag.tag-important {
  color: var(--point-coralred);
  font-weight: 700;
}

.todo-item-tag.tag-normal {
  color: #d97706;
  font-weight: 700;
}

/* ==========================================================================
   WIDGET 2: MEMO WIDGET WITH '▶ 나중에 볼 영상' (Ref Image 4 100% Reproduction)
   ========================================================================== */
.widget-memo-card {
  flex: 1;
  background: var(--bg-white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
}

.memo-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.memo-head-left {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.memo-brand-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-ink);
  letter-spacing: -0.01em;
}

.memo-count-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: #78756f;
}

.memo-new-btn {
  background: var(--app-theme);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--app-theme);
  transition: transform 0.15s ease, background 0.15s ease;
}

.memo-tabs-row {
  display: flex;
  align-items: center;
}

.memo-tabs-list {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #f2f0ec;
  padding: 3px;
  border-radius: 8px;
  width: 100%;
}

.memo-tab {
  font-size: 0.68rem;
  font-weight: 600;
  color: #78756f;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: background 0.15s ease, color 0.15s ease;
}

.memo-tab.is-active {
  background: #ffffff;
  color: var(--text-ink);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.memo-yt-icon {
  color: #ef4444;
  font-size: 0.65rem;
}

.memo-help-q {
  margin-left: auto;
  font-size: 0.68rem;
  color: #94918a;
  padding: 0 4px;
}

.memo-filter-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.66rem;
  color: #78756f;
}

.memo-search-fake {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #faf9f7;
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  padding: 3px 7px;
  color: #94918a;
  white-space: nowrap;
}

.memo-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #6d727c;
  font-size: 0.63rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.memo-card-item {
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  padding: 7px 8px 6px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: box-shadow 0.25s var(--ease-apple), border-color 0.2s ease;
}

.memo-card-pinned {
  background: #fffdf5;
  border: 1px solid #fef0c7;
  padding: 6px 8px;
  gap: 2px;
}

.memo-pinned-lines {
  font-size: 0.62rem;
  color: #6b675e;
  line-height: 1.4;
  padding-left: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.memo-item-title-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.memo-drag-handle {
  color: #a8a49c;
  font-size: 0.76rem;
  line-height: 1.2;
}

.memo-item-heading {
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e1e20;
  line-height: 1.32;
}

.memo-yt-box {
  position: relative;
  background: #fbf9ff;
  border: 1px solid #ebdfff;
  border-radius: 6px;
  padding: 5px 6px 5px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.63rem;
  overflow: hidden;
}

.memo-yt-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--point-purple);
}

.memo-yt-check {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.4px solid #8e95a2;
  flex-shrink: 0;
}

.memo-yt-badge {
  color: #ef4444;
  font-size: 0.65rem;
  line-height: 1;
  flex-shrink: 0;
}

.memo-yt-label {
  font-weight: 600;
  color: #22201e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.memo-yt-duration {
  font-size: 0.6rem;
  font-weight: 600;
  color: #718096;
  background: #edf2f7;
  padding: 1px 4px;
  border-radius: 3px;
  flex-shrink: 0;
}

.memo-yt-action-btn {
  background: var(--app-theme);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2.5px 6px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.memo-yt-icon-btn {
  font-size: 0.64rem;
  opacity: 0.7;
  cursor: pointer;
  flex-shrink: 0;
}

.memo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.64rem;
  color: #94918a;
}

.memo-card-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kakao-bubble {
  color: #eab308;
  font-size: 0.72rem;
}

.trash-icon {
  font-size: 0.72rem;
  opacity: 0.65;
}

/* ==========================================================================
   PRECISION CURSOR + TAP RIPPLE RING + 0.35s HOLD PROGRESS RING
   ========================================================================== */
.precision-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  pointer-events: none;
  /* Hotspot at arrow tip (5.5px, 3.5px) */
  margin-left: -5px;
  margin-top: -3px;
}

.cursor-arrow-svg {
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 2px 5px rgba(24, 24, 26, 0.18));
}

/* Burgundy Hairline Tap Ripple Ring */
.cursor-tap-ripple {
  position: absolute;
  top: -11px;
  left: -11px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--point-burgundy);
  opacity: 0;
  transform: scale(0.35);
  pointer-events: none;
  z-index: 1;
}

.cursor-tap-ripple.is-rippling {
  animation: burgundy-tap-ripple 0.52s var(--ease-apple) forwards;
}

@keyframes burgundy-tap-ripple {
  0% {
    opacity: 0.92;
    transform: scale(0.35);
  }
  100% {
    opacity: 0;
    transform: scale(1.95);
  }
}

/* 0.35s Circular Hold Progress Ring (Long-Press Indicator) */
.cursor-hold-svg {
  position: absolute;
  top: -14px;
  left: -14px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.cursor-hold-svg.is-holding {
  opacity: 1;
}

.cursor-action-tag {
  position: absolute;
  top: 20px;
  left: 14px;
  background: rgba(24, 24, 26, 0.88);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.precision-cursor.is-near-bottom .cursor-action-tag {
  top: 2px;
  left: 18px;
}

.precision-cursor.is-near-right .cursor-action-tag {
  left: auto;
  right: 8px;
}

/* ==========================================================================
   Minimal White/Off-White Pill Stepper Controls Below Motion Frame
   ========================================================================== */
.motion-stepper-dock {
  margin-top: clamp(0.28rem, 0.65dvh, 0.48rem);
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: var(--bg-white);
  border: 1px solid var(--border-frame);
  border-radius: 999px;
  padding: 0.22rem 0.36rem;
  box-shadow: 0 4px 16px rgba(24, 24, 26, 0.04);
  max-width: 100%;
}

.stepper-pills-list {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.26rem 0.66rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
  transition: background-color 0.22s var(--ease-apple), color 0.22s var(--ease-apple);
}

.step-pill:hover {
  background: var(--bg-page);
  color: var(--text-ink);
}

.step-pill.is-active {
  background: var(--point-burgundy);
  color: #ffffff;
  font-weight: 700;
}

.sp-num {
  font-size: 0.65rem;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}

.step-play-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 1px solid var(--border-hairline);
  font-size: 0.6rem;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.step-play-btn:hover {
  border-color: var(--point-burgundy);
  color: var(--point-burgundy);
}

/* ==========================================================================
   HOME 4-DEVICE CONTINUITY SHOWCASE (Apple Store Korea Borderless Surface Cards)
   ① iPhone · ② iPad · ③ iPhone Duo · ④ Apple Watch
   ========================================================================== */
.home-4device-gallery {
  width: 100%;
  max-width: 1060px;
  margin-top: clamp(0.55rem, 1.55dvh, 1.2rem);
  padding-top: 0;
}

.gallery-head-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(0.42rem, 1.0dvh, 0.82rem);
  gap: 0.2rem;
}

.gallery-title {
  font-size: clamp(0.98rem, min(1.55vw, 2.15dvh), 1.32rem);
  font-weight: 600;
  color: #6e6e73;
  letter-spacing: -0.026em;
  text-wrap: balance;
}

.gallery-title .gt-strong {
  color: #1d1d1f;
  font-weight: 700;
}

.gallery-title .gt-muted {
  color: #6e6e73;
  font-weight: 600;
}

.home-4device-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.32fr 1.12fr 0.94fr;
  gap: clamp(10px, 1.2vw, 14px);
  align-items: stretch;
}

.trailer-device-card {
  background: #ffffff;
  border: 0;
  border-radius: clamp(18px, 2.4dvh, 24px);
  padding: clamp(9px, 1.45dvh, 14px) clamp(11px, 1.3vw, 15px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(6px, 0.95dvh, 10px);
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s var(--ease-apple), box-shadow 0.35s var(--ease-apple);
}

.trailer-device-card:hover {
  transform: translateY(-2px);
  box-shadow: 4px 10px 24px rgba(0, 0, 0, 0.12);
}

.td-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.td-name {
  font-size: clamp(0.78rem, 1.35dvh, 0.88rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  white-space: nowrap;
}

.td-sub {
  font-size: clamp(0.64rem, 1.1dvh, 0.7rem);
  font-weight: 500;
  color: #6e6e73;
  white-space: nowrap;
}

.td-stage {
  height: clamp(112px, 16.5dvh, 154px);
  background: #f5f5f7;
  border: 0;
  border-radius: clamp(12px, 1.8dvh, 18px);
  padding: clamp(6px, 0.9dvh, 9px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
}

/* ① iPhone Single Mockup (Live Forest Green Portrait Screen 390x844) */
.mockup-iphone-single {
  position: relative;
  height: clamp(96px, 14.5dvh, 138px);
  width: auto;
  aspect-ratio: 72 / 148;
  border-radius: 15px;
  padding: 3px;
  background: #1d1d1f;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.iphone-dynamic-island {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: #09090b;
  z-index: 3;
}

.mockup-iphone-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  background: #ffffff;
  display: block;
}

/* ② iPad Landscape Mockup (Live Forest Green 2-Col Workspace 16:10) */
.mockup-ipad-landscape {
  position: relative;
  height: clamp(92px, 13.8dvh, 132px);
  width: auto;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 11px;
  padding: 4px;
  background: #1d1d1f;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.ipad-cam-dot {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #52525b;
  z-index: 3;
}

.mockup-ipad-landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 7px;
  background: #ffffff;
  display: block;
}

/* ③ iPhone Duo Foldable Live Screen (740x844 Unfolded Split-Pane) */
.mockup-iphone-duo-live {
  position: relative;
  height: clamp(96px, 14.3dvh, 136px);
  width: auto;
  aspect-ratio: 128 / 146;
  border-radius: 13px;
  padding: 4px;
  background: #1d1d1f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  overflow: clip;
}

.duo-hinge-line {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.04) 50%, rgba(0, 0, 0, 0.14));
  z-index: 3;
  pointer-events: none;
}

.mockup-iphone-duo-live img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 9px;
  background: #ffffff;
  display: block;
}

.gallery-footer-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(0.45rem, 1.15dvh, 0.9rem);
}

.apple-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: clamp(0.36rem, 0.72dvh, 0.52rem) 1.15rem;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #0066cc;
  font-size: clamp(0.76rem, 1.25dvh, 0.83rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.22s var(--ease-apple), box-shadow 0.22s var(--ease-apple), color 0.18s ease;
}

.apple-link-cta:hover {
  transform: translateY(-1px);
  box-shadow: 2px 8px 18px rgba(0, 0, 0, 0.12);
  color: #004999;
}

.apple-link-cta .cta-chevron {
  font-size: 1.05em;
  line-height: 1;
}

.home-4device-grid .apple-watch-authentic {
  zoom: 0.67;
}

/* ④ Authentic Apple Watch Mockup (100% Match with Attached Watch Screenshot) */
.apple-watch-authentic {
  position: relative;
  width: 162px;
  height: 192px;
  border-radius: 40px;
  padding: 8.5px;
  background: linear-gradient(145deg, #2c2c2e 0%, #161618 100%);
  border: 2px solid #48484a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 14px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 2px rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.aw-digital-crown {
  position: absolute;
  top: 40px;
  right: -7.5px;
  width: 6.5px;
  height: 30px;
  border-radius: 3.5px;
  background: repeating-linear-gradient(
    180deg,
    #52525b 0px,
    #52525b 2px,
    #27272a 2px,
    #27272a 4px
  );
  border: 1px solid #71717a;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.35);
}

.aw-side-button {
  position: absolute;
  top: 92px;
  right: -4.5px;
  width: 3.5px;
  height: 38px;
  border-radius: 2px;
  background: #3f3f46;
  border-right: 1px solid #71717a;
}

.aw-screen {
  flex: 1;
  border-radius: 31px;
  background: radial-gradient(circle at 65% 22%, #1f3930 0%, #152721 55%, #0d1814 100%);
  padding: 11px 13px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.48);
}

.aw-status-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}

.aw-status-phone-icon {
  flex-shrink: 0;
}

.aw-status-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.aw-schedule-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 2px;
}

.aw-next-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #32b37d;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.aw-schedule-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin: 0;
}

.aw-teacup-icon {
  font-size: 0.84rem;
  vertical-align: -1px;
}

.aw-countdown-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: auto;
}

.aw-countdown-label {
  font-size: 0.63rem;
  font-weight: 600;
  color: #8fa39a;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.aw-countdown-digits {
  font-size: 1.46rem;
  font-weight: 800;
  color: #2eb87e;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

/* Home 4-Device Gallery Watch Completion Screen (Deep Emerald-Forest Theme) */
.aw-screen.is-complete-screen {
  background: radial-gradient(circle at 76% 24%, #0f4e27 0%, #0b341b 52%, #0d1d14 100%);
  padding: 11px 12px 15px;
}

.aw-complete-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: -4px;
}

.aw-seal-check-icon {
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(26, 242, 46, 0.25));
}

.aw-complete-title {
  font-size: 0.83rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0;
}

.aw-complete-sub {
  font-size: 0.54rem;
  font-weight: 600;
  color: #849a8e;
  letter-spacing: -0.025em;
  line-height: 1.15;
  white-space: nowrap;
  margin: 0;
}

/* ==========================================================================
   4. DEDICATED MENU VIEWS (THESHEEUM / 루틴블록 앱 / 앱 기능 / 공지사항)
   ========================================================================== */
.view-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(0.75rem, 1.8dvh, 1.4rem) 2rem;
}

.narrow-container {
  max-width: 880px;
}

.view-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(0.75rem, 1.8dvh, 1.45rem);
}

.view-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--point-burgundy);
  margin-bottom: clamp(0.25rem, 0.55dvh, 0.45rem);
}

.view-title {
  font-size: clamp(1.48rem, min(2.75vw, 3.2dvh), 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: clamp(0.32rem, 0.75dvh, 0.6rem);
  color: var(--text-ink);
}

.view-lead {
  font-size: clamp(0.86rem, 1.3vw, 0.94rem);
  color: var(--text-body);
  line-height: 1.55;
}

/* ==========================================================================
   VIEW 1: THESHEEUM — Editorial Hero & 5-Column Asymmetric Device Grid
   ========================================================================== */
@font-face {
  font-family: 'TSGeometric';
  src:
    local('Futura Condensed ExtraBold'),
    local('Futura-CondensedExtraBold'),
    local('Avenir Next Condensed Heavy'),
    local('DIN Condensed Bold'),
    local('Futura Bold');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

body[data-active-view="thesheeum"] {
  background-color: #ffffff;
}

body[data-active-view="thesheeum"] .main-stage {
  justify-content: flex-start;
}

body[data-active-view="thesheeum"] .gnb-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(17, 17, 17, 0.05);
}

body[data-active-view="thesheeum"] .minimal-footer {
  background: #ffffff;
  border-top-color: rgba(17, 17, 17, 0.06);
}

.thesheeum-view {
  background-color: #ffffff;
  inline-size: 100%;
  margin-block: 0;
  overflow-x: clip;
}

.ts-editorial-stage {
  --ts-theme: #f97316;
  --ts-theme-ink: #111113;
  --ts-theme-text: #ea580c;
  --ts-theme-tint: #fff7ed;
  --ts-theme-soft: rgba(249, 115, 22, 0.14);
  --ts-theme-border: rgba(249, 115, 22, 0.34);
  --ts-theme-btn-border: transparent;
  --ts-bar-border: transparent;
  --ts-dock-bg: #f97316;
  --ts-dock-border: rgba(255, 255, 255, 0.18);
  --ts-dock-pill-bg: rgba(17, 17, 19, 0.12);
  --ts-card-ambient: rgba(249, 115, 22, 0.12);
  /* Unified iPhone & Right StandBy Width Scale (Center iPhone === Right Widget iPhone === Right StandBy Width) */
  --ts-iphone-w: clamp(128px, min(14.5vw, calc((100dvh - 126px) * 0.642 / 2.81)), 188px);
  --ts-iphone-pad: clamp(6px, 0.8dvh, 7.5px);
  --ts-iphone-radius: clamp(26px, 3.4dvh, 34px);
  --ts-iphone-inner-radius: clamp(20px, 2.65dvh, 27px);

  inline-size: 100%;
  block-size: clamp(540px, calc(100dvh - 126px), 876px);
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 0.98fr) minmax(0, 1.06fr) minmax(0, 0.98fr) minmax(0, 1.02fr);
  /* Row 1: Upper gallery breathing space | Row 2: Horizontally centered brand header group | Row 3: Staggered 6-device showcase */
  grid-template-rows: clamp(34px, calc(18.0dvh - 44px), 118px) auto minmax(0, 1fr);
  column-gap: clamp(14px, 1.45vw, 22px);
  row-gap: 0;
}

/* Horizontally Centered Unified Brand Header Group (THESHEEUM + Official Copy) */
.ts-hero-header-group {
  grid-column: 1 / -1;
  grid-row: 2 / 3;
  align-self: end;
  justify-self: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(32px, 3.8vw, 56px);
  max-inline-size: min(100%, 1180px);
  padding-inline: clamp(18px, 2.5vw, 36px);
  padding-block-end: clamp(8px, 1.05dvh, 13px);
  z-index: 2;
}

/* Monumental Geometric Wordmark (Subtly Overlapped on Lower Edge by Center iPhone) */
.ts-hero-wordmark {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  font-family: 'TSGeometric', 'Futura', 'Avenir Next', 'Montserrat', -apple-system, sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, min(7.4vw, 12.6dvh), 6.85rem);
  line-height: 0.84;
  letter-spacing: -0.025em;
  color: #0b0b0d;
  white-space: nowrap;
  user-select: none;
  margin: 0;
  pointer-events: none;
}

/* Paired Official Brand Manifesto Block (Positioned Cleanly Right of Center iPhone for Zero Overlap) */
.ts-philosophy-block {
  position: relative;
  z-index: 3;
  align-self: flex-start;
  max-inline-size: clamp(290px, 27.2vw, 378px);
  padding-block-start: clamp(2px, 0.3dvh, 4px);
}

.ts-phil-title {
  font-size: clamp(0.86rem, min(1.06vw, 1.8dvh), 1.12rem);
  font-weight: 800;
  color: #111113;
  letter-spacing: -0.028em;
  line-height: 1.26;
  margin-block-end: clamp(0.28rem, 0.48dvh, 0.4rem);
  white-space: nowrap;
}

.ts-phil-body {
  font-size: clamp(0.7rem, min(0.8vw, 1.35dvh), 0.82rem);
  font-weight: 500;
  color: #5c5c63;
  line-height: 1.54;
  letter-spacing: -0.015em;
  word-break: keep-all;
}

/* Frameless Native-Sized Device Slots */
.ts-device-slot {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* DEVICE 1 (Far Left · Level Landscape iPad · Staggered Mid-Upper Tier) */
.ts-slot-ipad {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  align-self: start;
  justify-self: end;
  z-index: 2;
  margin-block-start: clamp(12px, 2.0dvh, 22px);
  margin-inline-end: -14px;
}

.ts-hw-ipad {
  position: relative;
  inline-size: clamp(280px, min(31vw, 45.5dvh), 432px);
  padding: clamp(9px, 1.2dvh, 12px);
  border-radius: clamp(22px, 2.8dvh, 28px);
  background: linear-gradient(145deg, #2d2d30 0%, #161618 55%, #232327 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    14px 28px 52px -18px rgba(17, 17, 19, 0.26),
    0 4px 12px rgba(17, 17, 19, 0.08);
  transform: none;
}

.ts-hw-ipad-cam {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-start: 50%;
  inline-size: 5px;
  block-size: 5px;
  border-radius: 50%;
  background: #3a3a3e;
}

.ts-hw-ipad img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  border-radius: clamp(12px, 1.7dvh, 16px);
}

/* DEVICE 2 (Inner Left · Expanded Unfolded iPhone Duo 917:723 · ~1.88x Single iPhone Relative Proportion) */
.ts-slot-duo {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  align-self: end;
  justify-self: end;
  z-index: 3;
  margin-block-end: clamp(10px, 1.8dvh, 18px);
  margin-inline-end: clamp(-36px, -2.5vw, -18px);
}

.ts-hw-duo {
  position: relative;
  inline-size: clamp(236px, min(25.2vw, calc(var(--ts-iphone-w) * 1.88)), 356px);
  aspect-ratio: 917 / 723;
  filter: drop-shadow(0 20px 32px rgba(15, 23, 42, 0.22)) drop-shadow(0 4px 10px rgba(15, 23, 42, 0.08));
}

.ts-hw-duo img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

/* DEVICE 3 (Center Main · iPhone 16 Pro · Elevated Crown Subtly Overlapping Bottom Edge of THESHEEUM) */
.ts-slot-iphone {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
  align-self: start;
  justify-self: center;
  z-index: 5;
  align-items: center;
  position: relative;
  margin-block-start: clamp(-29px, -3.1dvh, -22px);
}

.ts-iphone-ambient {
  position: absolute;
  inset: -14px -32px -10px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 48%, var(--ts-card-ambient) 0%, transparent 68%);
  pointer-events: none;
}

.ts-iphone-hardware {
  position: relative;
  inline-size: var(--ts-iphone-w);
  aspect-ratio: 390 / 856;
  padding: var(--ts-iphone-pad);
  border-radius: var(--ts-iphone-radius);
  background: linear-gradient(145deg, #323236 0%, #141416 52%, #252529 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 28px 58px -20px rgba(15, 23, 42, 0.34),
    0 6px 14px rgba(15, 23, 42, 0.11);
  display: flex;
  flex-direction: column;
}

.ts-iphone-island {
  position: absolute;
  inset-block-start: clamp(10px, 1.45dvh, 14px);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 27%;
  block-size: clamp(11px, 1.55dvh, 14px);
  border-radius: 999px;
  background: #0c0c0e;
  z-index: 8;
}

.tsi-screen {
  position: relative;
  flex: 1;
  min-block-size: 0;
  border-radius: var(--ts-iphone-inner-radius);
  background: #ffffff;
  overflow: clip;
  display: flex;
  flex-direction: column;
}

/* iOS Status Bar (Sits cleanly in the top safe-area above real localhost:3000 viewport) */
.tsi-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 3px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #1d1d1f;
  background: #ffffff;
  flex-shrink: 0;
  z-index: 6;
}

.tsi-live-deck {
  position: relative;
  flex: 1;
  min-block-size: 0;
  inline-size: 100%;
  background: #ffffff;
  overflow: clip;
}

.tsi-live-frame {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  will-change: opacity;
  user-select: none;
  pointer-events: none;
}

.tsi-live-frame.is-active {
  opacity: 1;
  z-index: 2;
}

.tsi-sb-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tsi-sb-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 1.5px;
  block-size: 7px;
}

.tsi-sb-bars i {
  display: block;
  inline-size: 2px;
  background: #1d1d1f;
  border-radius: 1px;
}
.tsi-sb-bars i:nth-child(1) { block-size: 3px; }
.tsi-sb-bars i:nth-child(2) { block-size: 4.5px; }
.tsi-sb-bars i:nth-child(3) { block-size: 6px; }
.tsi-sb-bars i:nth-child(4) { block-size: 7px; }

.tsi-sb-bat {
  display: inline-flex;
  align-items: center;
  inline-size: 14px;
  block-size: 7px;
  border: 1px solid #1d1d1f;
  border-radius: 2px;
  padding: 1px;
}

.tsi-sb-bat i {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  background: #1d1d1f;
  border-radius: 1px;
}

/* Routine Block Header inside iPhone */
.tsi-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 3px 1px;
}

.tsi-brand {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tsi-app-icon {
  inline-size: 20px;
  block-size: 20px;
  border-radius: 6px;
  background-color: var(--ts-theme);
  border: 1px solid var(--ts-theme-btn-border);
  color: var(--ts-theme-ink, #ffffff);
  color: contrast-color(var(--ts-theme));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tsi-brand-name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #111113;
}

.tsi-bar-right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tsi-theme-dot {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background-color: var(--ts-theme);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 19, 0.16);
}

.tsi-add-btn {
  font-size: 0.56rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background-color: var(--ts-theme);
  border: 1px solid var(--ts-theme-btn-border);
  color: var(--ts-theme-ink, #ffffff);
  color: contrast-color(var(--ts-theme));
  white-space: nowrap;
}

/* Weekday Strip */
.tsi-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 2px;
  border-radius: 7px;
  background: #f5f5f7;
}

.tsi-weekdays span {
  text-align: center;
  font-size: 0.54rem;
  font-weight: 600;
  color: #6e6e73;
  padding-block: 3px;
  border-radius: 5px;
  position: relative;
}

.tsi-weekdays span.is-today {
  background: #ffffff;
  color: var(--ts-theme-text);
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(17, 17, 19, 0.08);
}

.tsi-weekdays span.is-today::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 5px;
  block-size: 2px;
  border-radius: 999px;
  background-color: var(--ts-theme);
  box-shadow: inset 0 0 0 0.5px var(--ts-bar-border);
}

.tsi-weekdays span.is-holiday {
  color: var(--ts-theme-text);
  font-weight: 700;
}

/* Progress Gauge Card */
.tsi-progress-card {
  padding: 6px 8px;
  border-radius: 9px;
  background: var(--ts-theme-tint);
  border: 1px solid var(--ts-theme-border);
}

.tsi-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 4px;
}

.tsi-progress-label {
  font-size: 0.54rem;
  font-weight: 700;
  color: #424245;
}

.tsi-progress-pct {
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--ts-theme-text);
}

.tsi-progress-track {
  inline-size: 100%;
  block-size: 5px;
  border-radius: 999px;
  background: rgba(17, 17, 19, 0.08);
  overflow: clip;
}

.tsi-progress-fill {
  display: block;
  inline-size: 75%;
  block-size: 100%;
  border-radius: 999px;
  background-color: var(--ts-theme);
  box-shadow: inset 0 0 0 1px var(--ts-bar-border);
}

/* 3-Tier Timetable Body inside iPhone */
.tsi-timetable {
  flex: 1;
  min-block-size: 0;
  display: grid;
  grid-template-columns: 24px 1fr 13px;
  gap: 4px;
  padding-block: 2px;
}

.tsi-ruler {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.45rem;
  font-weight: 600;
  color: #9ca3af;
  padding-block: 2px;
  font-variant-numeric: tabular-nums;
}

.tsi-blocks {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-inline-size: 0;
}

.tsi-block {
  border-radius: 8px;
  padding: 6px 7px;
  border: 1px solid rgba(17, 17, 19, 0.07);
}

.tsi-block-done {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #faf9f7;
  border-color: rgba(17, 17, 19, 0.08);
}

.tsi-chk {
  inline-size: 12px;
  block-size: 12px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.46rem;
  font-weight: 800;
  flex-shrink: 0;
}

.tsi-chk.is-checked {
  background-color: var(--ts-theme);
  border-color: var(--ts-bar-border);
  color: var(--ts-theme-ink, #ffffff);
  color: contrast-color(var(--ts-theme));
}

.tsi-b-text {
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tsi-b-text strong {
  font-size: 0.56rem;
  font-weight: 700;
  color: #1d1d1f;
  white-space: nowrap;
  overflow: clip;
  text-overflow: ellipsis;
}

.tsi-b-text span {
  font-size: 0.46rem;
  color: #6e6e73;
  font-variant-numeric: tabular-nums;
}

/* Active Deep Focus Block (Tier 2 + Tier 3 Split Overlay) */
.tsi-block-focus {
  position: relative;
  flex: 1;
  min-block-size: 74px;
  background: var(--ts-theme-tint);
  border: 1px solid var(--ts-theme-border);
  border-inline-start: 3px solid var(--ts-theme);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 6px 7px;
}

.tsi-focus-top {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-block-end: 2px;
}

.tsi-live-dot {
  inline-size: 5px;
  block-size: 5px;
  border-radius: 50%;
  background-color: var(--ts-theme);
  box-shadow: inset 0 0 0 0.8px var(--ts-bar-border);
}

.tsi-live-tag {
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--ts-theme-text);
}

.tsi-focus-main strong {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  color: #111113;
  line-height: 1.25;
}

.tsi-focus-main span {
  font-size: 0.46rem;
  color: #6e6e73;
  font-variant-numeric: tabular-nums;
}

.tsi-split-overlay {
  position: absolute;
  inset-block-end: 5px;
  inset-inline-end: 5px;
  inline-size: 54%;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 17, 19, 0.08);
  border-inline-start: 2.5px solid var(--ts-theme);
  box-shadow: 0 4px 10px -4px rgba(17, 17, 19, 0.16);
}

.tsi-split-overlay strong {
  display: block;
  font-size: 0.49rem;
  font-weight: 700;
  color: #1d1d1f;
  white-space: nowrap;
  overflow: clip;
  text-overflow: ellipsis;
}

.tsi-split-overlay span {
  display: block;
  font-size: 0.42rem;
  color: #6e6e73;
}

.tsi-block-next {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f8f7fb;
  border-color: rgba(132, 110, 175, 0.22);
}

/* Right Time Horizon Vertical Bar */
.tsi-horizon {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tsi-hz-seg {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 0.41rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #6e6e73;
  background: #f3f4f6;
  border-inline-start: 1.5px solid #d1d5db;
}

.tsi-hz-seg.is-morning {
  flex: 0.9;
}

.tsi-hz-seg.is-deep {
  flex: 1.8;
  background: var(--ts-theme-soft);
  color: var(--ts-theme-text);
  border-inline-start-color: var(--ts-theme);
}

.tsi-hz-seg.is-lunch {
  flex: 0.9;
}

/* Floating Bottom Dock Bar (Full Theme Sync + Automatic Contrast Ink) */
.tsi-dock-wrap {
  padding-block-start: 2px;
}

.tsi-dock-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 4px 5px;
  border-radius: 16px;
  background-color: var(--ts-dock-bg);
  border: 1px solid var(--ts-dock-border);
  color: var(--ts-theme-ink, #ffffff);
  color: contrast-color(var(--ts-theme));
  box-shadow: 0 8px 18px -8px rgba(17, 17, 19, 0.34);
}

.tsi-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding-block: 3px;
  border-radius: 11px;
  opacity: 0.72;
}

.tsi-dock-item.is-active {
  opacity: 1;
  background: var(--ts-dock-pill-bg);
}

.tsi-dock-item i {
  font-style: normal;
  font-size: 0.43rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.tsi-home-bar {
  position: absolute;
  inset-block-end: 6px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 68px;
  block-size: 3.5px;
  border-radius: 999px;
  background: rgba(17, 17, 19, 0.26);
  z-index: 8;
  pointer-events: none;
}

/* DEVICE 4 (Inner Right · Native Apple Watch Silhouette · Staggered Lower-Mid Valley) */
.ts-slot-watch {
  grid-column: 4 / 5;
  grid-row: 3 / 4;
  align-self: start;
  justify-self: center;
  align-items: center;
  z-index: 3;
  margin-block-start: clamp(44px, 6.4dvh, 66px);
}

.ts-watch-band {
  inline-size: clamp(68px, min(6.2vw, 10.6dvh), 88px);
  background: linear-gradient(90deg, #dcd6cc 0%, #eae5dc 50%, #d4cec3 100%);
  border-inline: 1px solid rgba(17, 17, 19, 0.06);
}

.ts-watch-band.top {
  block-size: clamp(26px, 5.0dvh, 46px);
  border-radius: 12px 12px 8px 8px;
  box-shadow: inset 0 -10px 16px -10px rgba(17, 17, 19, 0.22);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000000 72%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000000 72%);
}

.ts-watch-band.bottom {
  block-size: 320px;
  border-radius: 8px 8px 0 0;
  box-shadow: inset 0 10px 16px -10px rgba(17, 17, 19, 0.22);
}

.ts-hw-watch {
  position: relative;
  inline-size: clamp(114px, min(10.5vw, 18.2dvh), 148px);
  aspect-ratio: 156 / 186;
  padding: clamp(6px, 0.95dvh, 9px);
  border-radius: clamp(28px, 3.9dvh, 36px);
  background: linear-gradient(145deg, #323236 0%, #151517 55%, #26262a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 22px 42px -14px rgba(17, 17, 19, 0.32);
  flex-shrink: 0;
}

.ts-aw-crown {
  position: absolute;
  inset-inline-end: -4px;
  inset-block-start: 22%;
  inline-size: 4px;
  block-size: 16%;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #4b4b50, #232326, #424246);
}

.ts-aw-btn {
  position: absolute;
  inset-inline-end: -3px;
  inset-block-start: 46%;
  inline-size: 3px;
  block-size: 20%;
  border-radius: 0 3px 3px 0;
  background: #2b2b2f;
}

.ts-aw-face {
  inline-size: 100%;
  block-size: 100%;
  border-radius: clamp(22px, 3.0dvh, 28px);
  background: radial-gradient(circle at 50% 24%, #182321 0%, #090b0d 78%);
  padding: clamp(7px, 1.2dvh, 11px) clamp(8px, 1.2dvh, 11px) clamp(6px, 1.0dvh, 9px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.ts-aw-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(0.5rem, 0.95dvh, 0.6rem);
  font-weight: 700;
}

.ts-aw-badge {
  font-size: clamp(0.42rem, 0.78dvh, 0.49rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #a7f3d0;
}

.ts-aw-clock {
  color: rgba(255, 255, 255, 0.86);
  font-variant-numeric: tabular-nums;
}

.ts-aw-ring-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block: 1px;
}

.ts-aw-ring {
  inline-size: clamp(48px, 7.6dvh, 66px);
  block-size: auto;
}

.ts-aw-ring-arc {
  stroke: var(--ts-theme);
}

.ts-aw-ring-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.ts-aw-ring-center strong {
  font-size: clamp(0.68rem, 1.35dvh, 0.84rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.ts-aw-ring-center span {
  font-size: clamp(0.4rem, 0.75dvh, 0.48rem);
  color: rgba(255, 255, 255, 0.62);
}

.ts-aw-foot {
  text-align: center;
  line-height: 1.22;
}

.ts-aw-task {
  font-size: clamp(0.48rem, 0.95dvh, 0.58rem);
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: clip;
  text-overflow: ellipsis;
}

.ts-aw-sub {
  display: block;
  font-size: clamp(0.4rem, 0.78dvh, 0.48rem);
  color: rgba(255, 255, 255, 0.54);
}

/* DEVICE 5 (Far Right · Staggered Mid-High Same-Scale iOS Home Widgets iPhone + Width-Matched OLED StandBy) */
.ts-slot-continuity {
  grid-column: 5 / 6;
  grid-row: 3 / 4;
  align-self: start;
  justify-self: end;
  align-items: center;
  z-index: 2;
  margin-block-start: clamp(16px, 2.8dvh, 32px);
  padding-inline-end: clamp(14px, 1.6vw, 24px);
  gap: clamp(7px, 1.05dvh, 10px);
}

.ts-hw-widgets {
  position: relative;
  inline-size: var(--ts-iphone-w);
  aspect-ratio: 390 / 856;
  padding: var(--ts-iphone-pad);
  border-radius: var(--ts-iphone-radius);
  background: linear-gradient(145deg, #323236 0%, #141416 52%, #252529 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.20),
    -10px 24px 48px -18px rgba(15, 23, 42, 0.32),
    0 6px 14px rgba(15, 23, 42, 0.10);
  overflow: clip;
}

.ts-hw-widgets-island {
  position: absolute;
  inset-block-start: clamp(10px, 1.45dvh, 14px);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 27%;
  block-size: clamp(11px, 1.55dvh, 14px);
  border-radius: 999px;
  background: #08090c;
  z-index: 3;
}

.ts-hw-widgets img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--ts-iphone-inner-radius);
}

.ts-hw-standby {
  position: relative;
  inline-size: var(--ts-iphone-w);
  aspect-ratio: 2880 / 1746;
  padding: clamp(4px, 0.55dvh, 5px);
  border-radius: clamp(14px, 2.0dvh, 18px);
  background: linear-gradient(145deg, #2b2e38 0%, #111319 60%, #1c1f28 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    -8px 18px 38px -16px rgba(15, 23, 42, 0.30);
  overflow: clip;
}

.ts-hw-standby img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: clamp(10px, 1.5dvh, 13px);
}

/* Tablet Adaptation (Keep Full 5-Column Midline Editorial Stage down to 860px) */
@media (max-width: 1140px) {
  .ts-editorial-stage {
    --ts-iphone-w: clamp(132px, min(15.0vw, calc((100dvh - 126px) * 0.64 / 2.81)), 176px);
    block-size: clamp(540px, calc(100dvh - 126px), 890px);
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.94fr) minmax(0, 1.08fr) minmax(0, 1.00fr) minmax(0, 1.00fr);
    grid-template-rows: clamp(80px, 21%, 220px) auto minmax(0, 1fr);
    column-gap: 12px;
  }
  .ts-hero-header-group {
    gap: clamp(28px, 3.6vw, 40px);
    padding-inline: 16px;
    padding-block-end: 12px;
  }
  .ts-hero-wordmark {
    font-size: clamp(3.4rem, min(7.6vw, 10.6dvh), 5.2rem);
  }
  .ts-philosophy-block {
    max-inline-size: clamp(248px, 27.2vw, 304px);
    padding-block-start: 0;
  }
  .ts-phil-title {
    font-size: 0.86rem;
    white-space: normal;
    text-wrap: balance;
  }
  .ts-phil-body {
    font-size: 0.7rem;
    line-height: 1.48;
  }
  .ts-slot-iphone {
    margin-block-start: -24px;
  }
  .ts-hw-ipad {
    inline-size: clamp(232px, min(30vw, 42dvh), 350px);
  }
  .ts-hw-duo {
    inline-size: clamp(208px, min(24.8vw, calc(var(--ts-iphone-w) * 1.62)), 272px);
  }
  .ts-slot-duo {
    margin-block-end: 14px;
    margin-inline-end: -14px;
  }
  .ts-hw-watch {
    inline-size: clamp(106px, min(11vw, 16dvh), 132px);
  }
  .ts-watch-band {
    inline-size: clamp(62px, 6.6vw, 76px);
  }
  .ts-slot-continuity {
    margin-block-start: 16px;
    padding-inline-end: 12px;
  }
}

/* Portrait Tall Tablet (e.g. 1024x1366): balanced midline gallery poise without orphaned Duo */
@media (min-width: 860px) and (max-width: 1140px) and (min-height: 980px) {
  .ts-editorial-stage {
    block-size: calc(100dvh - 126px);
    grid-template-rows: 27% auto minmax(0, 1fr);
  }
  .ts-slot-duo {
    align-self: start;
    margin-block-start: 244px;
    margin-block-end: 0;
  }
  .ts-watch-band.bottom {
    block-size: 220px;
    border-radius: 8px 8px 12px 12px;
    -webkit-mask-image: linear-gradient(to bottom, #000000 35%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000000 35%, transparent 100%);
  }
}

/* Mobile & Narrow Tablet Frameless Editorial Layout (<= 859px) */
@media (max-width: 859px) {
  .ts-editorial-stage {
    block-size: auto;
    min-block-size: calc(100dvh - 60px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    row-gap: 0;
    column-gap: 14px;
    padding-block: 2.0rem 1.2rem;
    padding-inline: 1rem;
  }
  .ts-hero-header-group {
    display: contents;
  }
  .ts-hero-wordmark {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: clamp(2.85rem, 13.2vw, 5.0rem);
    max-inline-size: 100%;
    justify-self: center;
    padding-inline-end: 0;
    padding-block-end: 0;
    margin-block-end: -7px;
    z-index: 2;
  }
  .ts-slot-iphone {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-block-start: 0;
    margin-block-end: 1.5rem;
    z-index: 5;
  }
  .ts-iphone-hardware {
    inline-size: min(74vw, 272px);
  }
  .ts-philosophy-block {
    grid-column: 1 / -1;
    grid-row: 3;
    max-inline-size: 100%;
    padding: 0.4rem 0.25rem 1.8rem;
  }
  .ts-phil-title {
    white-space: normal;
    text-wrap: balance;
    font-size: 1.02rem;
  }
  .ts-phil-body {
    font-size: 0.8rem;
    line-height: 1.58;
  }
  .ts-slot-ipad {
    grid-column: 1 / 2;
    grid-row: 4;
    margin-block-start: 0;
    margin-inline-end: 0;
    justify-self: end;
    align-self: start;
  }
  .ts-hw-ipad {
    inline-size: 270px;
    padding: 8px;
    border-radius: 20px;
  }
  .ts-hw-ipad img {
    border-radius: 11px;
  }
  .ts-slot-continuity {
    grid-column: 2 / 3;
    grid-row: 4 / 6;
    margin-block-start: -10px;
    padding-inline-end: 0;
    justify-self: center;
    gap: 12px;
  }
  .ts-hw-widgets {
    inline-size: 100%;
    max-inline-size: 170px;
    border-radius: 26px;
    padding: 5px;
  }
  .ts-hw-widgets img {
    border-radius: 21px;
  }
  .ts-hw-standby {
    inline-size: 100%;
    max-inline-size: 170px;
  }
  .ts-slot-duo {
    grid-column: 1 / 2;
    grid-row: 5;
    margin-block-start: 18px;
    margin-block-end: 0;
    justify-self: center;
    align-self: center;
  }
  .ts-hw-duo {
    inline-size: min(50vw, 200px);
  }
  .ts-slot-watch {
    grid-column: 1 / -1;
    grid-row: 6;
    margin-block-start: 28px;
    margin-block-end: -42px;
  }
  .ts-watch-band.top {
    block-size: 38px;
  }
  .ts-watch-band.bottom {
    block-size: 82px;
  }
  .ts-hw-watch {
    inline-size: 132px;
    block-size: 158px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ts-swatch-dot {
    transition: none;
  }
}

/* View 2: 4-Form-Factor Continuity Gallery */
.continuity-white-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.device-showcase-card {
  background: var(--bg-white);
  border: 1px solid var(--border-frame);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.span-full { grid-column: span 12; }
.span-half { grid-column: span 6; }

.showcase-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--point-burgundy);
  margin-bottom: 0.35rem;
}

.showcase-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.showcase-head p {
  font-size: 0.9rem;
  color: var(--text-body);
  max-width: 680px;
}

.hairline-screen-frame {
  background: var(--bg-white);
  border: 1px solid var(--border-frame);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.frame-wide {
  max-width: 1020px;
  margin: 0 auto;
}

.duo-minimal-stage,
.watch-minimal-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.frame-mobile {
  width: 215px;
  border-radius: 18px;
}

.minimal-watch-card {
  width: 186px;
  height: 226px;
  background: var(--bg-page);
  border: 1px solid var(--border-frame);
  border-radius: 32px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mw-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--point-burgundy);
}

.mw-ring {
  background: var(--bg-white);
  border: 1.5px solid var(--border-burgundy-soft);
  border-radius: 18px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mw-zone { font-size: 0.65rem; font-weight: 700; color: var(--text-muted); }
.mw-remain { font-size: 1.45rem; font-weight: 800; color: var(--point-burgundy); font-variant-numeric: tabular-nums; }
.mw-task { font-size: 0.7rem; font-weight: 700; color: var(--text-ink); }

.mw-next {
  display: flex;
  justify-content: space-between;
  font-size: 0.64rem;
  color: var(--text-body);
  padding: 0 2px;
}

/* ==========================================================================
   View 3: App Features — Apple Store Korea Borderless Card & Real-Screenshot Stage
   (#F5F5F7 Canvas · #FFFFFF Borderless 28px Surface · #000000 OLED Desk Card)
   ========================================================================== */
.features-split-container {
  max-width: 1160px;
}

.features-eco-header {
  max-width: 820px;
  margin-bottom: clamp(0.62rem, 1.55dvh, 1.2rem);
}

.apple-dual-headline {
  font-size: clamp(1.28rem, min(2.35vw, 3.0dvh), 1.92rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.028em;
  color: #6e6e73;
  text-wrap: balance;
}

.apple-dual-headline .adh-strong {
  color: #1d1d1f;
  font-weight: 700;
}

.apple-dual-headline .adh-muted {
  color: #6e6e73;
  font-weight: 600;
}

/* 5-Category Segmented Pill Control (Apple macOS/iOS Style, Zero Layout Shift) */
.features-tablist {
  margin-top: clamp(0.48rem, 1.15dvh, 0.88rem);
  display: inline-flex;
  flex-wrap: wrap;
  flex-wrap: balance;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  padding: 4px;
  border-radius: 999px;
  background: #e8e8ed;
  border: 0;
}

.features-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.32rem, 0.68dvh, 0.44rem) 1rem;
  border-radius: 999px;
  background: transparent;
  border: 0;
  font-size: clamp(0.76rem, 1.05vw, 0.82rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #424245;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.22s var(--ease-apple), color 0.22s ease, box-shadow 0.22s var(--ease-apple);
}

.features-tab-btn:hover:not(.is-active) {
  color: #1d1d1f;
}

.features-tab-btn.is-active {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.features-eco-grid {
  inline-size: 100%;
  display: block;
}

/* Main Borderless Feature Card (60% Real-Screenshot Stage : 40% Spotlight Copy) */
.feature-split-card {
  --fsc-accent: #234e3c;
  --fsc-accent-sub: #18b5d9;

  background: #ffffff;
  border: 0;
  border-radius: clamp(20px, 2.6dvh, 28px);
  padding: clamp(0.85rem, 1.85dvh, 1.38rem) clamp(1.1rem, 1.6vw, 1.6rem);
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 1fr);
  gap: clamp(1.1rem, 1.65vw, 1.75rem);
  align-items: stretch;
  transition: box-shadow 0.35s var(--ease-apple);
}

.feature-split-card[hidden] {
  display: none !important;
}

.feature-split-card:hover {
  box-shadow: 4px 10px 26px rgba(0, 0, 0, 0.11);
}

.feature-split-card.is-dark-oled {
  background: #000000;
  color: #f5f5f7;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

/* --------------------------------------------------------------------------
   Left Pane (~60%): Matte Hardware Stage + Authentic App Screenshots
   -------------------------------------------------------------------------- */
.fsc-motion-pane {
  background: #f5f5f7;
  border: 0;
  border-radius: 20px;
  padding: clamp(0.52rem, 1.1dvh, 0.84rem) clamp(0.72rem, 1vw, 0.96rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(0.38rem, 0.85dvh, 0.65rem);
  min-inline-size: 0;
}

.feature-split-card.is-dark-oled .fsc-motion-pane {
  background: #121215;
}

.fsc-stage-bar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fsc-beat-pills {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.fsc-beat-pills::-webkit-scrollbar {
  display: none;
}

.fsc-beat-pill {
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  border: 0;
  color: #424245;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.fsc-beat-pill:hover:not(.is-active) {
  background: rgba(0, 0, 0, 0.09);
  color: #1d1d1f;
}

.fsc-beat-pill.is-active {
  background: #1d1d1f;
  color: #ffffff;
}

.feature-split-card.is-dark-oled .fsc-beat-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #a1a1a6;
}

.feature-split-card.is-dark-oled .fsc-beat-pill:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.feature-split-card.is-dark-oled .fsc-beat-pill.is-active {
  background: #ffffff;
  color: #000000;
}

/* 16:10 Authentic Hardware Screen Viewport */
.fsc-stage-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-block-size: clamp(250px, calc(100dvh - 332px), 420px);
  max-inline-size: calc(clamp(250px, calc(100dvh - 332px), 420px) * 1.6);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: clip;
  border-radius: 14px;
  user-select: none;
}

.fsc-ipad-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 7px;
  border-radius: 16px;
  background: #1d1d1f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  transition: opacity 0.62s var(--ease-apple), transform 0.65s var(--ease-apple);
}

.fsc-ipad-bezel.is-hidden-for-phones {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.fsc-ipad-cam {
  position: absolute;
  top: 2.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #424245;
  z-index: 5;
}

.fsc-device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: clip;
  background: #09090b;
}

.fsc-shot-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.fsc-shot-slide.has-light-pad {
  background: #ffffff;
}

.fsc-shot-crop {
  width: 100%;
  height: 100%;
  transform-origin: center center;
}

.fsc-shot-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
}

/* Dual-iPhone OS Widget Pair Layer (Tab 3 · Beat 3) */
.fsc-dual-iphone-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px 24px;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity 0.62s var(--ease-apple), transform 0.65s var(--ease-apple);
}

.fsc-dual-iphone-stage.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.fsc-dual-phones-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  height: 100%;
}

.fsc-mini-iphone {
  position: relative;
  height: 90%;
  aspect-ratio: 473 / 1024;
  padding: 5px;
  border-radius: 26px;
  background: #1d1d1f;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
}

.fsc-mini-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 5px;
  border-radius: 999px;
  background: #000000;
  z-index: 4;
}

.fsc-mini-iphone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 21px;
  display: block;
}

.fsc-mini-phone-cap {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 600;
  color: #6e6e73;
}

/* Floating Millimeter Pointer Arrow & Action Tag */
.fsc-motion-cursor {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 20;
  pointer-events: none;
  transform: translate(-4px, -4px);
  transition: opacity 0.42s var(--ease-apple);
}

.fsc-cursor-ring {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--fsc-accent);
  background: rgba(35, 78, 60, 0.12);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.3s ease, transform 0.4s var(--ease-apple);
}

.fsc-motion-cursor.is-pulse .fsc-cursor-ring {
  opacity: 0.9;
  transform: scale(1.22);
}

.fsc-cursor-pill {
  position: absolute;
  left: 14px;
  top: 12px;
  padding: 0.2rem 0.56rem;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.fsc-motion-cursor.is-flip-left .fsc-cursor-pill {
  left: auto;
  right: 12px;
}

.fsc-cursor-hold-svg {
  position: absolute;
  left: -8px;
  top: -8px;
  width: 24px;
  height: 24px;
  opacity: 0;
  transform: rotate(-90deg);
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.fsc-motion-cursor.is-holding .fsc-cursor-hold-svg {
  opacity: 1;
}

.fsc-motion-cursor.is-holding .fsc-cursor-arrow {
  transform: scale(0.86);
  transform-origin: top left;
}

/* Tactile iOS/iPadOS Touch-Slide Gesture Puck & Directional Swipe Trail */
.fsc-motion-cursor.is-touch-mode .fsc-cursor-arrow,
.fsc-motion-cursor.is-touch-mode .fsc-cursor-ring,
.fsc-motion-cursor.is-touch-mode .fsc-cursor-hold-svg {
  opacity: 0 !important;
}

.fsc-touch-puck {
  position: absolute;
  left: -13px;
  top: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 2.2px solid #234e3c;
  box-shadow:
    0 0 0 6px rgba(35, 78, 60, 0.16),
    0 6px 16px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.26s ease, transform 0.34s var(--ease-apple), box-shadow 0.3s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fsc-motion-cursor.is-touch-mode .fsc-touch-puck {
  opacity: 1;
  transform: scale(1);
}

.fsc-motion-cursor.is-touch-mode.is-pulse .fsc-touch-puck {
  transform: scale(1.08);
  box-shadow:
    0 0 0 11px rgba(35, 78, 60, 0.14),
    0 8px 20px rgba(15, 23, 42, 0.26);
}

.fsc-touch-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #234e3c;
}

.fsc-swipe-trail {
  position: absolute;
  top: 50%;
  height: 18px;
  width: 68px;
  border-radius: 999px;
  transform: translateY(-50%);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.fsc-motion-cursor.is-swipe-left .fsc-swipe-trail {
  opacity: 1;
  left: 22px;
  background: linear-gradient(90deg, rgba(35, 78, 60, 0.88) 0%, rgba(35, 78, 60, 0.18) 100%);
  justify-content: flex-start;
  padding-left: 8px;
}

.fsc-motion-cursor.is-swipe-left .fsc-swipe-trail::after {
  content: "‹‹";
}

.fsc-motion-cursor.is-swipe-right .fsc-swipe-trail {
  opacity: 1;
  right: 22px;
  background: linear-gradient(270deg, rgba(5, 150, 105, 0.88) 0%, rgba(5, 150, 105, 0.18) 100%);
  justify-content: flex-end;
  padding-right: 8px;
}

.fsc-motion-cursor.is-swipe-right .fsc-swipe-trail::after {
  content: "››";
}

.fsc-hold-track {
  fill: none;
  stroke: rgba(35, 78, 60, 0.22);
  stroke-width: 2.2;
}

.fsc-hold-ring {
  fill: none;
  stroke: var(--hold-color, #234e3c);
  stroke-width: 2.6;
  stroke-linecap: round;
}

/* Continuous 60fps Authentic Amber Time-Horizon Index Drag Overlay (Tab 2 · sg-index-bar) */
.fsc-index-drag-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 4;
}

.fsc-index-drag-layer.is-active {
  opacity: 1;
}

.fsc-index-track-mask {
  position: absolute;
  background: #fcfcfc;
  border-left: 1px solid #f0f2f5;
  border-radius: 3px;
}

.fsc-index-floating-bar {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fdfaf6;
  border: 1.5px solid #d97706;
  border-left: 2.6px solid #d97706;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.16);
  transform-origin: center center;
  will-change: transform;
  transition: box-shadow 0.22s ease;
}

.fsc-index-floating-bar.is-lifted {
  box-shadow:
    0 8px 20px rgba(217, 119, 6, 0.28),
    0 2px 6px rgba(180, 83, 9, 0.16);
}

.fsc-index-bar-handle {
  position: absolute;
  left: 50%;
  width: 62%;
  height: 2.2px;
  border-radius: 999px;
  background: #d97706;
  transform: translateX(-50%);
}

.fsc-index-bar-handle.is-top {
  top: 2px;
}

.fsc-index-bar-handle.is-bottom {
  bottom: 2px;
}

.fsc-index-bar-label {
  font-size: 5.5px;
  line-height: 1.25;
  font-weight: 700;
  color: #b45309;
  text-align: center;
  letter-spacing: 0;
  user-select: none;
}

.fsc-index-bar-gap {
  display: block;
  height: 2px;
}

/* Clipped Left Day-Tab + Main-Timetable Horizontal Swipe Viewport (Tab 2 · sg-day-swipe) */
.fsc-day-pane-clip {
  position: absolute;
  overflow: clip;
  border-radius: 5px;
  background: #ffffff;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
}

.fsc-day-pane-clip.is-active {
  opacity: 1;
}

.fsc-day-pane-track {
  position: absolute;
  inset: 0;
  overflow: clip;
  will-change: transform;
}

.fsc-day-pane-img {
  position: absolute;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
}

/* Synced Day-Tab & Right-Panel Header Callout Rings (Tab 2 · sg-day-swipe) */
.fsc-sync-callouts-layer {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.26s ease;
}

.fsc-sync-callouts-layer.is-visible {
  opacity: 1;
}

.fsc-sync-callout {
  position: absolute;
  border-radius: 8px;
  border: 2px solid var(--sc-color, #059669);
  background: color-mix(in srgb, var(--sc-color, #059669) 10%, transparent);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--sc-color, #059669) 18%, transparent),
    0 4px 12px rgba(15, 23, 42, 0.14);
  @media (prefers-reduced-motion: no-preference) {
    animation: fscSyncCalloutPulse 1.6s ease-in-out infinite;
  }
}

.fsc-sync-callout.is-quiet {
  border-width: 1.5px;
  background: transparent;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sc-color, #059669) 18%, transparent);
  animation: none;
}

.fsc-sync-callout-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  background: var(--sc-color, #059669);
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.2);
}

.fsc-sync-callout.is-pos-bottom .fsc-sync-callout-pill {
  top: calc(100% + 5px);
}

.fsc-sync-callout.is-pos-top .fsc-sync-callout-pill {
  bottom: calc(100% + 5px);
}

@keyframes fscSyncCalloutPulse {
  0%, 100% {
    box-shadow:
      0 0 0 2px color-mix(in srgb, var(--sc-color, #059669) 22%, transparent),
      0 4px 12px rgba(15, 23, 42, 0.14);
  }
  50% {
    box-shadow:
      0 0 0 5px color-mix(in srgb, var(--sc-color, #059669) 10%, transparent),
      0 6px 14px rgba(15, 23, 42, 0.18);
  }
}

.fsc-drag-ghost {
  position: absolute;
  left: 12px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.34rem 0.62rem 0.34rem 0.56rem;
  border-radius: 6px;
  background: rgba(255, 251, 235, 0.96);
  border: 1px solid rgba(217, 119, 6, 0.42);
  border-left: 3.5px solid var(--dg-color, #d97706);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22), 0 4px 10px rgba(217, 119, 6, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-4px, -4px, 0) scale(0.92);
  transition: opacity 0.22s ease, transform 0.36s var(--ease-apple);
  z-index: 22;
}

.fsc-drag-ghost.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.fsc-dg-bar {
  display: none;
}

.fsc-dg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid #94a3b8;
  flex-shrink: 0;
}

.fsc-dg-text {
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.015em;
}

.fsc-dg-time {
  font-size: 0.6rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #b45309;
  padding-left: 0.2rem;
}

/* Precision Layer Spotlight Frame & Callout Pill Overlay */
.fsc-spotlight-box {
  position: absolute;
  z-index: 12;
  pointer-events: none;
  border-radius: 12px;
  border: 2px solid var(--spot-color, #234e3c);
  box-shadow: 0 0 0 9999px rgba(9, 9, 11, 0.30), 0 0 18px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transition: opacity 0.42s var(--ease-apple);
}

.fsc-spotlight-box.is-active {
  opacity: 1;
}

.fsc-spotlight-badge {
  position: absolute;
  top: -28px;
  left: 0;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  background: var(--spot-color, #234e3c);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.fsc-spotlight-box.is-badge-inside .fsc-spotlight-badge {
  top: 6px;
  left: 6px;
}

.fsc-spotlight-box.is-badge-bottom .fsc-spotlight-badge {
  top: calc(100% + 8px);
  left: 0;
}

.fsc-spotlight-box.is-badge-right .fsc-spotlight-badge {
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(-50%);
}

.fsc-spotlight-box.is-badge-left .fsc-spotlight-badge {
  left: auto;
  right: calc(100% + 10px);
  top: 46%;
  transform: translateY(-50%);
}

/* Bottom Minimal Scrub & Play Bar */
.fsc-scrub-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2px;
}

.fsc-play-mini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 0.58rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.fsc-play-mini:hover {
  transform: scale(1.06);
}

.feature-split-card.is-dark-oled .fsc-play-mini {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.fsc-scrub-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  overflow: clip;
  cursor: ew-resize;
}

.feature-split-card.is-dark-oled .fsc-scrub-track {
  background: rgba(255, 255, 255, 0.16);
}

.fsc-scrub-fill {
  width: 100%;
  height: 100%;
  background: #1d1d1f;
  transform-origin: left center;
  transform: scaleX(0.12);
}

.feature-split-card.is-dark-oled .fsc-scrub-fill {
  background: #18b5d9;
}

.fsc-scrub-time {
  font-size: 0.66rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #6e6e73;
  white-space: nowrap;
}

.feature-split-card.is-dark-oled .fsc-scrub-time {
  color: #a1a1a6;
}

/* --------------------------------------------------------------------------
   Right Pane (~40%): Apple Dual-Tone Headline & Minimal Spotlight List
   -------------------------------------------------------------------------- */
.fsc-content-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(0.42rem, 1.15dvh, 0.95rem);
  min-inline-size: 0;
  padding: 0.1rem 0.05rem;
}

.fsc-head {
  padding-bottom: clamp(0.1rem, 0.35dvh, 0.3rem);
}

.fsc-title {
  font-size: clamp(1.06rem, min(1.7vw, 2.25dvh), 1.46rem);
  line-height: 1.24;
  letter-spacing: -0.026em;
}

.fsc-title-strong {
  display: block;
  color: #1d1d1f;
  font-weight: 700;
}

.fsc-title-sub {
  display: block;
  color: #6e6e73;
  font-weight: 600;
  font-size: 0.9em;
  margin-top: 0.1rem;
}

.feature-split-card.is-dark-oled .fsc-title-strong {
  color: #f5f5f7;
}

.feature-split-card.is-dark-oled .fsc-title-sub {
  color: #a1a1a6;
}

/* Borderless 4-Row Spotlight List (Zero Layout-Shifting Properties on Active) */
.fsc-spotlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.1rem, 0.3dvh, 0.22rem);
  flex: 1;
}

.fsc-spot-row {
  position: relative;
  padding: clamp(0.36rem, 0.85dvh, 0.66rem) 0.72rem clamp(0.34rem, 0.8dvh, 0.62rem) 0.92rem;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.42;
  transition: opacity 0.38s var(--ease-apple), background-color 0.38s var(--ease-apple);
}

.fsc-spot-row:hover {
  opacity: 0.85;
}

.feature-split-card.is-dark-oled .fsc-spot-row {
  opacity: 0.56;
}

.feature-split-card.is-dark-oled .fsc-spot-row:hover {
  opacity: 0.9;
}

.feature-split-card.is-dark-oled .fsc-spot-row.is-synced,
.fsc-spot-row.is-synced {
  opacity: 1;
  background: rgba(0, 0, 0, 0.032);
}

.feature-split-card.is-dark-oled .fsc-spot-row.is-synced {
  background: rgba(255, 255, 255, 0.08);
}

.fsc-spot-accent {
  position: absolute;
  left: 4px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 999px;
  background: var(--fsc-accent);
  transform: scaleY(0);
  transition: transform 0.28s var(--ease-apple);
}

.fsc-spot-row.is-synced .fsc-spot-accent {
  transform: scaleY(1);
}

.fsc-spot-body {
  display: flex;
  flex-direction: column;
  gap: clamp(0.12rem, 0.28dvh, 0.22rem);
}

.fsc-spot-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.fsc-spot-title {
  font-size: clamp(0.8rem, min(1.05vw, 1.32dvh), 0.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #1d1d1f;
  line-height: 1.25;
}

.feature-split-card.is-dark-oled .fsc-spot-title {
  color: #f5f5f7;
}

.fsc-spot-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: #6e6e73;
  white-space: nowrap;
  flex-shrink: 0;
}

.feature-split-card.is-dark-oled .fsc-spot-tag {
  color: #a1a1a6;
}

.fsc-spot-desc {
  font-size: clamp(0.71rem, min(0.9vw, 1.16dvh), 0.78rem);
  font-weight: 500;
  line-height: 1.38;
  color: #424245;
}

.feature-split-card.is-dark-oled .fsc-spot-desc {
  color: #d2d2d7;
}

.fsc-spot-progress-track {
  margin-top: clamp(0.14rem, 0.28dvh, 0.22rem);
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.07);
  overflow: clip;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.fsc-spot-row.is-synced .fsc-spot-progress-track {
  opacity: 1;
}

.feature-split-card.is-dark-oled .fsc-spot-progress-track {
  background: rgba(255, 255, 255, 0.14);
}

.fsc-spot-progress-fill {
  width: 100%;
  height: 100%;
  background: var(--fsc-accent);
  transform-origin: left center;
  transform: scaleX(0);
}

/* Apple Store Bottom Navigation Chevrons */
.fsc-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(0.12rem, 0.35dvh, 0.3rem);
}

.fsc-footer-counter {
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #6e6e73;
}

.feature-split-card.is-dark-oled .fsc-footer-counter {
  color: #a1a1a6;
}

.fsc-footer-arrows {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.fsc-circle-nav-btn {
  width: clamp(28px, 3.8dvh, 34px);
  height: clamp(28px, 3.8dvh, 34px);
  border-radius: 50%;
  border: 0;
  background: #f5f5f7;
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s var(--ease-apple);
}

.fsc-circle-nav-btn:hover {
  background: #e8e8ed;
  transform: scale(1.05);
}

.feature-split-card.is-dark-oled .fsc-circle-nav-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.feature-split-card.is-dark-oled .fsc-circle-nav-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* 5-Step Category Compact Rhythm (Tab 2: Smart Gestures — Preserves 100dvh Zero-Scroll Fit) */
.feature-split-card.is-five-steps .fsc-beat-pills {
  gap: 0.24rem;
}

.feature-split-card.is-five-steps .fsc-beat-pill {
  padding: 0.24rem 0.58rem;
  font-size: 0.66rem;
}

.feature-split-card.is-five-steps .fsc-content-pane {
  gap: clamp(0.26rem, 0.68dvh, 0.62rem);
}

.feature-split-card.is-five-steps .fsc-head {
  padding-bottom: 0;
}

.feature-split-card.is-five-steps .fsc-title {
  font-size: clamp(0.98rem, min(1.52vw, 2.02dvh), 1.36rem);
  line-height: 1.2;
}

.feature-split-card.is-five-steps .fsc-spotlight-list {
  gap: clamp(0.03rem, 0.14dvh, 0.12rem);
}

.feature-split-card.is-five-steps .fsc-spot-row {
  padding: clamp(0.18rem, 0.44dvh, 0.4rem) 0.65rem clamp(0.16rem, 0.4dvh, 0.36rem) 0.85rem;
}

.feature-split-card.is-five-steps .fsc-spot-accent {
  top: 5px;
  bottom: 5px;
}

.feature-split-card.is-five-steps .fsc-spot-body {
  gap: clamp(0.05rem, 0.12dvh, 0.12rem);
}

.feature-split-card.is-five-steps .fsc-spot-title {
  font-size: clamp(0.74rem, min(0.94vw, 1.18dvh), 0.82rem);
  line-height: 1.2;
}

.feature-split-card.is-five-steps .fsc-spot-tag {
  font-size: 0.62rem;
}

.feature-split-card.is-five-steps .fsc-spot-desc {
  font-size: clamp(0.66rem, min(0.81vw, 1.01dvh), 0.72rem);
  line-height: 1.3;
  word-break: keep-all;
}

.feature-split-card.is-five-steps .fsc-spot-progress-track {
  margin-top: clamp(0.08rem, 0.18dvh, 0.16rem);
}

/* 6~7 Step Apple-Store Accordion Rhythm (Tab 3: 6 In-App Widgets + OS Native — Zero Overflow at 1280x720+) */
.feature-split-card.is-many-steps .fsc-beat-pills {
  gap: 0.2rem;
  flex-wrap: nowrap;
}

.feature-split-card.is-many-steps .fsc-beat-pill {
  padding: 0.22rem 0.48rem;
  font-size: 0.62rem;
  white-space: nowrap;
}

.feature-split-card.is-many-steps .fsc-content-pane {
  gap: clamp(0.24rem, 0.65dvh, 0.56rem);
}

.feature-split-card.is-many-steps .fsc-head {
  padding-bottom: 0;
}

.feature-split-card.is-many-steps .fsc-title {
  font-size: clamp(0.98rem, min(1.5vw, 2.0dvh), 1.34rem);
  line-height: 1.2;
}

.feature-split-card.is-many-steps .fsc-spotlight-list {
  gap: clamp(0.12rem, 0.34dvh, 0.26rem);
  justify-content: flex-start;
}

.feature-split-card.is-many-steps .fsc-spot-row {
  padding: clamp(0.28rem, 0.56dvh, 0.44rem) 0.68rem clamp(0.26rem, 0.52dvh, 0.42rem) 0.88rem;
  opacity: 0.58;
}

.feature-split-card.is-many-steps .fsc-spot-row.is-synced {
  opacity: 1;
  padding-block: clamp(0.38rem, 0.82dvh, 0.62rem);
}

.feature-split-card.is-many-steps .fsc-spot-accent {
  top: 6px;
  bottom: 6px;
}

.feature-split-card.is-many-steps .fsc-spot-title {
  font-size: clamp(0.76rem, min(0.96vw, 1.22dvh), 0.85rem);
  line-height: 1.22;
}

.feature-split-card.is-many-steps .fsc-spot-tag {
  font-size: 0.6rem;
}

.feature-split-card.is-many-steps .fsc-spot-desc-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease-apple);
  @media (prefers-reduced-motion: reduce) {
    transition: none;
  }
}

.feature-split-card.is-many-steps .fsc-spot-row.is-synced .fsc-spot-desc-wrap {
  grid-template-rows: 1fr;
}

.feature-split-card.is-many-steps .fsc-spot-desc-inner {
  overflow: hidden;
  min-height: 0;
}

.feature-split-card.is-many-steps .fsc-spot-desc {
  padding-top: 0.22rem;
  font-size: clamp(0.67rem, min(0.83vw, 1.06dvh), 0.74rem);
  line-height: 1.42;
  word-break: keep-all;
}

.feature-split-card.is-many-steps .fsc-spot-progress-track {
  margin-top: clamp(0.24rem, 0.45dvh, 0.36rem);
}

/* ==========================================================================
   TAB 3: iPhone Real-Device One-Take Widget Ecosystem Stage (.fsc-wot-stage)
   ========================================================================== */
.fsc-wot-viewport {
  border-radius: 16px;
}

.fsc-wot-stage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2.4%, 22px);
  padding: clamp(10px, 2.5%, 18px) clamp(14px, 3%, 24px);
  background: radial-gradient(circle at 24% 20%, #ffffff 0%, #f1f2f6 64%, #e8ebf0 100%);
  transition: background-color 0.55s var(--ease-apple), color 0.45s ease;
}

.fsc-wot-stage[data-wot-theme="dark"] {
  background: radial-gradient(circle at 26% 18%, #1e2430 0%, #101319 58%, #090b0f 100%);
}

.fsc-wot-devices {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: transform 0.55s var(--ease-apple);
}

.fsc-wot-phone {
  position: relative;
  height: 100%;
  aspect-ratio: 390 / 822;
  padding: 5px;
  border-radius: clamp(22px, 3.2dvh, 30px);
  background: linear-gradient(145deg, #35353a 0%, #141417 55%, #26262b 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 18px 36px -14px rgba(15, 23, 42, 0.34),
    0 4px 12px rgba(15, 23, 42, 0.14);
  flex-shrink: 0;
  transition: transform 0.55s var(--ease-apple);
}

.fsc-wot-stage.is-watch-open .fsc-wot-phone {
  transform: scale(0.92);
}

.fsc-wot-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 8px;
  border-radius: 999px;
  background: #0a0a0c;
  z-index: 16;
  pointer-events: none;
}

.fsc-wot-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: clamp(18px, 2.6dvh, 25px);
  overflow: clip;
  background: #ffffff;
  container-type: inline-size;
}

.fsc-wot-homebar {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 3px;
  border-radius: 999px;
  background: rgba(17, 17, 19, 0.28);
  z-index: 18;
  pointer-events: none;
}

.fsc-wot-stage[data-wot-theme="dark"] .fsc-wot-homebar {
  background: rgba(255, 255, 255, 0.42);
}

/* Continuous Compositor-Only Scene Layers Inside iPhone */
.wot-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 6px, 0) scale(0.985);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  transition: opacity 0.44s var(--ease-apple), transform 0.48s var(--ease-apple);
}

.wot-scene.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  z-index: 5;
}

.wot-ui-dark {
  background: #0b0d12;
}

.wot-ui-med {
  background: linear-gradient(180deg, #eff8fb 0%, #c7e5ee 45%, #89bac8 100%);
}

.wot-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Store 6-of-4 Callouts */
.wot-slot-callout {
  position: absolute;
  left: 5cqi;
  right: 5cqi;
  bottom: 7.5cqi;
  padding: 2.8cqi 3.4cqi;
  border-radius: 5cqi;
  background: rgba(18, 22, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font-size: 4.65cqi;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wot-slot-callout strong {
  color: #34d399;
  font-weight: 800;
}

.wot-swap-toast {
  position: absolute;
  left: 5cqi;
  right: 5cqi;
  bottom: 9cqi;
  display: flex;
  align-items: center;
  gap: 3.5cqi;
  padding: 4cqi 4.5cqi;
  border-radius: 5.5cqi;
  background: rgba(17, 29, 24, 0.94);
  border: 1px solid rgba(52, 211, 153, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.wot-swap-dot {
  width: 4.5cqi;
  height: 4.5cqi;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
  box-shadow: 0 0 0 2.5cqi rgba(52, 211, 153, 0.22);
}

.wot-swap-toast strong {
  display: block;
  font-size: 5.5cqi;
  font-weight: 800;
  line-height: 1.25;
}

.wot-swap-toast span {
  display: block;
  font-size: 4.5cqi;
  color: rgba(255, 255, 255, 0.74);
  margin-top: 1cqi;
}

/* Native Routine Block iPhone Header & Day Strip */
.wot-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11cqi 5.5cqi 2.5cqi;
  background: #ffffff;
}

.wot-app-brand {
  display: inline-flex;
  align-items: center;
  gap: 2.5cqi;
  font-size: 6.4cqi;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #18181b;
}

.wot-app-logo {
  width: 7cqi;
  height: 7cqi;
  border-radius: 2.2cqi;
  background: #234e3c;
  display: inline-block;
}

.wot-app-top-icons {
  display: inline-flex;
  align-items: center;
  gap: 2.5cqi;
}

.wot-app-top-icons i {
  width: 4cqi;
  height: 4cqi;
  border-radius: 50%;
  background: #e5e7eb;
  display: inline-block;
}

.wot-dot-theme {
  width: 4.5cqi;
  height: 4.5cqi;
  border-radius: 50%;
  background: #234e3c;
  display: inline-block;
}

.wot-day-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1cqi;
  padding: 1.5cqi 4.5cqi 2.5cqi;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.wot-day-strip span {
  text-align: center;
  font-size: 4.8cqi;
  font-weight: 600;
  color: #6b7280;
  padding: 1.6cqi 0;
  border-radius: 2.2cqi;
}

.wot-day-strip span.is-today {
  background: #234e3c;
  color: #ffffff;
  font-weight: 800;
}

.wot-day-strip span.is-hol {
  color: #234e3c;
  font-weight: 700;
}

/* iPhone Scene Body */
.wot-body {
  flex: 1;
  min-height: 0;
  padding: 4cqi 5cqi 17cqi;
  display: flex;
  flex-direction: column;
  gap: 3.4cqi;
  overflow: clip;
}

.wot-body-tight {
  gap: 2.8cqi;
}

.wot-body-dim {
  opacity: 0.35;
}

.wot-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqi;
}

.wot-sec-head strong {
  font-size: 6cqi;
  font-weight: 800;
  color: #18181b;
  letter-spacing: -0.02em;
}

.wot-mini-pill {
  padding: 1.4cqi 3.2cqi;
  border-radius: 999px;
  font-size: 4.4cqi;
  font-weight: 700;
  white-space: nowrap;
}

.wot-mini-pill.is-green {
  background: #e6f4ee;
  color: #1f5c43;
}

.wot-mini-pill.is-amber {
  background: #fef3c7;
  color: #b45309;
}

.wot-mini-pill.is-purple {
  background: #f3e8ff;
  color: #7e22ce;
}

/* 2A: Calendar KPI & Mini Heatmaps */
.wot-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2cqi;
}

.wot-kpi-row > div {
  background: #f8f9fa;
  border: 1px solid #eceef2;
  border-radius: 3.5cqi;
  padding: 2.6cqi 2.8cqi;
}

.wot-kpi-row span {
  display: block;
  font-size: 4.1cqi;
  color: #6b7280;
  font-weight: 600;
}

.wot-kpi-row strong {
  display: block;
  font-size: 6.4cqi;
  font-weight: 800;
  color: #234e3c;
  margin-top: 0.8cqi;
}

.wot-cal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4cqi;
}

.wot-cal-card {
  background: #ffffff;
  border: 1px solid #eceef2;
  border-radius: 3.8cqi;
  padding: 3cqi;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.wot-cal-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 4.4cqi;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2.2cqi;
}

.wot-cal-h b {
  color: #234e3c;
  font-weight: 800;
}

.wot-cal-dots {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.4cqi;
}

.wot-cal-dots i {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #eef1f5;
}

.wot-cal-dots.is-amber i.is-on { background: #f59e0b; }
.wot-cal-dots.is-green i.is-on { background: #234e3c; }
.wot-cal-dots.is-sky i.is-on { background: #0284c7; }
.wot-cal-dots.is-purple i.is-on { background: #8b5cf6; }

/* 2B/2C/2D: Clock, Deck, Briefing, Claude AI Sheet & Timetable Placement */
.wot-deck-card {
  background: linear-gradient(135deg, #fdf4f6 0%, #f7f4fa 100%);
  border: 1px solid #ebd7df;
  border-radius: 4.2cqi;
  padding: 3.2cqi 4cqi;
}

.wot-deck-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 4.4cqi;
  color: #6e4555;
  font-weight: 700;
  margin-bottom: 1.4cqi;
}

.wot-deck-dots {
  display: inline-flex;
  gap: 1.2cqi;
}

.wot-deck-dots i {
  width: 2cqi;
  height: 2cqi;
  border-radius: 50%;
  background: rgba(110, 69, 85, 0.25);
  display: inline-block;
}

.wot-deck-dots i.is-on {
  background: #8c2d46;
}

.wot-deck-card p {
  font-size: 5.2cqi;
  font-weight: 800;
  color: #1f2937;
}

.wot-brief-card {
  background: linear-gradient(135deg, #1b3b2d 0%, #234e3c 100%);
  border-radius: 4.2cqi;
  padding: 3.4cqi 4cqi;
  color: #ffffff;
  box-shadow: 0 6px 14px -6px rgba(35, 78, 60, 0.45);
}

.wot-brief-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4cqi;
}

.wot-brief-top strong {
  font-size: 5.4cqi;
  font-weight: 800;
}

.wot-brief-ai {
  padding: 0.9cqi 2.6cqi;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 4cqi;
  font-weight: 700;
  color: #a7f3d0;
}

.wot-brief-card p {
  font-size: 4.4cqi;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

.wot-clock-card {
  background: #ffffff;
  border: 1px solid #eceef2;
  border-radius: 4.2cqi;
  padding: 3.2cqi 4cqi;
  text-align: center;
}

.wot-clock-row {
  display: inline-flex;
  align-items: baseline;
  gap: 2cqi;
}

.wot-clock-row span {
  font-size: 5cqi;
  font-weight: 700;
  color: #6b7280;
}

.wot-clock-row strong {
  font-size: 13cqi;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.wot-clock-date {
  display: inline-block;
  margin-top: 1.6cqi;
  padding: 1cqi 3cqi;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 4.3cqi;
  font-weight: 600;
  color: #4b5563;
}

.wot-weather-card {
  background: #ffffff;
  border: 1px solid #eceef2;
  border-radius: 4.2cqi;
  padding: 3cqi 3.8cqi;
}

.wot-w-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 4.8cqi;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2cqi;
}

.wot-w-top strong {
  font-size: 6.4cqi;
  color: #0284c7;
}

.wot-w-week {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1cqi;
  text-align: center;
}

.wot-w-week span {
  font-size: 4cqi;
  color: #6b7280;
  display: flex;
  flex-direction: column;
  gap: 0.8cqi;
}

.wot-w-week b {
  font-size: 4.6cqi;
  color: #18181b;
  font-weight: 700;
}

/* Claude AI Bottom Sheet */
.wot-ai-sheet {
  position: absolute;
  left: 3.5cqi;
  right: 3.5cqi;
  bottom: 16cqi;
  padding: 4cqi 4.5cqi 4.5cqi;
  border-radius: 6cqi;
  background: #ffffff;
  border: 1px solid rgba(35, 78, 60, 0.22);
  box-shadow: 0 -6px 26px rgba(15, 23, 42, 0.16), 0 8px 20px rgba(15, 23, 42, 0.12);
  z-index: 9;
}

.wot-ai-handle {
  width: 18cqi;
  height: 1.6cqi;
  border-radius: 999px;
  background: #d1d5db;
  margin: 0 auto 3cqi;
}

.wot-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5cqi;
  margin-bottom: 2.2cqi;
}

.wot-ai-badge {
  font-size: 4.55cqi;
  font-weight: 800;
  color: #234e3c;
  white-space: nowrap;
}

.wot-ai-tag {
  padding: 0.8cqi 2.2cqi;
  border-radius: 999px;
  background: #e6f4ee;
  color: #1f5c43;
  font-size: 3.6cqi;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.wot-ai-lead {
  font-size: 4.8cqi;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.38;
  margin-bottom: 2.8cqi;
  word-break: keep-all;
}

.wot-ai-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.8cqi;
}

.wot-ai-list li {
  display: flex;
  align-items: center;
  gap: 2.4cqi;
  font-size: 4.5cqi;
  font-weight: 600;
  color: #374151;
  background: #f8faf9;
  padding: 2cqi 2.8cqi;
  border-radius: 2.8cqi;
}

.wot-ai-list li span {
  font-size: 4.2cqi;
  font-weight: 800;
  color: #234e3c;
  font-variant-numeric: tabular-nums;
}

/* 2D: Timetable Placed Briefing Block */
.wot-tt-list {
  display: flex;
  flex-direction: column;
  gap: 2.4cqi;
}

.wot-tt-row {
  display: grid;
  grid-template-columns: 16cqi 1fr;
  align-items: stretch;
  gap: 2.2cqi;
}

.wot-tt-time {
  font-size: 4.4cqi;
  font-weight: 700;
  color: #9ca3af;
  font-variant-numeric: tabular-nums;
  padding-top: 2cqi;
}

.wot-tt-blk {
  border-radius: 3.4cqi;
  padding: 2.8cqi 3.4cqi;
  font-size: 4.8cqi;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  gap: 0.8cqi;
}

.wot-tt-blk b {
  font-size: 4.1cqi;
  font-weight: 600;
  color: #6b7280;
}

.wot-tt-blk.is-routine {
  background: #fef9ec;
  border-left: 2.5px solid #f59e0b;
}

.wot-tt-blk.is-placed {
  background: #e6f4ee;
  border: 1.5px solid #234e3c;
  border-left: 3.5px solid #234e3c;
  box-shadow: 0 6px 14px -4px rgba(35, 78, 60, 0.25);
}

.wot-tt-blk.is-placed strong {
  color: #153c2c;
  font-weight: 800;
}

.wot-tt-blk.is-placed b {
  color: #1f5c43;
  font-weight: 700;
}

.wot-tt-blk.is-deep {
  background: #edf6fb;
  border-left: 2.5px solid #0284c7;
}

.wot-tt-blk.is-lunch {
  background: #f5f0ff;
  border-left: 2.5px solid #8b5cf6;
}

/* 3A/3B/3C: Photo Widget (One-Thing Goal, Streak Shield & 3 Archives) */
.wot-seg-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6cqi;
  padding: 1.4cqi;
  border-radius: 3.5cqi;
  background: #f1f5f9;
}

.wot-seg-2 span {
  text-align: center;
  padding: 2cqi 0;
  border-radius: 2.6cqi;
  font-size: 4.8cqi;
  font-weight: 700;
  color: #64748b;
}

.wot-seg-2 span.is-on {
  background: #ffffff;
  color: #18181b;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.wot-goal-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqi;
}

.wot-goal-pills span {
  text-align: center;
  padding: 2cqi 0;
  border-radius: 999px;
  font-size: 4.5cqi;
  font-weight: 700;
  background: #f3f4f6;
  color: #6b7280;
}

.wot-goal-pills span.is-on {
  background: #234e3c;
  color: #ffffff;
}

.wot-ot-card {
  background: #f7faf8;
  border: 1px solid #cde3d7;
  border-radius: 4cqi;
  padding: 3.2cqi 3.8cqi;
}

.wot-ot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2cqi;
}

.wot-ot-top strong {
  font-size: 5.2cqi;
  font-weight: 800;
  color: #18181b;
}

.wot-ot-timer {
  padding: 0.9cqi 2.4cqi;
  border-radius: 999px;
  background: #234e3c;
  color: #ffffff;
  font-size: 4.1cqi;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wot-ot-sub {
  font-size: 4.3cqi;
  color: #4b5563;
  font-weight: 600;
}

.wot-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4cqi;
}

.wot-proof-tile {
  border-radius: 3.8cqi;
  padding: 4.4cqi 3.2cqi;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5cqi;
  color: #ffffff;
  font-weight: 800;
}

.wot-proof-tile span { font-size: 4.5cqi; opacity: 0.9; }
.wot-proof-tile b { font-size: 5.5cqi; font-variant-numeric: tabular-nums; }
.wot-proof-tile.is-t1 { background: linear-gradient(135deg, #3b6f59 0%, #234e3c 100%); }
.wot-proof-tile.is-t2 { background: linear-gradient(135deg, #2d5a7b 0%, #1c3a52 100%); }
.wot-proof-tile.is-t3 { background: linear-gradient(135deg, #7c5c44 0%, #4d3726 100%); }
.wot-proof-tile.is-today {
  background: linear-gradient(135deg, #059669 0%, #234e3c 100%);
  box-shadow: 0 0 0 2px #a7f3d0, 0 6px 14px rgba(5, 150, 105, 0.3);
}

.wot-streak-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wot-streak-head strong {
  font-size: 5.8cqi;
  font-weight: 800;
  color: #18181b;
}

.wot-streak-cal {
  background: #f9fafb;
  border: 1px solid #eceef2;
  border-radius: 4cqi;
  padding: 3cqi;
}

.wot-sc-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 4cqi;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 1.8cqi;
}

.wot-sc-cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.4cqi;
}

.wot-sc-c {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 2.2cqi;
  font-style: normal;
  font-size: 3.7cqi;
  font-weight: 800;
  background: #eef1f5;
  color: #9ca3af;
}

.wot-sc-c.is-on {
  background: #234e3c;
  color: #ffffff;
}

.wot-sc-c.is-today {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 0 0 1.5px #a7f3d0;
}

.wot-sc-c.is-hold {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 3.2cqi;
}

.wot-hold-note {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 3.8cqi;
  padding: 2.8cqi 3.4cqi;
}

.wot-hold-note strong {
  display: block;
  font-size: 4.5cqi;
  font-weight: 800;
  color: #1e40af;
}

.wot-hold-note span {
  display: block;
  font-size: 4cqi;
  font-weight: 600;
  color: #3b82f6;
  margin-top: 0.8cqi;
}

/* 3C: 3 Archives */
.wot-arch-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6cqi;
}

.wot-arch-tabs span {
  text-align: center;
  padding: 1.8cqi 0;
  border-radius: 999px;
  font-size: 4.2cqi;
  font-weight: 800;
  background: #e6f4ee;
  color: #1f5c43;
}

.wot-arch-list {
  display: flex;
  flex-direction: column;
  gap: 2.4cqi;
}

.wot-arch-item {
  display: flex;
  align-items: center;
  gap: 3.2cqi;
  padding: 3.2cqi 3.6cqi;
  border-radius: 4cqi;
  border: 1px solid #eceef2;
  background: #ffffff;
}

.wot-arch-item.is-gal { border-left: 3px solid #0284c7; background: #f5faff; }
.wot-arch-item.is-scr { border-left: 3px solid #234e3c; background: #f4faf7; }
.wot-arch-item.is-fin { border-left: 3px solid #d97706; background: #fffbf2; }

.wot-arch-ico {
  font-size: 8.5cqi;
  line-height: 1;
}

.wot-arch-item strong {
  display: block;
  font-size: 5cqi;
  font-weight: 800;
  color: #18181b;
}

.wot-arch-item span {
  display: block;
  font-size: 4.2cqi;
  color: #4b5563;
  font-weight: 600;
  margin-top: 0.8cqi;
}

/* 4A/4B/4C: In-App Core Todo / Memo+YT / Pomodoro+Glass */
.wot-prio-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5cqi;
}

.wot-prio-row span {
  text-align: center;
  padding: 1.6cqi 0;
  border-radius: 999px;
  font-size: 4cqi;
  font-weight: 800;
}

.wot-prio-row span.is-red { background: #fff1f2; color: #be123c; }
.wot-prio-row span.is-amber { background: #fffbeb; color: #b45309; }
.wot-prio-row span.is-gray { background: #f3f4f6; color: #4b5563; }

.wot-voice-pill {
  padding: 1cqi 2.4cqi;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 3.9cqi;
  font-weight: 800;
}

.wot-fmt-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2cqi;
  padding: 1.6cqi;
  border-radius: 3cqi;
  background: #f3f4f6;
  text-align: center;
  font-size: 4.6cqi;
  color: #1f2937;
}

.wot-fmt-bar > * {
  background: #ffffff;
  border-radius: 1.8cqi;
  padding: 1.2cqi 0;
  font-style: normal;
  font-weight: 700;
}

.wot-fmt-bar .is-col { color: #dc2626; font-weight: 800; }
.wot-fmt-bar em { font-style: italic; }
.wot-fmt-bar mark { background: #fef08a; color: #1f2937; }

.wot-memo-editor {
  background: #fffdf4;
  border: 1px solid #fde68a;
  border-radius: 4cqi;
  padding: 3.4cqi 3.8cqi;
  display: flex;
  flex-direction: column;
  gap: 1.6cqi;
}

.wot-memo-editor strong { font-size: 5cqi; font-weight: 800; color: #18181b; }
.wot-memo-editor p { font-size: 4.4cqi; color: #374151; line-height: 1.35; }
.wot-memo-editor mark { background: #fef08a; padding: 0 1cqi; border-radius: 1cqi; }
.wot-voice-wave {
  margin-top: 1cqi;
  padding: 1.8cqi 2.6cqi;
  border-radius: 2.6cqi;
  background: #eff6ff;
  color: #1e40af;
  font-size: 4cqi;
  font-weight: 700;
}

.wot-multi-sel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2cqi 3cqi;
  border-radius: 3cqi;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  font-size: 4.1cqi;
  font-weight: 700;
  color: #065f46;
}

.wot-multi-sel b {
  padding: 0.6cqi 2.2cqi;
  border-radius: 999px;
  background: #059669;
  color: #ffffff;
  font-size: 3.8cqi;
}

.wot-now-next {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.4cqi;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 3.6cqi;
  padding: 2.6cqi 3.4cqi;
  text-align: left;
  font-size: 4.3cqi;
  font-weight: 700;
  color: #1f2937;
}

.wot-now-next span {
  display: flex;
  align-items: center;
  gap: 2cqi;
}

.wot-now-next b {
  padding: 0.4cqi 1.8cqi;
  border-radius: 999px;
  background: #234e3c;
  color: #ffffff;
  font-size: 3.6cqi;
}

.wot-now-next i {
  font-style: normal;
  padding: 0.4cqi 1.8cqi;
  border-radius: 999px;
  background: #e5e7eb;
  color: #4b5563;
  font-size: 3.6cqi;
}

.wot-glass-shield {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4cqi;
  padding: 14cqi 6cqi 18cqi;
  background: radial-gradient(circle at 50% 35%, rgba(24, 181, 217, 0.22) 0%, #0b0d12 72%);
  text-align: center;
}

.wot-glass-blur-box {
  width: 100%;
  padding: 7cqi 5cqi;
  border-radius: 5.5cqi;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
}

.wot-glass-blur-box strong {
  display: block;
  font-size: 6cqi;
  font-weight: 800;
}

.wot-glass-blur-box span {
  display: block;
  margin-top: 1.6cqi;
  font-size: 4.3cqi;
  color: rgba(255, 255, 255, 0.72);
}

.wot-recov-chip {
  width: 100%;
  padding: 3cqi 4cqi;
  border-radius: 4cqi;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.36);
  color: #a7f3d0;
  font-size: 4.2cqi;
  font-weight: 700;
}

.wot-recov-chip b {
  display: block;
  margin-top: 0.8cqi;
  font-size: 3.8cqi;
  color: #ffffff;
  font-weight: 600;
}

.wot-prog-bar {
  height: 2.4cqi;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: clip;
}

.wot-prog-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: #234e3c;
  transform-origin: left center;
}

.wot-todo-list {
  display: flex;
  flex-direction: column;
  gap: 2.2cqi;
}

.wot-td-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqi;
  padding: 2.8cqi 3.4cqi;
  border-radius: 3.4cqi;
  background: #ffffff;
  border: 1px solid #eceef2;
  font-size: 4.6cqi;
}

.wot-td-item b { font-weight: 700; color: #18181b; }
.wot-td-item span { font-size: 4cqi; font-weight: 700; color: #6b7280; white-space: nowrap; }
.wot-td-item.is-red { border-left: 3px solid #e11d48; }
.wot-td-item.is-amber { border-left: 3px solid #f59e0b; }
.wot-td-item.is-purple { border-left: 3px solid #8b5cf6; background: #faf6ff; }
.wot-td-item.is-mint { border-left: 3px solid #10b981; background: #f1fcf7; }

.wot-memo-pin {
  background: #fffdf0;
  border: 1px solid #fde68a;
  border-radius: 4cqi;
  padding: 3.4cqi 4cqi;
}

.wot-memo-pin strong {
  display: block;
  font-size: 5cqi;
  font-weight: 800;
  color: #1f2937;
}

.wot-memo-pin span {
  display: block;
  font-size: 4.3cqi;
  color: #6b7280;
  margin-top: 1.2cqi;
}

.wot-yt-card {
  background: #faf6ff;
  border: 1px solid #e9d5ff;
  border-left: 3.5px solid #8b5cf6;
  border-radius: 4cqi;
  padding: 3.6cqi 4cqi;
  display: flex;
  flex-direction: column;
  gap: 1.6cqi;
}

.wot-yt-badge {
  font-size: 4.2cqi;
  font-weight: 800;
  color: #dc2626;
}

.wot-yt-card strong {
  font-size: 5cqi;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.3;
}

.wot-yt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 4.3cqi;
}

.wot-yt-foot span { color: #6b7280; font-weight: 700; }
.wot-yt-foot b {
  padding: 1.1cqi 2.6cqi;
  border-radius: 999px;
  background: #7c3aed;
  color: #ffffff;
  font-size: 4cqi;
}

.wot-med-body {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wot-med-pills {
  display: inline-flex;
  gap: 2cqi;
}

.wot-med-pills span {
  padding: 1.5cqi 3.4cqi;
  border-radius: 999px;
  font-size: 4.3cqi;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.55);
  color: #1e4e5f;
}

.wot-med-pills span.is-on {
  background: #ffffff;
  color: #0e3d4c;
  box-shadow: 0 2px 8px rgba(14, 61, 76, 0.14);
}

.wot-med-drag {
  width: 100%;
  padding: 2.8cqi 3.4cqi;
  border-radius: 3.6cqi;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 4.6cqi;
  font-weight: 800;
  color: #0f4c3a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wot-med-drag span {
  font-size: 3.8cqi;
  font-weight: 600;
  color: #047857;
}

.wot-med-orb {
  width: 44cqi;
  height: 44cqi;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.12) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.35);
}

.wot-med-orb strong {
  font-size: 11.5cqi;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.wot-med-orb span {
  font-size: 4.2cqi;
  font-weight: 700;
  opacity: 0.88;
}

.wot-six-done {
  padding: 1.6cqi 3.8cqi;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #a7f3d0;
  font-size: 4.3cqi;
  font-weight: 800;
}

/* Continuous Bottom Floating Glass Dock Inside iPhone */
.wot-dock {
  position: absolute;
  left: 4.5cqi;
  right: 4.5cqi;
  bottom: 4.5cqi;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 2cqi 1.5cqi;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 12;
}

.wot-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1cqi;
  color: #6b7280;
}

.wot-dock-item i {
  width: 4.5cqi;
  height: 4.5cqi;
  border-radius: 1.4cqi;
  background: #cbd5e1;
  display: block;
}

.wot-dock-item b {
  font-size: 3.6cqi;
  font-weight: 700;
  white-space: nowrap;
}

.wot-dock-item.is-active {
  color: #234e3c;
}

.wot-dock-item.is-active i {
  background: #234e3c;
}

/* 5A/5B: OS Native Lock Screen + Home Screen Frosted Tint & iOS Liquid Glass */
.wot-lock-memo-chip {
  position: absolute;
  top: 26.8%;
  right: 7%;
  width: 21%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}

.wot-lock-memo-chip span { font-size: 3.9cqi; font-weight: 700; }
.wot-lock-memo-chip b { font-size: 4cqi; font-weight: 800; color: #fde68a; }

.wot-lock-tag {
  position: absolute;
  padding: 1.2cqi 2.8cqi;
  border-radius: 999px;
  font-size: 4.1cqi;
  font-weight: 800;
  color: #ffffff;
  background: rgba(16, 185, 129, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.wot-lock-tag.is-w1 { top: 36.2%; left: 5cqi; background: rgba(24, 181, 217, 0.92); }
.wot-lock-tag.is-w2 { top: 36.2%; right: 5cqi; background: rgba(217, 119, 6, 0.92); }
.wot-lock-tag.is-la { bottom: 26.5%; left: 50%; transform: translateX(-50%); background: rgba(140, 45, 70, 0.94); }

.wot-home-mode-pill {
  position: absolute;
  bottom: 2.8%;
  left: 50%;
  transform: translateX(-50%);
  padding: 1.3cqi 3.4cqi;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #f8fafc;
  font-size: 4.15cqi;
  font-weight: 800;
  white-space: nowrap;
  z-index: 8;
}

.wot-home-mode-pill.is-glass {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
}

.wot-home-mode-pill.is-watch {
  background: rgba(16, 185, 129, 0.88);
  border-color: rgba(167, 243, 208, 0.5);
}

.wot-home-size-tag {
  position: absolute;
  padding: 1cqi 2.4cqi;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.92);
  color: #ffffff;
  font-size: 4cqi;
  font-weight: 800;
  white-space: nowrap;
}

.wot-home-size-tag.is-sm { top: 47.5%; left: 7%; }
.wot-home-size-tag.is-md { bottom: 26.8%; left: 7%; background: rgba(24, 181, 217, 0.92); }

/* iOS Clear / Tinted Liquid Glass Widget Morph */
.wot-glass-base {
  filter: saturate(0.32) contrast(1.06) brightness(0.92);
}

.wot-glass-sheen {
  position: absolute;
  border-radius: 8.5cqi;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(186, 230, 253, 0.14) 55%, rgba(255, 255, 255, 0.18) 100%);
  border: 1.2px solid rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.55), 0 8px 20px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  color: #ffffff;
  padding: 4cqi;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wot-glass-sheen.is-sm {
  top: 50.4%;
  left: 6.5%;
  width: 41.5%;
  height: 19.2%;
  padding: 3.1cqi;
}

.wot-glass-sheen.is-md {
  bottom: 9.4%;
  left: 6.5%;
  right: 6.5%;
  height: 18.4%;
  padding: 3.4cqi 3.8cqi;
  flex-direction: row;
  align-items: center;
  gap: 3cqi;
}

.wot-gl-kicker {
  display: block;
  font-size: 3.5cqi;
  font-weight: 700;
  color: #bae6fd;
  white-space: nowrap;
}

.wot-glass-sheen strong {
  display: block;
  font-size: 4.1cqi;
  font-weight: 800;
  margin-top: 0.8cqi;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wot-glass-sheen b {
  display: block;
  font-size: 5.5cqi;
  font-weight: 800;
  color: #e0f2fe;
  font-variant-numeric: tabular-nums;
  margin-top: 0.8cqi;
}

.wot-gl-right {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: 3cqi;
  display: flex;
  flex-direction: column;
  gap: 1.8cqi;
  font-size: 3.9cqi;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

/* Continuous Gesture Dot (Tap Ripple + 0.4s Hold Ring) */
.wot-gesture-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.26s ease, transform 0.34s var(--ease-apple);
}

.wot-gesture-dot.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.wot-g-core {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #234e3c;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.24);
}

.wot-g-ripple {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid #10b981;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.32s ease, transform 0.4s var(--ease-apple);
}

.wot-gesture-dot.is-tap .wot-g-ripple {
  opacity: 0.95;
  transform: scale(1.35);
}

.wot-g-hold {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.wot-gesture-dot.is-hold .wot-g-hold {
  opacity: 1;
}

/* Paired Apple Watch (Low-Power AOD Watch Face Widget 1종 — Compositor-Only Opacity/Transform Reveal) */
.fsc-wot-watch {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: clamp(94px, 11.8vw, 112px);
  opacity: 0;
  transform: translate3d(20px, -50%, 0) scale(0.86);
  pointer-events: none;
  z-index: 12;
  transition: opacity 0.45s var(--ease-apple), transform 0.52s var(--ease-apple);
}

.fsc-wot-stage.is-watch-open .fsc-wot-watch {
  opacity: 1;
  transform: translate3d(0, -50%, 0) scale(1);
}

.fsc-wot-stage.is-watch-open .fsc-wot-companion {
  transform: translate3d(clamp(112px, 13.8vw, 132px), 0, 0);
  max-inline-size: calc(100% - clamp(112px, 13.8vw, 132px));
}

.wot-aw-band {
  width: 56%;
  height: clamp(22px, 3.6dvh, 34px);
  background: linear-gradient(90deg, #27272a 0%, #3f3f46 50%, #27272a 100%);
  display: block;
}

.wot-aw-band.is-top { border-radius: 10px 10px 2px 2px; }
.wot-aw-band.is-bot { border-radius: 2px 2px 10px 10px; }

.wot-aw-case {
  position: relative;
  width: 100%;
  aspect-ratio: 41 / 49;
  padding: 5px;
  border-radius: 24px;
  background: linear-gradient(145deg, #3a3a40 0%, #141417 55%, #27272d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 14px 28px rgba(0, 0, 0, 0.45);
}

.wot-aw-crown {
  position: absolute;
  right: -4px;
  top: 24%;
  width: 4px;
  height: 18px;
  border-radius: 0 3px 3px 0;
  background: #52525b;
}

.wot-aw-btn {
  position: absolute;
  right: -3px;
  top: 52%;
  width: 3px;
  height: 14px;
  border-radius: 0 2px 2px 0;
  background: #3f3f46;
}

.wot-aw-face {
  width: 100%;
  height: 100%;
  border-radius: 19px;
  background: radial-gradient(circle at 50% 35%, #111820 0%, #050608 100%);
  padding: 8px 7px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f8fafc;
}

.wot-aw-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.48rem;
  font-weight: 700;
}

.wot-aw-aod {
  color: #34d399;
  letter-spacing: 0.04em;
}

.wot-aw-date {
  color: #9ca3af;
}

.wot-aw-time {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(248, 250, 252, 0.92);
  font-variant-numeric: tabular-nums;
}

.wot-aw-complication {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 5px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.32);
}

.wot-aw-ring {
  flex-shrink: 0;
}

.wot-aw-comp-txt {
  min-width: 0;
}

.wot-aw-comp-txt strong {
  display: block;
  font-size: 0.5rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wot-aw-comp-txt span {
  display: block;
  font-size: 0.48rem;
  font-weight: 700;
  color: #34d399;
  font-variant-numeric: tabular-nums;
}

.wot-aw-foot {
  text-align: center;
  font-size: 0.42rem;
  font-weight: 700;
  color: #6b7280;
  white-space: nowrap;
}

/* Right Live Companion Telemetry Panel inside 16:10 Stage */
.fsc-wot-companion {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.42rem, 0.95dvh, 0.72rem);
  padding: clamp(0.75rem, 1.5dvh, 1.15rem) clamp(0.85rem, 1.4vw, 1.2rem);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 10px 26px -14px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-inline-size: 0;
  transition: background-color 0.45s ease, border-color 0.45s ease;
}

.fsc-wot-stage[data-wot-theme="dark"] .fsc-wot-companion {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.5);
}

.wot-comp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.wot-comp-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #234e3c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fsc-wot-stage[data-wot-theme="dark"] .wot-comp-kicker {
  color: #38bdf8;
}

.wot-comp-mode-badge {
  padding: 0.16rem 0.48rem;
  border-radius: 999px;
  background: rgba(35, 78, 60, 0.1);
  color: #234e3c;
  font-size: 0.58rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.fsc-wot-stage[data-wot-theme="dark"] .wot-comp-mode-badge {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
}

.wot-comp-title {
  font-size: clamp(0.84rem, min(1.18vw, 1.55dvh), 1.04rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.28;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.fsc-wot-stage[data-wot-theme="dark"] .wot-comp-title {
  color: #f8fafc;
}

.wot-comp-summary {
  font-size: clamp(0.68rem, min(0.86vw, 1.12dvh), 0.76rem);
  font-weight: 500;
  color: #4b5563;
  line-height: 1.48;
  word-break: keep-all;
}

.fsc-wot-stage[data-wot-theme="dark"] .wot-comp-summary {
  color: #cbd5e1;
}

.wot-comp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.wot-cpill {
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
}

.wot-cpill.is-active {
  background: #234e3c;
  color: #ffffff;
}

.fsc-wot-stage[data-wot-theme="dark"] .wot-cpill {
  background: rgba(255, 255, 255, 0.09);
  color: #94a3b8;
}

.fsc-wot-stage[data-wot-theme="dark"] .wot-cpill.is-active {
  background: #10b981;
  color: #041d15;
}

.wot-comp-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.26rem;
  padding-top: 0.38rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.fsc-wot-stage[data-wot-theme="dark"] .wot-comp-subnav {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.wot-sub-btn {
  padding: 0.22rem 0.54rem;
  min-block-size: 24px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  color: #4b5563;
  font-size: 0.61rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wot-sub-btn:hover:not(.is-active) {
  border-color: #234e3c;
  color: #234e3c;
}

.wot-sub-btn.is-active {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #ffffff;
}

.wot-sub-btn:focus-visible,
.fsc-beat-pill:focus-visible,
.fsc-spot-row:focus-visible {
  outline: 2.5px solid #234e3c;
  outline-offset: 2px;
}

.fsc-wot-stage[data-wot-theme="dark"] .wot-sub-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
}

.fsc-wot-stage[data-wot-theme="dark"] .wot-sub-btn.is-active {
  background: #ffffff;
  border-color: #ffffff;
  color: #0f172a;
}

/* Reduced Motion Respect (Preserve Final Legible State Without Spatial Movement) */
@media (prefers-reduced-motion: reduce) {
  .wot-scene,
  .fsc-wot-phone,
  .fsc-wot-watch,
  .fsc-wot-companion,
  .wot-gesture-dot,
  .wot-g-ripple {
    transition: opacity 0.16s ease;
  }
  .wot-scene {
    transform: none;
  }
  .fsc-wot-stage.is-watch-open .fsc-wot-phone {
    transform: none;
  }
}

/* Mobile Compact Adaptation for Tab 3 One-Take Stage */
@media (max-width: 760px) {
  .fsc-wot-viewport {
    aspect-ratio: auto;
    max-block-size: none;
    max-inline-size: none;
    min-block-size: 460px;
  }
  .fsc-wot-stage {
    position: relative;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 14px 12px;
  }
  .fsc-wot-devices {
    height: 310px;
  }
  .fsc-wot-stage.is-watch-open .fsc-wot-phone {
    transform: translate3d(-46px, 0, 0) scale(0.88);
  }
  .fsc-wot-stage.is-watch-open .fsc-wot-watch {
    left: auto;
    right: -46px;
    width: 102px;
  }
  .fsc-wot-stage.is-watch-open .fsc-wot-companion {
    transform: none;
    max-inline-size: 100%;
  }
  .fsc-wot-companion {
    width: 100%;
  }
}

/* View 4: Notices White Accordion (Top-Anchored Newest-First Feed · Excluded from Vertical Centering) */
#view-notices {
  margin-block: 0;
}

#view-notices .view-container {
  padding-block: clamp(1.9rem, 5.2dvh, 3.25rem) clamp(1.5rem, 3.2dvh, 2.5rem);
}

.white-accordion-list {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.1dvh, 0.72rem);
}

.white-accordion-list details {
  background: var(--bg-white);
  border: 1px solid var(--border-frame);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.white-accordion-list summary {
  list-style: none;
  padding: clamp(0.78rem, 1.45dvh, 1.05rem) 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.white-accordion-list summary::-webkit-details-marker {
  display: none;
}

.white-accordion-list summary::before {
  content: "▸";
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.white-accordion-list details[open] > summary::before {
  transform: rotate(90deg);
  color: var(--point-burgundy);
}

.acc-tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--bg-page);
  border: 1px solid var(--border-hairline);
  color: var(--text-body);
  flex-shrink: 0;
}

.acc-tag.is-burgundy {
  background: var(--point-burgundy-tint);
  border-color: var(--border-burgundy-soft);
  color: var(--point-burgundy);
}

.acc-title {
  flex: 1;
  font-size: 0.94rem;
}

.acc-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.white-accordion-list details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.white-accordion-list details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .white-accordion-list details::details-content {
    transition: block-size 0.25s ease, content-visibility 0.25s ease;
    transition-behavior: allow-discrete;
  }
}

.acc-body {
  padding: 0 1.35rem clamp(0.75rem, 1.4dvh, 1.1rem) 2.7rem;
  font-size: clamp(0.82rem, 1.2vw, 0.88rem);
  color: var(--text-body);
  line-height: 1.58;
}


/* ==========================================================================
   5. MINIMAL WHITE FOOTER (3-Tier Business Metadata & Legal Links) & MODALS
   ========================================================================== */
.minimal-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-hairline);
  padding: 0.4rem 1.75rem 0.42rem;
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  text-align: center;
}

.footer-biz-line {
  font-size: 0.69rem;
  font-weight: 500;
  line-height: 1.42;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.footer-company {
  font-weight: 700;
  color: var(--text-ink);
}

.footer-pipe {
  color: var(--border-frame);
}

.footer-contact-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: var(--point-burgundy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-contact-link:focus-visible {
  outline: 2px solid var(--point-burgundy);
  outline-offset: 2px;
  border-radius: 4px;
}

.footer-legal-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  margin-top: 0.04rem;
}

.footer-legal-btn {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 0.16rem 0.36rem;
  min-block-size: 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.footer-legal-btn.is-emphasized {
  font-weight: 700;
  color: var(--text-ink);
}

.footer-legal-btn:hover {
  color: var(--point-burgundy);
  background: var(--bg-page);
}

.footer-legal-btn:focus-visible {
  outline: 2px solid var(--point-burgundy);
  outline-offset: 2px;
}

.footer-dot {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(24, 24, 26, 0.35);
  backdrop-filter: blur(4px);
}

.white-modal {
  margin: auto;
  width: min(92vw, 680px);
  max-height: 84vh;
  max-height: 84dvh;
  background: var(--bg-white);
  color: var(--text-ink);
  border: 1px solid var(--border-frame);
  border-radius: 20px;
  box-shadow: var(--shadow-elevated);
  padding: 0;
  overflow: hidden;
}

.white-modal:modal {
  overscroll-behavior: contain;
}

.white-modal::backdrop {
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.modal-inner {
  display: flex;
  flex-direction: column;
  max-height: 84vh;
  max-height: 84dvh;
}

.modal-head {
  padding: 1.3rem 1.65rem;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

.modal-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--point-burgundy);
  margin-bottom: 0.2rem;
}

.modal-head h1,
.modal-head h2 {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.32;
  color: var(--text-ink);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-page);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.modal-body {
  flex: 1;
  min-height: 0;
  padding: 1.4rem 1.65rem 1.65rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--text-body);
  word-break: keep-all;
}

.modal-body:focus-visible {
  outline: 2px solid var(--point-burgundy);
  outline-offset: -3px;
}

.modal-lead {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-hairline);
  color: var(--text-ink);
  font-weight: 500;
}

.modal-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.modal-body h2,
.modal-body h3 {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-ink);
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border-hairline);
  line-height: 1.4;
}

.modal-body > h2:first-child,
.modal-body > h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.modal-body ol {
  padding-left: 1.35rem;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.modal-body ol > li > strong {
  display: block;
  color: var(--text-ink);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.modal-body ul {
  padding-left: 1.2rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.modal-body ol ul {
  margin-top: 0.22rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.modal-meta-list {
  margin-top: 0.45rem;
  padding: 0.85rem 1.05rem 0.85rem 1.85rem !important;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-hairline);
  color: var(--text-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.modal-foot {
  padding: 0.95rem 1.65rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

.modal-page-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.3rem 0.45rem;
  min-block-size: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.modal-page-link:hover {
  color: var(--point-burgundy);
  background: var(--bg-page);
}

.modal-page-link:focus-visible {
  outline: 2px solid var(--point-burgundy);
  outline-offset: 2px;
}

.modal-confirm-btn {
  background: var(--point-burgundy);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.35rem;
  min-block-size: 36px;
  border-radius: 999px;
}

/* ==========================================================================
   Standalone Legal Pages (/terms & /privacy) — Editorial Document Layout
   ========================================================================== */
body.legal-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg-page);
  color: var(--text-ink);
}

.legal-page .legal-home-pill {
  border: 1px solid var(--border-hairline);
  background: var(--bg-page);
  color: var(--text-ink);
  border-radius: 999px;
  padding: 0.34rem 0.82rem;
}

.legal-page .legal-home-pill:hover {
  border-color: var(--border-burgundy-soft);
  background: var(--point-burgundy-tint);
  color: var(--point-burgundy);
}

.legal-page-main {
  flex: 1;
  width: 100%;
  padding: clamp(1.5rem, 3.8dvh, 2.75rem) clamp(1rem, 3vw, 2rem) clamp(2.5rem, 5dvh, 4rem);
}

.legal-page-container {
  max-inline-size: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.35rem 0.55rem 0.35rem 0.3rem;
  min-block-size: 34px;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.legal-back-link:hover {
  color: var(--point-burgundy);
  background: rgba(255, 255, 255, 0.72);
}

.legal-back-link:focus-visible,
.legal-switch-link:focus-visible,
.legal-foot-home:focus-visible,
.legal-foot-sibling:focus-visible {
  outline: 2px solid var(--point-burgundy);
  outline-offset: 2px;
}

.legal-doc-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: var(--bg-subtle);
}

.legal-switch-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  padding: 0.32rem 0.82rem;
  min-block-size: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.legal-switch-link:hover {
  color: var(--text-ink);
}

.legal-switch-link.is-active {
  background: var(--bg-white);
  color: var(--text-ink);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(24, 24, 26, 0.08);
}

.legal-doc-card {
  background: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: clamp(18px, 2.2vw, 26px);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 3.6vw, 2.75rem) clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legal-doc-head {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.legal-doc-title {
  font-size: clamp(1.32rem, 1.02rem + 1.3vw, 1.82rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--text-ink);
  text-wrap: balance;
}

.legal-doc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.legal-doc-body {
  max-inline-size: 68ch;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: clamp(0.92rem, 0.89rem + 0.16vw, 0.98rem);
  line-height: 1.78;
  color: var(--text-body);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.legal-doc-body p,
.legal-doc-body li {
  text-wrap: pretty;
}

.legal-doc-body h2,
.legal-doc-body h3 {
  font-size: clamp(1.02rem, 0.97rem + 0.22vw, 1.12rem);
  font-weight: 800;
  color: var(--text-ink);
  line-height: 1.42;
  letter-spacing: -0.015em;
  margin-top: 0.85rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-hairline);
  text-wrap: balance;
}

.legal-doc-body > h2:first-child,
.legal-doc-body > h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-doc-body .modal-lead {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: var(--bg-page);
  border: 1px solid var(--border-hairline);
  color: var(--text-ink);
  font-weight: 500;
}

.legal-doc-body ol {
  padding-inline-start: 1.4rem;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-doc-body ol > li > strong {
  display: block;
  color: var(--text-ink);
  font-weight: 700;
  margin-bottom: 0.28rem;
}

.legal-doc-body ul {
  padding-inline-start: 1.25rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
}

.legal-doc-body ol ul {
  margin-top: 0.26rem;
  padding-inline-start: 1.15rem;
  list-style: disc;
}

.legal-doc-body .modal-meta-list {
  margin-top: 0.75rem;
  padding: 1rem 1.2rem 1rem 2rem !important;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.legal-doc-foot {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.legal-foot-home,
.legal-foot-sibling {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.48rem 0.95rem;
  min-block-size: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.legal-foot-home {
  background: var(--bg-page);
  border: 1px solid var(--border-hairline);
  color: var(--text-ink);
}

.legal-foot-home:hover {
  border-color: var(--border-burgundy-soft);
  background: var(--point-burgundy-tint);
  color: var(--point-burgundy);
}

.legal-foot-sibling {
  color: var(--point-burgundy);
  background: var(--point-burgundy-tint);
  border: 1px solid var(--border-burgundy-soft);
}

.legal-foot-sibling:hover {
  background: var(--point-burgundy);
  border-color: var(--point-burgundy);
  color: #ffffff;
}

@media (max-width: 560px) {
  .legal-page .gnb-menu-list {
    gap: 0.28rem;
  }
  .legal-page .gnb-menu-btn {
    font-size: 0.76rem;
    padding: 0.3rem 0.5rem;
  }
  .legal-page .legal-home-pill {
    padding: 0.26rem 0.62rem;
  }
  .legal-top-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .legal-doc-switcher {
    align-self: flex-start;
  }
  .legal-doc-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .legal-foot-home,
  .legal-foot-sibling {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .legal-page .gnb-container {
    padding: 0.44rem 0.85rem;
    gap: 0.5rem;
  }
  .legal-page .legal-home-pill {
    display: none;
  }
  .legal-page .gnb-menu-btn {
    font-size: 0.74rem;
    padding: 0.28rem 0.42rem;
  }
}

/* ==========================================================================
   Temporary Coming Soon Teaser Mode (Controlled by src/site-config.js)
   ========================================================================== */
html[data-coming-soon="true"] body > .gnb-header,
html[data-coming-soon="true"] #main-stage,
html[data-coming-soon="true"] body > .minimal-footer {
  display: none !important;
}

html:not([data-coming-soon="true"]) #coming-soon-stage {
  display: none !important;
}

.coming-soon-stage {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(ellipse 78% 54% at 50% 20%, #ffffff 0%, #fafafb 54%, #f5f5f7 100%);
  color: var(--text-ink);
}

.cs-main {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6dvh, 4rem) clamp(1.25rem, 4vw, 2.5rem);
}

.cs-hero {
  width: min(100%, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1rem, 2.2dvh, 1.45rem);
}

.cs-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 12px;
}

.cs-brand-mark:focus-visible,
.cs-support-pill:focus-visible {
  outline: 2px solid var(--point-burgundy);
  outline-offset: 3px;
}

.cs-logo {
  height: clamp(28px, 3.6dvh, 36px);
  width: auto;
  display: block;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.88rem;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 4px 14px rgba(24, 24, 26, 0.04);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.cs-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--point-burgundy);
  flex-shrink: 0;
}

.cs-headline {
  font-size: clamp(1.65rem, 1.12rem + 2.1vw, 2.75rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.032em;
  color: var(--text-ink);
  text-wrap: balance;
}

.cs-desc {
  max-inline-size: 46ch;
  font-size: clamp(0.92rem, 0.86rem + 0.32vw, 1.04rem);
  line-height: 1.72;
  color: var(--text-muted);
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.cs-actions {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.cs-support-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.62rem 1.2rem;
  min-block-size: 44px;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 10px 26px -14px rgba(24, 24, 26, 0.14);
  font-size: 0.86rem;
  color: var(--text-body);
  overflow-wrap: anywhere;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-apple);
}

.cs-support-pill:hover {
  border-color: var(--border-burgundy-soft);
  color: var(--point-burgundy);
  box-shadow: 0 14px 30px -14px rgba(140, 45, 70, 0.22);
  transform: translateY(-1px);
}

.cs-support-label {
  color: var(--text-muted);
  font-weight: 600;
}

.cs-support-sep {
  color: var(--border-frame);
  font-weight: 700;
}

.cs-support-email {
  color: var(--text-ink);
  font-weight: 700;
}

.cs-support-pill:hover .cs-support-email {
  color: var(--point-burgundy);
}

.cs-footer {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (prefers-reduced-motion: reduce) {
  .cs-support-pill {
    transition: none;
  }
  .cs-support-pill:hover {
    transform: none;
  }
}

@media (max-width: 420px) {
  .cs-badge {
    font-size: 0.66rem;
    padding: 0.3rem 0.72rem;
  }
  .cs-support-pill {
    font-size: 0.8rem;
    padding: 0.55rem 0.95rem;
  }
}

/* ==========================================================================
   Mobile Floating Glass Bottom Dock (iPhone Mode — Ref Image 2 100% Match)
   ========================================================================== */
.rb-mobile-dock {
  display: none;
  position: sticky;
  bottom: 12px;
  margin: -52px 14px 12px;
  z-index: 95;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  padding: 8px 14px 6px;
  justify-content: space-around;
  align-items: center;
  box-shadow:
    0 12px 32px rgba(15, 23, 42, 0.12),
    0 2px 8px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rb-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 3px 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: #374151;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 50px;
}

.dock-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
}

.dock-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

/* Red Circular Number Badge on '오늘 할 일' Icon (Ref Image 2 '13') */
.dock-red-badge {
  position: absolute;
  top: -4px;
  right: -9px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1;
  padding: 2px 4.5px;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 5px rgba(239, 68, 68, 0.32);
  font-variant-numeric: tabular-nums;
}

.rb-dock-item .dock-label {
  font-size: 0.64rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* Small Active Dot Indicator Below Active Dock Label ('시간표') */
.dock-active-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1d4ed8;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-apple);
}

.rb-dock-item:hover {
  background: rgba(15, 23, 42, 0.03);
}

.rb-dock-item.is-active {
  color: #1d4ed8;
}

.rb-dock-item.is-active .dock-svg {
  transform: scale(1.06);
  stroke: #1d4ed8;
}

.rb-dock-item.is-active .dock-label {
  color: #1d4ed8;
  font-weight: 800;
}

.rb-dock-item.is-active .dock-active-dot {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   Responsive Design: iPad 2-Column Mode (>= 1024px) vs iPhone 1-Column Dock Mode (< 1024px)
   ========================================================================== */

/* Desktop & iPad (width >= 1024px): Authentic iPad 10:7 Split Aspect (62:38) at Compact Above-the-Fold Scale */
@media (min-width: 1024px) {
  .motion-stage-slot {
    zoom: 0.46;
    min-height: 640px;
  }
  .rb-main-columns {
    display: grid !important;
    grid-template-columns: 1.63fr 1fr !important;
    gap: 12px !important;
  }
  .rb-timetable-card {
    display: flex !important;
    min-width: 0;
  }
  .rb-widgets-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    min-width: 0;
  }
  .rb-widgets-column > .rb-widget-card {
    display: flex !important;
    flex-direction: column !important;
  }
  .rb-mobile-dock {
    display: none !important;
  }
  .mobile-dock-aux-card {
    display: none !important;
  }
}

@media (min-width: 1024px) and (max-height: 840px) {
  .motion-stage-slot {
    zoom: 0.39;
    min-height: 640px;
  }
  .home-4device-grid .apple-watch-authentic {
    zoom: 0.56;
  }
}

@media (min-width: 1024px) and (max-height: 750px) {
  .motion-stage-slot {
    zoom: 0.34;
    min-height: 640px;
  }
  .home-4device-grid .apple-watch-authentic {
    zoom: 0.50;
  }
}

/* Mobile & iPhone (width < 1024px): 2-Row Topbar + Row 3 Day Bar + Floating Glass Capsule Dock */
@media (max-width: 1023px) {
  .motion-canvas-frame.ipad-compact-mockup {
    padding: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-frame);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
  }
  .ipad-bezel-camera,
  .ipad-home-indicator {
    display: none !important;
  }
  .layer-icon-launch {
    inset: 0;
    border-radius: 16px;
    padding: 10px 12px 12px;
  }
  .ipados-home-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ipados-clock-block,
  .ipados-music-widget {
    display: none;
  }
  .ipados-rb-widget-small {
    height: 106px;
    padding: 9px 10px;
  }
  .ipados-weather-widget {
    height: 106px;
    padding: 9px 10px;
  }
  .ipados-rb-widget-medium {
    padding: 9px 10px;
    gap: 8px;
  }
  .ipados-apps-grid {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 10px;
    column-gap: 8px;
  }
  .ipados-apps-grid > .ios-app-item:nth-child(n+17) {
    display: none;
  }
  .ios-squircle {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }
  .ipados-glass-dock {
    padding: 6px 10px;
    gap: 8px;
  }
  .ipados-glass-dock > .dock-sq:nth-child(n+6),
  .ipados-glass-dock > .dock-sep {
    display: none;
  }
  .home-4device-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-4device-gallery .td-stage {
    height: 224px;
    padding: 12px;
  }
  .mockup-iphone-single {
    width: 94px;
    height: 194px;
    border-radius: 19px;
    padding: 4px;
  }
  .iphone-dynamic-island {
    width: 20px;
    height: 4px;
    top: 6px;
  }
  .mockup-iphone-single img {
    border-radius: 15px;
  }
  .mockup-ipad-landscape {
    max-width: 290px;
    max-height: 192px;
    border-radius: 14px;
    padding: 6px;
  }
  .ipad-cam-dot {
    width: 3.5px;
    height: 3.5px;
    top: 2.5px;
  }
  .mockup-ipad-landscape img {
    border-radius: 9px;
  }
  .mockup-iphone-duo-live {
    width: 170px;
    height: 194px;
  }
  .home-4device-grid .apple-watch-authentic {
    zoom: 1;
  }
  /* GNB Single-Line Lock & Spacing */
  .gnb-container {
    padding: 0.65rem 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .gnb-logo-sep,
  .gnb-product-label {
    display: none !important;
  }
  .gnb-menu-list {
    display: flex !important;
    align-items: center;
    gap: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gnb-menu-list::-webkit-scrollbar {
    display: none;
  }
  .gnb-menu-btn {
    padding: 0.38rem 0.65rem;
    font-size: 0.8rem;
  }

  .home-stage-wrap {
    padding: 0.85rem 0.65rem 1.25rem;
  }
  .home-collab-lockup {
    gap: 0.45rem;
    margin-bottom: 0.28rem;
  }
  .home-collab-logo {
    height: 23px;
    transform: translateY(2px);
  }
  .home-collab-x {
    font-size: 0.92rem;
  }
  .home-collab-product {
    font-size: 1.08rem;
  }
  .home-4device-gallery {
    margin-top: 1.65rem;
    padding-top: 1.35rem;
  }

  /* 2-Row Mobile Header Structure (Ref Image 2 100% Match)
     Row 1: Left [Icon] Routine / Right Undo·Redo | Avatar · Theme Dot · Store · Archive · Share
     Row 2: Left 주간 플래너 · 월간 플래너 / Right + 새 루틴 */
  .rb-topbar {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand icons"
      "planners newbtn";
    row-gap: 8px;
    column-gap: 6px;
    height: auto !important;
    padding: 10px 12px !important;
    align-items: center;
  }
  .rb-brand-mark {
    grid-area: brand;
  }
  .rb-toolbar-icons {
    grid-area: icons;
    justify-self: end;
    display: flex !important;
    align-items: center;
    gap: 3px;
  }
  .rb-toolbar-icons .util-label {
    display: none !important;
  }
  .rb-toolbar-icons .rb-util-item {
    padding: 3px;
    color: #4b5563;
  }
  .rb-toolbar-icons .rb-history-btn {
    width: 22px;
    height: 22px;
  }
  .rb-planner-nav {
    grid-area: planners;
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
  }
  .rb-nav-item {
    font-size: 0.74rem;
  }
  .rb-new-routine-pill {
    grid-area: newbtn;
    justify-self: end;
    padding: 5px 12px;
    font-size: 0.74rem;
  }

  /* Row 3 (Day-of-Week Bar): Left 7 Day Tabs Flush on Border + Right Range Dropdown + 구획 + ? */
  .rb-days-header {
    padding: 0 4px 0 0;
    height: 34px;
    align-items: flex-end;
    gap: 4px;
  }
  .rb-days-tabs {
    gap: 2px;
    align-items: flex-end;
  }
  .rb-day-tab {
    min-width: 24px;
    height: 27px;
    padding: 0 5px;
    font-size: 0.68rem;
    border-radius: 6px 6px 0 0;
  }
  .rb-grid-controls {
    gap: 3px;
    margin-bottom: 3px;
  }
  .rb-grid-controls .rb-range-pill {
    display: inline-flex !important;
    padding: 3px 6px;
    font-size: 0.63rem;
    gap: 3px;
  }
  .range-text-full {
    display: none !important;
  }
  .range-text-compact {
    display: inline !important;
  }
  .rb-grid-controls .rb-section-pill {
    padding: 3px 6px;
    font-size: 0.64rem;
    gap: 3px;
  }
  .rb-help-circle {
    width: 17px;
    height: 17px;
    font-size: 0.6rem;
  }

  /* Main Workspace: 1 Column + Bottom Space for Floating Glass Capsule Dock */
  .rb-main-columns {
    display: flex !important;
    flex-direction: column !important;
    padding: 8px 8px 66px;
    gap: 10px;
  }

  .rb-mobile-dock {
    display: flex !important;
  }

  /* Dock Switching Views on Mobile */
  /* Default: Timetable View */
  .rb-timetable-card {
    display: flex !important;
    width: 100% !important;
  }
  .rb-widgets-column {
    display: none !important;
  }

  /* When Todo dock is chosen */
  #rb-workspace-surface[data-mobile-dock="todo"] .rb-timetable-card {
    display: none !important;
  }
  #rb-workspace-surface[data-mobile-dock="todo"] .rb-widgets-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
    width: 100% !important;
  }
  #rb-workspace-surface[data-mobile-dock="todo"] .rb-widgets-column > .rb-widget-card {
    display: none !important;
  }
  #rb-workspace-surface[data-mobile-dock="todo"] .widget-rolling-banner,
  #rb-workspace-surface[data-mobile-dock="todo"] .widget-todo-card {
    display: flex !important;
    flex-direction: column !important;
  }

  /* When Memo dock is chosen */
  #rb-workspace-surface[data-mobile-dock="memo"] .rb-timetable-card {
    display: none !important;
  }
  #rb-workspace-surface[data-mobile-dock="memo"] .rb-widgets-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
    width: 100% !important;
  }
  #rb-workspace-surface[data-mobile-dock="memo"] .rb-widgets-column > .rb-widget-card {
    display: none !important;
  }
  #rb-workspace-surface[data-mobile-dock="memo"] .widget-memo-card {
    display: flex !important;
    flex-direction: column !important;
  }

  /* When Clock or Pomodoro dock is chosen */
  #rb-workspace-surface[data-mobile-dock="clock"] .rb-timetable-card,
  #rb-workspace-surface[data-mobile-dock="clock"] .rb-widgets-column,
  #rb-workspace-surface[data-mobile-dock="pomodoro"] .rb-timetable-card,
  #rb-workspace-surface[data-mobile-dock="pomodoro"] .rb-widgets-column {
    display: none !important;
  }
  #rb-workspace-surface[data-mobile-dock="clock"] .mobile-dock-aux-card,
  #rb-workspace-surface[data-mobile-dock="pomodoro"] .mobile-dock-aux-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  /* Stepper Dock: Single-line horizontal scroll, NEVER wrap */
  .motion-stepper-dock {
    border-radius: 16px;
    padding: 0.35rem 0.5rem;
    width: 100%;
    max-width: 100%;
  }
  .stepper-pills-list {
    display: flex !important;
    align-items: center;
    gap: 0.3rem;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
  }
  .stepper-pills-list::-webkit-scrollbar {
    display: none;
  }
  .step-pill {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 0.35rem 0.6rem;
    font-size: 0.72rem;
  }

  /* Other Section Grids Responsive */
  .feature-split-card {
    grid-template-columns: 1fr;
  }
  .feature-split-card {
    padding: 1rem;
    gap: 1.1rem;
    border-radius: 22px;
  }
  .fsc-motion-pane {
    padding: 0.72rem 0.72rem 0.7rem;
    border-radius: 16px;
  }
  .fsc-dual-phones-row {
    gap: 14px;
  }
  .fsc-mini-phone-cap {
    font-size: 0.58rem;
    bottom: -18px;
  }
  .span-half {
    grid-column: span 12;
  }
  .acc-date {
    display: none;
  }
  .minimal-footer {
    padding: 0.72rem 1rem 0.85rem;
  }
  .footer-container {
    align-items: center;
    text-align: center;
    gap: 0.28rem;
  }
  .footer-biz-line {
    font-size: 0.68rem;
    line-height: 1.55;
  }
}

@media (max-width: 560px) {
  .features-tablist {
    border-radius: 18px;
    padding: 5px;
    gap: 0.25rem;
  }
  .features-tab-btn {
    padding: 0.42rem 0.78rem;
    font-size: 0.76rem;
  }
  .fsc-beat-pills,
  .feature-split-card.is-many-steps .fsc-beat-pills {
    gap: 0.22rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .fsc-beat-pill,
  .feature-split-card.is-many-steps .fsc-beat-pill {
    padding: 0.24rem 0.54rem;
    font-size: 0.64rem;
  }
  .fsc-spot-row {
    padding: 0.62rem 0.55rem 0.58rem 0.85rem;
  }
}

.home-stage-wrap[hidden],
.home-ad-stage[hidden] {
  display: none !important;
}

/* Conditional Main Ad Video Stage (100vh Center Fit · Zero Vertical Scroll) */
.home-ad-stage {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(0.65rem, 1.8dvh, 1.35rem) clamp(1rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-ad-shell {
  width: min(100%, calc((100dvh - 236px) * 16 / 9), 1100px);
  background: #ffffff;
  border: 1px solid rgba(29, 29, 31, 0.07);
  border-radius: clamp(18px, 2.4dvh, 26px);
  padding: clamp(0.6rem, 1.25dvh, 0.95rem);
  box-shadow:
    0 28px 64px -22px rgba(15, 23, 42, 0.16),
    0 4px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.1dvh, 0.78rem);
}

.home-ad-viewport {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(615px, calc(100dvh - 244px));
  border-radius: clamp(12px, 1.6dvh, 18px);
  overflow: hidden;
  background: #0d0d10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.home-ad-viewport video,
.home-ad-viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.home-ad-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.1rem 0.35rem 0.05rem;
  min-height: 36px;
}

.home-ad-bar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
}

.home-ad-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--point-burgundy);
  background: #fdf2f6;
  border: 1px solid rgba(129, 8, 49, 0.16);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.home-ad-title {
  font-size: clamp(0.84rem, 1.15vw, 0.98rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-ad-bar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  flex-shrink: 0;
}

.home-ad-bar-actions[hidden] {
  display: none !important;
}

.home-ad-ctrl-btn {
  height: 32px;
  padding: 0 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  background: #f5f5f7;
  color: #1d1d1f;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.home-ad-ctrl-btn:hover {
  background: #e9e9ee;
}

.home-ad-ctrl-btn.is-accent {
  background: var(--point-burgundy);
  border-color: var(--point-burgundy);
  color: #ffffff;
}

.home-ad-ctrl-btn.is-accent:hover {
  background: #690628;
}

@media (max-width: 760px) {
  .home-ad-shell {
    width: 100%;
  }
  .home-ad-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .home-ad-bar-left {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .home-ad-title {
    white-space: normal;
    line-height: 1.35;
  }
  .home-ad-bar-actions {
    width: 100%;
  }
  .home-ad-ctrl-btn {
    flex: 1;
    text-align: center;
  }
}
