.tg-top-games{grid-column:1/-1;min-width:0;padding:18px;border:1px solid #3a344c;border-radius:16px;background:linear-gradient(120deg,#191527,#141621);margin:16px 0;color:#f3effb;contain:layout style}
.tg-top-games>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.tg-top-games>header h3{margin:0!important;font-size:15px!important;font-weight:750!important;letter-spacing:0!important}.tg-top-games h3>span{color:#eac77e}.tg-top-games>header button{padding:7px 11px;border:1px solid #78659e66;border-radius:9px;background:#9b79dc12;color:#d6c4f6;font:inherit;font-size:12px;cursor:pointer;min-height:36px}
.tg-top-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tg-top-game{min-width:0;--top-a:#b56c55;--top-b:#34202f;--top-orb:#ffd4a2;--top-glow:#e6a488}.tg-top-tone-1{--top-a:#518e7e;--top-b:#122f35;--top-orb:#b9e1cc;--top-glow:#99d4c7}.tg-top-tone-2{--top-a:#9b7ac5;--top-b:#271e42;--top-orb:#dcc2ff;--top-glow:#c3a9eb}
.tg-top-poster,.tg-top-mini{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 73% 30%,var(--top-orb) 0 8%,transparent 9%),linear-gradient(155deg,var(--top-a),var(--top-b) 68%,#0e0d19);border:1px solid #ffffff1c;border-radius:11px}.tg-top-poster{display:flex;align-items:flex-end;width:100%;aspect-ratio:1.23;padding:13px;color:#fff!important;text-decoration:none;text-align:left;cursor:pointer;font:inherit;transition:border-color .16s}.tg-top-poster:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#0a0914e8,transparent 75%)}.tg-top-empty:after{content:"";position:absolute;z-index:-1;left:40%;top:4%;height:120%;width:28%;border-radius:50% 50% 15% 15%;background:linear-gradient(100deg,#ffffff20,#ffffff02);transform:rotate(-12deg)}
.tg-top-poster img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;z-index:-2}.tg-top-poster img[hidden]{display:none}.tg-top-poster strong{font-size:clamp(12px,1.2vw,19px);font-weight:800;line-height:1.13;overflow-wrap:anywhere;text-shadow:0 2px 8px #000a;max-width:100%;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tg-top-poster:hover{border-color:#b796e8}.tg-top-rank{position:absolute;top:8px;left:8px;border:1px solid #ffffff20;border-radius:6px;background:#10111dc9;color:#ece6f6;padding:3px 7px;font-size:11px;line-height:1.3}.tg-top-tone-0 .tg-top-rank{background:#e9c77c;color:#30231a;border-color:#ffe2a0}.tg-top-name{display:block;margin-top:8px;color:#f2edf9;text-decoration:none;font-size:13px;font-weight:700;overflow-wrap:anywhere;line-height:1.35}.tg-top-name:hover{text-decoration:underline}.tg-top-game>small{display:block;margin-top:5px;color:#b0a9bf;font-size:11px;line-height:1.35;overflow-wrap:anywhere}.tg-top-plus{position:absolute;inset:22% 0 auto;text-align:center;color:#fff6;font-size:30px;font-weight:400;pointer-events:none}
.public-profile-dialog .tg-top-games{margin:16px 0}.profile-card>.tg-top-games{margin:8px 0 18px;width:100%}.profile-card>.tg-top-games .tg-top-three{max-width:860px}.profile-card>.tg-top-games .tg-top-poster{aspect-ratio:1.6}
.tg-top-editor{width:min(600px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:0;background:#14131f;color:#f3effa;border:1px solid #4b3e62;border-radius:20px;box-shadow:0 24px 90px #0009;overflow:auto}.tg-top-editor::backdrop{background:#060610c9}.tg-top-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:17px 20px;border-bottom:1px solid #302b40}.tg-top-dialog-head h2{font-size:19px;margin:0}.tg-top-editor button{font:inherit;color:inherit;cursor:pointer;background:#252133;border:1px solid #4b405f;border-radius:9px;min-height:38px;padding:7px 11px}.tg-top-editor button:disabled{opacity:.4;cursor:default}.tg-top-dialog-body{padding:17px 20px}.tg-top-dialog-body>p{margin:0 0 15px;color:#b6adca;font-size:13px}.tg-top-edit-slots{display:grid;gap:8px;margin-bottom:19px}.tg-top-edit-slot{display:flex;align-items:center;gap:7px;--top-a:#b56c55;--top-b:#34202f;--top-orb:#ffd4a2}.tg-top-edit-slot.tg-top-tone-1{--top-a:#518e7e;--top-b:#122f35;--top-orb:#b9e1cc}.tg-top-edit-slot.tg-top-tone-2{--top-a:#9b7ac5;--top-b:#271e42;--top-orb:#dcc2ff}.tg-top-editor .tg-top-slot-select{flex:1;min-width:0;display:flex;align-items:center;gap:10px;text-align:left;padding:6px;font-size:12px}.tg-top-editor .tg-top-slot-select[aria-pressed=true]{border-color:#b998eb;background:#38294d}.tg-top-slot-select>span:last-child{overflow-wrap:anywhere}.tg-top-mini{width:35px;height:44px;flex-shrink:0;display:grid;place-items:center;border-radius:6px}.tg-top-mini img{position:absolute;width:100%;height:100%;object-fit:cover;z-index:-1}.tg-top-mini b{background:#12101db8;border-radius:4px;padding:0 4px}.tg-top-slot-actions{display:flex;gap:4px}.tg-top-editor .tg-top-slot-actions button{width:34px;padding:3px}.tg-top-search-label{display:grid;gap:7px;color:#c9bddc;font-size:12px}.tg-top-search-label input{width:100%;min-width:0;border:1px solid #514263;border-radius:10px;background:#0e0c18;color:#f1edf7;padding:11px 12px;font:inherit;font-size:16px}.tg-top-results{margin-top:10px;font-size:13px;color:#b9afc9;display:grid;gap:6px;min-height:24px}.tg-top-editor .tg-top-result{display:flex;align-items:center;gap:10px;text-align:left;padding:7px 9px;min-width:0}.tg-top-result>span:first-child{width:32px;height:40px;background:#383047;border-radius:5px;overflow:hidden;flex-shrink:0}.tg-top-result img{width:100%;height:100%;object-fit:cover}.tg-top-result>span:nth-child(2){min-width:0;flex:1}.tg-top-result strong{display:block;overflow-wrap:anywhere;font-size:12px}.tg-top-result small{display:block;color:#b1a6c2;font-size:11px}.tg-top-result i{font-style:normal;color:#d5bdf5}.tg-top-editor footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid #302b40}.tg-top-editor .tg-top-save-error{color:#ffb4b4;margin:12px 0 0}.tg-top-editor button.primary-action{background:linear-gradient(120deg,#7753a6,#465f89);border-color:#b495d077}
@media(max-width:600px){.tg-top-games{padding:13px;border-radius:14px}.tg-top-three{gap:8px}.tg-top-poster{padding:9px;aspect-ratio:.85}.tg-top-poster strong{font-size:12px}.tg-top-name{font-size:11px}.tg-top-game>small{font-size:10px}.tg-top-games>header h3{font-size:14px!important}.tg-top-games>header button{font-size:11px;min-height:40px}.tg-top-rank{top:6px;left:6px;font-size:10px;padding:3px 6px}.profile-card>.tg-top-games .tg-top-poster{aspect-ratio:.85}.tg-top-dialog-body{padding:14px}.tg-top-dialog-head{padding:14px}.tg-top-editor footer{padding:12px 14px}.tg-top-editor .tg-top-slot-select{font-size:11px}.tg-top-slot-actions{gap:3px}.tg-top-editor .tg-top-slot-actions button{width:29px;padding:2px}.tg-top-mini{width:29px;height:39px}}
@media(pointer:coarse){.tg-top-games>header button,.tg-top-editor button{min-height:44px}.tg-top-slot-actions button{min-width:36px}}
@media(prefers-reduced-motion:reduce){.tg-top-poster{transition:none}}
/* Compact profile composition; typography follows the app rather than form defaults. */
.tg-top-games,.tg-top-editor,.tg-top-editor button,.tg-top-editor input{font-family:inherit}
.tg-top-games>header h3{font-size:15px!important;font-weight:700!important}.tg-top-game>small{font-size:11px}.tg-top-editor .tg-top-slot-select{font-size:13px;font-weight:600}.tg-top-editor footer button{font-size:14px;font-weight:600}.tg-top-editor footer .primary-action{flex:0 0 auto;min-width:140px;width:auto}
.tg-top-list-heading{margin-top:14px;font-size:12px;font-weight:650;color:#c5b6df}.tg-top-list-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.tg-top-list-pages span{font-size:12px;color:#b9abc9}.tg-top-results{min-height:48px}.tg-top-result:disabled{opacity:.45}
.profile-card .profile-identity>.tg-own-reputation{display:inline-flex;align-items:center;gap:7px;background:#a69cce19;border:1px solid #b8a7db26;border-radius:7px;color:#c9c0db;padding:5px 9px;font-size:12px!important;order:1;align-self:flex-start}.tg-own-reputation strong{color:#ece5f7;font-weight:700}.profile-card .profile-badges{order:-1!important}.profile-card .profile-name-row{order:0!important}
.tg-top-hall{grid-column:1/-1;min-width:0}.tg-top-hall:empty{display:none}.tg-top-hall .hall-profile-entry,.tg-top-hall .hall-public-rank{margin:0 0 14px!important;max-width:100%;width:max-content;font-size:12px!important;white-space:normal}
@media(min-width:1001px){
html body .profile-card{grid-template-columns:160px minmax(250px,1fr) minmax(340px,560px);column-gap:24px;align-items:start}
html body .profile-card>.profile-avatar-editor{grid-column:1;grid-row:2}
html body .profile-card>.profile-identity{grid-column:2;grid-row:2;min-width:0;align-self:start}
html body .profile-card>.tg-top-games{grid-column:3;grid-row:2;width:100%;margin:0;padding:13px;align-self:start}
.profile-card>.tg-top-games .tg-top-three{gap:9px;max-width:none}.profile-card>.tg-top-games .tg-top-poster{aspect-ratio:1.12;padding:10px}.profile-card>.tg-top-games .tg-top-poster strong{font-size:13px}.profile-card>.tg-top-games .tg-top-name{font-size:12px}
}
.public-profile-dialog .public-profile-hero>.tg-top-games{grid-column:1/-1;width:100%;margin:15px 0 0}
@media(max-width:1000px){.profile-card>.tg-top-games .tg-top-three{max-width:none}.profile-card>.tg-top-games{margin-bottom:0}.profile-card>.tg-top-hall{margin-top:0}.public-profile-dialog .profile-reputation{font-size:12px;gap:6px}.public-profile-dialog .profile-reputation span{margin-right:5px}}
@media(max-width:600px){html body .profile-card .profile-identity>.tg-own-reputation{font-size:11px!important;padding:4px 7px}.tg-top-editor .tg-top-slot-select{font-size:12px}.tg-top-editor .tg-top-slot-actions button{min-width:32px}.tg-top-editor footer{justify-content:space-between}.tg-top-games>header h3{font-size:14px!important}}
#gameSheet .meta-developer{color:#c6a6f4;text-decoration:underline;text-decoration-color:#ad8ada66;text-underline-offset:3px;font-weight:600}#gameSheet .meta-developer:hover{color:#e0caff}#gameSheet .developer-link{display:flex;align-items:center;gap:9px;margin:16px 0 13px;font:inherit;font-size:14px;font-weight:600}#gameSheet .developer-link svg{flex:none;color:#b7a1e0}
/* Keep reputation quiet, close to the name; preserve gold outside the hero too. */
html body .profile-card .profile-identity>.tg-own-reputation{background:none;border:0;border-radius:0;padding:0!important;margin:-3px 0 1px;gap:5px;color:#aaa4ba;font-size:13px!important;line-height:1.45;font-weight:400}.tg-own-reputation strong{color:#c5bed2;font-weight:500}
html body .public-profile-dialog .tg-plain-reputation{display:block;margin:3px 0 10px;padding:0;background:none;border:0;color:#aaa4ba;font-size:13px;line-height:1.45;font-weight:400}.tg-plain-reputation span{color:#c5bed2}
html body .tg-top-hall button.hall-public-rank,html body .tg-top-hall button.hall-profile-entry{display:block;padding:8px 12px;border:1px solid #c69a4a65;border-radius:10px;background:linear-gradient(110deg,#c3952614,#9576c20a);color:#e9d1a2;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;text-align:start;box-shadow:none}
html body .tg-top-hall .hall-public-rank-number,html body .tg-top-hall .hall-rank-number{display:inline-block;padding:2px 7px;border-radius:6px;margin-right:3px;background:linear-gradient(110deg,#bd8a35,#f0d99d);color:#302017;font-size:13px;font-weight:750;white-space:nowrap}
@media(min-width:1001px){
html body .profile-card{grid-template-columns:160px clamp(280px,24vw,400px) minmax(0,1fr);column-gap:28px}
html body .profile-card>.profile-identity{align-self:start;gap:8px}
html body .profile-card>.tg-top-games{padding:15px 17px;background:linear-gradient(120deg,#1d192b88,#16182799);border-color:#72628538}
.profile-card>.tg-top-games .tg-top-three{gap:12px}.profile-card>.tg-top-games .tg-top-poster{height:clamp(110px,8vw,150px);aspect-ratio:auto}.profile-card>.tg-top-games .tg-top-name{font-size:13px}.profile-card>.tg-top-games .tg-top-poster strong{font-size:14px}
}
/* Larger, identifiable game artwork in the picker; footer stays in reach. */
.tg-top-editor{width:min(720px,calc(100% - 24px))}.tg-top-editor[open]{display:flex;flex-direction:column;overflow:hidden}.tg-top-editor .tg-top-dialog-head,.tg-top-editor footer{flex-shrink:0}.tg-top-editor .tg-top-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}.tg-top-editor .tg-top-result{min-height:88px;padding:9px 11px;gap:14px}.tg-top-editor .tg-top-result>span:first-child{width:58px;height:72px;border-radius:7px}.tg-top-editor .tg-top-result strong{font-size:15px;line-height:1.35;font-weight:650}.tg-top-editor .tg-top-result small{font-size:12px;margin-top:5px}.tg-top-editor .tg-top-result i{font-size:20px}.tg-top-editor .tg-top-slot-select{font-size:14px}.tg-top-editor .tg-top-mini{width:42px;height:52px}
@media(max-width:600px){html body .profile-card .profile-identity>.tg-own-reputation{font-size:12px!important;margin:-1px 0 0}.tg-top-editor .tg-top-result{min-height:80px;padding:8px;gap:11px}.tg-top-editor .tg-top-result>span:first-child{width:49px;height:64px}.tg-top-editor .tg-top-result strong{font-size:14px}.tg-top-editor .tg-top-result small{font-size:12px}.tg-top-editor .tg-top-mini{width:33px;height:44px}.tg-top-editor .tg-top-slot-select{font-size:12px}.tg-top-dialog-body{padding:12px}}
html,body,#gameSheet{overscroll-behavior-y:none}.tg-top-editor,.tg-top-dialog-body{overscroll-behavior:none}
.tg-pull-refresh{position:fixed;z-index:90;left:50%;transform:translate(-50%,var(--pull,0px));display:flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #7f6ca655;border-radius:24px;background:#1b192ceb;color:#e0d1f4;box-shadow:0 5px 18px #0003;pointer-events:none;max-width:calc(100% - 28px)}.tg-pull-refresh[hidden]{display:none}.tg-pull-refresh span{font-size:22px;line-height:1}.tg-pull-refresh small{font-family:inherit;font-size:12px;font-weight:500;line-height:1.4}.tg-pull-refresh.is-ready{border-color:#baa0e7;color:#f3e9ff}

html body .library-hub .tg-recent-downloads>header{display:block;padding:12px 16px;margin-bottom:12px}html body .library-hub .tg-recent-downloads>header h3{font-size:17px}.tg-recent-shelf{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:9px;overscroll-behavior-x:contain}.tg-recent-game{flex:0 0 108px;min-width:0;color:#eee8f8;text-decoration:none;scroll-snap-align:start}.tg-recent-game>span{display:grid;place-items:center;width:108px;height:125px;border-radius:10px;overflow:hidden;background:#282135;color:#b39aca}.tg-recent-game img{width:100%;height:100%;object-fit:cover}.tg-recent-game>strong{display:block;font-size:12px;line-height:1.35;margin-top:7px;overflow-wrap:anywhere;font-weight:650}.tg-recent-game>small{display:block;font-size:11px;color:#aaa0b9;margin-top:3px}@media(max-width:600px){.tg-recent-game{flex-basis:94px}.tg-recent-game>span{width:94px;height:112px}}
/* Explicit foreground layers prevent fallback art bleeding through real covers. */
.tg-top-poster img{z-index:0}.tg-top-poster::before{z-index:1;pointer-events:none}.tg-top-poster strong,.tg-top-poster .tg-top-rank,.tg-top-poster .tg-top-plus{position:relative;z-index:2}.tg-top-poster .tg-top-rank{position:absolute}.tg-top-poster .tg-top-plus{position:absolute}.tg-top-empty::after{z-index:0;pointer-events:none}.tg-top-poster:has(img:not([hidden])){background:#151320}.tg-top-mini img{z-index:0}.tg-top-mini b{position:relative;z-index:1}
html body .tg-top-games{border-color:#9d7cd14d;box-shadow:0 0 22px #9770d30e,inset 0 1px 0 #e0c9ff09}html body .tg-top-games>header h3{font-size:18px!important;letter-spacing:.01em!important;color:#f1e5ff}
.tg-top-poster:not(.tg-top-empty) .tg-top-rank{font-size:10px;padding:3px 6px;border-radius:5px;box-shadow:0 1px 5px #0003}
@media(min-width:1001px){
html body .profile-card{grid-template-columns:clamp(190px,12vw,232px) clamp(300px,24vw,420px) minmax(0,1fr);column-gap:26px}
html body .profile-card>.profile-avatar-editor{width:clamp(190px,12vw,232px);height:clamp(190px,12vw,232px);margin-top:-36px}
html body .profile-card>.profile-identity{gap:10px;margin-top:0;justify-content:flex-start}
html body .profile-card .profile-name-row h3{font-size:clamp(32px,2.5vw,44px);line-height:1.25}
html body .profile-card .profile-badges .rank-badge,html body .profile-card .profile-badges .special-badge{font-size:12px;min-height:29px}
html body .profile-card .profile-identity>.tg-own-reputation{font-size:14px!important}
html body .profile-card .profile-identity>.hall-profile-entry{font-size:14px;padding:7px 11px}
html body .profile-card .profile-identity>[data-tg-guide-help]{order:-2;align-self:flex-start;margin:0 0 2px;padding:0;min-height:0;background:none;border:0;border-radius:0;color:#c0abd9;font-size:13px;line-height:1.5;text-underline-offset:3px}
html body .profile-card>.tg-top-games{border-color:#9d7cd14d;box-shadow:0 0 24px #9770d311,inset 0 1px 0 #e0c9ff0b}
}
@media(max-width:600px){html body .tg-top-games>header h3{font-size:16px!important}}

@media(max-width:600px){html body .profile-card>.tg-profile-details:empty{display:none}html body .profile-card>.tg-top-hall{margin:0}html body .profile-card>.tg-top-hall .hall-profile-entry{margin:0!important}html body .profile-card>.tg-top-games{margin:0}html body .profile-card>.tg-profile-tools{margin:0;padding-top:0;gap:9px}}

@media(min-width:1001px){
html body .profile-card{--tg-avatar-grow:clamp(36px,4vw,80px);grid-template-columns:calc(clamp(190px,12vw,232px) + var(--tg-avatar-grow)) calc(clamp(300px,24vw,420px) - var(--tg-avatar-grow)) minmax(0,1fr)}
html body .profile-card>.profile-avatar-editor{width:calc(clamp(190px,12vw,232px) + var(--tg-avatar-grow));height:calc(clamp(190px,12vw,232px) + var(--tg-avatar-grow));margin-top:calc(-36px - var(--tg-avatar-grow))}
}

@media(max-width:600px){html body .profile-card>.tg-top-hall button.hall-profile-entry{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;width:100%;min-height:46px;padding:10px 12px;font-size:12px!important;line-height:1.4}.tg-hall-mobile-title{display:flex;align-items:center;gap:5px;min-width:0;white-space:nowrap}.tg-hall-mobile-score{white-space:nowrap;text-align:right;color:#f2d89c}.tg-hall-mobile-dot{font-style:normal;color:#b9985f}.tg-hall-mobile-title .hall-rank-number{font-size:11px!important;margin:0!important;padding:2px 5px!important}}
@media(min-width:1001px){
html body .profile-card{grid-template-columns:clamp(190px,12vw,232px) clamp(260px,21vw,350px) minmax(0,1fr)}
html body .profile-card>.profile-avatar-editor{width:clamp(190px,12vw,232px);height:clamp(190px,12vw,232px);margin-top:-24px;clip-path:inset(-14px round 28%)}
html body .profile-card>.tg-top-hall{display:block;grid-column:1;grid-row:2;align-self:start;margin:calc(clamp(190px,12vw,232px) - 6px) 0 0;min-width:0}
html body .profile-card>.tg-top-hall:empty{display:none}
html body .profile-card>.tg-top-hall button.hall-profile-entry{width:100%;max-width:100%;min-height:42px;margin:0!important;padding:8px 10px;font-size:12px!important;line-height:1.6;white-space:normal}
}
html body .tg-top-games>header button[data-top-edit]{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 12px;border:1px solid #9d77ff6b;border-radius:12px;background:linear-gradient(145deg,#7c4cce33,#2dbcd41a);color:#ded3ff;font-family:inherit;font-size:12px;font-weight:700;line-height:1.25;letter-spacing:.015em;box-shadow:inset 0 1px #ffffff14,0 5px 16px #4a218029}
html body .tg-top-games>header button[data-top-edit]:hover{border-color:#68ddff9e;color:#fff}html body .tg-top-games>header button[data-top-edit]>span{font-size:15px;line-height:1}
@media(pointer:coarse){html body .tg-top-games>header button[data-top-edit]{min-height:44px}}

/* A reserved effects gutter, rather than a clipping mask. */
@media(min-width:1001px){
html body .profile-card{grid-template-columns:clamp(230px,16vw,292px) clamp(240px,18vw,320px) minmax(0,1fr);column-gap:26px}
html body .profile-card>.profile-avatar-editor{width:clamp(170px,11vw,212px);height:clamp(170px,11vw,212px);margin:-12px 0 0 32px;clip-path:none;overflow:visible}
html body .profile-card>.profile-identity{padding-top:4px;gap:10px}
html body .profile-card>.tg-top-hall{grid-column:1/3;grid-row:2;margin:calc(clamp(170px,11vw,212px) + 42px) 0 0;z-index:1}
}
html body .profile-card>.tg-top-hall button.hall-profile-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:11px 14px;line-height:1.4;white-space:nowrap}
.tg-hall-mobile-title{display:flex;align-items:center;gap:7px;min-width:0}.tg-hall-mobile-score{white-space:nowrap;color:#f2d89c}.tg-hall-mobile-dot{font-style:normal;color:#b9985f;margin-left:auto}
html body .tg-top-poster .tg-top-rank{display:grid;place-items:center;top:9px;left:9px;width:28px;height:28px;padding:0;border-radius:9px;background:#161724e6;border:1px solid #e5dcff5c;color:#f5f0ff;font-size:13px;font-weight:750;font-variant-numeric:tabular-nums;line-height:1;box-shadow:0 2px 8px #0005}
html body .tg-top-tone-0 .tg-top-rank{background:linear-gradient(145deg,#ffe6a4,#d4a54e);border-color:#ffe5a7;color:#443015}
html body .tg-top-tone-1 .tg-top-rank{border-color:#b3d8cf88}html body .tg-top-tone-2 .tg-top-rank{border-color:#cab0f188}
html body .profile-badge-picker{padding-bottom:18px;min-height:0}
html body .profile-badge-picker .avatar-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;align-items:start}
html body .profile-badge-picker .avatar-picker>label{display:grid;place-items:center;position:relative;min-width:0;padding:4px;cursor:pointer}
html body .profile-badge-picker .user-avatar{width:100%;height:auto;aspect-ratio:1;max-width:78px;border-radius:21%;font-size:32px}
.user-avatar>svg{width:55%;height:55%;flex-shrink:0;filter:drop-shadow(0 2px 4px #0003)}
html body .avatar-custom-choice{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-width:0;width:100%;max-width:86px;aspect-ratio:1;min-height:0;padding:7px;border:1px dashed #a18acb88;border-radius:18px;background:linear-gradient(135deg,#8866bd22,#3894a522);color:#d9c8ef;font:inherit;cursor:pointer}
.avatar-custom-choice>svg{width:30px;height:30px}.avatar-custom-choice small{font-size:10px;line-height:1.15;text-align:center}.avatar-custom-choice i{position:absolute;top:3px;right:5px;font-size:11px;font-style:normal;color:#efd497}
html body .library-hub .tg-recent-downloads>header{display:flex;align-items:center;justify-content:center;width:100%}
html body .library-hub .tg-recent-downloads>header h3{margin:0;text-align:center;flex:1;width:100%}
html body .tg-recent-shelf{width:100%}.tg-recent-game{flex:1 0 108px}.tg-recent-game>span{width:100%;height:clamp(125px,9vw,164px)}
.tg-recent-game:focus-visible{outline:2px solid #ad8ce2;outline-offset:3px;border-radius:10px}.tg-recent-game:hover>strong{color:#d8b9ff}
.star-picker button[data-rating="0"]{font-family:inherit;font-size:16px;font-weight:650;min-width:38px;border:1px solid #74688c66;border-radius:8px;margin-right:5px}
@media(max-width:600px){html body .profile-badge-picker .avatar-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tg-recent-game{flex:0 0 100px}.tg-recent-game>span{height:120px}html body .tg-top-poster .tg-top-rank{width:25px;height:25px;top:7px;left:7px;font-size:12px;border-radius:8px}html body .profile-card>.tg-top-hall button.hall-profile-entry{gap:6px;padding:10px;font-size:11px!important}}

.user-avatar:not(.photo-avatar){display:inline-grid;place-items:center}.user-avatar>svg{display:block;margin:auto}
.tg-review-invite .ri-stars button[data-ri-rating="0"]{font-family:inherit;font-size:19px;font-weight:700;line-height:1;color:#d5c9eb;min-width:32px}.tg-review-invite .ri-stars{gap:5px}

.user-avatar:not(.photo-avatar){position:relative}.user-avatar>svg{position:absolute;inset:22.5%;width:55%;height:55%;margin:0}

/* Enlarge toward the cover while keeping the avatar's lower edge and Hall row stable. */
@media(min-width:1001px){
html body .profile-card{grid-template-columns:calc(clamp(230px,16vw,292px) + 40px) clamp(240px,18vw,320px) minmax(0,1fr)}
html body .profile-card>.profile-avatar-editor{width:calc(clamp(170px,11vw,212px) + 52px);height:calc(clamp(170px,11vw,212px) + 52px);margin:-64px 0 0 24px;clip-path:none;overflow:visible}
}

/* Player card: badges above the name, reputation under it, ID at the lower left. */
html body .public-profile-dialog .public-profile-hero{grid-template-columns:188px minmax(0,1fr);gap:18px 24px;align-items:start}
html body .public-profile-dialog .public-profile-hero>.user-avatar{grid-column:1;grid-row:2;width:164px;height:164px;margin:-42px 0 0 8px!important;clip-path:none;overflow:visible!important}
html body .public-profile-dialog .public-profile-hero>.profile-identity{grid-column:2;grid-row:2;align-self:start;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;min-width:0;padding:0;margin:0}
html body .public-profile-dialog .profile-identity-badges{order:0;margin:0;gap:6px}
html body .public-profile-dialog .public-profile-hero .profile-identity h3{order:1;margin:0;padding:0;font-size:30px;line-height:1.25}
html body .public-profile-dialog .public-profile-hero .tg-plain-reputation{position:static;inset:auto;float:none;order:2;display:block;align-self:flex-start;width:auto;max-width:100%;margin:0;padding:0;transform:none;text-align:left;font-size:13px;line-height:1.4}
html body .public-profile-dialog .public-profile-hero>.public-copy-id{grid-column:1/-1;grid-row:3;justify-self:start;align-self:end;margin:4px 0 0;max-width:100%}
html body .public-profile-dialog .tg-top-hall{width:100%;margin:14px 0}
html body .public-profile-dialog .tg-top-hall:empty{display:none;margin:0}
html body .public-profile-dialog .tg-top-hall button.hall-public-rank{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:100%;margin:0!important;padding:12px 14px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.45;white-space:normal}
.tg-public-hall-title{display:flex;align-items:center;gap:7px;min-width:0}.tg-public-hall-points{white-space:nowrap;color:#f2d89c}
@media(max-width:600px){
html body .public-profile-dialog .public-profile-hero{grid-template-columns:126px minmax(0,1fr);gap:18px 18px;padding:16px}
html body .public-profile-dialog .public-profile-hero>.user-avatar{width:112px;height:112px;margin:-32px 0 0 6px!important}
html body .public-profile-dialog .public-profile-hero .profile-identity h3{font-size:25px}
html body .public-profile-dialog .public-profile-hero .profile-name-long h3{font-size:22px}
html body .public-profile-dialog .public-profile-hero .profile-name-very-long h3{font-size:19px}
html body .public-profile-dialog .public-profile-hero .profile-identity-badges .rank-badge,html body .public-profile-dialog .public-profile-hero .profile-identity-badges .special-badge{font-size:10px;padding:4px 6px;line-height:1.35;min-height:22px}
html body .public-profile-dialog .public-profile-hero .tg-plain-reputation{font-size:12px}
html body .public-profile-dialog .tg-top-hall button.hall-public-rank{font-size:12px;gap:8px;padding:11px}
}
@media(max-width:360px){html body .public-profile-dialog .public-profile-hero{grid-template-columns:108px minmax(0,1fr);gap:16px 16px;padding:14px}html body .public-profile-dialog .public-profile-hero>.user-avatar{width:96px;height:96px;margin-left:4px!important}html body .public-profile-dialog .public-profile-hero .profile-identity h3{font-size:22px}}
/* A further upward/right enlargement of the owner's desktop avatar; lower edge stays fixed. */
@media(min-width:1001px){html body .profile-card{grid-template-columns:calc(clamp(230px,16vw,292px) + 56px) clamp(240px,18vw,320px) minmax(0,1fr)}html body .profile-card>.profile-avatar-editor{width:calc(clamp(170px,11vw,212px) + 72px);height:calc(clamp(170px,11vw,212px) + 72px);margin:-84px 0 0 24px}}

@media(min-width:601px){html body .profile-card .profile-identity>.nickname-customize{order:2;display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;gap:7px;width:max-content;max-width:100%;height:auto;min-height:38px;margin:4px 0 0;padding:9px 13px;border:1px solid #9d77ff6b;border-radius:12px;background:linear-gradient(145deg,#7c4cce33,#2dbcd41a);color:#ded3ff;font-family:inherit;font-size:13px!important;font-weight:650;line-height:1.35;white-space:normal;text-align:left;overflow:visible;letter-spacing:0}html body .profile-card .profile-identity>.nickname-customize::before,html body .profile-card .profile-identity>.nickname-customize::after{content:none!important;display:none!important}}

html body .profile-badge-picker .avatar-picker>label{width:100%;height:auto;max-width:78px;aspect-ratio:1;justify-self:center;padding:0;box-sizing:border-box}
html body .profile-badge-picker .avatar-picker>label>.user-avatar{width:100%!important;height:100%!important;max-width:none;min-width:0;min-height:0;box-sizing:border-box}
html body .profile-badge-picker .avatar-picker>.avatar-custom-choice{width:100%;height:auto;max-width:78px;aspect-ratio:1;justify-self:center;box-sizing:border-box;border-radius:21%}
html body .profile-badge-picker .avatar-picker>.avatar-custom-choice>svg{width:32px;height:32px;max-width:50%;flex:none}

@media(min-width:601px){html body .profile-card .profile-identity>.nickname-customize{width:max-content!important;min-width:0!important;transition:background .15s!important}html body .profile-card .profile-identity>.nickname-customize .tg-customize-name{display:inline!important;opacity:1!important;white-space:normal;transition:none!important}}

@media(min-width:1001px){html body .profile-card{grid-template-columns:calc(clamp(230px,16vw,292px) + 80px) clamp(240px,18vw,320px) minmax(0,1fr)}html body .profile-card>.profile-avatar-editor{width:calc(clamp(170px,11vw,212px) + 104px);height:calc(clamp(170px,11vw,212px) + 104px);margin:-116px 0 0 24px}}

/* Desktop player card uses the available width for portrait and identity. */
@media(min-width:801px){
html body .public-profile-dialog .public-profile-hero{grid-template-columns:286px minmax(0,1fr);column-gap:28px}
html body .public-profile-dialog .public-profile-hero>.user-avatar{width:246px;height:246px;margin:-124px 0 0 22px!important}
html body .public-profile-dialog .public-profile-hero>.profile-identity{gap:12px}
html body .public-profile-dialog .public-profile-hero .profile-identity h3{font-size:42px;line-height:1.2}
html body .public-profile-dialog .public-profile-hero .profile-name-long h3{font-size:34px}
html body .public-profile-dialog .public-profile-hero .profile-name-very-long h3{font-size:29px}
html body .public-profile-dialog .public-profile-hero .profile-identity-badges .rank-badge,html body .public-profile-dialog .public-profile-hero .profile-identity-badges .special-badge{font-size:13px;padding:7px 11px;min-height:32px;line-height:1.35}
html body .public-profile-dialog .public-profile-hero .tg-plain-reputation{font-size:14px}
}
html body .public-profile-dialog .public-profile-hero:has(>.tg-give-respect)>.public-copy-id{grid-column:1;min-width:0}
html body .public-profile-dialog .public-profile-hero>.tg-give-respect{grid-column:2;grid-row:3;justify-self:end;align-self:end;display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;min-height:38px;padding:8px 12px;margin:4px 0 0;border:1px solid #ab84e270;border-radius:11px;background:linear-gradient(130deg,#8256bc2e,#438fa42e);color:#e0cef5;font-family:inherit;font-size:13px;font-weight:650;line-height:1.35;text-align:center;white-space:normal;cursor:pointer}
html body .public-profile-dialog .public-profile-hero>.tg-give-respect:disabled{opacity:.7;cursor:default;border-color:#80baa04d;color:#b5d5c2}
@media(max-width:600px){html body .public-profile-dialog .public-profile-hero:has(>.tg-give-respect)>.public-copy-id{grid-column:1/-1;max-width:calc(100% - 116px);font-size:10px;gap:5px;padding:8px}html body .public-profile-dialog .public-profile-hero>.tg-give-respect{grid-column:1/-1;max-width:108px;min-height:38px;font-size:11px;padding:8px}}

/* Six is the exceptional ruby star; zero is an empty selection. */
html body .star-picker{display:flex;align-items:center;gap:4px;flex-wrap:nowrap}
html body .star-picker button[data-rating]{min-width:32px;padding:3px;color:#aaa1ba;font-size:29px;line-height:1.2}
html body .star-picker button[data-rating].active{color:#efce77}
html body .star-picker button[data-rating="6"]{margin-left:7px;font-size:34px;color:#c76d86;filter:drop-shadow(0 0 3px #e5546a22)}
html body .star-picker button[data-rating="6"].active{color:#ff5775;filter:drop-shadow(0 0 5px #e84c6b66)}
.rating-ruby-star,html body .is-masterpiece{color:#ff6c88!important}
html body .tg-review-invite .ri-stars{display:flex;align-items:center;gap:5px;justify-content:space-between}
html body .tg-review-invite .ri-stars button{min-width:0;flex:1}
html body .tg-review-invite .ri-stars button[data-ri-rating="6"]{border-color:#c4627b77;background:#b5446014;color:#d67f94}
html body .tg-review-invite .ri-stars button[data-ri-rating="6"] svg{width:27px;height:27px;stroke:currentColor}
html body .tg-review-invite .ri-stars button[data-ri-rating="6"].ri-filled{color:#ff6683;background:#cc415b24;box-shadow:0 0 10px #dc3a5b22}
html body .tg-review-invite .ri-submit{width:100%;min-height:42px;margin:0 0 10px;border:1px solid #a58acc66;border-radius:11px;background:linear-gradient(120deg,#7951ae,#456686);color:#f4eaff;font:inherit;font-weight:650;cursor:pointer}
html body .tg-review-invite .ri-submit:disabled{opacity:.6;cursor:default}
@media(max-width:360px){html body .star-picker{gap:2px}html body .star-picker button[data-rating]{min-width:28px;font-size:26px}html body .star-picker button[data-rating="6"]{font-size:30px;margin-left:4px}}

html body .tg-review-invite .ri-stars button svg{width:24px;height:24px}html body .tg-review-invite .ri-stars button.ri-filled{color:#f2c96e}html body .tg-review-invite .ri-stars button[data-ri-rating="6"]{flex:1.1}html body .tg-review-invite .ri-stars button[data-ri-rating="6"] svg{width:29px;height:29px}html body .tg-review-invite .ri-stars button[data-ri-rating="6"].ri-filled{color:#ff6683}

/* The page follows the finger; the icon is revealed inside the opening gap. */
.tg-pull-moving{translate:0 var(--tg-pull-distance,0px);will-change:translate}
.tg-pull-moving.tg-pull-settling{transition:translate .23s cubic-bezier(.2,.75,.25,1)}
html body .tg-pull-refresh{position:fixed;inset:auto 0 auto;left:0;right:0;transform:none;width:100%;max-width:none;height:0;padding:0;margin:0;display:flex;align-items:center;justify-content:center;gap:0;overflow:hidden;border:0;border-radius:0;background:none;box-shadow:none;color:#d4c4ef;pointer-events:none;z-index:90}
html body .tg-pull-refresh[hidden]{display:none}
html body .tg-pull-refresh .tg-pull-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #9d84c24d;border-radius:50%;background:#211d31e8;box-shadow:0 3px 12px #0002}
.tg-pull-icon svg{width:21px;height:21px;transform:rotate(var(--tg-pull-angle,0deg))}
html body .tg-pull-refresh.is-ready{color:#f2eaff}
.tg-pull-refresh.is-refreshing .tg-pull-icon svg{animation:tg-pull-spin .85s linear infinite}
.tg-pull-refresh.is-settling{transition:height .23s cubic-bezier(.2,.75,.25,1),opacity .18s ease}
.tg-pull-a11y{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
@keyframes tg-pull-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.tg-pull-moving.tg-pull-settling,.tg-pull-refresh.is-settling{transition:none!important}.tg-pull-refresh.is-refreshing .tg-pull-icon svg{animation:none}}

/* One browser-style reload arrow, spinning during drag and refresh. */
html body .tg-pull-refresh:not([hidden]) .tg-pull-icon svg{animation:tg-pull-reload .95s linear infinite;transform-origin:center}
html body .tg-pull-refresh.is-refreshing .tg-pull-icon svg{animation-duration:.7s}
@keyframes tg-pull-reload{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){html body .tg-pull-refresh:not([hidden]) .tg-pull-icon svg{animation:none}}

/* Rotate a fixed square around its own center; keep the reveal slot stable. */
html body .tg-pull-refresh .tg-pull-rotor{display:block;flex:none;width:22px;height:22px;line-height:0;transform-origin:50% 50%;animation:tg-pull-reload .95s linear infinite;will-change:transform}
html body .tg-pull-refresh.is-refreshing .tg-pull-rotor{animation-duration:.7s}
html body .tg-pull-refresh:not([hidden]) .tg-pull-icon svg{display:block;width:22px;height:22px;animation:none!important;transform:none!important;transform-box:view-box;transform-origin:12px 12px}
html body .tg-pull-refresh.is-refreshing .tg-pull-icon,html body .tg-pull-refresh.is-settling .tg-pull-icon{transition:translate .23s cubic-bezier(.2,.75,.25,1)}
html.tg-pull-active body::before,html.tg-pull-active body::after,html.tg-pull-active .topbar::before,html.tg-pull-active .topbar::after{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){html body .tg-pull-refresh .tg-pull-rotor{animation:none}html body .tg-pull-refresh .tg-pull-icon{transition:none!important}}

/* A single frame loop interpolates drag/hold/return; CSS transitions must not compete. */
html body .tg-pull-moving,html body .tg-pull-moving.tg-pull-settling,html body .tg-pull-refresh,html body .tg-pull-refresh .tg-pull-icon{transition:none!important}

html body .tg-pull-moving{translate:none!important;will-change:transform;backface-visibility:hidden}html body .tg-pull-refresh .tg-pull-icon{translate:none!important;will-change:transform;backface-visibility:hidden}html body .tg-pull-refresh .tg-pull-rotor{animation-name:tg-pull-gpu-spin;backface-visibility:hidden}
@keyframes tg-pull-gpu-spin{from{transform:translate3d(0,0,0) rotate(0deg)}to{transform:translate3d(0,0,0) rotate(360deg)}}

/* One catalog compositor surface; never animate layout or two independent text surfaces. */
.tg-pull-catalog{display:flow-root;isolation:isolate}
html body .tg-pull-catalog.tg-pull-moving{backface-visibility:visible;contain:paint}
html.tg-pull-active .tg-pull-catalog,html.tg-pull-active .tg-pull-catalog *{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* Phone profile: larger portrait and a separate optional title line. */
@media(max-width:600px){
 html body .profile-card{--profile-avatar-size:clamp(137.6px,40vw,160px);grid-template-columns:var(--profile-avatar-size) minmax(0,1fr);column-gap:18px;row-gap:22px}
 html body .profile-card>.profile-avatar-editor{width:var(--profile-avatar-size);height:var(--profile-avatar-size);margin:-18px 0 0;clip-path:none;overflow:visible}
 html body .profile-card>.profile-identity{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:9px;min-width:0;padding:0;container-type:inline-size}
 html body .profile-card .profile-badges{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:0;min-width:0}
 html body .profile-card .profile-badges .rank-badge,html body .profile-card .profile-badges .special-badge{max-width:100%;min-width:0;width:fit-content;white-space:normal;font-size:11px;line-height:1.3;padding:5px 7px}
 html body .profile-card .profile-badges .rank-badge>span{white-space:normal;overflow-wrap:anywhere;text-align:left}
 html body .profile-card .profile-badges .rank-badge>i{flex-shrink:0}
 html body .profile-card .profile-name-row{width:100%;min-width:0;margin:0;gap:0;align-self:auto}
 html body .profile-card .profile-name-row h3{min-width:0;width:100%;margin:0;font-size:clamp(18px,16cqi,var(--tg-name-max,30px))!important;line-height:1.17;text-wrap:pretty;overflow-wrap:anywhere;word-break:normal}
 html body .profile-card .profile-name-row .nickname-style{white-space:normal;overflow-wrap:anywhere}
 html body .profile-card .profile-identity>.tg-own-reputation{margin:0;font-size:12px!important;line-height:1.4}
}
@media(max-width:370px){html body .profile-card{--profile-avatar-size:131.2px;column-gap:15px}html body .profile-card .profile-badges .rank-badge,html body .profile-card .profile-badges .special-badge{font-size:10px;padding:4px 6px}html body .profile-card .profile-name-row h3{font-size:clamp(16px,17cqi,var(--tg-name-max,30px))!important}}

/* Podium medals: large tabular numerals and restrained precious-metal light. */
html body .tg-top-poster .tg-top-rank{display:grid;place-items:center;width:30px;height:32px;padding:0;font-size:17px;font-weight:850;line-height:1;font-variant-numeric:tabular-nums;border-radius:8px;isolation:isolate;overflow:hidden;text-shadow:0 1px #ffffff7a;pointer-events:none}
html body .tg-top-tone-0 .tg-top-rank{color:#57340c;border-color:#ffe5a0;background:linear-gradient(145deg,#fff0bc 0%,#f7d56c 36%,#dca73c 72%,#ffdf86 100%);box-shadow:inset 0 1px 0 #fff9,0 0 7px #ffce6880,0 0 18px #efa6244d,0 0 28px #e69b171c}
html body .tg-top-tone-0 .tg-top-rank::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 30% 12%,#fffbd8d9,transparent 72%);opacity:.35;animation:tg-midas-light 3.8s ease-in-out infinite;pointer-events:none}
html body .tg-top-tone-1 .tg-top-rank{color:#303945;border-color:#ecf4ff;background:linear-gradient(145deg,#fafcff 0%,#dce5ef 30%,#a7b3c2 60%,#e9eff7 100%);box-shadow:inset 0 1px 0 #fff,0 2px 6px #0005,0 0 10px #d6e8ff26}
html body .tg-top-tone-1 .tg-top-rank::after{content:"";position:absolute;z-index:-1;top:-60%;bottom:-60%;left:0;width:36%;background:linear-gradient(90deg,transparent,#ffffffe6 45%,#fff 55%,transparent);transform:translateX(-180%) rotate(24deg);opacity:0;animation:tg-silver-flash 4.8s linear infinite;pointer-events:none}
html body .tg-top-tone-2 .tg-top-rank{color:#4c2816;border-color:#edb183;background:linear-gradient(145deg,#f4c8a2 0%,#d79b65 32%,#ad693e 65%,#e9b183 100%);box-shadow:inset 0 1px 0 #ffe0bfaa,0 2px 6px #0005;text-shadow:0 1px #ffe7cb80}
@keyframes tg-midas-light{0%,100%{opacity:.25}50%{opacity:.7}}
@keyframes tg-silver-flash{0%,78%{transform:translateX(-180%) rotate(24deg);opacity:0}79%{opacity:1}88%{transform:translateX(500%) rotate(24deg);opacity:1}89%,100%{transform:translateX(500%) rotate(24deg);opacity:0}}
@media(max-width:600px){html body .tg-top-poster .tg-top-rank{width:28px;height:30px;font-size:16px;top:7px;left:7px}}
@media(prefers-reduced-motion:reduce){html body .tg-top-tone-0 .tg-top-rank::before,html body .tg-top-tone-1 .tg-top-rank::after{animation:none}html body .tg-top-tone-0 .tg-top-rank::before{opacity:.35}}

/* Filled posters must win over the legacy :not(.tg-top-empty) compact rank rule. */
html body .tg-top-games .tg-top-poster .tg-top-rank{width:34px;height:36px;padding:0;font-size:22px;line-height:1;font-weight:850;border-radius:9px}
html body .tg-top-games .tg-top-tone-0 .tg-top-poster .tg-top-rank{box-shadow:inset 0 1px 0 #fff9,0 0 7px #ffdb88ed,0 0 15px #ffc34dba,0 0 26px #e99b246b;border-color:#ffe6a0}
html body .tg-top-games .tg-top-tone-1 .tg-top-poster .tg-top-rank{box-shadow:inset 0 1px 0 #fff,0 2px 6px #0005,0 0 12px #d6e8ff3d}
html body .tg-top-games .tg-top-tone-2 .tg-top-poster .tg-top-rank{box-shadow:inset 0 1px 0 #ffe0bfaa,0 2px 6px #0005}
@media(max-width:600px){html body .tg-top-games .tg-top-poster .tg-top-rank{width:30px;height:32px;font-size:19px;top:7px;left:7px;border-radius:8px}}

/* Mobile account shortcut: photo and effects share the whole tap target. */
@media(max-width:700px){
 html body .topbar .avatar:not(.guest-login){display:grid;grid-template-columns:1fr;place-items:center;gap:0;padding:0;border:0;border-radius:28%;background:transparent;box-shadow:none;overflow:visible}
 html body .topbar .avatar:not(.guest-login):is(:hover,:active){background:transparent;border-color:transparent;box-shadow:none}
 html body .topbar .avatar:not(.guest-login)>.user-avatar{width:100%;height:100%;margin:0;border-radius:inherit}
 html body .topbar .avatar:not(.guest-login):focus-visible{outline:2px solid #bda7ff;outline-offset:5px}
}
