
:root{--bg:#090909;--panel:#151515;--panel2:#202020;--line:#303030;--text:#f5f5f0;--muted:#a6a6a0;--orange:#ff8500;--orange-soft:#c96a13;--max:1120px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.65 Inter,Segoe UI,Arial,sans-serif}
a{color:var(--text);text-decoration:none}a:hover{color:var(--orange)}.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}
header{position:sticky;top:0;z-index:5;background:#090909ee;backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:.08em}.mark{width:44px;height:44px;border-radius:12px;overflow:hidden;display:block;flex:0 0 44px}.mark img{width:100%;height:100%;object-fit:cover;display:block}.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:.2em}.links{display:flex;gap:22px;align-items:center;font-size:14px;color:#ddd}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--orange);color:#111;padding:12px 18px;border-radius:9px;font-weight:800;border:0}.btn:hover{background:var(--orange-soft);color:#fff}.hero{padding:100px 0 82px;background:radial-gradient(ellipse at 80% 20%,#5b2c082d,transparent 45%)}.eyebrow{color:var(--orange);font-size:12px;font-weight:900;letter-spacing:.22em;text-transform:uppercase}.hero h1{font-size:clamp(42px,7vw,76px);line-height:1.02;letter-spacing:-.055em;margin:18px 0}.hero h1 span{color:var(--orange)}.lead{max-width:680px;color:#c2c2bc;font-size:19px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn.secondary{background:transparent;color:var(--text);border:1px solid #555}.section{padding:64px 0;border-top:1px solid var(--line)}h2{font-size:32px;line-height:1.15;margin:0 0 16px;letter-spacing:-.03em}h3{margin:0 0 8px;font-size:19px}.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:24px}.card .num{color:var(--orange);font-size:12px;font-weight:900;letter-spacing:.15em}.card p{color:#b9b9b2;margin-bottom:0}.legal{max-width:850px;padding:64px 0 90px}.legal h1{font-size:44px;line-height:1.1}.legal h2{font-size:22px;margin-top:34px}.legal p,.legal li{color:#c5c5be}.notice{border:1px solid #6a431d;background:#1d160f;border-radius:12px;padding:16px;color:#f2d5b6;margin:24px 0}.contactbox{background:var(--panel);border:1px solid var(--line);padding:26px;border-radius:16px}.contactbox a{color:var(--orange);font-weight:700}footer{border-top:1px solid var(--line);padding:28px 0;color:var(--muted);font-size:13px}.foot{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footlinks{display:flex;gap:18px;flex-wrap:wrap}
@media(max-width:760px){.links{gap:12px;font-size:12px}.links .optional{display:none}.grid{grid-template-columns:1fr}.hero{padding:72px 0 60px}.nav{height:66px}.legal h1{font-size:36px}}

.logo-large{width:116px;height:116px;border-radius:24px;object-fit:cover;border:1px solid #65401e;box-shadow:0 0 38px #ff850033}
.download-panel{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;background:linear-gradient(120deg,#21170e,#151515 65%);border:1px solid #6b431d;border-radius:18px;padding:28px}
.download-status{display:inline-flex;align-items:center;gap:8px;color:#ffb15c;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.download-status:before{content:'';width:8px;height:8px;border-radius:50%;background:var(--orange)}
.btn.disabled{background:#3a3025;color:#d8b48c;border:1px solid #6b431d;cursor:not-allowed;opacity:1}


/* V1.3.213 — vertical game card: artwork first, Game Name directly underneath. */
.game-control-card{
  flex:0 1 320px !important;
  width:320px !important;
  min-width:260px !important;
  max-width:360px !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:12px !important;
  padding:14px !important;
}
.game-control-image{
  order:0; width:100% !important; height:170px !important;
  min-width:0 !important; max-width:none !important;
  min-height:170px !important; max-height:170px !important;
  flex:0 0 170px !important; border-radius:10px;
}
.game-control-image>img{width:100%;height:100%;object-fit:contain !important;}
.game-control-fields{
  order:1; width:100%; flex:0 0 auto !important; min-width:0;
  display:flex; flex-direction:column; gap:9px !important;
}
.game-control-fields>label{order:0; width:100%;}
.game-control-fields .card-active-badge{order:-1;align-self:flex-start;max-width:100%;}
.game-control-fields .game-gallery-open{order:1;width:100%;min-height:40px;}
.game-control-fields .game-control-open{order:2;width:100%;min-height:40px;}
.game-control-fields>.primary-btn{order:3;width:100%;min-height:42px;justify-content:center;}
.game-control-actions{
  order:2; width:100%; margin-top:0 !important; min-height:0 !important;
  display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch !important; justify-content:stretch !important;
  flex-direction:row !important; flex-wrap:wrap !important; gap:8px !important;
}
.game-control-actions .primary-btn,.game-control-actions .secondary-btn{
  min-width:0 !important; width:100%; min-height:38px; justify-content:center;
  white-space:normal;
}
.game-control-actions .active-game-badge{display:flex;align-items:center;justify-content:center;}
.game-control-delete{margin:0 !important;justify-self:end;min-width:38px;}
@media(max-width:620px){
 .game-control-card{flex:1 1 100% !important;width:100% !important;max-width:100% !important;}
}

/* V1.3.217 — 600px cards and aligned action rows */
.game-control-cards{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:18px!important;align-items:stretch!important;}
.game-control-card{box-sizing:border-box!important;flex:0 0 600px!important;width:600px!important;min-width:0!important;max-width:600px!important;height:auto!important;max-height:none!important;display:flex!important;flex-direction:column!important;gap:12px!important;padding:18px!important;}
.game-control-image{width:100%!important;height:250px!important;min-height:250px!important;max-height:250px!important;flex:0 0 250px!important;overflow:hidden!important;background:#202b39!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.game-control-image>img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;}
.game-control-fields{display:flex!important;flex-direction:column!important;gap:12px!important;width:100%!important;}
.game-control-fields>label{width:100%!important;}
.game-control-primary-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;width:100%!important;}
.game-control-primary-actions>button{order:initial!important;width:100%!important;min-width:0!important;min-height:44px!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:6px!important;white-space:nowrap!important;font-size:13px!important;padding:8px!important;}
.game-control-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) 42px!important;gap:9px!important;width:100%!important;align-items:center!important;}
.game-control-actions>.secondary-btn,.game-control-actions>.primary-btn,.game-control-actions>.active-game-badge{width:100%!important;min-width:0!important;min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;font-size:13px!important;}
.game-control-actions>.game-control-delete{width:42px!important;height:42px!important;justify-self:end!important;}
@media(max-width:650px){.game-control-card{flex:1 1 100%!important;width:100%!important;max-width:600px!important;}.game-control-primary-actions>button,.game-control-actions>.secondary-btn,.game-control-actions>.primary-btn{font-size:11px!important;padding:6px!important;}.game-control-actions{grid-template-columns:repeat(3,minmax(0,1fr)) 36px!important;}}
