.skins-page[hidden], .skins-page [hidden] { display: none !important; }
html:has(.skin-dialog[open]) { overflow: hidden; }
.skins-page { min-height: 100vh; background: radial-gradient(ellipse at 85% 25%, #17232e, transparent 55%), #0c1118; padding: 26px clamp(18px, 3.5vw, 54px) 32px; }
.skins-site-header, .skins-hero, .skins-workspace, .skins-footer { max-width: 1440px; margin-inline: auto; }
.skins-site-header { margin-bottom: 28px; }
.skins-page .site-nav a[aria-current] { color: #f1d39b; border-color: #a58855; }
.skins-page :is(button, a, input, select):focus-visible { outline: 2px solid #f3cf8b; outline-offset: 4px; }
.skins-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 390px; border: 1px solid #c9a56738; border-radius: 5px; background: #17202e; }
.skins-hero-art { position: absolute; inset: 0; z-index: -2; background-image: var(--skin-art); background-size: cover; background-position: center 25%; opacity: 0.9; }
.skins-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0c121bf5, #0c121bc9 35%, #0c121b24 80%), linear-gradient(0deg, #0c121be0, transparent 55%); }
.skins-hero-copy { max-width: 640px; padding: 42px clamp(22px, 4vw, 58px); }
.skins-hero h1 { margin: 14px 0 18px; max-width: none; font-size: clamp(2.2rem, 4.3vw, 4rem); line-height: 1.15; font-weight: 500; }
.skins-hero .event-era { font-size: 0.65rem; letter-spacing: 0.2em; }
.skins-hero-copy > p:last-of-type { max-width: 460px; font-size: 0.88rem; line-height: 1.9; color: #bec6d0; }
.skins-stats { display: flex; gap: 30px; margin-top: 27px; }
.skins-stats span { display: grid; gap: 6px; color: #afbac7; font-size: 0.64rem; }
.skins-stats strong { font-size: 1.35rem; color: #edd4a5; font-weight: 500; font-variant-numeric: tabular-nums; }
.skins-art-caption { position: absolute; right: 24px; bottom: 20px; color: #e1dccf; font-size: 0.65rem; text-shadow: 0 1px 3px #000; }
.skins-toolbar { margin-top: 30px; padding: 22px; border: 1px solid #a9b9cc26; border-radius: 5px; background: #101923; }
.skins-toolbar-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.skins-toolbar h2 { margin: 0; font-family: Cinzel, Georgia, serif; font-size: 1.1rem; font-weight: 500; }
.skins-toolbar-top p { margin: 5px 0 0; color: #97a5b6; font-size: 0.7rem; }
.skins-reset, .skins-more, .skins-retry { border: 1px solid #bca16b70; border-radius: 3px; padding: 10px 16px; background: #c4a26b0c; color: #ebd2a7; cursor: pointer; font-size: 0.75rem; }
.skins-filters { display: grid; grid-template-columns: minmax(180px, 1.5fr) repeat(4, minmax(120px, 1fr)); gap: 12px; }
.skins-filters label { display: grid; gap: 9px; color: #b8c4d2; font-size: 0.66rem; }
.skins-filters input, .skins-filters select { width: 100%; min-width: 0; border: 1px solid #94a5bb42; border-radius: 3px; padding: 11px 10px; background: #0b131c; color: #e6e4de; font: inherit; font-size: 0.78rem; }
.skins-filters input::placeholder { color: #8393a7; }
.skins-catalog-note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 2px 22px; color: #96a6b9; font-size: 0.7rem; line-height: 1.7; }
.skins-catalog-note span { color: #d8b879; font-size: 1rem; }
.skins-catalog-note p { margin: 0; }
.skins-results-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 2px 0 18px; }
.skins-results-heading h2 { font-size: 0.9rem; font-weight: 500; margin: 0; }
.skins-result-count { color: #95a5b8; font-size: 0.72rem; }
.skin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.skin-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #9eb1cb29; border-radius: 4px; background: #111b27; color: inherit; padding: 0; text-align: left; cursor: pointer; transition: border-color 160ms, transform 160ms; }
.skin-card:hover { border-color: #c7a97490; transform: translateY(-3px); }
.skin-card-art { position: relative; overflow: hidden; aspect-ratio: 16 / 10; width: 100%; background: linear-gradient(135deg, #243747, #121e2e); }
.skin-card-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 260ms; }
.skin-card:hover img { transform: scale(1.035); }
.skin-card-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0c14237a, transparent 50%); }
.skin-legacy-badge { position: absolute; z-index: 1; bottom: 10px; right: 10px; background: #101b2ce6; border: 1px solid #c5b38566; padding: 4px 8px; color: #ddd1b5; font-size: 0.57rem; }
.skin-card-copy { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.skin-card-champion { color: #97a9be; font-size: 0.65rem; }
.skin-card-name { font-size: 0.86rem; font-weight: 500; line-height: 1.5; color: #f1e9d8; }
.skin-card-line { color: #8fa3bd; font-size: 0.65rem; line-height: 1.5; margin-bottom: 8px; }
.skin-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #ffffff0e; padding-top: 12px; margin-top: auto; }
.skin-rarity { color: #b6c0ce; font-size: 0.62rem; }
.skin-rarity[data-rarity="kEpic"] { color: #9bb9ee; }
.skin-rarity[data-rarity="kLegendary"] { color: #f0a693; }
.skin-rarity[data-rarity="kMythic"] { color: #d6a8ed; }
.skin-rarity:is([data-rarity="kUltimate"], [data-rarity="kExalted"], [data-rarity="kTranscendent"]) { color: #f0ce87; }
.skin-card-arrow { color: #c9b37e; font-size: 0.75rem; }
.skins-more-wrap { display: flex; justify-content: center; margin: 28px 0; }
.skins-loading, .skins-empty { text-align: center; padding: 60px 20px; color: #b5c3d1; line-height: 1.8; }
.skins-footer { display: grid; gap: 12px; padding-top: 24px; margin-top: 24px; border-top: 1px solid #9eb1cb29; }
.skins-footer p { font-size: 0.66rem; color: #92a1b3; line-height: 1.8; margin: 0; }
.skins-footer > div { display: flex; flex-wrap: wrap; gap: 20px; }
.skins-footer a { font-size: 0.67rem; color: #c0b18e; }
.skin-dialog { max-width: 920px; width: calc(100% - 32px); max-height: 90dvh; padding: 0; border: 1px solid #baa47685; border-radius: 5px; background: #101923; color: #ede7db; overscroll-behavior: contain; }
.skin-dialog::backdrop { background: #03070cd9; backdrop-filter: blur(6px); }
.skin-dialog-close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 38px; height: 38px; border: 1px solid #d3c39b66; border-radius: 50%; background: #07111be8; color: #f5e3bb; font-size: 1.5rem; cursor: pointer; }
.skin-detail-art { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; background: #1b2d3e; }
.skin-detail-copy { padding: 28px clamp(20px, 4vw, 40px) 34px; }
.skin-detail-copy h2 { font-family: Cinzel, Georgia, serif; font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; margin: 9px 0 18px; }
.skin-detail-champion { color: #c5b489; font-size: 0.7rem; }
.skin-detail-champion a { color: inherit; text-decoration: none; }
.skin-detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 18px 0; border-block: 1px solid #a9b9cc26; }
.skin-detail-facts div { display: grid; gap: 8px; font-size: 0.73rem; line-height: 1.6; }
.skin-detail-facts span { color: #92a5bc; font-size: 0.61rem; text-transform: uppercase; letter-spacing: 0.05em; }
.skin-detail-section { margin-top: 24px; }
.skin-detail-section h3 { font-size: 0.88rem; color: #ead1a0; font-weight: 500; margin: 0 0 10px; }
.skin-detail-section p { font-size: 0.8rem; color: #b9c6d5; line-height: 1.9; margin: 0; }
.skin-detail-section .skin-missing { color: #8799af; font-style: italic; }
.skin-line-link { border: 1px solid #abbdcf35; border-radius: 3px; color: #d5c59f; background: #1b2939; padding: 7px 12px; font-size: 0.7rem; cursor: pointer; margin: 10px 8px 0 0; }
.skin-detail-source { display: inline-block; margin-top: 24px; font-size: 0.65rem; color: #8fa2ba; }
.champion-skins-link { display: inline-block; padding: 12px 16px; margin: 12px 0 8px; border: 1px solid #d8aa4f66; border-radius: 3px; color: #edd19a; background: #0a0d1399; text-decoration: none; font-size: 0.78rem; line-height: 1.6; }
@media (max-width: 1100px) { .skins-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .skin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .skins-page { padding-top: 18px; } .skins-site-header { align-items: flex-start; flex-direction: column; gap: 18px; } .skins-page .site-nav { gap: 8px; flex-wrap: wrap; } .skins-page .site-nav a { font-size: 0.73rem; padding: 8px 10px; } .skins-hero { min-height: 340px; } .skins-hero-copy { padding: 30px 22px 45px; } .skins-hero::before { background: linear-gradient(90deg, #0c121bee, #0c121b87), linear-gradient(0deg, #0c121be0, transparent); } .skins-art-caption { right: 16px; bottom: 12px; font-size: 0.58rem; } .skins-stats { gap: 24px; } .skins-toolbar { padding: 18px; } .skins-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .skins-filters label:first-child { grid-column: 1 / -1; } .skin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .skin-card-copy { padding: 12px; } .skin-card-name { font-size: 0.76rem; } .skin-detail-facts { grid-template-columns: 1fr; gap: 13px; } .skin-detail-art { aspect-ratio: 16 / 10; } }
@media (max-width: 390px) { .skin-grid { grid-template-columns: 1fr; } .skins-stats { gap: 18px; } }
@media (prefers-reduced-motion: reduce) { .skin-card, .skin-card img { transition: none; } }

.skins-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.skin-filter-chip { border: 1px solid #a68d5a80; border-radius: 20px; padding: 7px 12px; color: #e5cc9f; background: #bba16a14; font: inherit; font-size: .7rem; cursor: pointer; }
.skins-champion-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 0 0; color: #c4ccd6; font-size: .76rem; line-height: 1.8; }
