/* ============================================================
 * White Screen — animated prank / fake / OS screens
 * Every screen fills its host (.wss-host) completely.
 * ============================================================ */
.wss-host{position:relative;overflow:hidden;background:#000;color:#fff}
.wss{position:absolute;inset:0;font-family:Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden}
.wss *{box-sizing:border-box}
.wss-canvas{width:100%;height:100%;display:block;image-rendering:pixelated}
.wss .wss-small{font-size:.72em;opacity:.85}
.wss .wss-big{font-size:1.4em;margin:.6em 0 .2em}
.wss .wss-bar{width:min(420px,60%);height:6px;background:rgba(255,255,255,.25);border-radius:6px;overflow:hidden;margin:14px auto}
.wss .wss-bar span{display:block;height:100%;width:35%;background:#fff;animation:wss-slide 2.2s linear infinite}
@keyframes wss-slide{0%{transform:translateX(-100%)}100%{transform:translateX(300%)}}

/* BSOD */
.wss-bsod{background:#0078D7;display:flex;align-items:center;justify-content:center;padding:6%}
.wss-bsod-in{max-width:60ch;font-size:min(clamp(.6rem,1.5vw,1.1rem),3.2vh);line-height:1.45}
.wss-sad{font-size:2.2em;line-height:1;margin-bottom:.3em}
.wss-pct{margin:.8em 0}
.wss-qr{width:3.6em;height:3.6em;margin:.6em 0;background:
  repeating-conic-gradient(#fff 0 25%,#0078D7 0 50%) 0 0/1em 1em;border:.4em solid #fff}

/* Cracked / broken glass */
.wss-glass,.wss-cracked{background:#0b0d10}
.wss-glass{background:linear-gradient(135deg,#1b1f24,#2b3138 60%,#12161a)}
.wss-glass svg,.wss-cracked svg{width:100%;height:100%}
.wss-glass line,.wss-cracked line{stroke:rgba(255,255,255,.85);stroke-width:1.4}
.wss-glass polygon,.wss-cracked polygon{fill:none;stroke:rgba(255,255,255,.55);stroke-width:1}
.wss-cracked line{stroke:rgba(255,255,255,.8)}
.wss-overlay{background:transparent!important}

/* Broken LCD */
.wss-broken{background:#080808}
.wss-broken i{position:absolute;left:0;right:0;display:block;opacity:.75;animation:wss-glitch 1.6s steps(2) infinite}
@keyframes wss-glitch{0%,100%{transform:translateX(0);opacity:.75}50%{transform:translateX(6%);opacity:.35}}
.wss-blot{position:absolute;left:12%;top:18%;width:45%;height:55%;border-radius:50% 40% 60% 45%;
  background:radial-gradient(circle at 40% 40%,#1b1b3a,#000 70%);filter:blur(6px)}
.wss-blot2{left:auto;right:8%;top:35%;width:32%;height:40%;
  background:radial-gradient(circle at 60% 50%,#3a1b2b,#000 70%)}

/* Virus alert */
.wss-virus{background:#7f0012;display:flex;align-items:center;justify-content:center;padding:4%;animation:wss-flash 1.1s steps(2) infinite}
@keyframes wss-flash{0%,100%{background:#7f0012}50%{background:#b00020}}
.wss-virus-box{background:rgba(0,0,0,.35);border:2px solid #fff;border-radius:8px;padding:4% 5%;text-align:center;max-width:70ch;font-size:clamp(.65rem,1.5vw,1.05rem)}
.wss-virus-icon{font-size:2.6em;line-height:1}
.wss-virus-box h3{color:#fff;margin:.3em 0}
.wss-virus-box code{font-size:.9em;word-break:break-all}

/* Windows update */
.wss-update{background:#0b3b6f;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:5%;font-size:clamp(.7rem,1.5vw,1.1rem)}
.wss-ring{width:3.2em;height:3.2em;border-radius:50%;border:.28em solid rgba(255,255,255,.25);border-top-color:#fff;animation:wss-spin 1s linear infinite}
@keyframes wss-spin{to{transform:rotate(360deg)}}
.wss-spin{width:3em;height:3em;border-radius:50%;border:.25em solid rgba(255,255,255,.2);border-top-color:#fff;animation:wss-spin .9s linear infinite}

/* Hacker */
.wss-hacker{background:#010c02;color:#25ff5a;font-family:Consolas,Menlo,monospace;padding:1.5%}
.wss-term{position:absolute;inset:1.5%;overflow:hidden;font-size:clamp(.55rem,1.25vw,.95rem);line-height:1.35;text-shadow:0 0 6px rgba(37,255,90,.5)}

/* Mac error */
.wss-macerror{background:#2b2b2b;display:flex;align-items:center;justify-content:center;text-align:center;padding:6%}
.wss-mac-in{max-width:50ch;font-size:clamp(.7rem,1.5vw,1.1rem)}
.wss-apple{width:2.2em;height:2.6em;margin:0 auto .5em;background:#e6e6e6;border-radius:50% 50% 46% 46%/55% 55% 45% 45%;position:relative}
.wss-apple::after{content:"";position:absolute;right:.35em;top:-.28em;width:.55em;height:.5em;background:#e6e6e6;border-radius:0 60% 0 60%;transform:rotate(-15deg)}

/* Loading */
.wss-loading{background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}

/* No signal */
.wss-nosignal{background:#111}
.wss-bars{position:absolute;inset:0;display:flex}
.wss-bars i{flex:1}
.wss-nosig{position:absolute;left:10%;top:15%;background:#000;color:#fff;padding:.6em 1.2em;border:2px solid #fff;
  font-weight:700;letter-spacing:.15em;font-size:clamp(.7rem,2vw,1.6rem);transition:left .6s,top .6s}

/* Radar */
.wss-radar{background:radial-gradient(circle at 50% 50%,#00351c,#000d06 75%);display:flex;align-items:center;justify-content:center}
.wss-radar-face{position:relative;width:min(88%,88vh);aspect-ratio:1;border-radius:50%;border:2px solid rgba(0,255,120,.6);overflow:hidden}
.wss-radar-face span{position:absolute;border-radius:50%;border:1px solid rgba(0,255,120,.35)}
.wss-ring1{inset:12%}.wss-ring2{inset:28%}.wss-ring3{inset:44%}
.wss-cross{inset:0;border:0!important;background:
  linear-gradient(rgba(0,255,120,.35),rgba(0,255,120,.35)) center/100% 1px no-repeat,
  linear-gradient(rgba(0,255,120,.35),rgba(0,255,120,.35)) center/1px 100% no-repeat}
.wss-sweep{inset:0;border:0!important;border-radius:50%;
  background:conic-gradient(rgba(0,255,120,.55),rgba(0,255,120,0) 32%);animation:wss-spin 3.4s linear infinite}
.wss-blip{width:9px;height:9px;background:#7cff9e;border:0!important;box-shadow:0 0 12px #29ff70;animation:wss-blip 3.4s linear infinite}
.wss-blip.b1{left:64%;top:30%}.wss-blip.b2{left:33%;top:58%;animation-delay:1.1s}.wss-blip.b3{left:56%;top:71%;animation-delay:2.2s}
@keyframes wss-blip{0%{opacity:1}60%{opacity:.15}100%{opacity:0}}
.wss-radar-hud{position:absolute;left:3%;bottom:3%;right:3%;display:flex;justify-content:space-between;
  color:#59ff9b;font-family:Consolas,monospace;font-size:clamp(.55rem,1.3vw,1rem);letter-spacing:.1em}

/* Video call */
.wss-call{background:#1c1f26}
.wss-call-main{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:14%;
  background:radial-gradient(circle at 50% 35%,#39404d,#171a20)}
.wss-avatar{width:5em;height:5em;border-radius:50%;background:#4c7cf3;color:#fff;display:flex;align-items:center;
  justify-content:center;font-size:clamp(1rem,3vw,2rem);font-weight:600}
.wss-name{margin-top:.7em;font-size:clamp(.8rem,2vw,1.5rem)}
.wss-time{opacity:.7;font-size:clamp(.6rem,1.4vw,1rem);margin-top:.2em}
.wss-self{position:absolute;right:3%;top:5%;width:22%;aspect-ratio:4/3;background:#0f1115;border:1px solid rgba(255,255,255,.15);
  border-radius:8px;display:flex;align-items:flex-end;justify-content:flex-start;padding:6px;font-size:.7rem;opacity:.9}
.wss-callbar{position:absolute;left:0;right:0;bottom:4%;display:flex;gap:4%;justify-content:center}
.wss-callbar i{width:3.2em;height:3.2em;border-radius:50%;background:rgba(255,255,255,.15);display:block}
.wss-callbar i.end{background:#e0393e}

/* DVD */
.wss-dvd{background:#000}
.wss-dvd-logo{position:absolute;left:0;top:0;font-weight:800;font-style:italic;font-size:clamp(1.2rem,5vw,3.4rem);
  line-height:1;color:#ff4fd8;text-align:center;will-change:transform}
.wss-dvd-logo span{display:block;font-size:.32em;letter-spacing:.45em;font-style:normal;margin-top:-.2em}

/* Flip clock */
.wss-flip{background:#0d0d0f;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6em}
.wss-flip-row{display:flex;gap:.35em}
.wss-flip-row b{background:linear-gradient(#33363d 0 50%,#22252b 50% 100%);border-radius:.12em;
  padding:.12em .18em;font-size:min(clamp(1.6rem,13vw,8rem),22vh);line-height:1;font-family:Helvetica,Arial,sans-serif;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);position:relative}
.wss-flip-row b::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(0,0,0,.6)}
.wss-flip-date{opacity:.6;letter-spacing:.2em;font-size:clamp(.6rem,1.6vw,1.1rem)}

/* Waterfall */
.wss-waterfall{background:linear-gradient(#0d5f7a,#0a3d52 60%,#062b3a)}
.wss-rock{position:absolute;inset:0 0 66% 0;background:linear-gradient(#3b3428,#251f16);
  clip-path:polygon(0 0,100% 0,100% 62%,72% 76%,28% 76%,0 62%)}
.wss-fall{position:absolute;left:26%;right:26%;top:60%;bottom:12%}
.wss-fall i{position:absolute;top:-40%;width:2px;height:70%;background:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,.85));
  animation:wss-drop linear infinite}
@keyframes wss-drop{0%{transform:translateY(-20%)}100%{transform:translateY(180%)}}
.wss-mist{position:absolute;left:18%;right:18%;bottom:8%;height:24%;background:radial-gradient(ellipse at 50% 100%,rgba(255,255,255,.55),rgba(255,255,255,0) 70%);
  filter:blur(6px);animation:wss-mist 4s ease-in-out infinite alternate}
@keyframes wss-mist{from{opacity:.5}to{opacity:.9}}
.wss-pool{position:absolute;left:0;right:0;bottom:0;height:12%;background:linear-gradient(#0e6c8a,#08415a)}

/* --- OS: shared desktop bits --- */
.wss-xp-icons{position:absolute;left:2%;top:4%;display:flex;flex-direction:column;gap:1.2em;font-size:clamp(.5rem,1.1vw,.85rem);text-shadow:0 1px 2px #000}
.wss-xp-icons span{display:flex;flex-direction:column;align-items:center;width:6em;text-align:center}
.wss-xp-icons span::before{content:"";width:2.4em;height:2.4em;margin-bottom:.3em;border-radius:6px;
  background:linear-gradient(#e9f2ff,#9dbde0);box-shadow:0 1px 3px rgba(0,0,0,.5)}

/* Windows XP */
.wss-winxp{background:#3a8ee6}
.wss-xp-sky{position:absolute;inset:0 0 34% 0;background:linear-gradient(#2a7fd6,#7fc0f5 70%,#bfe0ff)}
.wss-xp-hill{position:absolute;left:0;right:0;bottom:6%;height:46%;background:linear-gradient(#6ab53e,#3f7a24);
  border-radius:60% 40% 0 0/100% 100% 0 0}
.wss-xp-bar{position:absolute;left:0;right:0;bottom:0;height:8%;min-height:30px;display:flex;align-items:center;justify-content:space-between;
  background:linear-gradient(#3a75d6,#245bbd 12%,#2f6ad0 90%,#1c4aa0);border-top:1px solid #6a9de8}
.wss-xp-start{background:linear-gradient(#5aa93f,#2f7d1f);color:#fff;font-style:italic;font-weight:700;
  padding:.25em 1.6em .25em .9em;border-radius:0 1em 1em 0;font-size:clamp(.6rem,1.6vw,1.1rem)}
.wss-xp-tray{background:#1a5ecb;height:100%;display:flex;align-items:center;padding:0 1em;font-size:clamp(.55rem,1.2vw,.9rem)}

/* Windows 10 */
.wss-win10{background:#0b4a86}
.wss-w10-bg{position:absolute;inset:0;background:radial-gradient(circle at 50% 45%,#1f6fb8,#062a4d 75%)}
.wss-w10-bar{position:absolute;left:0;right:0;bottom:0;height:7%;min-height:30px;background:rgba(0,0,0,.75);
  display:flex;align-items:center;gap:1em;padding:0 .8em;font-size:clamp(.55rem,1.2vw,.9rem)}
.wss-w10-logo{display:grid;grid-template-columns:1fr 1fr;gap:2px;width:1.5em;height:1.5em}
.wss-w10-logo i{background:#fff;display:block}
.wss-w10-search{background:rgba(255,255,255,.12);border-radius:2em;padding:.25em 1.4em;opacity:.85}
.wss-w10-tray{margin-left:auto;padding-right:.5em}

/* Microsoft boot */
.wss-msboot{background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2.4em}
.wss-ms-logo{display:grid;grid-template-columns:1fr 1fr;gap:.25em;width:clamp(60px,12vw,140px);aspect-ratio:1}
.wss-ms-logo i:nth-child(1){background:#f25022}.wss-ms-logo i:nth-child(2){background:#7fba00}
.wss-ms-logo i:nth-child(3){background:#00a4ef}.wss-ms-logo i:nth-child(4){background:#ffb900}
.wss-dots{display:flex;gap:.6em}
.wss-dots s{width:.5em;height:.5em;border-radius:50%;background:#fff;text-decoration:none;animation:wss-dot 1.2s ease-in-out infinite}
.wss-dots s:nth-child(2){animation-delay:.15s}.wss-dots s:nth-child(3){animation-delay:.3s}
.wss-dots s:nth-child(4){animation-delay:.45s}.wss-dots s:nth-child(5){animation-delay:.6s}
@keyframes wss-dot{0%,80%,100%{opacity:.15}40%{opacity:1}}

/* Mac OS X */
.wss-macos{background:#2b4a7a}
.wss-mac-bg{position:absolute;inset:0;background:linear-gradient(160deg,#12305e,#2f6ea8 45%,#8bb7d8)}
.wss-mac-menu{position:absolute;left:0;right:0;top:0;height:5%;min-height:22px;background:rgba(255,255,255,.75);color:#111;
  display:flex;align-items:center;gap:1.4em;padding:0 1em;font-size:clamp(.5rem,1.1vw,.85rem)}
.wss-mac-clock{margin-left:auto}
.wss-dock{position:absolute;left:50%;transform:translateX(-50%);bottom:2%;display:flex;gap:.6em;padding:.5em .7em;
  background:rgba(255,255,255,.25);border-radius:1em;backdrop-filter:blur(6px)}
.wss-dock i{width:clamp(20px,4vw,52px);aspect-ratio:1;border-radius:22%;display:block}
.wss-dock i:nth-child(1){background:#4c8bf5}.wss-dock i:nth-child(2){background:#34c759}
.wss-dock i:nth-child(3){background:#ff9f0a}.wss-dock i:nth-child(4){background:#ff375f}
.wss-dock i:nth-child(5){background:#af52de}.wss-dock i:nth-child(6){background:#8e8e93}

/* Ubuntu */
.wss-ubuntu{background:#2c001e}
.wss-ub-bg{position:absolute;inset:0;background:radial-gradient(circle at 65% 40%,#772953,#2c001e 70%)}
.wss-ub-top{position:absolute;left:0;right:0;top:0;height:5%;min-height:22px;background:rgba(0,0,0,.8);
  display:flex;align-items:center;justify-content:space-between;padding:0 1em;font-size:clamp(.5rem,1.1vw,.85rem)}
.wss-ub-dock{position:absolute;left:0;top:5%;bottom:0;width:6%;min-width:44px;background:rgba(0,0,0,.6);
  display:flex;flex-direction:column;align-items:center;gap:.7em;padding-top:.8em}
.wss-ub-dock i{width:70%;aspect-ratio:1;border-radius:20%;display:block;background:#e95420}
.wss-ub-dock i:nth-child(2){background:#dd4814}.wss-ub-dock i:nth-child(3){background:#77216f}
.wss-ub-dock i:nth-child(4){background:#5e2750}.wss-ub-dock i:nth-child(5){background:#aea79f}

/* Chrome OS */
.wss-chromeos{background:#dfe6ee;color:#222}
.wss-cr-bg{position:absolute;inset:0;background:linear-gradient(160deg,#eef3f8,#c9d8e8)}
.wss-cr-shelf{position:absolute;left:0;right:0;bottom:0;height:7%;min-height:30px;background:rgba(255,255,255,.85);
  display:flex;align-items:center;gap:.8em;padding:0 1em;box-shadow:0 -1px 4px rgba(0,0,0,.12);font-size:clamp(.5rem,1.1vw,.85rem)}
.wss-cr-circle{width:1.5em;height:1.5em;border-radius:50%;background:conic-gradient(#ea4335 0 33%,#fbbc05 0 66%,#34a853 0 100%)}
.wss-cr-shelf i{width:1.5em;height:1.5em;border-radius:6px;background:#4285f4;display:block}
.wss-cr-shelf i:nth-of-type(2){background:#34a853}.wss-cr-shelf i:nth-of-type(3){background:#fbbc05}
.wss-cr-status{margin-left:auto}

/* ------------- fullscreen overlay chrome ------------- */
.fullscreen-color{position:fixed;inset:0;z-index:99999;cursor:pointer;background:#fff}
.fullscreen-color.has-screen{cursor:default}
.ws-fs-exit{position:fixed;top:14px;right:14px;z-index:100000;background:rgba(0,0,0,.55);color:#fff;border:0;
  border-radius:999px;padding:10px 18px;font-size:15px;line-height:1;cursor:pointer;opacity:.9;
  -webkit-tap-highlight-color:transparent}
.ws-fs-exit:hover{opacity:1}
.ws-fs-hint{position:fixed;left:50%;transform:translateX(-50%);bottom:18px;z-index:100000;color:#fff;
  background:rgba(0,0,0,.5);padding:8px 16px;border-radius:999px;font-size:13px;pointer-events:none;
  animation:ws-hint 4s forwards}
@keyframes ws-hint{0%,70%{opacity:1}100%{opacity:0}}
body.ws-fs-open{overflow:hidden}

/* Screen cards / grouped hero sections */
.ws-group-heading{font-size:1.15rem;font-weight:600;margin:1.8rem 0 .2rem;text-align:center;opacity:.9}
.ws-prank-grid .color-card .box{position:relative;overflow:hidden}
.wss-apple-sm{width:.75em;height:.9em;background:#111;border-radius:50% 50% 46% 46%/55% 55% 45% 45%;display:inline-block}

/* Fullscreen chrome auto-hides while idle; any input brings it back. */
.ws-fs-exit,.ws-fs-hint{transition:opacity .35s ease,visibility .35s ease}
.ws-fs-exit.ws-fs-idle,.ws-fs-hint.ws-fs-idle{opacity:0;visibility:hidden;pointer-events:none}

/* Live animated previews inside the small hero cards. */
.color-card .box[data-ws-screen]{position:relative;overflow:hidden;background:#000}
.color-card .box[data-ws-screen] .wss{font-size:9px}
.color-card .box[data-ws-screen] .wss .wss-big{font-size:1.1em}
.color-card .box[data-ws-screen] .wss-bsod-in{font-size:6px;line-height:1.35}
.color-card .box[data-ws-screen] *{pointer-events:none}
