:root{font-family:"Noto Sans SC","Microsoft YaHei","Segoe UI",sans-serif;color:#193d32;background:#f7f6ef;font-synthesis:none}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ee8b39;outline-offset:3px}
[hidden]{display:none!important}
.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.splash{position:fixed;inset:0;z-index:30;background:#f6f5eb;overflow:hidden;display:grid;place-items:center}
.splash:before,.splash:after{content:"";position:absolute;border:1px solid rgba(30,77,59,.13);border-radius:50%;width:80vw;height:80vw;min-width:650px;min-height:650px;left:50%;top:50%;transform:translate(-50%,-50%)}
.splash:after{width:59vw;height:59vw;min-width:470px;min-height:470px}
.splash-grain{position:absolute;inset:0;background-image:radial-gradient(#24564216 1px,transparent 1px);background-size:27px 27px;opacity:.65}
.splash-center{position:relative;z-index:1;text-align:center;margin-top:-8vh}
.splash-orbit{width:64px;height:64px;border:1px solid #adc7a8;border-radius:50%;margin:0 auto 34px;display:grid;place-items:center;transform:rotate(-25deg)}
.splash-orbit:after{content:"";position:absolute;width:86px;height:28px;border:1px solid #adc7a8;border-radius:50%}
.splash-ball{width:24px;height:24px;background:#ed923d;border-radius:50%;box-shadow:inset -5px -5px 0 #d7712c}
.splash-overline,.eyebrow,.section-kicker,.splash-corner{font-size:11px;letter-spacing:.25em;font-weight:800}
.splash-overline{color:#8e9f8c;margin:0 0 12px}
.splash h1{font-size:clamp(42px,8vw,95px);letter-spacing:-.065em;line-height:1.25;color:#236747;margin:0;font-weight:900}
.splash h1 span{display:block;letter-spacing:.04em}
.splash-subtitle{font-size:15px;letter-spacing:.35em;color:#6b8876;margin-top:22px}
.splash-loading{position:absolute;z-index:2;left:50%;top:75%;transform:translate(-50%,-50%);width:min(330px,76vw)}
.loading-label{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.22em;font-weight:800;color:#bb682c;margin-bottom:12px}
.loading-track{height:5px;border-radius:20px;background:#e6ded1;overflow:hidden}
.loading-fill{height:100%;width:0;background:#ed8e39;border-radius:20px;transition:width .12s linear}
.splash-loading p{text-align:center;color:#a8a99d;font-size:11px;letter-spacing:.12em;margin-top:15px}
.splash-corner{position:absolute;right:35px;bottom:30px;color:#a8b3a5}
.app{min-height:100vh;background:#f7f6ef;padding-bottom:105px}
.site-header{height:86px;display:flex;align-items:center;justify-content:space-between;max-width:1320px;margin:auto;padding:0 54px;border-bottom:1px solid #e6e9df}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#214d3c}
.brand-mark{background:#215c43;border-radius:13px;width:43px;height:43px;display:grid;place-items:center;color:#fff;transform:rotate(-11deg)}
.brand-mark svg{width:26px;height:26px;transform:rotate(11deg)}
.brand-name{font-size:18px;font-weight:800;letter-spacing:-.04em;line-height:1.1}
.brand-name strong{font-weight:800;letter-spacing:.025em}
.brand-name small{display:block;color:#9bad99;font-size:8px;letter-spacing:.23em;margin-top:6px}
.header-right{display:flex;align-items:center;gap:35px}
.header-tag{font-size:12px;color:#668371;font-weight:600;white-space:nowrap}
.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#76ab79;margin-right:6px;box-shadow:0 0 0 4px #76ab7926}
.header-account{border:0;background:none;color:#244f3e;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800}
.header-account svg{width:16px;height:16px}
.main{max-width:1212px;margin:0 auto;padding:34px 32px 55px}
.hero{height:424px;border-radius:13px;background:#e9eee2;position:relative;overflow:hidden;display:grid;grid-template-columns:55% 45%}
.hero:before{content:"";position:absolute;inset:0;background-image:radial-gradient(#37634816 1px,transparent 1px);background-size:18px 18px;mask-image:linear-gradient(to right,#000,transparent 60%)}
.hero-content{z-index:1;padding:52px 0 44px 65px}
.eyebrow{display:flex;align-items:center;gap:12px;color:#427b5d}
.eyebrow-line{width:20px;height:1px;background:currentColor}
.hero h2,.page-intro h2{font-size:clamp(38px,4.2vw,57px);font-weight:900;letter-spacing:-.075em;line-height:1.35;margin:19px 0 13px;color:#204d39}
.hero h2 span{color:#ee9142}
.hero-content>p{font-size:13px;line-height:1.9;color:#6e8271;margin:0 0 25px}
.button{border:0;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:30px;padding:13px 20px;font-size:12px;font-weight:800;min-height:44px;transition:transform .2s,filter .2s}
.button:hover{transform:translateY(-2px);filter:brightness(.97)}
.button svg{width:16px;height:16px}
.button-orange{background:#eb8d40;color:#fff}
.button-green{background:#205b42;color:#fff}
.hero-art{position:relative;background:#dce7d7;overflow:hidden;display:grid;place-items:center}
.hero-art:before,.hero-art:after{content:"";position:absolute;width:150%;height:1px;background:#f4f8e98c;transform:rotate(-35deg)}
.hero-art:after{transform:rotate(35deg)}
.hero-ring{position:absolute;width:355px;height:355px;border:1px solid #f6f8efad;border-radius:50%}
.ring-two{width:480px;height:480px}
.hero-paddle{position:absolute;width:190px;height:221px;border-radius:49% 49% 45% 45%;background:#286d4b;transform:rotate(-35deg) translate(12px,-12px);box-shadow:inset 0 0 0 9px #255a42,inset 0 0 0 13px #d4bd81,14px 20px 30px #224b3333}
.hero-paddle:after{content:"";position:absolute;width:43px;height:127px;border-radius:0 0 15px 15px;background:#c08a52;left:73px;top:200px;box-shadow:inset -8px 0 0 #a96f40}
.hero-paddle span{position:absolute;inset:26px;border-radius:50%;border:1px solid #ffffff27}
.hero-ball{position:absolute;width:69px;height:69px;border-radius:50%;background:#ee9344;left:16%;top:15%;box-shadow:inset -13px -13px 0 #d47c36,11px 13px 23px #32684c42}
.hero-art-label{position:absolute;right:30px;top:28px;color:#ffffffe3;font-size:12px;font-weight:800;letter-spacing:.2em;line-height:1.4}
.hero-art-number{position:absolute;bottom:28px;right:30px;font-weight:800;font-size:11px;letter-spacing:.2em;color:#6b9178}
.section-top{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:47px 0 21px}
.section-kicker{color:#e58b43;margin:0 0 8px}
.section-top h3{font-size:27px;letter-spacing:-.06em;margin:0;color:#1e4b38}
.heading-dot{color:#ed964a}
.section-description{font-size:12px;color:#88978a;margin:8px 0 0}
.section-counter{border:1px solid #dae4d8;border-radius:30px;color:#71927b;padding:7px 12px;font-size:11px;white-space:nowrap}
.player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.empty-card{grid-column:1/-1;background:#fff;border:1px solid #e9eee5;min-height:198px;border-radius:11px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}
.empty-icon{width:43px;height:43px;border-radius:50%;background:#e8f0e5;display:grid;place-items:center;color:#427a58}
.empty-card h4{font-size:17px;color:#315b43;margin:15px 0 6px}
.empty-card p{color:#92a094;font-size:12px;line-height:1.8;margin:0}
.empty-card button{border:0;background:none;color:#d9823c;font-weight:700;font-size:12px;margin-top:13px}
.player-card{background:#fff;border:1px solid #e9eee5;border-radius:11px;padding:22px;min-height:190px}
.player-card-top{display:flex;align-items:center;gap:12px}
.mini-avatar{background:#dceadc;color:#266846;width:47px;height:47px;border-radius:13px;display:grid;place-items:center;font-weight:800;font-size:19px}
.player-card h4{margin:0 0 4px;font-size:16px}
.player-card small{color:#9aa99b;font-size:11px}
.player-card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f0f2eb;margin-top:25px;padding-top:17px;font-size:12px;color:#789182}
.rating-score{color:#e38a35;font-weight:800;font-size:17px}
.player-card button{border:0;background:#e9f1e8;color:#296646;border-radius:4px;padding:8px 11px;font-size:11px;font-weight:800}
.player-reviews{border-top:1px solid #f0f2eb;margin-top:16px;padding-top:13px;font-size:11px;color:#52785a}
.player-reviews summary{cursor:pointer;font-weight:700}
.review{padding:10px 0;border-bottom:1px solid #f0f2eb}
.review:last-child{border:0;padding-bottom:0}
.review strong{color:#315e43}
.review p{color:#788f7e;margin:5px 0 0;overflow-wrap:anywhere;line-height:1.6}
.local-note{font-size:11px;color:#a4aea0;margin:20px 2px}
.page-intro{height:275px;background:#e9eee2;border-radius:12px;padding:38px 55px;position:relative;overflow:hidden}
.page-intro:after{content:"";position:absolute;width:355px;height:355px;border:1px solid #ffffffaa;border-radius:50%;right:5%;top:-90px;box-shadow:0 0 0 70px #ffffff36,0 0 0 140px #ffffff25}
.page-intro h2{font-size:43px;margin:13px 0 5px}
.page-intro h2 em{font-style:normal;color:#e9924b}
.page-intro p{position:relative;z-index:1;font-size:12px;color:#708a75;max-width:375px;line-height:1.8}
.intro-stamp{position:absolute;right:14%;top:85px;z-index:1;background:#266348;color:#fff;width:92px;height:92px;border-radius:50%;display:grid;place-content:center;text-align:center;transform:rotate(12deg);box-shadow:8px 12px 0 #f4b77a}
.intro-stamp svg{margin:0 auto 4px}
.intro-stamp span{font-size:10px;line-height:1.4}
.gear-form{background:#fff;border:1px solid #e9eee5;border-radius:11px;display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:16px;padding:27px}
.gear-form label,.field-label{font-size:12px;font-weight:700;color:#315b43;display:grid;gap:10px}
input,select,textarea{width:100%;border:1px solid #dfe7dd;border-radius:5px;padding:12px;background:#fbfcf8;color:#214e38;font-size:13px;outline:none}
input:focus,select:focus,textarea:focus{border-color:#5c9569}
.gear-result{margin-top:17px;padding:28px;background:#eaf1e7;border-radius:10px;color:#2e6348}
.gear-result h4{margin:0 0 12px;font-size:20px}
.gear-result p{font-size:13px;line-height:1.85;margin:8px 0}
.gear-result .result-tag{font-size:10px;color:#df8942;letter-spacing:.15em;font-weight:800}
.me-intro{height:244px}
.me-intro h2{font-size:39px}
.profile-card{background:#fff;border:1px solid #e9eee5;border-radius:11px;margin-top:23px;padding:28px 32px}
.profile-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef0e9;padding-bottom:20px}
.profile-heading .section-kicker{margin:0}
.profile-index{font-size:10px;letter-spacing:.13em;color:#a4b1a2}
.profile-person{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 0 30px}
.person-left{display:flex;gap:16px;align-items:center;min-width:0}
.avatar{width:70px;height:70px;border-radius:17px;background:#dcebd8;color:#2a6947;display:grid;place-items:center;font-size:27px;font-weight:800;flex:none}
.person-left h3{font-size:22px;margin:0 0 6px;overflow-wrap:anywhere}
.person-badge{font-size:11px;color:#779680}
.profile-edit{background:none;border:0;color:#48765a;font-size:12px;font-weight:700;white-space:nowrap}
.profile-edit span{font-size:19px;vertical-align:-1px;margin-left:4px}
.profile-fields{border-top:1px solid #eef0e9;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-field{min-height:62px;border-bottom:1px solid #eef0e9;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px 12px 0;font-size:12px}
.profile-field:nth-child(odd){margin-right:24px}
.profile-field span{color:#8a9c8d;white-space:nowrap}
.profile-field strong{font-weight:600;color:#2c5840;overflow-wrap:anywhere;text-align:right}
.profile-field strong.unset{color:#b6c1b4}
.account-actions{margin-top:20px;border-top:1px solid #eef0e9}
.account-actions button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;border-bottom:1px solid #eef0e9;background:none;color:#31583f;padding:17px 2px;font-size:12px;font-weight:700}
.account-actions button svg{width:17px;height:17px;color:#809f84}
.account-actions button span{font-size:19px;margin-left:auto;color:#9db1a2}
.account-actions button:last-child{color:#ab6453}
.account-actions button[hidden]{display:none}
.account-actions .delete-player{color:#a8413e}
.account-actions .delete-player:disabled{opacity:.5;cursor:wait}
.guest-actions{padding:20px 0 4px}.guest-actions p{font-size:12px;color:#809680}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:10;width:min(510px,calc(100% - 24px));height:72px;background:#fff;border:1px solid #e8eee6;box-shadow:0 5px 35px #24462e1e;border-radius:15px 15px 0 0;display:grid;grid-template-columns:repeat(3,1fr);padding:7px;bottom:0}
.nav-item{border:0;background:transparent;color:#9dad9e;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:700}
.nav-item svg{width:19px;height:19px}
.nav-item.active{background:#e9f1e6;color:#225e42}
.modal-backdrop{position:fixed;inset:0;z-index:40;background:#183628a8;display:grid;place-items:center;padding:18px}
.modal-panel{width:min(450px,100%);max-height:min(90vh,750px);overflow-y:auto;background:#fff;border-radius:13px;padding:34px;position:relative;box-shadow:0 20px 70px #12281955}
.modal-close{position:absolute;right:17px;top:13px;background:none;border:0;color:#8da392;font-size:28px;line-height:1}
.modal-kicker{font-size:10px;letter-spacing:.2em;color:#de8b49;font-weight:800;margin:0 0 8px}
.modal-panel h2{font-size:25px;color:#22563c;margin:0 0 9px}
.modal-description{font-size:12px;color:#91a092;line-height:1.7;margin:0 0 22px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f5ee;padding:4px;border-radius:7px;margin:20px 0}
.auth-tabs button{border:0;background:none;color:#819987;border-radius:5px;padding:10px;font-size:12px;font-weight:700}
.auth-tabs button.selected{background:#fff;color:#245d42;box-shadow:0 1px 5px #19391c1c}
.stack-form{display:grid;gap:16px}
.stack-form label{display:grid;gap:8px;color:#42654b;font-size:12px;font-weight:700}
.stack-form .button{width:100%;margin-top:5px}
.form-error{color:#b95142;font-size:12px;min-height:16px;margin:0}
.text-button{display:block;border:0;background:none;color:#75907a;font-size:12px;margin:18px auto 0}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.form-grid .wide{grid-column:1/-1}
.modal-footnote{font-size:11px;line-height:1.7;color:#9cad9e;margin:16px 0 0}
.rating-options{display:flex;gap:7px;flex-wrap:wrap}
.rating-options label{display:block}
.rating-options input{position:absolute;width:1px;height:1px;opacity:0}
.rating-options span{display:grid;place-items:center;width:34px;height:34px;border-radius:5px;background:#edf3e9;color:#466d50;font-weight:700;font-size:12px}
.rating-options input:checked+span{background:#e99143;color:#fff}
.rating-options input:focus-visible+span{outline:3px solid #e99143;outline-offset:3px}
.toast{position:fixed;z-index:50;top:20px;left:50%;transform:translate(-50%,-20px);background:#204e3a;color:#fff;border-radius:7px;padding:12px 18px;font-size:12px;box-shadow:0 8px 25px #193c2a3d;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center;max-width:90vw}
.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:800px){.site-header{padding:0 24px}.main{padding:25px 20px 40px}.hero{grid-template-columns:58% 42%}.hero-content{padding-left:32px}.hero h2{font-size:40px}.hero-paddle{transform:scale(.75) rotate(-35deg)}.hero-ball{left:10%}.player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.site-header{height:70px;padding:0 18px}.brand-name{font-size:16px}.brand-mark{width:37px;height:37px}.header-tag{display:none}.header-account{font-size:0;gap:0}.header-account svg{width:21px;height:21px}.main{padding:18px 15px 30px}.hero{height:auto;min-height:500px;display:flex;flex-direction:column}.hero-content{padding:32px 26px 20px}.hero h2{font-size:clamp(35px,9vw,46px);margin:16px 0 8px}.hero-content>p{font-size:12px;margin-bottom:17px}.hero-art{height:225px;flex:1}.hero-paddle{transform:scale(.62) rotate(-35deg) translateY(-30px)}.hero-ball{width:48px;height:48px;left:19%;top:20%}.hero-art-label{font-size:9px;right:19px;top:16px}.hero-art-number{bottom:15px;right:20px}.section-top{margin:32px 0 18px}.section-top h3{font-size:24px}.player-grid{grid-template-columns:1fr}.page-intro{padding:30px 25px;height:260px}.page-intro h2{font-size:37px}.intro-stamp{right:12%;top:135px;width:75px;height:75px}.me-intro{height:225px}.gear-form{grid-template-columns:1fr;padding:20px}.profile-card{padding:22px 18px}.profile-person{gap:8px}.person-left{flex:1;gap:9px}.avatar{width:52px;height:52px;font-size:21px}.person-left h3{font-size:16px}.person-badge{font-size:9px}.profile-edit{font-size:10px;padding:4px 0;flex:none}.profile-field:nth-child(odd){margin-right:12px}.profile-field{font-size:11px;display:block;min-height:65px}.profile-field strong{display:block;text-align:left;margin-top:6px}.nav-item{font-size:11px;gap:5px;flex-direction:column}.bottom-nav{height:66px}.splash-corner{right:15px;bottom:12px;font-size:9px}.splash h1{font-size:clamp(43px,11vw,70px)}.splash-subtitle{font-size:12px}.modal-panel{padding:28px 22px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

.theme-toggle{border:1px solid #d7e5d7;background:#eff4e9;color:#315d42;border-radius:20px;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;font-size:11px;font-weight:700;white-space:nowrap}
.theme-toggle svg{width:16px;height:16px}
.player-card .player-open{display:flex;width:100%;align-items:center;text-align:left;gap:12px;padding:0;background:none;color:#214e38}
.player-open span:nth-child(2){min-width:0;flex:1}
.player-open strong{display:block;font-size:16px;overflow-wrap:anywhere}
.player-open small{display:block;margin-top:5px}
.player-open svg{width:17px;height:17px;color:#8aa68d}
.player-card .player-open:hover strong,.back-link:hover{text-decoration:underline}
.join-wall{padding:20px 2px 6px}
.join-wall .button{width:auto;display:inline-flex;padding:12px 20px}
.join-wall .button:disabled{background:#dce7dc;color:#63866b;cursor:default;transform:none;filter:none}
.join-wall p{margin:10px 0 0;font-size:11px;color:#839a87}
.account-actions{border-top:0}
.back-link{border:0;background:none;color:#3b7856;font-size:12px;font-weight:700;padding:6px 0;margin:0 0 18px}
.detail-intro{height:200px}
.detail-intro h2{font-size:38px}
.detail-card{background:#fff;border:1px solid #e9eee5;border-radius:11px;margin-top:18px;padding:28px 32px}
.detail-card h3{margin:0 0 21px;color:#24563c;font-size:20px}
.detail-card h4{margin:25px 0 13px;color:#335e45;font-size:14px}
.detail-card h4 span{font-size:11px;color:#90a092;font-weight:400;margin-left:8px}
.detail-card .profile-fields{margin-top:12px}
.keyword-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.keyword-row{border:1px solid #e4ecdf;border-radius:7px;padding:10px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.keyword-row label{display:flex;align-items:center;gap:7px;min-width:70px;color:#345e44;font-size:12px;font-weight:700;white-space:nowrap}
.keyword-row input{width:16px;height:16px;accent-color:#e48742}
.keyword-row select{min-width:0;flex:1;padding:8px;font-size:11px}
.keyword-row select:disabled{opacity:.55}
.keyword-row input[data-custom-word]{width:100%;height:auto;opacity:1;padding:9px;font-size:12px}
.keyword-row input[data-custom-word][hidden]{display:none}
.manual-field[hidden],.particle-field[hidden]{display:none}
.detail-hint{color:#8e9e8d;font-size:11px;line-height:1.6;margin:11px 0 0}
.detail-empty{color:#91a493;font-size:12px;padding:15px 0}
.keyword-cloud{min-height:245px;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;align-items:center;gap:18px 26px;background:#f7f2ef;border-radius:8px;padding:36px 28px}
.cloud-word{color:#b6403e;font-weight:800;line-height:1.3}
.cloud-word:nth-child(3n){color:#e47a5e}
.cloud-word small{font-size:10px;color:#9d7472;vertical-align:middle}
.score-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.score-grid label{font-size:12px;font-weight:700;color:#335e45;display:grid;gap:7px}
.score-grid select{width:100%}
.radar-wrap{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;margin:15px auto 0}
.radar-chart{width:min(360px,100%);height:auto;overflow:visible}
.radar-grid{stroke:#ecc9c6;stroke-width:1;fill:none}
.radar-area{fill:#dc555682;stroke:#c5383c;stroke-width:3}
.radar-label{fill:#85514e;stroke:none;font-size:12px;font-weight:700}
.axis-averages{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;color:#7a8179;font-size:12px}
.axis-averages strong{color:#c64244;margin-left:5px}
#rating-form>.button{margin-top:17px}
#rating-error{padding:10px 0 0}
.detail-prompt p,.legacy-review{font-size:12px;color:#829886;line-height:1.7}
@media(max-width:600px){
  .header-right{gap:9px}
  .theme-toggle{padding:8px;font-size:0;gap:0}
  .theme-toggle svg{width:19px;height:19px}
  .detail-intro{height:190px}
  .detail-card{padding:20px 18px}
  .keyword-picker{grid-template-columns:1fr}
  .score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .radar-chart{width:min(295px,100%)}
}

:root[data-theme="dark"]{color:#dcebe1;background:#101c19;color-scheme:dark}
[data-theme="dark"] body,[data-theme="dark"] .app{background:#101c19}
[data-theme="dark"] .splash{background:#111e19}
[data-theme="dark"] .splash:before,[data-theme="dark"] .splash:after{border-color:#42665069}
[data-theme="dark"] .splash h1{color:#81d19b}
[data-theme="dark"] .splash-overline,[data-theme="dark"] .splash-subtitle{color:#98b69d}
[data-theme="dark"] .loading-track{background:#34463a}
[data-theme="dark"] .site-header{border-color:#30443a}
[data-theme="dark"] .brand,[data-theme="dark"] .header-account,[data-theme="dark"] .section-top h3,[data-theme="dark"] .person-left h3{color:#dcebe1}
[data-theme="dark"] .brand-name small,[data-theme="dark"] .header-tag,[data-theme="dark"] .section-description,[data-theme="dark"] .local-note,[data-theme="dark"] .profile-field span,[data-theme="dark"] .person-badge{color:#a1bba8}
[data-theme="dark"] .hero,[data-theme="dark"] .page-intro{background:#1d3428}
[data-theme="dark"] .page-intro:after{border-color:#5b806655;box-shadow:0 0 0 70px #4e77501f,0 0 0 140px #4e775015}
[data-theme="dark"] .hero-art{background:#244534}
[data-theme="dark"] .hero h2,[data-theme="dark"] .page-intro h2,[data-theme="dark"] .detail-card h3{color:#d7eadd}
[data-theme="dark"] .hero-content>p,[data-theme="dark"] .page-intro p{color:#b5c9b8}
[data-theme="dark"] .eyebrow,[data-theme="dark"] .profile-edit,[data-theme="dark"] .back-link{color:#9ed3ac}
[data-theme="dark"] .empty-card,[data-theme="dark"] .player-card,[data-theme="dark"] .gear-form,[data-theme="dark"] .profile-card,[data-theme="dark"] .detail-card,[data-theme="dark"] .modal-panel,[data-theme="dark"] .bottom-nav{background:#1b2c25;border-color:#344b3b}
[data-theme="dark"] .empty-card h4,[data-theme="dark"] .player-card .player-open,[data-theme="dark"] .profile-field strong,[data-theme="dark"] .detail-card h4,[data-theme="dark"] .score-grid label,[data-theme="dark"] .keyword-row label,[data-theme="dark"] .modal-panel h2{color:#e0eee2}
[data-theme="dark"] .empty-card p,[data-theme="dark"] .player-card small,[data-theme="dark"] .player-card-bottom,[data-theme="dark"] .detail-hint,[data-theme="dark"] .detail-empty,[data-theme="dark"] .detail-prompt p,[data-theme="dark"] .legacy-review{color:#b0c5b4}
[data-theme="dark"] .player-card-bottom,[data-theme="dark"] .profile-heading,[data-theme="dark"] .profile-fields,[data-theme="dark"] .profile-field,[data-theme="dark"] .account-actions button{border-color:#35483b}
[data-theme="dark"] .player-card .player-card-bottom button,[data-theme="dark"] .nav-item.active,[data-theme="dark"] .theme-toggle,[data-theme="dark"] .empty-icon{background:#2b4934;color:#c5ecd0}
[data-theme="dark"] .account-actions button,[data-theme="dark"] .gear-form label,[data-theme="dark"] .stack-form label{color:#d1e6d4}
[data-theme="dark"] .account-actions button:last-child{color:#efa99b}
[data-theme="dark"] .profile-field strong.unset,[data-theme="dark"] .profile-index,[data-theme="dark"] .join-wall p,[data-theme="dark"] .guest-actions p{color:#a8bbaa}
[data-theme="dark"] .avatar,[data-theme="dark"] .mini-avatar{background:#2c5139;color:#d4f1d7}
[data-theme="dark"] .nav-item{color:#a3b7a7}
[data-theme="dark"] .modal-description,[data-theme="dark"] .modal-footnote{color:#a9c1ae}
[data-theme="dark"] .auth-tabs{background:#263b2d}
[data-theme="dark"] .auth-tabs button.selected{background:#3a5d44;color:#e5f4e8}
[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{background:#20352a;border-color:#46604b;color:#e6f0e8}
[data-theme="dark"] .keyword-row{border-color:#405646}
[data-theme="dark"] .keyword-cloud{background:#31282a}
[data-theme="dark"] .gear-result{background:#263e30;color:#d4ead7}
[data-theme="dark"] .cloud-word{color:#f18a86}
[data-theme="dark"] .cloud-word:nth-child(3n){color:#ffb098}
[data-theme="dark"] .cloud-word small{color:#e7aaa5}
[data-theme="dark"] .radar-grid{stroke:#785252}
[data-theme="dark"] .radar-area{fill:#ec6c6d88;stroke:#fa8b86}
[data-theme="dark"] .radar-label{fill:#f1c0b9}
[data-theme="dark"] .axis-averages{color:#bed1be}
[data-theme="dark"] .axis-averages strong{color:#ffaaaa}
[data-theme="dark"] .join-wall .button:disabled{background:#354a3c;color:#bed1bd}
[data-theme="dark"] .modal-backdrop{background:#050e0cd9}
.me-intro{height:auto;min-height:255px}
.me-intro h2{font-size:clamp(29px,3.2vw,40px);line-height:1.4;max-width:740px}
@media(max-width:600px){.me-intro{min-height:275px}.me-intro h2{font-size:clamp(26px,7vw,32px);max-width:100%}}
.graduation-field[hidden]{display:none}
.player-list-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.player-list-actions .button{padding:10px 14px;font-size:12px}
.player-list-actions svg{width:14px;height:14px}
.player-card{min-height:145px}
.player-card .player-open{display:flex;flex-direction:column;align-items:stretch;gap:9px}
.player-card .player-open .player-heading{display:flex;gap:8px;align-items:center;min-width:0;flex-wrap:wrap}
.player-card .player-open .player-heading strong{font-size:18px}
.player-card .player-open .player-heading small{margin:0 12px 0 0;font-size:10px;font-weight:400}
.player-card .player-open .player-heading svg{margin-left:auto;flex:none}
.player-card .player-open .player-style,.player-card .player-open .top-quote{min-width:0;flex:none;font-size:12px}
.player-card .player-open .top-quote{border-top:1px solid #e8eee7;padding-top:12px;color:#698371;overflow-wrap:anywhere;line-height:1.6}
.grade-badge{background:#e8f1e7;border-radius:4px;padding:3px 7px;color:#32714a;font-size:11px}
.player-comment{border-top:1px solid #e8eee7;padding:15px 0 6px;overflow-wrap:anywhere}
.player-comment.reply{margin-left:20px;padding-left:14px;border-left:2px solid #e2ece1}
.player-comment strong{color:#295c40;font-size:13px}
.comment-heading{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.comment-keyword{border:1px solid #d5e5d6;border-radius:4px;padding:3px 6px;color:#427453;background:#f1f6ee;font-size:10px;overflow-wrap:anywhere}
.player-comment time{color:#839887;font-size:11px;margin-left:12px}
.player-comment p{font-size:13px;line-height:1.7;white-space:pre-wrap}
.comment-actions{display:flex;gap:10px;margin-bottom:8px}
.comment-actions button{background:none;border:0;color:#42815a;font-size:11px;padding:4px 0;cursor:pointer}
.comment-actions button:disabled{color:#92a799;cursor:default}
.reply-form{display:grid;gap:8px;margin:12px 0}
.reply-form .button{justify-self:start}
#player-comment-form{display:grid;gap:12px;margin-top:20px}
#player-comment-form .button{justify-self:start}
[data-theme="dark"] .player-card .player-open .top-quote,[data-theme="dark"] .player-comment{border-color:#35483b;color:#b8cdbb}
[data-theme="dark"] .grade-badge{background:#2b4934;color:#c5ecd0}
[data-theme="dark"] .player-comment strong{color:#e0eee2}
[data-theme="dark"] .comment-keyword{background:#2b4934;border-color:#46604b;color:#c5ecd0}
[data-theme="dark"] .player-comment.reply{border-left-color:#35483b}
[data-theme="dark"] .account-actions .delete-player{color:#f4ada7}

.gear-search{background:#fff;border:1px solid #e9eee5;border-radius:11px;padding:25px;display:grid;gap:22px}
.gear-basics,.gear-budget{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;align-items:end}
.gear-budget{grid-template-columns:1.2fr 1.4fr auto}
.gear-search label,.gear-budget label{display:grid;gap:8px;color:#315b43;font-size:12px;font-weight:700}
.budget-inputs{display:flex;align-items:center;gap:8px}
.budget-inputs input{min-width:0}
.gear-tags{display:grid;gap:11px}
.extra-tags{display:grid;gap:14px}
.gear-tag-group{border:1px solid #e4ecdf;border-radius:7px;display:flex;gap:8px 10px;flex-wrap:wrap;min-width:0;padding:13px}
.gear-tag-group legend{font-size:11px;font-weight:700;color:#73947b;padding:0 6px}
.gear-tag-group label{display:inline-flex!important;cursor:pointer}
.gear-tag-group input{position:absolute;width:1px;height:1px;opacity:0}
.gear-tag-group span{display:inline-block;background:#eff4ec;border:1px solid #dfeadd;border-radius:20px;padding:7px 12px;color:#37664a;font-size:11px}
.gear-tag-group input:checked+span{background:#28734c;color:#fff;border-color:#28734c}
.gear-tag-group input:focus-visible+span{outline:2px solid #ed934b;outline-offset:2px}
.gear-count{color:#688b71;font-size:12px;margin:27px 2px 12px}
.gear-card{width:100%;min-height:clamp(155px,28vw,360px);display:flex;flex-direction:column;justify-content:space-between;text-align:left;background:#fff;border:1px solid #e5eee3;border-radius:10px;padding:clamp(20px,3vw,38px);margin:13px 0;color:#23513a;transition:border-color .15s,transform .15s}
.gear-card:hover{border-color:#e48e48;transform:translateY(-2px)}
.gear-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.gear-card-heading>strong{font-size:clamp(21px,3vw,35px);overflow-wrap:anywhere;max-width:55%}
.gear-badges{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;max-width:45%}
.gear-badge{border:1px solid #cfe0d1;border-radius:4px;padding:5px 8px;color:#567c61;font-size:11px;white-space:normal}
.gear-card-bottom{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:12px;color:#819b83}
.gear-detail h2{font-size:clamp(25px,4vw,40px);color:#20563a;margin:5px 0 22px;overflow-wrap:anywhere}
.gear-detail .gear-badges{justify-content:flex-start;max-width:none}
.gear-price{font-weight:800;color:#d97d35;font-size:21px;margin:22px 0 7px}
.gear-meta{font-size:11px;color:#849b8a}
.gear-detail #like-gear{margin:18px 0 28px}
.gear-detail #like-gear:disabled{opacity:.6;cursor:not-allowed}
.delete-gear{display:block;border:1px solid #d5a5a0;border-radius:5px;background:transparent;color:#a8413e;padding:10px 15px;font-size:12px;font-weight:700;margin:0 0 28px}
.delete-gear:hover{background:#fff0ee}
.delete-gear:disabled{opacity:.5;cursor:wait}
.gear-comment{border-top:1px solid #e5ebe3;padding:17px 0}
.gear-comment strong{color:#315d42;font-size:12px}
.gear-comment time{color:#8e9e91;font-size:11px;margin-left:12px}
.gear-comment p{font-size:13px;color:#516c5a;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}
.modal-panel:has(#share-form){width:min(570px,100%)}
@media(max-width:800px){.gear-basics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .keyword-cloud{min-height:195px;padding:25px 14px;gap:12px}
  .gear-search{padding:18px}
  .gear-basics,.gear-budget{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gear-budget label,.gear-budget button{grid-column:1/-1}
  .gear-card{min-height:190px}
  .gear-card-heading{flex-direction:column;gap:12px}
  .gear-card-heading>strong,.gear-badges{max-width:100%}
  .gear-badges{justify-content:flex-start}
  .gear-card-bottom{font-size:11px}
}
[data-theme="dark"] .gear-search,[data-theme="dark"] .gear-card{background:#1b2c25;border-color:#344b3b}
[data-theme="dark"] .gear-search label,[data-theme="dark"] .gear-card-heading>strong,[data-theme="dark"] .gear-detail h2,[data-theme="dark"] .gear-comment strong{color:#e0eee2}
[data-theme="dark"] .gear-card-bottom,[data-theme="dark"] .gear-meta,[data-theme="dark"] .gear-comment time,[data-theme="dark"] .gear-comment p{color:#afc3b0}
[data-theme="dark"] .gear-tag-group{border-color:#46604b}
[data-theme="dark"] .gear-tag-group span{background:#2c4635;color:#d0ead5;border-color:#47664e}
[data-theme="dark"] .gear-tag-group input:checked+span{background:#429765;color:#fff}
[data-theme="dark"] .gear-badge{border-color:#5b7d61;color:#c2dfc8}
[data-theme="dark"] .gear-comment{border-color:#3c5844}
[data-theme="dark"] .delete-gear{color:#f4ada7;border-color:#a7625f}
[data-theme="dark"] .delete-gear:hover{background:#563234}
