.prank-tool { max-width: 960px; margin: 0 auto; }

.hero-section { text-align: center; padding: 2.5rem 1.5rem; background: linear-gradient(135deg, #0a1428 0%, #050a14 100%); border-radius: 8px; margin-bottom: 2rem; position: relative; overflow: hidden; border: 1px solid #1a2a3a; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 70%, rgba(75, 178, 213, 0.10) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(96, 205, 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)); animation: heroSpin 3s linear infinite; }
@keyframes heroSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.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; }

.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 700px) { .style-grid { grid-template-columns: repeat(2, 1fr); } }
.style-card { 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: #4bb2d5; }
.style-card.active { background: rgba(75, 178, 213, 0.12); border-color: #4bb2d5; }
.style-card__icon { width: 36px; height: 36px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #4bb2d5; }
.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.68); margin: 3px 0 0; line-height: 1.3; }

.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
.preset-chip { background: #363636; border: 1px solid #5a5a5a; color: #fff; min-height: 44px; padding: 8px 14px; border-radius: 22px; font-size: 13px; cursor: pointer; transition: all 0.15s ease; font-family: inherit; }
.preset-chip:hover { background: #404040; border-color: #4bb2d5; color: #4bb2d5; }

.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, .win-textarea { 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, .win-textarea:focus { background: #2a2a2a; border-color: #66c5de; border-bottom-color: #66c5de; }
.win-input::placeholder, .win-textarea::placeholder { color: rgba(255,255,255,0.5); }
.win-textarea { resize: vertical; min-height: 90px; font-family: inherit; }

/* Color picker */
.color-picker-wrap { display: flex; gap: 10px; align-items: center; }
.color-picker-wrap input[type="color"] { width: 50px; height: 44px; border: 1px solid #5a5a5a; border-radius: 4px; cursor: pointer; padding: 2px; background: #1f1f1f; }
.color-picker-wrap input[type="text"] { flex: 1; padding: 10px 14px; font-size: 14px; background: #1f1f1f; border: 1px solid #5a5a5a; border-bottom: 2px solid #4bb2d5; border-radius: 4px 4px 0 0; color: #fff; outline: none; font-family: 'Segoe UI', monospace; }
.color-presets { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.color-preset { width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.color-preset::before { content: ''; width: 30px; height: 30px; border-radius: 50%; background: var(--swatch, #4bb2d5); border: 2px solid rgba(255,255,255,0.2); box-sizing: border-box; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.color-preset:hover::before { transform: scale(1.12); }
.color-preset[aria-pressed="true"]::before { border-color: #fff; box-shadow: 0 0 0 2px #4bb2d5; }

.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.68); 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: #1e7e34; border-color: #1e7e34; 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: #5a7a8a; 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; }

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

.load-overlay { position: fixed; inset: 0; display: none; z-index: 2147483647; overflow: hidden; flex-direction: column; align-items: center; justify-content: center; --brand: #4bb2d5; }
.load-overlay.active { display: flex; }

/* GENERIC SPINNER (centered card on dark gradient) */
.load-overlay--generic { background: linear-gradient(135deg, #0f1923 0%, #1a2a3c 50%, #0a141e 100%); color: #fff; font-family: 'Segoe UI', 'Inter', system-ui, sans-serif; }
.load-overlay--generic .load-content { text-align: center; padding: 24px; max-width: 92vw; }
.load-overlay--generic .load-logo { font-size: 64px; margin-bottom: 24px; line-height: 1; }
.load-overlay--generic .load-spinner-ring { width: 70px; height: 70px; margin: 0 auto 28px; border: 4px solid rgba(255,255,255,0.12); border-top-color: var(--brand); border-radius: 50%; animation: ringSpin 1.1s linear infinite; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
.load-overlay--generic .load-title { font-size: 26px; font-weight: 600; margin: 0 0 10px; }
.load-overlay--generic .load-subtitle { font-size: 15px; color: rgba(255,255,255,0.75); margin: 0 0 18px; min-height: 22px; transition: opacity 0.4s ease; }
.load-overlay--generic .load-progressbar { width: 320px; max-width: 90vw; height: 4px; background: rgba(255,255,255,0.12); border-radius: 2px; overflow: hidden; margin: 14px auto 0; }
.load-overlay--generic .load-progressbar-fill { height: 100%; width: 0%; background: var(--brand); border-radius: 2px; transition: width 0.2s ease; }
.load-overlay--generic .load-percent { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 10px; font-variant-numeric: tabular-nums; }

/* WINDOWS BOOT */
.load-overlay--winboot { background: #000; color: #fff; font-family: 'Segoe UI', system-ui, sans-serif; }
.load-overlay--winboot .load-content { text-align: center; padding: 24px; }
.load-overlay--winboot .load-logo { font-size: 96px; margin-bottom: 50px; color: #fff; line-height: 1; }
.load-overlay--winboot .load-spinner-dots { display: flex; gap: 10px; justify-content: center; margin-bottom: 28px; }
.load-overlay--winboot .load-spinner-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: dotsRing 2s ease-in-out infinite; opacity: 0.7; }
.load-overlay--winboot .load-spinner-dots span:nth-child(2) { animation-delay: 0.15s; }
.load-overlay--winboot .load-spinner-dots span:nth-child(3) { animation-delay: 0.3s; }
.load-overlay--winboot .load-spinner-dots span:nth-child(4) { animation-delay: 0.45s; }
.load-overlay--winboot .load-spinner-dots span:nth-child(5) { animation-delay: 0.6s; }
@keyframes dotsRing { 0%, 80%, 100% { opacity: 0.2; transform: scale(0.7); } 40% { opacity: 1; transform: scale(1.1); } }
.load-overlay--winboot .load-title { font-size: 22px; font-weight: 300; margin: 0 0 10px; }
.load-overlay--winboot .load-subtitle { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0; min-height: 20px; font-weight: 300; transition: opacity 0.4s ease; }
.load-overlay--winboot .load-percent { font-size: 28px; color: #fff; font-weight: 200; margin-top: 30px; font-variant-numeric: tabular-nums; }
.load-overlay--winboot .load-progressbar, .load-overlay--winboot .load-progressbar-fill { display: none; }
.load-overlay--winboot.with-progress .load-spinner-dots { display: none; }

/* MACOS BOOT */
.load-overlay--macboot { background: #000; color: #fff; font-family: -apple-system, 'SF Pro Display', system-ui, sans-serif; }
.load-overlay--macboot .load-content { text-align: center; padding: 24px; }
.load-overlay--macboot .load-logo { font-size: 88px; margin-bottom: 80px; color: #fff; line-height: 1; opacity: 0.95; }
.load-overlay--macboot .load-progressbar { width: 320px; max-width: 80vw; height: 5px; background: rgba(255,255,255,0.12); border-radius: 3px; overflow: hidden; margin: 0 auto; }
.load-overlay--macboot .load-progressbar-fill { height: 100%; width: 0%; background: rgba(255,255,255,0.85); border-radius: 3px; transition: width 0.2s ease; }
.load-overlay--macboot .load-spinner-ring { display: none; }
.load-overlay--macboot.indeterminate .load-progressbar { position: relative; }
.load-overlay--macboot.indeterminate .load-progressbar-fill { width: 30% !important; animation: macIndeterminate 1.6s ease-in-out infinite; }
@keyframes macIndeterminate { 0% { transform: translateX(-100%); } 100% { transform: translateX(360%); } }
.load-overlay--macboot .load-title { display: none; }
.load-overlay--macboot .load-subtitle { font-size: 13px; color: rgba(255,255,255,0.6); margin: 18px 0 0; min-height: 20px; font-weight: 400; transition: opacity 0.4s ease; }
.load-overlay--macboot .load-percent { display: none; }

/* GAME LOADING */
.load-overlay--game { background: linear-gradient(135deg, #1a0a2a 0%, #2a0d4a 50%, #0a0520 100%); color: #fff; font-family: 'Segoe UI', system-ui, sans-serif; padding: 40px 20px; box-sizing: border-box; }
.load-overlay--game::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 70%, rgba(150, 80, 255, 0.18) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(255, 80, 150, 0.12) 0%, transparent 50%); }
.load-overlay--game .load-content { text-align: center; padding: 24px; position: relative; z-index: 1; max-width: 720px; }
.load-overlay--game .load-logo { font-size: 72px; margin-bottom: 32px; line-height: 1; filter: drop-shadow(0 0 20px var(--brand)); }
.load-overlay--game .load-title { font-size: 36px; font-weight: 800; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 4px; text-shadow: 0 0 24px var(--brand); }
.load-overlay--game .load-subtitle { font-size: 16px; color: rgba(255,255,255,0.85); font-style: italic; margin: 0 0 36px; min-height: 22px; transition: opacity 0.4s ease; max-width: 560px; margin-left: auto; margin-right: auto; }
.load-overlay--game .load-spinner-ring { display: none; }
.load-overlay--game .load-spinner-dots { display: none; }
.load-overlay--game .load-progressbar { width: 480px; max-width: 90vw; height: 14px; background: rgba(255,255,255,0.12); border-radius: 7px; overflow: hidden; margin: 0 auto 12px; border: 1px solid rgba(255,255,255,0.2); }
.load-overlay--game .load-progressbar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 60%, white)); border-radius: 7px; transition: width 0.2s ease; box-shadow: 0 0 16px var(--brand); }
.load-overlay--game .load-percent { font-size: 16px; color: rgba(255,255,255,0.8); font-weight: 600; margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.load-overlay--game.indeterminate .load-progressbar-fill { width: 35% !important; animation: macIndeterminate 1.6s ease-in-out infinite; }
.load-overlay--game.indeterminate .load-percent { display: none; }

/* WEB APP LOADING */
.load-overlay--webapp { background: #fafafa; color: #1a1a1a; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; }
.load-overlay--webapp .load-content { text-align: center; padding: 24px; }
.load-overlay--webapp .load-logo { font-size: 56px; margin-bottom: 28px; line-height: 1; color: var(--brand); }
.load-overlay--webapp .load-spinner-dots { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; }
.load-overlay--webapp .load-spinner-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); animation: bounceDot 1.4s ease-in-out infinite; }
.load-overlay--webapp .load-spinner-dots span:nth-child(2) { animation-delay: 0.16s; }
.load-overlay--webapp .load-spinner-dots span:nth-child(3) { animation-delay: 0.32s; }
.load-overlay--webapp .load-spinner-dots span:nth-child(4) { display: none; }
.load-overlay--webapp .load-spinner-dots span:nth-child(5) { display: none; }
@keyframes bounceDot { 0%, 80%, 100% { transform: translateY(0); opacity: 0.4; } 40% { transform: translateY(-12px); opacity: 1; } }
.load-overlay--webapp .load-title { font-size: 22px; font-weight: 600; margin: 0 0 8px; color: #1a1a1a; }
.load-overlay--webapp .load-subtitle { font-size: 14px; color: #6a6a6a; margin: 0 0 18px; min-height: 20px; transition: opacity 0.4s ease; }
.load-overlay--webapp .load-progressbar { width: 280px; max-width: 90vw; height: 6px; background: #e5e5e5; border-radius: 3px; overflow: hidden; margin: 8px auto 0; }
.load-overlay--webapp .load-progressbar-fill { height: 100%; width: 0%; background: var(--brand); border-radius: 3px; transition: width 0.2s ease; }
.load-overlay--webapp .load-percent { font-size: 12px; color: #888; margin-top: 8px; font-variant-numeric: tabular-nums; }
.load-overlay--webapp.indeterminate .load-progressbar { display: none; }
.load-overlay--webapp.indeterminate .load-percent { display: none; }
.load-overlay--webapp:not(.indeterminate) .load-spinner-dots { display: none; }

/* SYSTEM RECOVERY */
.load-overlay--recovery { background: #0078d4; color: #fff; font-family: 'Segoe UI', system-ui, sans-serif; }
.load-overlay--recovery .load-content { text-align: center; padding: 40px 24px; max-width: 680px; }
.load-overlay--recovery .load-logo { font-size: 0; margin-bottom: 32px; }
.load-overlay--recovery .load-spinner-ring {
    width: 70px; height: 70px; margin: 0 auto 36px;
    border: 5px solid rgba(255,255,255,0.18);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ringSpin 1.1s linear infinite;
}
.load-overlay--recovery .load-title { font-size: 32px; font-weight: 300; margin: 0 0 18px; line-height: 1.3; }
.load-overlay--recovery .load-subtitle { font-size: 17px; color: rgba(255,255,255,0.92); margin: 0 0 32px; min-height: 24px; font-weight: 300; transition: opacity 0.4s ease; line-height: 1.5; }
.load-overlay--recovery .load-progressbar { width: 360px; max-width: 92vw; height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden; margin: 20px auto 0; }
.load-overlay--recovery .load-progressbar-fill { height: 100%; width: 0%; background: #fff; border-radius: 2px; transition: width 0.2s ease; }
.load-overlay--recovery .load-percent { font-size: 16px; color: rgba(255,255,255,0.85); font-weight: 300; margin-top: 12px; font-variant-numeric: tabular-nums; }
.load-overlay--recovery .load-warning { margin-top: 40px; font-size: 12px; color: rgba(255,255,255,0.8); font-weight: 600; letter-spacing: 1px; }
.load-overlay--recovery.indeterminate .load-progressbar, .load-overlay--recovery.indeterminate .load-percent { display: none; }
.load-overlay--recovery .load-spinner-dots { display: none; }

/* Generic .load-warning gone in non-recovery */
.load-overlay:not(.load-overlay--recovery) .load-warning { display: none; }

/* Hide percent in indeterminate mode unless explicitly used */
.load-overlay.indeterminate .load-percent:not(.show-always) { display: none; }
.load-overlay.indeterminate .load-progressbar:not(.show-always) { /* keep for mac/game/recovery special handling above */ }

/* 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: 2147483647; 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; }
    .load-overlay--game .load-title { font-size: 24px; letter-spacing: 2px; }
    .load-overlay--recovery .load-title { font-size: 24px; }
}

/* Phones: the colour hex input kept its default width and pushed the page column out */
.prank-tool { width: 100%; min-width: 0; } /* margin: 0 auto turned off flex stretch on phones, so the box grew to its widest child */
.color-picker-wrap input[type="text"] { min-width: 0; }

/* ============================================
   16 Oct 2026 - prank kit move, accessibility, tap targets
   ============================================ */
.style-card { display: block; width: 100%; color: inherit; font-family: inherit; -webkit-appearance: none; appearance: none; }
.style-card__name, .style-card__desc { display: block; }
/* 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-input-row--single { grid-template-columns: 1fr; }
.win-input-row--spaced { margin-top: 12px; }
.info-card__body--faq { padding: 0 1.25rem; }
.win-btn { min-height: 44px; }
.countdown-overlay__cancel { min-height: 44px; min-width: 120px; }
.reveal-screen__btn { min-height: 44px; }
.win-select:disabled, .win-input:disabled { opacity: 0.5; cursor: not-allowed; }

.style-card:focus-visible, .preset-chip:focus-visible, .color-preset:focus-visible, .win-btn: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; }

/* Long titles or messages on a phone wrap instead of running off screen */
.load-title, .load-subtitle { overflow-wrap: anywhere; }
/* The generic spinner showed an empty progress track in indeterminate mode */
.load-overlay--generic.indeterminate .load-progressbar { display: none; }
.load-overlay.is-preview { cursor: pointer; }
/* 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) {
    .hero-section__icon, .reveal-screen__emoji, .countdown-overlay__num { animation: none; }
    .style-card, .preset-chip, .color-preset::before, .toast, .faq-a, .faq-q i, .win-btn,
    .win-toggle__switch, .win-toggle__switch::after { transition: none; }
}
