/* ---------- base ---------- */
/* Frutiger Aero cursors: glossy aqua glass arrow; glossy aero-green arrow over anything clickable */
:root{
  --cur:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23FFFFFF'/><stop offset='.45' stop-color='%23CFF2FF'/><stop offset='.55' stop-color='%2352BDF2'/><stop offset='1' stop-color='%231A78D2'/></linearGradient></defs><path d='M4.5 4.5L4.5 26L10.2 20.6L14.4 29.4L18.6 27.5L14.5 18.9L22 18.9Z' fill='%23000' opacity='.25'/><path d='M3 3L3 24.5L8.7 19.1L12.9 27.9L17.1 26L13 17.4L20.5 17.4Z' fill='url(%23g)' stroke='%2306386E' stroke-width='1.2' stroke-linejoin='round'/><path d='M4.4 6.2L4.4 15.5L10.6 11.4Z' fill='%23fff' opacity='.7'/></svg>") 3 3, auto;
  --cur-hand:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23FFFFFF'/><stop offset='.45' stop-color='%23DFFFD0'/><stop offset='.55' stop-color='%235BD36B'/><stop offset='1' stop-color='%231E9B3C'/></linearGradient></defs><path d='M4.5 4.5L4.5 26L10.2 20.6L14.4 29.4L18.6 27.5L14.5 18.9L22 18.9Z' fill='%23000' opacity='.25'/><path d='M3 3L3 24.5L8.7 19.1L12.9 27.9L17.1 26L13 17.4L20.5 17.4Z' fill='url(%23g)' stroke='%230E5A22' stroke-width='1.2' stroke-linejoin='round'/><path d='M4.4 6.2L4.4 15.5L10.6 11.4Z' fill='%23fff' opacity='.7'/></svg>") 3 3, pointer;
}
/* one clean font for everything (Inter); plain blue page colour with pixel-art clouds */
:root{--ui:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--sky:#3270C4;--sky-dark:#1D4F99}
html,body{cursor:var(--cur)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--sky);color:#000;font:14px/1.5 var(--ui)}
a{color:#0000EE}a:hover{color:#C00000}
h2{margin:0;font-size:20px}
.jp{font-family:'Noto Sans JP',sans-serif;font-weight:500;font-size:11px;opacity:.8}
.pixel{font-family:'Silkscreen',monospace}
.nowrap{white-space:nowrap}

.desktop{position:relative;min-height:100vh;padding-bottom:40px;overflow:clip; /* clip, not hidden: hidden breaks the sticky taskbar */
  background:var(--sky)}
.sky{position:absolute;inset:-24px;z-index:0;pointer-events:none;background:url(assets/pixel-sky.svg) repeat;background-size:600px;will-change:transform}
.wrap{position:relative;z-index:1;max-width:980px; /* Win98 desktop feel: windows stay this size even on big monitors */margin:0 auto;padding:56px 16px 0;display:flex;flex-direction:column;gap:44px}
/* the parts above the windows (stats strip, best edits) are a bit wider */
.wide{position:relative;z-index:1;max-width:1240px;margin:0 auto;padding:0 24px}
/* Frutiger Aero mouse: glossy soap bubbles float up from the cursor; clicks make a water ripple */
.fx-trail{position:fixed;inset:0;pointer-events:none;z-index:45;overflow:hidden}
.fx-trail .bub{position:absolute;border-radius:50%;animation:rise 1.8s ease-out forwards;
  background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.95) 0 12%,rgba(255,255,255,.28) 24%,rgba(170,235,255,.10) 55%,rgba(255,255,255,.6) 71%,rgba(255,255,255,0) 74%),
             conic-gradient(from 200deg,rgba(255,180,240,.18),rgba(160,240,255,.18),rgba(200,255,190,.18),rgba(255,180,240,.18));
  border:1px solid rgba(150,215,245,.75); /* thin blue rim so bubbles also show over the light grey windows */
  box-shadow:0 0 6px rgba(140,225,255,.45),inset 0 0 3px rgba(60,150,220,.35)}
@keyframes rise{0%{opacity:0;transform:translate(0,0) scale(.4)}15%{opacity:1}100%{opacity:0;transform:translate(var(--dx),-70px) scale(1.05)}}
.fx-trail .ripple{position:absolute;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;
  border:2px solid rgba(190,240,255,.9);box-shadow:0 0 10px rgba(127,220,255,.7),inset 0 0 6px rgba(255,255,255,.6);animation:ripple .7s ease-out forwards}
@keyframes ripple{to{transform:scale(5);opacity:0}}
section{scroll-margin-top:56px}

/* ---------- windows 98 parts ---------- */
.w98{background:#C0C0C0;border:2px solid;border-color:#fff #404040 #404040 #fff;
  box-shadow:inset -1px -1px #808080,inset 1px 1px #DFDFDF,5px 5px 0 rgba(0,0,0,.45)}
.tb{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:3px 4px 3px 6px;
  background:linear-gradient(90deg,#000080,#1084D0);color:#fff;font:600 12px var(--ui)}
.tb-title{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.tbbs{display:flex;gap:2px;flex-shrink:0}
.tbb{width:16px;height:14px;background:#C0C0C0;border:1px solid;border-color:#fff #404040 #404040 #fff;color:#000;font:bold 9px Tahoma;display:inline-flex;align-items:center;justify-content:center}
.ico{width:16px;height:14px;flex-shrink:0}
.menu{display:flex;gap:14px;padding:3px 8px;font-size:12px;user-select:none}
.address{display:flex;align-items:center;gap:6px;padding:2px 8px 6px;font-size:12px}
.field{flex-grow:1;background:#fff;padding:3px 6px;min-width:0;overflow:hidden;white-space:nowrap}
.sunk{border:2px solid;border-color:#808080 #fff #fff #808080;box-shadow:inset 1px 1px #404040}
.pane{margin:0 6px;background:#fff;padding:18px}
.pane-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px;margin-bottom:18px}
.pane-head span{font-size:13px;color:#444}
.status{display:flex;gap:3px;padding:4px 6px;font-size:12px}
.status>div{padding:2px 6px;white-space:nowrap;overflow:hidden}
.grow{flex-grow:1}.w120{width:120px}.w160{width:160px}.w220{width:220px}
.b98{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;min-width:88px;padding:0 14px;
  background:#C0C0C0;border:2px solid;border-color:#fff #404040 #404040 #fff;box-shadow:inset -1px -1px #808080;
  font:500 13px var(--ui);color:#000;text-decoration:none;cursor:pointer}
.b98:hover{background:#D4D0C8;color:#000}
.b98:active{border-color:#404040 #fff #fff #404040;box-shadow:inset 1px 1px #808080}
.b98:focus-visible,.file:focus-visible,.bubble:focus-visible{outline:1px dotted #000;outline-offset:-5px}
.b98.sq{min-width:40px;padding:0 10px}
.b98.default{font-weight:bold;outline:1px solid #000}

/* ---------- taskbar ---------- */
.taskbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:4px;padding:3px 4px;flex-wrap:wrap;box-shadow:inset 0 1px #fff}
.taskbar .start{font-weight:bold;min-width:0}
@media (max-width:1180px){.taskbar .b98{min-width:0;padding:0 10px}} /* keep the taskbar on one row on smaller laptops */
.sep{width:2px;height:26px;border-left:1px solid #808080;border-right:1px solid #fff}
.tray{margin-left:auto;display:flex;align-items:center;gap:10px;padding:2px 8px;font-size:12px}
.tray-btn{font:700 11px var(--ui);background:#C0C0C0;border:1px solid;border-color:#fff #404040 #404040 #fff;cursor:pointer;padding:1px 5px}
.crt-toggle[aria-pressed="false"]{border-color:#404040 #fff #fff #404040;color:#808080}
/* tray speaker: waves when on, red X when off */
.snd-toggle{display:inline-flex;align-items:center;padding:1px 4px}
.snd-toggle svg{width:16px;height:14px;display:block}
.snd-toggle .mute{display:none}
.snd-toggle[aria-pressed="false"]{border-color:#404040 #fff #fff #404040}
.snd-toggle[aria-pressed="false"] .waves{display:none}
.snd-toggle[aria-pressed="false"] .mute{display:inline}

/* ---------- showreel: full width, widescreen, right under the taskbar ---------- */
.hero{position:relative;z-index:1;background:#000}
.hero,.intro,.best,main.wrap{will-change:transform} /* handheld camera sway (app.js 11b) */
/* banner strip across the whole page (the 16:9 video is cropped top and bottom to fit) */
.hero .screen.big{aspect-ratio:auto;height:clamp(230px,52vh,620px);max-height:56.25vw;border:0;background:#000}
/* show a little more of the top of the picture (faces/titles sit high in most shots) */
.hero .screen.big video{object-position:50% 35%}
.hero .screen.banner,.hero .screen.banner video{cursor:var(--cur)}
.hero .screen.big .soundhint{bottom:76px}
.reel-bar{position:absolute;left:0;right:0;bottom:0;z-index:5;display:flex;align-items:center;gap:8px;padding:28px 18px 14px;
  background:linear-gradient(transparent,rgba(0,0,0,.6));opacity:.9;transition:opacity .2s}
.hero:hover .reel-bar,.reel-bar:focus-within{opacity:1}
.rb{width:38px;height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgba(255,255,255,.55);border-radius:6px;
  background:rgba(255,255,255,.14);color:#fff;font:600 13px var(--ui);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.rb:hover,.rb:focus-visible{background:rgba(255,255,255,.3);outline:none}
.rb.on{background:#fff;color:#000}
.reel-bar .seek{flex-grow:1;height:6px;border-radius:3px;background:rgba(255,255,255,.3);margin:0 8px}
.reel-bar .seek .fill{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:3px;background:#fff}
.reel-bar .knob{top:-4px;width:14px;height:14px;border:0;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.5)}
.reel-bar .time{color:#fff;font:600 13px var(--ui);font-variant-numeric:tabular-nums;padding:0}

/* ---------- name + big stats strip (wide, no box) ---------- */
.intro{display:flex;flex-direction:column;gap:30px;padding-top:40px;padding-bottom:10px;color:#fff}
.intro-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 32px}
.intro-name{display:flex;flex-direction:column;gap:2px}
/* name: clean bold white with a hard pixel-art shadow */
.logo{margin:0;font:900 clamp(56px,7vw,88px)/.95 var(--ui);letter-spacing:-.04em;color:#fff;text-shadow:5px 5px 0 var(--sky-dark)}
.tagline{font:700 15px var(--ui);letter-spacing:.22em;color:rgba(255,255,255,.92);padding-top:8px}
.tagline-sub{max-width:520px;padding-top:6px;font:500 17px/1.4 var(--ui);color:#fff}
.tagline-sub:empty{display:none}
.stats{list-style:none;margin:0;padding:22px 0;display:grid;grid-template-columns:repeat(4,1fr);
  border-top:4px solid rgba(255,255,255,.35);border-bottom:4px solid rgba(255,255,255,.35)} /* pixel lines, not a box */
.stats li{display:flex;flex-direction:column;gap:6px;padding:0 20px;border-left:4px solid rgba(255,255,255,.2)}
.stats li:first-child{border-left:0;padding-left:0}
.stats b{font:900 clamp(40px,5.2vw,68px)/1 var(--ui);letter-spacing:-.03em;color:#fff;text-shadow:4px 4px 0 var(--sky-dark)}
.stats span{font:600 14px/1.3 var(--ui);color:rgba(255,255,255,.88)}
.intro .pitch{margin:0;max-width:860px;padding:0;background:none;font:500 18px/1.6 var(--ui);color:#fff}

/* ---------- my best edits: 2 big videos per row, equal size, small gap (a 3rd one sits centred below) ---------- */
.best{position:relative;z-index:1;max-width:1400px;margin:44px auto 0;padding:0 36px}
.best-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 48px}
.best-card{position:relative;min-width:0;cursor:pointer;border-radius:8px;overflow:hidden;box-shadow:0 10px 30px rgba(5,20,50,.35)}
/* odd one out (the 3rd video) goes in the middle of the next row, same size as the others */
.best-card:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc(50% - 24px)}
.best-card .screen{border:0;background:#000}
.best-card .screen img.thumb{transition:transform .4s ease}
.best-card:hover .screen:not(.playing) img.thumb{transform:scale(1.04)}
/* title + channel on the picture, over a soft dark fade; hidden once the video plays */
.best-cap{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;flex-direction:column;gap:2px;padding:48px 18px 16px;pointer-events:none;
  background:linear-gradient(transparent,rgba(0,0,0,.72))}
.best-card .screen .len{display:none}
.best-card:has(.screen.playing) .best-cap{display:none}
.best-title{font:800 20px/1.2 var(--ui);color:#fff}
.best-sub{font:500 14px var(--ui);color:rgba(255,255,255,.85)}

/* Japanese easter-egg line: small, quiet, Win98 Japanese system font, letters fade in one by one */
.pop{margin:0}
.pop .w{display:inline-block;white-space:nowrap}
.pop .l{display:inline-block;opacity:0;animation:fadein .4s ease-out forwards}
.pop-jp{font-family:'MS UI Gothic','MS Gothic','DotGothic16',sans-serif;font-weight:400;font-size:13px;letter-spacing:1px;color:rgba(230,240,255,.6);padding-top:6px}
@keyframes fadein{to{opacity:1}}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* your logo: taskbar Start button + music window */
.start-logo{width:20px;height:20px;object-fit:cover;border:1px solid;border-color:#404040 #fff #fff #404040}
.tb .start-logo{width:14px;height:14px;border:0}
.why-jp{font-family:'Noto Sans JP',sans-serif;font-size:12px;line-height:1.8;color:#444}

/* music window */
.nowplaying{max-width:440px;width:100%;align-self:center}
.np-body{padding:0 6px 6px;display:flex;flex-direction:column;gap:6px}
.np-lcd{padding:8px 10px;gap:4px}
.np-row{display:flex;align-items:center;gap:10px;min-width:0}
.np-time{font:800 28px/1 var(--ui);color:#fff;text-shadow:0 1px 0 rgba(0,60,130,.55),0 2px 8px rgba(0,50,120,.4)}
.np-mq{flex:1;min-width:0;font-size:20px}
.np-eq{height:24px}
.np-eq.paused i{animation-play-state:paused}
/* Win98 seek slider: white sunken track, grey bevelled thumb */
.np-seek{flex-grow:1;min-width:0;height:18px;margin:0;background:transparent;-webkit-appearance:none;appearance:none;cursor:pointer}
.np-seek::-webkit-slider-runnable-track{height:8px;background:#fff;border:2px solid;border-color:#808080 #fff #fff #808080;box-shadow:inset 1px 1px #404040}
.np-seek::-moz-range-track{height:4px;background:#fff;border:2px solid;border-color:#808080 #fff #fff #808080}
.np-seek::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:20px;margin-top:-8px;background:#C0C0C0;border:2px solid;border-color:#fff #404040 #404040 #fff;border-radius:0}
.np-seek::-moz-range-thumb{width:7px;height:16px;background:#C0C0C0;border:2px solid;border-color:#fff #404040 #404040 #fff;border-radius:0}
.np-seek:focus-visible{outline:1px dotted #000;outline-offset:2px}


/* ---------- glass orb play button ---------- */
.bezel{position:relative;display:inline-block;flex-shrink:0;border-radius:50%;padding:5px;
  background:repeating-conic-gradient(#F2F5F9 0 5deg,#7D8A9C 5deg 8deg);box-shadow:0 0 0 2px #39424F,0 5px 14px rgba(0,0,0,.5);transition:box-shadow .15s}
.bezel.tiny{width:16px;height:16px;padding:2px}
.bezel.small{width:26px;height:26px;padding:3px}
.orb{position:relative;display:flex;width:100%;height:100%;border-radius:50%;align-items:center;justify-content:center;
  background:radial-gradient(circle at 50% 115%,#9AF1FF 0%,#22A5E8 38%,#0B4C91 72%,#06224A 100%);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.5),inset 0 -8px 14px rgba(150,240,255,.55)}
.orb::before{content:'';position:absolute;top:7%;left:20%;width:60%;height:40%;border-radius:50%;background:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,0))}
.orb svg,.orb span{position:relative}
.hit:hover .bezel,.hit:focus-visible .bezel{box-shadow:0 0 0 2px #39424F,0 0 18px #7FE3FF,0 0 36px rgba(127,227,255,.55)}

/* ---------- CRT screens ---------- */
.screen{position:relative;width:100%;aspect-ratio:16/9;background:#0B1020;border:1px solid #000;overflow:hidden;
  display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;color:inherit;font:inherit}
.screen.big{background:radial-gradient(ellipse at center,#1B2A44 0%,#070B14 80%)}
.screen img.thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.9) contrast(1.05)}
.screen iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* showreel as a video file: fills the 16:9 Media Player screen */
.screen video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000;display:block}
.screen.big .soundhint{bottom:18px}
/* Media Player buttons: the active one looks pressed in, like Win98; seek bar is clickable */
.transport .b98.sq.on{border-color:#404040 #fff #fff #404040;box-shadow:inset 1px 1px #808080;background:#D4D0C8}
.seek{touch-action:none}
.seek:focus-visible{outline:1px dotted #000;outline-offset:3px}
.knob{left:-5px}
.screen .crtimg{position:absolute;inset:0;background:url(assets/crt.jpg) center/100% 100%;mix-blend-mode:screen;opacity:.18;pointer-events:none}
.screen.big .crtimg{opacity:.28}
.screen .scan{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(0,0,0,.14) 0 1px,transparent 1px 3px)}
.screen .len{position:absolute;right:6px;bottom:5px;font-family:'VT323',monospace;font-size:16px;color:#fff;background:rgba(0,0,0,.6);padding:0 4px}
.screen.playing .crtimg,.screen.playing .scan{display:none}

/* ---------- showreel player ---------- */
.player{display:flex;flex-wrap:wrap;gap:10px;padding:0 6px 6px}
.player-main{flex:3 1 520px;display:flex;flex-direction:column;gap:6px;min-width:0}
.player-side{flex:2 1 320px;display:flex;flex-direction:column;gap:10px;min-width:0}
.transport{display:flex;align-items:center;gap:4px}
.seek{flex-grow:1;height:10px;background:#fff;position:relative}
.knob{position:absolute;left:30%;top:-6px;width:10px;height:18px;background:#C0C0C0;border:2px solid;border-color:#fff #404040 #404040 #fff}
.time{font-size:12px;padding:0 6px;white-space:nowrap}
/* Win98 sunken screen with a light Frutiger Aero skin: glossy sky-blue glass, two soft bubbles,
   plain Tahoma number, aero-green EQ. Used by the 60M+ panel and the music player. */
.lcd{position:relative;overflow:hidden;padding:12px;display:flex;flex-direction:column;gap:6px;color:#fff;
  background:linear-gradient(180deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,.14) 46%,rgba(255,255,255,0) 50%),
             radial-gradient(ellipse 70% 60% at 50% 120%,rgba(160,255,190,.45),transparent 70%),
             linear-gradient(180deg,#6CCBF7 0%,#2F92DC 55%,#1A6CBC 100%)}
.lcd::before,.lcd::after{content:'';position:absolute;pointer-events:none;border-radius:50%;animation:bob 5s ease-in-out infinite;
  background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.95) 0 14%,rgba(255,255,255,.3) 26%,rgba(255,255,255,.06) 58%,rgba(255,255,255,.55) 70%,transparent 73%)}
.lcd::before{width:20px;height:20px;top:12px;right:56px}
.lcd::after{width:34px;height:34px;top:20px;right:14px;animation-delay:-2.5s}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.lcd-row{display:flex;align-items:flex-end;gap:12px}
.lcd-big{font:bold 52px/1 Tahoma,Verdana,sans-serif;letter-spacing:-1px;color:#fff;
  text-shadow:0 1px 0 rgba(0,60,130,.55),0 3px 10px rgba(0,50,120,.45)}
.lcd-small{font-family:'Silkscreen',monospace;font-size:10px;line-height:1.3;max-width:110px;color:rgba(255,255,255,.92);padding-bottom:6px;text-shadow:0 1px 0 rgba(0,60,130,.5)}
.marquee{overflow:hidden;white-space:nowrap;font-family:'VT323',monospace;font-size:22px;color:#fff;text-shadow:0 1px 0 rgba(0,60,130,.6)}
.mq{display:inline-block;animation:mq 16s linear infinite}
.eqbars{display:flex;align-items:flex-end;gap:3px;height:38px}
.eqbars i{width:7px;border-radius:2px 2px 0 0;animation:eq .9s ease-in-out infinite;
  background:linear-gradient(90deg,rgba(255,255,255,.6) 0 35%,rgba(255,255,255,0) 60%),linear-gradient(0deg,#2BA84A,#8FEA6B)}
.pitch{margin:0;background:#fff;padding:12px;font-size:14px;line-height:1.6}
.cta{min-height:46px;font-weight:bold;font-size:15px;outline:1px solid #000}
@keyframes eq{0%,100%{height:20%}50%{height:95%}}
@keyframes mq{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ---------- folder grids (IRL / Gaming) ---------- */
/* big thumbnails: page stays Win98-width (max 980px), so videos go 2 across on computers, 1 on phones */
.files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 22px}
.file .fname{font-size:14px}
.file .fname{text-align:center;max-width:100%}
/* Shorts: vertical 9:16 cards, centred */
.files.tall{grid-template-columns:repeat(auto-fill,minmax(204px,252px));justify-content:center}
.files.tall .screen{aspect-ratio:9/16}
.file{display:flex;flex-direction:column;align-items:center;gap:6px;color:#000;text-decoration:none;background:none;border:0;padding:0;cursor:pointer;font:inherit;width:100%}
.fname{font-size:13px;padding:1px 4px}
.fname.center{align-self:center}
.file:hover .fname,.file.selected .fname{background:#000080;color:#fff;outline:1px dotted #fff}
.sub{font-size:12px;color:#555}

/* ---------- favourite ---------- */
.fav{display:flex;flex-wrap:wrap;gap:22px}
.fav-main{flex:3 1 520px;display:flex;flex-direction:column;gap:8px;min-width:0}
.fav-side{flex:2 1 300px;display:flex;flex-direction:column;gap:12px;font-size:13px}
.fav-title{font-size:18px;font-weight:bold}
.fav-side p{margin:0;line-height:1.6}
fieldset{border:1px solid #808080;box-shadow:1px 1px #fff;margin:0;padding:8px 10px}
.listbox{background:#fff}
.listbox button{display:flex;justify-content:space-between;width:100%;padding:3px 6px;border:0;background:#fff;font:13px var(--ui);cursor:pointer;text-align:left}
.listbox button:hover,.listbox button.on{background:#000080;color:#fff}
.sliders{display:flex;justify-content:space-between;gap:6px}
/* equalizer sliders are draggable (mouse, touch, or arrow keys) */
.slider{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;font-size:11px;padding:4px 0;touch-action:none;user-select:none}
.slider:focus-visible{outline:1px dotted #000;outline-offset:1px}
.slider:hover .thumbk,.slider:focus-visible .thumbk{background:#D4D0C8}
.slider.time{border-left:1px dotted #808080;margin-left:4px;padding-left:6px} /* Time is separate from the skill sliders */
.track{position:relative;width:4px;height:70px;background:#fff}
.thumbk{position:absolute;left:-10px;width:20px;height:10px;background:#C0C0C0;border:2px solid;border-color:#fff #404040 #404040 #fff}
/* old-TV static flash when the favourite video switches */
.screen.switching::after{content:'';position:absolute;inset:0;z-index:5;pointer-events:none;
  background:repeating-linear-gradient(0deg,rgba(255,255,255,.35) 0 1px,rgba(0,0,0,.35) 1px 2px),linear-gradient(#9aa,#334);
  animation:tvstatic .4s steps(4) forwards}
@keyframes tvstatic{0%{opacity:1}100%{opacity:0}}

/* ---------- results: what creators said, one clear card each ---------- */
.results{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.result{margin:0;display:flex;flex-direction:column;gap:12px;padding:16px 18px 18px;background:#fff;
  border:1px solid #C9CED8;border-radius:8px;box-shadow:0 2px 0 #E3E7EE}
.result-head{display:flex;align-items:center;gap:12px}
.result-logo{flex-shrink:0;width:48px;height:48px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;
  background:var(--sky);color:#fff;font:800 20px var(--ui);box-shadow:0 0 0 2px #fff,0 0 0 3px #C9CED8}
.result-logo img{width:100%;height:100%;object-fit:cover;display:block}
.result-who{display:flex;flex-direction:column;line-height:1.25}
.result-who b{font-size:15px}
.result-who span{font-size:12px;color:#6A7180}
.result-quote{margin:0;font:600 16px/1.45 var(--ui);color:#111}
.result-quote::before{content:'\201C'}
.result-quote::after{content:'\201D'}
.fav-side h2{font-size:22px}

/* ---------- messages (old IM style, no longer used) ---------- */
.grid-msgs{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}
.full{grid-column:1/-1}
.contents{display:contents}
.thread{border:1px solid #808080;display:flex;flex-direction:column}
.thread-head{display:flex;align-items:center;gap:8px;padding:6px 8px;background:#000080;color:#fff;font-size:12px}
.thread-head .dot{width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#CFFFC0,#2EB82E)}
.thread-body{padding:10px;display:flex;flex-direction:column;gap:8px;font:14px/1.5 var(--ui)}
.says{color:#6A6A6A;font-size:11px}
.said{padding-left:10px;color:#0B2E8C}

/* ---------- creators ---------- */
/* each creator = their YouTube profile picture in a circle, name and subscribers underneath */
.clients{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:26px 18px}
.client{--z:calc(var(--s) * var(--k,1));width:max(var(--z),112px);position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;color:#000}
.client:focus-visible{outline:none}
.pfp{position:relative;display:flex;align-items:center;justify-content:center;width:var(--z);height:var(--z);border-radius:50%;overflow:hidden;
  background:var(--sky);color:#fff;font:800 calc(var(--z)*.4) var(--ui);
  box-shadow:0 0 0 3px #fff,0 0 0 4px #808080,4px 5px 0 4px rgba(0,0,0,.18);transition:transform .15s,box-shadow .15s}
.pfp img{width:100%;height:100%;object-fit:cover;display:block}
.client:hover .pfp,.client:focus-visible .pfp{transform:translateY(-3px);box-shadow:0 0 0 3px #fff,0 0 0 5px #000080,4px 8px 0 4px rgba(0,0,0,.18)}
.client .fname{margin-top:8px;font-size:13px;font-weight:600;text-align:center;line-height:1.3}
.client .jpname{font:500 10.5px/1.3 'Noto Sans JP',sans-serif;color:#5A6478;text-align:center;white-space:nowrap}
.client:hover .fname,.client:focus-visible .fname{background:#000080;color:#fff;outline:1px dotted #fff}

/* ---------- booking wizard ---------- */
.wizard{max-width:760px;width:100%;align-self:center}
.wiz-body{display:flex;flex-wrap:wrap}
.wiz-side{flex:0 0 170px;min-height:300px;background:linear-gradient(180deg,#000080,#1084D0 60%,#0A7A7A);display:flex;flex-direction:column;justify-content:space-between;padding:16px;color:#fff}
.wiz-brand{font-family:'Arial Black',sans-serif;font-style:italic;font-size:26px;line-height:1}
.wiz-brand small{font:500 13px var(--ui)}
.wiz-main{flex:1 1 320px;padding:18px 20px;display:flex;flex-direction:column;gap:12px;font-size:13px}
.wiz-h{font-weight:bold;font-size:15px}
.row{display:flex;flex-wrap:wrap;gap:16px}
.progress{display:flex;align-items:center;gap:8px}
.bar{flex-grow:1;height:16px;background:#fff;padding:1px}
.bar span{display:block;height:100%;width:66%;background:repeating-linear-gradient(90deg,#000080 0 9px,transparent 9px 11px)}
.direct{font-size:12px;color:#333}
.wiz-buttons{display:flex;justify-content:flex-end;gap:8px;padding:10px 14px;border-top:1px solid #808080;box-shadow:inset 0 1px #fff;flex-wrap:wrap}

/* ---------- footer icons ---------- */
.icons{display:flex;gap:28px;justify-content:center;padding-top:10px}
.icons a{display:flex;flex-direction:column;align-items:center;gap:4px;color:#fff;text-decoration:none;font-size:12px;width:80px;text-shadow:1px 1px 0 #000}
.icons a:hover span{background:#000080}

/* ---------- whole-page CRT ---------- */
.crt-overlay{position:fixed;inset:0;pointer-events:none;z-index:50;opacity:.3;
  background:repeating-linear-gradient(0deg,rgba(0,0,0,.35) 0 1px,transparent 1px 3px),
             repeating-linear-gradient(90deg,rgba(255,0,80,.10) 0 1px,rgba(0,255,120,.10) 1px 2px,rgba(60,100,255,.10) 2px 3px)}
.vignette{position:fixed;inset:0;pointer-events:none;z-index:49;box-shadow:inset 0 0 120px rgba(0,0,0,.45)}
body.no-crt .crt-overlay,body.no-crt .vignette,body.no-crt .crtimg,body.no-crt .scan{display:none}

/* ---------- small screens + reduced motion ---------- */
@media (max-width:900px){
  .stats{grid-template-columns:repeat(2,1fr);row-gap:22px}
  .stats li:nth-child(3){border-left:0;padding-left:0}
}
@media (max-width:640px){
  .wrap{gap:28px;padding:40px 8px 0}
  .wide{padding:0 14px}
  .intro{padding-top:28px;gap:22px}
  .intro-top{flex-direction:column;align-items:stretch}
  .stats li{padding:0 12px}
  .stats span{font-size:12px}
  .intro .pitch{font-size:16px}
  .best{margin-top:30px;padding:0 14px}
  .best-grid{grid-template-columns:1fr;gap:22px}
  .best-card:last-child:nth-child(odd){width:100%}
  .best-title{font-size:17px}
  .reel-bar{padding:18px 10px 8px;gap:6px}
  .rb{width:32px;height:30px}
  .hero .screen.big .soundhint{bottom:56px}
  /* phones: one-row taskbar you can swipe sideways; YUSUF + tray (music, CRT, clock) stay first */
  .taskbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .taskbar::-webkit-scrollbar{display:none}
  .taskbar>*{flex-shrink:0}
  .taskbar .start{order:-2}
  .taskbar .tray{order:-1;padding:2px 6px;gap:6px}
  .taskbar .sep{display:none}
  .clients{--k:.8;gap:20px 6px}
  .taskbar .b98{min-width:0;padding:0 8px}
  .tray{margin-left:0}
  .menu{display:none}
  .status .w120,.status .w160{display:none}
  .player-main,.fav-main{flex-basis:100%}
  .files,.grid-msgs{grid-template-columns:1fr}
  .files.tall{grid-template-columns:repeat(2,1fr);gap:14px}
  .wiz-side{flex-basis:100%;min-height:0;flex-direction:row;align-items:center}
}

/* ---------- glass bubbles that pop up on hover: "play me" over video orbs, and .tipb over buttons ---------- */
.playme,.tipb,.soundhint{position:absolute;left:50%;top:calc(50% - var(--orb,56px) / 2 - 44px);z-index:3;pointer-events:none;opacity:0;
  transform:translate(-50%,8px) scale(.2);transform-origin:50% 100%;white-space:nowrap;
  padding:7px 15px 8px;border-radius:999px;font:900 14px/1 'Nunito','Segoe UI',sans-serif;letter-spacing:.3px;color:#05527F;
  background:radial-gradient(ellipse 80% 55% at 50% 0%,rgba(255,255,255,.95) 0 45%,rgba(255,255,255,0) 70%),
             linear-gradient(180deg,rgba(228,249,255,.94),rgba(130,210,250,.88));
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 4px 14px rgba(0,80,160,.35),inset 0 -4px 8px rgba(50,160,230,.35),0 0 12px rgba(127,220,255,.6)}
/* two tiny bubbles trailing down to whatever the bubble belongs to */
.playme::before,.playme::after,.tipb::before,.tipb::after{content:'';position:absolute;left:50%;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff 0 25%,rgba(160,225,255,.85) 60%);border:1px solid rgba(255,255,255,.9);
  box-shadow:0 0 6px rgba(127,220,255,.6)}
.playme::before,.tipb::before{width:10px;height:10px;margin-left:-5px;bottom:-14px}
.playme::after,.tipb::after{width:6px;height:6px;margin-left:-3px;bottom:-24px}
.tipb{top:auto;bottom:calc(100% + 22px);z-index:40;font-weight:900;text-transform:none}
.has-tip{position:relative}
/* "click for sound" bubble over the muted autoplaying showreel: always visible, gently bobbing, clickable */
.soundhint{top:auto;bottom:58px;z-index:4;pointer-events:auto;cursor:var(--cur-hand);
  animation:bubblein .45s cubic-bezier(.2,1.6,.4,1) .6s forwards,bubblebob 2.4s ease-in-out 1.05s infinite}
.soundhint:hover,.soundhint:focus-visible{outline:none;box-shadow:0 4px 14px rgba(0,80,160,.35),0 0 18px #7FE3FF,0 0 34px rgba(127,227,255,.6)}
/* bubble for a button at the right edge: anchored to its right side so it opens leftwards and never gets cut off */
.tipb.edge{left:auto;right:-6px;transform:translate(0,8px) scale(.2);transform-origin:85% 100%}
.tipb.edge::before{left:auto;right:16px;margin-left:0}
.tipb.edge::after{left:auto;right:18px;margin-left:0}
.has-tip:hover>.tipb.edge,.has-tip:focus-visible>.tipb.edge{animation:bubbleinR .45s cubic-bezier(.2,1.6,.4,1) forwards,bubblebobR 2.4s ease-in-out .45s infinite}
@keyframes bubbleinR{0%{opacity:0;transform:translate(0,8px) scale(.2)}100%{opacity:1;transform:translate(0,0) scale(1)}}
@keyframes bubblebobR{0%,100%{opacity:1;transform:translate(0,0) scale(1)}50%{opacity:1;transform:translate(0,-4px) scale(1.04)}}
.hit:hover .playme,.hit:focus-visible .playme,
.has-tip:hover>.tipb,.has-tip:focus-visible>.tipb{animation:bubblein .45s cubic-bezier(.2,1.6,.4,1) forwards,bubblebob 2.4s ease-in-out .45s infinite}

/* ---------- Aero glass social buttons (X / Instagram) ---------- */
.cta-row{display:flex;align-items:center;gap:10px}
.cta-row .cta{flex:1}
.intro .cta{min-width:210px;min-height:50px;font-size:16px}
.aero-social{position:relative;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;
  vertical-align:middle;text-decoration:none;transition:box-shadow .15s,transform .15s;
  box-shadow:0 0 0 2px rgba(255,255,255,.9),0 0 0 3px rgba(10,40,90,.55),0 4px 10px rgba(0,0,0,.35),inset 0 -6px 10px rgba(255,255,255,.25)}
.aero-social::before{content:'';position:absolute;top:6%;left:18%;width:64%;height:44%;border-radius:50%;pointer-events:none;
  background:linear-gradient(rgba(255,255,255,.92),rgba(255,255,255,0))}
.aero-social svg{position:relative;width:46%;height:46%;fill:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,.45))}
.aero-social .ig-glyph{fill:none;stroke:#fff;stroke-width:2.2}
.aero-social .ig-glyph .dot{fill:#fff;stroke:none}
.aero-social.x{background:radial-gradient(circle at 50% 115%,#7C8796 0%,#2C323A 45%,#0A0C10 100%)}
.aero-social.ig{background:radial-gradient(circle at 30% 110%,#FFD86B 0%,#FF7A3D 25%,#F2367A 50%,#B133C5 72%,#5B4BDB 100%)}
.aero-social:hover,.aero-social:focus-visible{transform:translateY(-1px);outline:none;
  box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(10,40,90,.55),0 0 16px #7FE3FF,0 0 30px rgba(127,227,255,.5)}
.aero-social.sm{width:34px;height:34px;margin-left:6px}
.direct{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
@keyframes bubblein{0%{opacity:0;transform:translate(-50%,8px) scale(.2)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}
@keyframes bubblebob{0%,100%{opacity:1;transform:translate(-50%,0) scale(1)}50%{opacity:1;transform:translate(-50%,-4px) scale(1.04)}}

/* Aero green cursor on everything clickable (kept last so it wins over earlier cursor:pointer rules) */
a,button,label,select,summary,.b98,.screen,.file,.best-card,.client,.tray-btn,.np-seek,.slider,.seek,
input[type=checkbox],input[type=radio],input[type=range]{cursor:var(--cur-hand)}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .mq,.eqbars i,.lcd::before,.lcd::after{animation:none}
  .pop .l{animation:none;opacity:1}
  .hit:hover .playme,.hit:focus-visible .playme,
  .has-tip:hover>.tipb,.has-tip:focus-visible>.tipb{animation:none;opacity:1;transform:translate(-50%,0)}
  .has-tip:hover>.tipb.edge,.has-tip:focus-visible>.tipb.edge{transform:none}
}
