/* Base palette & typography */
:root {
    --oym-bg: #020617;
    --oym-surface: #020617;
    --oym-surface-alt: #020617;
    --oym-border-subtle: rgba(148, 163, 184, 0.35);
    --oym-text: #e5e7eb;
    --oym-text-main: #e5e7eb;
    --oym-text-muted: #9ca3af;
    --oym-accent: #2249C2;
    --oym-accent-soft: #3583FE;
    --oym-accent-bg: rgba(34, 197, 94, 0.1);
    --brand-blue-dark: #2249C2;
    --brand-blue: #3583FE;
  
    /* shadows + focus rings */
    --brand-shadow: rgba(34, 73, 194, 0.35);
    --brand-focus: rgba(53, 131, 254, 0.35);
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 22px;
}

/* =========================================
   Share page (/share/) styles
   ========================================= */

/* Scope everything to the share page wrapper to avoid clashes */
.oym-share-page .oym-share-lede {
    margin-top: 6px;
    margin-bottom: 14px;
}

.oym-share-page .oym-share-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.oym-share-page .oym-share-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 860px) {
    .oym-share-page .oym-share-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.oym-share-page .oym-share-card {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 14px;
    padding: 18px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

.oym-share-page .oym-share-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: var(--oym-text-main);
}

.oym-share-page .oym-share-card p {
    margin: 0 0 12px 0;
    line-height: 1.5;
    color: var(--oym-text-muted);
}

.oym-share-page .oym-share-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.oym-share-page .oym-share-field {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.55);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    background: rgba(2, 6, 23, 0.85);
    color: var(--oym-text-main);
    outline: none;
}

.oym-share-page .oym-share-field:focus {
    border-color: var(--oym-accent-soft);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.7);
}

.oym-share-page .oym-share-textarea {
    min-height: 110px;
    resize: vertical;
}

/* Buttons / links
   NOTE: We intentionally set explicit colors here to override the global `body a { color:#fff; }`
*/
.oym-share-page .oym-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.9);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.06s ease, box-shadow 0.12s ease, background 0.12s ease;
    color: var(--oym-text-main);
}

.oym-share-page .oym-share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.35);
    background: rgba(30, 64, 175, 0.35);
}

.oym-share-page .oym-share-btn--primary {
    border: 1px solid rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    color: #022c22;
    box-shadow: 0 8px 26px rgba(34, 197, 94, 0.35);
}

.oym-share-page .oym-share-btn--primary:hover {
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    box-shadow: 0 12px 34px rgba(34, 197, 94, 0.45);
}

.oym-share-page .oym-share-btn--ghost {
    background: rgba(15, 23, 42, 0.9);
    color: var(--oym-text-main);
}

.oym-share-page .oym-share-note {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--oym-text-muted);
}

.oym-share-page .oym-share-note code {
    color: var(--oym-text-main);
}

.oym-share-page .oym-share-pillrow {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.oym-share-page .oym-share-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.9);
    font-size: 12.5px;
    color: var(--oym-text-muted);
}

.oym-share-page .oym-share-status {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.95;
    color: var(--oym-text-main);
}

.oym-share-page .oym-share-hr {
    border: 0;
    height: 1px;
    background: rgba(148, 163, 184, 0.25);
    margin: 14px 0;
}

/* Make the URL field row feel good on wider screens */
@media (min-width: 520px) {
    .oym-share-page #oymShareUrl {
        flex: 1 1 auto;
        min-width: 260px;
    }
}
/* =========================================
   Admin page layout
   ========================================= */

/* Default link color (avoid forcing pure white everywhere) */
body a {
    color: var(--oym-text-main);
}

body a:hover {
    color: #fff;
}
/* =========================================
   Play page (/play/) styles
   ========================================= */

/* Scope everything to the play page wrapper to avoid clashes */
.oym-play-page {
    padding: 22px;
}

/* Hero pill (matches old landing page pill styling, but scoped to play page) */
.oym-play-page .oym-hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 14px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--oym-text-muted);
    text-align: center;
    width: fit-content;
    max-width: 100%;
    display: table;
}

@media (max-width: 640px) {
    .oym-play-page .oym-hero-pill {
        font-size: 10.5px;
        letter-spacing: 0.10em;
    }
}

.oym-play-page .oym-play-image {
    position: relative;
    margin: 2px 0 18px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.92);
}

.oym-play-page .oym-play-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Hero image caption overlay (used on the new home page) */
.oym-play-page .oym-play-image .oym-hero-image-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    font-size: 24px;
    line-height: 1.5;
    color: var(--oym-text-main);
    text-align: center;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.5));
    pointer-events: none;
}

@media (max-width: 640px) {
    .oym-play-page .oym-play-image .oym-hero-image-caption {
        font-size: 13px;
        padding: 9px 10px;
    }
}

.oym-play-page .oym-play-hero {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 22px;
    align-items: start;
    margin-bottom: 18px;
}

@media (max-width: 860px) {
    .oym-play-page .oym-play-hero {
        grid-template-columns: 1fr;
    }
}


.oym-play-page .oym-play-title {
    font-size: 34px;
    line-height: 1.15;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
}

/* Play page hero intro headings (the H2 + H3 you added above the subtitle) */
.oym-play-page .oym-play-hero > div > h2 {
    margin: 0 0 6px 0;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    color: var(--oym-text-main);
}

.oym-play-page .oym-play-hero > div > h3 {
    margin: 0 0 14px 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 500;
    text-align: center;
    color: var(--oym-text-muted);
}

@media (max-width: 640px) {
    .oym-play-page .oym-play-hero > div > h2 {
        font-size: 22px;
    }

    .oym-play-page .oym-play-hero > div > h3 {
        font-size: 16px;
    }
}

.oym-play-page .oym-play-subtitle {
    font-size: 18px;
    line-height: 1.45;
    margin: 0 0 16px 0;
    color: var(--oym-text-main);
}

.oym-play-page .oym-play-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.oym-play-page .oym-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    outline: none;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: rgba(15, 23, 42, 0.96);
    color: #f9fafb;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease, opacity 0.1s ease;
    min-height: 44px;
}

.oym-play-page .oym-play-btn:hover {
    background: rgba(15, 23, 42, 1);
    transform: translateY(-1px);
}

.oym-play-page .oym-play-btn:active {
    transform: translateY(0);
    opacity: 0.95;
}

.oym-play-page .oym-play-btn-primary {
    border: none;
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    color: #fff;
    box-shadow: var(--brand-shadow);
}

.oym-play-page .oym-play-btn-primary:hover {
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    box-shadow: var(--brand-shadow);
}

.oym-play-page .oym-play-btn-primary:active {
    box-shadow: var(--brand-shadow);
}

.oym-play-page .oym-play-hero-card {
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    padding: 14px;
}

.oym-play-page .oym-play-hero-card h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.oym-play-page .oym-play-hero-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--oym-text-main);
    line-height: 1.5;
    font-size: 14px;
}

.oym-play-page .oym-play-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

@media (max-width: 980px) {
    .oym-play-page .oym-play-grid {
        grid-template-columns: 1fr;
    }
}

.oym-play-page .oym-play-card {
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    padding: 16px;
}

.oym-play-page .oym-play-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.oym-play-page .oym-play-card p {
    margin: 0;
    color: var(--oym-text-main);
    line-height: 1.55;
    font-size: 14px;
}

.oym-play-page .oym-play-how {
    margin-top: 18px;
    padding-top: 16px;
}

.oym-play-page .oym-play-how h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.oym-play-page .oym-play-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 10px;
}

@media (max-width: 980px) {
    .oym-play-page .oym-play-steps {
        grid-template-columns: 1fr;
    }
}

.oym-play-page .oym-play-step {
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    padding: 14px;

    /* Compact header row: put the step number and title on one line */
    display: grid;
    grid-template-columns: 30px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 6px;
    align-items: start;
}

.oym-play-page .oym-play-step .oym-play-step-num {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    font-weight: 800;
    margin-bottom: 0;

    /* grid placement */
    grid-column: 1;
    grid-row: 1;
}

.oym-play-page .oym-play-step h3 {
    margin: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

.oym-play-page .oym-play-step p {
    margin: 0;
    grid-column: 2;
    grid-row: 2;
}

.oym-play-page .oym-play-faq {
    margin-top: 14px;
    padding-top: 10px;
}

.oym-play-page .oym-play-sample-missions {
    margin-top: 18px;
    padding-top: 10px;
}

.oym-play-page .oym-play-sample-missions h2 {
    margin: 0 0 12px 0;
    font-size: 20px;
}

.oym-play-page .oym-play-sample-missions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 760px) {
    .oym-play-page .oym-play-sample-missions-grid {
        grid-template-columns: 1fr;
    }
}

.oym-play-page .oym-play-sample-mission-card {
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    background: #141B47;
    padding: 14px 16px;
}

.oym-play-page .oym-play-sample-mission-card p {
    margin: 0;
    color: var(--oym-text-main);
    line-height: 1.55;
    font-size: 18px;
}

.oym-play-page .oym-play-faq h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.oym-play-page .oym-play-faq .oym-play-faq-item {
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    padding: 12px 14px;
    margin-bottom: 10px;
}

.oym-play-page .oym-play-faq .oym-play-faq-item h3 {
    margin: 0 0 8px 0;
    font-size: 15px;
}

.oym-play-page .oym-play-faq .oym-play-faq-item p {
    margin: 0;
    color: var(--oym-text-main);
    line-height: 1.55;
    font-size: 14px;
}

body.oym-admin-page {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* Let the pseudo-element handle the gradient background */
    background: transparent;
    color: var(--oym-text-main);
    min-height: 100vh;
    padding: 32px 20px;
    position: relative;
    overflow-x: hidden;
}

body.oym-admin-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

body.oym-admin-page .oym-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: auto;
}

/* Centered, narrower layout for the login screen */
body.oym-admin-page.oym-admin-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}


body.oym-admin-page.oym-admin-login-page .oym-shell {
    max-width: 420px;
    width: 100%;
    min-height: auto;
}

/* Admin login form styling (bigger, more WordPress-like fields & button) */
body.oym-admin-page.oym-admin-login-page .oym-card {
    padding: 26px 24px 22px;
}

body.oym-admin-page.oym-admin-login-page .oym-section-title {
    font-size: 20px;
    margin-bottom: 6px;
}

body.oym-admin-page.oym-admin-login-page .oym-section-subtitle {
    font-size: 13px;
    margin-bottom: 16px;
}

body.oym-admin-page.oym-admin-login-page .oym-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

body.oym-admin-page.oym-admin-login-page .oym-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body.oym-admin-page.oym-admin-login-page .oym-label {
    font-size: 14px;
    font-weight: 500;
}

body.oym-admin-page.oym-admin-login-page .oym-input {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--oym-border-subtle);
    background: #020617;
    color: var(--oym-text-main);
    padding: 11px 13px;
    font-size: 15px;
    outline: none;
}

body.oym-admin-page.oym-admin-login-page .oym-input:focus {
    border-color: var(--oym-accent-soft);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.7);
}

body.oym-admin-page.oym-admin-login-page .oym-submit-row {
    margin-top: 4px;
}

body.oym-admin-page.oym-admin-login-page .oym-btn-primary {
    width: 100%;
    border-radius: 999px;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 26px rgba(34, 197, 94, 0.45);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

body.oym-admin-page.oym-admin-login-page .oym-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.6);
}

body.oym-admin-page.oym-admin-login-page .oym-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

body.oym-admin-page .oym-card {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 18px;
    padding: 24px 24px 22px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(12px);
}

/* Center the logo on admin pages (match Host/Player header vibe) */
body.oym-admin-page .oym-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 16px;
    border-bottom: none;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
}

body.oym-admin-page .oym-header .oym-logo {
    width: 100%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

body.oym-admin-page .oym-header .oym-back-link {
    margin-top: 2px;
}

body.oym-admin-page .oym-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body.oym-admin-page .oym-logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid var(--oym-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--oym-accent-soft);
}

body.oym-admin-page .oym-logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

body.oym-admin-page .oym-back-link {
    font-size: 13px;
    color: var(--oym-text-muted);
    text-decoration: none;
}

body.oym-admin-page .oym-back-link:hover {
    text-decoration: underline;
}

body.oym-admin-page .oym-section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

body.oym-admin-page .oym-section-subtitle {
    font-size: 14px;
    color: var(--oym-text-muted);
    margin-bottom: 14px;
}

/* Admin table layout */
body.oym-admin-page .oym-admin-table {
    margin-top: 10px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(15, 23, 42, 0.96);
}

body.oym-admin-page .oym-admin-header-row,
body.oym-admin-page .oym-admin-row {
    display: grid;
    grid-template-columns:
        minmax(160px, 1.2fr)  /* Game */
        minmax(110px, 0.8fr)  /* Code */
        minmax(140px, 0.9fr)  /* Created */
        minmax(150px, 0.9fr)  /* Players */
        minmax(90px, 0.7fr)   /* Status */
        minmax(80px, 0.7fr)   /* Max round */
        minmax(230px, 1.3fr); /* Actions */
    column-gap: 12px;
    align-items: center;
}

body.oym-admin-page .oym-admin-header-row {
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--oym-text-muted);
}

body.oym-admin-page .oym-admin-header-cell-actions {
    text-align: right;
}

body.oym-admin-page .oym-admin-row {
    padding: 8px 12px;
    font-size: 13px;
    border-top: 1px solid rgba(15, 23, 42, 0.9);
}

body.oym-admin-page .oym-admin-row:nth-child(odd) {
    background: rgba(15, 23, 42, 0.96);
}

body.oym-admin-page .oym-admin-row:nth-child(even) {
    background: rgba(15, 23, 42, 0.9);
}

body.oym-admin-page .oym-admin-row:hover {
    background: rgba(30, 64, 175, 0.35);
}

body.oym-admin-page .oym-admin-cell {
    min-width: 0;
}

body.oym-admin-page .oym-admin-game-id {
    font-weight: 600;
    margin-bottom: 2px;
}

body.oym-admin-page .oym-admin-code {
    font-size: 12px;
    color: var(--oym-text-muted);
}

body.oym-admin-page .oym-admin-players {
    font-size: 12px;
}

body.oym-admin-page .oym-admin-round {
    font-size: 12px;
    color: var(--oym-text-muted);
}

body.oym-admin-page .oym-admin-cell-url a {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    color: var(--oym-text-main);
    text-decoration: none;
    word-break: break-all;
}

body.oym-admin-page .oym-admin-cell-url a:hover {
    text-decoration: underline;
}

body.oym-admin-page .oym-admin-cell-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    text-align: right;
}

/* Admin action buttons */
body.oym-admin-page .oym-player-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(135deg, #f97373, #ef4444);
    color: #111827;
    box-shadow: 0 3px 12px rgba(248, 113, 113, 0.35);
    line-height: 1;
}

body.oym-admin-page .oym-player-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(248, 113, 113, 0.45);
}

body.oym-admin-page .oym-player-link-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(248, 113, 113, 0.35);
}

body.oym-admin-page .oym-admin-host-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    color: #fff;
    box-shadow: var(--brand-shadow);
    border: none;
    cursor: pointer;
    line-height: 1;
}

body.oym-admin-page .oym-admin-host-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(34, 197, 94, 0.45);
}

body.oym-admin-page .oym-admin-host-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.35);
}

body.oym-admin-page .oym-admin-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #ccc;
    box-shadow: var(--brand-shadow);
    line-height: 1;
}

body.oym-admin-page .oym-admin-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(37, 99, 235, 0.45);
}

body.oym-admin-page .oym-admin-copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

body.oym-admin-page .oym-admin-status {
    font-weight: 500;
}

body.oym-admin-page .oym-admin-status-live {
    color: var(--oym-accent-soft);
}

body.oym-admin-page .oym-admin-status-setup {
    color: #fb923c; /* orange for Setup */
}

body.oym-admin-page .oym-admin-status-closed {
    color: #f97373;
}

body.oym-admin-page .oym-admin-host-link {
    font-size: 11px;
    color: var(--oym-text-muted);
    text-decoration: none;
    margin-right: 8px;
}

body.oym-admin-page .oym-admin-host-link:hover {
    color: var(--oym-text-main);
    text-decoration: underline;
}

@media (max-width: 768px) {
    body.oym-admin-page {
        padding: 20px 12px;
    }

    body.oym-admin-page .oym-card {
        padding: 18px 16px 18px;
    }

    /* Stack rows on small screens */
    body.oym-admin-page .oym-admin-header-row {
        display: none;
    }

    body.oym-admin-page .oym-admin-row {
        grid-template-columns: 1fr;
        row-gap: 4px;
        align-items: flex-start;
    }

    body.oym-admin-page .oym-admin-cell-actions {
        text-align: left;
        margin-top: 4px;
    }
}

/* -----------------------------------------
   Admin: generic form controls (non-login)
   ----------------------------------------- */

body.oym-admin-page .oym-label {
    font-size: 13px;
    font-weight: 500;
}

body.oym-admin-page .oym-input,
body.oym-admin-page select.oym-input,
body.oym-admin-page textarea.oym-input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--oym-border-subtle);
    background: #020617;
    color: var(--oym-text-main);
    padding: 9px 11px;
    font-size: 14px;
    outline: none;
}

body.oym-admin-page .oym-btn-primary {
    border-radius: 999px;
    border: none;
    outline: none;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
    transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.1s ease;
}

body.oym-admin-page .oym-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.55);
}

body.oym-admin-page .oym-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.45);
}

body.oym-admin-page .oym-input:focus,
body.oym-admin-page select.oym-input:focus,
body.oym-admin-page textarea.oym-input:focus {
    border-color: var(--oym-accent-soft);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.7);
}

/* Admin: mission list table overrides */

body.oym-admin-page .oym-admin-table.oym-missions-table .oym-admin-header-cell,
body.oym-admin-page .oym-admin-table.oym-missions-table .oym-admin-cell {
    min-width: 0;
}

body.oym-admin-page .oym-admin-table.oym-missions-table .oym-admin-header-row,
body.oym-admin-page .oym-admin-table.oym-missions-table .oym-admin-row {
    display: grid;
    grid-template-columns:
        minmax(50px, 0.45fr)   /* ID */
        minmax(110px, 0.9fr)   /* Theme */
        minmax(90px, 0.8fr)    /* Type */
        minmax(90px, 0.7fr)    /* Difficulty */
        minmax(90px, 0.8fr)    /* Active */
        minmax(260px, 3.2fr)   /* Snippet */
        minmax(90px, 0.8fr);   /* Action */
    column-gap: 0.75rem;
    align-items: center;
}

/* Admin: mission editor layout */

body.oym-admin-page .oym-mission-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 4px;
    margin-bottom: 10px;
}

body.oym-admin-page .oym-mission-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.55);
    color: #e5e7eb;
}

body.oym-admin-page .oym-mission-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr);
    gap: 0.75rem 1.25rem;
    margin-top: 6px;
}

body.oym-admin-page .oym-mission-form-grid .oym-field-full {
    grid-column: 1 / -1;
}

@media (max-width: 720px) {
    body.oym-admin-page .oym-mission-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /assets/css/app.css */



*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

html {
    background-color: #020617;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    color: var(--oym-text);
    position: relative;
    min-height: 100vh;
    background: transparent;
}

.right-align-image {
    float: right;
    padding-left: 15px; /* Adds space to the left of the image, between it and the text */
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 0; /* No space needed on the right edge of the container */
}


/* Global gradient background layer for generic pages (Rules, About, Contact, etc.) */
body:not(.oym-player-page):not(.oym-host-page):not(.oym-admin-page):not(.oym-landing)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at top, #0f172a 0, #020617 52%, #000000 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* Shell layout */
.oym-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.oym-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.88));
}

.oym-header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* -----------------------------------------
   Host page: center the logo in the card header
   ----------------------------------------- */
body.oym-host-page .oym-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

body.oym-host-page .oym-header .oym-logo {
    width: 100%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

body.oym-host-page .oym-host-header-meta {
    justify-content: center;
}

.oym-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 14px;
    color: var(--oym-text);
    text-decoration: none;
}

.oym-logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid var(--oym-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--oym-accent-soft);
}

.oym-logo-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.oym-logo:hover {
    color: #ffffff;
}

.oym-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.oym-nav-link {
    font-size: 13px;
    text-decoration: none;
    color: var(--oym-text-muted);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.oym-nav-link:hover {
    color: var(--oym-text);
    border-color: rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.8);
}

/* Main content */
.oym-main {
    flex: 1;
    padding: 18px 14px 24px;
    display: block; /* ensure this is not a flex or grid container */
}

.oym-main > * {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

/* Ensure rules content is strictly single-column */
.oym-main h1,
.oym-main h2,
.oym-main h3,
.oym-main p,
.oym-main ul,
.oym-main ol {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
}

/* Rules page content tweaks */
.oym-main h1 {
    font-size: 28px;
    margin-top: 4px;
    margin-bottom: 12px;
}

.oym-main h2 {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 8px;
}

.oym-main h3 {
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 4px;
}

.oym-main p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--oym-text-muted);
    margin: 8px 0;
}

.oym-main ul,
.oym-main ol {
    padding-left: 20px;
    margin: 6px 0 10px;
}

.oym-main li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--oym-text-muted);
    margin-bottom: 3px;
}

.oym-main strong {
    color: var(--oym-text);
}

.oym-main .oym-rules-card {
    margin-top: 12px;
    margin-bottom: 24px;
    background: rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    padding: 20px 18px 18px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(148, 163, 184, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Rules page: Quick Start callout card */
.oym-main .oym-quickstart-card {
    margin: 10px 0 16px;
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: #182444;
    border: 1px solid rgba(148, 163, 184, 0.42);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(148, 163, 184, 0.10);
}

.oym-main .oym-quickstart-card h2 {
    margin-top: 0;
}

.oym-main .oym-quickstart-card ol {
    margin-bottom: 0;
}

.oym-main .oym-about-hero {
    margin: 10px 0 18px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(148, 163, 184, 0.35);
}

.oym-main .oym-about-hero img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.oym-main .oym-rules-card h1 {
    margin-top: 0;
}

.oym-main .oym-rules-card h2:first-of-type {
    margin-top: 6px;
}

/* Footer */
.oym-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background: radial-gradient(circle at bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.94));
}

body.oym-player-page .oym-footer {
    border-top: none;
    background: transparent;
    text-align: center;
    margin-top: 12px;
    padding: 8px 16px 16px;
    font-size: 11px;
    color: var(--oym-text-muted);
}

.oym-footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 8px 16px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    color: var(--oym-text-muted);
}

.oym-footer-link {
    color: var(--oym-text-muted);
    text-decoration: none;
}

.oym-footer-link:hover {
    color: var(--oym-text);
    text-decoration: underline;
}

.oym-footer-spacer {
    opacity: 0.7;
}

/* Small screens */
@media (max-width: 640px) {
    .oym-header-inner {
        padding-inline: 12px;
    }
    .oym-main {
        padding-inline: 12px;
    }
    .oym-main h1 {
        font-size: 22px;
    }
}

.dotted-hr {
    border: none; /* Remove default border */
    border-top: 1px dashed rgba(148, 163, 184, 0.5);
    color: #333; /* Set the color for older browsers that may render a solid line */
    height: 1px; /* Set a minimal height for the line */
  }
/* =========================================
   Landing page (home) layout
   ========================================= */

body.oym-landing {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
    color: var(--oym-text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 16px 24px;
}

body.oym-landing .oym-shell {
    width: 100%;
    max-width: 480px;
    min-height: auto; /* override global .oym-shell min-height: 100vh so we don't stack 100vh + body padding */
}

body.oym-landing .oym-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 18px;
    padding: 24px 20px 20px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(12px);
    text-align: center;
}

body.oym-landing .oym-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    margin-left: auto;
    margin-right: auto;
}

/* Match casing with other pages: do not force uppercase on landing logo */
body.oym-landing .oym-logo {
    text-transform: none;
}

body.oym-landing .oym-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 2px solid var(--oym-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--oym-accent-soft);
}

body.oym-landing .oym-logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

body.oym-landing .oym-hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 4px auto 14px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--oym-text-muted);
}

body.oym-landing .oym-tagline {
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

body.oym-landing .oym-tagline-line-main {
    font-size: 22px;
    font-weight: 600;
    color: var(--oym-text-main);
    margin-bottom: 4px;
}

body.oym-landing .oym-tagline-line-sub {
    font-size: 14px;
    color: var(--oym-text-muted);
}

body.oym-landing .oym-hero-image {
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

body.oym-landing .oym-hero-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(148, 163, 184, 0.35);
    object-fit: cover;
}

body.oym-landing .oym-hero-image-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--oym-text-main);
    background: linear-gradient(to top, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.35));
}

body.oym-landing .oym-section-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    color: var(--oym-text-muted);
    margin-bottom: 8px;
}

body.oym-landing .oym-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

body.oym-landing .oym-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 999px;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease, opacity 0.1s ease;
}

body.oym-landing .oym-btn-primary {
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    color: #fff;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.45);
}

body.oym-landing .oym-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 36px rgba(34, 197, 94, 0.55);
}

body.oym-landing .oym-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 5px 18px rgba(34, 197, 94, 0.45);
}

body.oym-landing .oym-btn-secondary {
    background: rgba(15, 23, 42, 0.96);
    color: #f9fafb;
    border: 1px solid rgba(148, 163, 184, 0.9);
}

body.oym-landing .oym-btn-secondary:hover {
    background: rgba(15, 23, 42, 1);
}

body.oym-landing .oym-btn-secondary:active {
    opacity: 0.9;
}

body.oym-landing .oym-note {
    font-size: 12px;
    color: var(--oym-text-muted);
    line-height: 1.5;
    text-align: left;
}

body.oym-landing .oym-count {
    margin-top: 10px;
    font-size: 11px;
    color: var(--oym-text-muted);
    text-align: center;
}

body.oym-landing .oym-beta-note {
    margin-top: 10px;
    font-size: 11px;
    color: var(--oym-text-muted);
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.oym-landing .oym-note strong {
    color: var(--oym-accent-soft);
    font-weight: 600;
}

body.oym-landing .oym-footer {
    border-top: none;
    background: transparent;
    text-align: center;
    margin-top: 12px;
    font-size: 11px;
    color: #6b7280;
    padding-top: 4px;
}

body.oym-landing .oym-footer a {
    color: inherit;
    text-decoration: none;
}

body.oym-landing .oym-footer a:hover {
    text-decoration: underline;
}

@media (min-width: 640px) {
    body.oym-landing {
        padding: 56px 16px 32px;
    }

    body.oym-landing .oym-card {
        padding: 26px 26px 22px;
    }

    body.oym-landing .oym-logo-text {
        font-size: 24px;
    }

    body.oym-landing .oym-tagline {
        font-size: 15px;
    }
}

/* =========================================
   Player page layout
   ========================================= */

body.oym-player-page {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* Let the pseudo-element handle the gradient background */
    background: transparent;
    color: var(--oym-text-main);
    min-height: 100vh;
    padding: 24px 16px;
    position: relative;
    overflow-x: hidden;
}

/* Fixed full-viewport gradient background for player page */
body.oym-player-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

body.oym-player-page .oym-shell {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    min-height: auto; /* override global .oym-shell min-height: 100vh so we don't stack 100vh + body padding */
}

body.oym-player-page .oym-card {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 18px;
    padding: 22px 20px 20px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(12px);
}

/* override header layout on player page (center the logo in the card header) */
body.oym-player-page .oym-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 16px;
    border-bottom: none;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
}

body.oym-player-page .oym-header .oym-logo {
    width: 100%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

body.oym-player-page .oym-game-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    font-size: 12px;
    color: var(--oym-text-muted);
    margin-bottom: 10px;
}

body.oym-player-page .oym-meta-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 3px 9px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.oym-player-page .oym-meta-pill-strong {
    border-color: var(--oym-accent-soft);
    color: var(--oym-accent-soft);
}

body.oym-player-page .oym-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body.oym-player-page .oym-logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid var(--oym-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--oym-accent-soft);
}

body.oym-player-page .oym-logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

body.oym-player-page .oym-back-link {
    font-size: 13px;
    color: var(--oym-text-muted);
    text-decoration: none;
}

body.oym-player-page .oym-back-link:hover {
    text-decoration: underline;
}

body.oym-player-page .oym-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

body.oym-player-page .oym-section-subtitle {
    font-size: 13px;
    color: var(--oym-text-muted);
    margin-bottom: 16px;
}

body.oym-player-page .oym-error {
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.7);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    color: #fecaca;
    margin-bottom: 12px;
}

body.oym-player-page .oym-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

body.oym-player-page .oym-label {
    font-size: 15px;
    font-weight: 500;
}

body.oym-player-page .oym-label span {
    font-size: 11px;
    color: var(--oym-text-muted);
    font-weight: 400;
}

body.oym-player-page .oym-input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--oym-border-subtle);
    background: #213055;
    color: var(--oym-text-main);
    padding: 10px 13px;
    font-size: 14px;
    outline: none;
}

body.oym-player-page .oym-input:focus {
    border-color: var(--oym-accent-soft);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.7);
}

body.oym-player-page .oym-help-text {
    font-size: 11px;
    color: var(--oym-text-muted);
}

body.oym-player-page .oym-btn-primary {
    width: 100%;
    border-radius: 999px;
    border: none;
    outline: none;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.45);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    margin-top: 6px;
}

body.oym-player-page .oym-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 36px rgba(34, 197, 94, 0.6);
}

body.oym-player-page .oym-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

body.oym-player-page .oym-pill {
    display: block;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
    max-width: 100%;
    word-break: break-all;
    overflow-wrap: anywhere;
}

body.oym-player-page .oym-status {
    font-size: 12px;
    color: var(--oym-text-muted);
    margin-top: 8px;
}

body.oym-player-page .oym-section-block {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(148, 163, 184, 0.5);
}

body.oym-player-page .oym-ad-card {
    margin-top: 18px;
    padding: 14px 14px 14px;
    border-top: none;
    border-radius: 14px;
    background: radial-gradient(circle at top left, rgba(34, 126, 197, 0.12), rgba(15, 23, 42, 0.98));
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(34, 197, 94, 0.25);
    border: 1px solid #273c60;
    text-align: center;
}

body.oym-player-page .oym-ad-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--oym-text-muted);
    margin-bottom: 4px;
}

body.oym-player-page .oym-ad-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

body.oym-player-page .oym-ad-body {
    font-size: 12px;
    color: var(--oym-text-muted);
    margin-bottom: 10px;
    text-align: left;
}

body.oym-player-page .oym-ad-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    color: #fff;
    box-shadow: var(--brand-shadow);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

body.oym-player-page .oym-ad-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 34px rgba(34, 75, 197, 0.65);
}

body.oym-player-page .oym-ad-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}

body.oym-player-page .oym-mission-block {
    margin-top: 18px;
    padding: 14px 14px 14px;
    border-top: none;
    border-radius: 16px;
    background: radial-gradient(circle at top left, #2249C2, rgba(15, 23, 42, 0.98));
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(148, 163, 184, 0.35);
}

body.oym-player-page .oym-mission-meta {
    font-size: 12px;
    color: var(--oym-text-muted);
    margin-bottom: 8px;
}

body.oym-player-page .oym-mission-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 14px;
}

body.oym-player-page .oym-mission-table {
    margin-top: 4px;
    margin-bottom: 14px;
    display: grid;
    row-gap: 6px;
}

body.oym-player-page .oym-mission-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

body.oym-player-page .oym-mission-label {
    min-width: 80px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--oym-text-muted);
    padding-top: 2px;
}

body.oym-player-page .oym-mission-value {
    font-size: 15px;
    line-height: 1.6;
    color: var(--oym-text-main);
}

body.oym-player-page .oym-mission-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.oym-player-page .oym-mission-actions form {
    margin: 0;
    flex: 1;
}

body.oym-player-page .oym-mission-actions .oym-btn-primary,
body.oym-player-page .oym-mission-actions .oym-btn-secondary {
    width: 100%;
    margin-top: 0;
}

body.oym-player-page .oym-btn-secondary {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: rgba(15, 23, 42, 0.9);
    color: var(--oym-text-main);
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

body.oym-player-page .oym-btn-secondary:hover {
    background: rgba(30, 64, 175, 0.9);
}

body.oym-player-page .oym-history-section {
    margin-top: 16px;
}

body.oym-player-page .oym-history-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

body.oym-player-page .oym-history-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 2px;
}

body.oym-player-page .oym-history-item {
    padding: 6px 9px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(30, 64, 175, 0.5);
}

body.oym-player-page .oym-history-main {
    font-size: 12px;
    margin-bottom: 3px;
}

body.oym-player-page .oym-history-meta {
    font-size: 11px;
    color: var(--oym-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

body.oym-player-page .oym-history-separator {
    opacity: 0.6;
}

body.oym-player-page .oym-history-status {
    font-weight: 500;
}

body.oym-player-page .oym-history-status-completed {
    color: var(--oym-accent-soft);
}

body.oym-player-page .oym-history-status-skipped {
    color: #facc15;
}

body.oym-player-page .oym-history-status-failed {
    color: #f97373;
}

body.oym-player-page .oym-history-empty {
    margin-top: 12px;
    font-size: 11px;
    color: var(--oym-text-muted);
}

body.oym-player-page .oym-scoreboard-item {
    border-color: #2354a3;
}

body.oym-player-page .oym-scoreboard-item-winner {
    border-color: rgba(250, 204, 21, 0.75);
    background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), rgba(15, 23, 42, 0.98));
}

body.oym-player-page .oym-scoreboard-score-label {
    font-size: 11px;
    color: var(--oym-text-muted);
    margin-left: 4px;
}

body.oym-player-page .oym-scoreboard-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

body.oym-player-page .oym-scoreboard-left,
body.oym-player-page .oym-scoreboard-right {
    font-size: 12px;
}

body.oym-player-page .oym-scoreboard-round {
    color: var(--oym-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 11px;
}

body.oym-player-page .oym-scoreboard-score {
    font-weight: 600;
}

body.oym-player-page .oym-scoreboard-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.oym-player-page .oym-scoreboard-round-cell,
body.oym-player-page .oym-scoreboard-score-cell {
    min-width: 80px;
    text-align: right;
}

body.oym-player-page .oym-scoreboard-round-cell {
    opacity: 0.9;
}

@media (min-width: 640px) {
    body.oym-player-page {
        padding: 40px 16px;
    }

    body.oym-player-page .oym-card {
        padding: 24px 24px 20px;
    }

    body.oym-player-page .oym-section-title {
        font-size: 19px;
    }

    body.oym-player-page .oym-mission-actions {
        flex-direction: row;
    }
}


/* =========================================
   Host page layout
   ========================================= */

body.oym-host-page {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: var(--oym-text-main);
    min-height: 100vh;
    padding: 24px 16px;
}

body.oym-host-page .oym-shell {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    min-height: auto; /* don't double up with global .oym-shell */
}

/* Inline player code pill for duplicate-name cases on host view */
body.oym-host-page .oym-player-code-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.9);
    font-size: 11px;
    color: var(--oym-text-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Host: pill-styled player "Copy link" button */
body.oym-host-page .oym-player-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    color: #fff;
    box-shadow: 0 3px 12px rgba(34, 197, 94, 0.45);
    line-height: 1;
}

body.oym-host-page .oym-player-link-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(34, 197, 94, 0.45);
}

body.oym-host-page .oym-player-link-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.45);
}

body.oym-host-page .oym-card {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 18px;
    padding: 22px 20px 20px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(12px);
}



/* Header/logo */

body.oym-host-page .oym-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: none;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
}

body.oym-host-page .oym-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body.oym-host-page .oym-logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid var(--oym-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: var(--oym-accent-soft);
}

body.oym-host-page .oym-logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

body.oym-host-page .oym-back-link {
    font-size: 13px;
    color: var(--oym-text-muted);
    text-decoration: none;
}

body.oym-host-page .oym-back-link:hover {
    text-decoration: underline;
}

/* Titles / basic text */

body.oym-host-page .oym-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

body.oym-host-page .oym-section-subtitle {
    font-size: 14px;
    color: var(--oym-text-muted);
    margin-bottom: 16px;
}

body.oym-host-page .oym-error {
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.7);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    color: #fecaca;
    margin-bottom: 12px;
}

/* Form / fields */

body.oym-host-page form.oym-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.oym-host-page .oym-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

body.oym-host-page .oym-label {
    font-size: 13px;
    font-weight: 500;
}

body.oym-host-page .oym-label span {
    font-size: 13px;
    color: var(--oym-text-muted);
    font-weight: 400;
}

body.oym-host-page .oym-input,
body.oym-host-page .oym-select {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--oym-border-subtle);
    background: #213055;
    color: var(--oym-text-main);
    padding: 10px 13px;
    font-size: 14px;
    outline: none;
}

body.oym-host-page .oym-input:focus,
body.oym-host-page .oym-select:focus {
    border-color: var(--oym-accent-soft);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.7);
}

/* Toggles */

body.oym-host-page .oym-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 12px;
    border: 1px solid var(--oym-border-subtle);
    background: rgba(15, 23, 42, 0.7);
}

body.oym-host-page .oym-toggle-row-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.oym-host-page .oym-toggle-title {
    font-size: 14px;
    font-weight: 500;
}

body.oym-host-page .oym-toggle-note {
    font-size: 12px;
    color: var(--oym-text-muted);
}

body.oym-host-page .oym-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
}

body.oym-host-page .oym-switch input {
    display: none;
}

body.oym-host-page .oym-switch-track {
    width: 38px;
    height: 20px;
    border-radius: 999px;
    background: #020617;
    border: 1px solid var(--oym-border-subtle);
    position: relative;
    transition: background 0.15s ease, border-color 0.15s ease;
}

body.oym-host-page .oym-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #e5e7eb;
    transition: transform 0.15s ease;
}

body.oym-host-page .oym-switch input:checked + .oym-switch-track {
    background: var(--oym-accent);
    border-color: var(--oym-accent-soft);
}

body.oym-host-page .oym-switch input:checked + .oym-switch-track .oym-switch-thumb {
    transform: translateX(16px);
}

body.oym-host-page .oym-help-text {
    font-size: 13px;
    color: var(--oym-text-muted);
}

/* Buttons */

body.oym-host-page .oym-submit-row {
    margin-top: 8px;
}

body.oym-host-page .oym-btn-primary {
    width: 100%;
    border-radius: 999px;
    border: none;
    outline: none;
    padding: 11px 16px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.45);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

body.oym-host-page .oym-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 36px rgba(34, 197, 94, 0.6);
}

body.oym-host-page .oym-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}

/* Lobby / players */

body.oym-host-page .oym-lobby-block {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(148, 163, 184, 0.5);
}

body.oym-host-page .oym-lobby-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

body.oym-host-page .oym-lobby-line {
    font-size: 13px;
    margin-bottom: 4px;
}

body.oym-host-page .oym-lobby-players-grid {
    margin-top: 6px;
}

body.oym-host-page .oym-lobby-players-row {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-bottom: 4px;
}

body.oym-host-page .oym-lobby-players-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
}

body.oym-host-page .oym-lobby-players-actions form {
    margin: 0;
}

body.oym-host-page .oym-player-remove-btn {
    border-radius: 999px;
    border: none;
    outline: none;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 500;
    background: linear-gradient(135deg, #f97373, #ef4444);
    color: #111827;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(248, 113, 113, 0.35);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    white-space: nowrap;
}

body.oym-host-page .oym-player-remove-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(248, 113, 113, 0.45);
}

body.oym-host-page .oym-player-remove-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(248, 113, 113, 0.35);
}

body.oym-host-page .oym-lobby-players-cell-name {
    flex: 1 1 auto;
    min-width: 0;
}

body.oym-host-page .oym-lobby-players-cell-score,
body.oym-host-page .oym-lobby-players-cell-round {
    flex: 0 0 80px;
    text-align: right;
    font-size: 12px;
    color: var(--oym-text-muted);
    margin-left: 8px;
    white-space: nowrap;
}

body.oym-host-page .oym-lobby-players-row .oym-player-link-btn {
    margin-left: 10px;
}

/* Highlight winning players on the host screen when a game has ended */
.oym-winner-pill {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, #facc15, #f97316);
    color: #000;
    font-weight: 600;
}

.oym-code-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 13px;
}

/* Host: join link row – styled single line with Copy button */
body.oym-host-page .oym-join-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 8px;
}

body.oym-host-page .oym-join-url-input {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 999px;
    border: 1px solid var(--oym-border-subtle);
    background: rgba(15, 23, 42, 0.9);
    color: var(--oym-text-main);
    padding: 7px 11px;
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    outline: none;
}

body.oym-host-page .oym-join-url-input:focus {
    border-color: var(--oym-accent-soft);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.7);
}

body.oym-host-page .oym-join-copy-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 999px;
    border: none;
    outline: none;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    background: linear-gradient(135deg, var(--oym-accent), var(--oym-accent-soft));
    color: #022c22;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

body.oym-host-page .oym-join-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(34, 197, 94, 0.45);
}

body.oym-host-page .oym-join-copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 14px rgba(34, 197, 94, 0.35);
}

body.oym-host-page .oym-join-help {
    font-size: 11px;
    color: var(--oym-text-muted);
}

/* Host responsive tweaks */

@media (min-width: 640px) {
    body.oym-host-page {
        padding: 40px 16px;
    }

    body.oym-host-page .oym-card {
        padding: 24px 24px 20px;
    }

    body.oym-host-page .oym-section-title {
        font-size: 19px;
    }
}

/* Host: game status grid – aligned like an invisible table */
body.oym-host-page .oym-status-grid {
    margin-top: 6px;
    display: grid;
    row-gap: 4px;
}

body.oym-host-page .oym-status-row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 8px;
}

body.oym-host-page .oym-status-label {
    font-size: 12px;
    color: var(--oym-text-muted);
    min-width: 110px;
}

body.oym-host-page .oym-status-value .oym-code-pill {
    margin-left: 0;
}

.trademark-symbol {
    font-size: 70%; /* Adjust size as needed */
    vertical-align: super;
  }

  /* Host: top-right game meta (code + status) */
  body.oym-host-page .oym-host-header-meta {
      margin-left: auto;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
      justify-content: flex-end;
      font-size: 12px;
  }

  /* Host: players title + round pill on one line */
body.oym-host-page .oym-lobby-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

/* Avoid extra gap under the title now that it's in a row */
body.oym-host-page .oym-lobby-title {
    margin-bottom: 0;
}

body.oym-host-page .oym-lobby-round .oym-code-pill {
    margin: 0;
}
  
  /* Slight color cues based on status */
  body.oym-host-page .oym-status-pill-setup {
      border-color: #fb923c;
      color: #fed7aa;
  }
  
  body.oym-host-page .oym-status-pill-running {
      border-color: var(--oym-accent-soft);
      color: var(--oym-accent-soft);
  }
  
  body.oym-host-page .oym-status-pill-ended {
      border-color: #f97373;
      color: #fecaca;
  }


/* About page phone image layout */
.oym-about-phone {
    float: right;
    max-width: 400px;
    margin: 0 0 16px 24px;
}

.oym-about-phone img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .oym-about-phone {
        float: none;
        max-width: 400px;
        margin: 0 auto 16px;
        text-align: center;
    }
}

/* About page: Theme pack grid */
.oym-theme-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 12px;
}

@media (min-width: 860px) {
    .oym-theme-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.oym-theme-card {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 16px;
    padding: 16px 16px 14px;
    background: #182444;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(148, 163, 184, 0.12);
}

.oym-theme-card h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: var(--oym-text-main);
}

.oym-theme-card p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--oym-text-muted);
}

.oym-theme-card ul {
    margin: 0;
    padding-left: 18px;
}

.oym-theme-card li {
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--oym-text-muted);
}

.oym-theme-card strong {
    color: var(--oym-text);
}



/* Force buttons to use the new blue palette + blue shadow */
button,
.button,
.wp-block-button__link,
input[type="button"],
input[type="submit"],
input[type="reset"]{
  background: var(--brand-blue) !important;
  border-color: var(--brand-blue-dark) !important;

  /* kill green-ish shadow and replace */
  box-shadow: 0 10px 22px var(--brand-shadow) !important;
}

button:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover{
  background: var(--brand-blue-dark) !important;
  box-shadow: 0 12px 26px var(--brand-shadow) !important;
}

button:focus,
.button:focus,
.wp-block-button__link:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="reset"]:focus{
  outline: 3px solid var(--brand-focus) !important;
  outline-offset: 2px;
}