/* Native controls remain usable without JavaScript, including touch and Edge. */
body.reason-theme .hs-page { padding-bottom: 84px; }
body.reason-theme .hs-page .hs-heading { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; margin-bottom: 12px; }
body.reason-theme .hs-page .hs-head { margin-bottom: 28px; }
body.reason-theme .hs-page nav { height: auto; line-height: normal; box-shadow: none; }
body.reason-theme .hs-tabs, body.reason-theme .hs-pager { background: transparent!important; border-color: #bc987320!important; }
body.reason-theme .hs-tabs { gap: 10px; }
body.reason-theme .hs-tabs a { display: inline-flex; align-items: center; padding: 14px 20px; border-radius: 10px; line-height: 1.4; transition: background .2s, border-color .2s, transform .2s; }
body.reason-theme .hs-tabs a.active { color: #fff4ed; background: linear-gradient(135deg, #912832, #42151e); border-color: #bc5155; box-shadow: 0 7px 28px #671d2429; }
body.reason-theme .hs-tabs a:hover { border-color: #d17970; transform: translateY(-2px); }
body.reason-theme .hs-controls { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; padding: 24px; margin: 24px 0; border: 1px solid #d19b6230; border-radius: 16px; background: radial-gradient(ellipse at top left, #802b2522, transparent 65%), #151216; box-shadow: 0 18px 40px #0003; }
body.reason-theme .hs-controls > div { min-width: 0; }
body.reason-theme .hs-controls label { display: block; position: static; margin: 0 0 8px; color: #dccac0; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transform: none; }
body.reason-theme .hs-controls input[type="search"],
body.reason-theme .hs-controls select { display: block !important; position: static !important; box-sizing: border-box; width: 100% !important; height: 48px !important; min-height: 48px; margin: 0 !important; padding: 0 13px; border: 1px solid #a08b7a47 !important; border-radius: 8px; opacity: 1 !important; pointer-events: auto !important; appearance: auto; color: #f3e8df; background: #0f0e12 !important; font: inherit; font-size: 15px; box-shadow: none !important; }
body.reason-theme .hs-controls select { padding-right: 8px; color-scheme: dark; }
body.reason-theme .hs-controls input::placeholder { color: #998e88; }
body.reason-theme .hs-controls .hs-control-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; grid-column: span 2; }
body.reason-theme .hs-controls button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 12px 23px; border: 1px solid #d7877380; border-radius: 8px; color: #fff8ee; font: inherit; font-weight: 750; background: linear-gradient(135deg, #a83640, #621b29); cursor: pointer; }
body.reason-theme .hs-controls button:hover { background: linear-gradient(135deg, #c0484d, #812433); }
body.reason-theme .hs-reset { min-height: 48px; display: inline-flex; align-items: center; color: #d8c2b1; text-decoration: underline; text-underline-offset: 4px; }
body.reason-theme .hs-rate-note { grid-column: 1 / -1; margin: 0; color: #b8aaa2; font-size: 12px; line-height: 1.6; }
body.reason-theme .hs-board { grid-template-columns: 230px minmax(0, 1fr); gap: 22px; }
body.reason-theme .hs-skills { overflow: hidden; border-color: #c09a7029; border-radius: 12px; background: #141115; }
body.reason-theme .hs-skills h2 { padding: 19px 16px; color: #d6b58d; font-size: 12px; letter-spacing: .1em; background: #af694311; }
body.reason-theme .hs-skills a { min-height: 46px; padding: 10px 14px; color: #c9bdb6; font-size: 13px; line-height: 1.5; transition: color .18s, background .18s; }
body.reason-theme .hs-skills a.active,
body.reason-theme .hs-skills a:hover { color: #ffe9c9; background: linear-gradient(90deg, #a8323a44, #a8323a08); }
body.reason-theme .hs-skills a.active { box-shadow: inset 3px 0 #d77765; }
body.reason-theme .hs-skills img { flex-shrink: 0; width: 24px; height: 24px; object-fit: contain; }
body.reason-theme .hs-boss-list { max-height: 920px; overflow-y: auto; scrollbar-color: #77403a #171215; scrollbar-width: thin; }
body.reason-theme .hs-table-panel { min-width: 0; border-radius: 14px; border-color: #be956830; background: linear-gradient(150deg, #24181d, #100e12 50%); }
body.reason-theme .hs-results-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 22px; border-bottom: 1px solid #bc987329; }
body.reason-theme .hs-results-heading > span { color: #f5e7da; font-size: 16px; font-weight: 700; }
body.reason-theme .hs-results-heading small { color: #c2aa98; font-size: 12px; }
body.reason-theme .hs-table-panel .reason-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.reason-theme .hs-table-panel .reason-table { min-width: 720px; }
body.reason-theme .hs-page .reason-table th { color: #c4a789; background: #0c0b0f77; font-size: 11px; letter-spacing: .06em; }
body.reason-theme .hs-page .reason-table th,
body.reason-theme .hs-page .reason-table td { padding: 18px 15px; }
body.reason-theme .hs-page .reason-table tbody tr { transition: background .2s; }
body.reason-theme .hs-page .reason-table tbody tr:hover { background: #9d524514; }
body.reason-theme .hs-page .hs-rank-number { color: #c4b6aa; font-variant-numeric: tabular-nums; }
body.reason-theme .hs-page .hs-podium-row .hs-rank-number { display: inline-flex; min-width: 40px; min-height: 35px; align-items: center; justify-content: center; border-radius: 8px; background: #d3a65712; border: 1px solid #d3a65744; }
body.reason-theme .hs-page .hs-podium-1 .hs-rank-number { color: #f3cc7d; }
body.reason-theme .hs-page .hs-podium-2 .hs-rank-number { color: #d6dce9; border-color: #b6bfda44; }
body.reason-theme .hs-page .hs-podium-3 .hs-rank-number { color: #db9c79; border-color: #db9c7944; }
body.reason-theme .hs-page .hs-player-link { color: #f1e1d2; }
body.reason-theme .hs-page .hs-mode-pill,
body.reason-theme .hs-page .hs-xp-pill { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid #b48a6140; border-radius: 6px; color: #e5c8a8; background: #ac814811; font-size: 11px; line-height: 1.5; white-space: nowrap; }
body.reason-theme .hs-page .hs-xp-pill { color: #c0d8d0; border-color: #8baea330; background: #5a8d7914; }
body.reason-theme .hs-empty { height: 220px; text-align: center; white-space: normal; }
body.reason-theme .hs-empty strong,
body.reason-theme .hs-empty span { display: block; }
body.reason-theme .hs-empty strong { color: #f1dbc2; font-size: 20px; margin-bottom: 12px; }
body.reason-theme .hs-empty span { max-width: 430px; margin: auto; color: #b7a89c; line-height: 1.7; }
body.reason-theme .hs-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; padding: 18px; border-top: 1px solid #bc987320; }
body.reason-theme .hs-pager a { padding: 12px; border-radius: 7px; color: #eac9a4; font-size: 12px; text-align: center; }
body.reason-theme .hs-page-number { color: #a69689; font-size: 12px; }
body.reason-theme .hs-profile { padding-top: 44px; }
body.reason-theme .hs-profile .hs-heading { overflow-wrap: anywhere; }
body.reason-theme .hs-profile-modes { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
body.reason-theme .hs-profile-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0; }
body.reason-theme .hs-profile-stats > div { padding: 24px; border: 1px solid #b48a6130; border-radius: 12px; background: linear-gradient(140deg, #322020, #141014); }
body.reason-theme .hs-profile-stats span { display: block; margin-bottom: 10px; color: #bda38f; font-size: 12px; }
body.reason-theme .hs-profile-stats strong { color: #f6e2c5; font-size: clamp(22px, 2.3vw, 34px); overflow-wrap: anywhere; }
body.reason-theme .hs-profile-panel { border-radius: 14px; overflow: hidden; }
body.reason-theme .hs-page :is(a, button, input, select, [tabindex]):focus-visible { outline: 2px solid #e9b984 !important; outline-offset: 4px; }
.hs-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1000px) {
    body.reason-theme .hs-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.reason-theme .hs-controls .hs-control-actions { grid-column: 1 / -1; }
    body.reason-theme .hs-board { grid-template-columns: minmax(0, 1fr); }
    body.reason-theme .hs-board > .hs-skills { display: none; }
}
@media (max-width: 580px) {
    body.reason-theme .hs-controls { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px; border-radius: 12px; }
    body.reason-theme .hs-controls input[type="search"], body.reason-theme .hs-controls select { font-size: 16px; }
    body.reason-theme .hs-controls button { flex: 1; }
    body.reason-theme .hs-tabs { display: grid; grid-template-columns: 1fr 1fr; }
    body.reason-theme .hs-tabs a { padding: 12px; font-size: 11px; text-align: center; justify-content: center; }
    body.reason-theme .hs-pager { padding: 12px; gap: 4px; }
    body.reason-theme .hs-pager a { padding: 12px 6px; font-size: 11px; }
    body.reason-theme .hs-profile-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    body.reason-theme .hs-profile-stats > div { padding: 20px; }
    body.reason-theme .hs-profile-stats strong { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    body.reason-theme .hs-page *, body.reason-theme .hs-page *::before, body.reason-theme .hs-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
