/* UI.4: horizontal editorial cards. Existing tier architecture remains beneath. */
.hall-world .hall-channel{display:block;text-align:left;padding:19px 18px;min-height:44px;overflow:hidden}
.hall-world .hall-channel>*{min-width:0}
.hall-world .hall-runners{grid-template-columns:minmax(0,1fr);gap:10px}
.hall-world .hall-runner{padding:16px 17px}
.hall-world .hall-identity{display:flex;gap:13px;align-items:center}
.hall-world .hall-identity-text{flex:1;min-width:0}
.hall-world .hall-channel .online59-avatar{width:48px;height:48px;flex:0 0 48px;margin:0;border-radius:14px;background:#11131899;display:grid;place-items:center}
.hall-world .hall-channel .online59-avatar svg{width:27px;height:27px}
.hall-world .hall-hero .online59-avatar{width:58px;height:58px;flex-basis:58px;border-radius:17px}
.hall-world .hall-channel .hall-name{font-size:19px;line-height:1.5;margin:0!important;text-align:left;letter-spacing:-.025em;background:none;white-space:normal;overflow-wrap:anywhere}
.hall-world .hall-hero .hall-name{font-size:24px;font-weight:700}
.hall-current-rank{display:inline-block;margin-top:5px;font-size:13px;line-height:1.5;font-weight:700;letter-spacing:.02em;border:1px solid color-mix(in srgb,currentColor 38%,transparent);background:#0b0c118c;border-radius:5px;padding:3px 8px}
.hall-world .hall-earned{display:flex;align-items:baseline;gap:8px;margin:10px 0 0 61px;flex-wrap:wrap}
.hall-world .hall-hero .hall-earned{margin-left:71px}
.hall-earned>small{font-size:12px;color:var(--soft);line-height:1.5;flex-shrink:0}
.hall-world .hall-earned .online59-title{font-size:13px;line-height:1.6;margin:0;padding:0;border:0;background:none;box-shadow:none;max-width:100%;white-space:normal;text-align:left;animation:none}
.hall-world .hall-stat{display:flex;align-items:baseline;justify-content:flex-start;gap:7px;flex-wrap:wrap;margin:14px 0 0 61px;background:none;line-height:1.5}
.hall-world .hall-hero .hall-stat{margin-left:71px}
.hall-world .hall-stat small{font-size:12px;color:var(--soft);letter-spacing:0}
.hall-world .hall-stat strong{font-size:23px;font-variant-numeric:tabular-nums;letter-spacing:-.025em;overflow-wrap:anywhere;line-height:1.35;max-width:100%}
.hall-world .hall-hero .hall-stat strong{font-size:29px}
.hall-stat>span{font-size:12px;color:var(--soft)}
.hall-featured{margin:14px 0 0;padding-top:12px;border-top:1px solid color-mix(in srgb,var(--hall-color) 17%,transparent)}
.hall-featured>small{display:block;font-size:12px;color:var(--soft);margin-bottom:5px}
.hall-video-title{display:block;font-size:16px;font-weight:500;line-height:1.55;overflow-wrap:anywhere;white-space:normal}
.hall-world .hall-hero .hall-video-title{font-size:18px}
.hall-video-views{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-top:8px}
.hall-video-views strong{font-size:25px;font-variant-numeric:tabular-nums;letter-spacing:-.025em;line-height:1.4;overflow-wrap:anywhere;max-width:100%}
.hall-hero .hall-video-views strong{font-size:32px}
.hall-video-views small,.hall-video-empty{font-size:13px;line-height:1.6;color:var(--soft)}
.hall-world .hall-selection-note{font-size:12px;line-height:1.7;margin:-2px 0 12px;color:var(--soft)}
/* A small edge layer breathes only when visible; no moving light crosses text. */
.hall-world .hall-aura{position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;opacity:.35;background:linear-gradient(90deg,transparent,var(--hall-color),transparent) top/100% 2px no-repeat,linear-gradient(180deg,var(--hall-color),transparent 80%) left/2px 100% no-repeat,linear-gradient(180deg,var(--hall-color),transparent 80%) right/2px 100% no-repeat;box-shadow:inset 0 0 16px color-mix(in srgb,var(--hall-color) 12%,transparent)}
.hall-tier-diamond .hall-aura{background:linear-gradient(140deg,transparent 20%,var(--hall-color) 50%,transparent 80%) top/100% 3px no-repeat,linear-gradient(180deg,var(--hall-color),transparent) right/3px 100% no-repeat}
.hall-tier-master .hall-aura{border-top:2px solid var(--hall-color)}
.hall-tier-legend .hall-aura{background:linear-gradient(180deg,transparent,var(--hall-color),transparent) left/2px 100% no-repeat,linear-gradient(180deg,transparent,var(--hall-color),transparent) right/2px 100% no-repeat}
.hall-tier-world .hall-aura{border:1px solid color-mix(in srgb,var(--hall-color) 65%,transparent)}
/* World canopy moves to the edge so the horizontal identity remains clean. */
.hall-tier-world .hall-hero::after{background:radial-gradient(ellipse 70px 30px at 90% -8px,transparent 94%,#ffe29477 95% 96%,transparent 97%),radial-gradient(ellipse 26px 30px at 90% -8px,transparent 94%,#ffe29438 95% 96%,transparent 97%),radial-gradient(circle at 94% 88%,#ffe29466 0 1px,transparent 2px)}
.hall-tier-master .hall-hero{border-radius:25px 25px 8px 8px}
@media(min-width:900px){.hall-world .hall-runners{grid-template-columns:repeat(2,minmax(0,1fr))}.hall-world .hall-hero{padding:26px}.hall-world .hall-hero .hall-name{font-size:28px}.hall-world .hall-runner .hall-name{font-size:20px}}
@media(max-width:374px){.hall-world .hall-channel{padding:17px 14px}.hall-world .hall-runner{padding:14px}.hall-world .hall-channel .hall-name{font-size:18px}.hall-world .hall-hero .hall-name{font-size:22px}.hall-world .hall-identity{gap:10px}.hall-world .hall-earned,.hall-world .hall-stat{margin-left:0}.hall-world .hall-hero .hall-earned,.hall-world .hall-hero .hall-stat{margin-left:0}}
/* One existing motion per event. These replace generic popup animations, not stack.
   No exit delay: controls close immediately. Result chart and rank stay untouched. */
@media(prefers-reduced-motion:no-preference){
 .game-shell button:not(:disabled):active,.game-modal button:not(:disabled):active,.hall-world button:not(:disabled):active{translate:0 1px}
 [role=tabpanel][data-state=active]{animation:cw4-panel-in 160ms ease-out}
 .game-modal:not(.result-modal)[data-state=open]{animation:cw4-popup-in 140ms ease-out!important}
 .game-modal[data-state=closed]{animation:none!important;transition:none!important}
}
@keyframes cw4-panel-in{from{opacity:.75}to{opacity:1}}
@keyframes cw4-popup-in{from{opacity:.7}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 .hall-world .hall-aura{opacity:.35}.hall-world .hall-channel{transition:none}
 .game-shell button,.game-modal button{translate:none!important}
 [role=tabpanel],.game-modal,.v56-promotion[open],.tier58-promotion[open],.cash55-coin{animation:none!important;transition:none!important}
 .cash55-coin{display:none!important}
}
/* Override the retained UI.2 avatar margins and full-width statistic explicitly. */
.hall-world .hall-channel .online59-avatar{margin:0!important}
.hall-world .hall-stat{width:auto}
.hall-world .hall-runner .hall-identity-text{display:flex;align-items:center;gap:5px 8px;flex-wrap:wrap}
.hall-world .hall-runner .hall-name{width:auto;flex:0 1 auto}
.hall-world .hall-runner .hall-current-rank{margin-top:0;flex:0 0 auto}
.hall-world .hall-runner .hall-featured{margin-top:12px;padding-top:0;border:0}
.hall-world .hall-runner .hall-featured>small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hall-world .hall-runner .hall-video-views{margin-top:5px}
.hall-world .hall-runner .hall-video-views strong{font-size:23px}
html[data-cw-reduced=true] [role=tabpanel],html[data-cw-reduced=true] .game-modal{animation:none!important;transition:none!important}
html[data-cw-reduced=true] button{translate:none!important}
.hall-number-group{display:inline-block;white-space:nowrap;overflow-wrap:normal}
.hall-video-views strong.hall-large-number,.hall-world .hall-stat strong.hall-large-number{font-size:26px;overflow-wrap:normal}
.hall-world .hall-runner .hall-video-views strong.hall-large-number{font-size:23px}
