* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a4d0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    padding: 10px;
    color: #fff;
}

body.in-game {
    padding-top: 56px;
}

body.in-game .casino-header {
    display: none;
}

.floating-balance {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 9px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(8, 20, 8, 0.94);
    border: 1px solid #d4af37;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

body.in-game .floating-balance {
    display: flex;
}

.floating-label {
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #d4af37;
}

.floating-amount {
    font-size: 1.15em;
    font-weight: 800;
    color: #7cfc9a;
    font-variant-numeric: tabular-nums;
}

.casino-container {
    max-width: 1120px;
    margin: 0 auto;
}

.casino-header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
    color: #000;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.casino-header h1 {
    font-size: 2em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.player-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.2em;
    font-weight: bold;
}

.balance .amount {
    color: #006400;
    font-size: 1.3em;
}

.menu-screen,
.game-screen {
    display: none;
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 15px;
    border: 3px solid #d4af37;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.menu-screen.active {
    display: block;
}

.game-screen.active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 20px;
    align-items: start;
}

.game-screen .screen-header {
    grid-column: 1 / -1;
}

.game-main {
    min-width: 0;
}

.menu-screen h2 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.game-buttons {
    display: grid;
    gap: 20px;
}

.game-btn {
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border: 3px solid #d4af37;
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.game-btn:hover {
    background: linear-gradient(145deg, #34495e, #2c3e50);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.5);
}

.game-icon {
    font-size: 3em;
}

.game-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffd700;
}

.game-desc {
    color: #bbb;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.screen-header h2 {
    color: #ffd700;
    font-size: 1.5em;
}

.back-btn {
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9em;
}

.back-btn:hover {
    background: #e74c3c;
}

.bet-info {
    background: rgba(39, 174, 96, 0.16);
    border: 1px solid rgba(46, 204, 113, 0.55);
    padding: 6px 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 190px;
}

.bet-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9em;
    font-weight: 700;
}

.bet-head .bet-total {
    color: #7cfc9a;
    font-size: 1.15em;
    font-variant-numeric: tabular-nums;
}

.bet-stack {
    position: relative;
    height: 48px;
    overflow: hidden;
}

.bet-empty {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    text-align: center;
    font-size: 0.7rem;
    color: #9fd8b0;
    font-weight: 600;
}

/* Ficha vista de lado: una banda fina con el canto marcado. */
.stack-chip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 98px;
    height: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(90deg,
        var(--chip-edge) 0 5px,
        var(--chip-color) 5px 13px);
    border: 1.5px solid rgba(0, 0, 0, 0.45);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -2px 2px rgba(0, 0, 0, 0.35);
    transition: bottom 0.18s ease;
}

.stack-chip b {
    display: block;
    min-width: 26px;
    padding: 1px 5px;
    border-radius: 999px;
    background: var(--chip-color);
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: var(--chip-text);
    font-size: 0.5rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.stack-chip.chip-1 b,
.stack-chip.chip-1000 b {
    text-shadow: none;
}

.stack-more {
    background: #3a3a3a;
    border-color: #1b1b1b;
    color: #d8d8d8;
    font-size: 0.56rem;
    font-weight: 800;
    text-shadow: 0 1px 1px #000;
}

.bet-actions {
    display: flex;
    gap: 5px;
}

.bet-actions button {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    border-radius: 7px;
    padding: 5px 8px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

.bet-actions .bet-undo {
    flex: 0 0 auto;
}

.bet-actions .bet-clear {
    flex: 1;
}

.bet-actions button:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.45);
}

.bet-actions button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.bet-section {
    text-align: center;
}

.bet-section h3,
.roulette-betting h3 {
    color: #ffd700;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.bet-sub {
    margin-top: 12px !important;
}

/* ---------- Fichas de casino ---------- */
.chip-rack {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 2px 10px;
    margin: 10px 0 14px;
    scrollbar-width: thin;
}

.chip-btn {
    flex: 0 0 auto;
    background: none;
    border: none;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.chip-btn:hover:not(:disabled) {
    transform: translateY(-4px);
}

.chip-btn.active {
    transform: translateY(-4px) scale(1.08);
    filter: drop-shadow(0 0 9px #ffd700);
}

.chip-btn:disabled {
    opacity: 0.32;
    filter: grayscale(0.7);
    cursor: not-allowed;
    transform: none;
}

.chip-btn:focus-visible {
    outline: 2px solid #ffd700;
    outline-offset: 3px;
}

.chip {
    --chip-color: #f5f5f5;
    --chip-edge: #bdbdbd;
    --chip-text: #222;
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: repeating-conic-gradient(var(--chip-edge) 0deg 18deg, var(--chip-color) 18deg 36deg);
    border: 3px solid rgba(0, 0, 0, 0.35);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.chip::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: var(--chip-color);
    border: 2px dashed rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25);
}

.chip b {
    position: relative;
    z-index: 1;
    font-size: 0.82rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.3px;
    color: var(--chip-text);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.chip-1 {
    --chip-color: #f5f5f5;
    --chip-edge: #bdbdbd;
    --chip-text: #222;
}

.chip-5 {
    --chip-color: #d32f2f;
    --chip-edge: #ffffff;
    --chip-text: #ffffff;
}

.chip-10 {
    --chip-color: #1565c0;
    --chip-edge: #ffffff;
    --chip-text: #ffffff;
}

.chip-25 {
    --chip-color: #2e7d32;
    --chip-edge: #ffffff;
    --chip-text: #ffffff;
}

.chip-50 {
    --chip-color: #ef6c00;
    --chip-edge: #ffffff;
    --chip-text: #ffffff;
}

.chip-100 {
    --chip-color: #212121;
    --chip-edge: #e0e0e0;
    --chip-text: #ffffff;
}

.chip-500 {
    --chip-color: #6a1b9a;
    --chip-edge: #e1bee7;
    --chip-text: #ffffff;
}

.chip-1000 {
    --chip-color: #c9a227;
    --chip-edge: #fff8e1;
    --chip-text: #3e2723;
}

.chip-5000 {
    --chip-color: #00695c;
    --chip-edge: #b2dfdb;
    --chip-text: #ffffff;
}

.chip-10000 {
    --chip-color: #8e0000;
    --chip-edge: #ffcdd2;
    --chip-text: #ffe082;
}

.chip-1 b,
.chip-1000 b {
    text-shadow: none;
}

.deal-btn {
    background: linear-gradient(145deg, #d4af37, #ffd700);
    color: #000;
    border: none;
    padding: 12px 34px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: bold;
}

.deal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.game-table {
    text-align: center;
}

.dealer-area,
.player-area {
    margin: 10px 0;
    padding: 10px 14px;
    background: rgba(0, 100, 0, 0.3);
    border-radius: 10px;
}

.dealer-area h3,
.player-area h3 {
    color: #ffd700;
    margin-bottom: 6px;
    font-size: 0.95em;
}

.cards {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 70px;
    margin-bottom: 4px;
    perspective: 800px;
}

.card {
    width: 60px;
    height: 90px;
    background: #fff;
    color: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    border: 2px solid #333;
}

.card.face-down {
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    border-color: #0b1220;
    color: #fff;
    font-size: 2.1em;
    text-shadow: 0 1px 3px #000;
}

.card.dealing {
    animation: dealCard 0.32s cubic-bezier(0.2, 0.8, 0.3, 1.1);
}

@keyframes dealCard {
    0% {
        opacity: 0;
        transform: translate(120px, -170px) rotate(28deg) scale(0.85);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

.card.flip {
    animation: flipCard 0.45s ease;
    transform-origin: 50% 50%;
}

@keyframes flipCard {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(90deg);
    }
    100% {
        transform: rotateY(0deg);
    }
}

.score {
    font-size: 1.15em;
    font-weight: bold;
    color: #2ecc71;
}

.game-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 12px 0;
    flex-wrap: wrap;
}

.action-btn {
    background: #e67e22;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
}

.action-btn:hover:not(:disabled) {
    background: #f39c12;
}

.action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.game-result {
    font-size: 1.8em;
    font-weight: bold;
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
}

.game-result.win {
    background: rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.game-result.lose {
    background: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.game-result.push {
    background: rgba(241, 196, 15, 0.3);
    color: #f1c40f;
}

.new-round-btn {
    background: linear-gradient(145deg, #d4af37, #ffd700);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
}

/* ---------- Historial de apuestas ---------- */
.history-panel {
    position: sticky;
    top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 12px;
    padding: 14px;
}

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

.history-head h3 {
    color: #ffd700;
    font-size: 0.95em;
    letter-spacing: 0.08em;
}

.history-count {
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #ffd700;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 0.78em;
    font-weight: bold;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}

.history-empty {
    color: #888;
    font-size: 0.85em;
    text-align: center;
    padding: 18px 6px;
}

.history-item {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #666;
    border-radius: 8px;
    padding: 8px 10px;
}

.history-item.win {
    border-left-color: #2ecc71;
}

.history-item.lose {
    border-left-color: #e74c3c;
}

.history-item.push {
    border-left-color: #f1c40f;
}

.history-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.82em;
    font-weight: bold;
}

.history-outcome {
    letter-spacing: 0.04em;
}

.history-item.win .history-outcome,
.history-item.win .history-net {
    color: #2ecc71;
}

.history-item.lose .history-outcome,
.history-item.lose .history-net {
    color: #e74c3c;
}

.history-item.push .history-outcome,
.history-item.push .history-net {
    color: #f1c40f;
}

.history-net {
    font-variant-numeric: tabular-nums;
}

.history-detail {
    color: #ddd;
    font-size: 0.82em;
    margin: 3px 0;
    word-break: break-word;
}

.history-meta {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    color: #888;
    font-size: 0.72em;
}

.history-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 9px;
    font-size: 0.8em;
    font-weight: bold;
    color: #bbb;
    text-align: center;
}

.history-summary.positive {
    color: #2ecc71;
}

.history-summary.negative {
    color: #e74c3c;
}

.history-summary.neutral {
    color: #f1c40f;
}

.roulette-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 8px;
}

.roulette-wheel {
    position: relative;
    display: inline-block;
    margin: 4px 8px 0;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.65));
}

#rouletteCanvas {
    display: block;
    width: 270px;
    height: 270px;
}

.roulette-result {
    font-size: 1.15em;
    font-weight: bold;
    color: #ffd700;
    min-height: 28px;
}

.roulette-cloth {
    background: radial-gradient(ellipse at center, #0d7a3a 0%, #075027 70%, #043418 100%);
    border: 5px solid #6b4318;
    border-radius: 12px;
    padding: 8px;
    max-width: 620px;
    margin: 0 auto 4px;
    box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.6), 0 6px 16px rgba(0, 0, 0, 0.5);
}

.roulette-grid {
    display: grid;
    grid-template-columns: 34px repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(3, 28px);
    gap: 2px;
}

.roulette-spot {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    color: #fff;
    font-family: inherit;
    font-size: 0.72em;
    font-weight: 800;
    padding: 0 2px;
    min-width: 0;
    cursor: pointer;
    background: #151515;
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.roulette-spot.red,
.roulette-outside .bet-option.red {
    background: #b21f1a;
}

.roulette-spot.black,
.roulette-outside .bet-option.black {
    background: #111;
}

.roulette-spot.zero {
    background: #127a3a;
    font-size: 0.82em;
}

.roulette-spot:hover:not(:disabled),
.roulette-outside .bet-option:hover:not(:disabled) {
    filter: brightness(1.3);
}

.roulette-spot.active {
    outline: 3px solid #ffd700;
    outline-offset: -2px;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.85);
}

.roulette-outside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
}

.roulette-outside .bet-option {
    min-width: 0;
    padding: 8px 6px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.82em;
}

.roulette-outside .bet-option.active {
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.85);
}

.roulette-selection {
    color: #ddd;
    font-size: 0.85em;
    font-weight: 600;
    min-height: 20px;
    margin: 2px 0 8px;
}

.roulette-betting {
    text-align: center;
}

.bet-options {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.bet-option {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
}

.bet-option.red {
    background: #c0392b;
}

.bet-option.black {
    background: #2c3e50;
}

.bet-option.green {
    background: #27ae60;
}

.bet-option.active {
    box-shadow: 0 0 10px #ffd700;
    border: 2px solid #ffd700;
}

.spin-btn {
    background: linear-gradient(145deg, #d4af37, #ffd700);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: bold;
}

.spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slots-machine {
    text-align: center;
}

.slots-display {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 14px 0;
    flex-wrap: wrap;
}

.slot-reel {
    width: 84px;
    height: 84px;
    background: #fff;
    color: #000;
    border: 4px solid #d4af37;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4em;
}

.slots-paytable {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 18px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 14px;
    border-radius: 10px;
    margin: 10px auto;
    max-width: 460px;
    font-size: 0.9em;
}

.slots-paytable h4,
.slots-bet h4 {
    color: #ffd700;
    margin-bottom: 6px;
}

.slots-paytable h4 {
    grid-column: 1 / -1;
}

.slots-paytable div {
    margin: 0;
}

.spin-slots-btn {
    background: linear-gradient(145deg, #d4af37, #ffd700);
    color: #000;
    border: none;
    padding: 12px 34px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: bold;
    margin: 10px 0;
}

.spin-slots-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slots-result {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffd700;
    min-height: 30px;
}

@media (max-width: 900px) {
    .game-screen.active {
        grid-template-columns: minmax(0, 1fr);
    }

    .history-panel {
        position: static;
    }

    .history-list {
        max-height: 240px;
    }
}

@media (max-width: 600px) {
    body.in-game {
        padding-top: 50px;
    }

    .floating-balance {
        top: 8px;
        padding: 6px 14px;
    }

    .floating-amount {
        font-size: 1.05em;
    }

    .casino-header h1 {
        font-size: 1.5em;
    }

    .player-info {
        font-size: 1em;
    }

    .game-screen {
        padding: 14px;
    }

    .screen-header {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 8px;
        margin-bottom: 12px;
    }

    .screen-header h2 {
        text-align: center;
        font-size: 1.3em;
    }

    .screen-header .bet-info {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    .screen-header .bet-head {
        flex: 1 1 88px;
    }

    .screen-header .bet-stack {
        flex: 0 0 96px;
        width: 96px;
        height: 46px;
    }

    .screen-header .bet-actions {
        margin-left: auto;
    }

    .dealer-area,
    .player-area {
        margin: 8px 0;
        padding: 8px 10px;
    }

    .card {
        width: 50px;
        height: 75px;
        font-size: 1em;
    }

    .chip {
        width: 46px;
        height: 46px;
    }

    .chip::before {
        inset: 6px;
    }

    .chip b {
        font-size: 0.72rem;
    }

    .chip-rack {
        gap: 8px;
        margin: 8px 0 12px;
    }

    .bet-options {
        gap: 6px;
        margin-bottom: 10px;
    }

    .bet-option {
        padding: 9px 12px;
        font-size: 0.9em;
    }

    .slot-reel {
        width: 72px;
        height: 72px;
        font-size: 2em;
    }

    .slots-paytable {
        font-size: 0.82em;
        gap: 2px 12px;
    }

    #rouletteCanvas {
        width: 220px;
        height: 220px;
    }

    .roulette-cloth {
        border-width: 4px;
        padding: 6px;
    }

    .roulette-grid {
        grid-template-columns: 28px repeat(12, minmax(0, 1fr));
        grid-template-rows: repeat(3, 24px);
        gap: 1px;
    }

    .roulette-spot {
        font-size: 0.58em;
        border-radius: 2px;
    }

    .roulette-spot.zero {
        font-size: 0.68em;
    }

    .roulette-outside {
        gap: 4px;
        margin-top: 6px;
    }

    .roulette-outside .bet-option {
        padding: 7px 3px;
        font-size: 0.7em;
    }

    .roulette-selection {
        font-size: 0.78em;
    }

    .history-list {
        max-height: 200px;
    }
}
