/* Общие стили страниц демо, заказа и панели оператора. Та же система, что и в игре. */
@import url('https://fonts.googleapis.com/css2?family=Handjet:wght@700&family=Golos+Text:wght@500;600;700&display=swap');
:root{
  --bg:#0f3b40; --s1:#0b2f33; --s2:#134a50; --s3:#134a50;
  --border:#1b5157; --border2:#1b5157;
  --gold:#f3e7cf; --gold2:#ff6b3d;
  --dim:#7f9a93; --dim2:#a9bdb6; --text:#f3e7cf;
  --green:#f3e7cf; --red:#ff6b3d; --ink:#08222a; --radius:0;
  --pixel:'Handjet',monospace; --body:'Golos Text',sans-serif;
  --spring:cubic-bezier(.34,1.56,.64,1);
}
*{box-sizing:border-box; margin:0; padding:0;}
.card,.btn,.tier,input:not([type=checkbox]):not([type=radio]),select,textarea{ clip-path:polygon(0 6px,6px 6px,6px 0,calc(100% - 6px) 0,calc(100% - 6px) 6px,100% 6px,100% calc(100% - 6px),calc(100% - 6px) calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,6px calc(100% - 6px),0 calc(100% - 6px)); }
[hidden]{display:none !important;}
body{ background:var(--bg); color:var(--text); font-family:var(--body); font-size:18px; font-weight:500; min-height:100vh; line-height:1.35; display:flex; flex-direction:column; }
.wrap{ flex:1 0 auto; width:100%; max-width:760px; margin:0 auto; padding:32px 16px 48px; }
.wrap.wide{ max-width:1180px; }
h1{ font-family:var(--pixel); font-weight:700; font-size:clamp(72px,13vw,112px); line-height:1; text-transform:uppercase; margin-bottom:16px; }
h2{ font-family:var(--pixel); font-weight:700; font-size:52px; line-height:1.15; text-transform:uppercase; margin-bottom:10px; }
.lead{ font-size:21px; line-height:1.3; margin-bottom:24px; }
.card{ background:var(--s1); padding:20px; margin-bottom:16px; }
label.f{ display:block; font-size:16px; font-weight:600; margin-bottom:14px; }
input,select,textarea{ display:block; width:100%; margin-top:6px; background:var(--s2); border:none; border-radius:0; padding:11px 13px; color:var(--text); font:inherit; font-size:17px; }
input:focus,select:focus,textarea:focus{ outline:3px solid var(--red); outline-offset:-3px; }
input[type=checkbox],input[type=radio]{ display:inline-block; width:20px; height:20px; margin:2px 8px 0 0; flex:none; accent-color:var(--red); }
.check{ display:flex; align-items:flex-start; font-size:16px; margin-bottom:12px; }
.row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:0 14px; }
.btn{ display:inline-block; padding:13px 18px; border:none; border-radius:0; cursor:pointer; text-decoration:none; text-align:center; background:var(--red); color:var(--ink); font-family:var(--body); font-size:17px; font-weight:700; line-height:1.3; transition:transform .2s var(--spring); }
.btn:hover:not(:disabled){ transform:translateY(-3px); }
.btn.ghost{ background:#1b5157; color:var(--text); }
.btn.good{ background:var(--text); color:var(--bg); }
.btn.bad{ background:var(--red); color:var(--ink); }
.btn:disabled{ opacity:.5; cursor:not-allowed; }
.btn.block{ display:block; width:100%; }
.err{ color:var(--red); font-size:17px; margin:10px 0; white-space:pre-line; }
.ok{ color:var(--text); font-size:17px; margin:10px 0; }
.muted{ color:var(--dim2); font-size:16px; }
.tiers{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; margin-bottom:12px; }
.tier{ display:block; background:var(--s2); padding:14px; cursor:pointer; }
.tier:has(input:checked){ outline:3px solid var(--red); outline-offset:-3px; }
.tier b{ display:block; font-weight:700; }
.tier .price{ font-family:var(--pixel); font-weight:700; font-size:52px; line-height:1; color:var(--red); margin:6px 0; }
.photo-row{ display:flex; gap:10px; align-items:center; margin-bottom:8px; }
.photo-row img{ width:56px; height:56px; object-fit:cover; flex:none; }
.photo-row input{ margin-top:0; }
details{ margin-bottom:12px; font-size:16px; color:var(--dim2); }
details summary{ cursor:pointer; color:var(--text); }
details p,details li{ margin-top:8px; }
details ul{ padding-left:18px; }
.hp{ position:absolute; left:-9999px; }
.foot{ margin-top:18px; text-align:center; }
.foot a,.lead a,.muted a{ color:var(--text); }
.foot a:hover,.lead a:hover,.muted a:hover{ color:var(--red); }
