/* Cellbound High Scores: one responsive board shared by the game and public website. */
.hs-board{--hs-gold:#d9ae73;--hs-ink:#10171b;--hs-edge:rgba(217,174,115,.23);max-width:1160px;width:100%;margin:0 auto;color:#f0e8d9;font-family:system-ui,-apple-system,Segoe UI,sans-serif}
.hs-board *{box-sizing:border-box}
.hs-masthead{position:relative;display:flex;min-height:200px;align-items:center;justify-content:space-between;gap:25px;padding:32px clamp(22px,5vw,48px);overflow:hidden;background:linear-gradient(102deg,rgba(18,24,29,.97),rgba(25,30,33,.90)),radial-gradient(ellipse at 85% 40%,rgba(218,126,63,.28),transparent 58%);border:1px solid var(--hs-edge);border-radius:13px 13px 0 0;box-shadow:0 12px 48px rgba(0,0,0,.22)}
.hs-masthead:before,.hs-masthead:after{content:'';position:absolute;height:1px;left:27px;right:27px;background:linear-gradient(90deg,transparent,var(--hs-gold),transparent);opacity:.5}
.hs-masthead:before{top:14px}.hs-masthead:after{bottom:14px}
.hs-masthead-copy{z-index:1;max-width:660px}
.hs-masthead small{display:block;margin-bottom:10px;color:var(--hs-gold);font:800 11px/1.3 system-ui,sans-serif;letter-spacing:.17em}
.hs-masthead h2{margin:0 0 10px;color:#ffedd0;font:500 clamp(36px,5vw,63px)/1.03 Georgia,serif;letter-spacing:.025em;text-shadow:0 3px 14px rgba(0,0,0,.45)}
.hs-masthead p{margin:0;color:#c9c8bf;font-size:14px;line-height:1.55}
.hs-emblem{flex:none;z-index:0;display:grid;place-items:center;width:120px;height:120px;border:1px solid rgba(222,169,91,.38);border-radius:50%;color:#dfa76a;background:radial-gradient(circle,rgba(183,117,53,.15),transparent 68%);font-size:79px;filter:drop-shadow(0 0 16px rgba(231,155,80,.22))}
.hs-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:17px 24px;border:1px solid var(--hs-edge);border-top:0;background:#1a2225}
.hs-bar label{display:flex;align-items:center;gap:11px;font-size:10px;letter-spacing:.13em;font-weight:800;color:#c5a57e}
.hs-bar select{min-width:min(290px,50vw);padding:12px 40px 12px 14px;border:1px solid #635340;border-radius:6px;background:#10181b;color:#fff1d9;font:700 15px/1.2 system-ui,sans-serif;cursor:pointer}
.hs-bar button{min-height:43px;padding:12px 16px;border:1px solid #887150;border-radius:5px;background:linear-gradient(#43392c,#302d27);color:#f8ddb7;font:800 11px/1.1 system-ui,sans-serif;letter-spacing:.06em;cursor:pointer}
.hs-bar :focus-visible{outline:3px solid #f0cb86;outline-offset:3px}
.hs-bar button:disabled{opacity:.58;cursor:wait}
.hs-rule{display:flex;justify-content:space-between;gap:8px 15px;flex-wrap:wrap;border-inline:1px solid var(--hs-edge);padding:13px 24px;background:#121a1e;color:#adb3ac;font-size:11px;letter-spacing:.035em}
.hs-rule b{color:#edd4a9}
.hs-state{min-height:35px;padding:10px 22px 7px;color:#adbdba;font-size:12px;background:#111a1d;border-inline:1px solid var(--hs-edge)}
.hs-state.hs-error{color:#f2a58f}.hs-state.hs-loading{color:#d8be8e}
.hs-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;padding:15px 19px 20px;background:#111a1d;border-inline:1px solid var(--hs-edge)}
.hs-podium-card{position:relative;text-align:center;padding:19px 12px 17px;border:1px solid #514334;border-radius:8px;background:radial-gradient(circle at 50% 15%,rgba(187,141,72,.14),transparent 65%),linear-gradient(#212629,#161c20);min-width:0;overflow:hidden}
.hs-podium-card.hs-pos-1{border-color:#c19859;box-shadow:inset 0 0 30px rgba(190,145,68,.09)}
.hs-podium-card>small{color:#bfa479;font-size:10px;font-weight:800;letter-spacing:.14em}
.hs-podium-symbol{margin:9px 0 2px;color:#e9c27f;font-size:31px}
.hs-pos-2 .hs-podium-symbol{color:#c9d0ce}.hs-pos-3 .hs-podium-symbol{color:#c99777}
.hs-podium-card h3{margin:8px 0 5px;color:#fae7c9;font:500 clamp(16px,2vw,23px)/1.2 Georgia,serif;overflow-wrap:anywhere}
.hs-podium-card p{margin:0 0 14px;color:#aeb9b5;font-size:12px;overflow-wrap:anywhere}
.hs-podium-score{display:flex;justify-content:center;align-items:baseline;gap:10px;flex-wrap:wrap;border-top:1px solid #4c433b;padding-top:12px}
.hs-podium-score b{color:#ffdb9c;font:700 15px/1.2 system-ui,sans-serif}.hs-podium-score span{font-size:12px;color:#c3b49d}
.hs-table-wrap{border:1px solid var(--hs-edge);border-top:0;overflow-x:auto;background:#161e22}
.hs-table{width:100%;border-collapse:collapse;white-space:nowrap;font:13px/1.45 system-ui,sans-serif}
.hs-table thead{background:#202a2d}
.hs-table th{padding:16px 19px;color:#d9b98a;font-size:10px;font-weight:800;letter-spacing:.11em;text-align:left}
.hs-table td{padding:14px 19px;border-top:1px solid #303738;color:#bcc5c2}
.hs-table td strong{color:#f3e6d2;font-weight:700}
.hs-table tr:nth-child(2n){background:rgba(255,255,255,.025)}
.hs-table .hs-rank,.hs-table .hs-level,.hs-table .hs-xp{font-variant-numeric:tabular-nums}
.hs-table .hs-rank{color:#e5b87b;font-weight:800}
.hs-table .hs-level,.hs-table .hs-xp{color:#fff0d7;font-weight:700}
.hs-own{background:rgba(124,152,97,.13)!important}
.hs-empty{padding:52px 20px 60px;text-align:center;background:#141d21;border:1px solid var(--hs-edge);border-top:0}
.hs-empty span{display:block;color:#ad926a;font-size:46px}.hs-empty h3{margin:8px 0;color:#ecd7b7;font:500 23px Georgia,serif}.hs-empty p{color:#a8b4b1;font-size:13px}
.hs-board-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px 24px 20px;border:1px solid var(--hs-edge);border-top:0;border-radius:0 0 10px 10px;background:#10191d;font-size:11px;color:#95a39f}
.hs-site{margin:0;min-height:100vh;color:#eee1cd;background:#0d1317;font-family:system-ui,-apple-system,Segoe UI,sans-serif}
.hs-site-header{display:flex;max-width:1180px;align-items:center;justify-content:space-between;gap:16px;margin:0 auto;padding:25px 22px 17px}
.hs-site-brand{text-decoration:none;color:#f5dbac;font:600 26px/1 Georgia,serif;letter-spacing:.12em}
.hs-site-brand small{display:block;font:700 10px/1.5 system-ui,sans-serif;letter-spacing:.22em;color:#a59882;margin-top:5px}
.hs-site-nav{color:#e5c596;text-decoration:none;border-bottom:1px solid #907657;padding:8px 0;font-size:13px}
.hs-site-main{padding:15px 20px 65px}
.hs-site-footer{text-align:center;color:#798e8c;font-size:11px;padding:0 20px 26px}
@media(max-width:710px){
 .hs-masthead{padding:25px 18px;min-height:155px}
 .hs-masthead p{font-size:12px}
 .hs-emblem{width:64px;height:64px;font-size:42px}
 .hs-bar{padding:12px 13px}
 .hs-bar label{flex:1;min-width:0}
 .hs-bar select{min-width:0;width:100%;font-size:14px}
 .hs-bar button{width:100%}
 .hs-rule{padding:10px 15px;font-size:10px}
 .hs-podium{gap:5px;padding:9px 7px 15px}
 .hs-podium-card{padding:11px 6px}
 .hs-podium-symbol{font-size:24px}
 .hs-podium-card>small{font-size:9px}
 .hs-podium-card h3{font-size:15px}
 .hs-podium-card p{font-size:10px}
 .hs-podium-score{gap:3px}
 .hs-podium-score b{font-size:12px}
 .hs-podium-score span{font-size:10px}
 .hs-table th,.hs-table td{padding:12px 10px}
 .hs-table{font-size:12px}
 .hs-site-main{padding:8px 10px 45px}
 .hs-site-header{padding:20px 12px 10px}
}
@media(prefers-reduced-motion:reduce){.hs-board *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
