/* SpeedUI Studio — platform screens.
   All measurements are in 1920×1080 screen pixels; the studio scales the whole
   canvas, so these read like a real 1080p capture. Layouts are measured from
   recent 1080p captures of each platform. */

.scr { position: absolute; inset: 0; overflow: hidden; line-height: 1.3; }
.scr button { font: inherit; color: inherit; border: 0; cursor: pointer; }
.scr [data-action] { cursor: pointer; transition: filter 0.15s; }
.scr [data-action]:hover { filter: brightness(1.15); }
.scr canvas[data-action]:hover { filter: none; }
.scr img { display: block; }

/* ================================================================= PS5 */
.scr-ps5 { background: #0b0d12; color: #fff; font-family: 'Inter', 'SST', sans-serif; }
.ps5-wall { position: absolute; inset: 0; background: center / cover no-repeat; }
.ps5-wall::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 32%, rgba(0, 0, 0, 0.55) 100%);
}
.ps5-logo { position: absolute; left: 92px; top: 600px; max-width: 320px; max-height: 190px; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6)); }
.ps5-hbar { position: absolute; left: 92px; right: 84px; top: 34px; height: 72px; display: flex; align-items: center; gap: 44px; font-size: 30px; color: rgba(255, 255, 255, 0.55); }
.ps5-hbar .on { color: #fff; font-weight: 500; }
.ps5-hic { margin-left: auto; display: flex; align-items: center; gap: 40px; font-style: normal; color: #fff; }
.ps5-hic b { font-weight: 400; }
.ps5-av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #d9a06b, #7c4a2d); }
.ps5-clock { font-size: 34px; color: #fff; margin-left: 24px; }
.ps5-tiles { position: absolute; left: 92px; top: 128px; display: flex; gap: 16px; align-items: flex-start; }
.ps5-tiles img { width: 118px; height: 118px; border-radius: 14px; object-fit: cover; }
.ps5-tiles img.big { width: 176px; height: 176px; }
.ps5-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.52); }
.ps5-panel {
  position: absolute;
  left: 456px;
  top: 80px;
  width: 782px;
  height: 808px;
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(32, 35, 43, 0.95);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.ps5-ptabs { width: 128px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 40px; padding-top: 40px; background: rgba(0, 0, 0, 0.16); }
.ps5-ptabs i { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 34px; color: rgba(255, 255, 255, 0.5); }
.ps5-ptabs i.on { color: #fff; background: rgba(255, 255, 255, 0.12); }
.ps5-pbody { flex: 1; min-width: 0; padding: 30px 22px 0 18px; }
.ps5-ph { font-size: 26px; color: rgba(255, 255, 255, 0.85); margin: 4px 0 16px 12px; }
.ps5-ph.sub { font-size: 22px; color: rgba(255, 255, 255, 0.6); margin-top: 26px; }
.ps5-item { position: relative; display: flex; align-items: center; gap: 24px; height: 128px; padding: 0 22px 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ps5-item.is-focus {
  border-radius: 10px;
  border-bottom-color: transparent;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px #fff, 0 0 26px rgba(255, 255, 255, 0.22);
  animation: ps5Breathe 2.8s ease-in-out infinite;
}
@keyframes ps5Breathe { 50% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0 0 40px rgba(255, 255, 255, 0.14); } }
.ps5-icon { width: 82px; height: 82px; border-radius: 8px; object-fit: cover; flex: none; background: #2a2f3a; }
.ps5-it { flex: 1; min-width: 0; align-self: flex-start; padding-top: 26px; }
.ps5-name { font-size: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps5-badge { display: inline-block; margin-top: 8px; padding: 0 8px; font-size: 15px; font-weight: 700; line-height: 22px; color: rgba(255, 255, 255, 0.85); border: 1.5px solid rgba(255, 255, 255, 0.6); border-radius: 4px; }
.ps5-st { position: absolute; right: 24px; top: 70px; font-size: 24px; color: rgba(255, 255, 255, 0.72); white-space: nowrap; }
.ps5-bar { position: absolute; left: 122px; right: 24px; bottom: 12px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.ps5-bar i { display: block; height: 100%; width: 0; background: #fff; transition: width 0s linear; }
.ps5-opt { position: absolute; right: 682px; top: 912px; display: flex; align-items: center; gap: 12px; font-size: 24px; }
.ps5-opt b { display: inline-grid; place-items: center; width: 40px; height: 30px; border-radius: 6px; background: #fff; color: #111; font-size: 20px; }
.ps5-cclabel { position: absolute; left: 540px; width: 400px; top: 944px; text-align: center; font-size: 22px; color: rgba(255, 255, 255, 0.85); }
.ps5-cc { position: absolute; left: 0; right: 0; top: 984px; display: flex; justify-content: center; }
.ps5-cc i { width: 110px; height: 62px; display: grid; place-items: center; font-style: normal; font-size: 27px; color: #fff; opacity: 0.7; filter: grayscale(1) brightness(1.6); }
.ps5-cc i.on { opacity: 1; color: #111; filter: grayscale(1); background: radial-gradient(circle, #fff 29px, transparent 30px); }
.ps5-toast {
  position: absolute;
  right: 56px;
  top: 48px;
  width: 640px;
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
  background: rgba(36, 40, 52, 0.97);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: translateX(130%);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ps5-toast.show { transform: none; }
.ps5-toast img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.ps5-toast-t { font-size: 26px; font-weight: 500; }
.ps5-toast-k { font-size: 22px; color: rgba(255, 255, 255, 0.72); margin-top: 4px; }

/* ================================================================ Xbox */
.scr-xbox { padding: 0 96px; background: #1c1c1c; color: #fff; font-family: 'Segoe UI Variable Display', 'Segoe UI', 'Inter', sans-serif; }
.xb-head { height: 146px; display: flex; justify-content: space-between; align-items: center; }
.xb-head .xb-h1 { margin: 0; font-size: 44px; font-weight: 400; }
.xb-sys { display: flex; gap: 18px; align-items: center; font-size: 28px; }
.xb-av { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4dbb4d, #0f6b0f); }
.xb-sec { font-size: 30px; margin: 0 0 18px; }
.xb-recent { display: flex; gap: 18px; margin-bottom: 40px; }
.xb-recent img, .xb-store { width: 150px; height: 150px; flex: none; border-radius: 4px; object-fit: cover; }
.xb-store {
  background: #107c10 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 8h14l-1 12H6z' fill='none' stroke='white' stroke-width='1.6'/><path d='M9 8V6a3 3 0 0 1 6 0v2' fill='none' stroke='white' stroke-width='1.6'/></svg>") center / 64px no-repeat;
}
.xb-note { font-size: 22px; color: rgba(255, 255, 255, 0.85); margin: -4px 0 18px; }
.xb-btns { display: flex; gap: 14px; margin-bottom: 26px; }
.xb-btns button { height: 62px; padding: 0 42px; border-radius: 4px; background: #3a3a3a; color: #fff; font-size: 22px; letter-spacing: 0.03em; }
.xb-item { display: flex; height: 230px; margin-bottom: 18px; border-radius: 4px; background: #2e2e2e; overflow: hidden; }
.xb-item.on { overflow: visible; box-shadow: 0 0 0 4px #5ec31f, 0 0 26px 4px rgba(94, 195, 31, 0.55); }
.xb-art { width: 230px; height: 230px; flex: none; object-fit: cover; border-radius: 4px 0 0 4px; }
.xb-body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 30px 40px 0 36px; }
.xb-l1 { display: flex; justify-content: space-between; gap: 30px; font-size: 26px; }
.xb-l1 b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xb-l1 span { font-size: 24px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.xb-state { margin-top: 6px; font-size: 24px; color: rgba(255, 255, 255, 0.88); }
.xb-l2 { display: flex; justify-content: space-between; margin-top: auto; font-size: 23px; color: rgba(255, 255, 255, 0.88); font-variant-numeric: tabular-nums; }
.xb-bar { height: 7px; margin: 12px 0 40px; background: #5a5a5a; }
.xb-bar i { display: block; height: 100%; width: 0; background: #fff; transition: width 0s linear; }
.xb-prompts { position: absolute; right: 48px; bottom: 34px; display: flex; gap: 30px; align-items: center; padding: 12px 22px; border-radius: 6px; background: #0a0a0a; font-size: 22px; }
.xb-prompts b { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border: 2px solid #fff; border-radius: 50%; font-size: 15px; font-weight: 400; }
.xb-toast {
  position: absolute;
  left: 50%;
  bottom: 64px;
  display: flex;
  gap: 20px;
  align-items: center;
  min-width: 560px;
  padding: 16px 34px 16px 16px;
  border-radius: 6px;
  background: #2b2b2b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 260%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.xb-toast.show { transform: translate(-50%, 0); }
.xb-toast img { width: 72px; height: 72px; border-radius: 4px; object-fit: cover; }
.xb-toast-k { font-size: 20px; color: #8fe28f; }
.xb-toast-t { font-size: 26px; font-weight: 600; }

/* =============================================================== Steam */
/* Measured from a 1080p capture of Library › Downloads. */
.scr-steam { display: flex; flex-direction: column; background: #262b33; color: #dcdedf; font-family: 'Motiva Sans', Arial, Helvetica, sans-serif; }
.st-menu { height: 42px; flex: none; display: flex; align-items: center; gap: 30px; padding-left: 26px; background: #171a21; font-size: 17px; color: #8f98a0; }
.st-sys { margin-left: auto; height: 100%; display: flex; align-items: center; gap: 10px; font-style: normal; }
.st-sys b { height: 32px; display: grid; place-items: center; padding: 0 12px; font-weight: 400; }
.st-bell { width: 50px; background: #4a8ab9 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 10v4h3l6 4V6l-6 4z' fill='white'/></svg>") center / 22px no-repeat; }
.st-inbox { background: #5c7e10; color: #d2e885; font-size: 15px; }
.st-user { display: flex !important; gap: 10px; color: #b8b6b4; background: #24303d; }
.st-user s { width: 28px; height: 28px; background: linear-gradient(135deg, #6a8bd8, #2c3d6e); }
.st-wc { width: 56px; padding: 0 !important; font-size: 15px; }
.st-nav { height: 82px; flex: none; display: flex; align-items: center; gap: 34px; padding: 0 34px; background: #171a21; font-size: 30px; }
.st-nav b { font-weight: 400; letter-spacing: 0.01em; color: #dcdedf; }
.st-nav b.on { color: #fff; font-weight: 700; }
.st-arrows { font-size: 30px; color: #dcdedf; }
.st-hero { position: relative; height: 200px; flex: none; display: flex; background: linear-gradient(90deg, #0b0f15, #10151d); border-bottom: 2px solid #2a6fb0; }
.st-cap { width: 560px; flex: none; background: center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.st-graph { width: 400px; flex: none; margin-left: 220px; display: flex; align-items: flex-end; }
.st-graph canvas { display: block; width: 400px; height: 150px; }
.st-info { flex: 1; padding: 26px 0 0 50px; }
.st-head { margin-bottom: 14px; font-size: 27px; font-weight: 700; letter-spacing: 0.06em; color: #fff; }
.st-stats { display: grid; grid-template-columns: repeat(4, 170px); }
.st-stats b { display: block; font-size: 21px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.st-stats span { font-size: 14px; letter-spacing: 0.08em; color: #8f98a0; }
.st-legend { display: flex; gap: 36px; margin-top: 26px; font-size: 14px; letter-spacing: 0.08em; color: #dcdedf; }
.st-legend span { display: flex; align-items: center; gap: 10px; }
.ic-bars {
  width: 14px;
  height: 16px;
  background:
    linear-gradient(#4b9be0, #4b9be0) 0 100% / 3px 55% no-repeat,
    linear-gradient(#4b9be0, #4b9be0) 5px 100% / 3px 100% no-repeat,
    linear-gradient(#4b9be0, #4b9be0) 10px 100% / 3px 75% no-repeat;
}
.ic-line { width: 20px; height: 3px; background: #6dc53b; }
.st-gear {
  position: absolute;
  right: 22px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  background: #3d4450 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='6.5' fill='none' stroke='white' stroke-width='4' stroke-dasharray='2.6 2.5'/><circle cx='12' cy='12' r='4.4' fill='none' stroke='white' stroke-width='2.2'/></svg>") center / 22px no-repeat;
}
.st-active { height: 124px; flex: none; display: flex; align-items: center; gap: 32px; padding: 0 80px; background: #1c2533; }
.st-capsule { width: 210px; height: 98px; flex: none; object-fit: cover; }
.st-title { flex: 1; align-self: flex-start; margin-top: 22px; font-size: 23px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-prog { width: 610px; flex: none; }
.st-pl { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; letter-spacing: 0.08em; color: #dcdedf; font-variant-numeric: tabular-nums; }
.st-state { color: #1a9fff; }
.st-state.dim { color: #8f98a0; }
.st-bar { height: 8px; margin: 8px 0 10px; background: #3d4450; overflow: hidden; }
.st-bar i { display: block; height: 100%; width: 0; background: #1a9fff; transition: width 0s linear; }
.st-size { text-align: right; font-size: 16px; letter-spacing: 0.04em; color: #8f98a0; font-variant-numeric: tabular-nums; }
.st-size b { color: #dcdedf; }
.st-pp { position: relative; width: 46px; height: 46px; flex: none; margin-left: 30px; border-radius: 2px; background: #1a9fff; }
.st-pp::before, .st-pp::after { content: ''; position: absolute; top: 13px; width: 5px; height: 20px; background: #fff; }
.st-pp::before { left: 15px; }
.st-pp::after { left: 26px; }
.st-pp.paused::before { left: 17px; top: 12px; width: 0; height: 0; background: none; border-left: 15px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.st-pp.paused::after { display: none; }
.st-list { flex: 1; min-height: 0; overflow: hidden; padding: 0 80px; }
.st-sec { display: flex; align-items: center; gap: 18px; margin: 30px 0 14px; }
.st-sec span { font-size: 26px; color: #dcdedf; letter-spacing: 0.02em; }
.st-sec em { font-style: normal; font-size: 22px; color: #8f98a0; }
.st-sec i { flex: 1; height: 1px; background: #3d4450; }
.st-sec small { font-size: 15px; color: #8f98a0; }
.st-row { display: flex; align-items: center; gap: 32px; height: 98px; margin-bottom: 20px; }
.st-row div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.st-row b { font-size: 23px; font-weight: 700; color: #fff; }
.st-row em { font-style: normal; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; color: #8f98a0; }
.st-row em.hl { color: #b8b6b4; }
.st-next { font-size: 16px; letter-spacing: 0.12em; color: #8f98a0; }
.st-dl { width: 46px; height: 46px; flex: none; border-radius: 2px; background: #3d4450 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 4v11m0 0l-5-5m5 5l5-5M5 19h14' fill='none' stroke='white' stroke-width='2.2'/></svg>") center / 24px no-repeat; }
.st-dl:hover, .st-clear:hover, .st-gear:hover { background-color: #4f5866; }
.st-when { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; color: #8f98a0; }
.st-clear { height: 50px; padding: 0 64px; border-radius: 2px; background: #3d4450; color: #fff; font-size: 21px; }
.st-sw { display: flex; align-items: flex-end; padding: 0 0 14px 16px; background: #000; color: #fff; font-size: 18px; letter-spacing: 0.06em; }
.st-foot { height: 80px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; background: #171d25; color: #b8b6b4; font-size: 16px; letter-spacing: 0.04em; }
.st-add, .st-fr { display: flex; align-items: center; gap: 14px; }
.st-add b, .st-fr b { width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid #b8b6b4; font-weight: 400; }
.st-fr { text-align: right; line-height: 1.2; }
.st-fr b { border-radius: 50%; }
.st-fmid { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.st-fmid b { font-weight: 400; color: #dcdedf; }
.st-fmid em { font-style: normal; font-size: 14px; color: #8f98a0; }
.st-fbar { width: 390px; height: 4px; margin-top: 6px; background: #0b0f15; }
.st-fbar s { display: block; height: 100%; width: 0; background: #3a6ea5; }

/* ================================================================ Epic */
.scr-epic { display: flex; background: #101014; color: #fff; font-family: 'Inter', sans-serif; }
.ep-side { width: 300px; flex: none; display: flex; flex-direction: column; gap: 4px; padding: 52px 24px 40px; background: #121216; }
.ep-mark { width: 54px; height: 64px; margin: 0 0 44px 18px; background: rgba(255, 255, 255, 0.92); clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%); }
.ep-nav { font-size: 22px; padding: 15px 18px; border-radius: 10px; color: rgba(255, 255, 255, 0.62); }
.ep-nav.on { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ep-side-bot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.ep-main { flex: 1; min-width: 0; padding: 56px 64px 0 56px; }
.ep-head { margin-bottom: 30px; }
.ep-head .ep-h1 { margin: 0; font-size: 44px; font-weight: 600; letter-spacing: -0.01em; }
.ep-card { margin-bottom: 14px; border-radius: 12px; background: #202024; overflow: hidden; }
.ep-row { display: flex; align-items: center; gap: 22px; padding: 20px 24px; }
.ep-cover { width: 66px; height: 88px; flex: none; border-radius: 6px; object-fit: cover; }
.ep-mid { flex: 1; min-width: 0; }
.ep-title { font-size: 24px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-bar { height: 5px; margin: 12px 0 10px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.ep-bar i { display: block; height: 100%; width: 0; background: #26bbff; transition: width 0s linear; }
.ep-bar i.alt { background: #3ccf91; }
.ep-l3 { display: flex; justify-content: space-between; font-size: 19px; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; }
.ep-l3 b { color: #fff; font-weight: 500; }
.ep-l3 em { font-style: normal; }
.ep-q .ep-l3 { margin-top: 8px; }
.ep-btns { display: flex; gap: 10px; margin-left: 12px; }
.ep-btns button { width: 48px; height: 48px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); font-size: 17px; }
.ep-graphs { display: grid; grid-template-columns: repeat(3, 1fr); background: #18181c; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ep-g { position: relative; height: 150px; padding: 18px 22px; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.ep-g:last-child { border-right: 0; }
.ep-gl b { display: block; font-size: 21px; font-weight: 600; }
.ep-gl span { font-size: 19px; color: rgba(255, 255, 255, 0.65); font-variant-numeric: tabular-nums; }
.ep-g canvas { position: absolute; left: 160px; right: 18px; bottom: 16px; width: calc(100% - 178px); height: 110px; }
.ep-q .ep-row { padding: 16px 24px; }
.ep-q .ep-cover { width: 54px; height: 72px; }

/* ================================================================= IDM */
.scr-idm { background: #071331; font-family: 'Segoe UI', Tahoma, sans-serif; }
.win-wall {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 620px at 62% 44%, rgba(70, 140, 255, 0.55), transparent 62%),
    radial-gradient(760px 520px at 34% 62%, rgba(130, 90, 255, 0.32), transparent 60%),
    linear-gradient(160deg, #0a1a3d, #040a1b);
}
/* The dialog is drawn at 100% and shown at 150% display scaling, like a real 1080p desktop. */
.idm-stage { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%) scale(1.5); }
.idm-win {
  width: 580px;
  background: #fff;
  color: #000;
  border: 1px solid #9a9a9a;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-size: 12px;
}
.idm-tb { height: 32px; display: flex; align-items: center; gap: 8px; padding-left: 10px; background: #fff; }
.idm-ico { width: 16px; height: 16px; flex: none; background: linear-gradient(135deg, #3fd462, #108a2e); clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 50%); }
.idm-tt { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-ctl { display: flex; }
.w-ctl b { width: 46px; height: 32px; display: grid; place-items: center; font-weight: 400; font-size: 10px; }
.idm-tabs { display: flex; padding: 6px 10px 0; background: #f0f0f0; border-bottom: 1px solid #d0d0d0; }
.idm-tabs span { padding: 4px 12px 5px; border: 1px solid transparent; border-bottom: 0; margin-bottom: -1px; color: #222; }
.idm-tabs .on { background: #fff; border-color: #d0d0d0; border-radius: 3px 3px 0 0; }
.idm-body { padding: 10px 14px 14px; background: #fff; }
.idm-url { padding: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; color: #222; }
.idm-kv { border-collapse: collapse; width: 100%; margin-bottom: 4px; table-layout: fixed; }
.idm-kv th { width: 130px; padding: 2px 0; text-align: left; font-weight: 400; color: #222; }
.idm-kv td { padding: 2px 0; height: 20px; white-space: pre; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.idm-kv td.idm-yes { padding-left: 150px; }
.idm-pbar { height: 16px; border: 1px solid #bcbcbc; background: #e6e6e6; margin: 6px 0 10px; }
.idm-pbar i { display: block; height: 100%; width: 0; background: #06b025; transition: width 0s linear; }
.idm-btns { display: flex; gap: 8px; }
.idm-btns span { flex: 1; }
.idm-btns.end { justify-content: flex-end; margin-top: 12px; }
.idm-btns button { min-width: 84px; height: 24px; padding: 0 10px; background: #fdfdfd; border: 1px solid #adadad; border-radius: 4px; font-size: 12px; color: #000; }
.idm-btns button.def { border-color: #0067c0; box-shadow: inset 0 0 0 1px #0067c0; }
.idm-lbl { margin: 12px 0 4px; color: #333; text-align: center; }
.idm-segs { display: block; width: 550px; height: 14px; border: 1px solid #9a9a9a; }
.idm-tblwrap { margin-top: 8px; border: 1px solid #c8c8c8; height: 174px; overflow: hidden; }
.idm-conn { width: 100%; border-collapse: collapse; table-layout: fixed; }
.idm-conn th { background: #f5f5f5; font-weight: 400; text-align: left; padding: 3px 6px; border-bottom: 1px solid #ddd; border-right: 1px solid #e3e3e3; }
.idm-conn th:nth-child(1) { width: 36px; }
.idm-conn th:nth-child(2) { width: 130px; }
.idm-conn td { padding: 1px 6px; height: 19px; border-right: 1px solid #eee; white-space: nowrap; font-variant-numeric: tabular-nums; }
.idm-done { display: none; }
.idm-done.show { display: block; }
.idm-done-h { font-size: 15px; color: #1f4e9c; margin: 2px 0 10px; }
.idm-done .idm-kv td { white-space: nowrap; }
.idm-chk { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: #333; }
.idm-chk i { width: 13px; height: 13px; border: 1px solid #777; border-radius: 2px; }
.win-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 30, 36, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tb-apps { display: flex; gap: 10px; }
.tb-apps i { width: 50px; height: 50px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); }
.tb-apps i.tb-start {
  background:
    linear-gradient(#4cc2ff, #4cc2ff) 12px 12px / 12px 12px no-repeat,
    linear-gradient(#4cc2ff, #4cc2ff) 26px 12px / 12px 12px no-repeat,
    linear-gradient(#4cc2ff, #4cc2ff) 12px 26px / 12px 12px no-repeat,
    linear-gradient(#4cc2ff, #4cc2ff) 26px 26px / 12px 12px no-repeat;
}
.tb-apps i.tb-idm { position: relative; background: rgba(255, 255, 255, 0.14); }
.tb-apps i.tb-idm::before { content: ''; position: absolute; inset: 12px; background: linear-gradient(135deg, #3fd462, #108a2e); clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 50%); }
.tb-apps i.tb-idm::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 3px; height: 3px; border-radius: 2px; background: #4cc2ff; }
.tb-clock { position: absolute; right: 28px; display: flex; flex-direction: column; align-items: flex-end; color: #fff; font-size: 18px; line-height: 1.35; }
.tb-clock b { font-weight: 400; }
.tb-clock em { font-style: normal; }

/* ============================================================== Chrome */
.scr-chrome { display: flex; flex-direction: column; background: #1f1f1f; color: #e3e3e3; font-family: 'Segoe UI', 'Roboto', sans-serif; }
.cr-tabs { height: 60px; flex: none; display: flex; align-items: flex-end; padding-left: 12px; background: #18181a; }
.cr-tab { display: flex; align-items: center; gap: 14px; width: 360px; height: 48px; padding: 0 18px; border-radius: 14px 14px 0 0; font-size: 19px; color: #c4c7c5; }
.cr-tab.on { background: #2b2b2e; color: #e3e3e3; }
.cr-tab span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-tab b { font-weight: 400; font-size: 15px; color: #9aa0a6; }
.cr-fav { width: 22px; height: 22px; border-radius: 50%; background: #5f6368; flex: none; }
.cr-fav.dl { background: #a8c7fa; }
.cr-plus { align-self: center; font-size: 26px; color: #c4c7c5; margin-left: 12px; }
.cr-winctl { margin-left: auto; align-self: flex-start; display: flex; }
.cr-winctl b { width: 69px; height: 48px; display: grid; place-items: center; font-weight: 300; font-size: 16px; color: #e3e3e3; }
.cr-bar { position: relative; height: 68px; flex: none; display: flex; align-items: center; gap: 14px; padding: 0 18px; background: #2b2b2e; border-bottom: 1px solid #3c3c3f; }
.cr-navs { display: flex; gap: 6px; }
.cr-navs b { width: 48px; height: 48px; display: grid; place-items: center; font-weight: 400; font-size: 26px; color: #c4c7c5; }
.cr-navs b:nth-child(2) { color: #6c6f70; }
.cr-omni { flex: 1; height: 50px; border-radius: 25px; background: #1f1f1f; display: flex; align-items: center; gap: 14px; padding: 0 22px; font-size: 20px; }
.cr-chip { padding: 3px 14px; border-radius: 16px; background: #3c3c3f; font-size: 17px; }
.cr-dlbtn { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: none; color: #a8c7fa; }
.cr-dlbtn:hover { background: rgba(255, 255, 255, 0.06); }
.cr-dlbtn svg:first-child { position: absolute; left: 6px; top: 6px; }
.cr-dlbtn .trk { fill: none; stroke: rgba(168, 199, 250, 0.22); stroke-width: 3; }
.cr-dlbtn .arc { fill: none; stroke: #a8c7fa; stroke-width: 3; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 20px 20px; transition: stroke-dashoffset 1s linear; }
.cr-dlbtn.done .trk, .cr-dlbtn.done .arc { opacity: 0; }
.cr-avatar { width: 40px; height: 40px; border-radius: 50%; background: #7cacf8; color: #062e6f; display: grid; place-items: center; font-weight: 600; font-size: 19px; }
.cr-kebab { width: 40px; text-align: center; font-size: 26px; color: #c4c7c5; }
.cr-bubble {
  position: absolute;
  right: 100px;
  top: 64px;
  z-index: 5;
  width: 580px;
  padding: 14px 0 10px;
  background: #303134;
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
}
.cr-bubble.open { opacity: 1; transform: none; pointer-events: auto; }
.cr-bub-h { font-size: 20px; padding: 6px 26px 12px; }
.cr-bub-item { display: flex; align-items: center; gap: 18px; padding: 10px 20px 10px 26px; }
.cr-file { width: 34px; height: 42px; flex: none; border-radius: 3px; background: linear-gradient(225deg, transparent 9px, #a8c7fa 9px); }
.cr-file.big { width: 42px; height: 52px; }
.cr-bub-txt { flex: 1; min-width: 0; }
.cr-bub-name { font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-bub-st { font-size: 16px; color: #9aa0a6; margin: 4px 0 8px; white-space: nowrap; }
.cr-prog { height: 5px; border-radius: 3px; background: rgba(168, 199, 250, 0.22); overflow: hidden; }
.cr-prog i { display: block; height: 100%; width: 0; background: #a8c7fa; transition: width 0s linear; }
.cr-bub-act { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #c4c7c5; font-size: 15px; }
.cr-bub-f { display: flex; justify-content: space-between; margin-top: 8px; padding: 14px 26px 4px; border-top: 1px solid #45464a; font-size: 18px; }
.cr-page { flex: 1; min-height: 0; background: #1f1f1f; }
.cr-ph { height: 86px; display: flex; align-items: center; gap: 24px; padding: 0 32px; border-bottom: 1px solid #333; }
.cr-ph-t { width: 330px; font-size: 28px; }
.cr-search { width: 880px; height: 56px; margin: 0 auto; display: flex; align-items: center; padding: 0 26px; border-radius: 28px; background: #2b2b2e; font-size: 20px; color: #9aa0a6; }
.cr-list { width: 1020px; margin: 36px auto 0; }
.cr-date { font-size: 20px; font-weight: 500; margin: 0 0 16px 4px; }
.cr-card { position: relative; display: flex; gap: 30px; padding: 30px 36px; background: #2b2b2e; border-radius: 16px; }
.cr-card-main { flex: 1; min-width: 0; }
.cr-name { font-size: 22px; }
.cr-name.done { color: #a8c7fa; text-decoration: underline; }
.cr-src { font-size: 18px; color: #9aa0a6; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 40px; }
.cr-st { min-height: 26px; margin: 14px 0 12px; font-size: 19px; color: #c4c7c5; }
.cr-card .cr-prog { height: 6px; margin-bottom: 20px; }
.cr-acts { display: flex; gap: 12px; }
.cr-acts button { height: 44px; padding: 0 22px; border-radius: 22px; border: 1px solid #5f6368; background: none; color: #a8c7fa; font-size: 18px; font-weight: 500; }
.cr-x { position: absolute; right: 30px; top: 28px; font-size: 20px; color: #9aa0a6; }

/* ============================================================= YouTube */
.scr-yt { background: #000; color: #fff; font-family: 'Roboto', Arial, sans-serif; }
.yt-video { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
.yt-top { position: absolute; left: 0; right: 0; top: 0; padding: 34px 48px 90px; background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)); font-size: 30px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.yt-spin { position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; margin: -50px 0 0 -50px; display: none; }
.yt-spin.show { display: block; }
.yt-spin i { position: absolute; inset: 0; border-radius: 50%; border: 9px solid transparent; border-top-color: #fff; border-right-color: #fff; animation: ytSpin 1s linear infinite; }
@keyframes ytSpin { to { transform: rotate(360deg); } }
.yt-sfn { position: absolute; left: 30px; top: 120px; padding: 14px 22px 16px; background: rgba(28, 28, 28, 0.8); font-size: 17px; line-height: 1.5; }
.yt-sfn dl { display: grid; grid-template-columns: auto auto; margin: 0; }
.yt-sfn dt { text-align: right; font-weight: 700; padding-right: 18px; }
.yt-sfn dd { margin: 0; white-space: nowrap; min-width: 560px; }
.yt-sfn .sp { display: flex; align-items: center; gap: 10px; }
.yt-sfn .sp canvas { width: 240px; height: 22px; }
.yt-sfn-x { position: absolute; right: 12px; top: 6px; font-size: 16px; }
.yt-ctrls { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 36px 10px; }
.yt-prog { position: relative; height: 8px; margin-bottom: 12px; background: rgba(255, 255, 255, 0.22); }
.yt-prog i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
.yt-load { background: rgba(255, 255, 255, 0.45); }
.yt-play { background: #f00; }
.yt-prog b { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #f00; }
.yt-row { display: flex; align-items: center; gap: 8px; height: 76px; }
.yt-grow { flex: 1; }
.yt-time { font-size: 26px; margin-left: 12px; color: #ddd; }
.yt-btn { position: relative; width: 76px; height: 76px; flex: none; background: center / 76px 76px no-repeat; }
.yt-btn[data-ref='pp'] { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><path fill='white' d='M12 26h4V10h-4zm8-16v16h4V10z'/></svg>"); }
.yt-btn[data-ref='pp'].paused { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><path fill='white' d='M12 26l14-8-14-8z'/></svg>"); }
.yt-next { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><path fill='white' d='M12 24l8.5-6L12 12zm10-12v12h2V12z'/></svg>"); }
.yt-vol { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><path fill='white' d='M8 21h4l5 5V10l-5 5H8zm11.5-3A4.5 4.5 0 0 0 17 14v8a4.5 4.5 0 0 0 2.5-4zM17 9.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/></svg>"); }
.yt-cc { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><rect x='8' y='11' width='20' height='14' rx='2' fill='none' stroke='white' stroke-width='2'/><path d='M12 17h4M12 20h6M20 20h4M18 17h6' stroke='white' stroke-width='1.6'/></svg>"); }
.yt-gear { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><circle cx='18' cy='18' r='7.5' fill='none' stroke='white' stroke-width='4.5' stroke-dasharray='3.1 2.8'/><circle cx='18' cy='18' r='5.2' fill='none' stroke='white' stroke-width='2.4'/></svg>"); }
.yt-gear b { position: absolute; right: 8px; top: 14px; padding: 1px 4px; border-radius: 3px; background: #f00; font-size: 12px; font-weight: 700; line-height: 1.2; }
.yt-theater { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><rect x='7' y='12' width='22' height='12' rx='1' fill='none' stroke='white' stroke-width='2'/></svg>"); }
.yt-fs { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'><path d='M10 16v-6h6M20 10h6v6M26 20v6h-6M16 26h-6v-6' fill='none' stroke='white' stroke-width='2'/></svg>"); }
