:root {
  --orange:       #EE7B4E;
  --orange-dark:  #D6633A;
  --orange-soft:  #FBE6D9;
  --orange-light: #F5C7A7;
  --charcoal:     #18181B;
  --near-black:   #0A0A0B;
  --bg:           #FFFFFF;
  --bg-soft:      #FAFAFA;
  --surface:      #FFFFFF;
  --surface-2:    #FAFAFA;
  --border:       #E5E5E7;
  --border-2:     #D1D5DB;
  --text:         #0A0A0B;
  --text-2:       #374151;
  --muted:        #6B6F76;
  --muted-2:      #9CA3AF;
  --font:         'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:    'Roboto Mono', monospace;
  --radius:       16px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-lg:    0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-xl:    0 20px 25px -5px rgba(0,0,0,.10), 0 10px 10px -5px rgba(0,0,0,.04);
  --max-w:        960px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ──────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 24px; }

.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 32px; width: auto; display: block; }
.logo-mark { width: 32px; height: 32px; color: var(--orange); display: flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { font-size: .95rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.logo-edu { color: var(--orange); }

.school-header-slot { margin-left: auto; flex-shrink: 0; }

.create-ticket-btn {
  display: flex; align-items: center; gap: 5px;
  height: 32px; padding: 0 14px;
  background: none; border: 1.5px solid var(--border-2); border-radius: 100px;
  font-size: .8rem; font-weight: 600; color: var(--text-2); font-family: var(--font);
  white-space: nowrap; flex-shrink: 0; text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.create-ticket-btn:hover {
  border-color: var(--orange); color: var(--orange);
  background: var(--orange-soft); text-decoration: none;
}

.school-unlock-trigger {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 100px;
  padding: 6px 14px; font-size: .8rem; font-weight: 600; color: var(--text-2);
  cursor: pointer; font-family: var(--font); transition: border-color .15s, background .15s; white-space: nowrap;
}
.school-unlock-trigger:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-soft); }

.school-active-badge {
  display: flex; align-items: center; gap: 7px;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 100px;
  padding: 6px 14px; font-size: .8rem; font-weight: 600; color: #15803d;
  cursor: pointer; font-family: var(--font); transition: background .15s;
}
.school-active-badge:hover { background: #dcfce7; }
.school-dot { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; flex-shrink: 0; }

.school-panel {
  position: absolute; top: 60px; right: 0; width: 380px;
  max-height: calc(100vh - 80px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-top: none;
  box-shadow: var(--shadow-xl); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  z-index: 300; animation: slideDown .18s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.school-panel-inner { padding: 20px; }

.panel-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.panel-input-row { display: flex; gap: 8px; margin-bottom: 8px; }

#onboarding-code {
  flex: 1; height: 38px; border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 0 12px; font-size: .85rem; font-family: var(--font-mono); font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase; outline: none; color: var(--text); transition: border-color .15s;
}
#onboarding-code:focus { border-color: var(--orange); }
#onboarding-code::placeholder { font-family: var(--font); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted-2); }

.panel-unlock-btn {
  height: 38px; padding: 0 16px; background: var(--orange); color: white; border: none;
  border-radius: var(--radius-sm); font-size: .9375rem; font-weight: 700; cursor: pointer;
  font-family: var(--font); transition: background .15s; white-space: nowrap;
}
.panel-unlock-btn:hover { background: var(--orange-dark); }
.panel-unlock-btn:disabled { opacity: .6; cursor: default; }
.panel-hint { font-size: .75rem; color: var(--muted-2); margin-top: 6px; }

#code-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: var(--radius-sm); padding: 8px 12px; font-size: .8rem; margin-top: 8px; }

.panel-school-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.panel-school-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-top: 2px; }
.panel-welcome { font-size: .82rem; color: var(--muted); line-height: 1.5; margin-bottom: 4px; }
.panel-switch-btn { background: none; border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 4px 10px; font-size: .75rem; color: var(--muted); cursor: pointer; font-family: var(--font); white-space: nowrap; transition: color .15s, border-color .15s; }
.panel-switch-btn:hover { color: var(--text); border-color: var(--text); }

.panel-feature-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.panel-feature-list li { background: var(--surface-2); border: 1px solid var(--border); border-radius: 100px; padding: 3px 10px; font-size: .75rem; font-weight: 500; color: var(--text-2); display: flex; align-items: center; gap: 5px; }
.panel-feature-list li::before { content: "\2713"; color: #22c55e; font-weight: 700; }
.panel-video-list { display: flex; flex-direction: column; gap: 8px; }
.panel-video-item { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.panel-video-thumb { width: 100%; aspect-ratio: 16/9; background: #1e293b; }
.panel-video-thumb iframe { width: 100%; height: 100%; border: none; display: block; }
.panel-video-info { padding: 8px 10px; }
.panel-video-title { font-size: .8rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.panel-backdrop { position: fixed; inset: 0; z-index: 190; }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { padding: 80px 24px 72px; text-align: center; background: var(--bg); }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.875rem);
  font-weight: 800; letter-spacing: -.03em; color: var(--text);
  line-height: 1.1; margin-bottom: 32px;
}

/* ── Search trigger pill ─────────────────────────────────────────── */
.search-trigger {
  max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  height: 52px; border: 1.5px solid var(--border-2); border-radius: 100px;
  padding: 0 20px; background: var(--surface);
  cursor: text; box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, opacity .18s ease, transform .2s ease;
}
.search-trigger:hover { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(238,123,78,.10); }
.search-trigger .search-icon { width: 18px; height: 18px; stroke: var(--muted-2); flex-shrink: 0; }
.search-trigger-placeholder { flex: 1; font-size: .975rem; color: var(--muted-2); user-select: none; text-align: left; }
.search-trigger-kbd {
  font-size: .72rem; color: var(--muted-2); border: 1px solid var(--border-2);
  border-radius: 4px; padding: 2px 7px; font-family: var(--font); white-space: nowrap;
}
/* Pill fades out when search modal is open */
.search-trigger.is-searching {
  opacity: 0;
  transform: scale(0.95) translateY(-4px);
  pointer-events: none;
}

/* ── Global search modal — slides down from top ──────────────────── */
.gsearch-scrim {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,.55); backdrop-filter: blur(2px);
  animation: scrimIn .18s ease;
}
@keyframes scrimIn { from { opacity: 0; } to { opacity: 1; } }
.gsearch-scrim.is-closing { animation: scrimOut .18s ease forwards; }
@keyframes scrimOut { from { opacity: 1; } to { opacity: 0; } }

.gsearch-modal {
  position: fixed; top: 8vh; left: 50%; transform: translateX(-50%);
  z-index: 401; width: min(860px, 94vw); max-height: 72vh;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  display: flex; flex-direction: column;
  animation: modalSlideDown .24s cubic-bezier(.16,1,.3,1);
}
@keyframes modalSlideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-24px) scale(.97); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0)     scale(1);   }
}
.gsearch-modal.is-closing {
  animation: modalSlideUp .18s ease forwards;
}
@keyframes modalSlideUp {
  from { opacity: 1; transform: translateX(-50%) translateY(0)     scale(1);   }
  to   { opacity: 0; transform: translateX(-50%) translateY(-16px) scale(.97); }
}

.gsearch-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.gsearch-icon { width: 18px; height: 18px; stroke: #666; flex-shrink: 0; }

#gsearch-input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--font); font-size: 1rem; color: #e6e6e6;
  caret-color: var(--orange);
}
#gsearch-input::placeholder { color: #444; }

.gsearch-esc-btn { background: none; border: none; cursor: pointer; padding: 0; }
.gsearch-esc-btn kbd {
  display: inline-block; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11); border-radius: 4px;
  padding: 2px 7px; font-size: .7rem; color: #777; font-family: var(--font);
  letter-spacing: .03em; line-height: 1.6;
}

.gsearch-body { display: flex; flex: 1; overflow: hidden; min-height: 0; }

.gsearch-left {
  width: 320px; flex-shrink: 0; overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,.07);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.1) transparent;
}
.gsearch-right { flex: 1; overflow-y: auto; }

/* Results list */
.gsearch-result-count {
  padding: 10px 16px 5px;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #555;
}

.gsearch-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 16px; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .07s;
}
.gsearch-item:hover, .gsearch-item.is-selected { background: rgba(255,255,255,.06); }
.gsearch-item.is-selected .gsearch-item-arrow { stroke: #777; }

.gsearch-item-icon { font-size: .95rem; line-height: 1.4; flex-shrink: 0; margin-top: 2px; }
.gsearch-item-body { flex: 1; min-width: 0; }

.gsearch-item-title {
  font-size: .84rem; font-weight: 600; color: #ddd;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4;
}
.gsearch-item-title .hl { background: none; color: var(--orange); font-weight: 700; font-style: normal; }

.gsearch-item-path { font-size: .7rem; color: #555; margin: 2px 0 4px; }

.gsearch-item-snippet {
  font-size: .74rem; color: #888; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gsearch-item-snippet .hl { background: none; color: var(--orange); font-weight: 600; font-style: normal; }

.gsearch-item-arrow { width: 13px; height: 13px; stroke: #3a3a3a; flex-shrink: 0; margin-top: 4px; transition: stroke .1s; }

/* Right preview pane */
.gsearch-preview { padding: 22px 24px; }

.gsearch-preview-path {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #555; margin-bottom: 10px;
}
.gsearch-preview-title {
  font-size: 1.05rem; font-weight: 700; color: #ddd; line-height: 1.3; margin-bottom: 14px;
}
.gsearch-preview-body {
  font-size: .82rem; color: #999; line-height: 1.75; max-height: 280px; overflow-y: auto;
}
.gsearch-preview-body strong { color: #bbb; }
.gsearch-preview-body a { color: var(--orange); }
.gsearch-preview-body br { display: block; content: ""; margin-top: 4px; }

.gsearch-preview-video {
  width: 100%; aspect-ratio: 16/9; background: #111;
  border-radius: 8px; overflow: hidden; margin-bottom: 12px;
}
.gsearch-preview-video iframe { width: 100%; height: 100%; border: none; display: block; }
.gsearch-preview-video .video-placeholder { border-radius: 8px; }

.gsearch-preview-desc { font-size: .81rem; color: #888; line-height: 1.65; margin-bottom: 4px; }

.gsearch-preview-cta {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 18px; font-size: .8rem; font-weight: 700;
  color: var(--orange); text-decoration: none;
  border: 1px solid rgba(238,123,78,.35); border-radius: var(--radius-sm);
  padding: 6px 14px; transition: background .12s, border-color .12s;
}
.gsearch-preview-cta:hover { background: rgba(238,123,78,.12); border-color: var(--orange); text-decoration: none; }

/* Empty state */
.gsearch-empty { padding: 18px 16px; }
.gsearch-empty-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: #555; margin-bottom: 10px;
}
.gsearch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gsearch-chip {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px; padding: 5px 12px;
  font-size: .77rem; color: #aaa; cursor: pointer; font-family: var(--font);
  transition: background .1s, color .1s, border-color .1s;
}
.gsearch-chip:hover { background: rgba(238,123,78,.15); border-color: rgba(238,123,78,.4); color: var(--orange-light); }

.gsearch-welcome {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 14px; padding: 40px 24px; text-align: center;
}
.gsearch-welcome svg { width: 48px; height: 48px; stroke: #3a3a3a; }
.gsearch-welcome p { font-size: .83rem; color: #555; line-height: 1.5; }

.gsearch-no-results { padding: 48px 20px; text-align: center; color: #666; font-size: .85rem; }
.gsearch-no-results strong { color: #999; }

/* ── Content sections ────────────────────────────────────────────── */
.section { max-width: var(--max-w); margin: 0 auto; padding: 56px 24px; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800; letter-spacing: -.02em; color: var(--text);
}
.section-sub { font-size: .85rem; color: var(--muted); margin-top: 3px; }
.divider { max-width: var(--max-w); margin: 0 auto; height: 1px; background: var(--border); }

.video-filter-row select {
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 6px 10px; font-family: var(--font); font-size: .82rem;
  color: var(--text); background: var(--surface); cursor: pointer; outline: none;
}

/* ── Video grid ──────────────────────────────────────────────────── */
#video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(275px, 1fr)); gap: 20px; }
.video-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.video-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--orange); }
.video-card-inner { display: block; text-decoration: none; color: inherit; }
.video-card-inner:hover { text-decoration: none; }

.video-thumb-static {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.play-circle {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: 18px; padding-left: 3px;
  transition: background .18s, border-color .18s, transform .18s;
}
.video-card:hover .play-circle {
  background: var(--orange); border-color: var(--orange);
  color: white; transform: scale(1.08);
}
.video-thumb-duration {
  position: absolute; bottom: 8px; right: 10px;
  background: rgba(0,0,0,.65); color: rgba(255,255,255,.85);
  font-size: .68rem; font-weight: 600; padding: 2px 7px; border-radius: 4px;
}

.video-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, #0f172a, #1e293b); color: rgba(255,255,255,.35); font-size: .78rem; }
.play-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 1rem; padding-left: 3px; }
.video-info { padding: 14px 16px; }
.video-tag {
  display: inline-block; background: var(--orange-soft); color: var(--orange-dark);
  border-radius: 100px; padding: 2px 9px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 7px;
}
.video-title { font-size: .92rem; font-weight: 700; line-height: 1.35; margin-bottom: 5px; color: var(--text); }
.video-desc { font-size: .8rem; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-duration { display: inline-block; font-size: .75rem; color: var(--muted-2); }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-category { margin-bottom: 32px; }
.faq-category-title { display: flex; align-items: center; gap: 9px; font-size: 1rem; font-weight: 700; color: var(--text); padding-bottom: 12px; border-bottom: 1.5px solid var(--border); margin-bottom: 2px; }
.faq-icon { font-size: 1.1rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 2px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font); font-size: .915rem; font-weight: 600; color: var(--text); line-height: 1.4; transition: color .12s; }
.faq-question:hover { color: var(--orange); }
.faq-question[aria-expanded="true"] { color: var(--orange); }
.chevron { flex-shrink: 0; width: 16px; height: 16px; stroke: var(--muted-2); transition: transform .22s; }
.faq-question[aria-expanded="true"] .chevron { transform: rotate(180deg); stroke: var(--orange); }
.faq-answer { padding: 0 2px 18px; }
.faq-answer-inner { font-size: .875rem; color: var(--muted); line-height: 1.75; }
.faq-answer-inner strong { color: var(--text-2); }
.faq-answer-inner a { color: var(--orange); }
.faq-answer-inner code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font-size: .85em; font-family: var(--font-mono); }

.faq-open-link {
  display: inline-block; margin-top: 14px;
  font-size: .8rem; font-weight: 600; color: var(--orange);
  transition: opacity .12s;
}
.faq-open-link:hover { opacity: .75; text-decoration: none; }

.no-results { text-align: center; padding: 48px 24px; color: var(--muted); font-size: .9rem; }
.no-results-inline { color: var(--muted); font-size: .85rem; padding: 12px 0; }
.link-btn { background: none; border: none; color: var(--orange); cursor: pointer; font-family: var(--font); font-size: inherit; padding: 0; text-decoration: underline; }
.muted { color: var(--muted); font-size: .85rem; }

/* ── Detail / Article page ───────────────────────────────────────── */
#detail-view { min-height: calc(100vh - 60px); padding-bottom: 80px; }

.detail-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted); margin-bottom: 28px; padding-top: 4px;
}
.detail-sep { color: var(--muted-2); }

.detail-back-btn {
  background: none; border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 4px 12px; font-size: .8rem; font-weight: 500; color: var(--text-2);
  cursor: pointer; font-family: var(--font); transition: border-color .12s, color .12s;
}
.detail-back-btn:hover { border-color: var(--orange); color: var(--orange); }

.detail-article { max-width: 720px; }
.detail-article h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800;
  letter-spacing: -.025em; color: var(--text); line-height: 1.2; margin-bottom: 24px;
}

.detail-body { font-size: .925rem; color: var(--text-2); line-height: 1.8; }
.detail-body strong { color: var(--text); font-weight: 600; }
.detail-body a { color: var(--orange); }
.detail-body br { display: block; margin-top: 6px; content: ""; }

.detail-video-wrap {
  width: 100%; aspect-ratio: 16/9; background: #0f172a;
  border-radius: var(--radius-lg); overflow: hidden; margin: 20px 0;
}
.detail-video-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.detail-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.detail-desc { font-size: .925rem; color: var(--text-2); line-height: 1.7; }

/* ── Footer ──────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 24px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-logo { font-weight: 700; font-size: .85rem; color: var(--text); }
.footer-links a { font-size: .82rem; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: .78rem; color: var(--muted-2); }

/* ── Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .create-ticket-btn { display: none; }
  .hero { padding: 48px 20px 48px; }
  .section { padding: 40px 20px; }
  #video-grid { grid-template-columns: 1fr; }
  .school-panel { width: 100%; border-radius: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .search-trigger-kbd { display: none; }
  .gsearch-modal { top: 0; left: 0; right: 0; transform: none; width: 100%; border-radius: 0; max-height: 100svh; }
  .gsearch-body { flex-direction: column; }
  .gsearch-left { width: 100%; max-height: 45vh; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .gsearch-right { max-height: 45vh; }
}
