/* Patch Notes Modal - Minimalistic Modern Theme (Patch 1.6) */

/* Overlay */
.patch-notes-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
    pointer-events: none;
    overflow: hidden;
}

.patch-notes-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.patch-notes-overlay[style*="display: flex"] {
    pointer-events: auto;
}

/* Modal Container */
.patch-notes-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
    max-height: 90vh;
}

.patch-notes-modal {
    background: rgba(10, 10, 15, 0.95);
    border-radius: 16px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 1100px;
    max-height: 90vh;
    height: 90vh;
    width: 90vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    position: relative;
    z-index: 10001;
}

.patch-notes-overlay.visible .patch-notes-modal {
    transform: translateY(0);
    opacity: 1;
}

/* Header */
.patch-notes-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    position: relative;
}

.patch-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.patch-title-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.patch-icon {
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.patch-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.patch-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 400;
}

.patch-notes-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.patch-notes-close svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.7);
    transition: fill 0.2s ease;
}

.patch-notes-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.patch-notes-close:hover svg {
    fill: #ffffff;
}

.patch-hero-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(128, 152, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
}

.feature-inline-icon {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid rgba(128, 152, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.feature-inline-icon img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    display: block;
}

.dragon-power-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.bug-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}
/* Body */
.patch-notes-body {
    padding: 32px;
    overflow-y: auto !important;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.05);
    overscroll-behavior: contain;
}

.patch-notes-body::-webkit-scrollbar {
    width: 6px;
}

.patch-notes-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

.patch-notes-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: background 0.2s ease;
}

.patch-notes-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Intro Section */
.patch-intro {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    margin-bottom: 32px;
    border-radius: 8px;
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.patch-intro strong {
    color: #ffffff;
    font-weight: 600;
}

/* Feature Highlight Section */
.patch-feature-highlight {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 32px;
    overflow: hidden;
}

/* Feature Grid (0.9.5) */
.patch-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.patch-feature-grid .patch-feature-highlight {
    margin-bottom: 0;
}

/* Full Patch Notes (Rendered Markdown) */
.patch-full-notes {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.patch-full-notes-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.patch-full-notes-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.patch-full-notes-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}

.patch-md {
    padding: 22px;
    font-family: 'Exo 2', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.7;
}

.patch-md h1,
.patch-md h2,
.patch-md h3,
.patch-md h4,
.patch-md h5,
.patch-md h6 {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    margin: 18px 0 10px;
    line-height: 1.25;
}

.patch-md h1 { font-size: 20px; }
.patch-md h2 { font-size: 18px; }
.patch-md h3 { font-size: 16px; }
.patch-md h4 { font-size: 14px; }

/* ================================
   Patch 1.0 overrides (v10 hook)
   Uses .patch-notes-v10 to override inline styles safely
================================ */

.patch-notes-v10 .patch-intro-v10 {
    border-left-width: 3px;
}

/* Header polish (v10) */
.patch-notes-v10 .patch-notes-header {
    padding: 22px 28px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.patch-notes-v10 .patch-header-content {
    gap: 16px;
}

.patch-notes-v10 .patch-title-section h2 {
    font-size: 26px;
    letter-spacing: 0.6px;
    gap: 10px;
}

.patch-notes-v10 .patch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 20px;
    line-height: 1;
}

.patch-notes-v10 .patch-subtitle {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.6px;
}

.patch-notes-v10 .patch-notes-close {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.18);
}

.patch-notes-v10 .patch-notes-close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
}

/* Intro polish (v10) */
.patch-notes-v10 .patch-intro-v10 {
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.patch-notes-v10 .patch-intro-v10 p {
    margin: 0;
}

.patch-notes-v10 .patch-intro-v10 p + p {
    margin-top: 10px;
}

/* Feature banner polish (v10) */
.patch-notes-v10 .feature-banner {
    padding: 18px 18px;
    gap: 14px;
}

.patch-notes-v10 .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 22px;
    line-height: 1;
}

.patch-notes-v10 .feature-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* v10: icon list styling inside feature-description (not only feature-details) */
.patch-notes-v10 .feature-description ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.patch-notes-v10 .feature-description li {
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    padding-left: 26px;
    position: relative;
}

.patch-notes-v10 .feature-description li::before {
    content: attr(data-icon);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.95;
}
.patch-notes-v10 .feature-description li.feature-icon-row {
    padding-left: 0;
}
.patch-notes-v10 .feature-description li.feature-icon-row::before {
    content: none;
}

.patch-notes-v10 .feature-description p {
    font-family: 'Exo 2', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.patch-notes-v10 .patch-feature-grid-v10 {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.patch-notes-v10 .patch-story-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 16px;
    margin: 10px 0 20px;
}

.patch-notes-v10 .patch-story-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 6px;
}

.patch-notes-v10 .patch-story-desc {
    font-family: 'Exo 2', sans-serif;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.55;
}

.patch-notes-v10 .patch-story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.patch-notes-v10 .patch-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.80);
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    line-height: 1;
}

.patch-notes-v10 .patch-skin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.patch-notes-v10 .patch-skin-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.patch-notes-v10 .patch-skin-thumb {
    width: 72px;
    aspect-ratio: 9 / 16;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.25);
}

.patch-notes-v10 .patch-skin-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    color: #ffffff;
    margin-bottom: 8px;
}

.patch-notes-v10 .patch-skin-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.patch-notes-v10 .patch-pill-kind {
    background: rgba(255, 255, 255, 0.07);
}

.patch-notes-v10 .patch-pill-rarity {
    background: rgba(255, 255, 255, 0.05);
}

.patch-notes-v10 .patch-pill-price {
    background: rgba(255, 255, 255, 0.05);
}

/* Character Notes (with icons) */
.patch-char-notes {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
}

.patch-char-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
}

.patch-char-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px 0;
}

.patch-char-badge {
    margin-left: auto;
}

.patch-char-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
}

.patch-md h4.patch-char-title {
    margin: 0;
    font-size: 15px;
}

.patch-char-block ul {
    margin: 0 0 0 18px;
}

.patch-md p {
    margin: 10px 0;
}

.patch-md ul {
    margin: 10px 0 12px 18px;
    padding: 0;
    list-style: disc;
}

.patch-md li {
    margin: 6px 0;
}

.patch-md code {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 1px 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.patch-md-pre {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px;
    overflow: auto;
}

.patch-md-pre code {
    background: transparent;
    border: 0;
    padding: 0;
    font-size: 12px;
}

.patch-md strong {
    color: #ffffff;
    font-weight: 600;
}

.patch-md em {
    color: rgba(255, 255, 255, 0.9);
}

.patch-md-error {
    background: rgba(255, 100, 100, 0.08);
    border: 1px solid rgba(255, 100, 100, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
    color: rgba(255, 200, 200, 0.95);
}

.feature-banner {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 32px;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.feature-info {
    flex: 1;
}

.feature-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.feature-badge {
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Exo 2', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-description {
    padding: 24px;
}

.feature-description > p {
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.feature-description strong {
    color: #FFD700;
    font-weight: 700;
}

.feature-details {
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid #FFD700;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.feature-details h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px 0;
    font-weight: 600;
}

.feature-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-details li {
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    padding-left: 24px;
    position: relative;
}

.feature-details li::before {
    content: attr(data-icon);
    position: absolute;
    left: 0;
}

.feature-characters {
    margin-top: 20px;
}

.feature-characters h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: #FFD700;
    margin: 0 0 16px 0;
}

.reaction-characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.reaction-char {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.reaction-char:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.reaction-char img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #FFD700;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.reaction-char div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reaction-char strong {
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
}

.reaction-char span {
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    color: #FFD700;
    font-weight: 500;
}

.reaction-char small {
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Character Cards */
.patch-character-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.patch-character-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}

.patch-character-card.nerf {
    border-left: 3px solid rgba(255, 67, 54, 0.6);
}

.patch-character-card.buff {
    border-left: 3px solid rgba(76, 175, 80, 0.6);
}

.patch-character-card.mixed {
    border-left: 3px solid rgba(255, 193, 7, 0.6);
}

.patch-character-card.bugfix {
    border-left: 3px solid rgba(156, 39, 176, 0.6);
}

.patch-character-card.rework {
    border-left: 3px solid rgba(255, 215, 0, 0.6);
}

/* Character Banner */
.character-banner {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.character-portrait {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.character-info-header {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.character-info-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Change Badges */
.change-badge {
    padding: 5px 12px;
    border-radius: 4px;
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid;
}

.change-badge.nerf {
    background: rgba(255, 67, 54, 0.15);
    color: #FF6B6B;
    border-color: rgba(255, 67, 54, 0.3);
}

.change-badge.buff {
    background: rgba(76, 175, 80, 0.15);
    color: #81C784;
    border-color: rgba(76, 175, 80, 0.3);
}

.change-badge.mixed {
    background: rgba(255, 193, 7, 0.15);
    color: #FFD54F;
    border-color: rgba(255, 193, 7, 0.3);
}

.change-badge.bugfix {
    background: rgba(156, 39, 176, 0.15);
    color: #CE93D8;
    border-color: rgba(156, 39, 176, 0.3);
}

.change-badge.rework {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.3);
}

/* Changes Grid */
.changes-grid {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Stat Change Items */
.change-item {
    background: rgba(84, 99, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #5463FF;
}

.change-item.nerf {
    border-left-color: #FF4336;
    background: rgba(255, 67, 54, 0.05);
}

.change-item.buff {
    border-left-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.change-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.stat-icon {
    font-size: 20px;
}

.change-values {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
}

.old-value {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

.arrow {
    color: #5463FF;
    font-weight: bold;
}

.new-value {
    color: #00F5FF;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
}

/* Ability Changes */
.ability-change {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(84, 99, 255, 0.2);
}

.ability-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ability-info {
    flex: 1;
}

.ability-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.ability-type {
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ability-details {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ability-details li {
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(84, 99, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
}

.ability-details li.nerf {
    background: rgba(255, 67, 54, 0.1);
    border-left: 3px solid #FF4336;
}

.ability-details li.buff {
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid #4CAF50;
}

.ability-details li.rework {
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid #FFD700;
}

.ability-details li strong {
    color: #00F5FF;
    font-weight: 700;
}

.ability-note {
    margin-top: 12px;
    padding: 12px;
    background: rgba(0, 245, 255, 0.1);
    border-left: 3px solid #00F5FF;
    border-radius: 6px;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.ability-note strong {
    color: #00F5FF;
}

/* Bug Fix Section */
.bug-fix {
    background: rgba(156, 39, 176, 0.1);
    border-left: 4px solid #9C27B0;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: start;
    gap: 12px;
}

.bug-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.bug-content {
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.bug-content strong {
    color: #CE93D8;
}

/* Summary Section */
.patch-summary {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 24px;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.patch-summary h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-align: center;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.summary-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.summary-icon.nerf {
    filter: drop-shadow(0 0 8px rgba(255, 67, 54, 0.6));
}

.summary-icon.buff {
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.6));
}

.summary-icon.mixed {
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.6));
}

.summary-icon.bugfix {
    filter: drop-shadow(0 0 8px rgba(156, 39, 176, 0.6));
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-content strong {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    color: #ffffff;
}

.summary-content span {
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.patch-notes-footer {
    padding: 16px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.patch-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.patch-date svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .patch-notes-modal {
        width: 95vw;
        max-height: 95vh;
    }

    .patch-notes-body {
        padding: 20px;
    }

    .patch-title-section h2 {
        font-size: 24px;
    }

    .character-portrait {
        width: 60px;
        height: 60px;
    }

    .character-info-header h3 {
        font-size: 20px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .change-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .patch-notes-header {
        padding: 16px 20px;
    }

    .patch-notes-body {
        padding: 16px;
    }

    .character-banner {
        flex-direction: column;
        text-align: center;
    }

    .character-info-header {
        flex-direction: column;
        gap: 12px;
    }
}

/* ================================
   Patch 1.2 Professional Restyle
================================ */

.patch-notes-overlay.patch-notes-v10 {
    background: radial-gradient(circle at top, rgba(34, 46, 86, 0.55), rgba(5, 8, 18, 0.92) 60%),
        rgba(0, 0, 0, 0.82);
    -webkit-backdrop-filter: blur(26px) saturate(1.2);
    backdrop-filter: blur(26px) saturate(1.2);
}

.patch-notes-v10 .patch-notes-modal {
    background: linear-gradient(180deg, rgba(15, 18, 30, 0.98) 0%, rgba(10, 12, 22, 0.98) 100%);
    border-radius: 20px;
    border: 1px solid rgba(108, 132, 255, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 30px 80px rgba(0, 0, 0, 0.65);
}

.patch-notes-v10 .patch-notes-header {
    padding: 24px 30px;
    background: linear-gradient(135deg, rgba(80, 114, 255, 0.2), rgba(0, 212, 255, 0.1));
    border-bottom: 1px solid rgba(128, 152, 255, 0.25);
}

.patch-notes-v10 .patch-title-section h2 {
    font-size: 24px;
    letter-spacing: 0.8px;
}

.patch-notes-v10 .patch-subtitle {
    background: rgba(10, 16, 30, 0.7);
    border-color: rgba(128, 152, 255, 0.35);
}

.patch-notes-v10 .patch-notes-body {
    padding: 28px;
    background: radial-gradient(circle at top left, rgba(32, 40, 72, 0.4), transparent 55%);
}

.patch-notes-v10 .patch-notes-footer {
    border-top: 1px solid rgba(128, 152, 255, 0.18);
    background: rgba(9, 12, 22, 0.7);
}

/* Hero */
.patch-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(25, 32, 58, 0.9), rgba(12, 18, 34, 0.92));
    border: 1px solid rgba(128, 152, 255, 0.25);
    margin-bottom: 24px;
}

.patch-hero-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: #ffffff;
    margin: 6px 0 8px;
}

.patch-hero-content p {
    font-family: 'Exo 2', sans-serif;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin: 0 0 14px;
}

.patch-kicker {
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(178, 196, 255, 0.8);
}

.patch-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.patch-hero-card {
    background: rgba(8, 12, 24, 0.8);
    border-radius: 14px;
    border: 1px solid rgba(128, 152, 255, 0.18);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.patch-hero-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.patch-hero-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Exo 2', sans-serif;
    color: rgba(255, 255, 255, 0.85);
}

.patch-hero-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Section layout */
.patch-section {
    background: rgba(12, 16, 28, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(128, 152, 255, 0.14);
    padding: 18px 20px;
    margin-bottom: 20px;
}

.patch-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.patch-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 6px;
}

.patch-section-subtitle {
    font-family: 'Exo 2', sans-serif;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    font-size: 13px;
}

.patch-section-tag {
    font-family: 'Exo 2', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(80, 114, 255, 0.2);
    border: 1px solid rgba(128, 152, 255, 0.4);
}

.patch-section-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.patch-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-family: 'Exo 2', sans-serif;
    color: rgba(255, 255, 255, 0.85);
}

.patch-bullets li {
    background: rgba(9, 12, 22, 0.7);
    border: 1px solid rgba(128, 152, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
}

.patch-bullets-columns {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.item-revamp-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.item-revamp-grid .item-card {
    border-color: rgba(126, 224, 255, 0.2);
    background: linear-gradient(180deg, rgba(16, 22, 42, 0.92) 0%, rgba(10, 14, 28, 0.92) 100%);
}

.patch-bullets-check li {
    position: relative;
    padding-left: 38px;
}

.patch-bullets-check li::before {
    content: '✔';
    position: absolute;
    left: 14px;
    top: 10px;
    color: #7ee0ff;
    font-weight: 700;
}

.patch-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.patch-pill {
    background: rgba(80, 114, 255, 0.16);
    border: 1px solid rgba(128, 152, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 999px;
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.patch-pill-event { background: rgba(87, 128, 255, 0.22); }
.patch-pill-pass { background: rgba(0, 186, 255, 0.22); }
.patch-pill-cosmetics { background: rgba(197, 120, 255, 0.22); }

/* Balance cards */
.balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.balance-card {
    background: rgba(8, 12, 24, 0.85);
    border-radius: 14px;
    border: 1px solid rgba(128, 152, 255, 0.18);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.balance-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.balance-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(128, 152, 255, 0.4);
    background: rgba(0, 0, 0, 0.35);
}

.balance-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.balance-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    color: #ffffff;
}

.balance-tag {
    font-family: 'Exo 2', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 999px;
    width: fit-content;
}

.balance-tag-buff {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #8ce69a;
}

.balance-tag-nerf {
    background: rgba(255, 67, 54, 0.2);
    border: 1px solid rgba(255, 67, 54, 0.5);
    color: #ff8c84;
}

.balance-tag-mixed {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #ffd86c;
}

.balance-tag-bugfix {
    background: rgba(126, 224, 255, 0.18);
    border: 1px solid rgba(126, 224, 255, 0.45);
    color: #b7eaff;
}

.balance-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.balance-change {
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(11, 16, 30, 0.7);
    border: 1px solid rgba(128, 152, 255, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance-ability-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(128, 152, 255, 0.3);
    background: rgba(0, 0, 0, 0.35);
}

.balance-ability-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.balance-change-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.balance-ability-name {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.balance-change-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.35;
}

.balance-change-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
}

.balance-change-line::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

.balance-change-line.buff::before {
    background: rgba(76, 175, 80, 0.7);
}

.balance-change-line.nerf::before {
    background: rgba(255, 67, 54, 0.7);
}

.balance-change-line.mixed::before {
    background: rgba(255, 193, 7, 0.7);
}

.balance-change-line.bugfix::before {
    background: rgba(126, 224, 255, 0.7);
}

.balance-change.buff {
    border-left: 3px solid rgba(76, 175, 80, 0.7);
}

.balance-change.nerf {
    border-left: 3px solid rgba(255, 67, 54, 0.7);
}

.balance-change.mixed {
    border-left: 3px solid rgba(255, 193, 7, 0.7);
}

.balance-change.bugfix {
    border-left: 3px solid rgba(126, 224, 255, 0.7);
}

/* Cosmetics grid (9:16 cards) */
.cosmetics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.cosmetic-card {
    background: rgba(8, 12, 24, 0.85);
    border-radius: 14px;
    border: 1px solid rgba(128, 152, 255, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.cosmetic-image {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(128, 152, 255, 0.2);
}

.cosmetic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cosmetic-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cosmetic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cosmetic-tags .patch-pill {
    font-size: 10px;
    padding: 4px 8px;
    letter-spacing: 0.4px;
}

.cosmetic-name {
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

/* New Items grid */
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.item-card {
    background: rgba(8, 12, 24, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(128, 152, 255, 0.22);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
}

.item-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 35%, rgba(76, 114, 255, 0.18), rgba(0, 0, 0, 0.5));
    border: 1px solid rgba(128, 152, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
}

.item-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 2px 2px;
}

.item-name {
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.3;
}

.item-description {
    font-family: 'Exo 2', sans-serif;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.45;
}

/* Dragon powers */
.dragon-power-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.dragon-power-card {
    background: rgba(8, 12, 24, 0.85);
    border-radius: 14px;
    border: 1px solid rgba(128, 152, 255, 0.18);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--dragon-color, rgba(255, 255, 255, 0.08));
}

.dragon-power-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.dragon-power-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dragon-power-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(128, 152, 255, 0.3);
    font-size: 20px;
}

.dragon-power-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: #ffffff;
}

.dragon-power-desc {
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

.cosmetic-rarity {
    font-family: 'Exo 2', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.cosmetic-rarity-uncommon {
    color: #8ce69a;
    border-color: rgba(76, 175, 80, 0.5);
    background: rgba(76, 175, 80, 0.15);
}

.cosmetic-rarity-legendary {
    color: #ffd86c;
    border-color: rgba(245, 158, 11, 0.6);
    background: rgba(245, 158, 11, 0.15);
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .patch-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .patch-notes-v10 .patch-notes-body {
        padding: 20px;
    }

    .patch-section {
        padding: 16px;
    }
}

/* ================================
   Patch 1.7 Interactive Preview
================================ */

.patch-notes-preview .patch-notes-modal {
    max-width: 1320px;
    width: min(94vw, 1320px);
}

.patch-notes-preview .patch-notes-body {
    padding: 28px;
}

.patch-preview-shell {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.patch-preview-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
    gap: 18px;
}

.patch-preview-splash {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 26px;
    border: 1px solid rgba(126, 224, 255, 0.24);
    background:
        radial-gradient(circle at top left, rgba(110, 150, 255, 0.35), transparent 42%),
        radial-gradient(circle at bottom right, rgba(24, 201, 173, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(15, 20, 37, 0.98), rgba(8, 11, 24, 0.98));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.patch-preview-splash::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: patch-preview-sheen 8s linear infinite;
    pointer-events: none;
}

.patch-preview-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.patch-preview-status,
.patch-preview-audience,
.patch-preview-chip,
.patch-filter-chip,
.patch-tab-button,
.patch-spotlight-tag,
.patch-preview-count-card,
.patch-preview-card-tag,
.patch-roadmap-phase,
.patch-balance-tag,
.patch-cosmetic-meta-pill,
.patch-preview-notice {
    font-family: 'Exo 2', sans-serif;
}

.patch-preview-status,
.patch-preview-audience,
.patch-preview-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.patch-preview-status {
    color: #9fe7ff;
    background: rgba(126, 224, 255, 0.14);
    border: 1px solid rgba(126, 224, 255, 0.28);
}

.patch-preview-audience {
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.patch-preview-splash h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
    color: #ffffff;
    margin: 0 0 12px;
    max-width: 12ch;
}

.patch-preview-splash p {
    max-width: 68ch;
    margin: 0 0 18px;
    font-family: 'Exo 2', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.patch-preview-notice {
    width: fit-content;
    color: #ffe59f;
    background: rgba(255, 211, 94, 0.12);
    border: 1px solid rgba(255, 211, 94, 0.24);
}

.patch-preview-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.patch-preview-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(128, 152, 255, 0.22);
    background: rgba(9, 13, 24, 0.72);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    letter-spacing: 0.4px;
}

.patch-preview-overview-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border-radius: 22px;
    padding: 20px;
    border: 1px solid rgba(128, 152, 255, 0.18);
    background: linear-gradient(180deg, rgba(10, 14, 28, 0.95), rgba(7, 10, 18, 0.95));
}

.patch-preview-count-card {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.patch-preview-count-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: rgba(255, 255, 255, 0.58);
}

.patch-preview-count-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: #ffffff;
}

.patch-preview-count-footnote {
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.68);
}

.patch-command-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(128, 152, 255, 0.14);
    background: rgba(7, 11, 22, 0.8);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.patch-command-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.patch-tab-list,
.patch-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.patch-tab-button,
.patch-filter-chip {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.patch-tab-button:hover,
.patch-filter-chip:hover,
.patch-tab-button.is-active,
.patch-filter-chip.is-active {
    transform: translateY(-1px);
    color: #ffffff;
}

.patch-tab-button.is-active,
.patch-filter-chip.is-active {
    background: rgba(126, 224, 255, 0.14);
    border-color: rgba(126, 224, 255, 0.28);
}

.patch-search-wrap {
    min-width: min(320px, 100%);
    flex: 1 1 320px;
    max-width: 380px;
}

.patch-search-field {
    width: 100%;
    border: 1px solid rgba(128, 152, 255, 0.18);
    background: rgba(0, 0, 0, 0.24);
    color: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.patch-search-field:focus {
    border-color: rgba(126, 224, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(126, 224, 255, 0.12);
}

.patch-preview-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
}

.patch-spotlight-rail,
.patch-spotlight-panel,
.patch-preview-panel,
.patch-section,
.patch-preview-empty {
    border-radius: 20px;
    border: 1px solid rgba(128, 152, 255, 0.14);
    background: linear-gradient(180deg, rgba(10, 14, 28, 0.95), rgba(8, 11, 21, 0.95));
}

.patch-spotlight-rail {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.patch-preview-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.patch-preview-panel-heading h4,
.patch-preview-panel h4 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    letter-spacing: 0.8px;
    color: #ffffff;
}

.patch-preview-panel-copy {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.patch-spotlight-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.patch-spotlight-card {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 12px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.patch-spotlight-card:hover,
.patch-spotlight-card.is-active {
    background: rgba(126, 224, 255, 0.1);
    border-color: rgba(126, 224, 255, 0.22);
    transform: translateY(-1px);
}

.patch-spotlight-thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(128, 152, 255, 0.28);
    background: rgba(0, 0, 0, 0.32);
}

.patch-spotlight-card h5,
.patch-spotlight-panel h5,
.patch-preview-card-title,
.patch-roadmap-title,
.patch-preview-balance-name,
.patch-preview-cosmetic-name {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
}

.patch-spotlight-card h5 {
    font-size: 14px;
    line-height: 1.35;
}

.patch-spotlight-card p {
    margin: 6px 0 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.64);
}

.patch-spotlight-tag,
.patch-preview-card-tag,
.patch-balance-tag,
.patch-cosmetic-meta-pill,
.patch-roadmap-phase {
    width: fit-content;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.patch-spotlight-tag,
.patch-preview-card-tag,
.patch-roadmap-phase {
    background: rgba(126, 224, 255, 0.12);
    color: #9fe7ff;
    border: 1px solid rgba(126, 224, 255, 0.2);
}

.patch-spotlight-panel {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.patch-spotlight-panel-media {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.patch-spotlight-panel-image {
    width: 100px;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    object-fit: cover;
    border: 1px solid rgba(128, 152, 255, 0.28);
    background: rgba(0, 0, 0, 0.32);
}

.patch-spotlight-panel h5 {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.patch-spotlight-panel p {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.patch-spotlight-panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.patch-spotlight-points,
.patch-preview-list,
.patch-systems-list,
.patch-roadmap-list,
.patch-preview-balance-list,
.patch-cosmetic-tag-row {
    margin: 0;
    padding: 0;
    list-style: none;
}

.patch-spotlight-points,
.patch-systems-list,
.patch-roadmap-list,
.patch-preview-balance-list {
    display: grid;
    gap: 10px;
}

.patch-spotlight-points li,
.patch-systems-list li,
.patch-roadmap-list li,
.patch-preview-balance-list li {
    position: relative;
    padding: 12px 14px 12px 34px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.patch-spotlight-points li::before,
.patch-systems-list li::before,
.patch-roadmap-list li::before,
.patch-preview-balance-list li::before {
    content: '';
    position: absolute;
    top: 17px;
    left: 14px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(126, 224, 255, 0.78);
    box-shadow: 0 0 0 4px rgba(126, 224, 255, 0.12);
}

.patch-preview-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.patch-preview-card-grid,
.patch-preview-systems-grid,
.patch-preview-cosmetics-grid,
.patch-preview-balance-grid,
.patch-roadmap-grid {
    display: grid;
    gap: 16px;
}

.patch-preview-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.patch-preview-systems-grid,
.patch-preview-balance-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.patch-preview-cosmetics-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.patch-roadmap-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.patch-preview-panel,
.patch-preview-section-card,
.patch-roadmap-card,
.patch-preview-balance-card,
.patch-preview-cosmetic-card,
.patch-preview-empty {
    padding: 18px;
}

.patch-preview-section-card,
.patch-roadmap-card,
.patch-preview-balance-card,
.patch-preview-cosmetic-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.patch-preview-card-title {
    font-size: 17px;
    margin: 10px 0 8px;
}

.patch-preview-card-copy,
.patch-preview-cosmetic-copy,
.patch-preview-balance-copy,
.patch-roadmap-copy {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.74);
}

.patch-preview-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.patch-preview-list li {
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.patch-section-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.patch-section-title-row h3 {
    margin: 0 0 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 19px;
    color: #ffffff;
}

.patch-section-title-row p {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.64);
}

.patch-preview-balance-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.patch-preview-balance-head {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.patch-preview-balance-icon,
.patch-preview-cosmetic-image {
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(128, 152, 255, 0.24);
}

.patch-preview-balance-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    object-fit: cover;
}

.patch-preview-balance-name {
    font-size: 18px;
}

.patch-balance-tag {
    margin-top: 6px;
}

.patch-balance-tag-buff {
    color: #9ef0a7;
    background: rgba(76, 175, 80, 0.14);
    border: 1px solid rgba(76, 175, 80, 0.28);
}

.patch-balance-tag-nerf {
    color: #ff9d98;
    background: rgba(255, 67, 54, 0.14);
    border: 1px solid rgba(255, 67, 54, 0.28);
}

.patch-balance-tag-mixed,
.patch-balance-tag-adjust {
    color: #ffe082;
    background: rgba(255, 193, 7, 0.14);
    border: 1px solid rgba(255, 193, 7, 0.28);
}

.patch-balance-tag-bugfix {
    color: #9fe7ff;
    background: rgba(126, 224, 255, 0.14);
    border: 1px solid rgba(126, 224, 255, 0.28);
}

.patch-balance-tag-rework {
    color: #ffe59f;
    background: rgba(255, 211, 94, 0.14);
    border: 1px solid rgba(255, 211, 94, 0.28);
}

.patch-preview-balance-list li[data-tone="buff"]::before {
    background: rgba(76, 175, 80, 0.82);
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.14);
}

.patch-preview-balance-list li[data-tone="nerf"]::before {
    background: rgba(255, 67, 54, 0.82);
    box-shadow: 0 0 0 4px rgba(255, 67, 54, 0.14);
}

.patch-preview-balance-list li[data-tone="mixed"]::before,
.patch-preview-balance-list li[data-tone="adjust"]::before,
.patch-preview-balance-list li[data-tone="rework"]::before {
    background: rgba(255, 193, 7, 0.82);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.14);
}

.patch-preview-balance-list li[data-tone="nerf"] {
    color: #ffb3ae;
}

.patch-preview-balance-list li[data-tone="mixed"],
.patch-preview-balance-list li[data-tone="adjust"] {
    color: #ffe7a3;
}

.patch-preview-balance-list li[data-tone="bugfix"]::before {
    background: rgba(126, 224, 255, 0.82);
    box-shadow: 0 0 0 4px rgba(126, 224, 255, 0.14);
}

.patch-preview-cosmetic-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.patch-preview-cosmetic-image {
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 16px;
    object-fit: cover;
}

.patch-preview-cosmetic-name {
    font-size: 15px;
}

.patch-cosmetic-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.patch-cosmetic-meta-pill {
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.patch-cosmetic-meta-pill.is-highlight {
    color: #9fe7ff;
    background: rgba(126, 224, 255, 0.12);
    border-color: rgba(126, 224, 255, 0.22);
}

.patch-roadmap-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.patch-roadmap-title {
    font-size: 16px;
}

.patch-preview-empty {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.patch-preview-empty h4 {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    color: #ffffff;
}

.patch-preview-empty p {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
}

@keyframes patch-preview-sheen {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

@media (max-width: 1100px) {
    .patch-preview-hero,
    .patch-preview-layout {
        grid-template-columns: 1fr;
    }

    .patch-spotlight-panel-media {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .patch-spotlight-panel-image {
        width: 82px;
    }
}

@media (max-width: 780px) {
    .patch-notes-preview .patch-notes-body {
        padding: 18px;
    }

    .patch-preview-overview-card {
        grid-template-columns: 1fr;
    }

    .patch-command-bar {
        padding: 14px;
    }

    .patch-search-wrap {
        max-width: none;
        min-width: 100%;
    }

    .patch-spotlight-panel-media {
        grid-template-columns: 1fr;
    }

    .patch-spotlight-panel-image {
        width: 100%;
        max-width: 140px;
    }
}

@media (max-width: 540px) {
    .patch-preview-splash,
    .patch-spotlight-panel,
    .patch-preview-panel,
    .patch-section,
    .patch-preview-empty,
    .patch-spotlight-rail {
        padding: 16px;
    }

    .patch-preview-splash h3 {
        max-width: none;
    }

    .patch-preview-card-grid,
    .patch-preview-systems-grid,
    .patch-preview-balance-grid,
    .patch-preview-cosmetics-grid,
    .patch-roadmap-grid {
        grid-template-columns: 1fr;
    }
}
