:root {
    --bg-dark: #0f0f13;
    --bg-panel: #1a1a24;
    --bg-panel-light: #242433;
    
    --primary-color: #c9a227; /* Gold */
    --primary-hover: #e0b838;
    
    --color-red: #d32f2f;
    --color-red-light: #ff6659;
    --color-black: #2b2b2b;
    --color-black-light: #525252;

    --text-main: #f0f0f0;
    --text-muted: #a0a0b0;
    
    --accent-glow: 0 0 15px rgba(201, 162, 39, 0.4);
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effects */
.bg-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, #000 120%);
    z-index: -2;
}

/* Typography */
h1, h2, h3, .cinzel {
    font-family: 'Cinzel', serif;
}

.container {
    max-width: 500px;
    margin: 40px auto;
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    position: relative;
    z-index: 10;
}

.screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    animation: fadeIn 0.5s ease-out;
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.title-logo {
    text-align: center;
    margin-bottom: 40px;
}

.title-image {
    width: 900px;
    max-width: 90vw; /* 画面幅は超えないようにする */
    height: auto;
    object-fit: contain;
    animation: titleGlow 3s ease-in-out infinite alternate;
    position: relative;
    left: 50%;
    margin-bottom: 15px;
}

.title-flavor {
    font-size: 0.95rem;
    color: var(--primary-color);
    opacity: 0.8;
    letter-spacing: 2px;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    font-weight: normal;
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4)) drop-shadow(0 0 20px rgba(218, 165, 32, 0.2));
        transform: translateX(-50%) scale(1);
    }
    to {
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9)) drop-shadow(0 0 50px rgba(255, 235, 100, 0.6));
        transform: translateX(-50%) scale(1.03);
    }
}

.game-title {
    font-size: 3rem;
    color: var(--primary-color);
    text-shadow: var(--accent-glow);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.screen-heading {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
}

/* Inputs & Buttons */
.input-group {
    width: 100%;
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.2);
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 1px;
}

.primary-btn {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.primary-btn:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5);
}

.primary-btn:disabled {
    background: #555;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.secondary-btn:hover {
    background: rgba(201, 162, 39, 0.1);
}

.danger-btn {
    background: transparent;
    color: var(--color-red);
    border: 1px solid var(--color-red);
}

.danger-btn:hover {
    background: rgba(211, 47, 47, 0.1);
}

.text-btn {
    background: transparent;
    color: var(--text-muted);
    text-decoration: underline;
    font-size: 0.9rem;
}

.text-btn:hover {
    color: var(--text-main);
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }

/* Lobby Specifics */
.room-info-card {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
    width: 100%;
}

.selectable {
    user-select: text;
    color: var(--primary-color);
    font-size: 1.5rem;
    letter-spacing: 4px;
    font-family: monospace;
    cursor: pointer;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.selectable:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
}

.settings-container {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 25px;
}

.settings-container h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.setting-item {
    margin-bottom: 10px;
}

.setting-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-main);
}

.setting-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.setting-item input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.3; /* 未チェック時はより薄くして区別をつける */
}

.setting-item input[type="checkbox"]:disabled:checked {
    opacity: 1; /* チェックされている場合ははっきり表示 */
    filter: brightness(0.85); /* ゲスト視点であることがわかるよう少しだけ暗くする */
    box-shadow: 0 0 5px rgba(201, 162, 39, 0.5); /* オンになっていることを強調 */
}

.players-container {
    width: 100%;
    margin-bottom: 25px;
}

.players-container h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

#players-list {
    list-style: none;
}

.player-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
}

.player-icon {
    margin-right: 15px;
    font-size: 1.2rem;
}

.player-name {
    flex-grow: 1;
    font-weight: bold;
}

.host-badge {
    background: var(--primary-color);
    color: #000;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* =========================================
   GAME SCREEN
========================================= */
.game-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-dark);
    z-index: 100;
}

.game-header {
    height: 60px;
    background: var(--bg-panel);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.round-info {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.phase-info {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.settings-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
}

.settings-info span {
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.game-layout {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* OPPONENTS AREA (TOP) */
.opponents-area {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    height: 180px;
    background: linear-gradient(to bottom, rgba(26,26,36,0.8), transparent);
}

.opp-card {
    background: var(--bg-panel-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 15px;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: all 0.3s;
}

.opp-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.2);
}

.opp-name {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.opp-score {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.opp-stats {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-red { color: var(--color-red-light); }
.stat-black { color: #aaa; }

.opp-status {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(0,0,0,0.5);
    color: var(--text-muted);
}

.opp-status.done {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

/* Hover History Panel */
.history-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 15, 19, 0.95);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 15px;
    width: 220px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.opp-card:hover .history-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.history-panel h4 {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.history-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.hist-card {
    width: 26px;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    vertical-align: middle;
}

.hist-card.red { color: var(--color-red); border-color: var(--color-red); }
.hist-card.black { color: var(--color-black); border-color: var(--color-black); }

.hist-card.back-red {
    background: repeating-linear-gradient(45deg, #8b0000, #8b0000 4px, #a52a2a 4px, #a52a2a 8px);
    border-color: var(--color-red);
}

.hist-card.back-black {
    background: repeating-linear-gradient(45deg, #111, #111 4px, #000 4px, #000 8px);
    border-color: #555;
}

/* CENTER BOARD */
.board-area {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
}

.vote-summary {
    position: absolute;
    top: 20px;
    display: flex;
    gap: 30px;
    background: rgba(0,0,0,0.6);
    padding: 10px 25px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1.1rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.vote-count-red { color: var(--color-red-light); }
.vote-count-black { color: #aaa; }

.voter-names {
    font-size: 0.8rem;
    font-weight: normal;
    color: #ccc;
    margin-top: 5px;
}

.board-table {
    width: 80%;
    height: 250px;
    background: radial-gradient(ellipse at center, rgba(36,36,51,0.5) 0%, rgba(0,0,0,0) 70%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.board-cards {
    display: flex;
    gap: 20px;
    perspective: 1000px;
}

.played-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: dropIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-50px) scale(1.2); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.played-card {
    width: 100px;
    height: 140px;
    background: #2a2a2a;
    border: 2px solid #555;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.played-card.face-up {
    background: #fff;
    transform: rotateY(180deg);
}

.played-card.face-up.red {
    border-color: var(--color-red);
    color: var(--color-red);
}

.played-card.face-up.black {
    border-color: var(--color-black);
    color: var(--color-black);
}

.played-card .front, .played-card .back {
    position: absolute;
    width: 100%; height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.played-card .back {
    background: repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 10px, #222 10px, #222 20px);
    border: 2px solid #444;
}

.played-card .front {
    transform: rotateY(180deg);
}

.played-card-owner {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(0,0,0,0.6);
    padding: 2px 8px;
    border-radius: 4px;
}

.card-burst {
    opacity: 0.4;
    filter: grayscale(100%);
}

.card-winner {
    box-shadow: 0 0 30px var(--primary-color);
    transform: scale(1.1) rotateY(180deg) !important;
    z-index: 10;
}

.card-winner-noflip {
    box-shadow: 0 0 30px var(--primary-color) !important;
    transform: scale(1.1) !important;
    z-index: 10;
}

/* Judgment Dialog */
#judgment-result {
    z-index: 2000;
}

/* Footer Copyright */
.site-footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 100;
    letter-spacing: 1px;
}

.judgment-result {
    position: absolute;
    background: rgba(0,0,0,0.85);
    border: 2px solid var(--primary-color);
    padding: 30px 50px;
    border-radius: 12px;
    text-align: center;
    z-index: 20;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

#result-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* History Expander */
.history-expander-container {
    position: absolute;
    bottom: 0;
    left: 20px;
    z-index: 30;
    display: flex;
    flex-direction: column;
}

.history-expander-btn {
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.2);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.2s;
    text-align: left;
    width: max-content;
}

.history-expander-btn:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.9);
}

.round-history-panel {
    background: rgba(15, 15, 19, 0.95);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px 8px 8px 0;
    padding: 15px;
    width: min(500px, 90vw);
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform-origin: bottom left;
    animation: slideUpFade 0.2s ease-out;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: scaleY(0); }
    to { opacity: 1; transform: scaleY(1); }
}

.history-log-item {
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 5px;
    color: #ccc;
}

.history-log-round {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-weight: bold;
    margin-right: 10px;
}

/* Phase Transition Overlay */
.phase-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Audio Control Sliding Tab */
.audio-control-wrapper {
    position: fixed;
    top: 20px;
    right: -200px;
    display: flex;
    align-items: center;
    z-index: 2000;
    transition: right 0.3s ease;
}

.audio-control-wrapper:hover {
    right: 0;
}

.audio-control-tab {
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-main);
    padding: 15px 8px;
    border-radius: 8px 0 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    cursor: pointer;
    box-shadow: -2px 0 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-control-tab span {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: bold;
}

.audio-control-panel {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 0 0 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 200px;
    box-sizing: border-box;
}

.audio-control-panel label {
    font-size: 0.9rem;
    color: var(--text-main);
    width: 55px;
}

.audio-control-panel input[type="range"] {
    accent-color: var(--primary-color);
    width: 100px;
}


.phase-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.phase-transition-text {
    font-size: 4rem;
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.8);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
    letter-spacing: 5px;
}

.phase-transition-overlay.active .phase-transition-text {
    opacity: 1;
    transform: scale(1);
}

/* OWN AREA (BOTTOM) */
.own-area {
    height: 250px;
    background: var(--bg-panel);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.own-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.own-score {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(0,0,0,0.5);
    padding: 8px 15px;
    border-radius: 6px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.action-panel {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.action-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-section p {
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

.vote-buttons {
    display: flex;
    gap: 15px;
}

.btn-vote {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    color: white;
}

.btn-vote.red { background: var(--color-red); }
.btn-vote.red:hover { background: var(--color-red-light); transform: scale(1.05); }
.btn-vote.black { background: var(--color-black); border: 1px solid #555; }
.btn-vote.black:hover { background: var(--color-black-light); transform: scale(1.05); }

/* Hand Cards */
.hand-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    height: 130px;
    padding-top: 10px;
}

.hand-card {
    width: 80px;
    height: 110px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, top 0.2s;
    position: relative;
    top: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.hand-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.6);
}

.hand-card.selected {
    transform: translateY(-25px);
    box-shadow: 0 0 20px var(--primary-color);
    border: 3px solid var(--primary-color);
    z-index: 10;
}

.hand-card.red { color: var(--color-red); border: 1px solid var(--color-red); }
.hand-card.black { color: var(--color-black); border: 1px solid var(--color-black); }
.hand-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.blink-text {
    animation: blink 2s infinite ease-in-out;
}

/* Toasts */
.toast-container { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 10000; pointer-events: none; }
.toast { background: var(--glass-bg, rgba(20, 20, 30, 0.9)); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); color: var(--gold, #FFD700); padding: 12px 25px; border-radius: 30px; border: 1px solid var(--gold, #FFD700); box-shadow: 0 0 15px var(--gold-glow, rgba(255, 215, 0, 0.5)); animation: slideIn 0.3s ease forwards, fadeOut 0.3s ease 2.7s forwards; font-weight: bold; letter-spacing: 1px; }
.toast.error { border-color: #ff4757; color: #ff4757; box-shadow: 0 0 15px rgba(255, 71, 87, 0.5); }
.toast.success { border-color: var(--gold, #FFD700); color: var(--gold, #FFD700); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }
