﻿:root{color-scheme:light;--pine:#173f32;--green:#246348;--ink:#22372d;--muted:#627168;--line:#dde4db;--paper:#f6f7f2;--white:#fff;font-family:Inter,"Malgun Gothic","Apple SD Gothic Neo",sans-serif;color:var(--ink);background:var(--paper);font-size:16px}
*{box-sizing:border-box}
body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.7}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #b47a23;outline-offset:3px}button{border:0;background:transparent}svg{flex:none}h1,h2,p{margin:0}h1,h2,strong,b{letter-spacing:-.04em}h1{font-size:clamp(1.85rem,3vw,2.45rem);line-height:1.22}h2{font-size:1.32rem;line-height:1.4}h1 small{font-size:1rem;color:var(--muted)}p{line-height:1.65}small{font-size:.85rem}i{font-style:normal}
aside{position:fixed;inset:0 auto 0 0;width:224px;display:flex;flex-direction:column;padding:34px 16px 20px;background:var(--pine);color:#f5f7ed;z-index:3}
.brand{display:flex;align-items:center;gap:11px;font-size:1.68rem;letter-spacing:-.07em;font-weight:850;padding:0 10px}
.brand-icon{height:39px;width:39px;display:grid;place-items:center;border-radius:12px;background:#dcebb8;color:#1c513a;transform:rotate(-3deg)}
.club-switch{margin:40px 0 26px;display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #517062;border-radius:10px;padding:12px 9px;color:#f2f5eb;font-size:.87rem;font-weight:650;background:#234a3c;min-height:48px}
.club-switch span:nth-child(2){flex:1;overflow-wrap:anywhere}.club-icon{color:#d1dda3;display:flex}
nav{display:grid;gap:6px}.nav-item,.account{display:flex;align-items:center;gap:14px;text-align:left;width:100%;padding:14px 16px;border-radius:9px;color:#d3dfd4;font-weight:600}.nav-item.active{background:#dbe8c6;color:#1e4938}.nav-item:hover:not(.active),.account:hover{background:#285340}.side-bottom{margin-top:auto;padding-top:15px;border-top:1px solid #436251}.account{font-size:.88rem;overflow-wrap:anywhere}
main{margin-left:224px;min-height:100vh}header{height:65px;display:flex;align-items:center;justify-content:space-between;background:#fafbf7;border-bottom:1px solid var(--line);padding:0 clamp(22px,3.8vw,66px);color:var(--muted);font-size:.86rem}
.crumb,.header-date,.detail-meta,.detail-meta span,.hero-meta span{display:inline-flex;align-items:center;gap:8px}.crumb i{color:#a6afa4;margin:0 3px}.crumb strong{color:#3d5043}.header-date{font-size:.84rem}.mobile-account{display:none!important}
#content{max-width:1490px;margin:auto;padding:clamp(24px,3vw,46px) clamp(22px,3.8vw,66px) 40px}.heading,.row,.modal-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.heading{margin-bottom:23px}.eyebrow{font-size:.68rem;font-weight:800;letter-spacing:.16em;color:#667b67;display:flex;align-items:center;gap:8px;line-height:1.5}.heading .eyebrow{margin-bottom:6px}.dash{width:20px;height:2px;background:#879e60}.btn,.icon-btn,.text-btn,.result-link{display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn{min-height:44px;padding:10px 16px;background:white;border:1px solid #ccd7ca;border-radius:9px;font-weight:700;font-size:.91rem}.btn:hover,.club-option:hover,.selectable:hover,.game-row:hover{background:#f0f4eb}.btn.primary{color:white;background:var(--green);border-color:var(--green)}.btn.primary:hover{background:#194e37}.btn.tiny{min-height:38px;font-size:.85rem;padding:6px 12px}.text-btn{color:var(--muted);font-size:.85rem;min-height:38px;padding:4px 0}.icon-btn{width:40px;height:40px;border-radius:8px;background:#f1f4ec}
.hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(103deg,#1c4838 20%,#23543f 73%,#316247);color:white;border-radius:17px;min-height:228px;display:flex;align-items:center}.hero canvas{position:absolute;right:0;top:0;height:100%;width:52%;z-index:-2;object-fit:cover;object-position:right top}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent 37%,#224f3c 48%,transparent 63%);pointer-events:none}.hero-copy{padding:28px clamp(22px,3vw,44px);max-width:67%}.hero h2{font-size:clamp(1.55rem,2.3vw,2.2rem);line-height:1.3;overflow-wrap:anywhere}.hero-label{display:inline-flex;gap:8px;align-items:center;color:#e1edbd;font-size:.84rem;font-weight:700;margin-bottom:10px}.hero-label span{width:7px;height:7px;border-radius:50%;background:#cadd8d}.hero-meta{display:flex;gap:8px 18px;flex-wrap:wrap;color:#e0eade;margin-top:10px;font-size:.87rem}.btn.cream{margin-top:22px;background:#f4f4de;border-color:#f4f4de;color:#244b36;min-height:40px;font-size:.83rem}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:19px 0 26px}.stat{display:flex;align-items:center;text-align:left;gap:15px;padding:19px 20px;border:1px solid var(--line);background:#fff;border-radius:13px}.stat:hover{border-color:#9eb49d}.stat-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;flex:none}.s0{background:#e7efe1;color:#456b47}.s1{background:#f7ebd6;color:#8c642e}.s2{background:#e1eeeb;color:#3d6d67}.stat span{display:block;font-size:.86rem;color:var(--muted);font-weight:600}.stat strong{display:block;font-size:1.65rem;margin-top:2px;line-height:1.16}.stat small{font-size:.86rem;color:#627164;font-weight:550}
.columns{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(0,1fr);gap:20px;align-items:start}.panel{border:1px solid var(--line);background:white;border-radius:15px;overflow:hidden;min-width:0}.panel-head{padding:20px 22px 12px}.panel-head .eyebrow{margin-bottom:4px}.panel-head .row>svg{color:#8b9b74}.panel-head .text-btn{min-height:28px}.game-row,.member-row,.club-option{display:flex;align-items:center;gap:12px;width:100%;text-align:left}.game-row{min-height:79px;padding:13px 20px;border-top:1px solid #edf0e9}.date-tile{display:grid;place-items:center;width:44px;min-width:44px;padding:5px 0;background:#f3f5ed;border-radius:9px;color:#3d5843}.date-tile small{font-size:.74rem}.date-tile b{font-size:1.18rem;line-height:1.25}.game-copy,.grow{flex:1;min-width:0;overflow-wrap:anywhere}.game-copy strong,.grow strong{display:block;font-size:1rem}.game-copy small,.grow small{display:block;margin-top:4px;color:var(--muted);font-size:.8rem}.game-row>svg{color:#819182}.badge{display:inline-flex;align-items:center;border-radius:20px;padding:4px 9px;font-size:.76rem;font-weight:700;white-space:nowrap}.badge.green{background:#e7f2df;color:#426a35}.badge.gray{background:#f0f1ed;color:#5c675c}
.rank-title{margin:0 22px 5px;padding:10px 13px;background:#f4f6ef;border-radius:8px;color:#4b5d4d;font-size:.9rem;font-weight:650}.rank-title small{color:var(--muted)}.rank-row{display:flex;align-items:center;gap:11px;margin:0 22px;border-bottom:1px solid #edf0e9;padding:14px 0}.rank-row strong{flex:1;overflow-wrap:anywhere}.rank-row b{white-space:nowrap}.rank-row b small{color:var(--muted);font-weight:500}.place{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;font-size:.78rem;font-weight:800;color:#617062}.p1{background:#f6df9e;color:#745714}.p2{background:#e5e9e7;color:#59665e}.p3{background:#f0dccc;color:#82563e}.avatar{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;font-size:.84rem;font-weight:700}.tone0{color:#466c46;background:#e2eddc}.tone1{color:#7a6042;background:#f0e7d7}.tone2{color:#506a7a;background:#e1eaf0}.tone3{color:#80646f;background:#efe1e7}.result-link{width:100%;min-height:45px;font-size:.85rem;color:var(--green);font-weight:650}
.tabs{display:flex;gap:7px;margin:20px 0 15px;flex-wrap:wrap}.tab{border:1px solid var(--line);background:white;border-radius:9px;padding:10px 14px;min-height:42px}.tab.on{border-color:#326748;background:#e5efdf;color:#264f36;font-weight:700}.member-row,.club-option{padding:15px 20px;border-bottom:1px solid #edf0e9;min-height:62px}.member-row:last-child,.club-option:last-child{border:0}.member-row>span:not(.badge,.avatar){color:var(--muted);font-size:.9rem}.detail-meta{flex-wrap:wrap;gap:8px 14px;color:var(--muted);margin-bottom:16px}.detail-body,.onboarding{padding:22px}.detail-body .rank-row{margin:0}.detail-body .member-row{padding-inline:0}.detail-body p,.onboarding p,dialog p{margin:10px 0 16px;color:var(--muted)}.onboarding .btn{margin:4px 8px 0 0}.group-row{display:flex;flex-wrap:wrap;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.empty{padding:26px 20px;color:var(--muted)}.actions,.pair{display:flex;gap:10px}.actions{margin-top:20px;flex-wrap:wrap}.pair>label{flex:1;min-width:0}
dialog{width:min(450px,calc(100% - 26px));padding:0;border:1px solid var(--line);border-radius:17px;color:var(--ink);max-height:86dvh;box-shadow:0 22px 80px #102d2630}dialog::backdrop{background:#0f281fb0}#sheet{padding:22px}.modal-head{margin-bottom:14px}.modal-head h2{overflow-wrap:anywhere}form{display:grid;gap:14px}label{display:grid;gap:6px;color:#4e6152;font-weight:650;font-size:.9rem}input,select{width:100%;border:1px solid #bdcabc;border-radius:8px;padding:10px 11px;background:white;color:var(--ink);min-height:43px;min-width:0;font-size:1rem}form .error:empty{display:none}form .error{margin:0;color:#923d2c}.entry{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line)}.entry b{flex:1;min-width:0;overflow-wrap:anywhere}.entry label{width:24%}.invite{padding-top:12px}.auth-link{margin-top:10px}.club-option{justify-content:space-between}.panel h1,.detail-body h2,.heading h1{overflow-wrap:anywhere}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:10;display:none;background:#172f25;color:white;padding:12px 20px;border-radius:10px;max-width:90%;width:max-content}#toast.show{display:block}
@media(min-width:1550px){aside{width:248px}main{margin-left:248px}.hero{min-height:260px}}
@media(max-width:1100px){aside{width:190px;padding-inline:12px}main{margin-left:190px}.columns{gap:12px}.game-row{padding:13px 14px;gap:8px}.stat{padding:15px;gap:11px}.panel-head{padding:17px 15px 10px}.rank-title,.rank-row{margin-inline:15px}}
@media(max-width:850px){aside{position:static;width:100%;height:auto;flex-direction:row;align-items:center;justify-content:space-between;padding:10px 16px}.brand{font-size:1.35rem;padding:0}.brand-icon{width:33px;height:33px}.club-switch{margin:0;max-width:65%;min-height:40px;padding:7px 10px}.side-bottom{display:none}aside nav{position:fixed;bottom:0;inset-inline:0;z-index:4;display:flex;justify-content:space-around;gap:0;background:#fafbf7;border-top:1px solid var(--line);padding:4px 4px calc(4px + env(safe-area-inset-bottom))}.nav-item{width:20%;flex-direction:column;gap:3px;color:var(--muted);padding:6px 1px;font-size:.77rem}.nav-item.active{background:#e7efde}.nav-item:hover:not(.active){background:#edf1e7}main{margin:0;padding-bottom:64px}header{height:42px;padding:0 18px}.header-date{margin-left:auto;margin-right:12px}.mobile-account{display:inline-flex!important;width:33px;height:33px;background:none}#toast{bottom:80px}.hero{min-height:215px}}
@media(max-width:660px){#content{padding:20px 14px 28px}.heading{margin-bottom:15px;gap:8px}.heading .btn{padding:9px 12px}.hero{min-height:212px;border-radius:13px}.hero-copy{padding:18px;max-width:78%}.hero canvas{width:47%;object-position:85% 50%;opacity:.78}.hero:after{background:linear-gradient(90deg,transparent 38%,#214e3a 53%,transparent 82%)}.hero-meta{display:grid;gap:6px}.btn.cream{margin-top:15px}.stats{gap:6px;margin:10px 0 17px}.stat{display:block;padding:12px 8px}.stat-icon{width:29px;height:29px;border-radius:8px;margin-bottom:7px}.stat-icon svg{width:17px;height:17px}.stat strong{font-size:1.37rem}.stat span,.stat small{font-size:.76rem}.columns{grid-template-columns:1fr;gap:15px}.rank-row{padding:12px 0}.detail-body{padding:16px}.member-row{gap:8px;padding:12px}.header-date{font-size:.73rem}.game-row>svg{display:none}dialog .member-row{padding:10px 0}.hero h2{font-size:1.55rem}.stat,.panel{border-radius:11px}}

main.welcome{margin:0;min-height:100dvh;padding:16px;display:grid;place-items:center}
.welcome .panel{width:min(100%,430px);padding:clamp(22px,5vw,36px)}
.welcome .brand{padding:0;margin-bottom:28px}
.kakao{display:block;width:fit-content;max-width:100%;margin-top:16px;border-radius:8px}
.kakao img{display:block;max-width:100%;height:auto}
.kakao:focus-visible{outline:3px solid var(--green);outline-offset:3px}
form .send-code{align-self:end;white-space:nowrap}
