/* ============================================================
   ScreenByte – refined UI (Linear / Vercel / Raycast inspired)
   Glass header · gradient accents · layered shadows · rhythm
   ============================================================ */

:root {
  --bg: #fdfdfd;
  --bg-soft: #f6f7f9;
  --border: #e8eaee;
  --border-strong: #d9dce2;
  --text: #10131a;
  --text-soft: #4d5560;
  --text-faint: #8a919c;
  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --accent-grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 19, 26, .05);
  --shadow-md: 0 1px 2px rgba(16, 19, 26, .04), 0 8px 24px -6px rgba(16, 19, 26, .09);
  --shadow-lg: 0 2px 4px rgba(16, 19, 26, .04), 0 16px 40px -8px rgba(16, 19, 26, .14);
  --ring: 0 0 0 3px rgba(99, 102, 241, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Soft ambient glow at the top of every page */
body::before {
  content: "";
  position: absolute;
  top: -180px; left: 50%;
  width: 900px; height: 480px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(99, 102, 241, .10), transparent 70%),
    radial-gradient(closest-side at 65% 40%, rgba(139, 92, 246, .07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.site-header, main, .site-footer { position: relative; z-index: 1; }

a { color: inherit; }
img, canvas { max-width: 100%; }
::selection { background: rgba(99, 102, 241, .22); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

.container { max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* ---------------- Header (glass) ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 253, 253, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid rgba(16, 19, 26, .06);
}
.header-inner {
  max-width: 920px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.logo {
  font-weight: 800; font-size: 20px; text-decoration: none;
  letter-spacing: -0.04em; display: inline-flex; align-items: baseline;
}
.logo span {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  font-size: 14px; font-weight: 550; color: var(--text-soft);
  text-decoration: none; padding: 6px 12px; border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover { color: var(--text); background: rgba(16, 19, 26, .05); }

.color-nav { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.color-dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(16, 19, 26, .14);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .25), var(--shadow-sm);
  display: inline-block;
  transition: transform .16s cubic-bezier(.34, 1.56, .64, 1), box-shadow .16s ease;
}
.color-dot:hover { transform: scale(1.25); box-shadow: var(--ring); }
.color-dot.current {
  outline: 2px solid var(--text); outline-offset: 2.5px;
}

/* ---------------- Hero / tool card ---------------- */
.tool-card {
  margin: 26px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-md);
}
.screen-preview {
  height: 280px; background: #000;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.screen-preview::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  pointer-events: none;
}
.screen-preview .inner-note {
  color: rgba(255, 255, 255, .6); font-size: 14px; text-align: center; padding: 0 16px;
}
.tool-controls { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.control-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.control-row label { font-size: 14px; color: var(--text-soft); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 11px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; cursor: pointer; text-decoration: none;
  letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--text); color: #fff;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -2px rgba(16, 19, 26, .3);
}
.btn-secondary {
  background: #fff; color: var(--text); border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { transform: translateY(-1px); border-color: #c3c8d1; box-shadow: var(--shadow-md); }
.btn-accent {
  background: var(--accent-grad); color: #fff;
  box-shadow: 0 1px 2px rgba(99, 102, 241, .3), 0 6px 20px -4px rgba(99, 102, 241, .45);
}
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 4px 14px -2px rgba(99, 102, 241, .5), 0 10px 28px -6px rgba(139, 92, 246, .4); }

select, input[type="number"] {
  padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: 10px;
  font-size: 14px; background: #fff; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
select:hover, input[type="number"]:hover { border-color: #c3c8d1; }
select:focus, input[type="number"]:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
input[type="color"] {
  width: 44px; height: 38px; padding: 3px; border: 1px solid var(--border-strong);
  border-radius: 10px; background: #fff; cursor: pointer;
}
input[type="range"] { vertical-align: middle; accent-color: var(--accent); }

/* ---------------- Typography & sections ---------------- */
section { margin: 52px 0; }
h1 {
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.15; letter-spacing: -0.035em; font-weight: 800;
  margin: 8px 0 14px;
}
h2 {
  font-size: 25px; letter-spacing: -0.025em; font-weight: 750;
  margin: 0 0 16px;
  padding-top: 8px;
}
h3 { font-size: 17px; margin: 22px 0 6px; letter-spacing: -0.01em; }
p { color: var(--text-soft); margin-bottom: 12px; }
.lead { font-size: 17.5px; color: var(--text-soft); line-height: 1.7; }

/* ---------------- Cards ---------------- */
.use-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 14px; background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.use-card:hover { border-color: #dfe2e9; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.use-card h3 { margin-top: 0; }
.use-card p { margin-bottom: 0; }

.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 10px; background: #fff;
  box-shadow: var(--shadow-sm);
}
.faq-item h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 650; color: var(--text); }
.faq-item p { margin: 0; }

/* ---------------- Color grid ---------------- */
.color-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 14px; margin: 18px 0;
}
.color-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; text-align: center; text-decoration: none; background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.color-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #dfe2e9; }
.color-card .swatch {
  height: 60px; border-radius: 10px; margin-bottom: 10px;
  border: 1px solid rgba(16, 19, 26, .08);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, .12);
}
.color-card .name { font-size: 13.5px; font-weight: 650; letter-spacing: -0.01em; }
.color-card .hex { font-size: 12px; color: var(--text-faint); font-family: ui-monospace, "SF Mono", Consolas, monospace; }

/* ---------------- Generator ---------------- */
.generator {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-soft); margin: 18px 0;
  box-shadow: var(--shadow-md);
}
.g-preview {
  background:
    linear-gradient(45deg, #eceef2 25%, transparent 25%, transparent 75%, #eceef2 75%),
    linear-gradient(45deg, #eceef2 25%, transparent 25%, transparent 75%, #eceef2 75%),
    #fbfbfc;
  background-size: 20px 20px; background-position: 0 0, 10px 10px;
  display: flex; align-items: center; justify-content: center;
  min-height: 260px; padding: 20px;
  border-bottom: 1px solid var(--border);
}
.g-preview canvas {
  max-width: 100%; max-height: 380px; border-radius: 8px;
  box-shadow: 0 4px 20px -4px rgba(16, 19, 26, .25);
  background: #fff;
}
.g-controls { padding: 20px; display: grid; gap: 14px; }
.g-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.g-row .lbl { font-size: 13px; font-weight: 650; color: var(--text-faint); min-width: 84px; text-transform: uppercase; letter-spacing: .05em; }

/* ---------------- Footer ---------------- */
.site-footer {
  margin-top: 72px; padding: 36px 0 44px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, #f5f6f8 100%);
  font-size: 14px; color: var(--text-soft);
}
.footer-links { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.footer-links a {
  color: var(--text-soft); text-decoration: none;
  padding: 4px 10px; border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.footer-links a:hover { color: var(--text); background: rgba(16, 19, 26, .05); }
.disclaimer { font-size: 12.5px; color: var(--text-faint); max-width: 720px; }

/* ---------------- Fullscreen overlay ---------------- */
#fs-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  width: 100vw; height: 100vh; cursor: pointer;
  padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom);
}
#fs-overlay.active { display: block; }
#fs-overlay .fs-exit-hint {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: rgba(128, 128, 128, .9); font-size: 14px; opacity: 1;
  transition: opacity 1.2s ease; pointer-events: none; text-align: center; padding: 0 20px;
}
#fs-overlay.hint-faded .fs-exit-hint { opacity: 0; }

/* ---------------- Breadcrumb (pill chips) ---------------- */
.breadcrumb {
  font-size: 13px; margin-top: 24px; margin-bottom: 4px;
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  color: var(--text-faint);
}
.breadcrumb a {
  color: var(--text-soft); text-decoration: none;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(16, 19, 26, .045);
  transition: background .15s ease, color .15s ease;
}
.breadcrumb a:hover { color: var(--text); background: rgba(16, 19, 26, .09); }

@media (max-width: 640px) {
  h1 { font-size: 27px; }
  .screen-preview { height: 200px; }
  .container { padding: 0 18px; }
}

/* ---------------- Article lists & callouts ---------------- */
section ol, section ul { color: var(--text-soft); margin: 8px 0 14px 22px; }
section li { margin-bottom: 7px; }
section li::marker { color: var(--accent); }
.tip {
  background: linear-gradient(135deg, rgba(99, 102, 241, .07), rgba(139, 92, 246, .05));
  border: 1px solid rgba(99, 102, 241, .18);
  border-left: 3px solid var(--accent);
  padding: 12px 16px; border-radius: 10px;
  color: #3c4250; font-size: 15px;
}

/* ---------------- Hub cards ---------------- */
.hub-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 14px; margin: 18px 0;
}
.hub-card {
  position: relative; display: flex; flex-direction: column; gap: 5px;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px 20px;
  text-decoration: none; background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d8dbe3; }
.hub-card:hover .hub-arrow { transform: translateX(3px); color: var(--accent); }
.hub-title { font-weight: 700; font-size: 15px; color: var(--text); letter-spacing: -0.01em; }
.hub-desc { font-size: 13px; color: var(--text-faint); line-height: 1.55; }
.hub-arrow {
  position: absolute; right: 16px; bottom: 16px; color: #b6bcc6; font-size: 14px;
  transition: transform .18s ease, color .18s ease;
}

.tool-note { font-size: 13px; color: var(--text-faint); }
.disclaimer-box {
  font-size: 12.5px; color: var(--text-faint); border-top: 1px solid var(--border);
  padding-top: 16px; margin-top: 32px;
}

/* ---------------- Effect stage ---------------- */
.stage {
  position: relative; width: 100%; aspect-ratio: 16/9; background: #000;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  user-select: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.stage::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  pointer-events: none;
}
.stage:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.stage:fullscreen::after { display: none; }
.stage.stage-fixed { position: fixed; inset: 0; z-index: 9999; width: 100vw; height: 100vh; border-radius: 0; }
.stage.stage-fixed::after { display: none; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage .stage-hint { position: absolute; left: 12px; bottom: 10px; color: rgba(255, 255, 255, .4); font-size: 11px; pointer-events: none; }
.stage .stage-note { position: absolute; right: 12px; bottom: 10px; color: rgba(255, 255, 255, .45); font-size: 11px; pointer-events: none; }
.pt-label {
  position: absolute; top: 14px; left: 16px; font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 13px; color: #fff; letter-spacing: .5px; pointer-events: none;
}

@media (max-width: 640px) {
  .main-nav { gap: 2px; }
  .main-nav a { font-size: 13px; padding: 5px 9px; }
}

.video-embed {
  position: relative; width: 100%; aspect-ratio: 16/9; margin: 16px 0;
  background: #000; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Effects (fullscreen + preview) ---------- */
#fs-fx-content { position: absolute; inset: 0; overflow: hidden; }
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fx-preview {
  position: relative; height: 300px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); background: #000; cursor: pointer;
}
.fx-preview .fx-canvas { width: 100%; height: 100%; }

/* Blue screen */
.fx-bsod { position: absolute; inset: 0; background: #0078D7; color: #fff; display: flex; align-items: center; justify-content: center; }
.fx-bsod-inner { max-width: 720px; padding: 24px 8%; font-family: "Segoe UI", Arial, sans-serif; }
.fx-bsod-face { font-size: 84px; line-height: 1; margin-bottom: 26px; }
.fx-bsod-text, .fx-bsod-pct, .fx-bsod-meta { color: #fff; font-size: 17px; line-height: 1.6; margin-bottom: 18px; }
.fx-bsod-meta { font-size: 13px; opacity: .85; }

/* Loading */
.fx-loading { position: absolute; inset: 0; background: #0f1014; color: #e5e7eb; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-family: "Segoe UI", Arial, sans-serif; }
.fx-spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255,255,255,.18); border-top-color: #e5e7eb; animation: fxspin 1s linear infinite; }
@keyframes fxspin { to { transform: rotate(360deg); } }
.fx-loading-text { font-size: 18px; letter-spacing: .3px; }
.fx-loading-pct { font-size: 14px; opacity: .75; }
.fx-loading-hint { font-size: 12px; opacity: .45; max-width: 320px; text-align: center; }

/* Fake update */
.fx-update { position: absolute; inset: 0; background: #1b2f4d; color: #eaf1fb; display: flex; align-items: center; justify-content: center; font-family: "Segoe UI", Arial, sans-serif; }
.fx-update-inner { max-width: 560px; padding: 24px 8%; text-align: center; }
.fx-update-title { font-size: 30px; font-weight: 600; margin-bottom: 12px; }
.fx-update-sub { font-size: 14px; opacity: .8; margin-bottom: 26px; line-height: 1.6; }
.fx-update-bar { height: 8px; background: rgba(255,255,255,.18); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.fx-update-fill { height: 100%; background: #6ea8fe; transition: width .6s ease; }
.fx-update-pct { font-size: 14px; opacity: .85; margin-bottom: 22px; }
.fx-update-foot { font-size: 12px; opacity: .45; }

/* Share toast */
.sb-toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 12px);
  background: rgba(16, 19, 26, .92); color: #fff; font-size: 14px; font-weight: 500;
  padding: 10px 18px; border-radius: 999px; z-index: 10000;
  box-shadow: 0 8px 30px -6px rgba(0, 0, 0, .45);
  opacity: 0; transition: opacity .25s ease, transform .25s ease;
  pointer-events: none; max-width: 88vw; overflow: hidden; text-overflow: ellipsis;
}
.sb-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Quick tool block on guide pages */
.quick-tool .qt-preview {
  height: 200px; position: relative;
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.quick-tool .qt-preview::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  pointer-events: none;
}
.quick-tool .qt-preview-note {
  position: relative; z-index: 1;
  margin: 14px 16px; font-size: 11.5px; letter-spacing: .04em;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .14);
}
.quick-tool .qt-preview[style*="#ffffff"] .qt-preview-note,
.quick-tool .qt-preview[style*="#fff"] .qt-preview-note {
  background: rgba(0, 0, 0, .06); color: #4d5560; border-color: rgba(16, 19, 26, .1);
}

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; left: 50%; bottom: 20px;
  transform: translate(-50%, 18px);
  width: min(700px, calc(100% - 28px)); z-index: 9500;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.consent.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.consent-inner {
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 44px -10px rgba(16, 19, 26, .3), var(--shadow-sm);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.consent-text strong { display: block; font-size: 15px; letter-spacing: -.01em; margin-bottom: 6px; color: var(--text); }
.consent-text p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-soft); }
.consent-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent-actions .btn { padding: 9px 18px; font-size: 13.5px; }
.consent-open { cursor: pointer; }
@media (max-width: 560px) {
  .consent { bottom: 12px; }
  .consent-actions { flex-direction: column-reverse; }
  .consent-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; left: 50%; bottom: 20px;
  transform: translate(-50%, 18px);
  width: min(700px, calc(100% - 28px)); z-index: 9500;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.consent.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.consent-inner {
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 44px -10px rgba(16, 19, 26, .3), var(--shadow-sm);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.consent-text strong { display: block; font-size: 15px; letter-spacing: -.01em; margin-bottom: 6px; color: var(--text); }
.consent-text p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-soft); }
.consent-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent-actions .btn { padding: 9px 18px; font-size: 13.5px; }
.consent-open { cursor: pointer; }
@media (max-width: 560px) {
  .consent { bottom: 12px; }
  .consent-actions { flex-direction: column-reverse; }
  .consent-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- YouTube click-to-load facade ---------- */
.yt-facade {
  position: relative; display: block; width: 100%; aspect-ratio: 16/9;
  border-radius: 14px; overflow: hidden; background: #000; cursor: pointer;
  box-shadow: 0 18px 44px -18px rgba(16, 19, 26, .45), 0 0 0 1px rgba(255, 255, 255, .06);
  margin: 14px 0 6px;
}
.yt-facade img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s ease, opacity .3s ease;
}
.yt-facade:hover img { transform: scale(1.02); opacity: .88; }
.yt-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 54px; border-radius: 14px;
  background: rgba(0, 0, 0, .68); border: 1.5px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .2s ease, transform .2s ease;
}
.yt-facade:hover .yt-play { background: rgba(0, 0, 0, .82); transform: translate(-50%, -50%) scale(1.05); }
.yt-play::after {
  content: ""; position: absolute; left: 30px; top: 17px;
  border-left: 19px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.yt-note {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, .72);
  background: rgba(0, 0, 0, .5); border-radius: 8px; padding: 5px 10px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (max-width: 600px) {
  .yt-play { width: 58px; height: 42px; }
  .yt-play::after { left: 23px; top: 13px; border-left-width: 15px; border-top-width: 8px; border-bottom-width: 8px; }
  .yt-note { font-size: 10px; }
}
