/* Fake Hacker Terminal - /app/fake-hacker/ (moved out of index.php 16 Oct 2026) */
.prank-tool {
    max-width: 960px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
}

/* Hero - Matrix theme */
.hero-section {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #000 0%, #001a0a 100%);
    border-radius: 8px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid #003a14;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(0, 255, 65, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 255, 65, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    color: #00ff41;
    font-size: 5rem;
    line-height: 100px;
    filter: drop-shadow(0 0 18px rgba(0, 255, 65, 0.6));
}

.hero-section__title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem;
    position: relative;
    z-index: 1;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.hero-section__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Control Panel */
.win-control-panel {
    background: linear-gradient(180deg, #2d2d2d 0%, #252525 100%);
    border-radius: 8px;
    padding: 0;
    margin-bottom: 2rem;
    border: 1px solid #404040;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, sans-serif;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.win-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #1f1f1f;
    border-bottom: 1px solid #404040;
}

.win-titlebar__icon i {
    color: #00ff41;
    font-size: 18px;
}

.win-titlebar__text {
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    flex: 1;
}

.win-titlebar__buttons {
    display: flex;
    gap: 2px;
}

.win-titlebar__btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: default;
}

.win-titlebar__btn--minimize { background: #ffbd2e; }
.win-titlebar__btn--maximize { background: #28c940; }
.win-titlebar__btn--close { background: #ff5f57; }

.win-panel-content { padding: 24px; }
.win-section { margin-bottom: 24px; }
.win-section:last-child { margin-bottom: 0; }

.win-section__title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.win-section__title i {
    color: #00ff41;
    font-size: 16px;
}

/* Theme cards */
.style-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 800px) { .style-grid { grid-template-columns: repeat(2, 1fr); } }

.style-card {
    display: block;
    width: 100%;
    font-family: inherit;
    color: inherit;
    background: #363636;
    border: 2px solid #4a4a4a;
    border-radius: 6px;
    padding: 14px 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.style-card:hover {
    background: #404040;
    border-color: #00ff41;
}

.style-card.active {
    background: rgba(0, 255, 65, 0.12);
    border-color: #00ff41;
}

.style-card__preview {
    width: 100%;
    height: 50px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
    font-size: 9px;
    padding: 4px 6px;
    text-align: left;
    overflow: hidden;
    line-height: 1.3;
    box-sizing: border-box;
    border: 1px solid;
}

.style-card[data-theme="matrix"] .style-card__preview { background: #000; color: #00ff41; border-color: #003a14; }
.style-card[data-theme="cyber"] .style-card__preview { background: #0a0000; color: #ff3030; border-color: #3a0000; }
.style-card[data-theme="neon"] .style-card__preview { background: #0a001a; color: #ff00ff; border-color: #2a0044; }
.style-card[data-theme="amber"] .style-card__preview { background: #1a1000; color: #ffb000; border-color: #3a2400; }

.style-card__name {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.style-card__desc {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    margin: 3px 0 0;
}

/* Inputs (shared with other tools) */
.win-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.win-input-row--three { grid-template-columns: 1fr 1fr 1fr; }

@media (max-width: 700px) {
    .win-input-row, .win-input-row--three { grid-template-columns: 1fr; }
}

.win-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.win-input-label {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.win-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.win-input,
.win-select {
    flex: 1;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #1f1f1f;
    border: 1px solid #5a5a5a;
    border-bottom: 2px solid #00ff41;
    border-radius: 4px 4px 0 0;
    color: #fff;
    outline: none;
    transition: all 0.15s ease;
    width: 100%;
}

.win-input:focus,
.win-select:focus {
    background: #2a2a2a;
    border-color: #66ff80;
    border-bottom-color: #66ff80;
}

.win-input::placeholder { color: rgba(255,255,255,0.3); }

.win-input-unit {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    min-width: 60px;
}

.win-input-hint {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}

/* Toggles */
.win-toggle-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

@media (max-width: 700px) { .win-toggle-list { grid-template-columns: 1fr; } }

.win-toggle {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    padding: 4px 0;
}

.win-toggle input { position: absolute; opacity: 0; pointer-events: none; }

.win-toggle__switch {
    width: 36px;
    height: 20px;
    background: #5a5a5a;
    border-radius: 10px;
    position: relative;
    transition: background 0.2s ease;
    flex-shrink: 0;
    margin-top: 1px;
}

.win-toggle__switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.win-toggle input:checked + .win-toggle__switch { background: #00ff41; }
.win-toggle input:checked + .win-toggle__switch::after { transform: translateX(16px); }
.win-toggle input:focus-visible + .win-toggle__switch { box-shadow: 0 0 0 2px #66ff80; }

.win-toggle__text { flex: 1; }
.win-toggle__label { font-size: 13px; font-weight: 500; color: #fff; line-height: 1.3; }
.win-toggle__hint { font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 2px; line-height: 1.3; }

/* Buttons */
.win-btn-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #404040;
}

@media (max-width: 600px) { .win-btn-row { flex-direction: column; } }

.win-btn {
    flex: 1;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Segoe UI', system-ui, sans-serif;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.win-btn i { font-size: 16px; }

.win-btn-primary {
    background: linear-gradient(180deg, #00ff41 0%, #00aa2b 100%);
    color: #000;
    font-weight: 700;
    text-shadow: 0 0 4px rgba(255,255,255,0.3);
}

.win-btn-primary:hover { background: linear-gradient(180deg, #66ff80 0%, #00cc33 100%); }

.win-btn-secondary {
    background: #363636;
    color: #fff;
    border: 1px solid #5a5a5a;
}

.win-btn-secondary:hover { background: #404040; border-color: #6a6a6a; }

.win-btn-share {
    background: transparent;
    color: #66ff80;
    border: 1px solid #66ff80;
    flex: 0 0 auto;
    padding: 12px 18px;
}

.win-btn-share:hover { background: rgba(102, 255, 128, 0.1); }
.win-btn-share.copied { background: #28c940; border-color: #28c940; color: #fff; }

/* Tips */
.win-tips {
    background: rgba(0, 255, 65, 0.08);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 4px;
    padding: 16px;
    margin-top: 20px;
}

.win-tips__title {
    font-size: 13px;
    font-weight: 600;
    color: #66ff80;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.win-tips__title i { font-size: 16px; }

.win-tips__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 600px) { .win-tips__list { grid-template-columns: 1fr; } }

.win-tips__list li {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    padding-left: 16px;
    position: relative;
}

.win-tips__list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #66ff80;
    font-weight: bold;
}

kbd {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    font-family: 'Segoe UI', monospace;
    background: #1f1f1f;
    border: 1px solid #5a5a5a;
    border-radius: 3px;
    color: #fff;
}

/* Features (light theme content) */
.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

@media (max-width: 768px) { .features-row { grid-template-columns: 1fr; } }

.feature-box {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}

.feature-box__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.875rem;
    color: #00aa2b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-box__icon i { font-size: 2.5rem; }

.feature-box__title {
    font-size: 1rem;
    font-weight: 600;
    color: #2f6e8d;
    margin: 0 0 0.375rem;
}

.feature-box__desc {
    font-size: 0.875rem;
    color: #5a7a8a;
    margin: 0;
    line-height: 1.4;
}

/* Info Cards */
.info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.info-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.info-card__header i {
    font-size: 1.25rem;
    color: #4bb2d5;
    flex-shrink: 0;
}

.info-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: #2f6e8d;
    margin: 0;
}

.info-card__body { padding: 1.25rem; }

.info-card__body p {
    margin: 0 0 1rem;
    color: #5a7a8a;
    line-height: 1.6;
}

.info-card__body p:last-child { margin-bottom: 0; }

/* Use Cases */
.use-cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 700px) { .use-cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .use-cases { grid-template-columns: 1fr; } }

.use-case {
    padding: 0.875rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.use-case__icon {
    color: #00aa2b;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.use-case__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2f6e8d;
    margin: 0 0 0.25rem;
}

.use-case__desc {
    font-size: 0.8125rem;
    color: #5a7a8a;
    margin: 0;
    line-height: 1.4;
}

/* ================================================
   HACKER TERMINAL OVERLAYS
   ================================================ */
body.prank-active,
html.prank-active {
    overflow: hidden !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.prank-active::-webkit-scrollbar,
html.prank-active::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

body.prank-active,
html.prank-active {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.hacker-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    z-index: 2147483647;
    cursor: none !important;
    overflow: hidden;
    flex-direction: column;
    background: #000;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.hacker-screen * { cursor: none !important; }
.hacker-screen.active { display: flex; }

/* Theme variables */
.hacker-screen.theme-matrix { --term-bg: #000; --term-fg: #00ff41; --term-dim: #007a1f; --term-accent: #66ff80; --term-glow: rgba(0,255,65,0.6); }
.hacker-screen.theme-cyber { --term-bg: #0a0000; --term-fg: #ff3030; --term-dim: #800000; --term-accent: #ff8080; --term-glow: rgba(255,48,48,0.6); }
.hacker-screen.theme-neon { --term-bg: #0a001a; --term-fg: #ff00ff; --term-dim: #6a006a; --term-accent: #00ffff; --term-glow: rgba(255,0,255,0.6); }
.hacker-screen.theme-amber { --term-bg: #1a1000; --term-fg: #ffb000; --term-dim: #6a4500; --term-accent: #ffd060; --term-glow: rgba(255,176,0,0.5); }

.hacker-screen { background: var(--term-bg); }

/* Matrix rain canvas */
.matrix-rain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

/* Top status bar */
.hacker-statusbar {
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
    border-bottom: 1px solid var(--term-dim);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--term-fg);
    font-size: 12px;
    flex-shrink: 0;
    text-shadow: 0 0 4px var(--term-glow);
}

.hacker-statusbar__item { white-space: nowrap; }
.hacker-statusbar__item strong { color: var(--term-accent); }
.hacker-statusbar__sep { color: var(--term-dim); }

.hacker-statusbar__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--term-fg);
    box-shadow: 0 0 6px var(--term-fg);
    animation: pulseDot 1.2s ease-in-out infinite;
}

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

/* Terminal grid */
.hacker-grid {
    position: relative;
    z-index: 1;
    flex: 1;
    display: grid;
    gap: 4px;
    padding: 4px;
    overflow: hidden;
}

.hacker-grid--1 { grid-template: 1fr / 1fr; }
.hacker-grid--2 { grid-template: 1fr / 1fr 1fr; }
.hacker-grid--3 { grid-template: 1fr 1fr / 1fr 1fr; }
.hacker-grid--3 .terminal-window:first-child { grid-column: 1 / -1; }
.hacker-grid--4 { grid-template: 1fr 1fr / 1fr 1fr; }

@media (max-width: 700px) {
    .hacker-grid--2,
    .hacker-grid--3,
    .hacker-grid--4 {
        grid-template: repeat(auto-fit, minmax(0, 1fr)) / 1fr;
    }
    .hacker-grid--3 .terminal-window:first-child { grid-column: auto; }
}

.terminal-window {
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--term-dim);
    box-shadow: 0 0 20px rgba(0,0,0,0.6), inset 0 0 30px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 3px;
}

.terminal-window__bar {
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 100%);
    border-bottom: 1px solid var(--term-dim);
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--term-dim);
    flex-shrink: 0;
}

.terminal-window__dots {
    display: flex;
    gap: 5px;
}

.terminal-window__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--term-dim);
}

.terminal-window__title {
    flex: 1;
    text-align: center;
    color: var(--term-accent);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.terminal-window__output {
    flex: 1;
    padding: 8px 12px;
    overflow: hidden;
    color: var(--term-fg);
    font-size: 12px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
    text-shadow: 0 0 3px var(--term-glow);
}

.terminal-window__output .dim { color: var(--term-dim); text-shadow: none; }
.terminal-window__output .accent { color: var(--term-accent); font-weight: 700; }

.terminal-cursor {
    display: inline-block;
    width: 7px;
    height: 13px;
    background: var(--term-fg);
    margin-left: 2px;
    vertical-align: middle;
    box-shadow: 0 0 4px var(--term-glow);
    animation: blink 1s steps(2) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Mash hint shown briefly at start of manual mode */
.mash-hint {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.85);
    border: 2px solid var(--term-fg, #00ff41);
    box-shadow: 0 0 30px var(--term-glow, rgba(0,255,65,0.5));
    color: var(--term-fg, #00ff41);
    padding: 22px 40px;
    border-radius: 6px;
    font-family: 'Consolas', monospace;
    font-size: 18px;
    text-align: center;
    z-index: 2147483646;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mash-hint__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 0 8px currentColor;
}

.mash-hint__sub {
    font-size: 14px;
    opacity: 0.7;
}

.mash-hint.fade { opacity: 0; }

/* ALERT modal (full-screen flash) */
.hack-alert {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2147483647;
    background: rgba(0,0,0,0.92);
    color: var(--term-fg, #00ff41);
    font-family: 'Consolas', monospace;
    text-align: center;
    cursor: none !important;
    animation: alertFlash 0.3s ease;
}

.hack-alert.active { display: flex; }
.hack-alert * { cursor: none !important; }

@keyframes alertFlash {
    0% { opacity: 0; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

.hack-alert__big {
    font-size: clamp(36px, 8vw, 90px);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 18px;
    text-shadow: 0 0 30px currentColor;
    animation: glow 0.8s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px currentColor; }
    to { text-shadow: 0 0 40px currentColor, 0 0 60px currentColor; }
}

.hack-alert__sub {
    font-size: clamp(14px, 2vw, 20px);
    opacity: 0.8;
    max-width: 80vw;
}

.hack-alert--granted { color: #00ff41; }
.hack-alert--denied { color: #ff3030; }
.hack-alert--warning { color: #ffb000; }

/* Countdown */
.countdown-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2147483646;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

.countdown-overlay.active { display: flex; }

.countdown-overlay__label {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}

.countdown-overlay__num {
    font-size: 180px;
    font-weight: 200;
    line-height: 1;
    color: #00ff41;
    text-shadow: 0 0 40px rgba(0,255,65,0.6);
    animation: countPulse 1s ease-out;
}

@keyframes countPulse {
    0% { transform: scale(0.4); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.countdown-overlay__cancel {
    margin-top: 32px;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
}

.countdown-overlay__cancel:hover { background: rgba(255,255,255,0.1); }

/* Reveal */
.reveal-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #4bb2d5 0%, #3b779b 100%);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2147483647;
    color: #fff;
    text-align: center;
    padding: 24px;
    font-family: 'Segoe UI', sans-serif;
}

.reveal-screen.active { display: flex; }

.reveal-screen__emoji {
    font-size: 90px;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.reveal-screen__title { font-size: 42px; font-weight: 700; margin: 0 0 12px; }
.reveal-screen__subtitle { font-size: 18px; margin: 0 0 32px; opacity: 0.9; max-width: 520px; }

.reveal-screen__btn {
    padding: 14px 32px;
    background: #fff;
    color: #3b779b;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.reveal-screen__btn:hover { background: #f0f0f0; color: #2f6e8d; }

.reveal-screen__site { margin-top: 28px; font-size: 13px; opacity: 0.75; }
.reveal-screen__site a { color: #fff; text-decoration: underline; }

/* Toast & Exit */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 12px 24px;
    background: #1f1f1f;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    z-index: 2147483647;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 1px solid #404040;
    font-family: 'Segoe UI', sans-serif;
}

.toast.visible { transform: translateX(-50%) translateY(0); }

.exit-hint {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.85);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2147483648;
    font-family: 'Segoe UI', sans-serif;
}

.exit-hint.visible { opacity: 1; }

@media (max-width: 600px) {
    .hero-section { padding: 2rem 1rem; }
    .hero-section__title { font-size: 1.5rem; }
    .win-panel-content { padding: 16px; }
    .countdown-overlay__num { font-size: 110px; }
    .reveal-screen__title { font-size: 30px; }
    .reveal-screen__subtitle { font-size: 15px; }
    .terminal-window__output { font-size: 10px; padding: 6px 8px; }
    .hacker-statusbar { font-size: 10px; gap: 8px; padding: 6px 10px; flex-wrap: wrap; }
}

/* ================================================
   16 Oct 2026 - accessibility, mobile exit
   ================================================ */
.style-card__preview,
.style-card__name,
.style-card__desc { display: block; }

.style-card:focus-visible,
.win-btn:focus-visible,
.countdown-overlay__cancel:focus-visible { outline: 2px solid #66ff80; outline-offset: 2px; }
.reveal-screen__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.win-btn { min-height: 44px; }
.hack-alert { padding: 0 16px; }

@media (prefers-reduced-motion: reduce) {
    .reveal-screen__emoji,
    .hack-alert,
    .hack-alert__big,
    .countdown-overlay__num,
    .hacker-statusbar__pulse { animation: none; }
}

/* 16 Oct 2026 - toggle label and hint on separate lines (they are inline spans) */
.win-toggle__label,
.win-toggle__hint { display: block; }
