/* Press the existing desktop controls without moving their hit areas.
   Padding pairs keep their total size; no artwork or general button transform
   is changed. Feedback is immediate, including under reduced motion. */

.home-window-actions button{padding:0}
.home-window-actions button:active{
  border-color:#292929 #fff #fff #292929;
  box-shadow:inset 1px 1px #888;
  padding:2px 0 0 2px;
}

/* Start and the launcher use the fixed grey shell, not the selected theme. */
.start-button:is(:active,[aria-expanded="true"]){
  border-color:#292929 #fff #fff #292929;
  box-shadow:inset 1px 1px #888;
  padding:4px 12px 2px 14px;
}
.site-play-launcher:is(:active,[aria-expanded="true"]){
  border-color:#333 #fff #fff #333;
  box-shadow:inset 1px 1px #888;
}
.site-play-launcher:is(:active,[aria-expanded="true"])>:is(img,span){
  position:relative;
  top:1px;
  left:1px;
}

/* Preserve each look's paired ink and paper, and its selected-state markers. */
.demo-tool-tabs button:not([aria-selected="true"]),
.demo-palette button,
.demo-text-styles button,
.demo-art-options button:not([aria-pressed="true"]){
  border-color:var(--site-light) var(--site-edge) var(--site-edge) var(--site-light);
  box-shadow:inset -1px -1px var(--site-shadow);
}
.demo-tool-tabs button[aria-selected="true"]{
  border-color:var(--site-edge) var(--site-light) var(--site-light) var(--site-edge);
  box-shadow:inset 1px 1px var(--site-shadow),inset 0 -3px var(--site-accent);
}
.site-play-close:active,
.demo-tool-tabs button:enabled:active,
.demo-palette button:enabled:active,
.demo-text-styles button:enabled:active,
.demo-art-options button:enabled:active,
#demo-remove:enabled:active,
#site-background-choose:enabled:active,
#site-background-remove:enabled:active,
#site-play-reset:enabled:active{
  border-color:var(--site-edge) var(--site-light) var(--site-light) var(--site-edge);
  box-shadow:inset 1px 1px var(--site-shadow);
}
.site-play-close:active{padding:2px 0 0 2px}
.demo-tool-tabs button:enabled:active{padding:6px 1px 4px 3px}
.demo-tool-tabs button[aria-selected="true"]:active{
  box-shadow:inset 1px 1px var(--site-shadow),inset 0 -3px var(--site-accent);
}
.demo-palette button:enabled:active,
.demo-text-styles button:enabled:active,
.demo-art-options button:enabled:active,
#demo-remove:enabled:active{padding:6px 4px 4px 6px}
.demo-art-options button[aria-pressed="true"]:active{
  padding:5px 3px 3px 5px;
  border-color:var(--site-link);
}
#site-background-choose:enabled:active,
#site-background-remove:enabled:active{padding:6px 9px 4px 11px}
#site-play-reset:enabled:active{padding:6px 11px 4px 13px}

/* Keep focus above the new bevels on both pale and dark looks. */
.home-window-actions button:focus-visible,
#start-button:focus-visible,
#site-playground-launcher:focus-visible,
#site-playground-panel button:enabled:focus-visible{
  outline:2px solid #07145b;
  outline-offset:3px;
  box-shadow:0 0 0 3px #fff;
}
.home-window-actions button:focus-visible,
.demo-tool-tabs button:focus-visible{position:relative;z-index:1}

@media(max-width:760px){
  .start-button:is(:active,[aria-expanded="true"]){padding:6px 6px 4px 8px}
}

/* Original CSS geometry keeps small controls independent of font glyph support.
   Buttons keep their existing accessible labels; these spans are decorative. */
.home-window-actions .window-control-glyph{
  display:block;
  position:relative;
  width:10px;
  height:10px;
  pointer-events:none;
}
.window-control-glyph::before,
.window-control-glyph::after{
  content:"";
  position:absolute;
  box-sizing:border-box;
}
[data-home-action="minimise"] .window-control-glyph::before{
  left:1px;
  right:1px;
  bottom:1px;
  height:2px;
  background:currentColor;
}
[data-home-action="maximise"] .window-control-glyph::before{
  inset:0;
  border:1px solid currentColor;
  border-top-width:2px;
}
.home-window.is-maximised [data-home-action="maximise"] .window-control-glyph::before{
  inset:0 0 auto auto;
  width:8px;
  height:8px;
}
.home-window.is-maximised [data-home-action="maximise"] .window-control-glyph::after{
  left:0;
  bottom:0;
  width:8px;
  height:8px;
  border:1px solid currentColor;
  border-top-width:2px;
  background:#c8c8c8;
}
[data-home-action="close"] .window-control-glyph::before,
[data-home-action="close"] .window-control-glyph::after{
  left:-1px;
  top:4px;
  width:12px;
  height:2px;
  background:currentColor;
  transform:rotate(45deg);
}
[data-home-action="close"] .window-control-glyph::after{transform:rotate(-45deg)}

.install-arrow{
  display:inline-block;
  position:relative;
  flex:0 0 12px;
  width:12px;
  height:12px;
  pointer-events:none;
}
.install-arrow::before{
  content:"";
  position:absolute;
  box-sizing:border-box;
  top:1px;
  right:1px;
  width:8px;
  height:8px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
}
.install-arrow::after{
  content:"";
  position:absolute;
  left:0;
  top:5px;
  width:12px;
  height:2px;
  background:currentColor;
  transform:rotate(-45deg);
}

/* Leave room for all six shortcuts on phone-width desktops. */
@media (max-width: 460px) {
  .desktop-icons.icons-left .desktop-icon {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .desktop-icons.icons-left .icon-label {
    max-width: 100%;
    font-size: clamp(9px, 2.5vw, 11px);
    white-space: normal;
  }
}

.home-more{margin:14px auto 6px;max-width:560px;text-align:left;font:13px/1.5 Tahoma,Arial,sans-serif}.home-more h2{font:15px/1.3 Bungee,Arial,sans-serif;margin:0 0 6px;color:var(--site-heading)}.home-more ul{margin:0 0 6px;padding-left:18px}.home-more li+li{margin-top:3px}.home-more p{margin:0;font-size:12px}.page-more{margin-top:36px;padding-top:6px;border-top:1px solid #aeb5c4}

.promo-lightbox{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:16px;background:#050a2ecc}.promo-lightbox-window{width:min(1100px,100%,calc((100vh - 70px)*16/9));padding:3px;background:#c8c8c8;border:2px solid;border-color:#fff #000 #000 #fff;box-shadow:6px 6px 0 #000a}.promo-lightbox-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 5px;background:linear-gradient(90deg,#0a1a7a,#2a6ee0);color:#fff;font:bold 13px/1.2 Tahoma,Arial,sans-serif}.promo-lightbox-close{width:24px;height:22px;display:grid;place-content:center;border:1px solid;border-color:#fff #000 #000 #fff;background:#c8c8c8;color:#111;font:bold 17px/1 Arial;cursor:pointer}.promo-lightbox-close:focus-visible{outline:2px solid #ffd400;outline-offset:1px}.promo-lightbox video{display:block;width:100%;aspect-ratio:16/9;height:auto;background:#000}

.promo-play{cursor:pointer}.promo-play .promo-play-btn{position:absolute;top:50%;left:50%;width:104px;height:104px;padding:0;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff9b0 0 12%,#ffe000 30%,#ffb800 70%,#ff8a00);border:5px solid #07145b;box-shadow:6px 6px 0 #07145b,inset -6px -8px 0 #0000001f;transition:transform .18s cubic-bezier(.3,1.6,.5,1),box-shadow .18s}.promo-play .promo-play-btn::before{content:"";position:absolute;inset:0;margin:auto;left:10px;width:38px;height:44px;background:#07145b;clip-path:polygon(0 0,100% 50%,0 100%);border-radius:4px}.promo-play .promo-play-btn::after{content:"";position:absolute;inset:-14px;border-radius:50%;border:4px dashed #ff4fd8;animation:promo-spin 6s linear infinite}@keyframes promo-spin{to{transform:rotate(360deg)}}.promo-play:hover .promo-play-btn,.promo-play:focus-visible .promo-play-btn{transform:translate(-50%,-50%) scale(1.12) rotate(-6deg);box-shadow:9px 9px 0 #07145b,inset -6px -8px 0 #0000001f}.promo-play:active .promo-play-btn{transform:translate(-50%,-50%) scale(.95);box-shadow:2px 2px 0 #07145b}@media(max-width:760px){.promo-play .promo-play-btn{width:72px;height:72px;border-width:4px;box-shadow:4px 4px 0 #07145b}.promo-play .promo-play-btn::before{width:26px;height:30px;left:7px}}@media(prefers-reduced-motion:reduce){.promo-play .promo-play-btn::after{animation:none}}
.promo-play .promo-play-btn{top:auto;left:26px;bottom:24px;transform:none}.promo-play:hover .promo-play-btn,.promo-play:focus-visible .promo-play-btn{transform:scale(1.12) rotate(-6deg)}.promo-play:active .promo-play-btn{transform:scale(.95)}@media(max-width:760px){.promo-play .promo-play-btn{left:16px;bottom:16px}}
.promo-play .promo-play-btn{width:82px;height:82px;left:14px;bottom:12px;border-width:4px;box-shadow:5px 5px 0 #07145b,inset -5px -6px 0 #0000001f}.promo-play .promo-play-btn::after{inset:-9px;border-width:3px}.promo-play .promo-play-btn::before{width:30px;height:34px;left:8px}@media(max-width:760px){.promo-play .promo-play-btn{width:60px;height:60px;left:10px;bottom:10px}.promo-play .promo-play-btn::before{width:22px;height:26px;left:6px}.promo-play .promo-play-btn::after{inset:-7px}}

/* Header icon links and stream-overlay pages (16 Nov 2026) */
.header-actions>a.header-icon-link{display:inline-flex;align-items:center;gap:7px;min-height:44px;white-space:nowrap}
.header-icon-link img{width:20px;height:20px;image-rendering:pixelated;flex:none}
@media(max-width:1180px){.header-actions>a.header-blog{display:none}}
@media(max-width:980px){.header-actions>a.header-icon-link:not([href="overlays/"]){display:none}}
@media(max-width:420px){.header-actions>a.header-icon-link{font-size:13px;gap:5px}}
.ov-crumb{margin:0 0 10px;font-size:14px;font-weight:bold}.ov-crumb a{color:inherit}
.ov-lede{font-size:20px;line-height:1.5;max-width:68ch}
.ov-hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:28px;align-items:start;margin:0 0 30px}
.ov-hero-img{width:100%;height:auto;border:3px solid var(--navy);box-shadow:6px 6px 0 var(--navy);background:#fff}
.ov-hero-media{margin:0}.ov-hero-media video{display:block;aspect-ratio:16/9;background:#ffd6ea}.ov-credit{font-size:12px;line-height:1.4;color:var(--muted);margin-top:12px}
.ov-buy{border:3px solid var(--navy);background:#fff;padding:22px;box-shadow:6px 6px 0 var(--navy)}
.ov-buy .ov-lede{font-size:17px;margin-top:0}
.ov-price{font-size:17px;margin:.4em 0 1em}.ov-price strong{font:28px/1 Bungee,Tahoma,sans-serif;color:var(--navy);margin-right:6px}
.ov-buy .button{display:flex;justify-content:center;width:100%;box-sizing:border-box}
.ov-alt{font-size:14px;margin:.8em 0}
.ov-bundle-note{font-size:15px;background:#fff7c2;border:2px dashed var(--navy);padding:10px 12px}
.ov-chips{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0!important;margin:14px 0 0}.ov-chips li{margin:0!important;font-size:12px;font-weight:bold;border:2px solid var(--navy);padding:3px 8px;background:#eef4ff}
.ov-included li{max-width:80ch}
.ov-gallery{list-style:none;padding:0!important;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.ov-gallery li{margin:0!important}.ov-gallery img{width:100%;height:auto;display:block;border:2px solid var(--navy);background:#fff}.ov-gallery span{display:block;font-size:13px;margin-top:6px;color:var(--muted)}
.ov-steps li{max-width:76ch}
.ov-cards{list-style:none;padding:0!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin:26px 0 36px}
.ov-card{margin:0!important;border:3px solid var(--navy);background:#fff;box-shadow:5px 5px 0 var(--navy);padding:0 0 16px;display:flex;flex-direction:column}
.ov-card>a img{width:100%;height:auto;display:block;border-bottom:3px solid var(--navy)}
.ov-card h3,.ov-card p,.ov-card .ov-card-actions{margin-left:16px!important;margin-right:16px!important}
.ov-card h3{margin-top:14px!important;margin-bottom:4px!important}.ov-card h3 a{color:var(--navy)}
.ov-card p{font-size:15px}.ov-card .ov-price{margin-top:auto!important}
.ov-card-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.ov-card-actions>a:not(.button){font-weight:bold;font-size:14px}
.ov-bundle{display:grid;grid-template-columns:minmax(180px,300px) minmax(0,1fr);gap:26px;align-items:center;border:3px solid var(--navy);background:#fff7c2;padding:22px;box-shadow:6px 6px 0 var(--navy);margin:10px 0 30px}
.ov-bundle img{width:100%;height:auto;border:2px solid var(--navy)}.ov-bundle h2{margin-top:0!important}.ov-bundle .launch-actions{margin:16px 0 0}
.ov-free{border:2px dashed var(--navy);padding:6px 20px 14px;margin:0 0 20px;background:#eef4ff}
.ov-faq{margin-top:30px}.ov-ext-note{margin-top:30px;font-size:15px}
.ov-bottom{margin-top:30px}
@media(max-width:860px){.ov-hero,.ov-bundle{grid-template-columns:1fr}}
.home-overlays{margin:18px 0 6px;padding:14px 16px;border:2px solid #222;background:#fff7c2;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.home-overlays img{width:120px;height:auto;border:2px solid #222}.home-overlays div{flex:1 1 220px}.home-overlays h2{font-size:18px;margin:0 0 4px}.home-overlays p{margin:0 0 6px;font-size:14px}
@media(max-width:860px){.ov-hero .ov-buy{order:-1}}
@media(max-width:480px){.desktop-icons [data-icon-id="recycle"]{display:none}}
.pro-cards:has(> .pro-card:only-child){grid-template-columns:minmax(0,420px)}
