/* KOSMORIO Signal Arena v17 — human-scale 3D visual system across the game. */
.kss15 .kss20-vista{position:relative;display:block;overflow:hidden;border-radius:14px;isolation:isolate;border:1px solid #526f81;background:linear-gradient(155deg,#283e49,#071627);min-height:210px}
.kss15 .kss20-vista canvas{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;touch-action:none}
.kss15 #kss20-home-vista{height:min(340px,29vw);min-height:230px;padding:0;box-shadow:0 20px 38px rgba(0,0,0,.20)}
.kss15 .kss20-overlay-heading,.kss15 .kss20-overlay-bottom{pointer-events:none;position:absolute;z-index:3;left:15px;right:12px;display:block;text-shadow:0 2px 6px #06101f;font-size:10px;line-height:1.45;letter-spacing:.12em;font-weight:800;color:#ffe1a5;background:linear-gradient(90deg,rgba(8,23,39,.76),transparent);padding:8px 11px;border-radius:5px}
.kss15 .kss20-overlay-heading{top:12px}.kss15 .kss20-overlay-bottom{bottom:12px;color:#d3e4eb;letter-spacing:.03em}
.kss15 .kss20-secondary-vista{height:228px;min-height:228px;margin-bottom:19px}
.kss15 .kss20-ranking-vista{height:165px;min-height:165px;margin-bottom:16px}
.kss15 .kss20-world-stage{height:auto;width:100%;aspect-ratio:16/9;min-height:260px;max-height:720px;position:relative;border:1px solid #687e89;border-radius:14px;overflow:hidden;background:linear-gradient(120deg,#20323e,#0e1926)}
.kss15 .kss20-world-stage canvas{position:relative;width:100%;height:100%;display:block;touch-action:none}
.kss15 .kss20-world-hud{pointer-events:none;position:absolute;top:14px;left:15px;right:15px;display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:10px;font-size:12px;letter-spacing:.04em;color:#e8f3f5;text-shadow:0 2px 5px #081324}
.kss15 .kss20-world-hud span,.kss15 .kss20-world-hud strong{background:rgba(9,22,34,.72);border:1px solid rgba(178,207,219,.3);padding:8px 12px;border-radius:7px}
.kss15 .kss20-world-hud strong{color:#f6cc8b}
.kss15 .kss20-world-credit{position:absolute;bottom:13px;left:14px;right:14px;text-align:right;color:#e5e8e9;font-size:9px;font-weight:800;letter-spacing:.09em;text-shadow:0 2px 7px #07111e;pointer-events:none}
.kss15 .kss20-disclosure{font-size:13px;line-height:1.65;color:#ccd5d9;max-width:880px;margin:0 0 17px}
.kss15 .kss20-world-controls{display:flex;flex-wrap:wrap;align-items:center;gap:22px;background:#142539;border:1px solid #3a5b68;padding:15px 19px;border-radius:13px;margin:15px 0}
.kss15 .kss20-move-pad{display:grid;justify-items:center;gap:5px;flex:0 0 auto}
.kss15 .kss20-move-pad>div{display:flex;gap:5px}
.kss15 .kss20-move-pad button{background:#284358;border:1px solid #688397;border-radius:8px;min-width:48px;min-height:46px;color:#e9f4f9;font-size:20px;font-weight:800;touch-action:none;user-select:none}
.kss15 .kss20-move-pad button:focus-visible,.kss15 .kss20-quick-actions button:focus-visible{outline:3px solid #e8c081;outline-offset:2px}
.kss15 .kss20-move-pad button:hover{background:#395b72}
.kss15 .kss20-quick-actions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;flex:1}
.kss15 .kss20-quick-actions .kss15-btn{min-height:43px}
.kss15 .kss20-world-panels{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:17px}
.kss15 .kss20-world-log{font-size:12px;color:#e6d29e;line-height:1.65;border-left:3px solid #d7ad6b;padding:10px 14px;background:#122939;margin:14px 0;border-radius:0 8px 8px 0;min-height:59px}
.kss15 .kss20-avatar-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}
.kss15 .kss20-avatar-fields label{font-size:12px;color:#d9e3e7;margin:10px 0 2px}
.kss15 .kss20-avatar-fields select{grid-row:auto;min-width:0;margin-bottom:3px}
.kss15 .kss20-small{font-size:11px;color:#a8b8c7;line-height:1.6}
.kss15 .kss20-world .kss15-status{display:inline-flex;align-items:center}
.kss15 [data-screen='home'] .kss15-hero{align-items:center}
@media(max-width:900px){.kss15 #kss20-home-vista{height:270px;min-height:220px}.kss15 .kss20-world-panels{grid-template-columns:1fr}.kss15 .kss20-world-stage{min-height:230px}}
@media(max-width:580px){.kss15 #kss20-home-vista{height:220px;min-height:220px}.kss15 .kss20-world-stage{aspect-ratio:4/3;min-height:250px}.kss15 .kss20-world-hud{font-size:9px;gap:4px;top:9px;left:8px;right:8px}.kss15 .kss20-world-credit{font-size:8px}.kss15 .kss20-world-controls{padding:12px;gap:12px;justify-content:center}.kss15 .kss20-quick-actions{justify-content:center}.kss15 .kss20-quick-actions button{flex:1 1 44%;font-size:11px}.kss15 .kss20-avatar-fields{grid-template-columns:1fr}.kss15 .kss20-overlay-heading{font-size:9px}.kss15 .kss20-secondary-vista{height:175px;min-height:175px}}
@media(prefers-reduced-motion:reduce){.kss15 .kss20-vista *{animation:none!important;transition:none!important}}
/* WordPress theme contrast repair: the host theme must not override the game hero heading. */
.kss15 .kss15-hero h1{color:#f2f6fc!important;text-shadow:0 2px 13px rgba(5,12,23,.25)}
.kss15 .kss15-hero h1 em{color:#e5b45f!important}
.kss15 .kss20-world-log{color:#f0dfb7}
