/* Desktop's 160px logical grid is scaled as a whole, including labels and gaps.
   Widget styles are resolved for their 112px / 272px tile sizes; no embedded pages. */
.hero-visual { container-type: inline-size; isolation: isolate; user-select: none; -webkit-user-select: none; }
/* Empty space in the floating layer passes through to the page. */
.deck-flyouts { position: absolute; inset: 0; z-index: 0; pointer-events: none; user-select: none; perspective: 900px; perspective-origin: 50% 40%; }
.flyout-water, .flyout-reasoning { pointer-events: auto; }
.deck-flyout { --trail-length: clamp(24px, calc(82px - (var(--flight-y, -160px) + 160px) * .17), 82px); position: absolute; top: var(--slot-y, calc(var(--flight-y, 0px) * var(--flyout-scale, 1))); scale: var(--flyout-scale, 1); transform: translate3d(0, 0, 0) rotate(var(--turn)); rotate: var(--follow-x, 0) var(--follow-y, 0) var(--follow-z, 1) calc(var(--follow-angle, 0deg) * var(--follow-depth, 1)); translate: var(--magnet-x, 0px) var(--magnet-y, 0px); transform-origin: center; transition: transform 1.15s cubic-bezier(.18, .75, .25, 1) var(--entrance-delay), opacity .8s ease var(--entrance-delay), rotate .3s ease-out, translate .3s cubic-bezier(.2, .8, .25, 1); }
.deck-flyout.tilt-locked { transition: transform 1.15s cubic-bezier(.18, .75, .25, 1) var(--entrance-delay), opacity .8s ease var(--entrance-delay); }
/* Directional, fading wakes sit below each card; the tablet paints above them. */
.deck-flyout::before, .deck-flyout::after { content: ""; position: absolute; z-index: -1; height: calc(var(--trail-length, 82px) * 1.6); transform: skewX(var(--trail-skew, 18deg)); transform-origin: center top; pointer-events: none; }
.deck-flyout::before { top: 75%; left: 4%; width: 92%; background: radial-gradient(ellipse at 50% 0, var(--trail-color) 0 15%, transparent 85%); filter: blur(16px); opacity: .42; animation: deck-flyout-wake var(--float-duration, 7s) ease-in-out var(--float-phase, 0s) infinite paused; }
.deck-flyout::after { top: calc(100% - 6px); left: 14%; width: 72%; background: radial-gradient(ellipse 12% 70% at 18% 8%, var(--trail-color), transparent), radial-gradient(ellipse 10% 68% at 50% 14%, var(--trail-color), transparent), radial-gradient(ellipse 12% 66% at 82% 6%, var(--trail-color), transparent); filter: blur(10px); opacity: .34; }
.flyouts-active .deck-flyout::before { animation-play-state: running; }
@keyframes deck-flyout-wake { 0%, 100% { opacity: .32; } 50% { opacity: .48; } }
.motion-ready .hero-visual:not(.is-visible) .deck-flyout { opacity: 0; transform: translate3d(var(--from-x), 75px, 0) rotate(0deg) scale(.72); transition: none; }
.flyout-motion { animation: deck-flyout-drift var(--float-duration, 7s) ease-in-out var(--float-phase, 0s) infinite; animation-play-state: paused; }
.flyouts-active .flyout-motion { animation-play-state: running; }
.deck-flyout:is(:hover, :focus-within, .is-magnetic) > .flyout-motion { animation-play-state: paused; }
@keyframes deck-flyout-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.flyout-card { position: relative; width: 100%; overflow: hidden; border-radius: 24px; box-shadow: 0 2px 3px #0002, 0 12px 22px -10px #0008; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.15; text-align: left; pointer-events: auto; transition: scale .2s ease, box-shadow .2s ease; }
.deck-flyouts svg { fill: none; stroke: none; stroke-width: 1; stroke-linecap: butt; stroke-linejoin: miter; }
.flyout-weather { --trail-color: #80b6ff; --turn: -11deg; --from-x: 180px; --entrance-delay: .12s; --float-phase: -1.2s; --float-duration: 8s; --flight-y: -160px; left: calc(-252px * var(--flyout-scale, 1)); width: 230px; transform-origin: left top; }
.weather-card { height: 96px; padding: 12px 14px; color: #fff; background: radial-gradient(ellipse at 42% -15%, #d1e2f599, transparent 40%), linear-gradient(150deg, #5078bb, #719bd2 65%, #91b7df); }
.weather-card::after { content: ""; position: absolute; top: 30px; right: -10px; width: 170px; height: 8px; transform: rotate(8deg); border-radius: 50%; background: #b9d2f077; filter: blur(6px); }
.weather-location { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 650; }
.weather-location > span { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #233d674d; }
.deck-flyouts .weather-cloud { position: absolute; top: 12px; right: 13px; width: 24px; height: 18px; fill: url(#flyout-cloud); filter: drop-shadow(0 2px 2px #29496f80); }
.weather-temperature { position: absolute; bottom: 11px; left: 12px; font-size: 32px; font-weight: 750; letter-spacing: -.04em; text-shadow: 0 2px 3px #29496f40; }
.weather-forecast { position: absolute; right: 13px; bottom: 13px; display: flex; flex-direction: column; gap: 4px; align-items: end; font-size: 10px; font-weight: 650; }
.flyout-microphone { --trail-color: #e73786; --turn: -15deg; --from-x: 150px; --entrance-delay: .28s; --float-phase: -3s; --float-duration: 6.8s; --flight-y: -12px; left: calc(-106px * var(--flyout-scale, 1)); width: 82px; transform-origin: left top; }
.microphone-card { display: grid; height: 82px; place-items: center; background: #bf125a; }
.deck-flyouts .microphone-card svg { width: 35px; height: 45px; stroke: #fff; stroke-width: 8; stroke-linecap: round; }
.flyout-water { --trail-color: #8fc7ff; --turn: -8deg; --from-x: 160px; --entrance-delay: .4s; --float-phase: -4.4s; --float-duration: 8.6s; --flight-y: 142px; left: calc(-184px * var(--flyout-scale, 1)); width: 156px; transform-origin: left top; }
.water-card { height: 164px; padding: 16px; background: #b1d4fb; }
.deck-flyouts .water-surface { position: absolute; inset: 0; width: 100%; height: 100%; fill: #8fc2f6; }
.water-surface path { transition: transform .45s ease; }
.water-card > strong { position: relative; color: #142343; font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
.water-card > strong > span { font-size: 23px; }
.water-progress { position: relative; margin-top: 5px; color: #f2ffff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.water-portions { position: relative; display: flex; gap: 10px; margin-top: 19px; }
.water-portions > button { display: flex; flex: 1; align-items: center; flex-direction: column; gap: 3px; min-width: 0; padding: 6px 0; border: 0; border-radius: 16px; background: #f9ffff; cursor: pointer; transition: background .16s ease, scale .16s ease; }
.water-portions > button:hover { background: #e8f5ff; }
.water-portions > button:active { scale: .93; }
.deck-flyouts .water-portions svg { width: 24px; height: 28px; fill: #348df0; }
.deck-flyouts .water-portions .water-glass { fill: #b6dbed; }
.water-portions span { color: #479bd5; font-size: 11px; font-weight: 800; }
.flyout-reasoning { --trail-color: #c5d7ff; --trail-skew: -18deg; --turn: 10deg; --from-x: -185px; --entrance-delay: .2s; --float-phase: -2.7s; --float-duration: 7.8s; --flight-y: -176px; right: calc(-262px * var(--flyout-scale, 1)); width: 244px; transform-origin: right top; }
.reasoning-card { height: 102px; padding: 10px 12px; border: 1px solid #e3e4e8; background: #fff; text-align: center; }
.reasoning-card > strong { color: #3c82ff; font-size: 17px; font-weight: 750; }
.reasoning-fast { position: absolute; top: 10px; left: 10px; display: grid; width: 24px; height: 24px; place-items: center; padding: 4px; border: 0; border-radius: 6px; background: transparent; color: #8d8f92; cursor: pointer; transition: color .18s ease, opacity .18s ease; }
.deck-flyouts .reasoning-bolt { width: 16px; height: 16px; fill: currentColor; }
.reasoning-fast:hover { opacity: .8; }
.reasoning-fast[aria-pressed="true"] { color: #3c80f9; }
.is-ultra .reasoning-fast[aria-pressed="true"] { color: #b878ff; }
.reasoning-refresh { position: absolute; top: 10px; right: 10px; display: grid; width: 24px; height: 24px; place-items: center; padding: 4px; border: 0; border-radius: 6px; background: transparent; color: #8d8f92; cursor: pointer; }
.deck-flyouts .reasoning-refresh svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.reasoning-refresh:hover { background: #8d8f921a; }
.reasoning-model { margin-top: 4px; color: #8c8e92; font-size: 12px; font-weight: 500; }
.reasoning-model > span[aria-hidden] { padding-left: 2px; font-size: 16px; line-height: 10px; }
.reasoning-refresh:disabled, .reasoning-fast:disabled, .reasoning-range:disabled { cursor: wait; }
.reasoning-refresh:disabled { opacity: .65; }
.is-loading .reasoning-refresh svg { animation: reasoning-refresh-spin .7s linear infinite; }
.is-loading .reasoning-model > span[aria-hidden] { visibility: hidden; }
@keyframes reasoning-refresh-spin { to { transform: rotate(360deg); } }
.reasoning-track { position: absolute; right: 10px; bottom: 11px; left: 10px; height: 28px; overflow: visible; border-radius: 20px; background: #ebebed; }
.reasoning-fill { position: absolute; inset: 0 auto 0 0; width: calc(15px + (100% - 30px) * .4); border-radius: 20px 0 0 20px; background: #3c80f9; }
.reasoning-stops { position: absolute; inset: 0 15px; display: flex; align-items: center; justify-content: space-between; }
.reasoning-stops i { width: 4px; height: 4px; border-radius: 50%; background: #0003; }
.reasoning-range { position: absolute; inset: -5px 0; width: 100%; height: 38px; margin: 0; appearance: none; background: transparent; cursor: grab; touch-action: none; }
.reasoning-range:active { cursor: grabbing; }
.reasoning-range::-webkit-slider-runnable-track { height: 28px; border-radius: 20px; background: transparent; }
.reasoning-range::-webkit-slider-thumb { width: 30px; height: 30px; margin-top: -1px; appearance: none; border: 1px solid #dedfe1; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px #0003; }
.reasoning-range::-moz-range-track { height: 28px; border-radius: 20px; background: transparent; }
.reasoning-range::-moz-range-progress { background: transparent; }
.reasoning-range::-moz-range-thumb { width: 30px; height: 30px; box-sizing: border-box; border: 1px solid #dedfe1; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px #0003; }
.reasoning-card.is-ultra > strong { color: #b878ff; }
.is-ultra .reasoning-track { background: radial-gradient(ellipse at 55% 0, #d7b1ff66, transparent 75%), linear-gradient(100deg, #3034c5, #7950e0 40%, #b57df4 65%, #7854dd); }
.is-ultra .reasoning-fill, .is-ultra .reasoning-stops { display: none; }
.reasoning-particles { position: absolute; inset: 0; display: none; overflow: hidden; border-radius: inherit; pointer-events: none; }
.is-ultra .reasoning-particles { display: block; }
.reasoning-particles i { position: absolute; width: var(--size); height: var(--size); border-radius: 50%; background: #fff; opacity: .6; animation: reasoning-spark var(--duration) linear var(--phase) infinite paused; }
.flyouts-active .is-ultra .reasoning-particles i { animation-play-state: running; }
@keyframes reasoning-spark { 0%, 78%, 90%, 100% { transform: translate(0, 0); opacity: .6; } 80%, 86% { transform: translate(2px, -1px); opacity: .9; } 82%, 88% { transform: translate(-1px, 1px); opacity: .45; } 84% { transform: translate(1px, -2px); opacity: .8; } }
.deck-flyouts :focus-visible { outline: 2px solid #56a0f5; outline-offset: 2px; }
.flyout-battery { --trail-color: #69d9b5; --trail-skew: -18deg; --turn: 13deg; --from-x: -150px; --entrance-delay: .34s; --float-phase: -1.8s; --float-duration: 7.2s; --flight-y: -16px; right: calc(-114px * var(--flyout-scale, 1)); width: 90px; transform-origin: right top; }
.battery-card { display: flex; align-items: center; flex-direction: column; gap: 6px; height: 100px; padding: 15px 8px 10px; border: 1px solid #26384b; color: #f8fafc; background: linear-gradient(145deg, #101929, #21384d 12%, #111b2c 82%); }
.deck-flyouts .battery-card svg { width: 48px; height: 23px; stroke: #b0c4d9; stroke-width: 3.5; }
.deck-flyouts .battery-card .battery-terminal { fill: #b0c4d9; stroke: none; }
.deck-flyouts .battery-card .battery-level { fill: #68e4a7; stroke: none; }
.battery-card strong { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.battery-card > span { color: #a8b9d0; font-size: 9px; }
.flyout-workflow { --trail-color: #4ea5c2; --trail-skew: -18deg; --turn: 8deg; --from-x: -160px; --entrance-delay: .46s; --float-phase: -5.5s; --float-duration: 9s; --flight-y: 120px; right: calc(-226px * var(--flyout-scale, 1)); width: 200px; transform-origin: right top; }
.workflow-card { filter: drop-shadow(0 7px 8px #0004); pointer-events: auto; transition: scale .2s ease; }
.workflow-block { position: relative; }
.workflow-block > svg { display: block; width: 100%; height: auto; overflow: visible; }
.deck-flyouts .workflow-event { width: 180px; margin-left: 4px; }
.deck-flyouts .workflow-event path { fill: #276f66; stroke: #429b8f; stroke-width: 1.7; }
.deck-flyouts .workflow-volume { width: 100%; margin-top: 3px; margin-left: 13px; }
.deck-flyouts .workflow-volume path { fill: #305e80; stroke: #538fb0; stroke-width: 1.7; }
.deck-flyouts .workflow-volume rect { fill: #283746; stroke: #607d91; stroke-width: 1.5; }
.workflow-label, .workflow-value { position: absolute; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 650; line-height: 1; white-space: nowrap; pointer-events: none; }
.workflow-event .workflow-label { left: 6%; top: 58.6%; font-size: 17.28px; transform: translateY(-50%); }
.workflow-volume .workflow-label { left: 4.2%; top: 44.2%; font-size: 12.63px; transform: translateY(-50%); }
.workflow-volume .workflow-value { left: 77.1%; top: 14.4%; display: grid; width: 18.2%; height: 54.8%; place-items: center; font-size: 14.21px; }
.deck-flyouts .workflow-card text { fill: #fff; font: 650 24px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.flyout-stop { --trail-color: #dc4141; --turn: -12deg; --from-x: 210px; --entrance-delay: .35s; --float-phase: -2.3s; --float-duration: 7.6s; --flight-y: 36px; left: calc(-306px * var(--flyout-scale, 1)); width: 112px; transform-origin: left top; }
.stop-card { display: grid; height: 112px; place-items: center; border-radius: 28px; background: #9d1b1b; }
.deck-flyouts .stop-card svg { width: 72px; height: 72px; }
.deck-flyouts .stop-card circle { stroke: #fff; stroke-width: 6; }
.deck-flyouts .stop-card rect { fill: #fff; }
.flyout-loop { --trail-color: #c2a262; --trail-skew: -18deg; --turn: 11deg; --from-x: -210px; --entrance-delay: .42s; --float-phase: -4.8s; --float-duration: 8.8s; --flight-y: 24px; right: calc(-306px * var(--flyout-scale, 1)); width: 148px; transform-origin: right top; }
.deck-flyouts .loop-card svg { width: 100%; height: auto; overflow: visible; }
.deck-flyouts .loop-card > svg > path { fill: #806237; stroke: #b39558; stroke-width: 2; }
.deck-flyouts .loop-card rect { fill: #2c3843; stroke: #a29372; stroke-width: 1.5; }
.deck-flyouts .loop-card text { font-size: 30px; }
.deck-flyouts .loop-card .loop-value { text-anchor: middle; font-size: 29px; }
.flyout-wide-only { display: none; }
/* Extreme short viewports drop the decoration instead of squeezing it. */
.deck-flyouts.flyouts-hidden { display: none; }
@media (min-width: 1580px) {
  .flyout-wide-only { display: block; }
}
/* Decorations never reserve space between the copy and the tablet.
   Narrower viewports keep only the small corner fragments, then omit them. */
@media (max-width: 880px) {
  .flyout-weather, .flyout-reasoning, .flyout-water, .flyout-workflow { display: none; }
  .flyout-microphone { --flight-y: -78px; left: 0; width: 52px; }
  .microphone-card { height: 52px; border-radius: 16px; }
  .deck-flyouts .microphone-card svg { width: 23px; height: 30px; }
  .flyout-battery { --flight-y: -98px; right: 0; width: 56px; }
  .battery-card { height: 74px; gap: 4px; padding: 11px 4px 7px; border-radius: 16px; }
  .deck-flyouts .battery-card svg { width: 36px; height: 18px; }
  .battery-card strong { font-size: 18px; }
  .battery-card > span { font-size: 8px; }
}
@media (max-width: 640px) {
  .deck-flyouts { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .deck-flyout { transition: none; rotate: none !important; translate: none !important; }
  .motion-ready .hero-visual:not(.is-visible) .deck-flyout { opacity: 1; transform: translate3d(0, 0, 0) rotate(var(--turn)); }
  .deck-flyout::before { animation: none; }
  .flyout-motion { animation: none; }
  .reasoning-particles i, .is-loading .reasoning-refresh svg { animation: none; }
}
.ipad-mini-shell {
  --ipad-bezel: clamp(14px, 3.5cqw, 31px);
  --ipad-radius: clamp(28px, 6.8cqw, 60px);
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 3px;
  border: 1px solid #454b50;
  border-radius: var(--ipad-radius);
  background: linear-gradient(145deg, #b7bec3 0%, #616a71 9%, #252b30 23%, #79838a 48%, #2c3237 72%, #9ba3aa 94%, #555e65 100%);
  /* A close contact shadow and a faint, receding falloff keep the frame grounded. */
  box-shadow:
    inset 0 1px 1px #ffffff30,
    inset 0 -1px 1px #0006,
    0 2px 4px -2px #0007,
    0 12px 24px -12px #0005,
    0 28px 48px -24px #0005;
}
.ipad-mini-bezel {
  position: relative;
  padding: var(--ipad-bezel);
  overflow: hidden;
  border: 1px solid #090b0d;
  border-radius: calc(var(--ipad-radius) - 4px);
  background: #030405;
  box-shadow: inset 0 1px 2px #ffffff12, inset 0 0 0 1px #161a1d;
}
.ipad-mini-sensors { position: absolute; inset: 0 0 auto; height: var(--ipad-bezel); pointer-events: none; }
.ipad-mini-camera, .ipad-mini-ambient, .ipad-mini-sensor { position: absolute; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.ipad-mini-camera {
  left: 43.4%;
  width: clamp(5px, .9cqw, 8px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 44% 38%, #627799 0 7%, #1d2a46 12% 22%, #0b1021 29% 43%, #151820 50% 59%, #050609 66%);
  box-shadow: 0 0 0 1px #11151b, 0 0 3px #111827;
}
.ipad-mini-ambient { left: 40%; width: clamp(2px, .35cqw, 3px); aspect-ratio: 1; background: #181c1d; box-shadow: 0 0 1px #34393666; }
.ipad-mini-sensor { left: 56.5%; width: clamp(6px, 1.2cqw, 10px); aspect-ratio: 1; background: #07090a; }
.ipad-mini-hardware { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ipad-mini-key { position: absolute; left: -3px; width: 3px; border: 1px solid #3a4146; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, #30373c, #8a949c 48%, #343c42); box-shadow: -1px 0 1px #0007; }
.ipad-mini-key-power { top: 11%; height: 14%; }
.ipad-mini-key-volume-up { bottom: 20%; height: 7.5%; }
.ipad-mini-key-volume-down { bottom: 10.5%; height: 7.5%; }
.ipad-mini-bezel .deck-device { border-radius: calc(var(--ipad-radius) - var(--ipad-bezel) - 5px); box-shadow: 0 0 0 1px #34383a66; }
.deck-device { padding: 8px; overflow: hidden; border-radius: 28px; background: #1e242d; }
.deck-device, .deck-device * { user-select: none; -webkit-user-select: none; }
.hero-visual img { -webkit-user-drag: none; }
.deck-scroll { overflow-x: auto; overflow-y: hidden; }
.deck-stage { position: relative; width: 100%; aspect-ratio: 7 / 4; }
.deck-grid { position: absolute; inset: 0 auto auto 0; display: grid; width: 1120px; height: 640px; grid-template-columns: repeat(7, 160px); grid-template-rows: repeat(4, 160px); transform: scale(var(--deck-scale, .75)); transform-origin: top left; color: #f8fafc; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: normal; text-align: left; -webkit-font-smoothing: auto; }
.deck-grid svg { fill: none; stroke: none; stroke-width: 1; stroke-linecap: butt; stroke-linejoin: miter; }
.deck-item { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 12px 24px; }
.deck-item > .deck-tile { flex: 1; min-height: 0; }
.deck-grid .tile-name { flex: none; width: 100%; height: 24px; padding: 6px 2px 0; overflow: hidden; color: #f8fafc; font-size: 15px; font-weight: 550; line-height: 1.15; text-align: center; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 4px #000b; }
.deck-tile { position: relative; min-width: 0; overflow: hidden; border: 0; border-radius: 28px; background: #1b1b1b; box-shadow: 0 7px 18px #0000003d; transition: scale .2s ease, box-shadow .2s ease; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .deck-item:has(> .deck-tile:hover) { z-index: 2; }
  .deck-tile:hover, .flyout-card:hover { scale: 1.025; box-shadow: 0 10px 24px #0005; }
  .workflow-card:hover { scale: 1.025; }
}
.clock-item { grid-column: 1 / 3; grid-row: 1 / 3; }
.quote-item { grid-column: 3 / 5; grid-row: 1; }
.mem-item { grid-column: 5 / 7; grid-row: 1; }
.cpu-item { grid-column: 7; grid-row: 1; }
.wechat-item { grid-column: 3; grid-row: 2; }
.qq-item { grid-column: 4 / 6; grid-row: 2; }
.net-item { grid-column: 6 / 8; grid-row: 2 / 4; }
.qqmusic-item { grid-column: 1; grid-row: 3; }
.netease-item { grid-column: 2; grid-row: 3; }
.feishu-item { grid-column: 3; grid-row: 3; }
.volume-item { grid-column: 4 / 6; grid-row: 3; }
.media-item { grid-column: 1 / 3; grid-row: 4; }
.uu-item { grid-column: 3; grid-row: 4; }
.note-item { grid-column: 4; grid-row: 4; }
.bright-item { grid-column: 5; grid-row: 4; }
.shotfull-item { grid-column: 6; grid-row: 4; }
.shotregion-item { grid-column: 7; grid-row: 4; }
.deck-grid .clock-tile { background: #eef1f4; }
.deck-grid .clock-face { width: 100%; height: 100%; }
.deck-grid [data-clock-numbers] { fill: #24272e; font-size: 22px; font-weight: 650; text-anchor: middle; }
.deck-grid .quote-tile { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 14px 19px; background: #1e293b; }
.deck-grid .quote-mark { position: absolute; top: 5px; left: 10px; color: #fbbf24; font: 700 30px Georgia, serif; opacity: .9; }
.deck-grid blockquote { z-index: 1; flex: none; min-width: 0; margin: 0; padding-left: 13px; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.deck-grid .quote-source { z-index: 1; flex: none; min-width: 0; max-width: calc(100% - 32px); overflow: hidden; color: #d5deeb; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.deck-grid .quote-credit { position: absolute; right: 10px; bottom: 5px; font-size: 9px; opacity: .55; }
.deck-grid .metric-tile { display: flex; flex-direction: column; align-items: stretch; padding: 6px 9px; }
.deck-grid .metric-heading { z-index: 1; min-width: 0; }
.deck-grid .metric-title { overflow: hidden; color: #fff; font-size: 13px; font-weight: 650; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.deck-grid .metric-subtitle { margin-top: 2px; overflow: hidden; color: #858585; font-size: 10px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.deck-grid .metric-percent { z-index: 1; display: flex; align-items: baseline; justify-content: center; gap: 5px; margin: auto 0; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.deck-grid .metric-percent > span { font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -.055em; }
.deck-grid .metric-percent > small { color: #929292; font-size: 17px; font-weight: 600; }
.deck-grid .metric-chart { position: absolute; inset: auto 0 0; width: 100%; height: 24%; overflow: visible; }
.deck-grid .chart-area { fill: #174069; opacity: .6; }
.deck-grid .chart-line { fill: none; stroke: #2f9af2; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.deck-grid .chart-area.secondary { fill: #135347; opacity: .38; }
.deck-grid .chart-line.secondary { stroke: #43c6a4; stroke-width: 3; }
.deck-grid .cpu-item .metric-tile { padding: 8.96px 8.96px 26.88px; }
.deck-grid .cpu-item .metric-title { font-size: 12.32px; }
.deck-grid .cpu-item .metric-subtitle { margin-top: 1px; font-size: 8.4px; }
.deck-grid .cpu-item .metric-percent { gap: 3px; }
.deck-grid .cpu-item .metric-percent > span { font-size: 33.6px; }
.deck-grid .cpu-item .metric-percent > small { font-size: 13.44px; }
.deck-grid .cpu-item .metric-chart { height: 19%; }
.deck-grid .cpu-item .chart-line { stroke-width: 2; }
.deck-grid .net-tile { padding: 21.76px; }
.deck-grid .net-tile .metric-title { font-size: 21.76px; }
.deck-grid .net-tile .metric-subtitle { font-size: 14.144px; }
.deck-grid .net-tile .metric-chart { height: 21%; }
.deck-grid .net-rates { z-index: 1; display: flex; flex-direction: column; gap: 7px; margin: auto 0; }
.deck-grid .net-rates > div { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; white-space: nowrap; }
.deck-grid .net-rates span { color: #a2a2a2; font-size: 13.6px; }
.deck-grid .net-rates strong { color: #fff; font-size: 19.04px; font-weight: 700; font-variant-numeric: tabular-nums; }
.deck-grid .app-tile { padding: 0; background: transparent; cursor: pointer; }
.deck-grid .app-tile img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.deck-grid .app-tile:active, .deck-grid .shot-tile:active { scale: .94; }
.deck-grid .app-tile.tap-launch, .deck-grid .shot-tile.tap-launch { animation: deck-tap-launch .34s cubic-bezier(.22, 1.2, .36, 1); }
@keyframes deck-tap-launch { 0% { scale: .94; } 55% { scale: 1.05; } 100% { scale: 1; } }
.deck-grid .volume-tile { display: flex; align-items: center; gap: 10px; padding: 8px 15px; }
.deck-grid .volume-mute { display: flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 36px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: #d3d3d7; cursor: pointer; }
.deck-grid .volume-mute svg { width: 28px; height: 28px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.deck-grid .mute-cross, .deck-grid .muted .sound-waves { display: none; }
.deck-grid .muted .mute-cross { display: initial; }
.deck-grid .muted .volume-mute { color: #94969b; }
.deck-grid .volume-tile input { --level: 21%; flex: 1; min-width: 0; height: 40px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
.deck-grid .volume-tile input::-webkit-slider-runnable-track { height: 14px; border-radius: 999px; background: linear-gradient(to right, #56a0f5 var(--level), #292929 var(--level)); }
.deck-grid .volume-tile input::-webkit-slider-thumb { width: 34px; height: 34px; margin-top: -10px; appearance: none; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px #0004; }
.deck-grid .volume-tile input::-moz-range-track { height: 14px; border-radius: 999px; background: #292929; }
.deck-grid .volume-tile input::-moz-range-progress { height: 14px; border-radius: 999px; background: #56a0f5; }
.deck-grid .volume-tile input::-moz-range-thumb { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px #0004; }
.deck-grid .volume-tile output { flex: none; min-width: 28px; text-align: center; font-size: 15px; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; }
.deck-grid .media-tile { display: grid; grid-template-columns: 78.875px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 2px 10.875px; padding: 8.96px; background: linear-gradient(145deg, #303437, #242a31 57%, #42406c); box-shadow: inset 0 1px 0 #ffffff21; }
.deck-grid .media-tile::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(circle at 87% 86%, #8959ffa8, transparent 40%), radial-gradient(circle at 38% 95%, #20a7cc47, transparent 37%); filter: blur(12px); pointer-events: none; }
.deck-grid .media-cover { position: relative; z-index: 1; grid-column: 1; grid-row: 1 / 3; align-self: center; width: 100%; aspect-ratio: 1; border-radius: 22%; background: linear-gradient(145deg, #17334c, #32335b); box-shadow: 0 7px 20px #0003; }
.deck-grid .media-waveform { position: absolute; inset: 18%; display: flex; align-items: center; justify-content: center; gap: 5%; }
.deck-grid .wave-bar { flex: none; width: 8%; height: var(--height); border-radius: 999px; background: linear-gradient(#b9edff, #77b8f4 55%, #ae9aff); transform: scaleY(.45); }
.deck-grid .playing .wave-bar { animation: deck-wave .85s ease-in-out var(--delay) infinite alternate; }
@keyframes deck-wave { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.deck-grid .media-details { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; overflow: hidden; }
.deck-grid .media-title { overflow: hidden; font-size: 17.92px; font-weight: 750; line-height: 1.12; text-overflow: ellipsis; white-space: nowrap; }
.deck-grid .media-artist { margin-top: 3px; overflow: hidden; color: #edf1f8b8; font-size: 12.32px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.deck-grid .media-controls { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 3px; }
.deck-grid .media-controls button { display: flex; align-items: center; justify-content: center; flex: 1 1 0; min-width: 0; height: 32.48px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #d0dbe7; cursor: pointer; transition: scale .16s ease; }
.deck-grid .media-controls button:active { scale: .88; }
.deck-grid .media-controls svg { width: 25.76px; height: 25.76px; fill: currentColor; }
.deck-grid .media-controls [data-control="toggle"] svg { width: 32.64px; height: 32.64px; }
.deck-grid .media-controls .icon-pause, .deck-grid .playing .icon-play { display: none; }
.deck-grid .playing .icon-pause { display: block; }
.deck-grid .knob-tile { display: flex; align-items: center; justify-content: center; padding: 10px; }
.deck-grid .knob-dial { position: relative; flex: none; width: 92px; height: 92px; border-radius: 50%; touch-action: none; cursor: grab; user-select: none; }
.deck-grid .knob-dial:active { cursor: grabbing; }
.deck-grid .knob-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.deck-grid .knob-rail, .deck-grid .knob-fill { fill: none; stroke-width: 12; stroke-linecap: round; }
.deck-grid .knob-rail { stroke: #303030; }
.deck-grid .knob-fill { stroke: #56a0f5; stroke-dasharray: 79 100; }
.deck-grid .knob-indicator { stroke: #fff; stroke-width: 6; stroke-linecap: round; }
.deck-grid .knob-face { position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle at 36% 28%, #383838, #232323 80%); box-shadow: 0 3px 10px #0005; }
.deck-grid .knob-dial output { position: absolute; inset: 50% 26% auto; transform: translateY(-50%); text-align: center; font-size: 16.56px; font-weight: 650; line-height: 1.15; pointer-events: none; }
.deck-grid .shot-tile { display: flex; align-items: center; justify-content: center; padding: 4px; background: #009b72; cursor: pointer; }
.deck-grid .shot-tile img { width: 72px; height: 72px; pointer-events: none; }
.deck-grid .media-controls button:hover, .deck-grid .volume-mute:hover { background: #ffffff21; }
.deck-grid :focus-visible { outline: 2px solid #56a0f5; outline-offset: 2px; }
@media (max-width: 700px) {
  .deck-device { padding: 4px; border-radius: 16px; }
  .deck-stage { min-width: 588px; }
}
@media (prefers-reduced-motion: reduce) {
  .deck-grid .playing .wave-bar { animation: none; }
  .deck-grid .app-tile.tap-launch, .deck-grid .shot-tile.tap-launch { animation: none; }
}
