/* =====================================================================
   NASSASSIN — logon, UAC, message boxes, Windows Media Player, Library, Accounts
   ===================================================================== */
body:not(.authed) .auth-only { display: none !important; }
button.navbtn { padding: 0; cursor: default; }

/* ---------- user picture frame ---------- */
.uframe { display: inline-block; width: 110px; height: 110px; padding: 9px; border-radius: 10px; position: relative;
  background: linear-gradient(180deg, #b9dcf7 0, #4e98d6 45%, #1f68b0 55%, #6db1e8 100%);
  box-shadow: 0 0 0 1px #0b3466, inset 0 1px 0 rgba(255,255,255,.8), inset 0 -1px 0 rgba(0,0,0,.25), 0 6px 18px rgba(0,0,0,.45); }
.uframe img { width: 100%; height: 100%; display: block; background: #fff; border: 1px solid #0d3b6e; border-radius: 3px; object-fit: cover; }
.uframe.big { width: 190px; height: 190px; padding: 13px; border-radius: 16px; }
.uframe.sm { width: 52px; height: 52px; padding: 5px; border-radius: 6px; }

/* =========================== LOGON =========================== */
.logon { position: fixed; inset: 0; z-index: 5000; display: flex; flex-direction: column; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse at 50% 115%, #2a86c4 0%, #0e4b86 32%, #072b57 62%, #03132d 100%); }
.logon::before { content: ""; position: absolute; inset: 0; background: url(assets/wall/late.jpg) center / cover; opacity: .22; mix-blend-mode: screen; }
.logon::after { content: ""; position: absolute; left: -20%; right: -20%; top: 52%; height: 70%; border-radius: 50%;
  border-top: 2px solid rgba(160, 220, 255, .28); box-shadow: 0 -18px 40px -20px rgba(120, 200, 255, .35); pointer-events: none; }
.logon[hidden] { display: none; }
.logon.leaving { animation: fade-out .6s ease forwards; }
@keyframes fade-out { to { opacity: 0; } }
.logon-center { flex: 1; position: relative; z-index: 1; display: grid; place-items: center; padding: 20px; }
.tiles { display: flex; gap: 46px; flex-wrap: wrap; justify-content: center; }
.tiles[hidden] { display: none; }
.utile { background: none; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 12px; cursor: default; padding: 8px; border-radius: 8px; }
.utile .uname { font: 300 19px var(--ui); text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.utile:hover .uframe, .utile:focus-visible .uframe { box-shadow: 0 0 0 1px #0b3466, inset 0 1px 0 rgba(255,255,255,.8), 0 0 22px rgba(120, 210, 255, .95), 0 6px 18px rgba(0,0,0,.45); }
.utile:focus-visible { outline: 1px dotted rgba(255,255,255,.6); }
.logon-form { display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(380px, 100%); animation: sm-in .25s ease-out; }
.logon-form[hidden] { display: none; }
.lf-name { font: 300 22px var(--ui); text-shadow: 0 1px 4px rgba(0,0,0,.6); margin-top: 4px; }
.lf-in { width: 300px; max-width: 100%; height: 32px; padding: 0 10px; font: 15px var(--ui); color: #000; background: #fff; border: 1px solid #2a72b8; border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(120, 190, 255, .35), inset 0 1px 2px rgba(0,0,0,.15); }
.lf-in:focus { outline: none; box-shadow: 0 0 0 2px rgba(140, 210, 255, .8), inset 0 1px 2px rgba(0,0,0,.15); }
.lf-in::placeholder { color: #6a6a6a; }
.lf-pw { display: flex; align-items: center; gap: 8px; margin-right: -44px; }
.lf-go { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #08305e; cursor: default; position: relative; flex: none;
  background: radial-gradient(circle at 50% 30%, #d6efff 0, #4ba3ea 42%, #0f56a8 72%, #0a3f80 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 2px 6px rgba(0,0,0,.4); }
.lf-go::after { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 14px; background:
  linear-gradient(#fff, #fff) left 50% / 10px 4px no-repeat; clip-path: polygon(0 35%, 55% 35%, 55% 0, 100% 50%, 55% 100%, 55% 65%, 0 65%); background: #fff; }
.lf-go:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 14px rgba(120,210,255,.95); }
.lf-err { margin: 0; max-width: 340px; text-align: center; color: #fff; background: rgba(150, 20, 20, .55); border: 1px solid rgba(255, 140, 140, .6); border-radius: 4px; padding: 6px 10px; }
.lf-err.dark { color: #a10e0e; background: #fff0f0; border-color: #e6a3a3; text-align: left; }
.lf-cancel { margin-top: 18px; min-width: 128px; height: 34px; padding: 0 20px; color: #fff; font: 15px var(--ui); border: 1px solid #06244a; border-radius: 5px; cursor: default;
  background: linear-gradient(180deg, #5a8fcf 0, #2a5fa5 48%, #123f84 52%, #2a63ad 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 6px rgba(0,0,0,.4); }
.lf-cancel:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 12px rgba(120,200,255,.8); }
.welcome { display: flex; align-items: center; gap: 16px; font: 300 34px var(--ui); text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.welcome[hidden] { display: none; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.2); border-top-color: #8fe0ff; border-right-color: #3aa8ff; animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.logon-bottom { position: relative; z-index: 1; height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.35)); border-top: 1px solid rgba(255,255,255,.08); }
.brand { font: 300 22px var(--ui); letter-spacing: .04em; opacity: .85; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.brand::first-letter { color: #9fe0ff; }
.ease { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #bfe6ff, #3d8fd6 60%, #10457f); box-shadow: 0 0 0 1px rgba(0,0,0,.5); opacity: .8; }
.power { width: 38px; height: 34px; border-radius: 5px; border: 1px solid #3a0a04; cursor: default; display: grid; place-items: center;
  background: linear-gradient(180deg, #f3a07f 0, #db5a2d 48%, #b8350c 52%, #e2693a 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.55); }
.power svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.power:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 12px rgba(255,140,90,.9); }

/* ---------- start menu power + user ---------- */
.sm-power { margin-top: auto; display: flex; gap: 4px; padding: 8px 4px 2px; }
.pw { width: 34px; height: 28px; border-radius: 4px; border: 1px solid rgba(0,0,0,.7); display: grid; place-items: center; cursor: default; padding: 0; }
.pw svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.pw-off { background: linear-gradient(180deg, #f3a07f 0, #db5a2d 48%, #b8350c 52%, #e2693a 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.55); }
.pw-lock { background: linear-gradient(180deg, rgba(255,255,255,.45) 0, rgba(255,255,255,.15) 48%, rgba(0,0,0,.15) 52%, rgba(255,255,255,.2) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.55); }
.pw:hover { filter: brightness(1.15); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 0 10px rgba(255,255,255,.5); }
.sm-pic-in { background: #fff center / cover no-repeat; }

/* =========================== UAC =========================== */
.uac { position: fixed; inset: 0; z-index: 6000; display: grid; place-items: center; background: rgba(0, 0, 0, .55); backdrop-filter: grayscale(.7) brightness(.6); -webkit-backdrop-filter: grayscale(.7) brightness(.6); padding: 12px; }
.uac[hidden], .mb-overlay[hidden] { display: none; }
.uac-dlg { width: min(460px, 100%); background: #fff; border: 1px solid #2b2b2b; box-shadow: 0 0 0 6px rgba(var(--aero), .6), 0 20px 50px rgba(0,0,0,.6); animation: win-open .18s ease-out; }
.uac-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: #fff; font-size: 14px; background: linear-gradient(180deg, #3b4b5c, #1f2b38); }
.uac-head img { width: 28px; height: 28px; }
.uac-body { padding: 12px 16px 6px; }
.uac-body p { margin: 0 0 10px; }
.uac-q { font-size: 15px; color: var(--link); }
.uac-prog { display: flex; gap: 10px; align-items: center; padding: 8px; margin-bottom: 12px; border: 1px solid #e3e3e3; background: #fafafa; }
.uac-prog img { width: 32px; height: 32px; } .uac-prog b { display: block; } .uac-prog span { color: #666; }
.uac-user { display: flex; gap: 12px; align-items: center; padding: 8px; margin-bottom: 8px; border: 1px solid #c5d9f1; border-radius: 3px; background: linear-gradient(#fafbfd, #ebf3fd); }
.uac-user b { display: block; margin-bottom: 4px; }
.uac-user input { width: 230px; max-width: 100%; height: 24px; border: 1px solid #a5b5c7; padding: 0 6px; font: 12px var(--ui); }
.uac-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px; background: #f0f0f0; border-top: 1px solid #dfdfdf; }

/* =========================== MESSAGE BOX =========================== */
.mb-overlay { position: fixed; inset: 0; z-index: 5500; display: grid; place-items: center; background: rgba(0,0,0,.12); padding: 12px; }
.mb { width: min(420px, 100%); padding: 0 7px 7px; border-radius: 7px 7px 5px 5px; border: 1px solid rgba(0,0,0,.72); background: rgba(var(--aero), .5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42), 0 10px 34px rgba(0,0,0,.55); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); animation: win-open .18s ease-out; }
.mb-title { height: 30px; display: flex; align-items: center; font-size: 12.5px; text-shadow: 0 0 6px #fff, 0 0 10px #fff, 0 0 14px #fff; }
.mb-body { display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--client-border); border-bottom: 0; align-items: flex-start; }
.mb-body img { width: 32px; height: 32px; flex: none; }
.mb-body p { margin: 0 0 6px; }
.mb-body .main { font-size: 14px; color: var(--link); }
.mb-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 12px; background: #f0f0f0; border: 1px solid var(--client-border); border-top: 1px solid #dfdfdf; }

/* =========================== WINDOWS MEDIA PLAYER =========================== */
.win.dark { --aero: 8, 10, 14; --aero-a: .82; }
.win.dark.inactive { --aero-a: .7; }
.win.dark .win-title h2 { color: #fff; text-shadow: 0 0 6px #000, 0 0 10px #000; }
.wmp-top { height: 40px; flex: none; display: flex; align-items: center; gap: 4px; }
.wmp-tabs { display: flex; gap: 2px; margin-left: 10px; overflow: hidden; }
.wmp-tabs button { height: 30px; padding: 0 14px; border: 1px solid transparent; border-radius: 3px; background: none; color: #fff; cursor: default; font-size: 12.5px; white-space: nowrap; text-shadow: 0 1px 2px #000; }
.wmp-tabs button:hover:not(:disabled) { border-color: rgba(255,255,255,.25); background: linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.04) 50%, rgba(255,255,255,0) 51%, rgba(255,255,255,.08)); }
.wmp-tabs button[aria-selected="true"] { border-color: rgba(120,190,255,.55); background: linear-gradient(rgba(140,200,255,.35), rgba(60,130,210,.2) 50%, rgba(10,60,140,.35) 51%, rgba(60,140,230,.35)); box-shadow: 0 0 10px rgba(80,160,255,.45); }
.wmp-tabs button:disabled { opacity: .45; }
.wmp-client { background: #fff; border-color: #000; }
.wmp-bar { height: 30px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 8px; color: #fff; background: linear-gradient(180deg, #4a5560 0, #2c343c 50%, #1b2128 51%, #2a3239 100%); border-bottom: 1px solid #000; }
.wmp-crumb { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 1px #000; }
.wmp-crumb a { color: #fff; text-decoration: none; } .wmp-crumb a:hover { text-decoration: underline; }
.wmp-search { width: 200px; height: 22px; border: 1px solid #0d0d0d; border-radius: 2px; padding: 0 6px; font: italic 12px var(--ui); }
.wmp-body { flex: 1; min-height: 0; display: flex; position: relative; }
.wmp-nav { width: 180px; flex: none; overflow: auto; background: #fff; border-right: 1px solid #d9e1ea; padding: 6px 0; }
.wmp-nav h5 { margin: 8px 10px 3px; font: 600 12px var(--ui); color: #333; display: flex; align-items: center; gap: 6px; }
.wmp-nav h5 img { width: 16px; height: 16px; }
.wmp-nav button { display: flex; align-items: center; gap: 6px; width: calc(100% - 8px); margin: 0 4px; padding: 3px 8px 3px 24px; text-align: left; border: 1px solid transparent; border-radius: 3px; background: none; cursor: default; color: #000; }
.wmp-nav button:hover { background: var(--lv-hover); border-color: var(--lv-hover-b); }
.wmp-nav button.cur { background: linear-gradient(#dcebfc, #c1dcfc); border-color: #7da2ce; }
.wmp-nav .login-hint { margin: 10px; padding: 8px; border: 1px solid #e3c56b; background: #fff8dc; border-radius: 3px; font-size: 11.5px; }
.wmp-nav .login-hint button { padding: 0; margin: 4px 0 0; width: auto; color: var(--link); text-decoration: underline; border: 0; }
.wmp-main { flex: 1; min-width: 0; overflow: auto; background: #fff; }
.wmp-main.loading::before { content: "Chargement…"; display: block; padding: 20px; color: #666; }
.wmp-queue { width: 230px; flex: none; display: flex; flex-direction: column; background: #f4f7fb; border-left: 1px solid #d9e1ea; }
.wmp-queue h4 { margin: 0; padding: 8px 10px; font: 600 12px var(--ui); border-bottom: 1px solid #d9e1ea; background: linear-gradient(#fff, #eef3f9); }
.wmp-queue h4 span { color: #777; font-weight: 400; }
.wmp-queue ol { list-style: none; margin: 0; padding: 4px; flex: 1; overflow: auto; }
.wmp-queue li { display: flex; justify-content: space-between; gap: 6px; padding: 3px 6px; border-radius: 2px; cursor: default; white-space: nowrap; }
.wmp-queue li span { overflow: hidden; text-overflow: ellipsis; } .wmp-queue li small { color: #777; }
.wmp-queue li:hover { background: var(--lv-hover); }
.wmp-queue li.cur { color: #0a5bc4; font-weight: 600; }
.wq-clear { margin: 6px; border: 0; background: none; color: var(--link); text-align: left; cursor: default; }
.wq-clear:hover { text-decoration: underline; }
/* grid of albums / posters */
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px 10px; padding: 12px 14px 20px; }
.wgrid.posters { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.witem { display: flex; flex-direction: column; gap: 4px; padding: 5px; border: 1px solid transparent; border-radius: 3px; background: none; text-align: left; cursor: default; color: #000; min-width: 0; }
.witem:hover, .witem:focus-visible { background: linear-gradient(180deg, #fafbfd, #ebf3fd); border-color: var(--lv-hover-b); outline: none; }
.witem.sel { background: linear-gradient(180deg, #dcebfc, #c1dcfc); border-color: #7da2ce; }
.witem .art { width: 100%; aspect-ratio: 1; background: #e9eef4 center / cover no-repeat; border: 1px solid #c9d3de; box-shadow: 0 2px 4px rgba(0,0,0,.15); display: grid; place-items: center; overflow: hidden; }
.posters .witem .art { aspect-ratio: 2 / 3; }
.witem .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.witem .art .ph { width: 48px; height: 48px; opacity: .6; }
.witem b { font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.witem small { color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.whead { display: flex; gap: 16px; padding: 14px; border-bottom: 1px solid #e3e8ee; background: linear-gradient(#fbfcfe, #f0f4f9); align-items: flex-end; }
.whead .art { width: 140px; height: 140px; flex: none; background: #e9eef4 center / cover; border: 1px solid #c9d3de; box-shadow: 0 3px 8px rgba(0,0,0,.2); }
.whead.poster .art { height: 210px; }
.whead h3 { margin: 0 0 4px; font: 400 20px var(--ui); color: #1b2a3a; }
.whead p { margin: 0 0 4px; color: #555; }
.whead .ov { max-width: 640px; color: #333; line-height: 1.45; margin-top: 6px; max-height: 6.5em; overflow: auto; }
.whead .acts { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.wsection { padding: 8px 14px 0; font: 400 13px var(--ui); color: var(--link); }
.lv tr.cur td { color: #0a5bc4; font-weight: 600; }
.lv td.num { width: 34px; color: #777; text-align: right; }
.lv tbody tr { cursor: default; }
.wempty { padding: 24px; color: #666; }
.wempty b { display: block; color: var(--link); font-weight: 400; font-size: 14px; margin-bottom: 6px; }
/* now playing */
.wmp-now { position: absolute; inset: 0; background: #000; display: grid; place-items: center; z-index: 2; overflow: hidden; }
.wmp-now[hidden] { display: none; }
/* absolutely positioned so a 4K stream's intrinsic size can never push over the transport bar */
.wmp-now video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: none; }
.wmp-body { overflow: hidden; }
.wmp-transport { z-index: 3; }
.wmp-now.video video { display: block; }
.wmp-now canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wmp-now.video canvas, .wmp-now.video .wmp-now-info { display: none; }
.wmp-now-info { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; text-align: center; padding: 20px; pointer-events: none; }
.wmp-now-info img { width: 220px; height: 220px; object-fit: cover; border: 1px solid #333; box-shadow: 0 10px 30px rgba(0,0,0,.7), 0 0 40px rgba(40,140,255,.25); -webkit-box-reflect: below 2px linear-gradient(transparent 70%, rgba(255,255,255,.25)); }
.wmp-now-info b { font: 300 20px var(--ui); margin-top: 40px; } .wmp-now-info span { color: #9ab; }
.wmp-busy { position: absolute; z-index: 3; display: flex; gap: 12px; align-items: center; color: #fff; background: rgba(0,0,0,.6); padding: 12px 18px; border-radius: 4px; }
.wmp-busy[hidden] { display: none; }
/* transport */
.wmp-transport { flex: none; position: relative; color: #fff; background: linear-gradient(180deg, #3d454e 0, #1d2329 46%, #07090b 52%, #15191e 100%); border-top: 1px solid #000; }
/* seek bar (WMP 11: thin glowing line + round knob, time tooltip) */
.wmp-seekrow { display: flex; align-items: center; gap: 8px; padding: 6px 12px 0; font: 11px Tahoma, var(--ui); color: #8fb6d8; font-variant-numeric: tabular-nums; }
.wmp-seek { flex: 1; height: 20px; position: relative; cursor: pointer; touch-action: none; outline: none; }
.wmp-seek::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 4px; border-radius: 2px; background: #05070a; box-shadow: inset 0 1px 2px #000, 0 1px 0 rgba(255,255,255,.14); transition: top .15s, height .15s; }
.wmp-seek i { position: absolute; left: 0; top: 8px; height: 4px; width: 0; border-radius: 2px; pointer-events: none; transition: top .15s, height .15s; }
.wmp-seek:hover::before, .wmp-seek:hover i, .wmp-seek.drag::before, .wmp-seek.drag i { top: 7px; height: 6px; }
#wmp-buf { background: #34404d; }
#wmp-prog { background: linear-gradient(#d6f2ff, #3aa8ff 60%, #1366c4); box-shadow: 0 0 8px rgba(58,168,255,.8); }
#wmp-knob { position: absolute; top: 3px; width: 14px; height: 14px; margin-left: -7px; left: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 40% 30%, #fff, #a8dcff 45%, #1d6fc4 100%); box-shadow: 0 0 0 1px #08305e, 0 0 8px #4cb3ff; opacity: 0; transition: opacity .2s, transform .15s; }
.wmp.has-media #wmp-knob { opacity: 1; }
.wmp-seek:hover #wmp-knob, .wmp-seek.drag #wmp-knob { transform: scale(1.15); }
.wmp-seek:focus-visible #wmp-knob { box-shadow: 0 0 0 2px #fff, 0 0 10px #4cb3ff; }
.ws-tip { position: absolute; bottom: 22px; transform: translateX(-50%); padding: 2px 6px; background: #000; border: 1px solid #3a6ea5; border-radius: 3px; color: #cfe8ff; white-space: nowrap; pointer-events: none; display: none; }
.wmp-seek:hover .ws-tip, .wmp-seek.drag .ws-tip { display: block; }
.wmp-tl { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 6px 10px 8px; }
.wmp-np { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wmp-np img { width: 36px; height: 36px; object-fit: cover; border: 1px solid #000; background: #111; flex: none; }
.wmp-np div { min-width: 0; display: flex; flex-direction: column; }
.wmp-np b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wmp-np span { color: #8fb6d8; font: 11px Tahoma, var(--ui); }
.wmp-ctrl { display: flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.02) 50%, rgba(0,0,0,.2) 51%, rgba(255,255,255,.05)); border: 1px solid rgba(0,0,0,.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.wb { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #000; padding: 0; display: grid; place-items: center; cursor: default; color: #fff;
  background: linear-gradient(180deg, #6b7681 0, #343c45 48%, #191e24 52%, #3b4650 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.wb svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wb svg .f { fill: #fff; stroke: none; }
.wb.sm { width: 24px; height: 24px; } .wb.sm svg { width: 12px; height: 12px; }
.wb:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 9px #4cb3ff; }
.wb[aria-pressed="true"] { background: linear-gradient(180deg, #7fc4f5 0, #2f8fd8 48%, #0d5aa7 52%, #3a9be6 100%); }
.wb.big { width: 46px; height: 46px; background: radial-gradient(circle at 50% 28%, #e0f4ff 0, #5ab4f2 38%, #0e58ad 70%, #083d7c 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 12px rgba(60,160,255,.55); }
.wb.big svg { width: 20px; height: 20px; }
.wb .i-pause, .wmp.playing .wb .i-play { display: none; }
.wmp.playing .wb .i-pause { display: inline; }
#wmp-mute[aria-pressed="true"] .w { display: none; }
.wsep { width: 1px; height: 20px; background: rgba(255,255,255,.15); box-shadow: 1px 0 0 rgba(0,0,0,.6); margin: 0 3px; }
#wmp-vol { width: 80px; accent-color: #3aa8ff; }
.wmp-right { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.wmp-right select { max-width: 120px; height: 22px; font: 11px var(--ui); background: #1b2128; color: #fff; border: 1px solid #000; }
.wmp-right select[hidden] { display: none; }
/* full screen: video fills the screen, the transport (with seek bar) floats over it and fades when idle */
.wmp-client:fullscreen { background: #000; border: 0; }
.wmp.fs .wmp-bar, .wmp.fs .wmp-nav, .wmp.fs .wmp-queue, .wmp.fs .wmp-main { display: none; }
.wmp.fs .wmp-body { position: absolute; inset: 0; }
.wmp.fs .wmp-now { position: absolute; inset: 0; }
.wmp.fs .wmp-transport { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; border-top: 0; padding-top: 30px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55) 35%, rgba(0,0,0,.85)); transition: opacity .35s, transform .35s; }
.wmp.fs .wmp-seekrow { padding: 0 24px; }
.wmp.fs .wmp-tl { padding: 6px 20px 14px; }
.wmp-client.idle { cursor: none; }
.wmp-client.idle .wmp-transport { opacity: 0; transform: translateY(12px); pointer-events: none; }
.wmp.fs #wmp-fs svg path { d: path("M6 2v4H2M14 6h-4V2M10 14v-4h4M2 10h4v4"); }

/* =========================== LIBRARY (explorer) =========================== */
.cmdbar .act { cursor: default; }
#w-library .search { font-style: normal; color: #000; font: 12px var(--ui); }
#w-library .search::placeholder { color: #8a8a8a; font-style: italic; }
#lib-crumb a { color: #000; text-decoration: none; } #lib-crumb a:hover { text-decoration: underline; color: var(--link); }
.ex-side li button { display: flex; align-items: center; gap: 6px; width: 100%; padding: 3px 6px; color: #000; border: 1px solid transparent; border-radius: 3px; background: none; text-align: left; cursor: default; }
.ex-side li button img { width: 16px; height: 16px; }
.ex-side li button:hover { background: var(--lv-hover); border-color: var(--lv-hover-b); }
.ex-side li button.cur { background: linear-gradient(#dcebfc, #c1dcfc); border-color: #7da2ce; }
.ltiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px 6px; }
.ltile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; border: 1px solid transparent; border-radius: 3px; background: none; cursor: default; text-align: center; color: #000; min-width: 0; }
.ltile:hover, .ltile:focus-visible { background: linear-gradient(180deg, #fafbfd, #ebf3fd); border-color: var(--lv-hover-b); outline: none; }
.ltile.sel { background: linear-gradient(180deg, #dcebfc, #c1dcfc); border-color: #7da2ce; }
.ltile .thumb { width: 96px; height: 96px; display: grid; place-items: center; }
.ltile .thumb img.cover { max-width: 96px; max-height: 96px; border: 1px solid #b9c4d0; box-shadow: 2px 2px 4px rgba(0,0,0,.25); background: #fff; }
.ltile .thumb img.ico { width: 64px; height: 64px; }
.ltile .thumb.folder { position: relative; }
.ltile .thumb.folder::before { content: ""; position: absolute; inset: 10px 4px 6px; border-radius: 3px; background: linear-gradient(180deg, #fbe7a1, #e9be4f); box-shadow: inset 0 1px 0 #fff6d4, 0 2px 3px rgba(0,0,0,.25); }
.ltile .thumb.folder img { position: relative; z-index: 1; max-width: 70px; max-height: 64px; transform: translateY(4px) rotate(-3deg); border: 2px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.ltile span { font-size: 12px; line-height: 1.25; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
.ltile small { color: #777; font-size: 11px; }
.infobar { margin: 4px 0 10px; padding: 6px 10px; background: #ffffe1; border: 1px solid #e3c56b; }
.infobar button { border: 0; background: none; padding: 0; color: var(--link); text-decoration: underline; cursor: default; font: inherit; }
#lib-details .big { display: block; }
#lib-details span { color: #555; }
.lib-more { display: block; margin: 14px auto; }

/* =========================== ACCOUNTS (control panel) =========================== */
.cp-body { flex: 1; min-height: 0; display: flex; }
.cp-tasks { width: 200px; flex: none; padding: 14px 12px; overflow: auto; background: linear-gradient(180deg, #e3eefb 0, #f3f7fc 220px, #fff 100%); border-right: 1px solid #d5dfe5; }
.cp-tasks h4 { margin: 0 0 8px; font: 600 12px var(--ui); color: #1b3f6b; }
.cp-tasks button { display: block; width: 100%; text-align: left; padding: 3px 0; border: 0; background: none; color: var(--link); cursor: default; }
.cp-tasks button:hover { text-decoration: underline; color: #3b6ad6; }
.cp-tasks hr { border: 0; border-top: 1px solid #c9d6e6; margin: 12px 0; }
.cp-main { flex: 1; min-width: 0; overflow: auto; padding: 16px 22px 24px; }
.cp-main h2 { margin: 0 0 14px; font: 400 17px var(--ui); color: #1e3287; }
.cp-main h3 { margin: 18px 0 8px; font: 400 14px var(--ui); color: #1e3287; }
.cp-me { display: flex; gap: 14px; align-items: center; padding: 10px; border: 1px solid #dfe6ef; border-radius: 3px; background: linear-gradient(#fbfcfe, #f1f5fa); }
.cp-me b { font-size: 15px; font-weight: 400; display: block; } .cp-me span { color: #555; }
.cp-users { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.cp-user { display: flex; gap: 10px; align-items: center; padding: 6px; border: 1px solid transparent; border-radius: 3px; background: none; cursor: default; text-align: left; color: #000; }
.cp-user:hover, .cp-user:focus-visible { background: linear-gradient(180deg, #fafbfd, #ebf3fd); border-color: var(--lv-hover-b); outline: none; }
.cp-user b { display: block; font-weight: 400; font-size: 13px; } .cp-user span { color: #666; font-size: 11.5px; }
.cp-user.disabled img { filter: grayscale(1); opacity: .6; }
.cp-form { max-width: 460px; display: grid; gap: 10px; }
.cp-form label { display: grid; gap: 3px; }
.cp-form input[type=text], .cp-form input[type=password] { height: 24px; border: 1px solid #a5b5c7; padding: 0 6px; font: 12px var(--ui); }
.cp-form .checks { display: grid; gap: 4px; padding: 8px 10px; border: 1px solid var(--gb-border); border-radius: 3px; }
.cp-form .checks label { display: flex; gap: 6px; align-items: center; }
.cp-form .hint { color: #666; font-size: 11.5px; }
.cp-actions { display: flex; gap: 8px; margin-top: 6px; }
.cp-links { display: grid; gap: 4px; margin-top: 10px; }
.cp-links button { border: 0; background: none; color: var(--link); text-align: left; padding: 2px 0; cursor: default; font-size: 13px; }
.cp-links button:hover { text-decoration: underline; color: #3b6ad6; }
.cp-links button.danger { color: #b3261e; }
.badge { display: inline-block; padding: 0 6px; border-radius: 8px; font-size: 11px; background: #e6eef9; color: #1e3287; margin-left: 4px; }
.badge.off { background: #f6e1e1; color: #a12020; }

/* =========================== THEMES =========================== */
body.no-glass .win, body.no-glass .startmenu, body.no-glass .taskbar, body.no-glass .mb { backdrop-filter: none; -webkit-backdrop-filter: none; background-image: linear-gradient(180deg, rgba(255,255,255,.3) 0, rgba(255,255,255,.08) 30px, rgba(255,255,255,0) 31px); }
body.light-glass .wmp-top .wmp-tabs button { color: #fff; }
body.light-glass .cmdbar { filter: saturate(.8); }

/* =========================== PERSONNALISATION =========================== */
.cp-tasks button.cur { font-weight: 600; text-decoration: none; color: #1b3f6b; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin: 14px 0 16px; max-width: 520px; }
.swatch { border: 1px solid transparent; border-radius: 4px; background: none; padding: 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: default; }
.swatch span { width: 54px; height: 54px; border-radius: 5px; border: 1px solid rgba(0,0,0,.55);
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0, rgba(255,255,255,.12) 48%, rgba(255,255,255,0) 50%, rgba(255,255,255,.18) 100%), rgb(var(--sw)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 2px 5px rgba(0,0,0,.25); }
.swatch small { font-size: 11px; color: #333; }
.swatch:hover { background: linear-gradient(180deg, #fafbfd, #ebf3fd); border-color: var(--lv-hover-b); }
.swatch.sel { background: linear-gradient(180deg, #dcebfc, #c1dcfc); border-color: #7da2ce; }
.pz-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.pz-row input[type=range] { width: 220px; }
.walls { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.wall-th { border: 1px solid transparent; border-radius: 3px; background: none; padding: 5px; cursor: default; display: flex; flex-direction: column; gap: 4px; text-align: center; }
.wall-th .th { aspect-ratio: 16 / 10; display: flex; overflow: hidden; border: 1px solid #9aa8b8; box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.wall-th .th img { flex: 1; min-width: 0; height: 100%; object-fit: cover; }
.wall-th small { font-size: 11.5px; color: #333; }
.wall-th:hover { background: linear-gradient(180deg, #fafbfd, #ebf3fd); border-color: var(--lv-hover-b); }
.wall-th.sel { background: linear-gradient(180deg, #dcebfc, #c1dcfc); border-color: #7da2ce; }
.pic-edit { display: flex; gap: 22px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
label.btn { cursor: default; }

/* =========================== GAMES =========================== */
.games-list { display: grid; gap: 6px; align-content: start; }
.game { display: flex; gap: 14px; align-items: center; padding: 8px; border: 1px solid transparent; border-radius: 3px; background: none; text-align: left; cursor: default; color: #000; }
.game:hover, .game:focus-visible { background: linear-gradient(180deg, #fafbfd, #ebf3fd); border-color: var(--lv-hover-b); outline: none; }
.game b { display: block; font-weight: 400; font-size: 14px; } .game small { color: #666; }
.g-art { width: 64px; height: 64px; flex: none; border-radius: 8px; position: relative; box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.3); overflow: hidden; }
.g-art::after { content: ""; position: absolute; left: 4px; right: 4px; top: 2px; height: 45%; border-radius: 6px 6px 50% 50%; background: linear-gradient(rgba(255,255,255,.75), rgba(255,255,255,.05)); }
.g-art.pinball { background: radial-gradient(circle at 55% 60%, #f6f6f6 0 9px, #9aa 10px 11px, transparent 12px), linear-gradient(160deg, #1f3c88, #0a1638 70%), #0a1638; }
.g-art.cards { background: linear-gradient(100deg, transparent 18px, #fff 18px 40px, transparent 40px), linear-gradient(80deg, transparent 26px, #fefefe 26px 48px, transparent 48px), linear-gradient(160deg, #1f8a3a, #0b4d1d); }
.g-art.mines { background: radial-gradient(circle at 50% 55%, #222 0 10px, transparent 11px), repeating-linear-gradient(0deg, #c4c9d2 0 15px, #9aa3b1 15px 16px), #c4c9d2; }
.games-note { margin-top: 10px; color: #666; }
.game-client { background: #000; }
.game-client iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }

/* =========================== ADMIN / DESKTOP =========================== */
body:not(.admin) .admin-only { display: none !important; }
.desk-icons { flex-wrap: wrap; max-height: calc(100% - 16px); align-content: flex-start; }
#tray-vpn svg .sh { fill: rgba(160,170,180,.5); } #tray-vpn svg .ck { stroke: #fff; stroke-width: 1.6; fill: none; }
#tray-vpn.good svg .sh { fill: #2fbf4a; stroke: #b6f5c2; } #tray-vpn.bad svg .sh { fill: #e0262c; stroke: #ffb3b3; }
.cmdbar .act.seg.cur, .cmdbar .act.cur { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.22); }

/* =========================== DIALOG =========================== */
.dlg { width: min(470px, 100%); }
.dlg-body { flex-direction: column; gap: 6px; }
.dlg-body .main { font-size: 14px; color: var(--link); margin: 0; word-break: break-word; }
.dlg-body p { margin: 0; }
.dlg-l { display: grid; gap: 3px; width: 100%; margin-top: 6px; }
.dlg-l textarea, .dlg-l input, .dlg-l select { font: 12px var(--ui); border: 1px solid #a5b5c7; padding: 4px 6px; width: 100%; }
.dlg-c { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.dlg-link { display: flex; gap: 6px; width: 100%; margin: 8px 0 4px; }
.dlg-link input { flex: 1; min-width: 0; font: 12px Consolas, monospace; border: 1px solid #a5b5c7; padding: 4px 6px; }
.hint { color: #666; font-size: 11.5px; }

/* =========================== RELIABILITY MONITOR =========================== */
.pm-main { padding: 6px 14px 16px; }
.pm-stab { height: 150px; border: 1px solid #c9d3de; }
.pm-stab canvas, .pm-chart canvas { width: 100%; height: 100%; display: block; }
.pm-charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 12px; margin-top: 12px; }
.pm-chart { margin: 0; border: 1px solid #c9d3de; background: #fff; }
.pm-chart figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 4px 8px; background: linear-gradient(#fbfcfe, #edf2f8); border-bottom: 1px solid #d5dfe5; font-size: 11.5px; color: #555; flex-wrap: wrap; }
.pm-chart figcaption b { color: #1e3287; font-weight: 600; }
.pm-chart figcaption i { display: inline-block; width: 10px; height: 3px; margin: 0 4px 2px 8px; vertical-align: middle; }
.pm-chart canvas { height: 170px; }
.pm-events { max-height: 260px; }

/* =========================== DOWNLOADS =========================== */
.tq-filters { display: flex; gap: 2px; padding: 6px 8px 0; border-bottom: 1px solid #d5dfe5; background: #f4f7fb; flex: none; overflow-x: auto; }
.tq-filters button { padding: 4px 12px; border: 1px solid transparent; border-bottom: 0; border-radius: 3px 3px 0 0; background: none; cursor: default; white-space: nowrap; }
.tq-filters button:hover { background: var(--lv-hover); }
.tq-filters button.cur { background: #fff; border-color: #d5dfe5; margin-bottom: -1px; }
.tq-list { flex: 1; border: 0; }
.tq-name { max-width: 380px; overflow: hidden; text-overflow: ellipsis; }
.lv tbody tr.sel td { background: var(--lv-sel); border-top-color: var(--lv-sel-b); border-bottom-color: var(--lv-sel-b); }
.pbar { position: relative; display: block; width: 130px; height: 15px; border: 1px solid #b2b2b2; border-radius: 2px; background: linear-gradient(#eee, #fafafa); overflow: hidden; }
.pbar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(180deg, #d6f7c4 0, #4cc23b 45%, #2fa51e 50%, #6ed85a 100%); }
.pbar.done i { background: linear-gradient(180deg, #cfe7ff 0, #4a9be0 45%, #2a82d6 50%, #5fb0f0 100%); }
.pbar.err i { background: linear-gradient(180deg, #ffd0d0 0, #e04a4a 45%, #cf2b2b 50%, #e86262 100%); }
.pbar b { position: relative; display: block; text-align: center; font: 10.5px/15px Tahoma, var(--ui); font-weight: 400; color: #000; }
#tq-vpn { display: flex; align-items: center; gap: 5px; flex: 2; }

/* =========================== REQUESTS =========================== */
.rq { background: #fff; }
.rq-tabs { display: flex; gap: 2px; padding: 6px 8px 0; background: #f4f7fb; border-bottom: 1px solid #d5dfe5; flex: none; }
.rq-tabs button { padding: 5px 14px; border: 1px solid transparent; border-bottom: 0; border-radius: 3px 3px 0 0; background: none; cursor: default; }
.rq-tabs button.cur { background: #fff; border-color: #d5dfe5; margin-bottom: -1px; }
.rq-tabs button:hover:not(.cur) { background: var(--lv-hover); }
.rq-page { flex: 1; min-height: 0; overflow: auto; padding: 12px 14px; }
.rq-page[hidden] { display: none; }
.rq-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.rq-bar input { flex: 1; min-width: 0; height: 24px; border: 1px solid #a5b5c7; padding: 0 8px; font: 12px var(--ui); }
.rq-bar select { height: 24px; border: 1px solid #a5b5c7; font: 12px var(--ui); }
.rq-hint { color: #666; }
.rq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.rq-card { display: flex; gap: 10px; padding: 8px; border: 1px solid #e3e8ee; border-radius: 3px; background: linear-gradient(#fdfdfe, #f4f7fb); }
.rq-poster { width: 86px; height: 129px; flex: none; background: #e9eef4; border: 1px solid #c9d3de; overflow: hidden; }
.rq-poster.sm { width: 46px; height: 69px; }
.rq-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rq-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.rq-info b { font-size: 13px; font-weight: 600; } .rq-info span { color: #666; }
.rq-info p { margin: 0; color: #444; font-size: 11.5px; max-height: 4.4em; overflow: hidden; }
.rq-info .btn { margin-top: auto; }
.rq-st { padding: 1px 8px; border-radius: 9px; font-size: 11px; background: #eee; color: #333; }
.rq-st.ok { background: #e0f5e3; color: #146b23; } .rq-st.warn { background: #fff3d1; color: #8a5a00; } .rq-st.bad { background: #fbe1e1; color: #a11d1d; }
.rq-list { display: grid; gap: 6px; }
.rq-row { display: flex; gap: 10px; align-items: center; padding: 6px; border: 1px solid #e3e8ee; border-radius: 3px; }
.rq-row .rq-info p { max-height: none; }
.rq-act { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }

/* =========================== FILE SHARING =========================== */
.ex-side .sh-h { margin-top: 16px; }
.sh-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sh-links li { display: grid; gap: 1px; padding: 5px 6px; border: 1px solid #d5dfe5; border-radius: 3px; background: #fff; font-size: 11.5px; }
.sh-links li b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-links li small { color: #666; }
.sh-links li button { justify-self: start; border: 0; background: none; padding: 0; color: #b3261e; cursor: default; text-decoration: underline; font: inherit; }
#w-share .ex-side { width: 210px; }
#sh-body tr { cursor: default; }

/* =========================== RADIO & TAGS =========================== */
.stations { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; padding: 14px; }
.station { position: relative; display: block; padding: 0; border: 1px solid rgba(0,0,0,.35); border-radius: 6px; overflow: hidden; cursor: default; background: #000; aspect-ratio: 18 / 11; box-shadow: 0 3px 10px rgba(0,0,0,.25); transition: transform .2s, box-shadow .2s; }
.station img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.station::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.28) 0, rgba(255,255,255,0) 40%, rgba(0,0,0,0) 55%, rgba(0,0,0,.65) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); pointer-events: none; }
.station .st-txt { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; text-align: left; color: #fff; text-shadow: 0 1px 3px #000; }
.station b { display: block; font: 600 15px var(--ui); } .station small { font-size: 11.5px; opacity: .9; }
.station .st-play { position: absolute; z-index: 1; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s;
  background: radial-gradient(circle at 50% 28%, #e0f4ff 0, #5ab4f2 38%, #0e58ad 70%); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 12px rgba(60,160,255,.7); }
.station .st-play::after { content: ""; position: absolute; left: 14px; top: 11px; border: 7px solid transparent; border-left: 11px solid #fff; border-right: 0; }
.station:hover, .station:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,40,100,.35), 0 0 0 2px #7fc4ff; outline: none; }
.station:hover img { transform: scale(1.05); }
.station:hover .st-play, .station:focus-visible .st-play { opacity: 1; transform: scale(1); }
.st-note { margin: 0 14px 14px; color: #666; font-size: 11.5px; }
.wtags { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 2px !important; }
.tagchip { border: 1px solid #9cc3ea; border-radius: 10px; padding: 1px 9px; font: 11.5px var(--ui); color: #1e3287; cursor: default;
  background: linear-gradient(#ffffff, #e3effb); box-shadow: inset 0 1px 0 #fff; }
.tagchip:hover { border-color: #3c7fb1; background: linear-gradient(#eaf6fd, #bee6fd); }

/* play button on genre / mood tiles */
.witem-play { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%; z-index: 2; cursor: default;
  background: radial-gradient(circle at 50% 28%, #e0f4ff 0, #5ab4f2 38%, #0e58ad 70%); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 1px rgba(0,0,0,.35), 0 0 12px rgba(60,160,255,.6); transition: transform .15s, box-shadow .15s; }
.witem-play::after { content: ""; position: absolute; left: 15px; top: 12px; border: 7px solid transparent; border-left: 11px solid #fff; border-right: 0; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
.witem-play:hover, .witem-play:focus-visible { transform: scale(1.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 1px rgba(0,0,0,.35), 0 0 18px rgba(80,180,255,.95); outline: none; }
.ltile { position: relative; }
.ltile .witem-play { width: 30px; height: 30px; right: calc(50% - 50px); bottom: auto; top: 70px; }
.ltile .witem-play::after { left: 11px; top: 8px; border-width: 6px; border-left-width: 9px; }

/* resume row (WMP) */
.witem .art { position: relative; }
.wprog { position: absolute; left: 4px; right: 4px; bottom: 4px; height: 4px; border-radius: 2px; background: rgba(0,0,0,.45); overflow: hidden; }
.wprog i { display: block; height: 100%; background: linear-gradient(#bfe9ff, #2f9df0); }

/* =========================== CONTEXT MENU & SCREENSAVER =========================== */
.ctxmenu { position: fixed; z-index: 1500; min-width: 200px; padding: 2px; background: #f5f5f5; border: 1px solid #979797; box-shadow: 2px 3px 8px rgba(0,0,0,.35); }
.ctxmenu[hidden] { display: none; }
.ctxmenu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px 22px 4px 8px; border: 1px solid transparent; border-radius: 3px; background: none; text-align: left; cursor: default; }
.ctxmenu button img { width: 16px; height: 16px; }
.ctxmenu button:not(:has(img)) { padding-left: 32px; }
.ctxmenu button:hover { background: linear-gradient(#f3f8fd, #e5effa); border-color: #aecff7; }
.saver { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 7000; background: #000; cursor: none; }
.saver[hidden] { display: none; }

@media (max-width: 900px) {
  .tiles { gap: 20px; } .uframe { width: 92px; height: 92px; } .uframe.big { width: 150px; height: 150px; }
  .lf-in { width: 240px; } .lf-pw { margin-right: -44px; }
  .wmp-queue { display: none; }
  .wmp-body { flex-direction: column; }
  .wmp-nav { width: auto; display: flex; gap: 2px; overflow-x: auto; white-space: nowrap; padding: 4px; border-right: 0; border-bottom: 1px solid #d9e1ea; flex: none; }
  .wmp-nav h5 { display: none; }
  .wmp-nav button { width: auto; margin: 0; padding: 4px 10px; }
  .wmp-nav .login-hint { margin: 0 4px; padding: 4px 8px; white-space: normal; }
  .wmp .win-client { height: 78vh; }
  #w-library .win-client, #w-accounts .win-client { min-height: 60vh; }
  .wmp-tl { grid-template-columns: 1fr; justify-items: center; }
  .wmp-np { width: 100%; } .wmp-right { width: 100%; justify-content: center; }
  .wmp-search { width: 120px; }
  .cp-tasks { display: none; }
  .wmp-tabs button { padding: 0 8px; }
}
