/* Softer desktop contours: paint only; preserve sizes, clipping and focus outlines. */
@media(min-width:901px){
 html body :is(.game-card,.profile-card,.profile-card>dl>div,.profile-account-grid>section,.profile-account-grid>article,.profile-account-grid>div,.profile-connections>div,.premium-card,.avatar-card,.settings-section,.review-form,.download-release,.tag-search,.tags-cloud button,.library-shelf,.topbar,.search,.language-menu,.custom-select-menu,.hall-own,.hall-plinth,.hall-moderation article){border-color:rgba(176,158,205,.21);background-clip:padding-box;box-shadow:0 0 1.4px rgba(180,158,218,.13),0 8px 28px rgba(3,4,13,.17),inset 0 1px rgba(255,255,255,.025)}
 html body .profile-card.premium-profile{border-color:rgba(112,181,218,.31);box-shadow:0 0 1.5px rgba(116,176,218,.19),0 18px 48px rgba(48,34,112,.15),inset 0 1px rgba(255,255,255,.025)}
 html body :is(dialog.community-dialog,.game-sheet,.login-panel>div){border-color:rgba(178,157,211,.25);background-clip:padding-box;box-shadow:0 0 1.5px rgba(177,151,217,.24),0 25px 80px rgba(0,0,0,.48)}
 html body :is(.profile-cover-edit,.profile-cover-remove,.history-nav button,.hall-dialog button,.custom-select-trigger){border-color:rgba(173,157,200,.30);background-clip:padding-box;box-shadow:0 0 1px rgba(166,152,196,.12),inset 0 1px rgba(255,255,255,.035)}
 html body .game-card:hover{border-color:rgba(191,163,225,.34)}
 html body .hall-place-1 .hall-plinth{border-color:rgba(224,184,101,.40)}
}
/* Match the profile's existing effects instead of approximating them. */
.hall-dialog .hall-avatar-shell{position:relative;display:inline-flex;align-items:center;justify-content:center;contain:none;overflow:visible;isolation:isolate;width:84px;height:84px;border-radius:24px;font-size:34px;margin:0 0 3px;flex:none;border:0!important;background:none!important;box-shadow:none!important}
.hall-dialog .hall-place-1 .hall-avatar-shell{width:108px;height:108px;border-radius:29px}
.hall-dialog .hall-avatar-shell>.user-avatar{width:100%;height:100%;border-radius:inherit;font-size:inherit;flex:none;margin:0}
.hall-dialog .hall-avatar-shell>.photo-avatar>img,.hall-dialog .hall-avatar-shell>.photo-avatar>video{display:block;position:absolute!important;inset:0;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none;max-height:none;border-radius:inherit;object-fit:cover}
.hall-dialog .hall-avatar-shell>.avatar-effect{contain:none;overflow:visible!important}
.hall-dialog .hall-podium{gap:20px;padding-top:22px;margin-top:14px}
.hall-dialog .hall-podium-place{overflow:visible;isolation:isolate}
.hall-dialog .hall-medal,.hall-dialog .hall-podium .hall-player{position:relative;z-index:3}
.hall-dialog .hall-player{overflow:visible}
.hall-dialog .hall-podium .hall-player{font-size:16px;margin:16px 0 7px;padding:4px 7px;min-height:44px;line-height:1.5}
.hall-dialog .hall-player .nickname-style{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere;padding:2px 4px;margin:-2px -4px;line-height:1.5;font-synthesis:none;-webkit-text-stroke:0}
.hall-dialog .hall-list .hall-avatar-shell{width:44px;height:44px;border-radius:14px;font-size:21px}
.hall-dialog .hall-list article{gap:16px;padding-block:16px}
.hall-dialog .hall-content.community-body{max-height:calc(100dvh - 235px)}
/* Two small compositor-animated star layers. No canvas, timers or content blur. */
.hall-dialog{isolation:isolate}
.hall-dialog::before,.hall-dialog::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;transform-origin:center;opacity:.4}
.hall-dialog::before{background-image:radial-gradient(circle at 7% 17%,#e5d6ff 0 .6px,transparent 1.5px),radial-gradient(circle at 23% 42%,#c9e7ff 0 .7px,transparent 1.6px),radial-gradient(circle at 42% 13%,#fff1c4 0 .5px,transparent 1.5px),radial-gradient(circle at 73% 27%,#dfd4ff 0 .7px,transparent 1.6px),radial-gradient(circle at 92% 51%,#b4e7ff 0 .5px,transparent 1.5px),radial-gradient(circle at 58% 69%,#e2caff 0 .6px,transparent 1.5px),radial-gradient(circle at 17% 86%,#d7d5ff 0 .6px,transparent 1.5px),radial-gradient(circle at 83% 89%,#f5dba7 0 .5px,transparent 1.5px);animation:hall-stars-drift 18s ease-in-out infinite alternate}
.hall-dialog::after{background:radial-gradient(ellipse at 26% 28%,rgba(134,97,204,.10),transparent 53%),radial-gradient(ellipse at 82% 78%,rgba(72,147,184,.08),transparent 52%);animation:hall-atmosphere 22s ease-in-out infinite alternate;opacity:.65}
.hall-dialog>.hall-header,.hall-dialog>.hall-toolbar,.hall-dialog>.hall-content{position:relative;z-index:1}
@keyframes hall-stars-drift{from{transform:translate3d(0,7px,0);opacity:.28}to{transform:translate3d(4px,-8px,0);opacity:.6}}
@keyframes hall-atmosphere{from{transform:translate3d(-5px,0,0);opacity:.45}to{transform:translate3d(7px,5px,0);opacity:.8}}
html.window-inactive .hall-dialog::before,html.window-inactive .hall-dialog::after{animation-play-state:paused}
.hall-dialog:not([open])::before,.hall-dialog:not([open])::after{animation:none}
@media(max-width:600px){
 .hall-dialog .hall-avatar-shell{width:62px;height:62px;border-radius:19px;font-size:27px}.hall-dialog .hall-place-1 .hall-avatar-shell{width:82px;height:82px;border-radius:24px}
 .hall-dialog .hall-podium{gap:12px;padding-top:19px}.hall-dialog .hall-podium .hall-player{font-size:13px;margin-top:13px;min-height:42px;padding-inline:3px}
 .hall-dialog .hall-list .hall-avatar-shell{width:38px;height:38px;border-radius:12px;font-size:18px}.hall-dialog .hall-list article{gap:12px}
 .hall-dialog .hall-content.community-body{max-height:calc(100dvh - 235px)}
}
@media(prefers-reduced-motion:reduce){.hall-dialog::before,.hall-dialog::after{animation:none!important}.hall-dialog .nickname-style,.hall-dialog .avatar-effect,.hall-dialog .avatar-effect::before,.hall-dialog .avatar-effect::after{animation:none!important}}

.hall-dialog button.hall-player{box-shadow:none}

/* Place is its own accent at any rank, without animating the profile layout. */
.profile-card .hall-profile-entry .hall-rank-number{display:inline-block;padding:1px 6px;margin:0 2px;border-radius:6px;background:linear-gradient(110deg,#b98028,#efd49a);color:#2a1c22;box-shadow:0 0 10px #e6b45322;font:750 1.06em/1.45 system-ui,sans-serif;vertical-align:baseline;white-space:nowrap;text-shadow:none}
.hall-dialog .hall-podium .hall-avatar-shell,.hall-dialog .hall-podium .hall-empty{width:96px;height:96px;border-radius:27px}
.hall-dialog .hall-podium .hall-place-1 .hall-avatar-shell,.hall-dialog .hall-podium .hall-place-1 .hall-empty{width:120px;height:120px;border-radius:32px}
/* No drifting gradients or moving circles: stars only breathe in opacity. */
.hall-dialog::after{content:none;animation:none!important}
.hall-dialog::before{transform:none!important;animation:hall-stars-breathe 7s ease-in-out infinite alternate}
@keyframes hall-stars-breathe{from{opacity:.24}to{opacity:.50}}
.hall-new{display:inline-flex;align-items:center;vertical-align:middle;flex:none;padding:3px 7px;border:1px solid #63d5a13b;border-radius:6px;background:#43bd8219;color:#8ce5b8;font:700 10px/1.25 system-ui,sans-serif;letter-spacing:.05em;white-space:nowrap;text-shadow:none;box-shadow:none}
.hall-header h2 .hall-new{margin-inline-start:6px;vertical-align:middle}
.platforms .hall-entry{display:inline-flex;align-items:center;justify-content:center;gap:7px}
@media(max-width:600px){
 .hall-dialog .hall-podium .hall-avatar-shell,.hall-dialog .hall-podium .hall-empty{width:68px;height:68px;border-radius:21px}
 .hall-dialog .hall-podium .hall-place-1 .hall-avatar-shell,.hall-dialog .hall-podium .hall-place-1 .hall-empty{width:88px;height:88px;border-radius:26px}
 .hall-header h2 .hall-new{font-size:9px;padding:3px 5px;margin-inline-start:3px}.platforms .hall-entry .hall-new{font-size:9px;padding:3px 5px}
}
@media(prefers-reduced-motion:reduce){.hall-dialog::before{animation:none!important}}
