/* 코인랜드 타운 v5 — 오를지도 다크 테마 위 코인랜드 브랜드 보정 */
body.dark .logo{gap:8px}body.dark .logo .tw{font-size:10.5px;font-weight:900;letter-spacing:.14em;background:#22d17a;color:#04120a;border-radius:6px;padding:3px 6px;margin-left:4px}
.menu .mi.cl{background:linear-gradient(180deg,#2a2108,#1a1404);border-color:#6b4f0a;color:#FFC21A}
.menu .mi.cl em{font-style:normal;font-family:var(--mono);background:#FFC21A;color:#1a1300;border-radius:6px;padding:1px 6px;margin-left:4px;font-size:11px}
.brand2 .prof{background:#171f30!important;padding:4px}.brand2 .prof svg{width:100%;height:100%}
#species{display:grid!important;grid-template-columns:repeat(4,1fr);gap:6px}
#species button{display:flex;flex-direction:column;align-items:center;gap:1px;padding:6px 4px 8px!important;border-radius:12px!important}
#species button .cc{width:44px;height:58px;display:block}#species button .cc svg{width:100%;height:100%}
#species button b{font-size:12.5px}#species button small{font-size:10.5px;opacity:.7;white-space:nowrap}
.clm{display:grid;gap:8px;margin:12px 0}
.clm>div{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;background:#0b0f17;border:1px solid #1f2838;border-radius:14px;padding:8px 12px}
.clm>div.ok{border-color:#22d17a}.clm .cc{width:38px;height:50px}.clm .cc svg{width:100%;height:100%}
.clm b{display:block;color:#fff;font-size:14px}.clm small{color:#9aa3b8;font-size:12px}
.clm button{padding:9px 12px!important;font-size:13px!important;border-radius:10px!important;white-space:nowrap}
.clm em.got{font-style:normal;font-weight:900;color:#22d17a;font-size:13px}
body.embed #hint{display:none}
#bSite{white-space:nowrap}
.row2 button,.kkbtn2{white-space:nowrap}.back{white-space:nowrap}.mbox .row2{flex-wrap:wrap}
.rank em,.rank span{white-space:nowrap}.chathead .kind{white-space:nowrap;font-size:11px}

/* 상단 메뉴: 메인 3 + 보조 3 */
body.dark #top .menu{gap:10px;overflow:visible}
.menu .mg{display:flex;gap:4px;align-items:center}
.menu .mg.sub{padding-left:10px;border-left:1px solid #26324c}
.menu .mg.main .mi{font-size:13.5px;padding:8px 12px}
.menu .mg.sub .mi{font-size:12.5px;color:#9aa3b8;padding:7px 9px}
.menu .mg.sub .mi:hover{color:#fff}
.menu .mi.stamp{background:#0f2a1c;border-color:#1c6b40;color:#7ee2a8}
body.dark #top .right .btn{font-size:12.5px}
@media (max-width:1280px){.menu .mg.sub .mi{padding:7px 6px}#bSound{display:none}}
@media (max-width:1100px){.menu .mg.sub{display:none}}
/* 정보방 모달: 방 1개 */
.kkrooms{grid-template-columns:1fr!important;max-width:460px;margin:0 auto}

/* 임베드(≈1230px)에서도 한 줄에 맞춤 */
@media (max-width:1360px){body.dark #meChip{display:none!important}#bSound{display:none}body.dark #top{gap:8px;padding:0 10px}.menu .mg.main .mi{padding:8px 10px}body.dark #top .right .btn{padding:6px 9px}}
@media (max-width:1180px){#bSite{display:none}}

/* 캔들 프렌즈 선택 상태 (다크 테마 !important 덮어쓰기) */
body.dark #species button{background:#111725!important;border:2px solid #26324c!important;color:#e9ecf3!important;cursor:pointer;transition:transform .12s}
body.dark #species button:hover{border-color:#4b5b7a!important;transform:translateY(-2px)}
body.dark #species button.on{background:#0f3b26!important;border-color:#22d17a!important;color:#fff!important;box-shadow:0 0 0 3px rgba(34,209,122,.25);position:relative}
body.dark #species button.on::after{content:"✓ 선택";position:absolute;top:-9px;right:-6px;background:#22d17a;color:#04120a;font-size:10.5px;font-weight:900;border-radius:999px;padding:2px 7px}
body.dark #species button.on b{color:#22d17a}
body.dark #species button.on .cc{animation:pick .5s steps(3)}@keyframes pick{50%{transform:translateY(-6px)}}

/* 코인랜드로 돌아가기 */
.site-pill{flex:none;display:flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:10px;background:#fff;color:#111318;border:0;font-weight:800;font-size:13px;white-space:nowrap;cursor:pointer}.site-pill i{font-style:normal;color:#3B2BFF;font-weight:900}
.site-pill:hover{background:#EEF0FF}

#clQuick{position:fixed;right:14px;bottom:46px;z-index:6;display:flex;align-items:center;gap:4px;background:rgba(17,23,37,.94);border:1px solid #26324c;border-radius:999px;padding:5px 6px 5px 14px;box-shadow:0 10px 30px rgba(0,0,0,.4)}
#clQuick span{font-size:11.5px;font-weight:900;color:#22d17a;margin-right:4px;white-space:nowrap}
#clQuick button{height:30px;padding:0 11px;border-radius:999px;border:0;background:#171f30;color:#e9ecf3;font-weight:800;font-size:12.5px;cursor:pointer;white-space:nowrap}#clQuick button:hover{background:#22d17a;color:#04120a}
@media (max-width:1180px){#clQuick{display:none}}
/* 인증샷 모달 */
.shk{display:flex;gap:6px;margin:6px 0 12px}.shk button{height:38px;padding:0 14px;border-radius:999px;border:1px solid #26324c;background:#0b0f17;color:#c9d0de;font-weight:800;font-size:13.5px;cursor:pointer;white-space:nowrap}.shk button.on{background:#22d17a;color:#04120a;border-color:#22d17a}
.shw{display:grid;grid-template-columns:minmax(0,340px) 1fr;gap:20px;align-items:start}
.shw canvas{width:100%;height:auto;border-radius:16px;display:block;box-shadow:0 20px 40px rgba(0,0,0,.45)}
.shs{display:flex;flex-direction:column;gap:8px}.shs select{height:42px;border-radius:10px;border:1px solid #26324c;background:#0b0f17;color:#fff;padding:0 10px;font-weight:700}
.shl{font-size:12px;font-weight:800;color:#9aa3b8;margin-top:4px}.shn,.shp{font-size:13px;color:#b6bfd1;line-height:1.55;margin:0}.shn b,.shp b{color:#FFC21A}
.shf{font-size:12px;color:#9aa3b8;margin:6px 0 0}.shf b{color:#fff}
.seg2{display:flex;border:1px solid #26324c;border-radius:10px;overflow:hidden}.seg2 button{flex:1;height:36px;border:0;background:#0b0f17;color:#c9d0de;font-weight:800;cursor:pointer}.seg2 button.on{background:#22d17a;color:#04120a}
.shs .pri,.shs .sec{height:46px;border-radius:12px;font-weight:900}
.chk2{display:flex;gap:8px;align-items:center;font-size:13px;color:#c9d0de;font-weight:700}
@media (max-width:760px){.shw{grid-template-columns:1fr}}

/* 헤더: 좌 플랫폼명 · 중 메뉴(늘어남) · 우 정보방 + 메인 바로가기 */
body.dark #clLogo{display:flex!important;align-items:center;gap:8px;flex:none;padding-right:12px;margin-right:2px;border-right:1px solid #26324c}
body.dark #clLogo .ln{display:flex;flex-direction:column;line-height:1}
body.dark #clLogo .ln b{font-size:18px;font-weight:900;color:#fff;letter-spacing:-.04em}
body.dark #clLogo .ln em{font-style:normal;font-size:10px;font-weight:900;letter-spacing:.32em;color:#22d17a;margin-top:3px}
body.dark #top .menu{flex:1;justify-content:space-between}
body.dark #top .menu .mg.main{flex:1}
body.dark #top .menu .mg.main .mi{flex:1;justify-content:center;display:flex;align-items:center;gap:6px}
body.dark #top .right{margin-left:10px}
@media (max-width:1360px){body.dark #clLogo .ln em{letter-spacing:.2em}}
@media (max-width:1180px){#bSite{display:flex}#bSite span{display:none}#bSite::before{content:"메인"}}
