:root {
  --yt-red: #FF0000;
  --yt-red-deep: #CC0000;
  --yt-red-soft: #FFE5E5;
  --yt-ink: #0F0F0F;
  --yt-muted: #606060;
  --yt-line: #E5E5E5;
  --yt-bg: #FFFFFF;
  --yt-soft: #F9FAFB;
  --yt-radius: 16px;
  --yt-shadow: 0 8px 30px rgba(15, 15, 15, 0.08);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --tb-blue: var(--yt-red);
  --tb-blue-deep: var(--yt-red-deep);
  --tb-blue-soft: var(--yt-red-soft);
  --tb-sky: #FF4D4D;
  --tb-ink: var(--yt-ink);
  --tb-muted: var(--yt-muted);
  --tb-line: var(--yt-line);
  --tb-white: #fff;
  --tb-bg: var(--yt-bg);
  --tb-radius: var(--yt-radius);
  --tb-shadow: var(--yt-shadow);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, .yt-body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--yt-ink);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(255,0,0,0.06), transparent 50%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(255,0,0,0.05), transparent 48%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}
body.is-rtl { direction: rtl; }
img { max-width: 100%; display: block; }
a { color: var(--yt-ink); text-decoration: none; font-weight: 600; }
a:hover { color: var(--yt-red); }

.tb-brand-logo {
  width: 36px; height: 36px; object-fit: contain; border-radius: 10px;
  background: var(--yt-red);
}
.tb-text-sm { font-size: 0.88em; }
.tb-text-lg { font-size: 1.15em; font-weight: 600; }
.tb-prose .art-mini-card, .tb-page-card .art-mini-card {
  background: #fff; border: 1px solid var(--yt-line);
  border-radius: 14px; padding: 0.9rem; margin: 0.75rem 0;
  box-shadow: var(--yt-shadow);
}
.tb-prose img, .tb-page-card img, .tb-article-card img { max-width: 100%; height: auto; border-radius: 12px; }
.tb-prose blockquote, .tb-page-card blockquote {
  margin: 1rem 0; padding: 0.75rem 1rem; border-left: 4px solid var(--yt-red);
  background: var(--yt-red-soft); color: #333;
}
.tb-skip {
  position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 8px 12px; z-index: 100;
}
.tb-skip:focus { left: 8px; }
.tb-wrap { width: min(1100px, calc(100% - 2.5rem)); margin: 0 auto; }
.tb-wrap-wide { width: min(1280px, calc(100% - 2.5rem)); margin: 0 auto; }
.tb-muted { color: var(--yt-muted); }

.yt-shell {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 140px;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(0.85rem, 2.5vw, 1.75rem);
  box-sizing: border-box;
}
.yt-side { padding-top: 1rem; }
.yt-side .tb-ad { position: sticky; top: 88px; }
@media (max-width: 1100px) {
  .yt-shell { grid-template-columns: 1fr; padding: 0 1rem; }
  .yt-side { display: none; }
}

/* Nav — solid dark (no glass blur) */
.tb-nav {
  position: sticky; top: 0; z-index: 50;
  background: #0f0f0f;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tb-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
  width: 100%; max-width: none;
  margin: 0; padding: 0 clamp(0.85rem, 2.5vw, 1.75rem);
  box-sizing: border-box;
}
.tb-brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: #fff; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
}
.tb-brand:hover { text-decoration: none; color: #fff; }
.tb-brand-text { color: #fff; }
.tb-brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--yt-red);
  box-shadow: 0 6px 16px rgba(255,0,0,0.28);
  position: relative;
}
.tb-brand-mark::after {
  content: ""; position: absolute;
  left: 12px; top: 9px;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
}
.tb-menu { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.tb-menu a { color: #eee; font-weight: 650; font-size: 0.92rem; }
.tb-menu a:hover { color: #fff; text-decoration: none; }
.tb-nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; }
.tb-nav-toggle span, .tb-nav-toggle span::before, .tb-nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: #fff; margin: 0 auto; position: relative;
}
.tb-nav-toggle span::before, .tb-nav-toggle span::after { content: ""; position: absolute; left: 0; }
.tb-nav-toggle span::before { top: -7px; }
.tb-nav-toggle span::after { top: 7px; }

.yt-lang { position: relative; }
.yt-lang-btn {
  border: 1px solid var(--yt-line);
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
}
.yt-lang-list {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 220px; max-height: 320px; overflow: auto;
  background: #fff; border: 1px solid var(--yt-line);
  border-radius: 14px; padding: 0.4rem; list-style: none; margin: 0;
  box-shadow: var(--yt-shadow); z-index: 60;
}
.is-rtl .yt-lang-list { right: auto; left: 0; }
.yt-lang-list a {
  display: flex; justify-content: space-between; gap: 0.5rem;
  padding: 0.55rem 0.7rem; border-radius: 10px; color: #111 !important;
}
.yt-lang-list a:hover, .yt-lang-list a[aria-current="true"] { background: var(--yt-red-soft); text-decoration: none; }
.yt-lang-list small { color: var(--yt-muted); }

/* Hero — image-style centered premium */
.yt-hero {
  text-align: center;
  padding: clamp(2.2rem, 6vw, 3.8rem) 0 1.5rem;
}
.yt-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--yt-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin: 0 0 1.35rem;
  box-shadow: 0 8px 22px rgba(255,0,0,0.25);
  animation: ytPillIn .5s ease both;
}
.yt-pill a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
@keyframes ytPillIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.yt-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  color: var(--yt-ink);
  animation: ytFadeUp .55s ease .05s both;
}
.yt-hero-lead {
  color: var(--yt-muted);
  font-size: 1.05rem;
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  animation: ytFadeUp .55s ease .12s both;
}
@keyframes ytFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Tabs */
.yt-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.5rem;
  margin: 0 auto 1.5rem;
  border-bottom: 1px solid var(--yt-line);
  max-width: 640px;
  animation: ytFadeUp .55s ease .18s both;
}
.yt-tab {
  appearance: none; border: 0; background: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 650; font-size: 0.95rem;
  color: var(--yt-muted);
  padding: 0.75rem 0.35rem 0.9rem;
  position: relative;
  transition: color .2s;
}
.yt-tab:hover { color: var(--yt-ink); }
.yt-tab.is-on {
  color: var(--yt-ink); font-weight: 800;
}
.yt-tab.is-on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px; background: var(--yt-red); border-radius: 3px 3px 0 0;
}

/* Input bar */
.yt-bar {
  display: flex; align-items: stretch;
  background: #fff;
  border: 1px solid var(--yt-line);
  border-radius: 14px;
  box-shadow: var(--yt-shadow);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  animation: ytFadeUp .55s ease .24s both;
  transition: border-color .2s, box-shadow .2s;
}
.yt-bar:focus-within {
  border-color: #ccc;
  box-shadow: 0 0 0 4px rgba(255,0,0,0.1), var(--yt-shadow);
}
.yt-bar-icon {
  display: grid; place-items: center;
  width: 52px; flex-shrink: 0; color: #999;
}
.yt-bar-icon svg { width: 22px; height: 22px; }
.yt-ui-icon {
  width: 22px; height: 22px; object-fit: contain; display: block;
}
.yt-ui-icon-btn {
  width: 18px; height: 18px; filter: brightness(0) invert(1);
}
.yt-bar-icon .yt-ui-icon { width: 22px; height: 22px; }
.yt-bar-paste .yt-ui-icon { width: 20px; height: 20px; }
.yt-bar input {
  flex: 1; min-width: 0; border: 0; outline: none;
  font: inherit; font-size: 1rem; padding: 1rem 0.25rem;
  background: transparent; color: var(--yt-ink);
}
.yt-bar-paste {
  display: grid; place-items: center;
  width: 48px; border: 0; background: transparent; cursor: pointer; color: #888;
  flex-shrink: 0;
}
.yt-bar-paste:hover { color: var(--yt-red); }
.yt-bar-go {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border: 0; cursor: pointer;
  background: var(--yt-red); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  padding: 0 1.35rem; min-width: 140px;
  transition: background .2s, transform .15s;
}
.yt-bar-go:hover { background: var(--yt-red-deep); }
.yt-bar-go:active { transform: scale(0.98); }
.yt-bar-go svg { width: 18px; height: 18px; }
.yt-hint {
  text-align: center; color: var(--yt-muted); font-size: 0.86rem;
  margin: 0.85rem auto 0; max-width: 32rem;
}
.tb-status { text-align: center; min-height: 1.3em; margin: 0.55rem 0 0; font-weight: 700; }
.tb-status.ok { color: #0B7A45; }
.tb-status.err { color: #C01515; }

/* How steps */
.yt-how {
  padding: 3rem 0 2rem;
  text-align: center;
}
.yt-how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 2rem; color: var(--yt-ink);
}
.yt-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 800px; margin: 0 auto;
}
.yt-step { padding: 0.5rem; }
.yt-step-num {
  width: 64px; height: 64px; margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--yt-red-soft);
  color: var(--yt-red);
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  display: grid; place-items: center;
  transition: transform .25s, background .25s;
}
.yt-step:hover .yt-step-num {
  transform: scale(1.08);
  background: var(--yt-red); color: #fff;
}
.yt-step h3 {
  margin: 0; font-size: 1rem; font-weight: 800; color: var(--yt-ink);
}
.yt-step p { margin: 0.35rem 0 0; color: var(--yt-muted); font-size: 0.9rem; }

/* Results */
.tb-results { padding: 0 0 2rem; }
.tb-results-box {
  display: none; background: #fff;
  border: 1px solid var(--yt-line); border-radius: 18px; padding: 1.2rem;
  box-shadow: var(--yt-shadow); text-align: left;
  max-width: 720px; margin: 1.25rem auto 0;
}
.tb-results-box.is-on { display: block; animation: ytFade .35s ease; }
.tb-results-box h2 { margin: 0 0 0.75rem; font-size: 1.15rem; color: var(--yt-ink); }
@keyframes ytFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tb-preview {
  display: flex; gap: 1rem; align-items: center;
  padding: 0.85rem; margin: 0 0 0.9rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
  border: 1px solid rgba(255,0,0,.12);
  box-shadow: 0 10px 28px rgba(255,0,0,.07);
}
.tb-preview-img {
  width: 148px; height: 84px; object-fit: cover; border-radius: 12px;
  background: #eee; flex: 0 0 auto;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.tb-preview-info { min-width: 0; flex: 1; text-align: left; }
.tb-preview-title {
  font-weight: 800; font-size: 1.05rem; color: #111; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tb-preview-sub { margin-top: 0.35rem; color: var(--yt-red); font-size: 0.86rem; font-weight: 700; }
.tb-file {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.05rem; margin: 0 0 0.65rem;
  border: 1px solid var(--yt-line); border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tb-file:hover {
  border-color: rgba(255,0,0,0.2);
  box-shadow: 0 10px 26px rgba(255,0,0,0.06);
}
.tb-file:last-child { border-bottom: 1px solid var(--yt-line); }
.tb-file .tb-btn-primary {
  min-height: 46px; padding: 0.7rem 1.25rem; border-radius: 12px; font-weight: 700;
}
.tb-file-thumb { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; background: #eee; }
.tb-file-left { flex: 1; min-width: 0; }
.tb-file-name { font-weight: 750; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-file-meta { color: var(--yt-muted); font-size: 0.85rem; display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.tb-kind {
  display: inline-flex; padding: 0.12rem 0.45rem; border-radius: 999px;
  background: var(--yt-red-soft); color: var(--yt-red-deep); font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
}
.tb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 0.7rem 1.2rem; font-weight: 800;
  border: 0; cursor: pointer; font-family: var(--font-body); font-size: 0.92rem;
}
.tb-btn-primary { background: var(--yt-red); color: #fff; }
.tb-btn-primary:hover { background: var(--yt-red-deep); }
.tb-btn-ghost { background: #fff; color: #111; border: 1px solid var(--yt-line); }

/* Sections / articles */
.tb-section { padding: 2.25rem 0; }
.tb-section h2 {
  font-family: var(--font-display); color: var(--yt-ink);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 0.5rem; letter-spacing: -0.02em; text-align: center;
}
.tb-section > .tb-muted { text-align: center; margin: 0 auto 1.25rem; max-width: 36rem; }
.tb-grid-4, .tb-grid-3 { display: grid; gap: 1rem; margin-top: 1.25rem; }
.tb-grid-4 { grid-template-columns: repeat(4, 1fr); }
.tb-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tb-card {
  background: #fff; border: 1px solid var(--yt-line);
  border-radius: 16px; padding: 1.15rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform .2s, border-color .2s;
  text-align: left;
}
.tb-card:hover { transform: translateY(-3px); border-color: #f0b0b0; }
.tb-card h3 { margin: 0 0 0.4rem; color: var(--yt-ink); font-size: 1.02rem; font-weight: 800; }
.tb-card p { margin: 0; color: var(--yt-muted); font-size: 0.92rem; }

.tb-page { padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem); }
.tb-page > .tb-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(0.85rem, 2.5vw, 1.75rem);
  box-sizing: border-box;
}
.tb-page-card, .tb-article-card {
  background: #fff; border: 1px solid var(--yt-line);
  border-radius: 0; padding: clamp(1.25rem, 3vw, 2.25rem);
  color: #111; box-shadow: none;
  filter: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.tb-page-card h1, .tb-article-card h1 {
  font-family: var(--font-display); color: var(--yt-ink); letter-spacing: -0.03em;
}

/* Home designed article — full screen + padding, sharp (no blur) */
.tb-home-article {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding: 0;
  background: #fff;
  border-top: 1px solid var(--yt-line);
  border-bottom: 1px solid var(--yt-line);
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* GenYouTube pack — premium white */
.tb-home-article.is-gy-pack {
  background: #ffffff !important;
  border: 0 !important;
  margin-top: 0 !important;
}
.tb-home-article-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.25rem, 3.5vw, 2.5rem) clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
  background: #fff;
  filter: none;
  backdrop-filter: none;
}
.tb-home-article-h {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  text-align: left;
}
.tb-prose-home,
.tb-prose-home * {
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none;
}
.tb-prose-home img {
  max-width: 100%;
  height: auto;
  image-rendering: auto;
}
.tb-prose-home .art-mini-card,
.tb-prose-home [style*="backdrop-filter"],
.tb-prose-home [style*="filter: blur"] {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08) !important;
}
.tb-article { display: block; padding: 1rem 0; border-bottom: 1px solid var(--yt-line); color: inherit; }
.tb-article:hover { color: var(--yt-red); text-decoration: none; }
.tb-article h2, .tb-article h3 { margin: 0 0 0.35rem; font-size: 1.1rem; color: var(--yt-ink); }
.tb-prose h2, .tb-prose h3 { color: var(--yt-ink); }
.tb-prose p, .tb-prose li { color: #333; }

.tb-foot {
  margin-top: 2rem; padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--yt-line);
  background: #FAFAFA;
}
.tb-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; width: min(1100px, calc(100% - 2rem)); margin: 0 auto; }
.tb-foot a { display: block; color: #333; margin: 0.25rem 0; font-weight: 550; }
.tb-foot a:hover { color: var(--yt-red); }
.tb-foot-brand { font-family: var(--font-display); font-weight: 800; color: var(--yt-ink); margin: 0 0 0.35rem; }
.tb-foot-h { font-weight: 800; color: var(--yt-ink); margin: 0 0 0.5rem; }
.tb-foot-copy { width: min(1100px, calc(100% - 2rem)); margin: 1.5rem auto 0; color: var(--yt-muted); font-size: 0.85rem; padding-bottom: 1rem; }

.tb-ad {
  margin: 1rem 0; padding: 0.75rem;
  border: 1px dashed rgba(0,0,0,0.1); border-radius: 14px;
  background: #FFFEFE; text-align: center; overflow: hidden;
}
.tb-ad-label { font-size: 0.7rem; color: var(--yt-muted); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.06em; }

.tb-click-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.tb-click-overlay.is-on { display: flex; }
.tb-click-card {
  width: min(420px, 100%); background: #fff; border: 1px solid var(--yt-line);
  border-radius: 20px; padding: 1.5rem; text-align: center; color: #111;
  box-shadow: var(--yt-shadow);
}
.tb-click-card h3 { font-family: var(--font-display); margin: 0 0 0.5rem; }
.tb-spinner {
  width: 42px; height: 42px; margin: 0 auto 1rem;
  border-radius: 50%; border: 3px solid rgba(0,0,0,0.08);
  border-top-color: var(--yt-red); animation: ytSpin .8s linear infinite;
}
@keyframes ytSpin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .yt-steps, .tb-grid-4, .tb-grid-3, .tb-foot-grid { grid-template-columns: 1fr; }
  .tb-nav-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--yt-line); background: #fff;
  }
  .tb-menu {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    background: #1a1a1a; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 1rem 1.1rem; flex-direction: column; align-items: stretch;
    gap: 0.35rem; box-shadow: var(--yt-shadow);
  }
  .tb-menu.is-open { display: flex; }
  .tb-menu a {
    padding: 0.85rem 0.9rem; border-radius: 12px; background: #222; min-height: 48px;
    display: flex; align-items: center; color: #fff;
  }
  .tb-nav-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2); background: #1a1a1a;
  }
  .yt-lang { width: 100%; }
  .yt-lang-btn { width: 100%; min-height: 48px; }
  .yt-lang-list { position: static; width: 100%; margin-top: 0.4rem; }
  .yt-hero { padding: 1.25rem 1rem 1.75rem; }
  .yt-bar { flex-wrap: wrap; border-radius: 18px; box-shadow: 0 10px 36px rgba(0,0,0,0.08); }
  .yt-bar-icon { display: none; }
  .yt-bar input { width: 100%; padding: 1.05rem 1rem 0.55rem; font-size: 16px; }
  .yt-bar-paste { position: absolute; right: 8px; top: 8px; min-height: 40px; }
  .yt-bar { position: relative; }
  .yt-bar-go { width: 100%; min-height: 54px; border-radius: 0 0 16px 16px; font-size: 1rem; font-weight: 700; }
  .yt-tabs {
    gap: 0.25rem; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 0.15rem; justify-content: flex-start;
  }
  .yt-tabs::-webkit-scrollbar { display: none; }
  .yt-tab {
    font-size: 0.92rem; padding: 0.65rem 0.85rem; min-height: 44px;
    white-space: nowrap; flex: 0 0 auto;
  }
  .tb-file { flex-wrap: wrap; gap: 0.75rem; padding: 1rem; border-radius: 16px; }
  .tb-file .tb-btn { width: 100%; min-height: 50px; font-size: 1rem; border-radius: 14px; }
  .tb-preview { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .tb-preview-img { width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 14px; }
  .tb-results { padding: 0.25rem 0 1.5rem; }
  .tb-results h2 { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .yt-hero h1 { font-size: 1.75rem; line-height: 1.15; }
  .yt-hero-lead { font-size: 0.95rem; }
  .yt-tab { font-size: 0.88rem; padding: 0.6rem 0.7rem; }
}
@supports (padding: max(0px)) {
  .tb-nav { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}
@media (hover: none) {
  .tb-card:hover, .yt-step:hover .yt-step-num { transform: none; }
}
