/* Computer Freeze Simulator - moved out of index.php 16 Oct 2026 */
.prank-tool { max-width: 960px; margin: 0 auto; }

.hero-section { text-align: center; padding: 2.5rem 1.5rem; background: linear-gradient(135deg, #0a1418 0%, #04080a 100%); border-radius: 8px; margin-bottom: 2rem; position: relative; overflow: hidden; border: 1px solid #1a2a30; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 70%, rgba(0, 200, 255, 0.10) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(150, 200, 255, 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: #4bb2d5; font-size: 5rem; line-height: 100px; filter: drop-shadow(0 0 18px rgba(75, 178, 213, 0.5)); }
.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; }

.win-control-panel { background: linear-gradient(180deg, #2d2d2d 0%, #252525 100%); border-radius: 8px; 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: #4bb2d5; font-size: 18px; }
.win-titlebar__text { font-size: 13px; color: #fff; flex: 1; }
.win-titlebar__buttons { display: flex; gap: 2px; }
.win-titlebar__btn { width: 12px; height: 12px; border-radius: 50%; }
.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: #4bb2d5; font-size: 16px; }

.mode-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 800px) { .mode-grid { grid-template-columns: repeat(2, 1fr); } }
.mode-card { background: #363636; border: 2px solid #4a4a4a; border-radius: 6px; padding: 14px 10px; cursor: pointer; transition: all 0.15s ease; text-align: center; }
.mode-card:hover { background: #404040; border-color: #4bb2d5; }
.mode-card.active { background: rgba(75, 178, 213, 0.12); border-color: #4bb2d5; }
.mode-card__icon { width: 36px; height: 36px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #4bb2d5; }
.mode-card__name { font-size: 12px; font-weight: 500; color: #fff; margin: 0; }
.mode-card__desc { font-size: 10px; color: rgba(255,255,255,0.5); margin: 3px 0 0; line-height: 1.3; }

.win-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 700px) { .win-input-row { 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, .win-select { padding: 10px 14px; font-size: 14px; font-family: 'Segoe UI', system-ui, sans-serif; background: #1f1f1f; border: 1px solid #5a5a5a; border-bottom: 2px solid #4bb2d5; border-radius: 4px 4px 0 0; color: #fff; outline: none; width: 100%; box-sizing: border-box; }
.win-input:focus, .win-select:focus { background: #2a2a2a; border-color: #66c5de; border-bottom-color: #66c5de; }

.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: #4bb2d5; }
.win-toggle input:checked + .win-toggle__switch::after { transform: translateX(16px); }
.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.5); margin-top: 2px; line-height: 1.3; }

.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, #4bb2d5 0%, #3b779b 100%); color: #fff; font-weight: 600; }
.win-btn-primary:hover { background: linear-gradient(180deg, #66c5de 0%, #4bb2d5 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: #66c5de; border: 1px solid #66c5de; flex: 0 0 auto; padding: 12px 18px; }
.win-btn-share:hover { background: rgba(102, 197, 222, 0.1); }
.win-btn-share.copied { background: #28c940; border-color: #28c940; color: #fff; }

.win-tips { background: rgba(75, 178, 213, 0.08); border: 1px solid rgba(75, 178, 213, 0.2); border-radius: 4px; padding: 16px; margin-top: 20px; }
.win-tips__title { font-size: 13px; font-weight: 600; color: #66c5de; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.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: #66c5de; 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-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: #3b779b; 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: #7a9ab0; margin: 0; line-height: 1.4; }

.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 { 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: #3b779b; 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; }

.faq-item { border-bottom: 1px solid #e9ecef; }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; background: none; border: none; padding: 0.875rem 0; text-align: left; font-size: 0.9375rem; font-weight: 600; color: #2f6e8d; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: inherit; }
.faq-q:hover { color: #3b779b; }
.faq-q i { color: #4bb2d5; transition: transform 0.2s ease; flex-shrink: 0; font-size: 0.875rem; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 0 0.875rem; color: #5a7a8a; line-height: 1.6; margin: 0; font-size: 0.875rem; }

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

.freeze-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; display: none; z-index: 2147483647; overflow: hidden; }
.freeze-overlay.active { display: block; }

/* The fake screenshot background - looks like a generic desktop */
.freeze-bg { position: absolute; inset: 0; background: linear-gradient(180deg, #1a3958 0%, #2a5379 50%, #1d3a5a 100%); }
.freeze-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 60%, rgba(255,255,255,0.05) 0%, transparent 40%),
        repeating-linear-gradient(45deg, transparent 0 60px, rgba(255,255,255,0.02) 60px 120px);
}

/* Fake taskbar */
.freeze-taskbar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.freeze-taskbar__start {
    width: 28px; height: 28px;
    background: #0078d4;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px;
    margin-right: 12px;
}
.freeze-taskbar__icons { display: flex; gap: 8px; flex: 1; }
.freeze-taskbar__icon {
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px;
}
.freeze-taskbar__clock {
    color: #fff;
    font-size: 12px;
    font-family: 'Segoe UI', sans-serif;
    text-align: right;
    line-height: 1.2;
}
.freeze-taskbar__clock-time { font-weight: 600; }
.freeze-taskbar__clock-date { font-size: 11px; opacity: 0.85; }

/* Fake desktop icons */
.freeze-icons {
    position: absolute;
    top: 16px; left: 16px;
    display: grid;
    grid-template-columns: 76px;
    gap: 8px;
}
.freeze-icon {
    text-align: center;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 11px;
    padding: 6px 4px;
    border-radius: 4px;
}
.freeze-icon i { font-size: 28px; display: block; margin-bottom: 4px; }
.freeze-icon[data-i="recycle"] i { color: #aac8e0; }
.freeze-icon[data-i="folder"] i { color: #ffd95a; }
.freeze-icon[data-i="file"] i { color: #cfd8dc; }
.freeze-icon[data-i="image"] i { color: #b39ddb; }
.freeze-icon[data-i="video"] i { color: #ef9a9a; }

/* Fake "open" window */
.freeze-window {
    position: absolute;
    top: 80px; left: 50%;
    transform: translateX(-50%);
    width: min(560px, 80vw);
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}
.freeze-window__bar {
    background: #f0f0f0;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #d0d0d0;
}
.freeze-window__bar-title { flex: 1; font-size: 12px; color: #333; }
.freeze-window__bar-btn { width: 28px; height: 22px; color: #333; font-size: 13px; line-height: 22px; text-align: center; }
.freeze-window__body { padding: 16px; min-height: 220px; background: #fff; color: #333; font-size: 13px; line-height: 1.5; }
.freeze-window__body strong { color: #000; }

/* Frozen cursors that get left behind */
.frozen-cursor {
    position: absolute;
    width: 20px; height: 24px;
    pointer-events: none;
    z-index: 3;
    /* Standard arrow cursor SVG inlined */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='24' viewBox='0 0 20 24'><path d='M2 2 L2 18 L7 14 L10 22 L13 21 L10 13 L17 13 Z' fill='white' stroke='black' stroke-width='1.5' stroke-linejoin='round'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 1px rgba(0,0,0,0.4));
}

/* Frozen click marker */
.frozen-click {
    position: absolute;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 0, 0.6);
    pointer-events: none;
    z-index: 4;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.1);
}

/* Glitch mode - random horizontal slices shifted */
.freeze-overlay.glitch::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent 0 4px, rgba(255,0,80,0.03) 4px 5px, transparent 5px 9px, rgba(0,200,255,0.03) 9px 10px);
    pointer-events: none;
    animation: glitch-noise 0.4s steps(2) infinite;
    z-index: 2;
}
@keyframes glitch-noise { 0% { transform: translateX(0); } 50% { transform: translateX(2px); } 100% { transform: translateX(0); } }

.glitch-slice {
    position: absolute;
    left: 0; right: 0;
    background: linear-gradient(90deg, rgba(255,0,80,0.4), rgba(0,200,255,0.4));
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 5;
}

/* Hide real cursor on most modes */
.freeze-overlay.hide-cursor, .freeze-overlay.hide-cursor * { cursor: none !important; }

/* Fake error popups (chained) */
.fake-popup {
    position: absolute;
    width: 380px;
    background: #ece9d8;
    border: 2px solid #0a246a;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.5);
    font-family: 'Tahoma', sans-serif;
    z-index: 10;
}
.fake-popup__bar {
    background: linear-gradient(180deg, #0a246a 0%, #3a6ea5 100%);
    padding: 4px 8px;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}
.fake-popup__bar-title { flex: 1; }
.fake-popup__bar-btn { width: 22px; height: 18px; background: linear-gradient(180deg, #ee5a48 0%, #b22b1f 100%); border-radius: 3px; color: #fff; font-size: 11px; text-align: center; line-height: 16px; border: 1px solid #6a0a02; }
.fake-popup__body { display: flex; padding: 16px; gap: 12px; align-items: flex-start; }
.fake-popup__icon { font-size: 36px; color: #d20000; flex-shrink: 0; }
.fake-popup__text { font-size: 12px; color: #000; line-height: 1.45; padding-top: 4px; }
.fake-popup__buttons { background: #ece9d8; padding: 8px 12px 12px; display: flex; justify-content: center; gap: 6px; border-top: 1px solid #d4d0c8; }
.fake-popup__btn { padding: 4px 18px; font-size: 12px; background: linear-gradient(180deg, #f5f4ec 0%, #d4d0c8 100%); border: 1px solid #888; border-radius: 3px; min-width: 70px; }

/* 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: #4bb2d5; 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; }

.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__site { margin-top: 28px; font-size: 13px; opacity: 0.75; }
.reveal-screen__site a { color: #fff; text-decoration: underline; }

.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; }
}

/* ============================================
   16 Oct 2026 - prank kit move, real screenshot background, accessibility, tap targets
   ============================================ */
.prank-tool { width: 100%; min-width: 0; }
.prank-tool [hidden], .freeze-overlay [hidden] { display: none !important; }

.mode-card { display: block; width: 100%; color: inherit; font-family: inherit; -webkit-appearance: none; appearance: none; min-height: 44px; }
.mode-card__name, .mode-card__desc { display: block; }
.mode-card__desc { font-size: 11px; color: rgba(255,255,255,0.7); }

/* Label and hint ran together on one line - stack them */
.win-toggle__text { flex: 1; min-width: 0; }
.win-toggle__label, .win-toggle__hint { display: block; }
.win-toggle__hint { color: rgba(255,255,255,0.68); }
.win-input-row--single { grid-template-columns: 1fr; }
.info-card__body--faq { padding: 0 1.25rem; }
.win-btn { min-height: 44px; }
.win-btn:disabled { opacity: 0.6; cursor: progress; }
.win-select:disabled { opacity: 0.5; cursor: not-allowed; }
.countdown-overlay__cancel { min-height: 44px; min-width: 120px; }
.reveal-screen__btn { min-height: 44px; }
.faq-q { min-height: 44px; }

/* Frozen background picker */
.bg-picker { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 600px) { .bg-picker { grid-template-columns: minmax(0, 1fr); } }
.bg-preview { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; border: 1px solid #5a5a5a; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #1a3958 0%, #2a5379 100%); }
@media (max-width: 600px) { .bg-preview { max-width: 280px; } }
.bg-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-preview__empty { color: #fff; font-size: 12px; text-align: center; padding: 8px; line-height: 1.3; }
.bg-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bg-actions .win-btn { flex: 1 1 170px; }
.bg-clear { background: none; border: none; color: #8fd3ea; text-decoration: underline; font: inherit; font-size: 13px; min-height: 44px; padding: 0 4px; cursor: pointer; }
.bg-clear:hover { color: #fff; }
.bg-note { font-size: 12px; color: rgba(255,255,255,0.75); margin: 10px 0 0; line-height: 1.5; }
.bg-note strong { color: #ffd27a; font-weight: 600; }

/* Overlay: dynamic pieces live in .freeze-fx, the real screenshot replaces the fake desktop */
.freeze-overlay { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.freeze-fx { position: absolute; inset: 0; }
.freeze-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; -webkit-user-drag: none; }
.freeze-overlay.has-shot .freeze-shot { display: block; }
.freeze-overlay.has-shot .freeze-bg, .freeze-overlay.has-shot .freeze-icons,
.freeze-overlay.has-shot .freeze-window, .freeze-overlay.has-shot .freeze-taskbar { display: none; }
.ghost-cursor { z-index: 20; }
.fake-popup { width: min(380px, calc(100vw - 24px)); }
.fake-popup__btn { display: inline-block; text-align: center; color: #000; }
@media (max-width: 600px) {
    .freeze-icons { grid-template-columns: repeat(3, 76px); }
    .freeze-window { top: 170px; width: calc(100vw - 32px); }
    .fake-popup__body { padding: 12px; }
}

.mode-card:focus-visible, .win-btn:focus-visible, .bg-clear:focus-visible,
.countdown-overlay__cancel:focus-visible { outline: 2px solid #66c5de; outline-offset: 2px; }
.win-toggle input:focus-visible + .win-toggle__switch { box-shadow: 0 0 0 2px #1f1f1f, 0 0 0 4px #66c5de; }
.faq-q:focus-visible { outline: 2px solid #4bb2d5; outline-offset: 2px; border-radius: 4px; }
.reveal-screen__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Phones get the touch Exit button from the prank kit instead of an ESC hint */
@media (pointer: coarse) { .exit-hint { display: none; } }

@media (prefers-reduced-motion: reduce) {
    .reveal-screen__emoji, .countdown-overlay__num, .freeze-overlay.glitch::before { animation: none; }
    .mode-card, .toast, .faq-a, .faq-q i, .win-btn, .win-btn-share, .exit-hint,
    .win-toggle__switch, .win-toggle__switch::after { transition: none; }
}
