/* Kindle Poker - Styles */
/* Optimized for e-ink: high contrast, no animations, elegant simplicity */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* No animations for e-ink */
    animation: none !important;
    transition: none !important;
}

html, body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.2;
    background: #fff;
    color: #000;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

#app {
    max-width: 600px;
    margin: 0 auto;
    padding: 4px;
}

.screen {
    min-height: 100vh;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 16px 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Decorative divider */
h1::after {
    content: "♠ ♥ ♦ ♣";
    display: block;
    font-size: 14px;
    letter-spacing: 8px;
    margin-top: 8px;
    color: #666;
}

/* ================================
   BUTTONS - Elegant & Simple
   ================================ */
button {
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: bold;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 10px 16px;
    min-height: 44px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    -webkit-tap-highlight-color: transparent;
    /* Subtle depth effect */
    box-shadow: 2px 2px 0 #666;
}

button:active {
    background: #fff;
    color: #000;
    box-shadow: inset 2px 2px 0 #000;
}

button:disabled {
    background: #ccc;
    border-color: #999;
    color: #666;
    box-shadow: none;
}

.btn-large {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 18px;
    margin: 10px 0;
    letter-spacing: 2px;
}

.btn-action {
    min-width: 70px;
    font-size: 13px;
    padding: 10px 6px;
    letter-spacing: 0.5px;
}

/* Fold button - subtle, not primary action */
.btn-fold {
    background: #fff;
    color: #666;
    border-color: #999;
    box-shadow: none;
    min-height: 44px !important;
    font-size: 14px !important;
}

.btn-fold:active {
    background: #eee;
    color: #000;
}

/* Call button - primary action when available */
.btn-call {
    background: #000;
    color: #fff;
    box-shadow: 3px 3px 0 #666;
    font-size: 20px !important;
}

/* Check button */
#btn-check {
    background: #fff;
    color: #000;
    border: 3px solid #000;
}

/* Raise button - secondary emphasis */
.btn-raise {
    background: #fff;
    color: #000;
    border: 3px solid #000;
}

/* Secondary button style */
.btn-secondary {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:active {
    background: #eee;
}

/* Danger button */
.btn-danger {
    background: #fff;
    color: #000;
    border: 2px dashed #000;
}

/* Toggle button */
.btn-toggle {
    min-width: 60px;
    font-size: 14px;
    padding: 6px 12px;
}

.btn-toggle.on {
    background: #000;
    color: #fff;
}

.btn-toggle.off {
    background: #fff;
    color: #000;
}

/* Option buttons */
.btn-option {
    font-size: 13px;
    padding: 6px 12px;
    background: #fff;
    color: #000;
    min-width: 40px;
}

.btn-option.selected {
    background: #000;
    color: #fff;
}

/* ================================
   START SCREEN
   ================================ */
#start-screen {
    padding: 10px;
}

/* Kindle Device Frame - subtle bezel effect */
.kindle-frame {
    background: #2a2a2a;
    border-radius: 20px;
    padding: 12px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.1),
        0 4px 12px rgba(0,0,0,0.3);
}

.kindle-screen {
    background: #fff;
    border-radius: 8px;
    padding: 20px 16px;
    /* Subtle paper texture */
    background-image:
        radial-gradient(circle at 20% 80%, #f8f8f8 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, #f5f5f5 0%, transparent 50%);
}

/* Title Section */
.title-section {
    text-align: center;
    margin-bottom: 16px;
}

.title-section h1 {
    margin: 8px 0;
    font-size: 28px;
}

.title-section h1::after {
    display: none;
}

.tagline-top {
    font-size: 11px;
    letter-spacing: 3px;
    color: #666;
    text-transform: uppercase;
    margin: 0;
}

/* Decorative divider after title */
.title-section::after {
    content: "♠ ♥ ♦ ♣";
    display: block;
    font-size: 14px;
    letter-spacing: 8px;
    margin-top: 12px;
    color: #888;
}

/* Menu buttons */
#start-screen .menu {
    margin: 20px 0;
}

#start-screen .menu button {
    margin-bottom: 8px;
}

/* Info card */
#start-screen .info {
    text-align: center;
    border: 2px solid #000;
    padding: 12px 16px;
    background: #f8f8f8;
}

#start-screen .info p {
    margin: 6px 0;
    font-size: 13px;
}

#start-screen .info p:first-child {
    font-weight: bold;
    font-size: 14px;
}

p.contact-inline {
    display: block;
    width: 100%;
    margin-top: 10px;
    font-size: 12px;
    color: #666;
    letter-spacing: 0.5px;
    text-align: center !important;
}

/* Responsive - remove frame on very small screens */
@media (max-width: 360px) {
    .kindle-frame {
        background: transparent;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .kindle-screen {
        border: 2px solid #000;
        border-radius: 0;
    }
}

/* ================================
   SETTINGS SCREEN
   ================================ */
#settings-screen {
    padding: 10px;
}

.settings-list {
    margin: 20px 0;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.setting-label {
    font-weight: bold;
    font-size: 14px;
}

.setting-options {
    display: flex;
    gap: 4px;
}

.settings-actions {
    margin-top: 30px;
}

.settings-actions button {
    margin-bottom: 10px;
}

/* ================================
   STATS SCREEN
   ================================ */
#stats-screen {
    padding: 10px;
}

.stats-list {
    margin: 10px 0;
}

.stat-group {
    margin-bottom: 16px;
    border: 2px solid #000;
    background: #f8f8f8;
}

.stat-group h2 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #000;
    color: #fff;
    padding: 6px 10px;
    margin: 0;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
}

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

.stat-label {
    font-size: 13px;
}

.stat-value {
    font-weight: bold;
    font-size: 13px;
}

.stats-actions {
    margin-top: 20px;
}

.stats-actions button {
    margin-bottom: 10px;
}

/* ================================
   GAME SCREEN
   ================================ */
#game-screen {
    position: relative;
}

/* ================================
   QUIT BUTTON
   ================================ */
.btn-quit {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    font-size: 18px;
    font-weight: normal;
    background: #fff;
    color: #666;
    border: 1px solid #ccc;
    box-shadow: none;
    z-index: 100;
}

.btn-quit:active {
    background: #eee;
    color: #000;
}

/* ================================
   HELP BUTTON
   ================================ */
.btn-help {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
    background: #fff;
    color: #666;
    border: 1px solid #ccc;
    box-shadow: none;
    z-index: 100;
    font-family: Georgia, serif;
}

.btn-help:active {
    background: #eee;
    color: #000;
}

/* ================================
   HAND RANKINGS SCREEN
   ================================ */
#rankings-screen {
    padding: 6px 10px;
}

.rankings-header {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    margin-bottom: 6px;
}

.rankings-header h1 {
    font-size: 20px;
    margin: 0;
    text-align: center;
}

.rankings-header h1::after {
    display: none;
}

/* Back button - left cell */
.btn-back {
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    font-size: 20px;
    font-weight: normal;
    background: #fff;
    color: #666;
    border: 1px solid #ccc;
    box-shadow: none;
}

.btn-back:active {
    background: #eee;
    color: #000;
}

.rankings-list {
    border: 2px solid #000;
    margin: 4px 0;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 5px 6px;
    border-bottom: 1px solid #ccc;
    flex-wrap: wrap;
}

.ranking-item:last-child {
    border-bottom: none;
}

/* Alternate row shading for readability */
.ranking-item:nth-child(odd) {
    background: #f5f5f5;
}

.ranking-rank {
    width: 22px;
    height: 22px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 6px;
}

.ranking-name {
    flex: 1;
    font-size: 12px;
    font-weight: bold;
    min-width: 90px;
}

.ranking-cards {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

/* Mini cards for rankings display */
.card.mini {
    width: 20px;
    height: 28px;
    font-size: 8px;
    border-width: 1px;
    box-shadow: none;
    padding: 1px;
}

.card.mini .rank {
    font-size: 8px;
    line-height: 1;
}

.card.mini .suit {
    font-size: 9px;
    line-height: 1;
}

.rankings-note {
    text-align: center;
    font-size: 11px;
    color: #666;
    margin-top: 8px;
    padding: 6px;
    border: 1px dashed #999;
    line-height: 1.4;
}

.rankings-actions {
    margin-top: 10px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 380px) {
    .ranking-item {
        padding: 4px;
    }

    .ranking-name {
        font-size: 10px;
        min-width: 70px;
    }

    .ranking-rank {
        width: 18px;
        height: 18px;
        font-size: 9px;
        margin-right: 4px;
    }

    .card.mini {
        width: 17px;
        height: 24px;
    }

    .card.mini .rank {
        font-size: 7px;
    }

    .card.mini .suit {
        font-size: 8px;
    }
}

/* ================================
   POKER TABLE
   ================================ */
#table-container {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto 8px;
    padding-top: 20px;
}

#poker-table {
    position: relative;
    width: 100%;
    height: 310px;
    /* Felt texture - subtle pattern */
    background: #e8e8e8;
    background-image:
        radial-gradient(circle at 50% 50%, #ddd 0%, #e8e8e8 100%);
    border: 5px solid #000;
    /* Double border effect for elegance */
    box-shadow:
        inset 0 0 0 3px #fff,
        inset 0 0 0 6px #000;
    border-radius: 50% / 45%;
    overflow: visible;
}

/* Table rail decoration */
#poker-table::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px dashed #bbb;
    border-radius: 50% / 45%;
    pointer-events: none;
}

/* Table center */
#table-center {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 75%;
}

#pot-display {
    font-size: 18px;
    font-weight: bold;
    background: #000;
    color: #fff;
    padding: 2px 10px;
    display: inline-block;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

/* Pot emphasis when large */
#pot-display.large-pot {
    font-size: 22px;
    padding: 8px 20px;
}

#community-cards {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 6px;
}

/* Community cards - bigger than default */
#community-cards .card {
    width: 48px;
    height: 66px;
    font-size: 18px;
    margin: 0 5px;
}

#community-cards .card .rank {
    font-size: 18px;
}

#community-cards .card .suit {
    font-size: 24px;
}

/* Blind info - below community cards */
#table-info {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
    font-weight: bold;
}

#table-info:empty {
    display: none;
}

/* Winner announcement - prominent, below cards */
#winner-display {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: bold;
    margin-top: 4px;
    padding: 4px 12px;
    background: #000;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
    display: none;
}

#winner-display:not(:empty) {
    display: block;
}

/* ================================
   SEATS
   ================================ */
.seat {
    position: absolute;
    text-align: center;
    width: 94px;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 10;
}

.seat-info {
    background: #fff;
    border: 2px solid #000;
    padding: 3px 4px;
    box-shadow: 1px 1px 0 #999;
}

/* Position seats around the perimeter */
.seat-top {
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
}

.seat-top-left {
    top: 20px;
    left: 6%;
}

.seat-top-right {
    top: 20px;
    right: 6%;
}

.seat-bottom-left {
    bottom: 10px;
    left: 6%;
}

.seat-bottom-right {
    bottom: 10px;
    right: 6%;
}

/* Seat states */
.seat.folded {
    opacity: 0.5;
}

.seat.folded .seat-info {
    background: #f5f5f5;
    border-color: #bbb;
    box-shadow: none;
}

/* Hide cards for folded players */
.seat.folded .seat-cards {
    display: none;
}

.seat.folded .seat-action {
    display: none;
}

.seat.active .seat-info {
    border-width: 3px;
    border-color: #000;
    box-shadow: 0 0 0 2px #000;
}

/* Thinking indicator */
.seat.active .seat-name::after {
    content: "...";
}

.seat.eliminated {
    display: none;
}

/* Winner celebration - simple but clear */
.seat.winner .seat-info {
    border: 3px solid #000;
    box-shadow: 0 0 0 2px #000;
}

.seat.winner .seat-name {
    font-weight: bold;
}

/* All-in indicator */
.seat.all-in .seat-chips::after {
    content: " ALL IN";
    font-size: 7px;
    display: block;
    letter-spacing: 0.5px;
}

.seat.dealer .seat-name::before {
    content: "D ";
    font-size: 9px;
    background: #000;
    color: #fff;
    padding: 1px 3px;
    margin-right: 2px;
}

/* Seat contents */
.seat-cards {
    display: flex;
    justify-content: center;
    margin-bottom: 2px;
}

.seat-cards .card {
    margin: 0 3px;
}

.seat-info {
    font-size: 10px;
    line-height: 1.3;
}

.seat-name {
    display: block;
    font-weight: bold;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seat-chips {
    display: block;
    font-size: 11px;
    font-weight: bold;
}

.seat-action {
    font-size: 9px;
    font-weight: bold;
    background: #000;
    color: #fff;
    padding: 2px 4px;
    margin-top: 2px;
    min-height: 13px;
    letter-spacing: 0.5px;
}

.seat-action:empty {
    background: transparent;
}

/* ================================
   POSITION BUTTONS (D, SB, BB)
   ================================ */
.position-button {
    display: none;
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #000;
    font-size: 8px;
    font-weight: bold;
    line-height: 16px;
    text-align: center;
    z-index: 20;
}

.position-button.dealer {
    display: block;
    background: #000;
    color: #fff;
}

.position-button.dealer::after {
    content: "D";
}

.position-button.sb {
    display: block;
    background: #666;
    color: #fff;
}

.position-button.sb::after {
    content: "SB";
    font-size: 7px;
}

.position-button.bb {
    display: block;
    background: #333;
    color: #fff;
}

.position-button.bb::after {
    content: "BB";
    font-size: 7px;
}

/* ================================
   CARDS
   ================================ */
.card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 44px;
    border: 2px solid #000;
    background: #fff;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    vertical-align: middle;
    /* Card shadow */
    box-shadow: 1px 1px 0 #999;
}

.card.small {
    width: 38px;
    height: 52px;
    font-size: 14px;
    border-width: 2px;
    box-shadow: 1px 1px 0 #999;
}

.card.small .rank {
    font-size: 16px;
    line-height: 1;
}

.card.small .suit {
    font-size: 20px;
    line-height: 1;
}

.card.empty {
    background: #d0d0d0;
    border-style: dashed;
    border-color: #999;
    box-shadow: none;
}

/* Card back with pattern */
.card.back {
    background: #333;
    border-color: #000;
    /* Crosshatch pattern */
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 3px,
            #444 3px,
            #444 4px
        );
}

.card .rank {
    font-size: inherit;
}

.card .suit {
    font-size: 1.2em;
}

.card.red {
    color: #555;
}

.card.black {
    color: #000;
}

/* Winning cards highlight - simple border, no overflow */
.card.winning {
    border: 3px solid #000;
    background: #f0f0f0;
    box-shadow: inset 0 0 0 2px #000;
}

/* ================================
   PLAYER AREA - Simplified, card-focused
   ================================ */
#player-area {
    background: #fff;
    border: none;
    padding: 8px 16px;
    margin-bottom: 6px;
    text-align: center;
    max-width: 100%;
    position: relative;
}

/* Chip count - prominent */
#player-header {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Position button for player - inline next to chips */
#player-area .position-button {
    position: static;
    display: none;
    width: 24px;
    height: 24px;
    line-height: 20px;
    margin-left: 14px;
    vertical-align: middle;
}

#player-area .position-button.dealer,
#player-area .position-button.sb,
#player-area .position-button.bb {
    display: inline-block;
}


#player-chips {
    font-size: 18px;
    font-weight: bold;
    background: #000;
    color: #fff;
    padding: 4px 12px;
    margin-left: 10px;
}

#player-area.active #player-chips {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px #000;
}

#player-area.folded {
    opacity: 0.3;
}

#player-area.dealer #player-name::after {
    content: " (D)";
    color: #999;
}



/* Player all-in state */
#player-area.all-in #player-chips::after {
    content: " ALL IN";
    font-size: 12px;
    letter-spacing: 1px;
}

/* Player cards row - 3 column grid for centering */
#player-cards-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin: 8px 0 4px;
}

/* Player status (winner) - left cell */
#player-status {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
}

/* HERO: Player cards - much bigger */
#player-cards {
    display: flex;
    justify-content: center;
}

#player-cards .card {
    width: 70px;
    height: 96px;
    font-size: 32px;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #ccc;
    margin: 0 8px;
}

#player-cards .card .rank {
    font-size: 32px;
    line-height: 1;
}

#player-cards .card .suit {
    font-size: 38px;
    line-height: 1;
}

#hand-rank {
    font-size: 12px;
    font-weight: bold;
    background: #000;
    color: #fff;
    padding: 3px 10px;
    display: inline-block;
    letter-spacing: 1px;
    margin-top: 2px;
}

#hand-rank:empty {
    display: none;
}

#player-bet {
    font-size: 12px;
    font-weight: bold;
    margin-top: 2px;
    font-style: italic;
}

#player-bet:empty {
    display: none;
}

/* ================================
   INFO BAR - Now inline with player cards
   ================================ */
#info-bar {
    display: none;
}

#blind-status {
    display: none;
}

/* Pot odds display - right cell of cards row */
#pot-odds {
    font-size: 13px;
    color: #444;
    text-align: center;
    font-weight: bold;
}

#game-status {
    font-style: italic;
}

/* ================================
   ACTION BUTTONS - Redesigned for touch
   ================================ */
#actions {
    margin-bottom: 8px;
    padding: 0 10px;
}

/* Make action buttons full-width and tall, stacked vertically */
#actions .btn-action {
    display: block;
    width: 100%;
    min-height: 50px;
    font-size: 18px;
    letter-spacing: 2px;
    margin: 0 0 8px 0;
}

/* ================================
   RAISE CONTROLS - Compact layout
   ================================ */
#raise-controls {
    background: #fff;
    border: none;
    padding: 10px;
    margin: 0 -4px 8px;
}

/* Hide player area when raising */
#raise-controls:not([style*="none"]) ~ #player-area,
.raise-mode #player-area {
    display: none !important;
}

#raise-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
}

#raise-cards {
    display: flex;
    gap: 4px;
}

#raise-cards .card {
    width: 40px;
    height: 56px;
    font-size: 10px;
}

#raise-amount-area {
    text-align: center;
}

#raise-label {
    font-size: 10px;
    display: block;
    letter-spacing: 1px;
    color: #666;
    text-transform: uppercase;
}

#raise-amount-display {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
}

#raise-slider {
    position: relative;
    height: 20px;
    background: #ddd;
    border: 2px solid #000;
    margin-bottom: 10px;
    /* Track styling */
    box-shadow: inset 1px 1px 3px #999;
}

#raise-slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #000;
    min-width: 2px;
}

/* Slider thumb indicator */
#raise-slider-fill::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -4px;
    width: 8px;
    height: calc(100% + 8px);
    background: #000;
    border: 2px solid #fff;
}

#raise-slider-labels {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    padding-top: 6px;
    color: #666;
}

#raise-presets {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-bottom: 8px;
    margin-top: 16px;
}

.btn-preset {
    min-height: 36px;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 2px;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    box-shadow: none;
}

.btn-preset:active,
.btn-preset.selected {
    background: #000;
    color: #fff;
}

#raise-adjust {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.btn-adjust {
    flex: 1;
    min-height: 36px;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 2px;
    background: #f0f0f0;
    color: #000;
    border: 2px solid #999;
    box-shadow: none;
}

.btn-adjust:active {
    background: #000;
    color: #fff;
    border-color: #000;
}

#raise-confirm {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

#raise-confirm .btn-action {
    flex: 1;
    min-height: 44px;
    font-size: 16px;
}

#btn-raise-cancel {
    background: #fff;
    color: #666;
    border-color: #999;
}

#btn-raise-confirm {
    background: #000;
    color: #fff;
    font-size: 20px !important;
}

/* ================================
   CONTINUE BUTTON - Primary after hand
   ================================ */
#btn-continue {
    margin: 16px 10px;
    min-height: 60px;
    font-size: 20px;
    letter-spacing: 3px;
}

/* ================================
   GAME OVER SCREEN
   ================================ */
#gameover-screen {
    text-align: center;
    padding-top: 50px;
}

#gameover-screen h1::after {
    content: "♠ ♥ ♦ ♣";
}

#gameover-title {
    font-size: 28px;
}

#gameover-message {
    font-size: 17px;
    margin: 30px 0;
    padding: 20px;
    border: 3px solid #000;
    background: #f8f8f8;
    line-height: 1.5;
}

/* ================================
   RESPONSIVE - Smaller Kindles
   ================================ */
@media (max-width: 500px) {
    #app {
        padding: 2px;
    }

    h1 {
        font-size: 20px;
        margin: 10px 0;
    }

    h1::after {
        font-size: 12px;
    }

    #poker-table {
        height: 260px;
    }

    .seat {
        width: 76px;
    }

    .seat-bottom-left,
    .seat-bottom-right {
        bottom: 5px;
    }

    .seat-info {
        padding: 2px 3px;
    }

    .seat-name {
        font-size: 9px;
    }

    .seat-chips {
        font-size: 8px;
    }

    .card {
        width: 28px;
        height: 38px;
        font-size: 10px;
    }

    .card.small {
        width: 34px;
        height: 46px;
        font-size: 12px;
    }

    #player-cards .card {
        width: 40px;
        height: 56px;
        font-size: 13px;
    }

    #player-area {
        max-width: 260px;
        padding: 8px;
    }

    .btn-action {
        font-size: 11px;
        padding: 8px 4px;
        min-height: 40px;
    }

    .btn-preset {
        font-size: 11px;
        padding: 6px 2px;
    }

    .btn-adjust {
        font-size: 12px;
        padding: 6px 2px;
    }

    #raise-amount-display {
        font-size: 24px;
    }

    .seat-top-left,
    .seat-bottom-left {
        left: 3%;
    }

    .seat-top-right,
    .seat-bottom-right {
        right: 3%;
    }
}

/* Very small screens */
@media (max-width: 380px) {
    #poker-table {
        height: 230px;
    }

    .seat {
        width: 68px;
    }

    .card.small {
        width: 30px;
        height: 40px;
        font-size: 11px;
    }
}

/* ================================
   FOOTER
   ================================ */
#site-footer {
    text-align: center;
    padding: 20px 10px;
    margin-top: 30px;
    border-top: 1px solid #ddd;
    font-size: 11px;
    color: #888;
}

#site-footer p {
    margin: 4px 0;
}

#site-footer a {
    color: #666;
    text-decoration: none;
}

#site-footer a:hover {
    text-decoration: underline;
}

/* Hide footer during game */
#game-screen ~ #site-footer,
#gameover-screen:not([style*="none"]) ~ #site-footer {
    display: none;
}

/* ================================
   PRINT
   ================================ */
@media print {
    button {
        display: none;
    }

    #site-footer {
        display: none;
    }
}
