/* Global leaderboard – independent of game result and daily leaderboard layouts. */
#gc43Ranking[hidden],#gc43Ranking [hidden]{display:none!important}
#gc43Ranking{position:fixed;inset:0;z-index:480;display:flex;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at 50% 0%,#12465e,#061e34 40%,#04182a 85%);color:#f4f9ff;font-family:system-ui,sans-serif;overscroll-behavior:contain}
#gc43Ranking *{box-sizing:border-box}#gc43Ranking button{font:inherit;color:inherit;cursor:pointer;min-width:0}#gc43Ranking button:disabled{opacity:.52;cursor:default}#gc43Ranking button:focus-visible{outline:2px solid #ffe4a3;outline-offset:2px}
.gc43-shell{display:flex;flex-direction:column;width:min(100%,760px);height:100%;height:100dvh;padding:0 10px max(7px,env(safe-area-inset-bottom));min-height:0;gap:7px}
.gc43-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:0 1px 5px;scrollbar-width:thin;scrollbar-color:#397e92 transparent}
.gc43-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0 5px}.gc43-header img{width:min(46%,210px);height:auto;object-fit:contain}.gc43-action{border:1px solid #508fa9;border-radius:10px;background:linear-gradient(#164b65,#0b2b44);padding:8px 11px;font-weight:700!important;font-size:13px!important;min-height:38px}
.gc43-hero{position:relative;min-height:104px;padding:14px 12px;display:flex;flex-direction:column;justify-content:center;overflow:hidden;border:1px solid #4ea8bb;border-radius:15px;background:linear-gradient(90deg,#06243bea 0%,#06243bd9 31%,#06243b50 58%,transparent 100%),url('/home-design/ranking-v0343/rangliste_banner_motiv.png') right center / auto 100% no-repeat,linear-gradient(120deg,#0d3d55,#06233b);box-shadow:inset 0 1px #8bdced35}
.gc43-hero h2{margin:0;max-width:70%;color:#fff;font-size:clamp(20px,5.7vw,34px);line-height:1.04;font-weight:950;letter-spacing:-.03em;font-style:italic;text-transform:uppercase;text-shadow:0 2px 6px #041422}.gc43-hero p{margin:7px 0 0;max-width:62%;font-size:clamp(11px,3.2vw,15px);color:#b4f1e7;font-weight:650}
.gc43-toolbar{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:9px 0;color:#abd9e4;font-size:12px}.gc43-scope{display:inline-flex;align-items:center;padding:6px 11px;border:1px solid #40b9c3;border-radius:8px;background:linear-gradient(#136172,#0b3f53);color:#b5fff1;font-weight:800}.gc43-count{margin-left:auto;text-align:right;font-variant-numeric:tabular-nums}
.gc43-top{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:6px;margin-bottom:10px}.gc43-top:empty{display:none}.gc43-topcard{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;min-height:145px;padding:9px 4px 8px;border:1px solid var(--rank-edge,#608ba4);border-radius:13px;background:radial-gradient(ellipse at 50% 0%,var(--rank-halo,#b0d1db28),transparent 75%),linear-gradient(150deg,#123b50,#081f35);box-shadow:inset 0 1px #ffffff18;text-align:center;overflow:hidden}.gc43-topcard[data-rank="1"]{--rank-edge:#e9ba62;--rank-halo:#e8bc4e45}.gc43-topcard[data-rank="2"]{--rank-edge:#9ec4d8;--rank-halo:#b0d1db30}.gc43-topcard[data-rank="3"]{--rank-edge:#c28d64;--rank-halo:#c38b4d38}.gc43-topcard .gc43-medal{width:53px;height:43px;object-fit:contain}.gc43-topcard .gc43-avatar{width:35px;height:35px}.gc43-topcard .gc43-name{max-width:100%;font-size:clamp(11px,3.2vw,15px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gc43-topcard .gc43-xp{font-size:clamp(12px,3.5vw,17px)}.gc43-topcard .gc43-level{font-size:11px}
.gc43-avatar{display:block;width:35px;height:35px;flex-shrink:0;border:1px solid #598da4;border-radius:50%;background:#102f44;object-fit:cover}.gc43-name{font-weight:760;color:#f1f8fb;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gc43-level{font-size:11px;font-weight:550;color:#a6c5d5}.gc43-xp{font-weight:850;color:#9cf4e6;white-space:nowrap;font-variant-numeric:tabular-nums}
.gc43-listhead{display:grid;grid-template-columns:43px minmax(0,1fr) auto;gap:8px;align-items:center;color:#a8cbd8;font-size:10px;font-weight:850;letter-spacing:.035em;text-transform:uppercase;padding:7px 8px 5px}.gc43-listhead span:last-child{text-align:right}.gc43-list{display:grid;gap:5px}.gc43-row{display:grid;grid-template-columns:30px 35px minmax(0,1fr) auto 10px;align-items:center;gap:7px;min-height:48px;width:100%;text-align:left;background:linear-gradient(135deg,#113e52,#0a2b42);border:1px solid #34657e;border-radius:10px;padding:6px 7px}.gc43-row .gc43-rank{color:#c6e0e8;font-weight:850;font-size:14px;text-align:center;font-variant-numeric:tabular-nums}.gc43-row .gc43-copy{display:grid;gap:2px;min-width:0}.gc43-row .gc43-name{font-size:13px}.gc43-row .gc43-xp{font-size:13px}.gc43-row .gc43-chevron{color:#a5d6e5;font-size:17px}.gc43-row[data-me="true"],.gc43-topcard[data-me="true"]{border-color:#f6cb78;background:linear-gradient(130deg,#20484d,#102d3a)}
.gc43-status{padding:18px 12px;text-align:center;color:#b8d5e0;font-size:13px;line-height:1.45}.gc43-pages{display:flex;gap:6px;justify-content:center;margin:10px 0 3px;flex-wrap:wrap}.gc43-pages button{flex:1}.gc43-note{color:#9bb7c7;font-size:10px;line-height:1.35;margin:8px 4px;text-align:center}
.gc43-mine{flex-shrink:0;display:grid;grid-template-columns:auto 35px minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;border:1px solid #d5ad60;border-radius:13px;padding:9px 8px;text-align:left;background:linear-gradient(130deg,#34483e,#103444 60%,#123b4b);box-shadow:0 2px 10px #0005,inset 0 1px #fff3}.gc43-mine .gc43-rank{font-size:clamp(19px,5.5vw,29px);font-weight:950;color:#ffe1a0;white-space:nowrap}.gc43-mine .gc43-copy{min-width:0;display:grid;gap:2px}.gc43-mine .gc43-copy strong{font-size:10px;text-transform:uppercase;color:#ffe1a0;line-height:1.2}.gc43-mine .gc43-copy small{color:#d2e8e8;font-size:10px;line-height:1.2}.gc43-mine .gc43-xp{font-size:13px;color:#ffe5a7}.gc43-mine .gc43-next{grid-column:1/-1;font-size:11px;color:#d4ede8;text-align:center;border-top:1px solid #75b0b344;padding-top:5px}.gc43-unranked{flex-shrink:0;padding:9px 12px;border:1px solid #497b8e;border-radius:12px;background:#0b3047;font-size:12px;line-height:1.4;color:#c5e1e9;text-align:center}
.gc43-nav{flex-shrink:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:5px;border:1px solid #558db9;border-radius:18px;background:linear-gradient(#103b60,#071e37);box-shadow:0 6px 25px #0007}.gc43-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:48px;border:1px solid transparent;border-radius:12px;background:transparent;font-size:12px!important;font-weight:750!important}.gc43-nav button[aria-current=page]{border-color:#78edff;background:linear-gradient(#0f96d7,#075098);box-shadow:inset 0 0 9px #42caff80}.gc43-nav svg{width:22px;height:22px;fill:currentColor}.gc43-nav svg.gc43-trophy-icon{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:650px){.gc43-shell{padding-inline:18px}.gc43-hero{min-height:145px;padding:22px}.gc43-topcard{min-height:165px}.gc43-topcard .gc43-medal{width:68px;height:54px}.gc43-row{min-height:53px}.gc43-nav button{flex-direction:row;font-size:15px!important}.gc43-mine .gc43-copy strong,.gc43-mine .gc43-copy small{font-size:12px}.gc43-mine .gc43-xp{font-size:16px}}
@media(max-width:350px){.gc43-shell{padding-inline:6px}.gc43-row{gap:4px;grid-template-columns:25px 29px minmax(0,1fr) auto 8px}.gc43-row .gc43-avatar{width:29px;height:29px}.gc43-mine{gap:5px;grid-template-columns:auto 29px minmax(0,1fr) auto}.gc43-mine .gc43-avatar{width:29px;height:29px}.gc43-topcard{min-height:130px}.gc43-topcard .gc43-medal{height:36px}}
.gc43-logo{padding:0!important;background:none!important;border:0!important;display:flex;align-items:center;justify-content:flex-start;max-width:48%}.gc43-header .gc43-logo img{width:100%;max-width:210px;height:auto}
.gc43-emblems{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;margin-bottom:3px}.gc43-topcard{min-height:112px}.gc43-topcard .gc43-medal{width:min(48%,52px);height:44px}.gc43-topcard .gc43-avatar{width:37px;height:37px}.gc43-topcard[data-rank="1"] .gc43-avatar{border-color:#e9ba62}.gc43-topcard[data-rank="2"] .gc43-avatar{border-color:#b9d1e0}.gc43-topcard[data-rank="3"] .gc43-avatar{border-color:#d29c71}
@media(min-width:650px){.gc43-topcard{min-height:142px}.gc43-topcard .gc43-medal{width:65px;height:54px}.gc43-topcard .gc43-avatar{width:48px;height:48px}.gc43-topcard .gc43-emblems{gap:9px}}
@media(max-width:350px){.gc43-topcard{min-height:104px}.gc43-topcard .gc43-medal{width:min(48%,43px);height:36px}.gc43-topcard .gc43-avatar{width:30px;height:30px}}
/* Fade the art at its left edge so it blends on both wide and narrow layouts. */
.gc43-hero{isolation:isolate;background:radial-gradient(ellipse at 70% 30%,#0b3651,#06243b 80%)}.gc43-hero::before{content:'';position:absolute;inset:0 0 0 auto;width:min(78%,400px);background:url('/home-design/ranking-v0343/rangliste_banner_motiv.png') right center / auto 100% no-repeat;mask-image:linear-gradient(90deg,transparent 0%,#000 38%);z-index:-1;pointer-events:none}.gc43-hero h2,.gc43-hero p{position:relative;z-index:1}.gc43-hero h2{text-shadow:0 2px 6px #041422,0 1px 5px #041422}.gc43-hero p{text-shadow:0 1px 4px #041422}
.gc43-hero::before{width:auto;height:100%;aspect-ratio:435/218;max-width:85%;background-size:cover;background-position:right center}

/* Compact and visible status, even on a short mobile screen. */
.gc43-changed{margin:0 1px 9px;color:#b5fff1;text-align:left;padding:6px 8px;border:1px solid #347c8a;border-radius:8px}
.gc43-row{grid-template-columns:minmax(30px,auto) 35px minmax(0,1fr) auto 10px}.gc43-row .gc43-rank{min-width:30px;font-size:clamp(11px,3.2vw,14px)}
@media(max-width:350px){.gc43-row{grid-template-columns:minmax(25px,auto) 29px minmax(0,1fr) auto 8px}.gc43-row .gc43-rank{min-width:25px}.gc43-mine .gc43-rank{font-size:17px}}

/* Keep the winner centered even before the leaderboard fills up. */
.gc43-top[data-count="1"]>.gc43-topcard{grid-column:2}
.gc43-top[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:68%;margin-inline:auto;width:100%}

/* Explicit row anchoring when earlier pages are inserted or distant pages are dropped. */
.gc43-scroll{overflow-anchor:none}

.gc43-toolbar{flex-wrap:wrap}.gc43-periods{display:flex;flex:1 0 100%;gap:5px}.gc43-periods button{flex:1;justify-content:center;cursor:pointer;font:inherit;font-weight:800}.gc43-periods button[aria-pressed="false"]{background:#102e40;border-color:#416273;color:#abd9e4}.gc43-periods button:focus-visible{outline:2px solid white;outline-offset:2px}
