/* One physical shell and one LCD, shared by the page and the modal top layer. */
.pw-stage { width: min(900px,100%); }
.pw-hero { padding-top: 90px; }
.pw-intro h1 { font-size: clamp(27px,3.4vw,40px); }
.pw-console {
  grid-template-columns: 108px minmax(0,1fr) 108px; gap: 18px;
  padding: 24px 22px 26px; border: 2px solid #8aaff5;
  border-radius: 58px 58px 70px 70px;
  background: linear-gradient(165deg,#548bf0 0%,#3976e4 32%,#2c61c5 100%);
  box-shadow: inset 0 3px 2px #bbd1ff, inset 2px 0 2px #80aaff,
    inset -2px 0 3px #1e4c9c, inset 0 -9px 2px #2455ac,
    0 7px 0 #173d80, 0 11px 0 -1px #c2a4c6, 0 26px 28px -13px #24385366;
  isolation: isolate;
}
.pw-console::before, .pw-console::after {
  content: ''; position: absolute; top: 5px; width: 13%; height: 5px;
  border-radius: 8px; background: #244a91; box-shadow: inset 0 1px 1px #142c56,0 1px 0 #88b2ff;
  z-index: -1;
}
.pw-console::before { left: 5%; } .pw-console::after { right: 5%; }
.pw-console-center { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.pw-console-wordmark { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 10px; letter-spacing: .22em; margin-bottom: 9px; text-shadow: 0 1px 1px #153976; }
.pw-power { width: 5px; height: 5px; border-radius: 50%; background: #ffe3ed; box-shadow: 0 0 5px #ffedf4; }
.pw-glass {
  position: relative; padding: 15px; border: 1px solid #0d1420; border-radius: 20px;
  background: linear-gradient(145deg,#202b3c,#090e17 48%,#151e2a);
  box-shadow: 0 -2px 2px #2050a9,0 2px 1px #8fb5fa,inset 0 1px 1px #8490a1,inset 0 -2px 3px #000;
  min-height: 0;
}
.pw-glass::after {
  content: ''; position: absolute; inset: 3px; border: 1px solid #ffffff15; border-radius: 17px;
  pointer-events: none;
}
.pw-bezel-label { font-size: 7px; letter-spacing: .23em; color: #fff; text-shadow: 0 1px #2350a6; margin-top: 9px; text-align: center; }
.pw-display {
  aspect-ratio: 16/10; border-radius: 4px; background: #0d1729;
  box-shadow: 0 0 0 1px #050a12,0 1px 1px #78808f,inset 0 3px 10px #000;
}
.pw-preview {
  position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto auto;
  gap: 14px; padding: 20px; height: 100%; overflow: auto;
  background: radial-gradient(ellipse at 80% 10%,#234469 0,transparent 70%),#111f35;
  color: #f6f8ff; text-align: left;
}
.pw-lcd-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.pw-lcd-header button { background: none; border: 0; color: #dce8ff; font: 600 11px/1.4 var(--font-body); min-height: 28px; padding: 4px; }
.pw-featured { display: grid; grid-template-columns: 53% minmax(0,1fr); gap: 18px; min-height: 0; align-items: center; }
.pw-featured img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: top; border: 1px solid #ffffff30; border-radius: 4px; box-shadow: 0 6px 12px #0006; }
.pw-preview-copy { background: transparent; padding: 0; min-width: 0; }
.pw-preview-copy .pw-slot { color: #f8c8d8; font-size: 10px; letter-spacing: .2em; margin: 0 0 6px; }
.pw-preview-copy h2 { color: #fff; font-size: clamp(18px,2vw,26px); line-height: 1.25; letter-spacing: -.02em; }
.pw-preview-copy #viewer-description { color: #c3d4ec; font-size: 11px; line-height: 1.7; margin: 10px 0; }
#viewer-start { padding: 7px 0; border: 0; background: transparent; color: #ffe0eb; font: 800 12px/1.5 var(--font-body); }
#viewer-start span { margin-left: 8px; }
.pw-shelf { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); width: 100%; margin: 0; gap: 9px; padding: 4px 0 0; overflow: visible; }
.pw-cartridge {
  position: relative; padding: 4px; border: 1px solid #6782a8; border-radius: 4px;
  background: #1b2c46; color: #edf3ff; transform: none; box-shadow: none;
}
.pw-cartridge::before { display: none; }
.pw-cartridge img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 1px; }
.pw-cartridge small { display: none; }
.pw-cartridge strong { font-size: 9px; line-height: 1.3; margin: 5px 0 2px; padding-right: 8px; }
.pw-cart-number { position: absolute; top: 6px; left: 6px; padding: 1px 3px; z-index: 1; font-size: 8px; line-height: 1.3; color: #fff; background: #10203bed; }
.pw-cartridge[aria-pressed=true] { border-color: #ffd9e7; outline: 2px solid #f8c8d8; outline-offset: 2px; background: #314363; transform: none; }
.pw-cartridge[aria-pressed=true]::after { content: '✓'; top: auto; bottom: 4px; right: 4px; left: auto; width: auto; color: #ffe0eb; font-size: 10px; }
.pw-lcd-footer { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #c3d4ec; }
.pw-lcd-footer select { background: #182b45; border: 1px solid #6782a8; border-radius: 3px; color: #fff; font: 500 10px/1.4 var(--font-body); max-width: 180px; min-width: 0; padding: 4px; }
.pw-lcd-footer > span { margin-left: auto; font-size: 8px; letter-spacing: .1em; }
.pw-console-rail { gap: 24px; justify-content: center; }
.pw-shell-label { font: 700 9px/1.4 var(--font-body); letter-spacing: .12em; color: #fff; text-shadow: 0 1px #2155ad; }
.pw-dpad { display: grid; grid-template: repeat(3,28px) / repeat(3,28px); gap: 0; filter: drop-shadow(0 4px 1px #133b7e); }
.pw-dpad button, .pw-dpad-center { border: 0; background: #203a63; color: #d6e7ff; padding: 0; font: 700 16px/1 sans-serif; }
.pw-dpad button { box-shadow: inset 0 2px 1px #7186a5; }
.pw-dpad-up { grid-area: 1/2; border-radius: 5px 5px 0 0; }
.pw-dpad-left { grid-area: 2/1; border-radius: 5px 0 0 5px; }
.pw-dpad-center { grid-area: 2/2; position: relative; }
.pw-dpad-center::after { content: ''; position: absolute; inset: 7px; border: 1px solid #11294c; border-radius: 50%; box-shadow: inset 0 1px 1px #7e93b1; }
.pw-dpad-right { grid-area: 2/3; border-radius: 0 5px 5px 0; }
.pw-dpad-down { grid-area: 3/2; border-radius: 0 0 5px 5px; }
.pw-dpad-touch { display: none; }
.pw-start { width: 76px; height: 76px; border: 2px solid #d9a2b8; color: #3f3045; background: radial-gradient(circle at 36% 20%,#ffe6f0,#f8c8d8 55%,#dc9fb7); box-shadow: 0 5px 1px #a2698d,0 7px 4px #194798aa,inset 0 2px 2px #fff8; font-size: 11px; letter-spacing: .05em; text-shadow: 0 1px #fff8; }
.pw-hardware { min-width: 66px; min-height: 32px; padding: 7px 9px; border: 1px solid #9badce; border-radius: 14px; background: linear-gradient(#fcfdff,#cddcf1); color: #253954; box-shadow: 0 3px 0 #163f84,0 4px 4px #173c7755,inset 0 1px #fff; font: 800 9px/1.2 var(--font-body); letter-spacing: .07em; }
.pw-hardware:disabled { color: #4a6288; }
.pw-home { border-radius: 50%; min-width: 34px; width: 40px; height: 40px; padding: 4px; font-size: 7px; }
.pw-next { min-width: 48px; min-height: 26px; font-size: 8px; }
.pw-speaker { width: 38px; height: 22px; border-radius: 0; background: radial-gradient(circle,#163e81 1.5px,transparent 2px) 0 0 / 8px 7px; }
.pw-console button:active { translate: 0 2px; }
.pw-console-rail button:focus-visible, .pw-preview :focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.pw-preview .pw-cartridge:focus-visible { outline-color: #fff; outline-offset: 5px; }
.pw-dialog { position: fixed; inset: 0; width: min(1088px,100vw); height: fit-content; max-height: 100dvh; padding: 24px; margin: auto; border: 0; border-radius: 0; background: transparent; overflow: auto; }
.pw-dialog[open] { display: block; }
.pw-dialog::backdrop { background: #101d35d9; }
.pw-dialog .pw-console { width: 100%; transform: none; }
.pw-dialog.pw-enter { animation: pw-shell-enter .24s ease-out; }
@keyframes pw-shell-enter { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pw-iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.pw-loading { color: #dce8ff; background: #0b1527; padding: 16px; text-align: center; font-size: 13px; gap: 12px; }
.pw-loading button { background: #f8c8d8; color: #252936; border: 0; border-radius: 4px; padding: 8px; }
.pw-loading a { color: #dce8ff; }
.pw-screen-shutter { position: absolute; inset: 0; z-index: 2; background: #050b15; opacity: 0; pointer-events: none; }
.pw-screen-switch .pw-screen-shutter { animation: pw-screen-switch .28s ease-in-out; }
@keyframes pw-screen-switch { 0%,45% { opacity: 1; } 100% { opacity: 0; } }
@media (hover:hover) { .pw-cartridge:hover { transform: none; background: #314363; } }
@media (max-width:900px) and (min-width:601px) {
  .pw-console { grid-template-columns: 74px minmax(0,1fr) 74px; gap: 12px; padding: 22px 16px; }
  .pw-dpad { grid-template: repeat(3,24px) / repeat(3,24px); }
  .pw-start { width: 60px; height: 60px; }
  .pw-preview { padding: 12px; gap: 8px; }
  .pw-preview-copy #viewer-description { display: none; }
}
@media (max-width:600px) {
  .pw-console { grid-template-columns: 32px minmax(0,1fr) 36px; gap: 7px; padding: 18px 9px; border-radius: 30px 30px 38px 38px; }
  .pw-hero { padding-top: 88px; }
  .pw-intro h1 { font-size: clamp(25px,6.7vw,34px); }
  .pw-console-wordmark { font-size: 7px; gap: 6px; letter-spacing: .04em; margin-bottom: 7px; }
  .pw-power { width: 4px; height: 4px; }
  .pw-glass { padding: 7px; border-radius: 11px; }
  .pw-glass::after { border-radius: 9px; }
  .pw-display { aspect-ratio: 4/3; min-height: 180px; border-radius: 2px; }
  .pw-bezel-label { font-size: 5px; letter-spacing: .08em; margin-top: 7px; }
  .pw-console-rail { gap: 20px; }
  .pw-shell-label { font-size: 6px; letter-spacing: 0; }
  .pw-dpad { display: block; position: relative; width: 36px; height: 36px; }
  .pw-dpad > button, .pw-dpad-center { display: none; }
  .pw-dpad::before { content: ''; position: absolute; inset: 0; background: linear-gradient(#4d658a,#203a63); clip-path: polygon(33% 0,67% 0,67% 33%,100% 33%,100% 67%,67% 67%,67% 100%,33% 100%,33% 67%,0 67%,0 33%,33% 33%); }
  .pw-dpad .pw-dpad-touch { display: block; position: absolute; inset: 0; width: 36px; height: 36px; background: transparent; box-shadow: none; font-size: 14px; }
  .pw-start { width: 36px; height: 36px; font-size: 7px; border-width: 1px; box-shadow: 0 3px #a2698d,0 4px 3px #194798aa,inset 0 1px #fff8; }
  .pw-hardware { min-width: 34px; min-height: 26px; padding: 4px 1px; font-size: 6px; border-radius: 9px; letter-spacing: 0; }
  .pw-home { min-width: 29px; width: 29px; height: 29px; border-radius: 50%; }
  .pw-speaker { width: 22px; height: 19px; background-size: 6px 6px; }
  .pw-preview { padding: 8px; gap: 8px; grid-template-rows: 22px minmax(0,1fr) 44px 22px; }
  .pw-lcd-header { font-size: 7px; letter-spacing: 0; gap: 2px; }
  .pw-lcd-header button { font-size: 8px; min-height: 24px; padding: 0; }
  .pw-featured { grid-template-columns: 43% minmax(0,1fr); gap: 8px; }
  .pw-preview-copy h2 { font-size: 12px; }
  .pw-preview-copy .pw-slot { font-size: 7px; margin-bottom: 4px; }
  .pw-preview-copy #viewer-description { display: none; }
  #viewer-start { font-size: 8px; min-height: 26px; padding: 3px 0; }
  #viewer-start span { margin-left: 2px; }
  .pw-shelf { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; padding: 0; overflow: visible; scroll-snap-type: none; }
  .pw-cartridge { padding: 2px; min-height: 44px; }
  .pw-cartridge img { height: 100%; object-fit: cover; }
  .pw-cartridge strong { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; margin: -1px; }
  .pw-cart-number { top: 3px; left: 3px; font-size: 6px; padding: 1px; }
  .pw-cartridge[aria-pressed=true]::after { bottom: 0; right: 0; background: #203250; font-size: 8px; }
  .pw-lcd-footer { font-size: 8px; gap: 4px; }
  .pw-lcd-footer select { font-size: 8px; padding: 3px; flex: 1; }
  .pw-lcd-footer > span { display: none; }
  .pw-dialog { width: 100%; height: 100dvh; padding: 6px; margin: 0; overflow: hidden; }
  .pw-dialog .pw-console { height: 100%; grid-template-columns: minmax(0,1fr); grid-template-rows: 34px minmax(0,1fr) 48px; gap: 6px; padding: 6px; border-radius: 22px; box-shadow: inset 0 2px #bbd1ff,inset 0 -5px #2455ac; }
  .pw-dialog .pw-console-rail { flex-direction: row; gap: 20px; }
  .pw-dialog .pw-rail-left { justify-content: space-between; padding: 0 8px; }
  .pw-dialog .pw-shell-label { font-size: 9px; }
  .pw-dialog .pw-dpad { display: none; }
  .pw-dialog .pw-console-wordmark, .pw-dialog .pw-bezel-label { display: none; }
  .pw-dialog .pw-glass { flex: 1; padding: 4px; border-radius: 8px; }
  .pw-dialog .pw-display { height: 100%; aspect-ratio: auto; }
  .pw-dialog .pw-start { width: 44px; height: 40px; font-size: 8px; }
  .pw-dialog .pw-hardware { min-width: 54px; min-height: 34px; font-size: 8px; }
  .pw-dialog .pw-home { width: 54px; height: 30px; min-height: 30px; border-radius: 12px; }
  .pw-dialog .pw-preview { grid-template-rows: auto minmax(0,1fr) 64px auto; gap: 18px; padding: 18px; }
  .pw-dialog .pw-featured { grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr) auto; }
  .pw-dialog .pw-preview-copy h2 { font-size: 22px; }
  .pw-dialog .pw-preview-copy .pw-slot { font-size: 10px; }
  .pw-dialog #viewer-start { font-size: 13px; min-height: 40px; }
  .pw-dialog .pw-lcd-header, .pw-dialog .pw-lcd-header button, .pw-dialog .pw-lcd-footer, .pw-dialog .pw-lcd-footer select { font-size: 10px; }
}
@media (min-width:601px) and (max-height:650px) {
  .pw-dialog { width: min(870px,100vw); padding: 14px; }
  .pw-dialog .pw-console { grid-template-columns: 72px minmax(0,1fr) 72px; padding: 16px; gap: 12px; }
  .pw-dialog .pw-display { aspect-ratio: auto; height: calc(100dvh - 136px); }
  .pw-dialog .pw-preview { padding: 8px; gap: 6px; }
  .pw-dialog .pw-preview-copy #viewer-description { display: none; }
  .pw-dialog .pw-shelf { height: 56px; }
  .pw-dialog .pw-cartridge strong { display: none; }
  .pw-dialog .pw-cartridge img { height: 100%; object-fit: cover; }
  .pw-dialog .pw-console-rail { gap: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .pw-dialog.pw-enter, .pw-screen-switch .pw-screen-shutter { animation: none !important; }
}

/* START brings the same physical shell closer; the LCD receives a larger viewport. */
.pw-dialog .pw-console { transform-origin: top left; transition: none; }
.pw-dialog.pw-zoomed { width: 100vw; height: 100dvh; padding: 12px; overflow: hidden; }
.pw-dialog.pw-zoomed .pw-console { height: 100%; }
.pw-dialog.pw-zoomed .pw-glass { flex: 1; }
.pw-dialog.pw-zoomed .pw-display { height: 100%; min-height: 0; aspect-ratio: auto; }
@media (min-width:601px) {
  .pw-dialog.pw-zoomed .pw-console { grid-template-columns: clamp(72px,8.5vw,132px) minmax(0,1fr) clamp(72px,8.5vw,132px); gap: 22px; padding: 26px; border-radius: 68px; }
  .pw-dialog.pw-zoomed .pw-glass { padding: 18px; }
  .pw-dialog.pw-zoomed .pw-console-wordmark { font-size: 11px; }
  .pw-dialog.pw-zoomed .pw-bezel-label { font-size: 8px; }
  .pw-dialog.pw-zoomed .pw-start { width: 84px; height: 84px; }
}
@media (max-width:600px) {
  .pw-dialog:not(.pw-zoomed) { height: fit-content; padding: 16px; margin: auto; }
  .pw-dialog:not(.pw-zoomed) .pw-console { height: auto; }
  .pw-dialog:not(.pw-zoomed) .pw-display { height: min(440px,55dvh); min-height: 0; }
  .pw-dialog.pw-zoomed { padding: 6px; }
}
@media (min-width:601px) and (max-height:650px) {
  .pw-dialog.pw-zoomed { padding: 6px; }
  .pw-dialog.pw-zoomed .pw-console { padding: 14px; gap: 12px; border-radius: 36px; }
  .pw-dialog.pw-zoomed .pw-glass { padding: 10px; }
  .pw-dialog.pw-zoomed .pw-console-rail { gap: 12px; }
  .pw-dialog.pw-zoomed .pw-start { width: 60px; height: 60px; }
}

/* Brand and hardware share one playful graphic language, without a product replica. */
.pw-hero { padding-top: 84px; overflow: hidden; background: #fffafc; }
.pw-hero::before {
  content: ''; position: absolute; top: 270px; left: 50%; width: min(1160px,94vw); height: 440px;
  background: #f8c8d8; border-radius: 48% 39% 45% 40%; transform: translateX(-50%) rotate(-5deg); pointer-events: none;
}
.pw-intro { position: relative; max-width: 1040px; margin: 0 auto 20px; }
.pw-brand-art { position: relative; width: fit-content; max-width: 100%; margin: auto; padding: 8px 24px 0; }
.pw-intro h1 {
  position: relative; display: flex; align-items: baseline; justify-content: center; gap: .12em;
  font: 1000 clamp(54px,6.6vw,94px)/1.05 'Arial Black', 'Arial', sans-serif;
  letter-spacing: -.075em; color: #2055b6; isolation: isolate;
}
.pw-intro h1 span { display: inline-block; }
.pw-brand-pochiko { transform: rotate(-3deg); white-space: nowrap; flex-shrink: 0; }
.pw-brand-k { transform: translateY(-.045em) rotate(7deg); }
.pw-brand-works { position: relative; font-size: 1.13em; transform: rotate(3deg) translateY(.025em); white-space: nowrap; flex-shrink: 0; }
.pw-brand-works::before { content: ''; position: absolute; inset: .04em -.12em -.04em; background: #f8c8d8; z-index: -1; transform: rotate(-6deg); }
.pw-brand-dot { color: #2055b6; margin-left: .02em; }
.pw-pixel-spark { position: absolute; left: -2px; top: 9px; width: 10px; height: 10px; background: #2055b6; box-shadow: 10px -10px #2055b6,20px 0 #2055b6,10px 10px #2055b6; transform: rotate(-9deg); }
.pw-play-label { position: absolute; right: -10px; bottom: -27px; font: 800 8px/1.3 monospace; letter-spacing: .08em; text-align: left; color: #2055b6; transform: rotate(3deg); }
.pw-intro .pw-hero-lead { margin: 18px 0 4px; color: #252936; font-size: 17px; font-weight: 700; }
.pw-intro .pw-hero-caption { margin: 0; font-size: 12px; }
.pw-stage { position: relative; width: min(860px,100%); }
.pw-console { grid-template-columns: 108px minmax(0,1fr) 108px; }
.pw-console-center { padding-bottom: 30px; }
.pw-display { width: 100%; min-width: 0; }
.pw-stage .pw-preview-copy #viewer-description { display: none; }
.pw-stage .pw-preview-copy h2 { font-size: 20px; }
.pw-bezel-label { display: none; }
.pw-console-rail { position: static; gap: 24px; }
.pw-rail-left .pw-shell-label, .pw-rail-right .pw-shell-label { margin-bottom: -8px; }
.pw-action-cluster { position: relative; width: 108px; height: 84px; }
.pw-action-cluster::before { content: ''; position: absolute; inset: -8px -5px; border-radius: 50%; background: #2057b933; border: 1px solid #143e8538; transform: rotate(-30deg); box-shadow: inset 0 1px 2px #1c4b9c44,0 1px #8aaff555; }
.pw-action-cluster .pw-start { position: absolute; top: 0; right: 0; width: 56px; height: 56px; font: 900 24px/1 'Arial', sans-serif; }
.pw-action-b { position: absolute; left: 0; bottom: 0; width: 42px; height: 42px; min-width: 0; padding: 0; border-radius: 50%; font: 800 18px/1 'Arial', sans-serif; box-shadow: 0 4px 1px #183d7c,0 6px 4px #194798aa,inset 0 2px 2px #fff; }
.pw-aux-controls { position: absolute; bottom: 13px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; }
.pw-aux-controls .pw-hardware { min-width: 48px; width: 48px; min-height: 24px; height: 24px; border-radius: 12px; font-size: 7px; padding: 2px; }
.pw-aux-controls .pw-home { border-radius: 12px; }
.pw-action-cluster button:active { translate: 0 3px; box-shadow: 0 1px 0 #183d7c,inset 0 1px 2px #68789a; }
.pw-device-help { position: relative; }
.pw-actions, .pw-mode-switch { position: relative; }
@media (min-width:601px) {
  .pw-dialog.pw-zoomed .pw-action-cluster { width: 116px; height: 92px; }
  .pw-dialog.pw-zoomed .pw-action-cluster .pw-start { width: 62px; height: 62px; }
  .pw-dialog.pw-zoomed .pw-action-b { width: 46px; height: 46px; }
}
@media (max-width:900px) and (min-width:601px) {
  .pw-console { grid-template-columns: 74px minmax(0,1fr) 74px; }
  .pw-action-cluster { width: 74px; height: 72px; }
  .pw-action-cluster .pw-start { width: 44px; height: 44px; font-size: 20px; }
  .pw-action-b { width: 32px; height: 32px; font-size: 14px; }
}
@media (max-width:600px) {
  .pw-hero { padding-top: 88px; }
  .pw-hero::before { top: 330px; width: 120%; height: 280px; }
  .pw-intro { margin-bottom: 24px; }
  .pw-brand-art { padding: 0 10px; }
  .pw-intro h1 { flex-direction: column; align-items: center; gap: 0; font-size: clamp(44px,13.6vw,78px); line-height: 1; }
  .pw-brand-works { font-size: 1.28em; margin-top: 6px; }
  .pw-pixel-spark { top: 0; left: -10px; width: 6px; height: 6px; box-shadow: 6px -6px #2055b6,12px 0 #2055b6,6px 6px #2055b6; }
  .pw-play-label { right: 6px; top: -7px; bottom: auto; font-size: 5px; }
  .pw-intro .pw-hero-lead { margin-top: 20px; font-size: 13px; }
  .pw-intro .pw-hero-caption { font-size: 10px; max-width: 290px; margin: auto; }
  .pw-console { grid-template-columns: 32px minmax(0,1fr) 36px; }
  .pw-console-center { padding-bottom: 24px; }
  .pw-stage .pw-display { min-height: 200px; }
  .pw-stage .pw-preview-copy h2 { font-size: 12px; }
  .pw-console-rail { gap: 18px; }
  .pw-action-cluster { width: 36px; height: 80px; }
  .pw-action-cluster::before { inset: -6px -4px; transform: rotate(-12deg); }
  .pw-action-cluster .pw-start { width: 34px; height: 34px; right: -2px; font-size: 17px; }
  .pw-action-b { width: 28px; height: 28px; min-width: 0; min-height: 28px; bottom: 0; left: -2px; font-size: 13px; }
  .pw-aux-controls { bottom: 9px; gap: 12px; }
  .pw-aux-controls .pw-hardware { min-width: 36px; width: 36px; height: 24px; font-size: 6px; }
  .pw-dialog .pw-console { grid-template-rows: 24px minmax(0,1fr) 48px; }
  .pw-dialog .pw-console-center { padding-bottom: 0; }
  .pw-dialog .pw-rail-left { justify-content: center; }
  .pw-dialog .pw-rail-left .pw-speaker { display: none; }
  .pw-dialog .pw-rail-left .pw-shell-label { margin: 0; }
  .pw-dialog .pw-rail-right .pw-shell-label, .pw-dialog .pw-rail-right .pw-speaker { display: none; }
  .pw-dialog .pw-action-cluster { width: 92px; height: 42px; }
  .pw-dialog .pw-action-cluster::before { inset: -2px -4px; transform: none; }
  .pw-dialog .pw-action-cluster .pw-start { width: 40px; height: 40px; top: 0; right: 0; font-size: 20px; }
  .pw-dialog .pw-action-b { width: 34px; min-width: 34px; height: 34px; min-height: 34px; bottom: 0; left: 0; font-size: 16px; border-radius: 50%; }
  .pw-dialog .pw-aux-controls { position: static; transform: none; gap: 10px; }
  .pw-dialog .pw-aux-controls .pw-hardware { width: 48px; min-width: 48px; min-height: 30px; height: 30px; font-size: 8px; }
}
@media (min-width:601px) and (max-height:650px) {
  .pw-dialog:not(.pw-zoomed) .pw-display { height: calc(100dvh - 160px); }
  .pw-dialog .pw-preview-copy h2 { font-size: 16px; }
  .pw-dialog .pw-preview-copy .pw-slot { margin-bottom: 2px; }
  .pw-dialog.pw-zoomed .pw-action-cluster { width: 68px; height: 64px; }
  .pw-dialog.pw-zoomed .pw-action-cluster .pw-start { width: 40px; height: 40px; font-size: 18px; }
  .pw-dialog.pw-zoomed .pw-action-b { width: 28px; height: 28px; font-size: 14px; }
}
