/* ===== หน้าอันดับนักงัดข้อ — ธีมดำ/แดงตามแบบที่เจ้าของงานส่ง ===== */
:root {
    --rk-bg: #0b0b0e;
    --rk-panel: #141418;
    --rk-panel-2: #1b1b21;
    --rk-line: #26262e;
    --rk-red: #e81c38;
    --rk-red-2: #ff3146;
    --rk-red-deep: #8f0f22;
    --rk-gold: #f5c542;
    --rk-silver: #c9ced8;
    --rk-bronze: #d98b4f;
    --rk-green: #35d07f;
    --rk-muted: #9aa1ad;
}

body.page-rankings {
    background:
        radial-gradient(900px 420px at 15% 0%, rgba(232, 28, 56, .18), transparent 60%),
        radial-gradient(700px 380px at 90% 10%, rgba(232, 28, 56, .12), transparent 60%),
        var(--rk-bg);
    font-family: "Kanit", "Sarabun", Tahoma, system-ui, sans-serif;
}
.rk-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---------- หัวเรื่อง ---------- */
.rk-head { display: flex; align-items: flex-start; gap: 18px; padding: 30px 0 18px; }
.rk-head .trophy {
    width: 76px; height: 76px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 18px;
    background: radial-gradient(circle at 50% 35%, rgba(245, 197, 66, .22), transparent 70%);
    color: var(--rk-gold);
    filter: drop-shadow(0 6px 14px rgba(245, 197, 66, .25));
}
.rk-head h1 {
    margin: 0; font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; font-style: italic;
    letter-spacing: .5px; color: #fff;
    text-shadow: 0 0 24px rgba(232, 28, 56, .45);
}
.rk-head h1 b { color: var(--rk-red-2); }
.rk-head p { margin: 4px 0 0; color: var(--rk-muted); font-size: 16px; }
.rk-updated { margin-left: auto; align-self: center; color: var(--rk-muted); font-size: 14px; white-space: nowrap; }
.rk-updated b { color: #fff; font-weight: 600; }

/* ---------- แผงเลือกประเภท/พื้นที่ ---------- */
.rk-mode {
    border: 1px solid rgba(232, 28, 56, .55);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(120, 10, 28, .55), rgba(60, 6, 16, .75));
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .4) inset, 0 16px 40px rgba(232, 28, 56, .15);
    padding: 16px 18px 12px;
}
.rk-mode-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: start; }
.rk-mode-grid .divider { width: 1px; background: rgba(255, 255, 255, .12); align-self: stretch; }
.rk-group-title {
    display: inline-block; font-weight: 800; font-style: italic; font-size: 17px; color: #fff;
    background: linear-gradient(135deg, #2a0a10, #4a0d18);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 5px 16px; border-radius: 10px; margin-bottom: 12px;
    transform: skewX(-6deg);
}
.rk-group-title span { display: inline-block; transform: skewX(6deg); }
.rk-toggles { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.rk-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 22px; border-radius: 12px; min-width: 190px; justify-content: center;
    font-weight: 700; font-size: 18px; color: #e8e9ee;
    background: linear-gradient(180deg, #1f1f26, #121216);
    border: 2px solid #3a3a44;
    cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s;
}
.rk-toggle:hover { border-color: #6a6a78; }
.rk-toggle.is-on {
    border-color: var(--rk-red-2);
    box-shadow: 0 0 0 1px rgba(255, 49, 70, .4), 0 0 22px rgba(232, 28, 56, .45);
    background: linear-gradient(180deg, #3b0a14, #1c0609);
}
.rk-toggle svg { width: 24px; height: 24px; }
.rk-toggle .flag { width: 26px; height: 18px; border-radius: 3px; background: linear-gradient(180deg, #e8102c 0 16.6%, #fff 16.6% 33.3%, #1e2d6b 33.3% 66.6%, #fff 66.6% 83.3%, #e8102c 83.3%); border: 1px solid rgba(255,255,255,.3); }
.rk-prov-pick { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #d9d9e0; }
.rk-select, .rk-filters select {
    appearance: none; -webkit-appearance: none;
    background: #121216 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 12px center;
    color: #fff; font: inherit; font-weight: 600; font-size: 15px;
    border: 1px solid #3a3a44; border-radius: 10px; padding: 10px 38px 10px 14px; min-width: 150px; outline: none;
}
.rk-select:focus, .rk-filters select:focus { border-color: var(--rk-red-2); }
.rk-select:disabled { opacity: .45; }
.rk-mode-note { text-align: center; color: #f3d2d8; font-size: 14px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); }

/* ---------- ตัวกรอง ---------- */
.rk-filters {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end;
    background: var(--rk-panel); border: 1px solid var(--rk-line); border-radius: 14px;
    padding: 14px 16px; margin-top: 14px;
}
.rk-filters label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--rk-muted); }
.rk-filters select { min-width: 0; width: 100%; }
.rk-btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: 10px; font-weight: 700; font-size: 15px;
    border: 2px solid var(--rk-red-2); color: #fff; background: rgba(232, 28, 56, .08); cursor: pointer;
    white-space: nowrap;
}
.rk-btn-outline:hover { background: rgba(232, 28, 56, .2); }
.rk-submit { display: none; }
.no-js .rk-submit { display: inline-flex; }

/* ---------- หัวข้อตาราง ---------- */
.rk-section-title { display: flex; align-items: center; gap: 12px; margin: 30px 0 4px; }
.rk-section-title::before { content: ""; width: 6px; height: 34px; border-radius: 3px; background: linear-gradient(var(--rk-red-2), var(--rk-red-deep)); transform: skewX(-12deg); }
.rk-section-title h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); font-weight: 800; font-style: italic; color: #fff; }
.rk-section-sub { color: var(--rk-muted); font-size: 15px; margin: 0 0 22px 18px; }
.rk-section-sub span + span::before { content: "·"; margin: 0 8px; color: #555; }

/* ---------- โพเดียม ---------- */
.rk-podium { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; align-items: end; margin-bottom: 28px; }
.rk-pod {
    position: relative; border-radius: 18px; overflow: hidden; text-align: center;
    background: linear-gradient(180deg, #1c1c22 0%, #101014 100%);
    border: 2px solid var(--pc, #555);
    box-shadow: 0 0 0 1px rgba(0,0,0,.5) inset, 0 14px 40px rgba(0, 0, 0, .55), 0 0 26px color-mix(in srgb, var(--pc) 35%, transparent);
    padding: 18px 16px 20px;
    min-height: 300px;
    display: flex; flex-direction: column; align-items: center;
}
.rk-pod.gold   { --pc: var(--rk-gold); }
.rk-pod.silver { --pc: var(--rk-silver); }
.rk-pod.bronze { --pc: var(--rk-bronze); }
.rk-pod.gold { min-height: 330px; }
.rk-pod::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 50% at 50% 100%, rgba(232, 28, 56, .35), transparent 70%);
    pointer-events: none;
}
.rk-pod .place {
    position: absolute; top: 12px; left: 14px;
    width: 56px; height: 56px; display: grid; place-items: center;
    font-size: 30px; font-weight: 800; font-style: italic; color: var(--pc);
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff55' stroke-width='2'><path d='M12 40c-6-8-6-20 2-28M52 40c6-8 6-20-2-28M10 20l-5 1M12 14l-5-2M16 9l-3-5M54 20l5 1M52 14l5-2M48 9l3-5M16 33l-6 2M14 27l-6 0M48 33l6 2M50 27l6 0'/></svg>") center/contain no-repeat;
    text-shadow: 0 0 12px color-mix(in srgb, var(--pc) 70%, transparent);
}
.rk-pod .portrait {
    width: 150px; height: 150px; border-radius: 50%; margin: 18px 0 10px;
    background: radial-gradient(circle at 50% 30%, #3a0c14, #16161b 70%);
    border: 3px solid color-mix(in srgb, var(--pc) 70%, #000);
    display: grid; place-items: center;
    font-size: 54px; font-weight: 800; color: #fff; font-style: italic;
    overflow: hidden; position: relative; z-index: 1;
    box-shadow: 0 10px 30px rgba(0,0,0,.6);
}
.rk-pod.gold .portrait { width: 170px; height: 170px; }
.rk-pod .portrait img { width: 100%; height: 100%; object-fit: cover; }
.rk-pod h3 { margin: 6px 0 2px; font-size: 26px; font-weight: 800; font-style: italic; color: #fff; position: relative; z-index: 1; word-break: break-word; }
.rk-pod.gold h3 { font-size: 30px; }
.rk-pod h3 a { color: inherit; }
.rk-pod h3 a:hover { color: var(--rk-red-2); }
.rk-pod .prov { display: inline-flex; align-items: center; gap: 5px; color: #d7d7df; font-size: 15px; position: relative; z-index: 1; }
.rk-pod .prov svg { color: var(--rk-red-2); }
.rk-pod .pts {
    margin-top: auto; padding-top: 14px; font-size: 26px; font-weight: 800; font-style: italic; color: var(--pc);
    position: relative; z-index: 1; width: 100%; border-top: 1px solid rgba(255,255,255,.08);
}
.rk-pod .pts small { font-size: 16px; color: #fff; font-weight: 600; margin-left: 6px; }
.rk-pod .verified { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1d9bf0; color: #fff; vertical-align: middle; margin-left: 4px; }

/* ---------- ตาราง ---------- */
.rk-table-wrap { background: var(--rk-panel); border: 1px solid var(--rk-line); border-radius: 16px; overflow: hidden; }
.rk-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rk-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.rk-table th {
    text-align: left; font-size: 14px; font-weight: 700; color: #d9d9e0;
    background: #1a1a20; padding: 14px 16px; border-bottom: 1px solid var(--rk-line);
}
.rk-table th.num, .rk-table td.num { text-align: center; }
.rk-table td { padding: 11px 16px; border-bottom: 1px solid #1d1d24; font-size: 16px; color: #e9e9ef; vertical-align: middle; }
.rk-table tbody tr:last-child td { border-bottom: 0; }
.rk-table tbody tr:hover td { background: rgba(255, 255, 255, .025); }
.rk-table tr.top1 td { background: linear-gradient(90deg, rgba(232, 28, 56, .35), rgba(232, 28, 56, .08)); }
.rk-table tr.top1 td:first-child { box-shadow: inset 4px 0 0 var(--rk-red-2); }
.rk-table td.rank { font-weight: 800; font-size: 20px; width: 90px; text-align: center; }
.rk-table tr.top1 td.rank { color: #fff; }
.rk-table tr.top2 td.rank { color: var(--rk-silver); }
.rk-table tr.top3 td.rank { color: var(--rk-bronze); }
.rk-who { display: flex; align-items: center; gap: 12px; }
.rk-avatar {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
    background: radial-gradient(circle at 50% 30%, #3a0c14, #1b1b22 70%);
    border: 2px solid #33333c; display: grid; place-items: center;
    font-size: 15px; font-weight: 800; color: #fff;
}
.rk-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rk-who a { font-weight: 700; color: #fff; }
.rk-who a:hover { color: var(--rk-red-2); }
.rk-who .verified { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #1d9bf0; color: #fff; margin-left: 4px; vertical-align: -3px; }
.rk-table td.points { font-weight: 800; font-size: 19px; text-align: center; }
.rk-table td.change { text-align: center; font-weight: 700; }
.rk-up { color: var(--rk-green); }
.rk-down { color: var(--rk-red-2); }
.rk-same { color: #777; }
.rk-change svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }
.rk-legend { display: flex; gap: 22px; padding: 12px 16px; font-size: 13px; color: var(--rk-muted); border-top: 1px solid var(--rk-line); flex-wrap: wrap; }
.rk-source { color: var(--rk-muted); font-size: 13px; margin: 14px 2px 0; }
.rk-source a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- สถานะว่าง ---------- */
.rk-empty {
    text-align: center; padding: 56px 20px; margin-top: 20px;
    background: var(--rk-panel); border: 1px dashed #3a3a44; border-radius: 16px;
}
.rk-empty svg { width: 54px; height: 54px; color: #444; margin-bottom: 10px; }
.rk-empty h3 { margin: 0 0 6px; font-size: 22px; color: #fff; }
.rk-empty p { margin: 0 0 18px; color: var(--rk-muted); }
.rk-empty .links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- กล่องวิธีคิดคะแนน ---------- */
.rk-dialog { border: 1px solid var(--rk-line); border-radius: 16px; background: var(--rk-panel); color: #fff; padding: 0; max-width: 560px; width: calc(100% - 40px); }
.rk-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.rk-dialog .dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--rk-line); }
.rk-dialog .dlg-head h2 { margin: 0; font-size: 20px; font-style: italic; }
.rk-dialog .dlg-head button { background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; }
.rk-dialog .dlg-body { padding: 18px 20px 22px; color: #d9d9e0; font-size: 15px; line-height: 1.7; }
.rk-dialog .dlg-body dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.rk-dialog .dlg-body dt { color: var(--rk-muted); }
.rk-dialog .dlg-body dd { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .rk-mode-grid { grid-template-columns: 1fr; }
    .rk-mode-grid .divider { display: none; }
    .rk-filters { grid-template-columns: 1fr 1fr; }
    .rk-filters .rk-btn-outline { grid-column: 1 / -1; }
    .rk-podium { grid-template-columns: 1fr; }
    .rk-pod, .rk-pod.gold { min-height: 0; }
    .rk-pod.gold { order: -1; }
    .rk-head { flex-wrap: wrap; }
    .rk-updated { margin-left: 0; width: 100%; }
}
@media (max-width: 520px) {
    .rk-wrap { overflow-x: clip; }
    .rk-mode { padding: 14px 12px 10px; }
    .rk-toggles { flex-direction: column; align-items: stretch; gap: 10px; }
    .rk-toggle { min-width: 0; width: 100%; font-size: 16px; padding: 11px 14px; }
    .rk-prov-pick { width: 100%; }
    .rk-select { width: 100%; min-width: 0; }
    .rk-head h1 { font-size: 30px; }
    .rk-empty h3 { font-size: 19px; overflow-wrap: anywhere; }
    .rk-section-title h2 { font-size: 22px; }
    .rk-filters { grid-template-columns: 1fr; }
    .rk-head .trophy { width: 60px; height: 60px; }
    .rk-table td { font-size: 15px; padding: 10px 12px; }
}

/* Reference layout: compact controls, full-portrait podium, dense Top 20 table. */
body.page-rankings {
    --rk-gold: #ffe444; --rk-silver: #c5c8cc; --rk-bronze: #f8a46d; --rk-green: #58ef41;
    background: radial-gradient(ellipse 650px 180px at 78% 0, #52091488, transparent),
        linear-gradient(139deg, transparent 65px, #69051b 66px, #290811 93px, transparent 94px) 0 50px / 100% 290px no-repeat,
        radial-gradient(ellipse 650px 270px at 5% 5%, #3c071155, transparent), #09090a;
    font-family: "Barlow", "Noto Sans Thai", sans-serif; font-weight: 500;
}
.page-rankings .header-inner, .page-rankings .footer-inner, .rk-wrap { max-width: 1120px; padding-inline: 22px; }
.page-rankings .header-inner { height: 58px; gap: 16px; }
.page-rankings .site-header { background: #09090bf5; }
.page-rankings .brand { gap: 8px; }
.page-rankings .brand .emblem, .rk-arm-emblem { background: url('../img/rankings/ranking-emblems.webp') left center / 200% 100% no-repeat; box-shadow: none; border-radius: 0; }
.page-rankings .brand .emblem { width: 58px; height: 48px; }
.page-rankings .brand .emblem svg { display: none; }
.page-rankings .brand-text b { font: italic 800 23px/1 "Barlow", sans-serif; letter-spacing: -.5px; }
.page-rankings .brand-text span { color: #fff; text-align: center; font: italic 700 10px/1 "Barlow", sans-serif; letter-spacing: 3px; }
.page-rankings .brand-text span::before, .page-rankings .brand-text span::after { content: ''; display: inline-block; width: 32px; height: 2px; background: #ff173e; vertical-align: middle; margin: 0 5px; }
.page-rankings .main-nav { margin-left: auto; }
.page-rankings .main-nav a { color: #eee; border-radius: 0; padding: 17px 13px; font-size: 16px; white-space: nowrap; }
.page-rankings .main-nav a.active { font-weight: 800; }
.page-rankings .main-nav a.active::after { height: 4px; bottom: 0; left: 5px; right: 5px; box-shadow: none; }
.rk-head { align-items: center; gap: 16px; padding: 14px 18px 16px; }
.rk-head .trophy { width: 82px; height: 72px; background: url('../img/rankings/ranking-emblems.webp') right center / 200% 100% no-repeat; filter: none; border-radius: 0; }
.rk-head .trophy svg { display: none; }
.rk-head h1 { font: italic 800 clamp(30px,4.3vw,44px)/1.25 "Kanit",sans-serif; text-shadow: 2px 2px #870d21; }
.rk-head p { color: #eee; font-size: clamp(15px,2.1vw,22px); line-height: 1.4; margin: 2px 0 0; }
.rk-updated { align-self: flex-start; padding-top: 10px; color: #eee; }
.rk-updated b { font-weight: 500; }
.rk-mode { border: 2px solid #ff173e; border-radius: 14px; padding: 8px 18px 9px; background: linear-gradient(105deg,#27070c90,#15090b80); box-shadow: inset 0 0 20px #7d001025; }
.rk-mode-grid { grid-template-columns: minmax(0,1fr) 1px minmax(0,1.13fr); gap: 23px; align-items: stretch; }
.rk-mode-grid .divider { background: linear-gradient(transparent,#d82943,transparent); margin: 5px 0; }
.rk-group-title { padding: 0 14px; margin: 0 0 9px 4px; transform: skewX(-18deg); background: linear-gradient(100deg,#890a20,#6c0719); font: italic 700 23px/1.4 "Kanit",sans-serif; border: 0; border-radius: 0; }
.rk-group-title span { transform: skewX(18deg); }
.rk-toggles { flex-wrap: nowrap; align-items: flex-end; gap: 9px; }
.rk-toggle { gap: 10px; flex: 1 1 auto; height: 57px; min-width: 0; padding: 6px 10px; border-radius: 9px; border-color: #777; background: linear-gradient(#373737,#141416); font: 700 clamp(17px,2vw,22px)/1.3 "Kanit",sans-serif; white-space: nowrap; box-shadow: inset 0 0 6px #ffffff15; }
.rk-toggle[data-type] { font-style: italic; }
.rk-toggle.is-on { border-color: #ffb1a8; background: linear-gradient(#d51c31,#9a0018 65%,#4b0710); box-shadow: 0 0 0 2px #ff234d,0 0 12px #ff173e88,inset 0 0 10px #ff564c; }
.rk-toggle:disabled { opacity: .48; cursor: not-allowed; }
.rk-toggle svg { width: 32px; height: 32px; flex-shrink: 0; }
.rk-arm-emblem { width: 44px; height: 40px; flex-shrink: 0; }
.rk-toggle .flag { width: 34px; height: 24px; flex-shrink: 0; border-radius: 0; }
.rk-prov-pick { gap: 4px; min-width: 125px; width: 29%; font-size: 14px; }
.rk-select, .rk-filters select { font: 500 15px/1.3 "Noto Sans Thai",sans-serif; border-color: #727275; border-radius: 6px; padding: 6px 29px 6px 11px; width: 100%; min-width: 0; background-color: #202022; background-position: right 9px center; }
.rk-mode-note { display: flex; align-items: center; gap: 25px; margin: 11px 0 0; font-size: 15px; line-height: 1.4; padding: 0; border: 0; color: #eee; }
.rk-mode-note::before, .rk-mode-note::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg,transparent,#cb1531); }
.rk-mode-note::after { transform: rotate(180deg); }
.rk-filters { grid-template-columns: repeat(4,minmax(0,1fr)) auto; gap: 22px; background: linear-gradient(#1b1b1d,#141415); border-color: #303033; border-radius: 11px; padding: 7px 18px 10px; margin-top: 8px; }
.rk-filters label { font-size: 13px; line-height: 1.4; gap: 3px; color: #eee; }
.rk-filters .rk-btn-outline { grid-column: auto; }
.rk-btn-outline { border: 1px solid #ff173e; border-radius: 7px; padding: 7px 16px; background: #09090b; font-weight: 600; line-height: 1.35; }
.rk-section-title { gap: 12px; margin: 14px 6px 3px; }
.rk-section-title::before { width: 10px; height: 29px; background: #ff173e; transform: skewX(-20deg); border-radius: 0; flex-shrink: 0; }
.rk-section-title h2 { font: italic 700 clamp(23px,3vw,30px)/1.3 "Kanit",sans-serif; }
.rk-section-sub { font-size: 16px; color: #eee; margin: 0 0 8px 35px; line-height: 1.4; }
.rk-podium { grid-template-columns: 1fr 1.04fr 1fr; gap: 16px; margin: 8px 12px 10px; }
.rk-pod { isolation: isolate; justify-content: flex-end; min-width: 0; min-height: 0; height: 264px; border-radius: 13px; padding: 0 18px 6px; background: #171013; box-shadow: none; }
.rk-pod.gold { min-height: 0; height: 279px; box-shadow: 0 0 8px #ffe44433; order: initial; }
.rk-pod .portrait, .rk-pod.gold .portrait { position: absolute; inset: 0; z-index: -2; margin: 0; width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.rk-pod .portrait img { object-position: center 20%; }
.rk-pod::before { display: none; }
.rk-pod::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(transparent 39%,#07070880 58%,#070708f2 83%,#09090a); }
.rk-initials { color: #fff6; align-self: start; margin-top: 35px; }
.rk-pod .place { z-index: 2; top: 6px; left: 13px; width: 74px; height: 59px; font: italic 800 44px/1 "Barlow",sans-serif; background: none; text-shadow: 1px 2px 3px #000; padding-bottom: 5px; }
.rk-pod .place::before { content: ''; position: absolute; inset: 0; background: var(--pc); mask: url('../img/rankings/laurel.svg') center / contain no-repeat; }
.rk-pod h3, .rk-pod.gold h3 { font: italic 800 30px/1.1 "Barlow","Kanit",sans-serif; margin: 0 0 3px; text-shadow: 1px 2px 5px #000; max-width: 100%; }
.rk-pod .prov { font-size: 14px; line-height: 1.6; }.rk-pod .prov svg { color: var(--pc); }
.rk-pod .pts { margin-top: 4px; padding-top: 0; border-color: color-mix(in srgb,var(--pc) 22%,transparent); font: italic 800 30px/1.3 "Barlow",sans-serif; }
.rk-pod .pts small { font: italic 700 20px "Kanit",sans-serif; color: inherit; margin-left: 7px; }
.rk-pod .verified, .rk-who .verified { background: #c41332; width: 16px; height: 16px; }
.rk-table-wrap { border: 0; border-radius: 9px 9px 0 0; margin-top: 8px; background: #101011; }
.rk-table { min-width: 700px; font-variant-numeric: tabular-nums; }
.rk-table th { background: linear-gradient(#212123,#18181a); padding: 6px 12px; font-size: 15px; font-weight: 600; }
.rk-table td { padding: 2px 12px; border-color: #29292b; font-size: 16px; line-height: 1.5; }
.rk-table tbody tr:nth-child(even) { background: #141415; }
.rk-table tr.top1 { background: linear-gradient(90deg,#530a12,#30070d); }
.rk-table tr.top1 td { background: none; }
.rk-table td.rank { width: 10%; font: 800 24px/1.3 "Barlow",sans-serif; }
.rk-table tr.top1 td.rank { color: var(--rk-gold); }
.rk-who { gap: 15px; font-weight: 700; }.rk-avatar { width: 29px; height: 29px; border: 1px solid #717174; font-size: 12px; }
.rk-avatar img { object-position: center 20%; }
.rk-table td.points { font: 700 21px/1.4 "Barlow",sans-serif; }.rk-table td.change { font-size: 19px; }
.rk-change svg { width: 17px; height: 17px; margin-right: 3px; }
.rk-legend { gap: 27px; padding: 10px 14px; font-size: 14px; background: #09090a; border: 0; }
.rk-more { text-align: center; margin: 12px 0; }
.rk-source, .rk-demo-note { color: #b8b8c1; font-size: 12px; margin: 7px 4px; line-height: 1.6; }
.page-rankings .site-footer { margin-top: 20px; border-top: 1px solid #a51429; background: linear-gradient(110deg,#28090e,#080809 65%); padding: 15px 0; }
.page-rankings .footer-nav { font-size: 12px; gap: 12px; }.page-rankings .footer-note { font-size: 11px; }
.page-rankings .footer-social a { border: 0; background: none; }.page-rankings .footer-social a:nth-child(1) { color: #199aff; }.page-rankings .footer-social a:nth-child(3) { color: #ff2241; }.page-rankings .footer-social a:nth-child(4) { color: #f44fba; }
@media (max-width: 1050px) {
    .rk-mode-grid { gap: 15px; grid-template-columns: minmax(0,1fr) 1px minmax(0,1.16fr); }
    .rk-toggle { gap: 6px; padding-inline: 8px; font-size: 19px; }.rk-prov-pick { min-width: 120px; }
    .page-rankings .main-nav a { padding-inline: 9px; font-size: 14px; }
}
@media (max-width: 900px) {
    .rk-mode-grid { grid-template-columns: 1fr; gap: 13px; }.rk-mode-grid .divider { display: none; }
    .rk-toggle { flex: 1; }.rk-prov-pick { flex: 1; }.rk-group-title { font-size: 20px; }.rk-filters { gap: 12px; }
    .rk-podium { margin-inline: 0; gap: 10px; }.rk-pod { height: 240px; padding-inline: 10px; }.rk-pod.gold { height: 254px; }
    .rk-pod h3 { font-size: 25px; }.rk-pod .pts { font-size: 27px; }.rk-pod .pts small { font-size: 16px; }
}
@media (min-width: 621px) and (max-width: 960px) { .rk-updated { width: auto; margin-left: auto; } }
@media (max-width: 620px) {
    .rk-wrap { padding-inline: 12px; }.page-rankings .header-inner { padding-inline: 12px; gap: 9px; }
    .page-rankings .brand-text b { font-size: 18px; }.page-rankings .brand .emblem { width: 36px; height: 38px; }
    .page-rankings .brand-text span::before, .page-rankings .brand-text span::after { width: 15px; }.page-rankings .header-tools .btn span { display: none; }
    .page-rankings .header-tools { gap: 5px; }.page-rankings .search-box:focus-within { position: absolute; right: 10px; width: calc(100% - 20px); background: #19191c; }
    .rk-head { padding: 15px 0; gap: 10px; flex-wrap: wrap; }.rk-head .trophy { width: 55px; height: 55px; }.rk-head h1 { font-size: 29px; }.rk-head p { font-size: 14px; }
    .rk-updated { width: 100%; margin: -7px 0 0 65px; padding: 0; font-size: 12px; }
    .rk-mode { padding: 10px; }.rk-toggle { height: 48px; width: auto; font-size: 17px; }.rk-toggle svg { width: 25px; height: 25px; }.rk-arm-emblem { width: 34px; height: 31px; }
    .rk-toggles { flex-direction: row; flex-wrap: wrap; }.rk-prov-pick { flex-basis: 100%; flex-direction: row; align-items: center; font-size: 13px; gap: 12px; }.rk-select { width: auto; flex: 1; }
    .rk-mode-note { font-size: 12px; gap: 0; }.rk-mode-note::before, .rk-mode-note::after { display: none; }
    .rk-filters { grid-template-columns: 1fr 1fr; padding: 10px; gap: 10px; }.rk-filters .rk-btn-outline { grid-column: 1/-1; }
    .rk-section-title h2 { font-size: 24px; }.rk-section-sub { font-size: 13px; margin-left: 26px; }
    .rk-podium { grid-template-columns: 1fr 1fr; gap: 9px; }.rk-pod.gold { grid-column: 1/-1; order: -1; height: 285px; }
    .rk-pod { height: 220px; padding-inline: 7px; }.rk-pod h3 { font-size: 23px; }.rk-pod .place { width: 58px; height: 48px; font-size: 34px; left: 5px; }.rk-pod .pts { font-size: 25px; }.rk-pod .pts small { font-size: 14px; margin-left: 4px; }
    .rk-pod.gold h3 { font-size: 33px; }.rk-pod.gold .pts { font-size: 33px; }.rk-legend { gap: 8px 20px; font-size: 12px; }
    .rk-dialog .dlg-body dl { grid-template-columns: 1fr; gap: 4px; }.rk-dialog .dlg-body dd { margin-bottom: 10px; }
}
