:root{--sun:#f5c842;--gold:#d99d09;--ink:#242117;--muted:#766f5c;--paper:#fffdf6;--line:#eadfbe;--shadow:0 18px 55px #69551b17}*{box-sizing:border-box}body{margin:0;background:#fff9e8;color:var(--ink);font:15px/1.6 "Trebuchet MS",Arial,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}.wrap{width:min(1160px,calc(100% - 36px));margin:auto}.top{border-bottom:1px solid #eedb9d;background:var(--sun)}.nav{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.brand strong{font-size:24px;letter-spacing:.06em}.mascot{width:44px;height:44px}.nav-right{display:flex;align-items:center;gap:12px}.nav-link{color:#43391e;text-decoration:none;font-weight:800}.nav-link.active{border-bottom:2px solid #43391e}.button{border:0;border-radius:12px;padding:12px 18px;background:var(--ink);color:white;font-weight:800;box-shadow:0 4px 0 #0002}.button.light{background:#fff;color:var(--ink);border:1px solid #e8d79b;box-shadow:none}.button.yellow{background:var(--sun);color:var(--ink)}.button.ghost{background:transparent;color:var(--ink);border:1px solid var(--line);box-shadow:none}.button.small{padding:9px 12px;border-radius:10px;font-size:13px}.hero{padding:50px 0 30px;display:flex;align-items:center;justify-content:space-between;gap:30px}.tag{display:inline-flex;align-items:center;gap:8px;background:#fff1bd;border:1px solid #efd98b;padding:6px 11px;border-radius:99px;color:#68551b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.dot{width:8px;height:8px;background:#3b873f;border-radius:50%}.hero h1{font-size:clamp(42px,7vw,74px);line-height:1;margin:16px 0 12px;letter-spacing:-.045em}.hero h1 span{color:#d69a00}.hero p{max-width:650px;color:var(--muted);font-size:17px;margin:0}.mascot-card{width:150px;height:150px;flex:none;border-radius:38px;background:linear-gradient(145deg,#ffdf74,#f5be23);display:grid;place-items:center;box-shadow:var(--shadow);transform:rotate(4deg)}.mascot-card .mascot{width:120px;height:120px;transform:rotate(-4deg)}.server-strip{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:16px 20px;box-shadow:var(--shadow)}.server-item{display:flex;align-items:center;gap:10px}.server-icon{width:34px;height:34px;border-radius:10px;background:#fff1bb;display:grid;place-items:center}.server-copy{display:grid;line-height:1.3}.server-copy small{font-size:10px;color:var(--muted);font-weight:800;text-transform:uppercase}.server-copy strong{font-size:13px}.sep{height:34px;width:1px;background:var(--line)}.copy-btn{margin-left:auto}.section{padding:42px 0 76px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:17px}.section h2{font-size:30px;margin:0}.sub{margin:5px 0 0;color:var(--muted);font-size:14px}.count{background:#fff1bd;border:1px solid #efd98b;padding:7px 11px;border-radius:99px;font-size:12px;font-weight:800}.roster,.content-shell{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:var(--shadow)}.tabs-wrap{display:flex;align-items:center;gap:9px;overflow-x:auto;padding:0 0 16px;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:8px;min-width:max-content}.tab,.section-tab{border:1px solid var(--line);background:white;color:var(--muted);border-radius:10px;padding:9px 14px;font-weight:800;white-space:nowrap}.tab.active,.section-tab.active{background:var(--sun);border-color:var(--sun);color:var(--ink)}.admin-add{margin-left:auto;flex:none}.profile{display:grid;grid-template-columns:minmax(200px,290px) 1fr;gap:28px;padding:26px 6px 8px}.photo-frame{aspect-ratio:4/3;background:#f6f0dd;border:2px dashed #dbc98f;border-radius:16px;overflow:hidden;display:grid;place-items:center;color:#998c64}.photo-frame img{width:100%;height:100%;object-fit:cover}.profile-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-title h3{font-size:27px;margin:0}.admin-actions,.group-tools,.card-tools{display:flex;gap:7px;flex-wrap:wrap}.char-title{font-size:12px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.1em;margin:19px 0 9px}.chars{display:flex;flex-wrap:wrap;gap:8px}.chip{border:1px solid #ecd888;background:#fff5ce;border-radius:9px;padding:7px 10px;font-weight:700;font-size:13px}.desc,.section-description{margin:17px 0 0;color:#5f5949;white-space:pre-wrap}.empty{padding:56px 18px;text-align:center;color:var(--muted)}.empty-logo{margin:0 auto 13px;width:62px;height:62px;border-radius:19px;background:#fff0b7;display:grid;place-items:center;font-size:25px}.empty h3{margin:0 0 6px;color:var(--ink);font-size:20px}.status{margin-top:12px;color:#85795a;font-size:12px;min-height:20px}.status.error{color:#a13827}.status.success{color:#36703b}.footer{border-top:1px solid var(--line);padding:22px 0;color:#8b846e;font-size:12px}.footer-in{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.modal-backdrop{position:fixed;inset:0;background:#1a170dc9;display:none;align-items:center;justify-content:center;padding:18px;z-index:10}.modal-backdrop.open{display:flex}.modal{width:min(560px,100%);max-height:88vh;overflow:auto;background:var(--paper);border-radius:20px;padding:24px;box-shadow:0 30px 100px #0004}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.modal h2{font-size:24px;margin:0}.close{background:transparent;border:0;font-size:24px;color:var(--muted)}.field{display:grid;gap:6px;margin:13px 0}.field label{font-size:12px;font-weight:800;color:#665d45}.field input,.field textarea{width:100%;border:1px solid var(--line);border-radius:10px;background:white;padding:11px 12px;outline:none;color:var(--ink)}.field textarea{min-height:100px;resize:vertical}.hint{color:var(--muted);font-size:11px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,20px);opacity:0;background:var(--ink);color:white;border-radius:12px;padding:11px 16px;font-weight:700;z-index:20;transition:.18s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}.groups{display:grid;gap:16px;padding:20px 2px 4px}.group{border:1px solid var(--line);border-radius:15px;background:#fffefa;padding:16px}.group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.group-head h3{margin:0;font-size:18px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tile{border:1px solid #ebdfbb;background:#fff9e5;border-radius:13px;padding:15px;min-height:130px;display:flex;flex-direction:column}.tile h4{margin:0 0 6px;font-size:16px}.tile p{margin:0;color:#675e49;white-space:pre-wrap;overflow-wrap:anywhere}.tile a{margin-top:auto;padding-top:12px;color:#876000;font-weight:800;font-size:13px}.tile .card-tools{margin-top:auto;padding-top:10px}.section-tabs{display:flex;gap:8px;overflow:auto;padding:0 0 14px;border-bottom:1px solid var(--line)}.section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:18px 2px 0}.section-title-row h2{font-size:25px}.section-description{margin:5px 0 0;color:var(--muted)}.section-empty{padding:25px;text-align:center;color:var(--muted)}@media(max-width:760px){.hero{padding:38px 0 24px}.mascot-card{width:115px;height:115px}.mascot-card .mascot{width:92px;height:92px}.profile{grid-template-columns:1fr;gap:18px}.photo-frame{max-width:380px;width:100%;aspect-ratio:16/9}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.wrap{width:calc(100% - 24px)}.nav{min-height:66px}.brand strong{font-size:20px}.nav-link{font-size:13px}.hero{display:block}.mascot-card{display:none}.server-strip{gap:10px;padding:14px}.sep{display:none}.copy-btn{margin-left:0}.section h2{font-size:25px}.roster,.content-shell{padding:12px}.profile{padding:20px 2px 4px}.profile-title{align-items:flex-start;flex-direction:column}.tabs-wrap{align-items:stretch}.card-grid{grid-template-columns:1fr}.group{padding:12px}.group-head{align-items:flex-start;flex-direction:column}}
