/*
  ORBIT LEISURE — store pages (the inlay-card page for one title).
  Shared by every orb-NNN-*.html page in the new format: the game itself is at the
  stockist (itch.io); this page is the card, the notes and the posting list.
  See "Store pages" in the README.
*/
:root{
  --blk:#000000;
  --wht:#ffffff;
  --yel:#ffe500;
  --cyn:#3ce0ff;
  --grn:#3cf03c;
  --mag:#ff5ce0;
  --red:#ff4040;
  --blu:#3c50ff;
  --dim:#8a8a8a;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "Courier New", monospace;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
html,body{margin:0;padding:0;background:#101010;color:var(--wht);font-family:var(--mono)}
body{
  min-height:100vh;
  padding:16px 12px 48px;
  background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.035) 0 1px,transparent 1px 3px);
}
.set{max-width:860px;margin:0 auto;background:var(--blk);border:2px solid #2a2a2a;border-radius:6px;padding:14px 16px 22px;box-shadow:0 0 0 6px #050505, 0 18px 40px rgba(0,0,0,.7)}

.hdr{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:baseline;border-bottom:1px solid #303030;padding-bottom:8px;font-size:14px;letter-spacing:.05em}
.hdr a{color:var(--cyn);text-decoration:none}
.hdr .pg{color:var(--yel)}
.hdr .clk{color:var(--dim)}

/* the spine of the card: number, year, price */
.spine{display:flex;flex-wrap:wrap;gap:4px 18px;justify-content:space-between;margin:16px 0 0;padding:4px 10px;font-size:12px;font-weight:700;letter-spacing:.16em;color:var(--blk);background:var(--yel)}
.spine.red{background:var(--red)}
.spine.magenta{background:var(--mag)}
.spine.cyan{background:var(--cyn)}
.spine.green{background:var(--grn)}

.kicker{color:var(--yel);font-size:12px;letter-spacing:.12em;margin:18px 0 10px}
.title{margin:0;font-size:inherit;font-weight:inherit;line-height:1}
.title .by{display:block;color:var(--wht);font-size:clamp(13px,3.4vw,18px);font-weight:700;letter-spacing:.3em;margin-bottom:8px}
.title .by.after{margin:2px 0 0}
.dh{font-size:clamp(30px,9.6vw,60px);font-weight:700;letter-spacing:.12em;line-height:1.05;color:var(--blk);background:var(--yel);display:inline-block;padding:4px 10px;margin:0 6px 6px 0}
.dh.cyan{background:var(--cyn)}
.dh.red{background:var(--red)}
.dh.green{background:var(--grn)}
.dh.magenta{background:var(--mag)}
.sub{color:var(--cyn);font-size:13px;line-height:1.5;letter-spacing:.12em;margin:8px 0 0}

h2{font-size:15px;letter-spacing:.12em;color:var(--yel);margin:30px 0 10px;font-weight:700}
p,li{font-size:14px;line-height:1.62;max-width:68ch}
p{margin:0 0 12px}
.d{color:var(--dim)}
.c{color:var(--cyn)}
.small{font-size:12px;color:#aaa}
a{color:var(--cyn)}
a:focus-visible,button:focus-visible,input:focus-visible,video:focus-visible{outline:2px solid var(--yel);outline-offset:2px}
.rule{border:0;border-top:1px solid #303030;margin:26px 0 0}
[hidden]{display:none !important}

/* the card front: cover and blurb */
.feature{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:26px;align-items:center;border-top:4px solid var(--mag);margin-top:20px;padding:22px 0 6px}
.cover{margin:0}
.cover img,.cover video{display:block;width:100%;height:auto;background:#030405;border:2px solid #2a2a2a;image-rendering:pixelated}
.cover.smooth img{image-rendering:auto}
.cover figcaption,.stills figcaption{color:var(--yel);font-size:11px;line-height:1.5;letter-spacing:.08em;margin-top:8px;text-align:center}
.feature h2{color:var(--wht);font-size:clamp(20px,3.6vw,27px);line-height:1.22;letter-spacing:.025em;margin:0 0 16px}
.feature h2 span{display:block}

/* the stockist: the one button that matters */
.cta{display:inline-block;max-width:100%;background:var(--grn);color:var(--blk);font:inherit;font-size:13px;line-height:1.5;font-weight:700;letter-spacing:.04em;padding:12px 14px;text-decoration:none;border:0;cursor:pointer;margin:6px 0 12px}
.cta:hover{background:var(--yel)}
.cta:disabled{background:var(--dim);cursor:wait}
/* a second way in, beside the main button (the stockist, when the title also plays here) */
.cta.alt{background:var(--blk);color:var(--cyn);box-shadow:inset 0 0 0 1px var(--cyn);margin-left:0}
.cta.alt:hover{background:#10292e}
.cta + .cta{margin-top:0}
.stockist-note{color:#aaa;font-size:12px;margin:0}

.stills{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:14px;margin:0;padding:0}
.stills figure{margin:0}
.stills img,.stills video{display:block;width:100%;height:auto;background:#030405;border:1px solid #333;image-rendering:pixelated}
.stills .wide{grid-column:1 / -1;max-width:640px}

.facts{list-style:none;padding:0;margin:0}
.facts li{padding:7px 0 7px 22px;border-bottom:1px solid #1e1e1e;position:relative;max-width:none}
.facts li::before{content:"\25B8";position:absolute;left:2px;color:var(--grn)}

table{border-collapse:collapse;width:100%;max-width:680px;font-size:13px;margin:0 0 6px}
th,td{padding:7px 8px;text-align:left;border-bottom:1px solid #2a2a2a;vertical-align:top;line-height:1.5}
th{color:var(--mag);font-size:12px;letter-spacing:.1em;font-weight:700}
td:first-child{color:var(--cyn);white-space:nowrap}

.box{border:1px solid var(--cyn);padding:14px;margin:14px 0;max-width:68ch}
.box p:last-child{margin-bottom:0}
.box h2{margin-top:0}
.box.notify{border-color:var(--grn);max-width:none;scroll-margin-top:12px}
.box.notify h2{color:var(--grn)}
.box.film{border-color:var(--mag)}
.box.film h2{color:var(--mag)}

/* the posting list */
.signup{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 10px}
.signup label{flex:1 1 100%;font-size:12px;letter-spacing:.08em;color:var(--cyn)}
.signup input[type=email]{flex:1 1 100%;min-width:0;background:#000;border:1px solid var(--dim);color:var(--yel);font:inherit;font-size:16px;padding:11px 10px}
.signup .cta{margin:0}
.signup .consent{display:flex;flex:1 1 100%;align-items:flex-start;gap:9px;color:var(--wht);font-size:13px;letter-spacing:0;line-height:1.5;cursor:pointer;margin:4px 0 6px}
.signup .consent input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:var(--grn)}
.signup .trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.signup-status{flex:1 1 100%;border-left:3px solid var(--grn);padding:8px 10px;margin:6px 0 0;font-size:13px;line-height:1.5;letter-spacing:.04em}
.signup-status.error{border-color:var(--red);color:var(--red)}

.browse{display:inline-block;max-width:100%;min-height:44px;align-content:center;border:1px solid var(--cyn);color:var(--cyn);font-size:12px;line-height:1.5;letter-spacing:.04em;padding:10px 12px;text-decoration:none;margin:14px 8px 0 0}
.browse:hover{background:#10292e}

footer.sig{max-width:860px;margin:22px auto 0;font-size:11.5px;color:#555;text-align:center;line-height:1.7}

@media (max-width:640px){
  body{padding:8px 8px calc(28px + env(safe-area-inset-bottom))}
  .set{padding:12px 12px 18px;box-shadow:0 0 0 3px #050505,0 10px 30px rgba(0,0,0,.7)}
  .hdr{font-size:12px}
  .feature{grid-template-columns:1fr;gap:18px;padding-top:18px}
  .cta{display:block;text-align:center}
  .signup .cta{flex:1 1 100%}
  td:first-child{white-space:normal}
}
@media (hover:none){
  .cta:hover{background:var(--grn)}.cta:active{background:var(--yel)}
  .cta.alt:hover{background:var(--blk)}.cta.alt:active{background:#10292e}
}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
