@font-face {
    font-family: "Anton SC";
    src: url("../fonts/trangchu2/AntonSC-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Bai Jamjuree";
    src: url("../fonts/trangchu2/BaiJamjuree-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Bai Jamjuree";
    src: url("../fonts/trangchu2/BaiJamjuree-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --pr-blue: #0881fc;
    --pr-cyan: #00b5db;
    --pr-ink: #1f366b;
    --pr-navy: #000b1d;
    --pr-deep: #001a33;
    --pr-text: #dce9ff;
    --pr-muted: #7f8fb1;
    --pr-white: #ffffff;
    --pr-body: "Bai Jamjuree", Arial, sans-serif;
    --pr-heading: "Anton SC", Impact, sans-serif;
    --pr-container: 1580px;
    --pr-pad: clamp(20px, 4.6vw, 88px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.pr-page {
    margin: 0;
    min-height: 100vh;
    color: var(--pr-text);
    background: #02010a;
    font-family: var(--pr-body);
    overflow-x: hidden;
}

body.pr-modal-open,
body.pr-page:has(.tc-menu-toggle:checked) {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
select {
    font: inherit;
}

button {
    border: 0;
}

img {
    display: block;
    max-width: 100%;
}

.pr-container,
.tc-footer-inner {
    width: min(calc(100% - (var(--pr-pad) * 2)), var(--pr-container));
    margin: 0 auto;
}

.pr-eyebrow {
    margin: 0;
    color: var(--pr-white);
    font-size: clamp(13px, 0.9vw, 16px);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.pr-primary-button,
.pr-secondary-button {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    color: #fff;
    background: var(--pr-blue);
    border: 1px solid var(--pr-blue);
    border-radius: 6px;
    font-size: clamp(15px, 0.95vw, 18px);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.pr-primary-button:hover,
.pr-secondary-button:hover {
    transform: translateY(-2px);
    background: #2492ff;
}

.pr-secondary-button {
    color: var(--pr-blue);
    background: rgba(255, 255, 255, 0.9);
}

.pr-secondary-button:hover {
    color: #fff;
}

/* Hero */
.pr-hero {
    position: relative;
    min-height: clamp(420px, 36vw, 600px);
    overflow: hidden;
    background: #071325;
}

.pr-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 11, 29, 0) 0%, rgba(0, 11, 29, 0) 48%, rgba(0, 11, 29, 0) 100%),
        url("../images/player-ranking/layout/hero-ranking.png") center / cover no-repeat;
}

.pr-hero-inner {
    position: relative;
    z-index: 1;
    min-height: clamp(420px, 36vw, 600px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(18px, 1.7vw, 28px);
    padding: clamp(64px, 7vw, 112px) 0;
}

.pr-hero h1,
.pr-board-heading h2 {
    margin: 0;
    font-family: var(--pr-heading);
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    letter-spacing: 1.92px;
    font-size: 64px;
}

.pr-hero h1 span {
    color: var(--pr-cyan);
}

.pr-hero h1 {
    width: min(100%, 820px);
    color: #fff;
    font-size: clamp(48px, 5.8vw, 116px);
}

.pr-hero-copy {
    width: min(100%, 520px);
    margin: 0;
    color: var(--pr-white);
    font-size: clamp(16px, 1.05vw, 20px);
    line-height: 1.55;
    font-size: 16px;
    font-family: var(--pr-body);
    font-weight: 400;
}

.pr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

/* Ranking board */
.pr-ranking-section {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 7vw, 128px) 0;
    background: url("../images/player-ranking/banner.png") center / cover no-repeat;;
}

.pr-ranking-shell {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 2.4vw, 30px);
}

.pr-ranking-toolbar,
.pr-board-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.pr-ranking-toolbar {
    align-items: center;
}

.pr-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(20px, 2.5vw, 36px);
    width: 100%;
}

.pr-tab {
    min-height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1 1 0;
    padding: 12px 16px 16px;
    color: rgba(255, 255, 255, 0.58);
    background: transparent;
    border: 0;
    border-bottom: 3px solid rgba(255, 255, 255, 0.58);
    border-radius: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: clamp(18px, 1.4vw, 24px);
    line-height: 1.15;
}

.pr-tab.is-active,
.pr-tab:hover {
    color: #00d7ff;
    background: transparent;
    border-bottom-color: #00d7ff;
}

.pr-tab-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    flex: 0 0 auto;
}

.pr-tab-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.pr-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.pr-filter label {
    color: #fff;
    font-weight: 700;
}

.pr-filter select {
    min-width: 118px;
    min-height: 46px;
    padding: 0 42px 0 16px;
    color: var(--pr-ink);
    background: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.pr-unassigned {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 15px 0 15px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
}

.pr-unassigned-copy {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-direction: column;
    gap: 6px
}

.pr-unassigned-info {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.pr-unassigned-info img {
    width: 19px;
    height: 19px;
    color: var(--pr-blue);
}

.pr-unassigned-copy strong {
    text-decoration: none;
    color: #fff;
    font-size: clamp(17px, 1.2vw, 36px);
    font-family: var(--pr-body);
    font-weight: 700;
    line-height: 100%;
}

.pr-unassigned-copy p {
    color: var(--pr-white);
    font-family: var(--pr-body);
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

.pr-login-link {
    color: #b8c8e8;
    font-size: 15px;
}

.pr-unassigned-list {
    min-height: 126px;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 8px 2px 14px;
    scrollbar-width: none;
}

.pr-list-card {
    width: 95%;
}

.pr-box-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.pr-board-heading h2 {
    margin-top: 8px;
    color: #fff;
    font-family: var(--pr-body);
    font-size: clamp(32px, 3.1vw, 48px);
    font-weight: 700;
    line-height: 1.12;
    text-transform: none;
}

.pr-board-heading h2 span {
    color: #00d7ff;
}

.pr-login-link {
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid var(--pr-blue);
}

.pr-tab-panel {
    width: 100%;
}

.pr-tier-list {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.15vw, 20px);
}

.pr-tier-row {
    min-height: 212px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: radial-gradient(ellipse at center, #02010a 0%, #0e020d 52%, #1a0310 100%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.24);
}

.pr-tier-label {
    width: clamp(150px, 13vw, 182px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #fff;
    font-family: var(--pr-heading);
    font-size: clamp(82px, 8vw, 134px);
    line-height: 1;
    cursor: default;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.pr-board-heading .pr-eyebrow {
    display: none;
}

.pr-tier-s {
    border-color: rgba(255, 102, 102, 0.5);
    box-shadow: 0 4px 20px rgba(255, 80, 80, 0.2);
}

.pr-tier-s .pr-tier-label,
.pr-vote-option.pr-tier-s {
    color: #ff5d5d;
    background: radial-gradient(circle at 22% 18%, rgba(255, 34, 34, 0.82), rgba(92, 6, 22, 0.4) 46%, #08142b 100%);
}

.pr-tier-a .pr-tier-label,
.pr-vote-option.pr-tier-a {
    color: #ff9f1a;
    background: radial-gradient(circle at 22% 18%, rgba(176, 85, 10, 0.72), rgba(63, 30, 23, 0.56) 48%, #08142b 100%);
}

.pr-tier-b .pr-tier-label,
.pr-vote-option.pr-tier-b {
    color: #ffe21c;
    background: radial-gradient(circle at 22% 18%, rgba(178, 164, 10, 0.72), rgba(50, 57, 28, 0.56) 48%, #08142b 100%);
}

.pr-tier-c .pr-tier-label,
.pr-vote-option.pr-tier-c {
    color: #70ff33;
    background: radial-gradient(circle at 22% 18%, rgba(20, 148, 43, 0.72), rgba(9, 62, 27, 0.52) 50%, #08142b 100%);
}

.pr-tier-d .pr-tier-label,
.pr-vote-option.pr-tier-d {
    color: #1bdff3;
    background: radial-gradient(circle at 22% 18%, rgba(12, 139, 156, 0.72), rgba(10, 67, 82, 0.52) 50%, #08142b 100%);
}

.pr-tier-f .pr-tier-label,
.pr-vote-option.pr-tier-f {
    color: #a970ff;
    background: radial-gradient(circle at 22% 18%, rgba(97, 37, 177, 0.72), rgba(39, 20, 83, 0.58) 50%, #08142b 100%);
}

.pr-detail-tier.pr-tier-s {
    color: #ff5d5d;
    background: radial-gradient(circle at 22% 18%, rgba(255, 34, 34, 0.82), rgba(92, 6, 22, 0.4) 46%, #08142b 100%);
}

.pr-detail-tier.pr-tier-a {
    color: #ff9f1a;
    background: radial-gradient(circle at 22% 18%, rgba(176, 85, 10, 0.72), rgba(63, 30, 23, 0.56) 48%, #08142b 100%);
}

.pr-detail-tier.pr-tier-b {
    color: #ffe21c;
    background: radial-gradient(circle at 22% 18%, rgba(178, 164, 10, 0.72), rgba(50, 57, 28, 0.56) 48%, #08142b 100%);
}

.pr-detail-tier.pr-tier-c {
    color: #70ff33;
    background: radial-gradient(circle at 22% 18%, rgba(20, 148, 43, 0.72), rgba(9, 62, 27, 0.52) 50%, #08142b 100%);
}

.pr-detail-tier.pr-tier-d {
    color: #1bdff3;
    background: radial-gradient(circle at 22% 18%, rgba(12, 139, 156, 0.72), rgba(10, 67, 82, 0.52) 50%, #08142b 100%);
}

.pr-detail-tier.pr-tier-f {
    color: #a970ff;
    background: radial-gradient(circle at 22% 18%, rgba(97, 37, 177, 0.72), rgba(39, 20, 83, 0.58) 50%, #08142b 100%);
}

.pr-tier-items {
    min-width: 0;
    min-height: 212px;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    gap: clamp(12px, 1vw, 16px);
    padding: clamp(16px, 1.7vw, 28px);
    transition: background-color 0.18s ease;
}

.pr-tier-items.is-drag-over {
    background: rgba(8, 129, 252, 0.16);
}

.pr-player-card {
    width: clamp(118px, 8.8vw, 126px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    gap: 0;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.pr-player-card:hover,
.pr-player-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(8, 129, 252, 0.65);
    background: rgba(8, 129, 252, 0.08);
    outline: none;
}

.pr-player-thumb {
    width: 100%;
    aspect-ratio: 126 / 176;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pr-player-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pr-empty-note {
    margin: 0;
    color: #8191af;
    font-size: 15px;
}

/* Modals */
.pr-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 3vw, 48px);
}

.pr-modal.is-open {
    display: flex;
}

.pr-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.74);
}

.pr-detail-dialog,
.pr-vote-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1040px);
    max-height: min(860px, calc(100vh - 32px));
    overflow: auto;
    color: #fff;
    background: var(--pr-deep);
    border: 0;
    border-radius: 20px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.pr-detail-dialog {
    padding: clamp(18px, 2.2vw, 24px);
}

.pr-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    font-size: 46px;
    font-weight: 400;
    line-height: 1;
}

.pr-detail-player {
    display: flex;
    align-items: stretch;
    gap: clamp(18px, 2.3vw, 26px);
}

.pr-detail-card {
    width: min(100%, 205px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    text-align: center;
}

.pr-detail-image,
.pr-vote-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
}

.pr-detail-image {
    width: 205px;
    aspect-ratio: 235 / 274;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

.pr-detail-image img,
.pr-vote-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pr-detail-card h3,
.pr-vote-player h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 1.8vw, 28px);
    line-height: 1.2;
    text-align: center;
}

.pr-detail-card p,
.pr-vote-player p,
.pr-vote-player span {
    margin: 0;
    color: #b8c8e8;
}

.pr-detail-card span {
    color: #fff;
    font-size: 21px;
    font-weight: 700;
}

.pr-detail-tier {
    width: 100%;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(82px, 8vw, 112px);
    line-height: 1;
    border: 2px solid currentColor;
    border-radius: 20px;
    box-shadow: 0 22px 34px rgba(255, 93, 93, 0.26);
}

.pr-detail-content {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 14px;
}

.pr-info-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(14px, 1.5vw, 18px);
    background: transparent;
    border: 1px solid #0881fc;
    border-radius: 18px;
}

.pr-info-panel h4 {
    margin: 0;
    color: #0881fc;
    font-size: clamp(24px, 2.1vw, 30px);
    line-height: 1.2;
}

.pr-info-panel p {
    margin: 0;
    color: #fff;
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.45;
}

.pr-skill-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pr-panel-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    flex: 0 0 auto;
    color: #fff;
}

.pr-panel-icon svg,
.pr-stat-icon svg,
.pr-basic-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.pr-stat-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.5vw, 20px);
}

.pr-stat-list div {
    min-width: 0;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    text-align: center;
    background: rgba(8, 129, 252, 0.13);
    border: 1px solid #0881fc;
    border-radius: 10px;
}

.pr-stat-list span {
    color: #dce9ff;
    font-size: 12px;
    line-height: 1.2;
}

.pr-stat-list strong {
    color: #00d65a;
    font-size: 22px;
    line-height: 1.1;
}

.pr-stat-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    color: #fff;
}

.pr-basic-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
}

.pr-basic-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pr-basic-list div:last-child {
    border-bottom: 0;
}

.pr-basic-list dt,
.pr-basic-list dd {
    margin: 0;
    line-height: 1.4;
    font-size: clamp(16px, 1.35vw, 19px);
}

.pr-basic-list dt {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.pr-basic-list dd {
    color: #fff;
    font-weight: 400;
    text-align: right;
}

.pr-basic-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    flex: 0 0 auto;
    color: #fff;
}

.pr-detail-login {
    align-self: flex-start;
}

.pr-vote-dialog {
    width: min(100%, 890px);
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 36px;
}

.pr-vote-player {
    display: flex;
    align-items: center;
    gap: 26px;
    padding-right: 64px;
}

.pr-vote-image {
    width: 104px;
    height: 128px;
    flex: 0 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

.pr-vote-player p {
    color: var(--pr-blue);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.pr-vote-player h3 {
    text-align: left;
    font-size: clamp(26px, 3.8vw, 34px);
    font-weight: 700;
}

.pr-vote-player-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 10px;
    min-width: 0;
}

.pr-vote-player-info span {
    color: #fff;
    font-size: clamp(26px, 3.8vw, 34px);
    font-weight: 700;
    line-height: 1.2;
}

.pr-vote-options {
    display: grid;
    grid-template-columns: repeat(6, minmax(96px, 122px));
    justify-content: space-between;
    gap: 18px;
}

.pr-vote-option {
    min-width: 0;
    min-height: 122px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 2px solid currentColor;
    border-radius: 21px;
    cursor: pointer;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(48px, 5vw, 66px);
    line-height: 1;
}

.pr-vote-title {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 3vw, 26px);
    line-height: 1.2;
}

.pr-vote-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: -2px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 2.4vw, 22px);
    line-height: 1.25;
    text-align: center;
}

.pr-vote-hint span {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #19d9ff;
    border: 1px solid #19d9ff;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
}

.pr-vote-option.is-active,
.pr-vote-option:hover {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.pr-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    max-width: min(360px, calc(100vw - 40px));
    padding: 14px 18px;
    color: #fff;
    background: #16a34a;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    font-weight: 700;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pr-toast-error {
    background: #dc2626;
}

.pr-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.tc-footer {
    width: 100%;
    color: #fff;
    background: var(--pr-navy);
}

.tc-footer-inner {
    min-height: 420px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(44px, 5vw, 96px);
    padding: clamp(56px, 6vw, 86px) 0;
}

.tc-footer-brand {
    width: min(100%, 480px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tc-footer-brand p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.65;
}

.tc-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-width: 126px;
}

.tc-footer-links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.tc-footer-links a:hover {
    color: #fff;
}

.tc-footer-social a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
}

.tc-footer-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


@media (max-width: 1439px) {
    :root {
        --pr-container: 1200px;
    }
}

@media (max-width: 1160px) {
    .pr-detail-player,
    .tc-footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    :root {
        --pr-pad: 10px;
    }

    body.pr-page {
        background: var(--pr-navy);
    }

    .pr-hero,
    .pr-hero-inner {
        min-height: 284px;
        height: 284px;
    }

    .pr-hero-bg {
        background: url("../images/player-ranking/layout/hero-ranking.png") center / cover no-repeat;
    }

    .pr-hero-inner {
        width: 255px;
        margin: 0 0 0 19px;
        justify-content: flex-start;
        gap: 16px;
        padding: 84px 0 0;
    }

    .pr-hero .pr-eyebrow {
        width: 100%;
        font-size: 10px;
        line-height: 1.2;
    }

    .pr-hero h1 {
        width: 100%;
        font-size: 32px;
        line-height: 1.05;
        letter-spacing: 0;
    }

    .pr-hero-copy {
        width: 100%;
        font-size: 10px;
        line-height: 1.25;
    }

    .pr-primary-button,
    .pr-secondary-button {
        width: 100%;
        min-height: 52px;
        white-space: normal;
    }

    .pr-ranking-section {
        padding: 17px 0 0;
        background-color: var(--pr-navy);
        background-position: center top;
        background-size: cover;
    }

    .pr-ranking-shell {
        width: min(calc(100% - 20px), 410px);
        gap: 8px;
    }

    .pr-ranking-toolbar {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .pr-tabs {
        width: 100%;
        gap: 0;
    }

    .pr-tab {
        min-height: 31px;
        flex: 1 1 0;
        gap: 8px;
        padding: 0 4px 8px;
        border-bottom-width: 1px;
        font-size: 10px;
        line-height: 1.2;
    }

    .pr-tab-icon {
        width: 16px;
        height: 16px;
    }

    .pr-unassigned-copy {
        align-items: flex-start;
        gap: 4px;
    }

    .pr-unassigned-copy strong {
        font-size: 10px;
        line-height: 1.2;
    }

    .pr-unassigned-copy p {
        font-size: 10px;
        line-height: 1.2;
    }

    .pr-unassigned-info {
        gap: 8px;
    }

    .pr-unassigned-info img {
        width: 12px;
        height: 12px;
    }

    .pr-box-list {
        gap: 4px;
        justify-content: center;
    }

    .pr-box-list > img {
        width: 12px;
        height: 12px;
        flex: 0 0 auto;
        object-fit: contain;
    }

    .pr-list-card {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
    }

    .pr-unassigned {
        height: 92px;
        gap: 0;
        padding: 5px 6px;
        border-color: rgba(8, 129, 252, 0.65);
        border-radius: 4px;
        background: rgba(2, 27, 58, 0.66);
    }

    .pr-unassigned-list {
        min-height: 81px;
        gap: 8px;
        align-items: flex-start;
        padding: 0;
    }

    .pr-unassigned .pr-player-card,
    .pr-unassigned .pr-player-thumb {
        width: 58px;
    }

    .pr-unassigned .pr-player-card {
        min-height: 81px;
    }

    .pr-board-heading {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .pr-board-heading h2 {
        margin: 0;
        font-size: 10px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .pr-filter {
        width: auto;
        justify-content: flex-end;
        gap: 0;
    }

    .pr-filter label {
        display: none;
    }

    .pr-filter select {
        width: 49px;
        min-width: 49px;
        min-height: 20px;
        padding: 0 16px 0 7px;
        border-radius: 4px;
        font-size: 10px;
        line-height: 1;
    }

    .pr-hero-actions {
        width: 100%;
    }

    .pr-tier-list {
        gap: 10px;
    }

    .pr-tier-row {
        min-height: 92px;
        flex-direction: row;
        border-width: 1px;
        border-radius: 10px;
    }

    .pr-tier-label {
        width: 74px;
        min-height: 90px;
        align-self: stretch;
        padding: 0;
        font-size: 48px;
        line-height: 1;
    }

    .pr-tier-items {
        min-height: 90px;
        align-items: flex-start;
        align-content: flex-start;
        gap: 8px;
        padding: 5px;
    }

    .pr-player-card {
        width: 58px;
        min-height: 81px;
        border-radius: 2px;
    }

    .pr-player-card:hover,
    .pr-player-card:focus-visible {
        transform: none;
    }

    .pr-player-thumb {
        width: 58px;
        aspect-ratio: 58 / 81;
    }

    .pr-empty-note {
        align-self: center;
        font-size: 10px;
    }

    .pr-tier-s {
        border-color: rgba(255, 56, 102, 0.55);
        background: radial-gradient(ellipse at center, #02010a 0%, #17030f 52%, #390514 100%);
        box-shadow: 0 4px 20px rgba(255, 56, 102, 0.2);
    }

    .pr-tier-a {
        border-color: rgba(255, 170, 45, 0.5);
        background: radial-gradient(ellipse at center, #02010a 0%, #180b09 52%, #2d1407 100%);
        box-shadow: 0 4px 20px rgba(255, 152, 0, 0.2);
    }

    .pr-tier-b {
        border-color: rgba(255, 226, 28, 0.55);
        background: radial-gradient(ellipse at center, #02010a 0%, #181505 52%, #2d2900 100%);
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
    }

    .pr-tier-c {
        border-color: rgba(125, 255, 26, 0.55);
        background: radial-gradient(ellipse at center, #02010a 0%, #09190d 52%, #103010 100%);
        box-shadow: 0 4px 20px rgba(102, 255, 0, 0.2);
    }

    .pr-tier-d {
        border-color: rgba(24, 239, 255, 0.55);
        background: radial-gradient(ellipse at center, #02010a 0%, #011924 52%, #00303d 100%);
        box-shadow: 0 4px 20px rgba(0, 231, 255, 0.2);
    }

    .pr-tier-f {
        border-color: rgba(185, 128, 255, 0.55);
        background: radial-gradient(ellipse at center, #02010a 0%, #150a25 52%, #281240 100%);
        box-shadow: 0 4px 20px rgba(168, 107, 255, 0.2);
    }

    .pr-detail-dialog,
    .pr-vote-dialog {
        border-radius: 20px;
    }

    .pr-detail-card {
        width: 100%;
    }

    .pr-detail-image {
        width: min(220px, 72vw);
    }

    .pr-detail-tier {
        width: min(240px, 72vw);
        min-height: 180px;
    }

    .pr-stat-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pr-basic-list div {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .pr-basic-list dd {
        text-align: left;
    }

    .pr-vote-player {
        align-items: flex-start;
        padding-right: 44px;
    }

    .pr-vote-image {
        width: 78px;
        height: 78px;
    }

    .pr-vote-dialog {
        padding: 24px 20px;
    }

    .pr-vote-options {
        grid-template-columns: repeat(3, minmax(76px, 1fr));
        gap: 12px;
    }

    .pr-vote-option {
        min-height: 92px;
        border-radius: 16px;
    }

    .tc-footer-inner {
        min-height: 0;
        width: min(calc(100% - 32px), 398px);
        align-items: center;
        gap: 24px;
        padding: 0 0 26px;
        border-bottom: 1px solid #fff;
    }

    .tc-footer {
        padding: 0;
        background: var(--pr-navy);
    }

    .tc-footer-brand {
        width: 100%;
        align-items: center;
        gap: 0;
    }

    .tc-logo-footer img {
        position: static;
        width: 292px;
        height: auto;
        transform: none;
    }

    .tc-footer-brand p {
        margin: 0;
        color: #fff;
        font-size: 14px;
        line-height: 1.35;
        text-align: center;
    }

    .tc-footer-links {
        min-width: 0;
        align-items: center;
        gap: 10px;
    }

    .tc-footer-links strong {
        margin: 0;
        color: #fff;
        font-size: 16px;
        line-height: 1.25;
        text-align: center;
    }

    .tc-footer-links a {
        padding: 5px 10px;
        color: #fff;
        font-size: 15px;
        line-height: 1.25;
        text-align: center;
    }

    .tc-footer-social {
        justify-content: center;
    }

    .tc-footer-nav {
        height: 49px;
        justify-content: flex-end;
        gap: 16px;
        padding: 0 16px;
    }

    .tc-back-top {
        position: static;
        color: #fff;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.2;
    }

    .tc-footer-nav img {
        width: 19px;
        height: 19px;
        object-fit: contain;
    }
}

@media (max-width: 420px) {
    .pr-player-card {
        width: 58px;
    }

    .pr-stat-list {
        grid-template-columns: 1fr;
    }

    .pr-stat-list div {
        min-height: 108px;
    }
}
