/* Vote page styles. Extracted from inline <style> in public_html/vote.php on 2026-05-10. The .vote-wrap base recipe (vars, layout, ::before) lives in bmm_theme.css under .bmm-page-wrap. */

.vote-wrap { padding: clamp(24px, 4vw, 56px) clamp(12px, 3vw, 40px) 56px; }

.vote-grid{
    position:relative;
    max-width: 1140px;
    margin: 0 auto;
    display:grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 3vw, 40px);
    align-items:start;
}
.vote-grid > .card,
.vote-grid > .side{ min-width: 0; }
@media (min-width: 960px){
    .vote-grid.split{ grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

.v-kicker{
    display:inline-flex; align-items:center; gap:10px;
    font-family:'Fraunces', serif;
    font-size: 12px; letter-spacing:.22em; text-transform:uppercase;
    color: var(--accent); font-weight: 500;
}
.v-kicker .dot{
    width:6px; height:6px; border-radius:50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--bmm-accent) 12%, transparent);
}
.v-h1{
    font-family:'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(26px, 3.2vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin: 14px 0 6px;
    color: var(--ink);
}
.v-h1 em{ font-style: italic; font-weight: 400; color: var(--accent); }
.v-sub{
    font-size: 15px; line-height: 1.55; color: var(--ink-soft);
    max-width: 56ch; margin: 0 0 20px;
}

/* ===== Card shell ===== */
.card{
    position:relative;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(18px, 2.4vw, 28px);
    border-radius: 2px;
    box-shadow:
        0 1px 0 rgba(20,18,26,.02),
        0 20px 50px -30px color-mix(in srgb, var(--bmm-accent) 18%, transparent);
}
.card .crn{ position:absolute; width: 14px; height: 14px; border: 1px solid var(--accent); opacity: .75; }
.card .crn.tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.card .crn.tr{ top:-1px; right:-1px; border-left:none; border-bottom:none; }
.card .crn.bl{ bottom:-1px; left:-1px; border-right:none; border-top:none; }
.card .crn.br{ bottom:-1px; right:-1px; border-left:none; border-top:none; }

.card-head{
    display:flex; align-items:baseline; justify-content: space-between;
    gap: 14px; padding-bottom: 14px; margin-bottom: 18px;
    border-bottom: 1px solid var(--line-soft);
}
.card-head h2{
    font-family:'Fraunces', serif; font-weight: 500;
    font-size: 20px; letter-spacing: -0.01em; margin: 0; color: var(--ink);
}
.card-head h2 em{ font-style: italic; color: var(--accent); font-weight: 400; }
.card-head .note{ font-size: 12px; color: var(--muted); letter-spacing:.04em; }

/* ===== Game banner + title block inside card ===== */
.game-hero{
    display:flex; flex-direction: column; gap: 10px;
    margin-bottom: 18px;
}
.game-hero .label{
    font-size: 11px; letter-spacing:.2em; text-transform:uppercase;
    color: var(--muted); font-weight: 500;
}
.game-hero .gname{
    font-family:'Fraunces', serif;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.1; letter-spacing: -0.01em; margin:0;
    color: var(--ink); font-weight: 500;
}
.game-hero .gname em{ font-style: italic; color: var(--accent); font-weight: 400; }
.game-banner{
    position:relative; overflow:hidden;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--paper-tint);
    margin-top: 4px;
}
.game-banner img{ display:block; width:100%; height:auto; }
.game-banner .corner-bit{
    position:absolute; width: 12px; height: 12px;
    border: 1px solid var(--accent); opacity:.8;
}
.game-banner .corner-bit.tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.game-banner .corner-bit.br{ bottom:-1px; right:-1px; border-left:none; border-top:none; }

/* ===== Thumbs up/down selector ===== */
.vote-ask{
    font-size: 14px; letter-spacing:.02em;
    color: var(--ink); font-weight: 500;
    margin: 6px 0 10px;
}
.thumbs{
    display:grid; grid-template-columns: 1fr 1fr; gap: 12px;
    margin-bottom: 14px;
}
.thumb{ position:relative; }
.thumb input{
    position:absolute; opacity:0; pointer-events:none; inset:0;
}
.thumb label{
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap: 8px; padding: 18px 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 2px;
    cursor: pointer;
    color: var(--muted);
    transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease, transform .1s ease;
    position: relative;
    font-family:'Fraunces', serif;
}
.thumb label .icon{
    width: 34px; height: 34px;
    display:grid; place-items:center;
    color: var(--muted);
    transition: color .15s ease, transform .15s ease;
}
.thumb label .icon svg{ width: 100%; height: 100%; }
.thumb label .t{
    font-size: 16px; font-weight: 500; letter-spacing: .01em;
}
.thumb label .crn{ position:absolute; width: 10px; height: 10px; border: 1px solid var(--accent); opacity: 0; transition: opacity .15s ease; }
.thumb label .crn.tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.thumb label .crn.br{ bottom:-1px; right:-1px; border-left:none; border-top:none; }
.thumb label:hover{ border-color:#d3cde2; color: var(--ink); transform: translateY(-1px); }
.thumb label:hover .icon{ color: var(--ink); }
.thumb input:checked + label{
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bmm-accent) 15%, transparent);
}
.thumb input:checked + label .icon{ color: var(--accent); transform: scale(1.05); }
.thumb input:checked + label .crn{ opacity: .85; }
.thumb input:focus-visible + label{ outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== Review textarea ===== */
.review-block{ margin-top: 14px; }
.review-block .lbl{
    display:flex; align-items:baseline; justify-content: space-between;
    gap: 10px;
    font-size: 12px; letter-spacing:.05em;
    color: var(--ink); font-weight: 500; margin-bottom: 6px;
}
.review-block .lbl .count{
    font-size: 11px; color: var(--muted); letter-spacing: .06em;
    font-variant-numeric: tabular-nums;
}
.review-block .lbl .count.ok{ color: var(--accent); }
.review-block .lbl .count.warn{ color: var(--danger); }
.review-block textarea{
    appearance:none; -webkit-appearance:none;
    width: 100%;
    font-family:'Fraunces', serif;
    font-size: 15px; line-height: 1.55;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    padding: 12px 13px;
    border-radius: 2px;
    outline: none; resize: vertical; min-height: 120px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.review-block textarea:focus{ border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bmm-accent) 15%, transparent); }
.review-block .hint{ font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ===== Captcha slot ===== */
.cap-slot{
    margin: 14px 0 4px;
    padding: 10px;
    border: 1px dashed var(--line);
    background: var(--paper-tint);
    display:flex; justify-content: center;
    border-radius: 2px;
}
.err{
    border: 1px solid #f1c5c5;
    background: var(--danger-bg);
    color: #7a1717;
    padding: 10px 12px;
    font-size: 14px; line-height: 1.45;
    border-radius: 2px; margin-top: 10px;
}

/* ===== Primary button ===== */
.btn{
    appearance:none; border: none; cursor:pointer;
    width: 100%; height: 50px;
    font-family:'Fraunces', serif;
    font-size: 15px; font-weight: 500; letter-spacing: .01em;
    color: #fff; background: var(--accent);
    border-radius: 2px;
    position:relative; overflow:hidden;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--bmm-accent) 5%, transparent);
    margin-top: 16px;
}
.btn:hover:not(:disabled){ background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(91,33,182,.55); }
.btn:disabled{ opacity: .55; cursor: not-allowed; box-shadow:none; }
.btn::after{
    content:""; position:absolute; top:0; bottom:0; width:40%; left:-50%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transform: skewX(-18deg); transition: left .7s cubic-bezier(.2,.7,.3,1);
}
.btn:hover:not(:disabled)::after{ left: 140%; }

.btn-ghost{
    display:inline-flex; align-items:center; justify-content:center; gap: 8px;
    padding: 10px 16px; min-height: 40px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink); text-decoration: none;
    font-family:'Fraunces', serif; font-size: 14px; font-weight: 500;
    border-radius: 2px;
    transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-ghost.primary{ background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--bmm-accent) 5%, transparent); }
.btn-ghost.primary:hover{ background: var(--accent-deep); border-color: var(--accent-deep); color:#fff; }

/* ===== Meta rules footer in card ===== */
.meta-rules{
    margin-top: 14px; padding-top: 12px;
    border-top: 1px solid var(--line-soft);
    font-size: 12px; line-height: 1.6; color: var(--muted);
}
.meta-rules p{ margin: 0; }
.meta-rules b{ color: var(--ink-soft); font-weight: 600; }
.meta-rules a{ color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--bmm-accent) 3%, transparent); }

/* ===== Side panel (right column context) ===== */
.side{ display:flex; flex-direction: column; gap: 18px; }
.side .panel{
    position:relative;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 18px;
    border-radius: 2px;
}
.side .panel .crn{ position:absolute; width: 12px; height: 12px; border: 1px solid var(--accent); opacity: .75; }
.side .panel .crn.tl{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.side .panel .crn.br{ bottom:-1px; right:-1px; border-left:none; border-top:none; }
.side h3{
    font-family:'Fraunces', serif; font-size: 18px; font-weight: 500;
    letter-spacing: -0.01em; margin: 0 0 10px; color: var(--ink);
}
.side h3 em{ font-style: italic; color: var(--accent); font-weight: 400; }
.side p{ font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 10px; }
.side ul.bullets{
    list-style:none; padding:0; margin: 8px 0 4px;
    display:grid; gap: 2px;
}
.side ul.bullets li{
    display:grid; grid-template-columns: 16px 1fr;
    align-items: baseline; gap: 10px;
    padding: 8px 2px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px; line-height:1.45; color: var(--ink);
}
.side ul.bullets li:last-child{ border-bottom:none; }
.side ul.bullets li .mk{ color: var(--accent); font-size: 12px; }

/* reward badge */
.reward-badge{
    display:flex; align-items:center; gap: 12px;
    padding: 12px 14px; margin-top: 10px;
    border: 1px solid var(--accent);
    background: var(--accent-soft);
    border-radius: 2px; text-decoration:none;
    color: var(--ink); transition: transform .15s ease, background .2s ease;
}
.reward-badge:hover{ transform: translateY(-1px); background: #ece4ff; }
.reward-badge .icon{ width: 28px; height: 28px; flex: 0 0 28px; display:grid; place-items:center; color: var(--accent); }
.reward-badge .t1{ font-family:'Fraunces', serif; font-size: 14px; font-weight: 500; }
.reward-badge .t2{ font-size: 11px; color: var(--muted); letter-spacing:.04em; }

/* socials row (compact) */
.social-row{ display:flex; gap: 8px; align-items:center; flex-wrap:wrap; margin-top: 10px; }
.social-row .ic{
    width: 32px; height: 32px; display:grid; place-items:center;
    border: 1px solid var(--line); color: var(--muted);
    border-radius: 2px; background: var(--paper);
    transition: color .15s ease, border-color .15s ease;
}
.social-row .ic:hover{ color: var(--accent); border-color: var(--accent); }

/* ===== Latest review card (below main action) ===== */
.recent-card{
    margin-top: 18px;
    border: 1px solid var(--line);
    background: var(--paper-tint);
    border-radius: 2px;
    padding: 14px 16px;
    position: relative;
}
.recent-head{
    display:flex; align-items:center; justify-content: space-between; gap: 10px;
    padding-bottom: 8px; margin-bottom: 8px;
    border-bottom: 1px dashed var(--line);
}
.recent-kicker{
    display:inline-flex; align-items:center; gap: 8px;
    font-size: 11px; letter-spacing: .18em; text-transform:uppercase;
    color: var(--muted); font-weight: 500;
}
.recent-kicker .dot{ width:6px; height:6px; border-radius:50%; background: var(--accent); }
.recent-tag{ font-family:'Fraunces', serif; font-style: italic; font-size: 12px; color: var(--accent); }
.recent-link{
    font-family:'Fraunces', serif; font-size: 15px; font-weight: 500;
    color: var(--ink); text-decoration:none; border-bottom: 1px solid color-mix(in srgb, var(--bmm-accent) 3%, transparent);
}
.recent-link .ext{ color: var(--accent); }
.recent-link:hover{ color: var(--accent); }
.recent-quote{
    margin: 10px 0 6px; padding: 8px 12px;
    border-left: 2px solid var(--accent);
    color: var(--ink); font-style: italic; font-size: 14px; line-height: 1.55;
}
.recent-flavour{ font-size: 13px; color: var(--muted); line-height: 1.5; margin: 4px 0 0; }

/* ===== Ad slot framing ===== */
.ad-slot{
    margin-top: 18px;
    padding: 10px;
    border: 1px dashed var(--line);
    background: var(--paper-tint);
    border-radius: 2px;
    min-height: 60px;
    overflow: hidden;
}
.ad-slot .ad-label{
    display:block;
    font-size: 10px; letter-spacing:.22em; text-transform:uppercase;
    color: var(--muted); margin-bottom: 6px;
}

/* ===== Seal/big message (already voted + after vote) ===== */
.seal{
    width: 64px; height: 64px; margin: 0 auto 14px;
    display:grid; place-items:center;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    background: var(--accent-soft);
    position: relative;
}
.seal::before, .seal::after{
    content:""; position:absolute; width: 9px; height: 9px;
    border: 1px solid var(--accent); opacity: .65;
}
.seal::before{ top:-6px; left:-6px; border-right:none; border-bottom:none; }
.seal::after{ bottom:-6px; right:-6px; border-left:none; border-top:none; }
.result-wrap{ text-align:center; }
.result-wrap .v-h1{ margin-top: 10px; }
.result-wrap p{ font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 52ch; margin: 0 auto 10px; }
.result-wrap .result-html{ font-family:'Fraunces', serif; }
.result-wrap .result-html h2{
    font-family:'Fraunces', serif; font-weight: 400;
    font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2;
    color: var(--ink); margin: 0 0 12px;
}
.result-wrap .result-html p{ font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 auto 8px; max-width: 52ch; }
.result-wrap .result-html a{ color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--bmm-accent) 3%, transparent); }
.reward-block{
    margin: 16px auto 0; max-width: 420px;
    padding: 14px 16px;
    border: 1px dashed var(--accent);
    background: var(--accent-soft);
    color: var(--ink); font-family:'Fraunces', serif;
    border-radius: 2px;
}
.gold_background_big{ /* alias for legacy reward code output */
    margin: 16px auto 0; max-width: 420px;
    padding: 14px 16px;
    border: 1px dashed var(--accent);
    background: var(--accent-soft);
    color: var(--ink); font-family:'Fraunces', serif;
    border-radius: 2px;
}

/* ===== Recommendations (exit) ===== */
.exit-head{
    text-align: left; margin: 28px 0 14px;
    display:flex; align-items:baseline; justify-content: space-between; gap: 10px;
    padding-bottom: 10px; border-bottom: 1px solid var(--line-soft);
}
.exit-head h2{
    font-family:'Fraunces', serif; font-weight: 500;
    font-size: 20px; letter-spacing: -0.01em; margin: 0; color: var(--ink);
}
.exit-head h2 em{ font-style: italic; color: var(--accent); font-weight: 400; }
.exit-head .sub{ font-size: 12px; color: var(--muted); letter-spacing:.04em; }

.exit-grid{
    display:grid; gap: 14px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px){ .exit-grid{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px){ .exit-grid{ grid-template-columns: 1fr 1fr 1fr; } }
.exit-card{
    position: relative; display:block;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 2px;
    text-decoration: none; color: var(--ink);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}
.exit-card:hover{ border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--bmm-accent) 35%, transparent); }
.exit-card .img-wrap{ background: var(--paper-tint); overflow: hidden; aspect-ratio: 16 / 9; }
.exit-card .img-wrap img{ width:100%; height:100%; display:block; object-fit: cover; }
.exit-card .body{ padding: 10px 12px 12px; display:flex; align-items:center; justify-content: space-between; gap: 8px; }
.exit-card .title{ font-family:'Fraunces', serif; font-size: 14px; font-weight: 500; }
.exit-card .tag{
    font-size: 10px; letter-spacing:.16em; text-transform:uppercase;
    color: var(--accent); border: 1px solid var(--accent-soft);
    background: var(--accent-soft); padding: 3px 6px; border-radius: 2px;
}

/* small helper for divider kicker */
.kicker-row{ display:flex; align-items:center; gap: 10px; }
.kicker-row .line{ flex:1; height:1px; background: var(--line-soft); }

/* ==========================================================
   Mobile compaction — keep content inside the wrap
   ========================================================== */
@media (max-width: 767px){
    .vote-wrap{
        padding: 16px 6px 32px !important;
    }
    .vote-grid{ gap: 16px; }
    .card{
        padding: 14px !important;
    }
    .card-head{ padding-bottom: 10px; margin-bottom: 12px; gap: 8px; }
    .card-head h2{ font-size: 17px; }
    .game-hero{ margin-bottom: 12px; gap: 6px; }
    .game-hero .gname{ font-size: 22px; }
    .v-h1{ font-size: 24px; margin: 8px 0 4px; }
    .v-sub{ font-size: 14px; margin-bottom: 12px; }

    /* Thumbs label: tighter padding on small phones */
    .thumb label{ padding: 14px 10px; }
    .thumb label .icon{ width: 28px; height: 28px; }
    .thumb label .t{ font-size: 15px; }

    /* Two-card "Tell us more" — let labels breathe but stay short */
    .review-block .thumb label[for="rm_public"],
    .review-block .thumb label[for="rm_feature"]{
        min-height: 0 !important;
        padding: 12px !important;
    }

    .review-block .lbl{ flex-wrap: wrap; }
    .review-block .lbl .count{ flex-shrink: 0; }
    .review-block textarea{ font-size: 14px; padding: 10px 11px; min-height: 100px; }

    .cap-slot{ padding: 8px; margin: 12px 0 4px; }
    .btn{ font-size: 15px !important; padding: 12px 16px !important; }

    .meta-rules{ font-size: 12px; }

    /* Side panel below card */
    .side .panel{ padding: 14px !important; }

    /* Recently-voted block: ensure quote text wraps and never overflows */
    .recent-card{ padding: 14px !important; }
    .recent-quote{ font-size: 13px; word-break: break-word; }
    .recent-flavour{ font-size: 13px; }

    /* Cloudflare turnstile widget is a 300x65 iframe — center it but allow shrink */
    .cap-slot iframe{ max-width: 100% !important; }
}
