@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@500;600;700;800;900&display=swap');
:root{
  --bg:#080b13;--panel:#101725;--panel2:#151f31;--line:#2b3a52;--text:#f5f7fb;--muted:#96a4b9;
  --yellow:#ffd43b;--orange:#ff8a32;--red:#ff4159;--green:#3ee68a;--cyan:#58d9ff;--purple:#9e6bff;
  --shadow:0 24px 80px rgba(0,0,0,.38);
}
*{box-sizing:border-box}html{background:#080b13;scroll-behavior:smooth}body{margin:0;color:var(--text);font-family:Inter,system-ui,sans-serif;background:
radial-gradient(circle at 20% 0%,rgba(88,217,255,.13),transparent 32%),radial-gradient(circle at 82% 8%,rgba(255,138,50,.16),transparent 27%),linear-gradient(180deg,#090d17 0%,#0b1120 52%,#080b13 100%);min-height:100dvh;overflow-x:hidden}
button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}.noise{position:fixed;inset:0;pointer-events:none;opacity:.18;background-image:repeating-linear-gradient(0deg,transparent 0 3px,rgba(255,255,255,.015) 3px 4px);z-index:100}.game-shell{width:min(1240px,calc(100% - 28px));margin:0 auto}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font-family:'Archivo Black',Inter,sans-serif;letter-spacing:.04em;font-size:18px}.brand span{font-family:Inter,sans-serif;font-size:10px;color:var(--yellow);background:rgba(255,212,59,.1);border:1px solid rgba(255,212,59,.25);padding:6px 8px;border-radius:999px;margin-left:8px;vertical-align:2px}.top-actions{display:flex;gap:8px}.icon-btn{appearance:none;border:1px solid #33425a;background:#101827;color:#dce6f4;border-radius:12px;padding:10px 12px;font-weight:800;font-size:11px;cursor:pointer;text-decoration:none}.icon-btn:hover{border-color:#5c769a}.hero{min-height:calc(100dvh - 104px);display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:32px;padding:26px 0 70px}.eyebrow,.section-head span,.boss-title span,.stat-label,.event-modal>span,.result-card>div>span{font-size:11px;letter-spacing:.13em;font-weight:900;color:var(--cyan)}.hero h1{font-family:'Archivo Black',Inter,sans-serif;font-size:clamp(44px,6.2vw,84px);line-height:.92;letter-spacing:-.055em;margin:16px 0 22px;text-transform:uppercase}.hero h1 span{display:inline-block;color:var(--yellow);text-shadow:0 4px 0 #8a5416}.hero p{font-size:clamp(16px,1.6vw,20px);line-height:1.55;color:#c5d0df;max-width:700px}.intro-badges{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.intro-badges span{font-size:10px;font-weight:900;border:1px solid #33435c;color:#b9c7da;background:#0d1421;padding:8px 10px;border-radius:10px}.primary,.secondary{border:0;border-radius:14px;padding:14px 18px;font-weight:900;cursor:pointer;transition:.18s transform,.18s filter,.18s box-shadow}.primary{background:linear-gradient(180deg,#ffdf54,#ffad2f);color:#201309;box-shadow:0 10px 30px rgba(255,171,45,.2),inset 0 -3px 0 rgba(125,59,0,.2)}.primary:hover,.secondary:hover{transform:translateY(-2px);filter:brightness(1.05)}.primary:active,.secondary:active{transform:translateY(0)}.primary.big{font-size:16px;padding:18px 24px}.secondary{background:#1b2940;border:1px solid #37506f;color:#eef5ff}.hero-art{position:relative;min-height:600px;display:grid;place-items:center}.hero-art:before{content:"";position:absolute;width:86%;height:78%;border-radius:45% 55% 60% 40%;background:radial-gradient(circle at 50% 45%,rgba(88,217,255,.26),rgba(158,107,255,.11) 55%,transparent 72%);filter:blur(4px)}.hero-art img{position:relative;width:min(620px,100%);max-height:650px;object-fit:contain;filter:drop-shadow(0 30px 34px rgba(0,0,0,.42));animation:float 5s ease-in-out infinite}.postit{position:absolute;background:#ffe66d;color:#29220e;padding:13px 16px;font-weight:900;font-size:12px;line-height:1.18;transform:rotate(-5deg);box-shadow:0 12px 30px rgba(0,0,0,.25);border:1px solid rgba(89,67,0,.25)}.p1{left:3%;top:24%;transform:rotate(-8deg)}.p2{right:2%;bottom:24%;background:#ff9a76;transform:rotate(8deg)}@keyframes float{50%{transform:translateY(-10px) rotate(-.4deg)}}
.hidden{display:none!important}.game-panel{padding:10px 0 40px}.stats-grid{display:grid;grid-template-columns:1fr 1fr 1.35fr 1.35fr;gap:12px}.stat-card{background:linear-gradient(180deg,#151f31,#0e1623);border:1px solid #26364c;border-radius:18px;padding:16px;box-shadow:0 10px 34px rgba(0,0,0,.16);min-width:0}.stat-card strong{display:block;font-family:'Archivo Black',Inter,sans-serif;font-size:27px;margin:5px 0}.stat-card small{display:block;color:#7f90a7;font-size:11px;line-height:1.4}.stat-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.stat-row strong{font-size:18px;margin:0}.score-card strong{color:var(--yellow)}.meter{height:10px;background:#06090e;border:1px solid #26354a;border-radius:999px;overflow:hidden;margin:12px 0 9px}.meter i{display:block;width:15%;height:100%;background:linear-gradient(90deg,var(--green),var(--yellow),var(--red));border-radius:inherit;transition:width .35s}.meter.cover i{width:45%;background:linear-gradient(90deg,var(--red),var(--yellow),var(--green))}.main-grid{display:grid;grid-template-columns:1.55fr .65fr;gap:14px;margin-top:14px}.office-card,.boss-zone,.choice-section,.event-log-card{border:1px solid #26364c;background:linear-gradient(180deg,rgba(19,29,46,.96),rgba(12,19,31,.96));border-radius:22px;box-shadow:var(--shadow)}.office-scene{position:relative;min-height:430px;overflow:hidden;border-radius:22px 22px 0 0;background:linear-gradient(180deg,#23395b 0 50%,#111827 50% 100%)}.office-scene:before{content:"";position:absolute;left:0;right:0;top:48%;height:14px;background:#6a4430;box-shadow:0 18px 0 #3e2b24}.office-scene:after{content:"";position:absolute;left:10%;right:10%;bottom:0;height:25%;background:linear-gradient(180deg,#261c1a,#13131a);clip-path:polygon(0 35%,100% 0,100% 100%,0 100%)}.worker{position:absolute;left:2%;bottom:-7%;width:58%;height:93%;object-fit:contain;z-index:4;filter:drop-shadow(0 15px 20px rgba(0,0,0,.45));pointer-events:none}.monitor{position:absolute;z-index:3;background:#0c1420;border:10px solid #303b48;border-radius:12px;color:#a9f4c8;padding:11px;box-shadow:0 8px 30px rgba(0,0,0,.35);display:flex;flex-direction:column;gap:5px;transform:perspective(500px) rotateY(-5deg)}.monitor span{font-size:10px;color:#7f91a9}.monitor b{font-size:13px}.monitor-a{width:32%;height:27%;right:32%;top:16%;background:repeating-linear-gradient(0deg,#ebf5ee 0 20px,#cce4d2 20px 21px),repeating-linear-gradient(90deg,transparent 0 45px,#a9c9b2 45px 46px);color:#13663b}.monitor-b{width:27%;height:25%;right:4%;top:20%;background:#1f3b73;color:#f1f5ff}.status-chip{position:absolute;z-index:6;right:4%;bottom:8%;padding:11px 14px;border-radius:12px;background:#0eaf67;color:white;font-size:12px;font-weight:900;box-shadow:0 9px 24px rgba(14,175,103,.25)}.status-chip.danger{background:#d93d4d}.mouse-reminder{position:absolute;z-index:6;left:4%;top:5%;font-size:10px;font-weight:900;background:rgba(6,10,16,.72);border:1px solid #2d3b4e;padding:8px 10px;border-radius:9px;color:#9fb0c4}.current-action{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:15px 17px;border-top:1px solid #2b3a50}.current-action span{font-size:9px;color:#6f8199;font-weight:900;letter-spacing:.1em}.current-action strong{display:block;margin-top:4px;font-size:14px}.mini-score{min-width:72px;text-align:right}.mini-score strong{color:var(--yellow);font-family:'Archivo Black',Inter,sans-serif}.boss-zone{padding:16px;overflow:hidden}.boss-title{display:flex;flex-direction:column;gap:5px}.boss-title strong{font-family:'Archivo Black',Inter,sans-serif;font-size:20px}.boss-visual{position:relative;min-height:330px;display:grid;place-items:center}.boss-visual:before{content:"";position:absolute;width:88%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,212,59,.18),transparent 67%)}.boss-visual img{width:93%;height:320px;object-fit:contain;position:relative;filter:drop-shadow(0 20px 26px rgba(0,0,0,.38))}.boss-bubble{position:absolute;top:8px;right:0;max-width:145px;background:white;color:#141619;font-weight:800;font-size:10px;padding:10px 11px;border-radius:14px 14px 14px 3px;transform:rotate(2deg)}.boss-timer{font-size:11px;color:#9cafc5;text-align:center;border:1px dashed #344963;border-radius:10px;padding:9px}.strike-row{display:flex;align-items:center;justify-content:space-between;margin-top:13px;font-size:11px;font-weight:800;color:#94a5b9}.strike-row div{display:flex;gap:7px}.strike-row i{width:20px;height:20px;border-radius:50%;background:#192536;border:1px solid #344a67}.strike-row i.on{background:var(--red);box-shadow:0 0 18px rgba(255,65,89,.5)}.choice-section,.event-log-card{padding:18px;margin-top:14px}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.section-head h2{font-family:'Archivo Black',Inter,sans-serif;margin:5px 0 0;font-size:clamp(22px,3vw,34px);letter-spacing:-.035em}.section-head.compact h2{font-size:20px}.activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.activity-card{position:relative;overflow:hidden;text-align:left;border:1px solid #31455f;background:linear-gradient(180deg,#17243a,#111b2b);border-radius:18px;padding:14px;color:var(--text);cursor:pointer;min-height:205px;transition:.18s transform,.18s border-color,.18s background;user-select:none;-webkit-user-select:none}.activity-card:hover{transform:translateY(-4px);border-color:#4e729d;background:linear-gradient(180deg,#1c2c47,#121f33)}.activity-top{display:flex;gap:12px;align-items:center}.activity-top img{width:78px;height:78px;object-fit:contain;flex:0 0 78px;filter:drop-shadow(0 8px 8px rgba(0,0,0,.2))}.activity-card h3{font-size:15px;margin:0 0 5px;line-height:1.15}.activity-card p{font-size:11px;line-height:1.45;color:#9caec3;margin:0}.activity-metrics{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin-top:13px}.activity-metrics div{border:1px solid #2a3b52;background:#0c1421;border-radius:9px;padding:8px 7px}.activity-metrics span{display:block;color:#70839b;font-size:8px;font-weight:900;text-transform:uppercase}.activity-metrics strong{display:block;font-size:11px;margin-top:3px}.safe{color:var(--green)}.risky{color:var(--red)}.fuffy{color:var(--yellow)}.event-log{display:flex;gap:8px;overflow:auto;padding:13px 2px 3px;scrollbar-width:thin}.log-item{min-width:260px;max-width:320px;border:1px solid #27394f;background:#0d1522;border-radius:12px;padding:11px}.log-item time{font-size:9px;color:#5f738c}.log-item b{display:block;font-size:11px;margin:4px 0;color:#dce6f4}.log-item p{font-size:10px;color:#8294aa;margin:0;line-height:1.35}.log-item.good{border-color:rgba(62,230,138,.35)}.log-item.bad{border-color:rgba(255,65,89,.38)}
.overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(3,5,8,.82);backdrop-filter:blur(12px)}.boss-alert-card,.result-card{width:min(960px,100%);max-height:92dvh;overflow:auto;border:1px solid #4a2f38;border-radius:24px;background:radial-gradient(circle at 15% 30%,rgba(255,80,64,.2),transparent 30%),linear-gradient(180deg,#1a1116,#100e14);box-shadow:0 30px 100px rgba(0,0,0,.6);display:grid;grid-template-columns:.85fr 1.15fr;position:relative}.alarm-strip{position:absolute;z-index:2;left:0;right:0;top:0;padding:10px;text-align:center;background:repeating-linear-gradient(-45deg,#ffb938 0 16px,#222 16px 32px);color:#111;font-size:11px;font-weight:1000;letter-spacing:.08em}.boss-alert-card>img{width:100%;height:100%;min-height:460px;object-fit:contain;padding:52px 10px 10px;filter:drop-shadow(0 20px 35px rgba(0,0,0,.45))}.boss-alert-copy{padding:72px 28px 28px}.boss-alert-copy>span{font-size:12px;font-weight:1000;letter-spacing:.13em;color:#ff6d68}.boss-alert-copy h2{font-family:'Archivo Black',Inter,sans-serif;font-size:clamp(28px,4vw,46px);line-height:1;margin:10px 0 13px}.boss-alert-copy p{color:#b6c1cf;font-size:13px;line-height:1.5}.countdown{display:flex;justify-content:space-between;align-items:center;border:1px solid #46343d;background:#110d12;border-radius:13px;padding:10px 14px;margin:14px 0}.countdown span{font-size:10px;font-weight:900;color:#8f9bae}.countdown strong{font-family:'Archivo Black',Inter,sans-serif;font-size:34px;color:var(--yellow)}.cover-choices{display:grid;gap:9px}.cover-choice{appearance:none;border:1px solid #3c485b;background:#171f2b;color:#f2f5f8;padding:12px;border-radius:13px;cursor:pointer;text-align:left;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.cover-choice:hover{border-color:#ffb13d}.cover-choice b{font-size:12px}.cover-choice small{display:block;color:#8493a7;margin-top:3px}.cover-choice em{font-style:normal;font-size:10px;background:#0a0f17;border-radius:9px;padding:7px;color:#ffd43b}.event-modal{width:min(540px,100%);position:relative;background:linear-gradient(180deg,#171f2f,#0e1521);border:1px solid #31445e;border-radius:22px;padding:28px;text-align:center;box-shadow:0 30px 100px rgba(0,0,0,.6)}.close-event{position:absolute;top:10px;right:12px;background:transparent;border:0;color:#8c9db2;font-size:26px;cursor:pointer}.event-icon{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:rgba(255,65,89,.12);border:1px solid rgba(255,65,89,.35);font-family:'Archivo Black',Inter,sans-serif;font-size:32px;color:var(--red)}.event-modal h2{font-family:'Archivo Black',Inter,sans-serif;font-size:28px;margin:7px 0}.event-modal p{color:#9fb0c4;font-size:13px;line-height:1.5}.event-delta{font-family:'Archivo Black',Inter,sans-serif;font-size:44px;color:var(--red);margin:10px 0 18px}.event-delta.good{color:var(--green)}.result-card{grid-template-columns:.8fr 1.2fr;background:linear-gradient(180deg,#161f2e,#0b111c);border-color:#34465d;padding:20px}.result-card>img{width:100%;height:480px;object-fit:contain;filter:drop-shadow(0 20px 30px rgba(0,0,0,.35))}.result-card>div{padding:24px}.result-card h2{font-family:'Archivo Black',Inter,sans-serif;font-size:clamp(28px,4vw,48px);line-height:1;margin:10px 0}.result-card p{color:#9eafc4;line-height:1.5;font-size:13px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0}.result-stats div{border:1px solid #2d3f56;background:#0d1521;border-radius:12px;padding:12px}.result-stats span{display:block;color:#6f829a;font-size:9px;text-transform:uppercase;font-weight:900}.result-stats strong{display:block;margin-top:4px;font-size:18px}.result-actions{display:flex;gap:8px;flex-wrap:wrap}footer{padding:18px 0 32px;color:#50647d;text-align:center;font-size:10px}
body.boss-mode{animation:redPulse .8s ease-in-out infinite alternate}@keyframes redPulse{to{box-shadow:inset 0 0 80px rgba(255,20,40,.18)}}
@media(max-width:980px){.hero{grid-template-columns:1fr;min-height:auto;padding-top:30px}.hero-copy{text-align:center}.hero p{margin-left:auto;margin-right:auto}.intro-badges{justify-content:center}.hero-art{min-height:460px}.postit{display:none}.stats-grid{grid-template-columns:1fr 1fr}.main-grid{grid-template-columns:1fr}.boss-zone{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center}.boss-visual{min-height:220px}.boss-visual img{height:215px}.boss-title,.boss-timer,.strike-row{grid-column:2}.boss-visual{grid-row:1/4;grid-column:1}.activity-grid{grid-template-columns:1fr 1fr}.boss-alert-card,.result-card{grid-template-columns:1fr}.boss-alert-card>img{height:280px;min-height:0}.boss-alert-copy{padding-top:20px}.result-card>img{height:280px}.result-card>div{padding:12px}}
@media(max-width:640px){.game-shell{width:min(100% - 16px,1240px)}.topbar{height:62px}.brand{font-size:14px}.brand span{display:none}.icon-btn{font-size:9px;padding:8px}.hero{padding-top:20px}.hero h1{font-size:clamp(39px,12vw,60px)}.hero p{font-size:14px}.hero-art{min-height:320px}.hero-art img{max-height:360px}.primary.big{width:100%}.stats-grid{grid-template-columns:1fr 1fr;gap:7px}.stat-card{padding:12px;border-radius:14px}.stat-card strong{font-size:21px}.stat-label{font-size:8px}.stat-card small{font-size:9px}.suspicion-card,.cover-card{grid-column:span 1}.main-grid{gap:8px;margin-top:8px}.office-scene{min-height:350px}.worker{width:72%;left:-5%}.monitor-a{right:24%;top:17%;width:39%}.monitor-b{width:33%;right:1%;top:20%}.status-chip{font-size:9px}.boss-zone{padding:12px}.choice-section,.event-log-card{padding:12px;margin-top:8px;border-radius:17px}.section-head{align-items:flex-end}.section-head h2{font-size:22px}.secondary{padding:11px 10px;font-size:10px}.activity-grid{grid-template-columns:1fr;gap:8px;margin-top:12px}.activity-card{min-height:0;padding:11px}.activity-top img{width:64px;height:64px;flex-basis:64px}.activity-card h3{font-size:14px}.activity-card p{font-size:10px}.activity-metrics{margin-top:8px}.boss-alert-card{border-radius:18px}.boss-alert-card>img{height:215px;padding-top:46px}.boss-alert-copy{padding:14px}.boss-alert-copy h2{font-size:28px}.cover-choice{padding:10px}.result-card{padding:10px}.result-stats{grid-template-columns:1fr}.result-actions>*{width:100%}.event-modal{padding:22px 15px}.event-modal h2{font-size:24px}}
@media(max-width:390px){.stats-grid{grid-template-columns:1fr}.suspicion-card,.cover-card{grid-column:auto}.office-scene{min-height:320px}.boss-zone{grid-template-columns:1fr}.boss-visual,.boss-title,.boss-timer,.strike-row{grid-column:1;grid-row:auto}.boss-visual{order:2}.boss-title{order:1}.boss-timer{order:3}.strike-row{order:4}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}


/* REWORKED DESKTOP LAYOUT: full interface visible without ugly empty areas */
@media (min-width:1100px){
  body.game-live{overflow:hidden}
  body.game-live footer{display:none}
  body.game-live .game-shell{
    width:min(1360px,calc(100% - 16px));
    height:100dvh;
    display:grid;
    grid-template-rows:56px minmax(0,1fr);
    margin:0 auto;
  }
  body.game-live .topbar{height:56px;gap:10px}
  body.game-live .brand{font-size:16px}
  body.game-live .brand span{font-size:9px;padding:5px 8px}
  body.game-live .icon-btn{padding:8px 10px;font-size:10px;border-radius:10px}

  body.game-live .game-panel{
    display:grid !important;
    grid-template-columns:minmax(0,1.55fr) minmax(280px,.72fr);
    grid-template-rows:auto minmax(270px,1fr) minmax(215px,.82fr);
    gap:10px;
    padding:0 0 8px;
    height:calc(100dvh - 64px);
    overflow:hidden;
    transform:none !important;
    width:auto !important;
    margin:0 !important;
  }

  body.game-live .stats-grid{
    grid-column:1 / -1;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
  }
  body.game-live .stat-card{padding:10px 12px;border-radius:15px}
  body.game-live .stat-card strong{font-size:20px;margin:3px 0}
  body.game-live .stat-row strong{font-size:15px}
  body.game-live .stat-label{font-size:9px}
  body.game-live .stat-card small{font-size:9px;line-height:1.25}
  body.game-live .meter{height:8px;margin:8px 0 7px}

  body.game-live .main-grid{
    grid-column:1 / -1;
    grid-template-columns:minmax(0,1.55fr) minmax(280px,.72fr);
    gap:10px;
    margin-top:0;
    min-height:0;
  }

  body.game-live .office-card,
  body.game-live .boss-zone,
  body.game-live .choice-section,
  body.game-live .event-log-card{
    min-height:0;
    display:flex;
    flex-direction:column;
    border-radius:18px;
    box-shadow:0 16px 38px rgba(0,0,0,.22);
  }

  body.game-live .office-scene{
    min-height:0;
    height:235px;
    flex:0 0 235px;
    border-radius:18px 18px 0 0;
  }
  body.game-live .office-scene:before{top:46%;height:10px;box-shadow:0 14px 0 #3e2b24}
  body.game-live .office-scene:after{height:22%}
  body.game-live .worker{width:40%;height:76%;left:0.5%;bottom:-10%}
  body.game-live .monitor{padding:7px;border-width:8px}
  body.game-live .monitor span{font-size:9px}
  body.game-live .monitor b{font-size:11px}
  body.game-live .monitor-a{width:31%;height:23%;right:31%;top:12%}
  body.game-live .monitor-b{width:25%;height:24%;right:3%;top:15%}
  body.game-live .status-chip{right:4%;bottom:6%;padding:8px 10px;font-size:10px}
  body.game-live .mouse-reminder{left:3%;top:4%;padding:6px 8px;font-size:9px}
  body.game-live .current-action{padding:10px 12px;gap:12px}
  body.game-live .current-action span{font-size:8px}
  body.game-live .current-action strong{font-size:12px;margin-top:3px}
  body.game-live .mini-score{min-width:58px}

  body.game-live .boss-zone{padding:10px}
  body.game-live .boss-title span{font-size:9px}
  body.game-live .boss-title strong{font-size:18px;line-height:1}
  body.game-live .boss-visual{min-height:0;flex:1}
  body.game-live .boss-visual img{width:88%;height:170px}
  body.game-live .boss-bubble{max-width:110px;font-size:8px;padding:7px 8px;top:4px}
  body.game-live .boss-timer{font-size:9px;padding:7px;border-radius:9px}
  body.game-live .strike-row{margin-top:8px;font-size:10px}
  body.game-live .strike-row i{width:18px;height:18px}

  body.game-live .choice-section{grid-column:1;grid-row:3;margin-top:0;padding:12px}
  body.game-live .event-log-card{grid-column:2;grid-row:3;margin-top:0;padding:12px}
  body.game-live .section-head{align-items:flex-end;gap:10px}
  body.game-live .section-head h2{font-size:19px;line-height:1.05;margin-top:4px}
  body.game-live .section-head span{font-size:9px}
  body.game-live .secondary{padding:8px 10px;font-size:9px;border-radius:10px}

  body.game-live .activity-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    margin-top:10px;
    min-height:0;
    flex:1;
  }
  body.game-live .activity-card{min-height:122px;padding:8px 9px;border-radius:14px}
  body.game-live .activity-top{gap:8px;align-items:flex-start}
  body.game-live .activity-top img{width:42px;height:42px;flex:0 0 42px}
  body.game-live .activity-card h3{font-size:11px;line-height:1.08}
  body.game-live .activity-card p{font-size:8.5px;line-height:1.16}
  body.game-live .activity-metrics{gap:4px;margin-top:7px}
  body.game-live .activity-metrics div{padding:5px 4px;border-radius:8px}
  body.game-live .activity-metrics span{font-size:7px}
  body.game-live .activity-metrics strong{font-size:8px;margin-top:2px}

  body.game-live .event-log{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    overflow:auto;
    padding:8px 0 2px;
    min-height:0;
    flex:1;
  }
  body.game-live .log-item{min-width:0;max-width:none;padding:8px;border-radius:10px}
  body.game-live .log-item time{font-size:8px}
  body.game-live .log-item b{font-size:10px;margin:2px 0}
  body.game-live .log-item p{font-size:8px;line-height:1.2}
}

@media (min-width:1100px) and (max-height:820px){
  body.game-live .game-shell{grid-template-rows:52px minmax(0,1fr)}
  body.game-live .topbar{height:52px}
  body.game-live .brand{font-size:14px}
  body.game-live .icon-btn{padding:7px 9px;font-size:9px}
  body.game-live .game-panel{
    grid-template-columns:minmax(0,1.58fr) minmax(250px,.66fr);
    grid-template-rows:auto minmax(238px,1fr) minmax(195px,.8fr);
    gap:8px;
    height:calc(100dvh - 58px);
  }
  body.game-live .stats-grid{gap:6px}
  body.game-live .stat-card{padding:8px 10px}
  body.game-live .stat-card strong{font-size:17px}
  body.game-live .stat-row strong{font-size:13px}
  body.game-live .stat-card small{font-size:8px}
  body.game-live .main-grid{grid-template-columns:minmax(0,1.58fr) minmax(250px,.66fr);gap:8px}
  body.game-live .office-scene{height:205px;flex-basis:205px}
  body.game-live .worker{width:36%;height:71%}
  body.game-live .monitor-a{width:28%;height:20%;top:10%}
  body.game-live .monitor-b{width:22%;height:21%;top:13%}
  body.game-live .boss-zone{padding:8px}
  body.game-live .boss-visual img{height:145px}
  body.game-live .boss-title strong{font-size:16px}
  body.game-live .choice-section,body.game-live .event-log-card{padding:10px}
  body.game-live .section-head h2{font-size:16px}
  body.game-live .activity-grid{gap:6px;margin-top:8px}
  body.game-live .activity-card{min-height:110px;padding:7px 8px}
  body.game-live .activity-top img{width:36px;height:36px;flex-basis:36px}
  body.game-live .activity-card h3{font-size:10px}
  body.game-live .activity-card p{font-size:8px}
  body.game-live .activity-metrics strong{font-size:7.5px}
  body.game-live .log-item p{font-size:7.5px}
}
