* {
    user-select: none;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', 'Candara', 'Palatino', system-ui, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #e8e8e8;
}
.sub-body {
    flex: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(20, 30, 45, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    margin: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 150, 0.15);
}
h1 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, transparent, #ffd700, transparent) 1;
    width: 80%;
}
.grids {
    display: flex;
    flex-grow: 1;
    height: auto;
    justify-content: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
}
.grid-container {
    position: relative;
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(3, min(100px, 12.5vw));
    grid-template-rows: min(40px, 5vw) repeat(3, min(120px, 15vw));
    gap: min(1vw, 8px);
    padding: 5px;
}
.rowf {
    display: none;
    align-items: center;
    justify-content: center;
    width: min(40px, 5vw);
    height: min(40px, 5vw);
    border-radius: 12px;
    color: #ffd966;
    background: rgba(40, 50, 70, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    font-size: min(3vw, 24px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}
.rowf:hover {
    opacity: 1;
    transform: scale(1.15);
    background: rgba(255, 215, 0, 0.15);
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}
.rowf-grid {
    display: grid;
    grid-template-rows: min(40px, 5vw) repeat(3, min(120px, 15vw));
    grid-template-columns: min(40px, 5vw);
    gap: min(1vw, 8px);
    align-items: center;
    justify-content: center;
    margin: min(1vw, 8px);
}
.com {
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #c0c0d0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.tile-container {
    position: relative;
    width: 100%;
    height: 100%;
    grid-row: span 1;
    grid-column: span 1;
}
.tile {
    width: 100%;
    height: 100%;
    color: #f0e6d2;
    background: linear-gradient(145deg, #2a3a4a, #1a2a3a);
    border: min(0.25vw, 2px) solid #4a5a6a;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: min(1.5vw, 12px);
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    z-index: 1;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2), 0 4px 8px rgba(0,0,0,0.2);
}
.tile:hover {
    border-color: #ffd966;
    background: linear-gradient(145deg, #3a4a5a, #2a3a4a);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2), 0 6px 12px rgba(0,0,0,0.3);
}
.flag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    color: #ffd700;
    background: rgba(30, 40, 60, 0.5);
    backdrop-filter: blur(3px);
    border-radius: 8px;
    opacity: 0.7;
    transition: all 0.25s ease;
    font-size: min(3vw, 24px);
    border: 2px dashed rgba(255, 215, 0, 0.5);
}
.flag-overlay:hover {
    opacity: 1;
    transform: scale(1.02);
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}
.divider {
    width: 2px;
    background: linear-gradient(180deg, transparent, #ffd966, #ffd966, transparent);
    margin: 0 20px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.hand-container {
    display: flex;
    justify-content: center;
    padding: 20px 10px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(20, 30, 45, 0.4);
    border-radius: 16px;
    margin-top: 10px;
}
.hand-grid {
    display: grid;
    grid-template-columns: repeat(7, min(100px, 12.5vw));
    gap: min(1vw, 8px);
    justify-content: center;
    width: fit-content;
}
.hand-card {
    width: min(100px, 12.5vw);
    height: min(120px, 15vw);
    color: #f0e6d2;
    background: linear-gradient(145deg, #2a3a4a, #1a2a3a);
    border: min(0.25vw, 2px) solid #5a6a7a;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: min(1.5vw, 12px);
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
    position: relative;
    padding: 8px;
    text-align: center;
    word-break: break-word;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.hand-card:hover {
    border-color: #ffd966;
    background: linear-gradient(145deg, #3a4a5a, #2a3a4a);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
.hand-card.selected {
    transform: translateY(calc(min(-2.5vw, -20px)));
    box-shadow: 0 12px 24px rgba(0,0,0,0.4), 0 0 15px rgba(255, 215, 0, 0.3);
    z-index: 50;
    border-color: #ffd700;
    background: linear-gradient(145deg, #4a5a6a, #3a4a5a);
}
.tile-tooltip-container, .hand-card-tooltip-container {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}
.tile-tooltip-text, .hand-card-tooltip-text {
    visibility: hidden;
    width: 220px;
    background: linear-gradient(145deg, #1e2a3a, #15202e);
    color: #f0e6d2;
    text-align: center;
    border-radius: 8px;
    padding: 10px;
    position: absolute;
    z-index: 100;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 13px;
    pointer-events: auto;
    white-space: normal;
    line-height: 1.5;
    border: 1px solid #6a7a8a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.hand-card-tooltip-text {
    pointer-events: none;
}
.hand-card.spell-card {
    background: linear-gradient(145deg, #1a3a5a, #0f2a44);
    border-color: #4a8ab5;
}
.hand-card.spell-card:hover {
    background: linear-gradient(145deg, #2a4a6a, #1a3a5a);
    border-color: #6aabdd;
}
.hand-card.creature-card {
    background: linear-gradient(145deg, #1a5a3a, #0f442a);
    border-color: #4ab57a;
}
.hand-card.creature-card:hover {
    background: linear-gradient(145deg, #2a6a4a, #1a5a3a);
    border-color: #6add9a;
}
.hand-card.equip-card {
    background: linear-gradient(145deg, #6a4a1a, #4a3010);
    border-color: #d4a020;
}
.hand-card.equip-card:hover {
    background: linear-gradient(145deg, #8a5a2a, #6a4a1a);
    border-color: #f0c040;
}
.hand-card.secret-card {
    background: linear-gradient(145deg, #4a2a6a, #301a4a);
    border-color: #aa66cc;
}
.hand-card.secret-card:hover {
    background: linear-gradient(145deg, #5a3a7a, #4a2a6a);
    border-color: #cc88ee;
}
.hand-card.token-card {
    position: relative;
}
.hand-card.token-card::after {
    content: "✨TOKEN";
    position: absolute;
    top: 3px;
    right: 5px;
    font-size: 10px;
    color: #ffd700;
    text-shadow: 0 0 3px black;
}
.cr-token {
    position: relative;
}
.cr-token::after {
    content: "✨TOKEN";
    position: absolute;
    top: 3px;
    right: 5px;
    font-size: 10px;
    color: #ffd700;
    text-shadow: 0 0 3px black;
}
.hand-card.insufficient-mana {
    border-color: #e74c3c !important;
    opacity: 0.7;
}
.hand-card.unavailable {
    background: linear-gradient(145deg, #3a3a4a, #2a2a3a) !important;
    border-color: #e67e22 !important;
    opacity: 0.8;
}
.tile-tooltip-text::after, .hand-card-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #1e2a3a transparent transparent transparent;
}
.tile-tooltip-container:hover .tile-tooltip-text,
.hand-card-tooltip-container:hover .hand-card-tooltip-text {
    visibility: visible;
    opacity: 1;
}
.card-name {
    font-size: min(1.5vw, 12px);
    font-weight: bold;
    color: #ffd966;
}
.empty-card {
    color: #8a9aaa;
    font-style: italic;
}
.wizard-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.hp-bar, .mana-bar {
    position: relative;
    width: 80%;
    height: 6px;
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}
.main-hp-bar, .main-mana-bar {
    position: relative;
    display: flex;
    justify-content: center;
    width: 80%;
    height: 20px;
    margin-top: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.3), 0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid #4a5a6a;
}
.hp-fill, .main-hp-fill {
    position: absolute;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #c0392b, #e74c3c, #ff6b6b);
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.5);
}
.mana-fill, .main-mana-fill {
    position: absolute;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #2471a3, #3498db, #5dade2);
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}
.main-hp-text, .main-mana-text {
    position: absolute;
    bottom: 0;
    text-align: center;
    color: white;
    font-size: 13px;
    font-weight: bold;
    z-index: 10;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.creature-hp {
    font-size: min(1.2vw, 10px);
    color: #ff6b6b;
    margin-top: 4px;
    font-weight: 500;
}
.creature-attack {
    font-size: min(1.2vw, 10px);
    color: #f5b041;
    margin-top: 2px;
    font-weight: 500;
}
.game-over-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}
.game-over-box {
    background: linear-gradient(145deg, #1e2a3a, #15202e);
    padding: 45px 60px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #ffd700;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}
.game-over-box h2 {
    color: #ffd700;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}
.restart-btn {
    margin-top: 20px;
    padding: 12px 28px;
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}
.restart-btn:hover {
    background: linear-gradient(145deg, #27ae60, #229954);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.4);
}
.turn-indicator {
    margin: 15px 0;
    padding: 12px 30px;
    background: linear-gradient(145deg, #2a3a4a, #1a2a3a);
    border-radius: 30px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: 1px solid #ffd966;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    color: #ffd966;
    letter-spacing: 1px;
}
.end-turn-btn {
    margin: 15px;
    padding: 12px 28px;
    background: linear-gradient(145deg, #c0392b, #a93226);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}
.end-turn-btn:hover {
    background: linear-gradient(145deg, #a93226, #922b21);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(192, 57, 43, 0.4);
}
.status-effect {
    font-size: 9px;
    color: #f5b041;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
@keyframes shake { 0%,100%{transform:translateX(0);} 25%{transform:translateX(-6px);} 75%{transform:translateX(6px);} }
.damage-effect { animation: shake 0.3s ease-in-out; background: linear-gradient(145deg, #e74c3c, #c0392b) !important; }
.heal-effect { animation: pulse 0.3s ease-in-out; background: linear-gradient(145deg, #2ecc71, #27ae60) !important; }
@keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.03);} }
.retreat-btn {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    margin-top: 5px;
    cursor: pointer;
    font-size: 9px;
    font-weight: bold;
    transition: all 0.2s ease;
}
.retreat-btn:hover { background: linear-gradient(145deg, #27ae60, #229954); transform: scale(1.05); }
.log-container {
    flex: 1;
    max-height: 85%;
    background: #f5ecd7;
    border: 3px solid #c4a77d;
    border-radius: 8px;
    color: #2c1810;
    font-size: 13px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', 'Consolas', monospace;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2), inset 0 0 30px rgba(196, 167, 125, 0.1);
    margin: 10px;
    background-image: linear-gradient(rgba(210,180,140,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(210,180,140,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}
.log-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background: linear-gradient(145deg, #d4c4a8, #c4b498);
    border-bottom: 3px solid #a08060;
    font-weight: bold;
    cursor: move;
    color: #2c1810;
    font-size: 14px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.2);
}
.log-clear-btn {
    background: #8b4513;
    border: 1px solid #6b3410;
    color: #f0d5b0;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.log-clear-btn:hover { background: #a0522d; color: #fff5e6; box-shadow: 0 0 5px rgba(139,69,19,0.5); }
.log-content { padding: 15px; overflow-y: auto; max-height: 78vh; }
.log-entry { padding: 5px 0; border-bottom: 1px solid #c4a77d; word-break: break-word; font-size: 12px; line-height: 1.5; }
.log-entry.info { color: #1a5e2a; font-weight: 500; }
.log-entry.damage { color: #b22222; font-weight: 600; }
.log-entry.heal { color: #1e6b3e; font-weight: 500; }
.log-entry.warning { color: #b8860b; font-weight: 600; }
.log-entry.gameover { color: #8b0000; font-weight: bold; font-size: 16px; background: rgba(139,0,0,0.08); padding: 5px 8px; border-radius: 4px; }
.log-content::-webkit-scrollbar { width: 8px; }
.log-content::-webkit-scrollbar-track { background: #d4c4a8; border-radius: 4px; }
.log-content::-webkit-scrollbar-thumb { background: #a08060; border-radius: 4px; }
.log-content::-webkit-scrollbar-thumb:hover { background: #8b6040; }
body > div:first-child { flex: 0.8; }
body > div:last-child { flex: 1.2; margin-left: 5px; }
@media (max-width: 1200px) { body { padding: 10px; } .sub-body { padding: 15px; } }
.character-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    flex-direction: column;
}
.character-panel {
    background: linear-gradient(145deg, #1e2a3a, #0f1a24);
    border-radius: 48px;
    padding: 30px;
    border: 2px solid #ffd700;
    box-shadow: 0 0 50px rgba(255,215,0,0.3);
    text-align: center;
    max-width: 1200px;
    width: 80%;
}
.character-panel h2 { color: #ffd700; font-size: 2rem; margin-bottom: 30px; text-shadow: 0 0 10px gold; }
.character-choices { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.char-card {
    background: #2c3e44;
    border-radius: 28px;
    padding: 20px;
    width: 220px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #7f8c8d;
    text-align: center;
}
.char-card:hover { transform: translateY(-10px); border-color: #ffd700; background: #3e5a64; box-shadow: 0 20px 30px rgba(0,0,0,0.4); }
.char-name { font-size: 28px; font-weight: bold; color: #f1c40f; }
.char-desc { font-size: 14px; margin: 15px; color: #ecf0f1; }
.log-control {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 15px;
    margin-bottom: 8px;
}

.log-info-btn {
    width: 100%;
    background: linear-gradient(145deg, #2a3a4a, #1a2a3a);
    color: #ffd966;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.log-info-btn:hover {
    background: linear-gradient(145deg, #3a4a5a, #2a3a4a);
    border-color: #ffd700;
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    flex-direction: column;
}

.info-panel {
    background: linear-gradient(145deg, #1e2a3a, #0f1a24);
    border-radius: 48px;
    padding: 30px;
    border: 2px solid #ffd700;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
    text-align: left;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none; 
}

.info-panel::-webkit-scrollbar {
    display: none;
}

.info-panel::-webkit-scrollbar-thumb {
    background: transparent;
}

.info-panel::-webkit-scrollbar-thumb {
    background: transparent;
}

.info-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffd700;
    font-size: 1.6rem;
    font-weight: bold;
    color: #ffd700;
    text-align: center;
}

.info-panel-header span {
    flex: 1;
    text-align: center;
}

.info-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #e8e8e8;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-close-btn:hover {
    background: #c0392b;
    transform: rotate(90deg);
}

.info-panel-content {
    color: #c0c0d0;
}

.info-section {
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 16px 20px;
    border-left: 4px solid #ffd700;
}

.info-section-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.info-section ul {
    margin: 0;
    padding-left: 20px;
}

.info-section li {
    color: #c0c0d0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.info-section li strong {
    color: #ffd966;
}

.info-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 10px;
}

.info-badge.spell {
    background: linear-gradient(145deg, #1a3a5a, #0f2a44);
    color: #4a8ab5;
    border: 1px solid #4a8ab5;
}

.info-badge.creature {
    background: linear-gradient(145deg, #1a5a3a, #0f442a);
    color: #4ab57a;
    border: 1px solid #4ab57a;
}

.info-badge.equip {
    background: linear-gradient(145deg, #6a4a1a, #4a3010);
    color: #d4a020;
    border: 1px solid #d4a020;
}

.info-badge.secret {
    background: linear-gradient(145deg, #4a2a6a, #301a4a);
    color: #aa66cc;
    border: 1px solid #aa66cc;
}

.info-footer {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    font-size: 1rem;
    font-style: italic;
}

.info-footer i {
    margin: 0 8px;
}

.reaction-table {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
    margin-top: 5px;
}

.reaction-row {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.reaction-row:last-child {
    border-bottom: none;
}

.reaction-combo {
    font-weight: bold;
    color: #ffd966;
    display: inline-block;
    min-width: 160px;
}

.character-table {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 8px;
    max-height: 320px;
    overflow-y: auto;
}

.character-table::-webkit-scrollbar {
    width: 6px;
}

.character-table::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.character-table::-webkit-scrollbar-thumb {
    background: #ffd966;
    border-radius: 3px;
}

.char-row {
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    line-height: 1.4;
}

.char-row:last-child {
    border-bottom: none;
}

.champion-name {
    font-weight: bold;
    color: #ffd966;
    display: inline-block;
    min-width: 140px;
}

.info-badge.token {
    background: linear-gradient(135deg, #f1c40f, #e67e22);
    color: #1a1a2e;
    border: 1px solid #f1c40f;
}

.highlight-flag {
    color: #ff6b6b;
    font-weight: bold;
}