/* Brownlee's Basic Bidding - base styles */

:root {
    --green: #0b6b3a;
    --green-dark: #074a27;
    --cream: #f6f1e4;
    --ink: #1a1a1a;
    --muted: #5b5b5b;
    --red: #c0392b;
    --card-bg: #ffffff;
    --shadow: 0 2px 6px rgba(0,0,0,0.08);
    --radius: 8px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.5;
}

a { color: var(--green-dark); }
a:hover { color: var(--green); }

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-header {
    background: var(--green-dark);
    color: #fff;
    padding: 0.75rem 0;
    box-shadow: var(--shadow);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.site-header .brand {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}
.site-header nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 1rem;
    opacity: 0.9;
}
.site-header nav a:hover { opacity: 1; text-decoration: underline; }

/* ----- Nav dropdown ----- */
.nav-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}
.nav-dropdown-toggle {
    margin-left: 0 !important;
    cursor: pointer;
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--green-dark);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 160px;
    padding: 0.4rem 0;
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
}
.nav-dropdown-menu a {
    display: block;
    padding: 0.4rem 1rem;
    margin: 0 !important;
    white-space: nowrap;
    opacity: 0.9;
}
.nav-dropdown-menu a:hover {
    background: var(--green);
    opacity: 1;
}

main.container { padding-top: 1.5rem; padding-bottom: 2rem; }

/* ----- Bidding systems grid ----- */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.system-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem;
}
.system-card h2 {
    margin-top: 0;
    font-size: 1.3rem;
}
.system-card h2 a {
    text-decoration: none;
}
.system-card ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.site-footer {
    border-top: 1px solid #ddd;
    padding: 1rem 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
    color: var(--green-dark);
}
.hero .tagline {
    font-size: 1.1rem;
    color: var(--muted);
    margin-top: 0;
}
.cta { margin-top: 1rem; }

.btn {
    display: inline-block;
    padding: 0.6rem 1rem;
    background: var(--green-dark);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}
.btn:hover { background: var(--green); color: #fff; }
.btn-secondary {
    background: #fff;
    color: var(--green-dark);
    border: 1px solid var(--green-dark);
    margin-left: 0.5rem;
}
.btn-secondary:hover { background: var(--green-dark); color: #fff; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow);
}
.card h2 {
    margin-top: 0;
    font-size: 1.1rem;
    color: var(--green-dark);
}

.prose { max-width: 720px; }
.prose h1 { color: var(--green-dark); }
.prose h2 { color: var(--green-dark); margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; }

/* Practice page */

.practice h1 { color: var(--green-dark); margin-bottom: 0.2rem; }
.practice .subtitle { color: var(--muted); margin-top: 0; }

.hand-panel {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.65rem 0.85rem;
    margin: 0.75rem 0 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.hand { font-size: 1.3rem; letter-spacing: 0.04em; }
.suit {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.2;
    padding: 0.12rem 0;
}
.suit + .suit {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.suit-symbol { width: 1.2em; text-align: center; font-size: 1.3em; }
.suit-h .suit-symbol, .suit-d .suit-symbol { color: var(--red); }
.suit-s .suit-symbol, .suit-c .suit-symbol { color: var(--ink); }
.suit-cards { font-family: "Courier New", monospace; }

.hand-stats { min-width: 180px; font-size: 1rem; }
.hand-stats div { margin-bottom: 0.25rem; }

.bidding-box { margin-top: 1rem; }
.bidding-box .prompt { font-weight: bold; margin-bottom: 0.5rem; }
.bids {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.42rem;
    max-width: 430px;
    padding: 0.9rem;
    background: linear-gradient(145deg, #0f5f2d, #06421f);
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 8px 18px rgba(0,0,0,0.18);
}
.bid-btn {
    min-height: 38px;
    padding: 0.45rem 0.35rem;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(#fff, #ecece7);
    border: 1px solid #b9b9b0;
    border-radius: 7px;
    cursor: pointer;
    font-family: inherit;
    color: #111;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 2px 4px rgba(0,0,0,0.35);
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}
.bid-btn:hover {
    background: linear-gradient(#ffffff, #dfe8dc);
    border-color: #f0e8a8;
    transform: translateY(-1px);
}
.bid-btn:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.22);
}
.bid-c, .bid-s { color: #111; }
.bid-d, .bid-h { color: #b00000; }
.bid-nt {
    background: linear-gradient(#fff8c9, #efe39f);
    border-color: #d9c45d;
    color: #111;
}
.bid-c:hover, .bid-s:hover, .bid-nt:hover {
    color: inherit;
}
.bid-pass {
    grid-column: span 5;
    background: linear-gradient(#eef7ec, #cfe3ca);
    border-color: #9ec49a;
    color: #113f22;
    font-weight: bold;
}
.bid-pass:hover { color: #113f22; }
.bid-empty {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.16);
    cursor: default;
    opacity: 0.35;
    box-shadow: none;
}


.coaching-panel {
    background: #fff8df;
    border-left: 4px solid #d39b16;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.85rem 1rem;
    margin: 0.75rem 0;
}
.coaching-panel h3 {
    margin: 0.15rem 0 0.45rem;
    color: var(--green-dark);
    border: 0;
    padding: 0;
}
.coaching-kicker {
    color: #8a5f00;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.coaching-lead {
    color: var(--muted);
    margin-top: 0;
}
.coaching-panel .reason {
    margin-bottom: 0;
}

/* Opponent bid modal overlay — fixed viewport cover */
.opp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.opp-modal-overlay.fade-in {
    opacity: 1;
    pointer-events: auto;
}
.opp-modal-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.opp-modal {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 2rem 3rem;
    text-align: center;
    min-width: 200px;
}
.opp-modal-label {
    font-size: 1rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}
.opp-modal-bid {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--green-dark);
}

.result {
    background: var(--card-bg);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.result h3 { margin-bottom: 0.25rem; color: var(--green-dark); }
.result .reason { margin-top: 0; }
.badge {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.8rem;
    margin-left: 0.4rem;
    color: #fff;
}
.badge.ok { background: var(--green-dark); }
.badge.no { background: #b26a00; }

.trace { color: var(--muted); font-size: 0.95rem; }
.trace em { color: var(--muted); }

.muted { color: var(--muted); }

table.auction {
    border-collapse: collapse;
    margin: 0.5rem 0;
    min-width: 220px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}
table.auction th,
table.auction td {
    padding: 0.45rem 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    min-width: 80px;
}
table.auction th {
    background: var(--green-dark);
    color: #fff;
    font-weight: normal;
    letter-spacing: 0.03em;
}
.auction-note {
    font-size: 0.8rem;
    margin-top: 0;
}

.hand-wrap.is-bidder {
    position: sticky;
    top: 16px;
    z-index: 20;
    background: var(--cream);
    padding: 0 0 0.5rem 0;
    margin: 0 -0.5rem 100vh -0.5rem;
    box-shadow: 0 6px 6px -6px rgba(0, 0, 0, 0.25);
}
.hand-wrap.is-bidder h2 {
    padding: 0;
    margin: 0;
}
.hand-wrap.is-bidder .hand-panel {
    margin: 0 0.5rem;
}

.summary {
    background: var(--card-bg);
    border-left: 4px solid var(--green-dark);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 1rem;
}
.summary h2 { margin-top: 0.25rem; }

.accurate-form { margin: 0.5rem 0 0.25rem; }
.btn.btn-secondary {
    background: #fff;
    color: var(--green-dark);
    border: 1px solid var(--green-dark);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius);
    cursor: pointer;
    font: inherit;
}
.btn.btn-secondary:hover {
    background: var(--green-dark);
    color: #fff;
}

.four-hands {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
        ".   n   ."
        "w   .   e"
        ".   s   .";
    gap: 0;
    align-items: start;
    justify-items: center;
    margin: 0.5rem 0;
}
.fh-north { grid-area: n; }
.fh-south { grid-area: s; }
.fh-west  { grid-area: w; }
.fh-east  { grid-area: e; }
.fh-cell { width: 100%; max-width: 240px; margin: -0.35rem; }
.fh-label {
    font-weight: bold;
    text-align: center;
    color: var(--green-dark);
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

/* Compact hand display inside the four-hands compass. */
.fh-cell .hand-panel {
    padding: 0.15rem 0.25rem;
    display: block;
}
.fh-cell .hand { font-size: 1.6rem; }
.fh-cell .suit { gap: 0.35rem; line-height: 1.2; }
.fh-cell .hand-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    min-width: 0;
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
}
.fh-cell .hand-stats div { margin: 0; }

@media (max-width: 720px) {
    .four-hands {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "n n"
            "w e"
            "s s";
    }
    .fh-cell { max-width: none; }
}
@media (max-width: 420px) {
    .four-hands {
        grid-template-columns: 1fr;
        grid-template-areas: "n" "w" "e" "s";
    }
}

.practice h2 {
    color: var(--green-dark);
    margin-top: 1.75rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.25rem;
}

/* ----- Header nav: user badge + tags ----- */
.nav-user {
    color: #fff;
    margin-left: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}
.nav-tag {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.05rem 0.4rem;
    margin-left: 0.2rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.nav-tag-admin    { background: #8e44ad; }
.nav-tag-game_host{ background: #2980b9; }
.nav-tag-paid     { background: #27ae60; }
.nav-tag-premium  { background: #d4ac0d; color: #2d2d2d; }

/* ----- Auth forms ----- */
.auth-page { max-width: 480px; margin: 1rem auto; }
.auth-form {
    display: flex; flex-direction: column; gap: 0.75rem;
    background: var(--card-bg); padding: 1rem 1.25rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.auth-form label { display: flex; flex-direction: column; gap: 0.25rem; font-weight: bold; }
.auth-form input {
    font: inherit; padding: 0.5rem 0.6rem;
    border: 1px solid #ccc; border-radius: var(--radius);
}
.form-error {
    background: #fdecea; color: #922; padding: 0.5rem 0.75rem;
    border-radius: var(--radius); border-left: 4px solid #c0392b;
}

/* ----- Admin user table ----- */
.admin-page { margin: 1rem 0; }
.admin-users {
    width: 100%; border-collapse: collapse; margin-top: 0.5rem;
    background: var(--card-bg); box-shadow: var(--shadow); border-radius: var(--radius);
    overflow: hidden;
}
.admin-users th, .admin-users td {
    padding: 0.5rem 0.6rem; text-align: left;
    border-bottom: 1px solid #eee; font-size: 0.9rem;
}
.admin-users th { background: var(--green-dark); color: #fff; font-weight: normal; }
.admin-users tbody tr:last-child td { border-bottom: none; }
.admin-users .inline-form { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.admin-users select { padding: 0.25rem 0.4rem; font: inherit; }

.flash {
    padding: 0.5rem 0.75rem; border-radius: var(--radius);
    margin: 0.5rem 0;
}
.flash-ok    { background: #eafaf1; color: #1e6b3a; border-left: 4px solid #27ae60; }
.flash-error { background: #fdecea; color: #922;    border-left: 4px solid #c0392b; }

/* --- System selector -------------------------------------------------- */
.title-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.system-selector {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.system-selector label {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}
.system-selector select {
    padding: 0.3rem 0.5rem;
    font: inherit;
    font-size: 0.9rem;
    border: 1px solid var(--border, #ccc);
    border-radius: 4px;
    background: var(--card-bg);
}

/* --- Gamification ----------------------------------------------------- */
.score-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
    padding: 0.6rem 0.8rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--green);
}
.score-stat {
    flex: 1 1 90px;
    text-align: center;
    padding: 0.25rem 0.5rem;
}
.score-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}
.score-stat-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--green-dark);
}
a.score-stat-link {
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    transition: background 0.15s;
}
a.score-stat-link:hover {
    background: rgba(0, 0, 0, 0.04);
}

.hand-score-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    margin: 0.75rem 0 1rem;
    border-left: 4px solid var(--green);
    text-align: center;
}
.hand-score-stars {
    font-size: 2rem;
    line-height: 1;
}
.hand-score-stars .star-on  { color: #f1c40f; }
.hand-score-stars .star-off { color: #ddd; }
.hand-score-points {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--green-dark);
    margin: 0.25rem 0 0.5rem;
}
.hand-score-notes {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.hand-score-notes li { margin: 0.15rem 0; }

.save-share {
    margin: 1rem 0 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px dashed var(--border, #d8d2c2);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.02);
}
.save-share h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.save-share .share-url {
    background: #fff;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    border: 1px solid var(--border, #ddd);
    word-break: break-all;
    font-size: 0.85rem;
}
.save-form label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}
.save-form input[type="text"] {
    padding: 0.4rem 0.5rem;
    font: inherit;
    border: 1px solid var(--border, #ccc);
    border-radius: 4px;
}

.saved-games {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border, #d8d2c2);
}
.saved-games h2 { margin-bottom: 0.5rem; }
.saved-games-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.saved-games-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius);
    background: var(--card-bg);
    box-shadow: var(--shadow);
    margin-bottom: 0.4rem;
}
.saved-game-info { display: flex; flex-direction: column; gap: 0.15rem; }
.saved-game-info .muted { font-size: 0.8rem; }
.saved-game-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.saved-game-actions .danger { color: #c0392b; }
.saved-page { padding-top: 1rem; padding-bottom: 2rem; }
.saved-page .saved-games-list { margin-top: 1rem; }

/* Curated hands pages */
.subtitle { color: var(--muted); margin-top: -0.5rem; margin-bottom: 1.5rem; }
.breadcrumb { margin-bottom: 0.5rem; font-size: 0.9rem; }
.mono { font-family: "Courier New", Courier, monospace; }
.muted { color: var(--muted); }

.curated-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}
.curated-table th,
.curated-table td {
    padding: 0.6rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.curated-table th { background: var(--green); color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
.curated-table tr:hover td { background: #f9f6f0; }
.curated-table .btn-sm { font-size: 0.8rem; padding: 0.25rem 0.6rem; }

.curated-detail { margin-top: 1.5rem; }
.curated-meta {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
}
.curated-meta dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.2rem; margin: 0; }
.curated-meta dt { font-weight: bold; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; }
.curated-meta dd { margin: 0; font-size: 1rem; }

.curated-bidding {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
}
.curated-bidding h2 { margin-top: 0; font-size: 1.1rem; }

.curated-bid-comments {
    border: 1px solid #e0d9cc;
    border-radius: var(--radius);
    padding: 0.8rem 1rem 1rem;
    margin: 0 0 1rem;
}
.curated-bid-comments legend { font-weight: bold; padding: 0 0.4rem; }
.curated-bid-comments .muted { font-size: 0.85rem; margin: 0 0 0.8rem; }
.bid-comments-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.35);
}
.bid-comments-table th,
.bid-comments-table td {
    border-bottom: 1px solid #e0d9cc;
    padding: 0.4rem 0.5rem;
    vertical-align: top;
}
.bid-comments-table th {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: bold;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.bid-comments-table th:first-child,
.bid-comment-index {
    width: 3rem;
    text-align: right;
}
.bid-comments-table th:nth-child(2),
.bid-comment-seat {
    width: 4rem;
    text-align: center;
}
.bid-comments-table th:nth-child(3),
.bid-comment-bid {
    width: 5rem;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    white-space: nowrap;
}
.bid-comment-bid-input {
    width: 4.5rem;
    box-sizing: border-box;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    text-transform: uppercase;
}
.bid-comment-note input {
    width: 100%;
    box-sizing: border-box;
}
.bid-comments-actions {
    margin: 0.8rem 0 0;
}
.bid-comments-empty td {
    color: var(--muted);
    font-size: 0.85rem;
    font-style: italic;
    text-align: left;
}

.bidding-table {
    width: 100%;
    max-width: 400px;
    border-collapse: collapse;
}
.bidding-table th {
    background: var(--green-dark);
    color: #fff;
    padding: 0.4rem 0.8rem;
    text-align: center;
    font-size: 0.85rem;
}
.bidding-table td {
    padding: 0.4rem 0.8rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
}
.bidding-table .bid-pass { color: var(--muted); font-weight: normal; }
.bidding-table .bid-dbl { color: var(--red); }
.bidding-table .bid-call { color: var(--green-dark); }

.curated-comments {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
}
.curated-comments h2 { margin-top: 0; font-size: 1.1rem; }
.curated-comments p { line-height: 1.6; }

.curated-hands {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
}
.curated-hands h2 { margin-top: 0; font-size: 1.1rem; }
.hand-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 0.8rem;
    background: #f9f6f0;
    border-radius: var(--radius);
}

.curated-banner {
    background: #e8f5e9;
    border-left: 4px solid var(--green);
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.curated-banner a { margin-left: 0.75rem; }

.curated-play-btn {
    display: inline-block;
    margin-top: 1rem;
}

@media (max-width: 540px) {
    .bids { grid-template-columns: repeat(5, minmax(0, 1fr)); font-size: 0.9rem; }
    .hero h1 { font-size: 1.7rem; }
    .score-stat-value { font-size: 1.1rem; }
    .curated-meta dl { grid-template-columns: 1fr; }
}
