/* ============================================================
   Presentation mode ("deck view") — pairs with deck.js.
   Implements the Transfong slide design guideline
   (02_Design handoff/2026.07.22_slide-guideline-package):
   fixed 1280×720 canvas scaled to fit, navy/white registers,
   Poppins + Mulish, red baseline rule + red full-stop dot.
   A page opts in with a <template id="deckSlides"> of .tf-slide's.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Mulish:wght@400;500;600;700;800&display=swap');

/* ---- Present button in the navbar (guideline: red pill) ---- */
.deck-present-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 999px;
    border: none;
    background: #FF0006;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}

.deck-present-btn:hover {
    background: #D90005;
    transform: translateY(-1px);
}

.deck-present-btn svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .deck-present-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Phones: the label would crowd the language toggle, so show the play mark only */
@media (max-width: 600px) {
    .deck-present-btn {
        padding: 0;
        width: 34px;
        height: 34px;
        justify-content: center;
        gap: 0;
    }

    .deck-present-btn span { display: none; }

    .deck-present-btn svg {
        width: 12px;
        height: 12px;
    }
}

/* ---- Overlay & stage ---- */
html.deck-on,
html.deck-on body {
    overflow: hidden !important;
    height: 100%;
}

/* Hide the website chrome behind the deck */
.deck-on .navbar,
.deck-on .footer,
.deck-on .immersion-disclaimer,
.deck-on main,
.deck-on section {
    display: none !important;
}

.deck-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: #010E30;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Design-guideline tokens, scoped to the deck */
    --tf-navy: #011B64;
    --tf-red: #FF0006;
    --tf-red-hover: #D90005;
    --tf-teal: #00B1B0;
    --tf-purple: #6779BD;
    --tf-blue-05: #F2F3F7;
    --tf-blue-10: #E5E8EF;
    --tf-blue-20: #CCD1E0;
    --tf-blue-30: #B2BAD0;
    --tf-blue-60: #6776A2;
    --text-muted: #6776A2;
    --text-on-inverse-muted: #B9C2DC;
    --border-subtle: #E5E8EF;
    --border-on-inverse: rgba(255, 255, 255, 0.18);
    --surface-inverse-2: #04246F;
    --shadow-sm: 0 2px 8px rgba(1, 27, 100, 0.08);
    --font-display: 'Poppins', 'Noto Sans SC', sans-serif;
    --font-body: 'Mulish', 'Noto Sans SC', sans-serif;
}

.deck-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1280px;
    height: 720px;
    transform-origin: center center;
    /* deck.js sets transform: translate(-50%,-50%) scale(s) */
}

/* ---- Slide canvas ---- */
.tf-slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 1280px;
    height: 720px;
    overflow: hidden;
    background: #fff;
    font-family: var(--font-body);
    color: var(--tf-navy);
}

.tf-slide.active { display: block; }

.tf-slide--navy {
    background: var(--tf-navy);
    color: #fff;
}

/* Signature devices */
.tf-rule {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: var(--tf-red);
}

.tf-slide .title-red-dot { color: var(--tf-red); }

.tf-eyebrow {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--tf-teal);
    margin-bottom: 16px;
}

/* Background imagery + veils (navy register) */
.tf-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(1, 19, 63, 0.28) 0%, rgba(1, 19, 63, 0.5) 55%, rgba(1, 19, 63, 0.68) 100%);
}

.tf-veil--left {
    background: linear-gradient(100deg, rgba(1, 19, 63, 0.9) 0%, rgba(1, 19, 63, 0.66) 52%, rgba(1, 19, 63, 0.32) 100%);
}

/* ---- Template A: title ---- */
.tf-title-body {
    position: relative;
    padding: 82px 90px 0;
}

.tf-title-body .tf-logo {
    height: 54px;
    display: block;
    margin-bottom: 56px;
}

.tf-title-body .tf-eyebrow { font-size: 15px; margin-bottom: 22px; }

.tf-title-body h1 {
    font-family: var(--font-display);
    font-size: 62px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0;
    max-width: 1000px;
    color: #fff;
}

/* Longer titles (e.g. the fellowship deck) step down a size to stay on two lines */
.tf-title-body--long .tf-logo { margin-bottom: 42px; }

.tf-title-body--long h1 {
    font-size: 50px;
    max-width: 1120px;
}

/* Two-line hero title, matching the webpage: white line + teal→purple accent line */
.tf-title-line { display: block; }

.tf-title-accent {
    background: linear-gradient(135deg, var(--tf-teal), var(--tf-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* The red full stop stays red even inside the gradient-clipped line */
.tf-slide .title-red-dot {
    -webkit-text-fill-color: var(--tf-red);
    font-weight: 900;
}

.tf-title-sub {
    position: relative;
    margin: 26px 0 0;
    padding: 0 90px;
    font-size: 18px;
    line-height: 1.6;
    color: #C9D1E8;
    max-width: 860px;
}

.tf-foot {
    position: absolute;
    left: 90px;
    right: 90px;
    bottom: 42px;
    font-family: var(--font-body);
    color: var(--text-on-inverse-muted);
    font-size: 15px;
    line-height: 1.5;
}

/* ---- Template C: white content ---- */
.tf-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 90px 30px;
}

.tf-content h2 {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--tf-navy);
    margin: 0 0 8px;
    line-height: 1.1;
}

.tf-slide--navy .tf-content h2 { color: #fff; }

.tf-sub {
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0 0 38px;
    max-width: 760px;
}

.tf-slide--navy .tf-sub { color: #C9D1E8; }

.tf-grid {
    display: grid;
    gap: 24px;
}

.tf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tf-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tf-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tf-grid--6 { grid-template-columns: repeat(3, 1fr); gap: 20px 24px; }

/* Compact card variant for dense grids (city network, privileges) */
.tf-card--compact { padding: 20px 22px; }
.tf-card--compact h4 { font-size: 17px; margin-bottom: 6px; }
.tf-card--compact p { font-size: 14px; }

.tf-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.tf-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tf-red);
}

.tf-card .tf-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--tf-navy);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--tf-blue-05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.tf-card h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--tf-navy);
    line-height: 1.2;
}

.tf-card .tf-cn {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 3px;
}

.tf-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

/* Cards on the navy register */
.tf-slide--navy .tf-card {
    background: var(--surface-inverse-2);
    border-color: var(--border-on-inverse);
    box-shadow: none;
}

.tf-slide--navy .tf-card h4 { color: #fff; }
.tf-slide--navy .tf-card p { color: #C9D1E8; }
.tf-slide--navy .tf-card .tf-cn { color: var(--text-on-inverse-muted); }

/* Tag chips (site-visit cards) */
.tf-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.tf-tag {
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    background: #FFE5E6;
    color: #B30004;
}

.tf-tag--teal {
    background: #D9F2F2;
    color: #06706F;
}

/* Footer note line on content slides */
.tf-note {
    margin: 26px 0 0;
    font-size: 14px;
    color: var(--text-muted);
}

.tf-slide--navy .tf-note { color: var(--text-on-inverse-muted); }

/* ---- Flip cards (portfolio) — front on rest, brief on hover ---- */
.tf-flip {
    perspective: 1200px;
    height: 378px;
    cursor: pointer;
}

.tf-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tf-flip:hover .tf-flip-inner,
.tf-flip:focus-within .tf-flip-inner,
.tf-flip.flipped .tf-flip-inner { transform: rotateY(180deg); }

.tf-flip-front,
.tf-flip-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 24px 22px;
    border-radius: 14px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.tf-flip-front {
    background: #fff;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.tf-flip-back {
    transform: rotateY(180deg);
    background: var(--tf-navy);
    color: #fff;
}

.tf-flip-front::before,
.tf-flip-back::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tf-red);
}

.tf-flip h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    color: var(--tf-navy);
    padding-right: 22px;
}

.tf-flip-back h4 { color: #fff; }

/* Hover affordance, echoing the website's flip corner */
.tf-flip-hint {
    position: absolute;
    top: 22px;
    right: 20px;
    font-size: 17px;
    line-height: 1;
    color: var(--tf-teal);
}

.tf-flip .tf-tags { margin-top: 0; }

.tf-flip-founder {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
}

.tf-flip-overline {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tf-teal);
}

.tf-flip-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    color: var(--tf-navy);
    margin: 6px 0 8px;
}

.tf-flip-founder p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.tf-flip-vision {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.tf-flip-vision-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    color: #fff;
    margin-top: 6px;
}

.tf-flip-back > p {
    font-size: 14px;
    line-height: 1.5;
    color: #C9D1E8;
    margin: 0;
}

/* ---- Partner logo wall ---- */
.tf-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 1fr;
    gap: 18px;
}

/* Flip card: logo on the front, full organisation name on the back */
.tf-logo-card {
    perspective: 1000px;
    height: 116px;
    min-width: 0;
    cursor: pointer;
}

.tf-logo-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tf-logo-card:hover .tf-logo-inner,
.tf-logo-card.flipped .tf-logo-inner { transform: rotateY(180deg); }

.tf-logo-front,
.tf-logo-back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 14px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    text-align: center;
}

.tf-logo-front {
    background: #fff;
    border: 1px solid var(--border-subtle);
    padding: 10px 12px;
}

.tf-logo-back {
    transform: rotateY(180deg);
    background: var(--surface-inverse-2);
    border: 1px solid rgba(0, 177, 176, 0.55);
}

/* Every logo occupies an identical box, whatever its aspect ratio */
.tf-logo-front img {
    max-height: 66px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

/* The SGTech wordmark is far wider than the rest — keep it at its original scale */
.tf-logo-front img[src*="sgtech"] {
    max-height: 44px;
}

.tf-logo-back span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}

/* ---- People (founding team, mentors) ---- */
.tf-person > img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
    margin-bottom: 16px;
    background: var(--tf-blue-05);
}

.tf-person .tf-role {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--tf-teal);
    margin: 0 0 10px;
}

.tf-person .tf-creds {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.tf-person .tf-creds span {
    font-size: 14px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--tf-blue-05);
    color: var(--tf-navy);
}

.tf-slide--navy .tf-person .tf-creds span {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ---- Bullet list ---- */
.tf-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tf-list li {
    position: relative;
    padding-left: 26px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-muted);
}

.tf-slide--navy .tf-list li { color: #C9D1E8; }

.tf-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tf-red);
}

/* Two-column split: copy on the left, list/cards on the right */
.tf-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Headline stats under a title slide */
.tf-hero-stats {
    display: flex;
    gap: 56px;
    margin-top: 34px;
}

.tf-hero-stats .tf-stat-value { font-size: 44px; }
.tf-hero-stats .tf-stat-label { font-size: 14px; margin-top: 8px; max-width: 190px; }

/* ---- Photo cards (image sits above the card body) ---- */
.tf-card--photo { padding: 0; display: flex; flex-direction: column; }

.tf-card--photo > img {
    width: 100%;
    height: 116px;
    object-fit: cover;
    display: block;
    background: var(--tf-blue-05);
}

.tf-card--photo .tf-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tf-card--photo h4 { font-size: 18px; }
.tf-card--photo p { font-size: 14px; }
.tf-card--photo .tf-tags { margin-top: auto; padding-top: 12px; }

/* ---- Photo mosaic (past-trip moments) ---- */
.tf-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 176px);
    gap: 16px;
}

.tf-photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.tf-photo-grid .tf-photo--wide { grid-column: span 2; }

/* ---- Journey timeline ---- */
.tf-timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 26px 22px;
}

.tf-trip .tf-track {
    position: relative;
    height: 12px;
    margin-bottom: 14px;
}

.tf-trip .tf-track .tf-line {
    position: absolute;
    top: 5px;
    left: 0;
    right: -22px;
    height: 2px;
    background: var(--tf-blue-20);
}

.tf-slide--navy .tf-trip .tf-track .tf-line { background: rgba(255, 255, 255, 0.22); }

.tf-trip .tf-track .tf-node {
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--tf-red);
}

.tf-trip .tf-trip-n {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.12em;
    color: var(--tf-teal);
}

.tf-trip .tf-trip-date {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    color: var(--tf-navy);
    margin-top: 5px;
}

.tf-slide--navy .tf-trip .tf-trip-date { color: #fff; }

.tf-trip .tf-trip-cities {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 5px;
    line-height: 1.4;
}

.tf-slide--navy .tf-trip .tf-trip-cities { color: #C9D1E8; }

/* The upcoming departure, highlighted at the end of the timeline */
.tf-trip--next { grid-column: span 2; }

.tf-trip--next .tf-track .tf-node {
    width: 18px;
    height: 18px;
    top: -3px;
    box-shadow: 0 0 0 5px rgba(255, 0, 6, 0.22);
}

.tf-trip--next .tf-track .tf-line { right: 62%; }

.tf-next-card {
    border: 1px solid var(--tf-red);
    border-radius: 14px;
    padding: 16px 20px;
    background: rgba(255, 0, 6, 0.04);
}

.tf-slide--navy .tf-next-card { background: rgba(255, 255, 255, 0.06); }

.tf-next-card .tf-trip-n { color: var(--tf-red); }

/* ---- Stats (track record, navy) ---- */
.tf-stat {
    text-align: left;
}

.tf-stat .tf-stat-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 56px;
    line-height: 1;
    color: #fff;
}

.tf-stat .tf-stat-value--red { color: var(--tf-red); }
.tf-stat .tf-stat-value--teal { color: var(--tf-teal); }

.tf-stat .tf-stat-label {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #C9D1E8;
}

/* Quote cards */
.tf-quote-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 34px;
    line-height: 1;
    color: var(--tf-red);
    margin-bottom: 12px;
}

.tf-card .tf-quote-text {
    font-size: 15px;
    line-height: 1.6;
    color: #2A3556;
    margin: 0 0 16px;
}

.tf-card .tf-quote-who {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
}

/* City collaboration block inside navy cards */
.tf-collab {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-on-inverse);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tf-collab > img {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.tf-collab .tf-collab-k {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tf-teal);
}

.tf-collab .tf-collab-t {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    margin-top: 6px;
}

.tf-collab p {
    margin: 6px 0 0 !important;
}

/* ---- Template E: statement / closing ---- */
.tf-statement {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 100px;
    max-width: 1010px;
}

.tf-statement .tf-eyebrow { font-size: 15px; margin-bottom: 24px; }

.tf-statement h2 {
    font-family: var(--font-display);
    font-size: 50px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 26px;
    color: #fff;
}

.tf-statement .tf-includes {
    font-size: 16px;
    line-height: 1.7;
    color: #C9D1E8;
    margin: 0 0 34px;
    max-width: 720px;
}

.tf-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    align-self: flex-start;
    padding: 13px 30px;
    border-radius: 999px;
    background: var(--tf-red);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: background 150ms ease, transform 150ms ease;
}

.tf-cta:hover {
    background: var(--tf-red-hover);
    transform: translateY(-1px);
    text-decoration: none;
}

/* ---- HUD (bottom control bar) ---- */
.deck-hud {
    display: none;
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 950;
    opacity: 0.28;
    transition: opacity 180ms ease;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(1, 27, 100, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 30px rgba(1, 27, 100, 0.35);
    backdrop-filter: blur(8px);
}

.deck-on .deck-hud { display: flex; }

.deck-hud:hover { opacity: 1; }

.deck-hud button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #fff;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 150ms ease;
}

.deck-hud button:hover { background: rgba(255, 255, 255, 0.14); }

.deck-hud .deck-arrow { font-size: 20px; line-height: 1; padding-bottom: 2px; }

.deck-count {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    padding: 0 8px;
    min-width: 52px;
    text-align: center;
}

.deck-sep {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 4px;
}

.deck-hud .deck-lang { font-size: 12px; }

.deck-hud .deck-exit { font-size: 15px; }

/* ---- Small screens: the deck rotates to landscape, so keep the HUD compact ---- */
@media (max-width: 900px) {
    .deck-hud {
        bottom: 12px;
        padding: 5px 8px;
        gap: 2px;
    }

    .deck-hud button {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
        font-size: 13px;
    }

    .deck-count {
        font-size: 12px;
        min-width: 44px;
        padding: 0 4px;
    }
}
