/* =========================================
   ベース設定
========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* =========================================
   公開画面 i18n / 共通モダンレイアウト
========================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.public-header {
    width: min(860px, calc(100% - 12px));
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.public-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
}

.public-brand img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .12);
}

.language-form { flex: 0 0 auto; }
.language-form select {
    max-width: 150px;
    min-height: 40px;
    padding: 8px 34px 8px 12px;
    border: 1.5px solid #94a3b8;
    border-radius: 12px;
    background-color: #ffffff;
    color: #0f172a;
    color-scheme: light;
    font: inherit;
    font-size: .84rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .14);
    cursor: pointer;
}

.language-form select:hover {
    border-color: #64748b;
}

.language-form select:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .3);
    outline-offset: 2px;
}

.public-shell { width: min(720px, 100%); margin: 0 auto; }
.public-card {
    width: 100%;
    padding: clamp(18px, 4vw, 28px);
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .09);
}
.public-title { margin: 0 0 8px; font-size: clamp(1.45rem, 5vw, 1.9rem); line-height: 1.3; }
.public-lead { margin: 0; color: #64748b; font-size: .94rem; line-height: 1.7; }
.public-actions { display: grid; gap: 10px; margin-top: 20px; }
.public-actions form { margin: 0; }
.public-button { display: block; width: 100%; min-height: 48px; padding: 13px 16px; border: 0; border-radius: 14px; text-align: center; text-decoration: none; font: inherit; font-weight: 750; cursor: pointer; }
.public-button--primary { color: white; background: linear-gradient(135deg, #2563eb, #0ea5e9); box-shadow: 0 8px 20px rgba(37, 99, 235, .18); }
.public-button--secondary { color: #1e293b; background: white; border: 1px solid #dbe3ec; }
.qr-entry-action { width: min(280px, 100%); margin: 14px auto 0; text-align: center; }
.qr-entry-action .public-button { display: flex; align-items: center; justify-content: center; }
.qr-entry-action p { margin: 8px 0 0; color: #64748b; font-size: .75rem; line-height: 1.6; }
.public-kv { margin-top: 20px; border-top: 1px solid #e8edf3; }
.public-kv-row { display: grid; grid-template-columns: minmax(90px, 32%) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e8edf3; }
.public-kv-key { color: #64748b; font-size: .84rem; font-weight: 650; }
.public-kv-value { min-width: 0; color: #0f172a; font-weight: 700; overflow-wrap: anywhere; }
.public-notice { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a5f; font-size: .86rem; line-height: 1.65; }
.public-notice--warn { background: #fff7ed; border-color: #fed7aa; color: #7c2d12; }
.public-build { margin-top: 16px; color: #94a3b8; font-size: .72rem; }

@media (max-width: 420px) {
    .public-header { width: calc(100% - 4px); margin-bottom: 10px; }
    .public-brand span { display: none; }
    .public-brand img { width: 34px; height: 34px; }
    .language-form select { max-width: 142px; min-height: 38px; font-size: .8rem; }
    .public-card { border-radius: 16px; padding: 18px 14px; }
    .public-kv-row { grid-template-columns: 88px 1fr; gap: 8px; }
}

html,
body {
    margin: 0;
    padding: 0;
}

/* =========================================
   LOTUNA ブランドテーマ（共通）
   ※ 見た目のみ（機能・構造・挙動は一切変更しない）
========================================= */
:root {
    /* ブランド寄せ（ロゴの青→緑系） */
    --lotuna-blue: #2563eb;
    --lotuna-sky: #0ea5e9;
    --lotuna-green: #22c55e;

    /* 画面全体 */
    --lotuna-bg-1: #eef6ff;
    --lotuna-bg-2: #eefaf6;

    /* テキスト */
    --text-main: #0f172a;
    --text-sub: #6b7280;

    /* パネル */
    --panel-bg: rgba(255, 255, 255, 0.92);
    --panel-border: rgba(15, 23, 42, 0.06);
    --panel-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);

    /* 追加：カード内の共通色 */
    --card-bg: linear-gradient(135deg, #ffffff, #f9fafb);
    --card-border: #e5e7eb;
    --card-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    --muted: #64748b;
}

body {
    margin: 0;
    padding: 24px 8px;

    background: radial-gradient(1200px 700px at 20% 0%, var(--lotuna-bg-1), transparent 60%),
                radial-gradient(1200px 700px at 90% 20%, var(--lotuna-bg-2), transparent 55%),
                #f2f7fb;

    font-family: 'M PLUS Rounded 1c', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* メインレイアウト（応募フォーム / 管理画面共通） */
main {
    display: flex;
    justify-content: center;
}

/* パネル共通 */
.panel {
    max-width: 860px;
    width: 100%;
    background: var(--panel-bg);
    border-radius: 18px;
    box-shadow: var(--panel-shadow);
    border: 1px solid var(--panel-border);
    padding: 20px 18px 24px;
}

/* ページタイトル共通 */
.page-title {
    margin: 0 0 8px;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1e293b;
}

.page-lead {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6b7280;
}

/* ステータスバッジ（任意） */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-top: 10px;
    font-weight: 500;
}

.status-before {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.status-after {
    background: rgba(248, 113, 113, 0.12);
    color: #b91c1c;
}

/* セクション */
.form-section,
.admin-section {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px dashed #e5e7eb;
}

.section-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
}

.section-note {
    margin: -4px 0 10px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* フォーム共通 */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.required-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 0.7rem;
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 700;
}

.en-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: #9ca3af;
}

/* テキスト入力 */
.input-text {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.input-text:focus {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.input-text.is-invalid {
    border-color: #dc2626;
    background: #fef2f2;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

/* 補足テキスト・エラー */
.field-note {
    margin: 4px 0 0;
    font-size: 0.75rem;
    color: #9ca3af;
}

.field-error {
    margin: 4px 0 0;
    font-size: 0.78rem;
    color: #b91c1c;
}

.is-invalid-area {
    border: 1px solid #dc2626;
    border-radius: 12px;
    background: #fef2f2;
    padding: 8px;
}

/* 商品カード UI ================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.product-card {
    cursor: pointer;
    display: block;
    position: relative;
}

.product-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-card-inner {
    border-radius: 14px;
    padding: 10px 10px 12px;
    border: 2px solid #e5e7eb;
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.06);
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease, background 0.18s ease;
}

.product-card-inner:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.1);
}

.product-radio:checked + .product-card-inner {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
}

.product-label-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2px;
}

.product-badge {
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 0.68rem;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    font-weight: 600;
}

.product-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3px;
    word-break: keep-all;
}

.product-desc {
    margin: 0;
    font-size: 0.78rem;
    color: #6b7280;
}

.product-meta {
    margin: 6px 0 0;
    font-size: 0.75rem;
    color: #16a34a;
    font-weight: 600;
}

.no-products {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* チェックボックス（プライバシー） ====================== */
.checkbox-row {
    margin-top: 6px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.83rem;
    color: #111827;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1.5px solid #9ca3af;
    margin-top: 2px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}

.checkbox-custom::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: #2563eb;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.12s ease, transform 0.12s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

.checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.checkbox-sub {
    font-size: 0.74rem;
    color: #6b7280;
}

.checkbox-sub a {
    color: #2563eb;
    text-decoration: underline;
}

/* 注意事項リスト */
.caution-list {
    margin: 10px 0 0;
    padding-left: 20px;
    font-size: 0.78rem;
    color: #6b7280;
}

/* 送信エリア ============================== */
.submit-area {
    margin-top: 22px;
}

.primary-button,
.secondary-button,
.result-check-button {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    transition: transform 0.06s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.primary-button {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.3);
}

.primary-button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.secondary-button {
    background: #ffffff;
    color: #111827;
    border: 1px solid #d1d5db;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.secondary-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

/* =============================
   結果確認ボタン（無効→有効）
============================= */
.result-check-button {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

.result-check-button.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.result-check-button.active:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.submit-note {
    margin: 6px 0 0;
    font-size: 0.78rem;
    color: #9ca3af;
    text-align: center;
}

/* モーダル ============================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 1000;
}

.modal-overlay.is-open {
    display: flex;
}

.modal {
    max-width: 420px;
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.4);
    padding: 18px 18px 16px;
}

.modal-title {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.confirm-list {
    margin: 4px 0 12px;
}

.confirm-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed #e5e7eb;
}

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

.confirm-row dt {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    min-width: 70px;
}

.confirm-row dd {
    margin: 0;
    font-size: 0.87rem;
    text-align: right;
    color: #111827;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 管理画面用テーブル */
.table-wrapper {
    margin-top: 16px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

th,
td {
    padding: 8px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

th {
    background: #eff6ff;
    font-weight: 600;
}

/* =========================================
   管理ダッシュボード（共通）
========================================= */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

/* 追加：ヘッダーの見た目をクラス化（インラインstyle撤去用） */
.admin-header-main {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.admin-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    padding: 6px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
    flex-shrink: 0;
}

.admin-header-text {
    min-width: 0;
}

.admin-header-sub {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.link-logout {
    font-size: 0.8rem;
    color: #6b7280;
    text-decoration: underline;
}

.flash-area {
    margin-top: 10px;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flash-message {
    font-size: 0.8rem;
    border-radius: 10px;
    padding: 8px 10px;
}

/* 今日の状況カード */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.info-card {
    border-radius: 14px;
    padding: 10px 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

.info-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 3px;
}

.info-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

/* =========================================
   管理ダッシュボード（完成形：見た目整理）
   影響範囲を admin-panel 配下に限定
========================================= */
.admin-panel .dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
}

.admin-panel .dashboard-card {
    grid-column: span 12;
}

.admin-panel .dashboard-card--half {
    grid-column: span 6;
}

.admin-panel .dashboard-card--third {
    grid-column: span 4;
}

.admin-panel .dashboard-card--status {
    grid-column: span 12;
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

.admin-panel .dashboard-card__title {
    margin: 0 0 8px 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.admin-panel .dashboard-card__lead {
    margin: 0 0 10px 0;
    font-size: 0.86rem;
    line-height: 1.65;
    color: #334155;
}

.admin-panel .kv-list {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-panel .kv-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.admin-panel .kv-row:last-child {
    border-bottom: none;
}

.admin-panel .kv-key {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.admin-panel .kv-val {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #111827;
    text-align: right;
}

.admin-panel .kv-sub {
    margin: 8px 0 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.6;
}

.admin-panel .list-compact {
    margin: 8px 0 0 0;
    padding-left: 18px;
    font-size: 0.86rem;
    color: #334155;
}

.admin-panel .list-compact li {
    margin: 4px 0;
}

.admin-panel .action-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-panel .action-stack a,
.admin-panel .action-stack button {
    width: 100%;
}

/* フッター */
.admin-panel .admin-footer-note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed #e5e7eb;
}

.admin-panel .admin-footnote-text {
    margin: 0;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.6;
}

.admin-panel .admin-footer-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

/* =========================================
   手動抽選ボタン
========================================= */
.btn-manual-draw {
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e11d48;
    background-color: #ffffff;
    border: 1.5px solid #e11d48;
    border-radius: 9999px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease, opacity 0.12s ease;
}

.btn-manual-draw:hover:not(.disabled-button) {
    background-color: #fff1f2;
    box-shadow: 0 5px 12px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.btn-manual-draw.disabled-button {
    background-color: #ffffff;
    color: #e11d48;
    border-color: #e5e7eb;
    opacity: 0.5;
    box-shadow: none;
    cursor: not-allowed;
}

/* =========================================
   再読み込み・リセット
========================================= */
.reset-danger-button {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    padding: 14px 16px;
    margin: 10px 0;
    border: none;
    border-radius: 999px;
    background: #e11d48;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(225, 29, 72, 0.35);
    transition: transform 0.06s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.reset-danger-button:hover,
.reset-danger-button:focus {
    opacity: 0.95;
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.reset-danger-button:active {
    opacity: 0.9;
    transform: translateY(2px);
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.25);
}

/* =========================================
   スマホ最適化
========================================= */
@media (max-width: 600px) {
    body {
        padding: 16px 6px;
    }

    .panel {
        padding: 16px 12px 20px;
        border-radius: 16px;
    }

    .page-title {
        font-size: 1.4rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .confirm-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .confirm-row dd {
        text-align: left;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* ダッシュボード：2列→1列に落とす */
    .admin-panel .dashboard-card--half,
    .admin-panel .dashboard-card--third {
        grid-column: span 12;
    }

    .admin-panel .kv-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .admin-panel .kv-val {
        text-align: left;
    }
}

/* =========================================
   ヘルプボタン & モーダル（共通）
========================================= */
.help-button {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 900;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    font-size: 20px;
    font-weight: 700;
    background: #0ea5e9;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 480px) {
    .help-button {
        width: 44px;
        height: 44px;
        font-size: 22px;
        top: 10px;
        right: 10px;
    }
}

.help-modal {
    position: fixed;
    inset: 0;
    z-index: 950;
    display: none;
}

.help-modal.is-open {
    display: block;
}

.help-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
}

.help-modal__dialog {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 520px;
    max-height: min(640px, 90vh);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .help-modal__dialog {
        max-width: 94vw;
        border-radius: 16px;
        padding: 14px 14px 18px;
    }
}

.help-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.help-modal__title {
    font-size: 18px;
    margin: 0;
}

.help-modal__close {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 6px;
}

.help-modal__body {
    overflow-y: auto;
    padding-right: 2px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #334155;
}

.help-modal__body h3 {
    margin: 10px 0 6px;
    font-size: 1rem;
    color: #0f172a;
}

.help-modal__body p {
    margin: 6px 0;
}

.help-modal__body ul {
    margin: 6px 0 10px;
    padding-left: 18px;
}

.help-modal__body li {
    margin: 4px 0;
}

.help-modal__footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.help-modal__button {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.25);
}

.help-modal__button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

/* =========================================
   LOTUNA ロゴ表示（共通）
========================================= */
.lotuna-brandbar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
}

.lotuna-brandbar--left {
    justify-content: flex-start;
}

.lotuna-brandlogo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
    background: rgba(255,255,255,0.85);
    padding: 6px;
}

@media (max-width: 600px) {
    .lotuna-brandlogo {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }
}
/* =========================================
   ダッシュボードカード：視認性・立体感強化
========================================= */

/* ベースカードを少しだけ浮かせる */
.admin-panel .dashboard-card {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow:
        0 6px 14px rgba(15, 23, 42, 0.08),
        0 1px 2px rgba(15, 23, 42, 0.04);
}

/* 抽選ステータス（最重要） */
.admin-panel .dashboard-card--status {
    background: linear-gradient(180deg, #eff6ff, #ffffff);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow:
        0 10px 24px rgba(37, 99, 235, 0.18),
        0 2px 4px rgba(15, 23, 42, 0.06);
}

/* 応募状況 */
.admin-panel .dashboard-card--half:nth-of-type(2) {
    background: linear-gradient(180deg, #f0f9ff, #ffffff);
}

/* キャンペーン */
.admin-panel .dashboard-card--half:nth-of-type(3) {
    background: linear-gradient(180deg, #f0fdf4, #ffffff);
}

/* 登録商品（確認系は控えめ） */
.admin-panel .dashboard-card--third {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
}

/* カードタイトルを少し強調 */
.admin-panel .dashboard-card__title {
    letter-spacing: 0.04em;
}

/* =========================================
   追加：印刷専用（高密度・用紙幅100%）
   ※ 画面表示は一切変えず、印刷だけ最適化
========================================= */
@media print {
    /* 用紙：A4横（テンプレ側でも指定しているが、共通で保険） */
    @page { size: A4 landscape; margin: 6mm; }

    /* 背景と余白を除去（コピー代＝密度最優先） */
    body {
        padding: 0 !important;
        background: #ffffff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* センタリング解除：横幅をフルに使う */
    main {
        display: block !important;
    }

    /* パネル幅制限解除：max-width:860px が印刷の敵 */
    .panel {
        max-width: none !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #ffffff !important;
    }

    /* 横スクロール系は印刷で切れる原因になるので解除 */
    .table-wrapper {
        overflow: visible !important;
    }

    /* 印刷時の基本テーブル密度（テンプレ側の !important と競合しない程度の保険） */
    table {
        width: 100% !important;
        border-collapse: collapse !important;
    }

    th,
    td {
        padding: 3px 4px !important;
        border-bottom: 1px solid #e5e7eb !important;
    }

    /* 行がページ途中で裂けない */
    tr {
        page-break-inside: avoid;
    }
}

/* =========================================
   応募者フロー：段階的UI基礎改善
   対象: index / entry_confirm / thanks のみ
========================================= */
.entry-flow-page {
    --entry-brand: #2563eb;
    --entry-brand-strong: #1d4ed8;
    --entry-success: #15803d;
    --entry-warning: #b45309;
    --entry-danger: #b91c1c;
    --entry-text: #0f172a;
    --entry-text-muted: #475569;
    --entry-text-subtle: #64748b;
    --entry-border: #d7dee8;
    --entry-surface: #ffffff;
    --entry-surface-muted: #f8fafc;
    --entry-radius-input: 10px;
    --entry-radius-card: 14px;
    --entry-radius-panel: 16px;
    --entry-radius-button: 14px;
    --entry-shadow-panel: 0 8px 24px rgba(15, 23, 42, 0.08);
    --entry-focus-ring: rgba(37, 99, 235, 0.28);

    min-width: 0;
    padding: 20px 8px max(24px, env(safe-area-inset-bottom));
    color: var(--entry-text);
}

.entry-flow-page .entry-panel {
    max-width: 720px;
    padding: clamp(18px, 5vw, 26px);
    border-radius: var(--entry-radius-panel);
    box-shadow: var(--entry-shadow-panel);
}

.entry-flow-page .page-title {
    margin-bottom: 10px;
    font-size: clamp(1.5rem, 5vw, 1.75rem);
    line-height: 1.35;
    color: var(--entry-text);
}

.entry-flow-page .page-lead {
    font-size: 16px;
    line-height: 1.75;
    color: var(--entry-text-muted);
}

.entry-flow-page .form-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--entry-border);
}

.entry-flow-page .section-title {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
    color: var(--entry-text);
}

.entry-flow-page .section-note,
.entry-flow-page .field-note,
.entry-flow-page .submit-note,
.entry-flow-page .result-check-note,
.entry-flow-page .caution-list {
    font-size: 14px;
    line-height: 1.7;
    color: var(--entry-text-muted);
}

.entry-flow-page .section-note {
    margin: -4px 0 10px;
}

.entry-flow-page .field-note--bilingual {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.entry-flow-page .field-note--bilingual [lang="en"] {
    color: var(--entry-text-subtle);
}

.entry-flow-page .form-group {
    margin-bottom: 18px;
}

.entry-flow-page .form-group label {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.entry-flow-page .required-badge,
.entry-flow-page .en-label {
    font-size: 12px;
}

.entry-flow-page .en-label {
    color: var(--entry-text-subtle);
}

.entry-flow-page .input-text {
    min-height: 48px;
    padding: 11px 12px;
    border-color: var(--entry-border);
    border-radius: var(--entry-radius-input);
    background: var(--entry-surface);
    color: var(--entry-text);
    font-size: 16px;
    line-height: 1.5;
}

.entry-flow-page .input-text::placeholder {
    color: #64748b;
    opacity: 1;
}

.entry-flow-page .input-text:focus {
    border-color: var(--entry-brand);
    box-shadow: 0 0 0 3px var(--entry-focus-ring);
}

.entry-flow-page .input-text.is-invalid {
    border-color: var(--entry-danger);
    background: #fff7f7;
    box-shadow: none;
}

.entry-flow-page .input-text.is-invalid:focus {
    border-color: var(--entry-danger);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.18);
}

.entry-flow-page .field-error {
    min-height: 1px;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--entry-danger);
}

.entry-flow-page .is-invalid-area {
    border-color: var(--entry-danger);
    border-radius: var(--entry-radius-card);
    background: #fff7f7;
}

.entry-flow-page .product-grid {
    gap: 10px;
    min-width: 0;
}

.entry-flow-page .product-card,
.entry-flow-page .product-card-inner {
    min-width: 0;
}

.entry-flow-page .product-card-inner {
    min-height: 96px;
    border: 1px solid var(--entry-border);
    border-radius: var(--entry-radius-card);
    background: var(--entry-surface);
    box-shadow: none;
}

.entry-flow-page .product-card-inner:hover {
    transform: none;
    box-shadow: none;
    border-color: #b8c4d4;
}

.entry-flow-page .product-radio:checked + .product-card-inner {
    border: 2px solid var(--entry-brand);
    background: #eff6ff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.entry-flow-page .product-radio:focus-visible + .product-card-inner {
    outline: 3px solid var(--entry-focus-ring);
    outline-offset: 2px;
}

.entry-flow-page .product-title {
    font-size: 16px;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: anywhere;
}

.entry-flow-page .product-desc,
.entry-flow-page .product-meta {
    font-size: 14px;
    line-height: 1.55;
}

.entry-flow-page .checkbox-label {
    gap: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.entry-flow-page .checkbox-custom {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-color: #64748b;
}

.entry-flow-page .checkbox-label input[type="checkbox"]:focus-visible + .checkbox-custom {
    outline: 3px solid var(--entry-focus-ring);
    outline-offset: 2px;
}

.entry-flow-page .checkbox-sub {
    font-size: 14px;
    line-height: 1.6;
    color: var(--entry-text-muted);
}

.entry-flow-page .checkbox-sub a {
    color: var(--entry-brand-strong);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.entry-flow-page .primary-button,
.entry-flow-page .secondary-button,
.entry-flow-page .result-check-button {
    min-height: 48px;
    padding: 12px 18px;
    border-radius: var(--entry-radius-button);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: none;
}

.entry-flow-page .primary-button {
    background: linear-gradient(135deg, var(--entry-brand), var(--entry-brand-strong));
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.18);
}

.entry-flow-page .secondary-button {
    background: var(--entry-surface);
    border-color: var(--entry-border);
    color: var(--entry-text);
}

.entry-flow-page .primary-button:focus-visible,
.entry-flow-page .secondary-button:focus-visible,
.entry-flow-page .result-check-button:focus-visible,
.entry-flow-page .help-button:focus-visible,
.entry-flow-page .help-modal__close:focus-visible {
    outline: 3px solid var(--entry-focus-ring);
    outline-offset: 2px;
}

.entry-flow-page .status-badge {
    font-size: 14px;
    line-height: 1.4;
}

.entry-flow-page .result-check-area {
    margin-top: 16px;
}

.entry-flow-page .result-check-button.is-disabled,
.entry-flow-page .result-check-button[disabled] {
    background: #e2e8f0;
    color: #64748b;
}

.entry-flow-page .help-button {
    top: auto;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
}

.entry-flow-page.modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.entry-flow-page .modal-overlay {
    padding: max(16px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom));
}

.entry-flow-page .modal {
    width: min(100%, 440px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 20px;
    border-radius: var(--entry-radius-panel);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}

.entry-flow-page .modal-title {
    font-size: 20px;
    line-height: 1.45;
}

.entry-flow-page .confirm-row {
    gap: 12px;
    padding: 10px 0;
    border-bottom-style: solid;
}

.entry-flow-page .confirm-row dt {
    font-size: 14px;
    color: var(--entry-text-muted);
}

.entry-flow-page .confirm-row dd {
    font-size: 16px;
    line-height: 1.55;
}

.entry-flow-page .modal-actions {
    gap: 10px;
    margin-top: 16px;
}

.entry-complete-page .entry-header {
    text-align: center;
}

.entry-complete-page .page-title {
    color: var(--entry-success);
}

.entry-complete-page .entry-complete-actions {
    margin-top: 22px;
}

.entry-complete-page .entry-complete-actions a {
    display: flex;
    text-align: center;
    text-decoration: none;
}

.entry-complete-page .entry-complete-note {
    margin-top: 16px;
    text-align: center;
}

.entry-complete-page .entry-build-note {
    margin-top: 16px;
    color: var(--entry-text-subtle);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 430px) {
    .entry-flow-page {
        padding: 12px 6px max(20px, env(safe-area-inset-bottom));
    }

    .entry-flow-page .entry-panel {
        padding: 18px 14px 20px;
    }

    .entry-flow-page .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .entry-flow-page .modal {
        padding: 18px 16px;
    }
}

@media (max-width: 340px) {
    .entry-flow-page .product-grid {
        grid-template-columns: 1fr;
    }

    .entry-flow-page .page-title {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .entry-flow-page *,
    .entry-flow-page *::before,
    .entry-flow-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   応募完了・抽選結果 UX Ver.2
========================================= */
.public-experience-page {
    min-height: 100dvh;
    padding: 14px 10px max(28px, env(safe-area-inset-bottom));
    background: linear-gradient(145deg, #eff6ff 0%, #f8fafc 55%, #eefaf6 100%);
    color: #0f172a;
}

.public-experience-page .public-shell {
    width: min(680px, 100%);
}

.public-experience-page .public-card {
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.public-eyebrow {
    margin: 0 0 8px;
    color: #2563eb;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.experience-section,
.experience-alert {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
}

.experience-section__title {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.45;
}

.experience-steps,
.experience-how {
    margin: 0;
    padding: 0;
    list-style: none;
}

.experience-step {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    color: #334155;
    font-size: .92rem;
    font-weight: 700;
}

.experience-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 37px;
    bottom: -3px;
    left: 16px;
    width: 2px;
    background: #dbeafe;
}

.experience-step__number,
.experience-how li > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #bfdbfe;
    border-radius: 50%;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: .82rem;
    font-weight: 800;
}

.experience-step.is-complete .experience-step__number {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}

.experience-alert {
    border-color: #fbbf24;
    background: #fffbeb;
}

.experience-alert .experience-section__title {
    color: #92400e;
}

.experience-alert p,
.experience-warning {
    margin: 0;
    color: #78350f;
    font-size: .9rem;
    line-height: 1.75;
}

.experience-alert p {
    font-weight: 700;
}

.experience-how {
    display: grid;
    gap: 14px;
}

.experience-how li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 12px;
}

.experience-how p {
    margin: 0;
    color: #334155;
    font-size: .9rem;
    line-height: 1.65;
}

.experience-schedule {
    display: grid;
    gap: 0;
    margin: 0;
}

.experience-schedule > div {
    display: grid;
    grid-template-columns: minmax(120px, 42%) 1fr;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #e2e8f0;
}

.experience-schedule > div:last-child {
    border-bottom: 1px solid #e2e8f0;
}

.experience-schedule dt {
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
}

.experience-schedule dd {
    margin: 0;
    color: #0f172a;
    font-size: .9rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.experience-warning {
    margin-top: 20px;
    padding: 14px 16px;
    border-left: 3px solid #f59e0b;
    background: #fffbeb;
}

.public-footnote {
    margin-top: 16px;
}

.entry-flow-page .result-check-area--priority {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: linear-gradient(145deg, #eff6ff, #f0f9ff);
}

.entry-flow-page .result-check-area--priority .result-check-button.active {
    min-height: 54px;
    background: linear-gradient(135deg, #2563eb, #0369a1);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.entry-flow-page .result-check-area--priority .result-check-note {
    margin: 8px 0 0;
    color: #1e3a8a;
    text-align: center;
}

.result-check-form {
    margin-top: 22px;
}

.result-submit-note {
    margin: 8px 0 0;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.5;
    text-align: center;
}

.result-progress[hidden] {
    display: none;
}

.result-progress {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(241, 245, 249, .96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.result-progress__panel {
    width: min(390px, 100%);
    padding: 10px;
    border: 1px solid #dbeafe;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
}

.result-progress__media {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .32);
    border-radius: 18px;
    background: #e6f6f7;
}

.result-progress__media video {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.result-experience-pending .result-reveal-card {
    visibility: hidden;
}

.result-reveal-card {
    animation: result-reveal .45s ease-out both;
}

.winner-title {
    color: #1d4ed8;
}

.winner-product {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: linear-gradient(145deg, #eff6ff, #f0f9ff);
}

.winner-product span {
    display: block;
    margin-bottom: 6px;
    color: #475569;
    font-size: .8rem;
    font-weight: 700;
}

.winner-product strong {
    display: block;
    color: #0f172a;
    font-size: clamp(1.15rem, 5vw, 1.45rem);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.winner-priority-details {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
}

.winner-priority-details > div {
    display: grid;
    grid-template-columns: minmax(90px, 32%) 1fr;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.winner-priority-details dt {
    color: #64748b;
    font-size: .82rem;
    font-weight: 700;
}

.winner-priority-details dd {
    margin: 0;
    color: #0f172a;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.winner-secondary-details {
    margin-top: 20px;
}

.winner-staff-prompt {
    margin-top: 20px;
    font-weight: 700;
}

.loser-card {
    text-align: center;
}

.loser-card .public-eyebrow {
    color: #64748b;
}

.loser-title {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    color: #334155;
}

.loser-body {
    margin-top: 16px;
}

.loser-next-message {
    margin: 20px 0 0;
    padding: 16px;
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
    font-size: .92rem;
    line-height: 1.7;
}

@keyframes result-reveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 420px) {
    .public-experience-page {
        padding: 10px 6px max(22px, env(safe-area-inset-bottom));
    }

    .experience-section,
    .experience-alert {
        padding: 16px 14px;
    }

    .experience-schedule > div,
    .winner-priority-details > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .entry-flow-page .result-check-area--priority {
        padding: 14px;
    }

    .entry-flow-page .help-button {
        right: max(10px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
    }
}

@media (prefers-color-scheme: dark) {
    .public-experience-page {
        background: linear-gradient(145deg, #0f172a, #111827);
        color: #e5e7eb;
    }

    .public-experience-page .public-brand { color: #f8fafc; }
    .public-experience-page .public-card,
    .public-experience-page .experience-section,
    .public-experience-page .result-progress__panel { background: #111827; border-color: #334155; }
    .public-experience-page .language-form select {
        border-color: #cbd5e1;
        background: #f8fafc;
        color: #0f172a;
        box-shadow: 0 5px 16px rgba(0, 0, 0, .32);
    }
    .public-experience-page .public-title,
    .public-experience-page .experience-section__title,
    .public-experience-page .experience-schedule dd,
    .public-experience-page .winner-product strong,
    .public-experience-page .winner-priority-details dd { color: #f8fafc; }
    .public-experience-page .public-lead,
    .public-experience-page .experience-how p,
    .public-experience-page .experience-step,
    .public-experience-page .result-submit-note { color: #cbd5e1; }
    .public-experience-page .experience-schedule > div,
    .public-experience-page .public-kv,
    .public-experience-page .public-kv-row { border-color: #334155; }
    .public-experience-page .public-kv-value { color: #f8fafc; }
    .public-experience-page .public-kv-key,
    .public-experience-page .experience-schedule dt { color: #94a3b8; }
    .public-experience-page .input-text { background: #0f172a; border-color: #475569; color: #f8fafc; }
    .public-experience-page .public-button--secondary { background: #1e293b; border-color: #475569; color: #f8fafc; }
    .public-experience-page .experience-alert,
    .public-experience-page .experience-warning { background: #422006; border-color: #b45309; }
    .public-experience-page .experience-alert .experience-section__title,
    .public-experience-page .experience-alert p,
    .public-experience-page .experience-warning { color: #fde68a; }
    .public-experience-page .winner-product { background: #172554; border-color: #1d4ed8; }
    .public-experience-page .winner-priority-details > div { border-color: #334155; }
    .public-experience-page .loser-next-message { background: #1e293b; color: #cbd5e1; }
    .public-experience-page .result-progress { background: rgba(15, 23, 42, .97); }
}

@media (prefers-reduced-motion: reduce) {
    .result-reveal-card {
        animation-duration: .01ms !important;
    }
}
