:root{--omnavy:#0c1e38;--omblue:#1578d4;--omgold:#f8cb4b;--omline:#d9e3ec}
body:has(.omok-shell){background:#09182c!important;color:#edf5ff!important}
body:has(.omok-shell) .fz-nav,body:has(.omok-shell) footer{display:none!important}
body:has(.omok-shell) .fz-main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.omok-shell{min-height:100dvh;background:radial-gradient(circle at 65% 0%,#1a4370,#0a1a2f 60%);color:#ecf4ff;font-family:system-ui,-apple-system,'Noto Sans KR',sans-serif;padding:clamp(12px,3vw,30px);box-sizing:border-box}
.omok-shell *{box-sizing:border-box}.omok-shell a{color:#aedcff}.omok-shell button,.omok-shell input,.omok-shell select{font:inherit}.omok-shell button{cursor:pointer}
.omok-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:20px;gap:10px}.omok-top strong{font-size:22px;letter-spacing:1px}.omok-top strong span{color:var(--omgold)}.omok-top a{border:1px solid #456078;padding:10px 15px;border-radius:11px;text-decoration:none;white-space:nowrap}
.omok-home{max-width:none}.omok-home>.omok-panel,.omok-home>.omok-hero{max-width:750px;margin:0 auto 16px}.omok-hero{padding:38px 4px 25px}.omok-hero h1{font-size:clamp(35px,6vw,55px);margin:10px 0}.omok-hero p{max-width:560px;color:#bfd2e7;line-height:1.7}.omok-eyebrow{font-size:12px;letter-spacing:2px;color:var(--omgold);font-weight:750}
.omok-panel{border:1px solid rgba(163,201,241,.19);border-radius:20px;background:rgba(10,31,55,.82);padding:20px;box-shadow:0 15px 30px rgba(0,0,0,.12);margin-bottom:15px}.omok-panel h2{font-size:18px;margin:0 0 15px}.omok-panel p{line-height:1.6;color:#bed0e1}.omok-panel>a{display:block;margin-top:10px}
.omok-form{display:grid;gap:15px}.omok-form label{font-weight:700;display:grid;gap:6px}.omok-form input,.omok-form select,.omok-actions input{width:100%;background:#f9fcff;color:#162638;border:1px solid #bdcce0;padding:13px;border-radius:11px;min-height:46px}
.omok-form label[hidden]{display:none}.omok-btn{appearance:none;background:linear-gradient(110deg,#1d91f6,#0864b7);border:0;border-radius:11px;min-height:45px;padding:12px 15px;color:#fff!important;font-weight:750;text-decoration:none;text-align:center}.omok-btn:hover{filter:brightness(1.1)}.omok-btn:disabled{opacity:.35;cursor:not-allowed}.omok-secondary{background:#344c67}.omok-danger{background:#913849}.omok-room-link{display:flex!important;justify-content:space-between;gap:8px;background:#17344f;border-radius:12px;padding:13px;text-decoration:none;flex-wrap:wrap}.omok-room-link+ .omok-room-link{margin-top:8px}.omok-room-link span{color:#abc1d8}
.omok-head{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:18px}.omok-head h1{margin:7px 0;font-size:clamp(24px,4vw,32px)}.omok-pill{padding:9px 14px;border-radius:999px;background:#173e65;border:1px solid #35699b;color:#dcefff}
.omok-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start;max-width:1260px;margin:auto}.omok-stage{min-width:0;border:1px solid #476988;border-radius:20px;padding:clamp(9px,2vw,18px);background:#18314c}.omok-playerbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px;font-size:14px;flex-wrap:wrap}.omok-playerbar strong{color:#ffdc66}
.omok-board-wrap{width:min(100%,min(78dvh,710px));margin:auto;aspect-ratio:1/1;border:9px solid #b88a4f;border-radius:10px;background:#dcb579;box-shadow:0 9px 25px #06142675;overflow:hidden;touch-action:manipulation}
.omok-board{width:100%;height:100%;display:grid;grid-template-columns:repeat(15,minmax(0,1fr));grid-template-rows:repeat(15,minmax(0,1fr));background:#e3ba7e;position:relative}.omok-cell{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;position:relative;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;touch-action:manipulation}.omok-cell::before,.omok-cell::after{content:'';position:absolute;background:#88613d;pointer-events:none}.omok-cell::before{height:1px;left:0;right:0;top:50%}.omok-cell::after{width:1px;top:0;bottom:0;left:50%}.omok-cell:disabled{cursor:default}.omok-cell:not(:disabled):hover{background:#ffffff25!important}.omok-stone{position:relative;z-index:2;width:85%;height:85%;border-radius:50%;box-shadow:1px 2px 3px #33291c75}.omok-cell.black .omok-stone{background:radial-gradient(circle at 30% 25%,#525d66,#05080c 76%)}.omok-cell.white .omok-stone{background:radial-gradient(circle at 30% 25%,#fff,#dae4e8 70%);border:1px solid #94a7aa}.omok-help{color:#d3e2f3;text-align:center;margin:15px 0 2px;font-weight:600}
.omok-person{display:flex;justify-content:space-between;gap:8px;padding:12px 4px;border-bottom:1px solid #38516c;align-items:center}.omok-person span{color:#a5bdd2;font-size:13px}.omok-meta{font-size:13px}.omok-actions{display:grid;gap:9px;margin-top:16px}.omok-alert{background:#432a36;border:1px solid #b76e7f;padding:12px;border-radius:12px;color:#ffe4e6;margin:0 0 16px}
@media(max-width:850px){.omok-columns{grid-template-columns:1fr}.omok-side{display:grid;grid-template-columns:1fr;gap:12px}.omok-board-wrap{width:min(100%,min(75dvh,650px))}.omok-stage{padding:10px}}
@media(max-width:480px){.omok-shell{padding:10px}.omok-board-wrap{width:100%;border-width:5px}.omok-head{margin-bottom:10px}.omok-panel{padding:15px}.omok-playerbar{font-size:12px}.omok-top{padding-bottom:10px}.omok-head h1{font-size:23px}}
