.ll-member-wrap{max-width:1100px;margin:24px auto;padding:0 22px}.ll-member-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.ll-member-header nav,.ll-member-tabs,.ll-member-actions{display:flex;gap:10px;flex-wrap:wrap}.ll-member-wrap a{color:#22569c}.ll-member-wrap h1{font-size:clamp(28px,4vw,44px);letter-spacing:-1px}.ll-member-wrap p{line-height:1.8;color:#596a80}.ll-member-btn,.ll-member-tabs button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 17px;border:1px solid #cbd8e8;border-radius:12px;background:#eff4fa;color:#163a69;text-decoration:none;font:inherit;font-weight:700;cursor:pointer}.ll-member-tabs button[aria-selected=true],.ll-member-btn.primary{background:#e0ebfa;border-color:#7b9ec9;color:#163a69}.ll-member-btn:disabled{opacity:.5;cursor:wait}.ll-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:22px 0}.ll-member-card,.ll-profile-panel{border:1px solid #dde5ef;border-radius:20px;background:#fff;padding:24px}.ll-member-card img{display:block;width:100%;height:275px;object-fit:contain;background:#f4f7fb;border-radius:12px}.ll-member-card h2{font-size:22px}.ll-member-card strong{display:block;font-size:23px;margin:20px 0}.ll-profile-panels{display:grid;gap:18px;margin:24px 0}.ll-profile-panel h2{font-size:23px;margin:0 0 10px}.ll-profile-row{padding:16px 0;border-top:1px solid #e4eaf2;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.ll-profile-row p{margin:6px 0;font-size:14px}.ll-member-notice{padding:20px;border-radius:16px;background:#eef4fc;color:#2b4565;line-height:1.8}.ll-profile-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.ll-profile-summary a{padding:22px;border:1px solid #d8e3f0;border-radius:18px;background:white;text-decoration:none}.ll-profile-summary b{display:block;font-size:26px;margin-bottom:8px}.ll-ranking-table{width:100%;border-collapse:collapse;margin-top:24px}.ll-ranking-table th,.ll-ranking-table td{text-align:left;padding:17px 12px;border-bottom:1px solid #e0e7f0}.ll-member-wrap [hidden],#llHomeProfile[hidden]{display:none!important}#llHomeProfile{max-width:1200px;margin:22px auto;padding:24px;border:1px solid #dbe5f1;border-radius:18px;background:#f5f8fd}#llHomeProfile p{line-height:1.7;color:#52667d}#llHomeProfile .ll-profile-summary{margin-bottom:0}#llHomeProfile a{color:#194679}#llPracticalTabs{display:flex!important;gap:10px;flex-wrap:wrap;margin:22px 0}#llPracticalTabs button{border:1px solid #c6d4e6;border-radius:12px;padding:12px 20px;background:#f4f7fb;color:#223e62;font:inherit;cursor:pointer}#llPracticalTabs button[aria-selected=true]{background:#e0ebfa;border-color:#7b9ec9;font-weight:800}#llPracticalPanel{padding:24px 0}#llPracticalPanel[hidden]{display:none!important}@media(max-width:750px){.ll-member-grid{grid-template-columns:1fr}.ll-member-card{display:grid;grid-template-columns:110px 1fr;gap:18px}.ll-member-card img{height:160px;grid-row:1/6}.ll-member-card h2{font-size:19px;margin:0}.ll-member-card p{margin:0}.ll-member-card strong{margin:8px 0}.ll-profile-summary{grid-template-columns:1fr}.ll-member-wrap{padding:0 16px}.ll-profile-summary a{padding:16px}.ll-ranking-table th,.ll-ranking-table td{font-size:14px;padding:14px 8px}}

/* Game leaderboard, scoped to avoid changing profile and book pages. */
.ll-leaderboard{background:#f1f5fa!important}.ll-leaderboard .ll-member-wrap{max-width:960px;margin-top:0}
.rank-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:28px 0;padding:36px 40px;border-radius:26px;background:linear-gradient(125deg,#11305a,#245a85);color:white;overflow:hidden}
.rank-eyebrow{font-size:11px;font-weight:800;letter-spacing:2px}.rank-hero .rank-eyebrow{color:#9ac9e8}.rank-hero h1{font-size:clamp(30px,5vw,44px);line-height:1.25;margin:14px 0;letter-spacing:-1.5px}.ll-leaderboard .rank-hero p{color:#cbdfef;margin:0}
.rank-hero-emblem{flex:0 0 140px;text-align:center}.rank-hero-emblem svg{width:110px;height:110px;display:block;margin:auto}.rank-hero-emblem span{font-size:15px;font-weight:900;letter-spacing:4px;color:#f3ca6a}
.rank-board{background:white;border:1px solid #dce5ef;border-radius:24px;padding:28px;box-shadow:0 12px 35px #173d6808}
.rank-board-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.rank-board-heading .rank-eyebrow{color:#68849c}.rank-board-heading h2{font-size:26px;margin:8px 0 0;letter-spacing:-1px}.rank-live{font-size:12px;color:#367d72;background:#eaf6f2;border-radius:20px;padding:9px 12px}
.ll-leaderboard #rankTabs{padding-bottom:16px;border-bottom:1px solid #e5ebf2;gap:8px}.ll-leaderboard #rankTabs button{background:white;border:0;color:#718095;padding:10px 16px}.ll-leaderboard #rankTabs button[aria-selected=true]{background:#eaf1fb;color:#194d87}
.ll-leaderboard #rankTypeTabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:6px;background:#f1f4f8;border-radius:14px;margin-top:18px}.ll-leaderboard #rankTypeTabs button{border:0;background:transparent;color:#718095}.ll-leaderboard #rankTypeTabs button[aria-selected=true]{background:#173d68;color:white;box-shadow:0 3px 8px #173d6820}
.rank-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;margin:28px 0}.rank-podium-card{display:flex;flex-direction:column;align-items:center;gap:10px;min-height:190px;padding:18px 10px;border:1px solid #dce5ef;border-radius:18px;background:#f8fafc;text-align:center;min-width:0}.rank-podium-card.place-1{background:linear-gradient(#fffbef,#fff6dc);border-color:#ecd295;min-height:214px;order:2}.rank-podium-card.place-2{order:1}.rank-podium-card.place-3{order:3;background:#fff8f2;border-color:#e9d3bf}
.rank-medal{font-size:12px;font-weight:900;color:#7e6320;background:#f8e4a8;border-radius:20px;padding:5px 12px}.place-2 .rank-medal{background:#e4eaf2;color:#607087}.place-3 .rank-medal{background:#f0deca;color:#8c623b}
.rank-avatar{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:white;border:1px solid #dfd7be;border-radius:50%;font-size:20px;font-weight:800;color:#173d68}.rank-podium-card b{max-width:100%;overflow-wrap:anywhere;font-size:17px}.rank-stage{font-size:12px;color:#63768a}.rank-podium-card.is-empty b{color:#8593a4}
.rank-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rank-toolbar #rankMessage{flex:1;min-width:180px;font-size:13px;margin:0}.rank-toolbar .ll-member-btn{font-size:13px;min-height:38px;padding:8px 13px}.rank-toolbar a.ll-member-btn{background:#173d68;color:white;border-color:#173d68}
.ll-leaderboard .ll-ranking-table{margin-top:18px;font-variant-numeric:tabular-nums}.ll-leaderboard .ll-ranking-table th{font-size:12px;color:#7a889b;background:#f6f8fb;font-weight:700}.ll-leaderboard .ll-ranking-table td{font-size:15px;height:60px}.ll-leaderboard .ll-ranking-table th:first-child{width:80px}.ll-leaderboard .ll-ranking-table th:last-child,.ll-leaderboard .ll-ranking-table td:last-child{text-align:right}.rank-highlight td{font-weight:800}.rank-place-1 td:first-child{color:#a67b15}.rank-place-2 td:first-child{color:#677f98}.rank-place-3 td:first-child{color:#a37550}.ll-leaderboard .rank-empty-row td{color:#a3aebb;font-size:13px}.rank-empty-row td:nth-child(2){letter-spacing:.2px}
.rank-rules{margin:20px 0 40px;font-size:13px;color:#60748b}.rank-rules summary{cursor:pointer;padding:14px 4px}.rank-rules .ll-member-notice{font-size:13px}
@media(max-width:600px){.rank-hero{padding:26px 22px;margin:20px 0;border-radius:20px;gap:12px}.rank-hero-emblem{flex-basis:82px}.rank-hero-emblem svg{width:78px;height:78px}.rank-hero-emblem span{font-size:11px;letter-spacing:2px}.rank-board{padding:18px 14px;border-radius:20px}.rank-board-heading{align-items:flex-start}.rank-live{font-size:10px;padding:7px 9px;white-space:nowrap}.rank-board-heading h2{font-size:23px}.ll-leaderboard #rankTabs{gap:0;justify-content:space-between}.ll-leaderboard #rankTabs button{padding:8px 10px;font-size:13px}.rank-podium{gap:7px;margin:22px 0}.rank-podium-card{padding:14px 6px;min-height:180px;gap:9px}.rank-podium-card.place-1{min-height:198px}.rank-podium-card b{font-size:14px}.rank-stage{font-size:10px}.rank-avatar{width:40px;height:40px}.rank-toolbar #rankMessage{flex-basis:100%}.ll-leaderboard .ll-ranking-table td{font-size:13px;padding:14px 9px}.ll-leaderboard .ll-ranking-table th:first-child{width:58px}}

/* Keep tied winners together, with the complete ranking visible below. */
.ll-leaderboard .rank-podium{align-items:stretch}
.ll-leaderboard .rank-podium-card{min-height:0;justify-content:flex-start}
.ll-leaderboard .rank-podium-card.place-1{order:0;min-height:0}
.ll-leaderboard .rank-podium-card.place-2{order:0}
.ll-leaderboard .rank-winner{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;padding:10px 0}
.ll-leaderboard .rank-winner+.rank-winner{border-top:1px solid #dce5ef}
.ll-leaderboard .rank-list-title{margin:24px 0 8px;font-size:20px}
.ll-leaderboard .ll-ranking-table th:first-child{width:96px}
.ll-leaderboard .ll-ranking-table td:first-child{white-space:nowrap}
@media(max-width:600px){.ll-leaderboard .rank-podium{grid-template-columns:1fr;gap:10px}.ll-leaderboard .rank-podium-card{align-items:stretch;text-align:left;padding:14px 16px}.ll-leaderboard .rank-winner{align-items:flex-start}.ll-leaderboard .rank-stage{font-size:12px}.ll-leaderboard .ll-ranking-table th:first-child{width:76px}}

.rank-live{overflow:visible}
.rank-help{display:inline-block;position:relative;vertical-align:middle;white-space:normal}
.rank-help>summary{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid currentColor;border-radius:50%;cursor:pointer;list-style:none;font-weight:900}
.rank-help>summary::-webkit-details-marker{display:none}
.rank-help-tip{display:none;position:absolute;right:0;top:calc(100% + 8px);width:min(280px,70vw);padding:14px;border-radius:12px;background:#173452;color:white;font-size:13px;line-height:1.7;font-weight:400;box-shadow:0 8px 24px #17345230;z-index:20}
.rank-help[open]>.rank-help-tip,.rank-help:focus-within>.rank-help-tip{display:block}
@media(hover:hover){.rank-help:hover>.rank-help-tip{display:block}}
