/* Shared studio palette, derived from deck-recommend-ui.css. */
:root {
  --studio-bg:#0c1217; --studio-panel:#121b22; --studio-surface:#17232b;
  --studio-line:rgba(175,194,204,.14); --studio-text:#e8ecea;
  --studio-muted:#97a7ad; --studio-accent:#d3b57d; --studio-soft:rgba(211,181,125,.10);
}
body.murim-theme {
  background:radial-gradient(ellipse at 55% 0,rgba(46,69,78,.15),transparent 50rem),var(--studio-bg)!important;
  color:var(--studio-text)!important;
  font-family:Inter,system-ui,-apple-system,"Noto Sans KR","Malgun Gothic",sans-serif;
  line-height:1.6;
}
.murim-header { background:rgba(12,18,23,.94)!important; border-bottom:1px solid var(--studio-line)!important; box-shadow:none!important; }.murim-nav:not(:where(.taehak-page-header *)){ min-height:80px!important; }.murim-nav nav:not(:where(.taehak-page-header *)){ background:var(--studio-panel)!important; border-color:var(--studio-line)!important; box-shadow:none!important; }.murim-nav nav>a:not(:where(.taehak-page-header *)),.murim-nav .nav-dropdown-toggle:not(:where(.taehak-page-header *)),.murim-nav .linkbtn:not(:where(.taehak-page-header *)){ color:var(--studio-muted)!important; font-size:14px!important; font-weight:600!important; }.murim-nav nav>a:hover:not(:where(.taehak-page-header *)),.murim-nav .nav-dropdown-toggle:hover:not(:where(.taehak-page-header *)),.murim-nav .linkbtn:hover:not(:where(.taehak-page-header *)){ color:var(--studio-accent)!important; background:var(--studio-soft)!important; border-color:transparent!important; }.nav-dropdown-menu:not(:where(.taehak-page-header *)){ background:var(--studio-panel)!important; border-color:var(--studio-line)!important; box-shadow:0 18px 40px #0005!important; }.nav-dropdown-menu a:hover:not(:where(.taehak-page-header *)){ background:var(--studio-surface)!important; color:var(--studio-accent)!important; }
.murim-main { width:min(1240px,calc(100% - 48px)); padding-top:32px!important; }
.murim-main :is(.card,.panel,.wulin-panel,.wulin-ranking) { background:var(--studio-panel)!important; border:1px solid var(--studio-line)!important; border-radius:16px!important; box-shadow:none!important; }.murim-main :is(h1,h2,h3):not(:where(.taehak-page-header *)){ font-family:inherit!important; letter-spacing:-.035em; }
.murim-main .muted { color:var(--studio-muted); }.murim-main :is(input,select,textarea):not(:where(.taehak-page-header *)){ background:var(--studio-bg)!important; border-color:var(--studio-line)!important; color:var(--studio-text); border-radius:9px; }.murim-main :is(input,select,textarea):focus:not(:where(.taehak-page-header *)){ border-color:var(--studio-accent)!important; box-shadow:0 0 0 3px var(--studio-soft)!important; }.murim-main :is(.primary,.pill):not(:where(.taehak-page-header *)){ background:var(--studio-accent)!important; color:var(--studio-bg)!important; border-radius:9px!important; box-shadow:none!important; }
.murim-main .panel-eyebrow { font-size:10px!important; color:var(--studio-accent)!important; letter-spacing:.12em!important; }:where(a,button,input,select,textarea,summary):focus-visible:not(:where(.taehak-page-header *)){ outline:2px solid var(--studio-accent); outline-offset:4px; }
/* Home is intentionally independent of the old fixed-height campus hero. */
.home-wide-layout.home-season-four { display:block!important; width:100%!important; max-width:none!important; margin:0!important; }
.s4-hero { position:relative; isolation:isolate; overflow:hidden; min-height:560px; border:1px solid var(--studio-line); border-radius:20px; background:var(--studio-panel); }
.s4-hero-art { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center 53%; }
.s4-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(9,16,22,.97) 0%,rgba(9,16,22,.88) 30%,rgba(9,16,22,.36) 65%,rgba(9,16,22,.04)),linear-gradient(0deg,rgba(9,16,22,.65),transparent 28%); }
.s4-hero-copy { position:relative; max-width:680px; padding:54px 48px 70px; }
.home-season-badge { display:inline-flex; align-items:center; gap:9px; padding:6px 11px; border:1px solid rgba(211,181,125,.30); border-radius:6px; color:var(--studio-accent); background:rgba(12,18,23,.58); font-size:10px; font-weight:700; letter-spacing:.12em; }
.home-season-badge>span { width:5px; height:5px; border-radius:50%; background:var(--studio-accent); }
.home-season-badge i { padding-left:9px; border-left:1px solid rgba(211,181,125,.3); font-size:11px; font-style:normal; font-weight:500; letter-spacing:0; }
.home-kicker { color:var(--studio-muted); font-size:12px; margin:26px 0 10px; }.home-season-four .s4-hero h1:not(:where(.taehak-page-header *)){ margin:0 0 22px!important; color:#f1f2ec!important; font-size:clamp(36px,4.3vw,58px)!important; font-weight:750; line-height:1.19!important; letter-spacing:-.06em!important; text-shadow:none!important; }
.home-intro { margin:0; color:#b1bdc0; font-size:14px; line-height:1.9; }
.s4-hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.home-action { display:inline-flex; align-items:center; justify-content:space-between; gap:25px; min-height:46px; padding:10px 16px; border:1px solid rgba(175,194,204,.25); border-radius:9px; background:rgba(12,18,23,.5); color:var(--studio-text); text-decoration:none; font-size:13px; font-weight:650; transition:background .15s,border-color .15s; }
.home-action:hover { background:var(--studio-surface); border-color:var(--studio-accent); }
.home-action-primary { color:var(--studio-bg)!important; background:var(--studio-accent); border-color:var(--studio-accent); color:var(--studio-bg); }
.home-action-primary:hover { background:#e0c694; }
.home-opening-link { display:inline-flex; flex-wrap:wrap; column-gap:10px; margin-top:20px; color:var(--studio-muted); text-decoration:none; font-size:11px; }
.home-opening-link strong { color:#d7c4a0; font-weight:500; }
.home-opening-link:hover strong { text-decoration:underline; }
.s4-hero-caption { position:absolute; bottom:22px; right:28px; left:48px; display:flex; justify-content:space-between; gap:15px; color:#a6b2b1; font:9px/1.5 ui-monospace,monospace; letter-spacing:.12em; }
.s4-hero-caption span { color:#a7aaa0; }
.home-shortcuts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:16px 0 38px; padding:0!important; border:0!important; background:none!important; box-shadow:none!important; }
.home-shortcuts>a { display:flex; align-items:center; gap:12px; min-height:92px; padding:18px; border:1px solid var(--studio-line); border-radius:12px; background:var(--studio-panel); color:var(--studio-text); text-decoration:none; transition:border-color .15s,background .15s; }
.home-shortcuts>a:hover { background:var(--studio-surface); border-color:rgba(211,181,125,.4); }
.home-shortcuts .home-shortcut-no { color:var(--studio-accent); font:11px ui-monospace,monospace; }
.home-shortcuts strong { display:block; font-size:14px; font-weight:600; }
.home-shortcuts small { display:block; margin-top:3px; color:var(--studio-muted); font-size:11px; }
.home-shortcuts>a>span:last-child { margin-left:auto; color:var(--studio-muted); font-size:13px; }
.home-section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:18px; }.home-section-heading h2:not(:where(.taehak-page-header *)){ margin:3px 0 0; font-size:23px; font-weight:650; }
.home-section-heading>a { color:var(--studio-muted); text-decoration:none; font-size:12px; }
.home-section-heading>a:hover { color:var(--studio-accent); }
.home-season-four>.home-meta-ranking-grid { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; grid-template-rows:auto!important; height:auto!important; gap:20px!important; margin:0!important; align-items:start!important; }
.home-season-four .home-meta-column { width:100%!important; height:auto!important; min-height:0!important; max-height:none!important; }
.home-season-four .home-panel { height:auto!important; min-height:0!important; max-height:none!important; padding:24px!important; overflow:visible!important; }
.home-season-four .home-panel .section-head { min-height:0!important; margin:0 0 16px!important; padding:0 0 16px!important; border-bottom:1px solid var(--studio-line)!important; }.home-season-four .home-panel .section-head h2:not(:where(.taehak-page-header *)){ margin:3px 0 0!important; font-size:20px!important; line-height:1.4!important; color:var(--studio-text)!important; }
.home-season-four .section-head>a { color:var(--studio-muted)!important; font-size:12px; }
.home-season-four .home-tier-item { border-color:var(--studio-line)!important; }
.home-season-four .home-tier-item summary { display:flex!important; align-items:center!important; height:auto!important; min-height:66px!important; max-height:none!important; gap:14px!important; padding:12px 0!important; border-radius:7px; }
.home-season-four .home-tier-item summary:hover { background:rgba(255,255,255,.025)!important; }
.home-season-four .home-tier-item summary b { font-size:14px!important; font-weight:600; }
.home-season-four .home-tier-item summary small { display:block; margin-top:3px!important; color:var(--studio-muted); font-size:11px!important; }
.home-season-four .home-tier-item .tier { flex-shrink:0; padding:4px 8px; border:1px solid rgba(211,181,125,.22)!important; border-radius:6px!important; color:var(--studio-accent)!important; background:var(--studio-soft)!important; font-size:11px; }
.home-season-four .home-tier-detail { padding:16px!important; margin-bottom:12px; border:1px solid var(--studio-line); border-radius:9px; background:var(--studio-bg)!important; }
.home-season-four .home-tier-detail strong { font-size:12px; overflow-wrap:anywhere; }
.home-season-four .home-tier-more { color:var(--studio-accent)!important; }
.home-season-four .ranking-tabs { display:flex!important; flex:none!important; flex-wrap:wrap; gap:5px!important; margin:0 0 8px!important; padding:0 0 12px!important; border-bottom:1px solid var(--studio-line)!important; }
.home-season-four .ranking-tab { padding:7px 11px!important; border:1px solid transparent!important; border-radius:7px!important; color:var(--studio-muted)!important; font-size:12px!important; font-weight:500; background:transparent!important; }
.home-season-four .ranking-tab.active { color:var(--studio-accent)!important; background:var(--studio-soft)!important; border-color:rgba(211,181,125,.2)!important; }
.home-season-four .ranking-list.active { display:block!important; }
.home-season-four .ranking-row { min-height:62px!important; padding:12px 0!important; gap:12px!important; border-color:var(--studio-line)!important; }
.home-season-four .ranking-row strong,.home-season-four .ranking-row .deck-rank-link { font-size:13px!important; line-height:1.5!important; }
.home-season-four .ranking-row small { font-size:11px!important; line-height:1.7!important; color:var(--studio-muted); }
.home-season-four :is(.rating-score,.streak-score,.rank-no) { color:var(--studio-accent)!important; font-size:13px!important; }.home-season-four .section-head select:not(:where(.taehak-page-header *)){ max-width:120px; font-size:12px; padding:8px 12px; }
/* Override the legacy equal-height flex rows, including populated past seasons. */
.home-season-four .home-meta-column .ranking-card {
  display:block!important; height:auto!important; min-height:0!important; max-height:none!important;
}
.home-season-four .home-meta-column .ranking-card .ranking-list {
  flex:none!important; height:auto!important; min-height:0!important; overflow:visible!important;
}
.home-season-four .home-meta-column .ranking-card .ranking-list.active {
  display:block!important; height:auto!important;
}
.home-season-four .home-meta-column .ranking-card .ranking-list.active .ranking-row {
  flex:none!important; height:auto!important; min-height:64px!important; padding:12px 0!important;
  grid-template-columns:34px minmax(0,1fr) auto!important; gap:12px!important;
}
.home-season-four .home-meta-column .ranking-card .ranking-row > div {
  min-width:0!important;
}
.home-season-four .home-meta-column .ranking-card .ranking-row :is(strong,small,.deck-rank-link) {
  white-space:normal!important; overflow-wrap:anywhere; line-height:1.5!important;
}
.home-season-four .home-meta-column .ranking-card :is(.rating-score,.streak-score) {
  white-space:nowrap;
}
@media(max-width:900px) {
  .home-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .s4-hero-copy { padding:40px 32px 70px; }
  .s4-hero-caption { left:32px; }
  .home-season-four .home-panel { padding:20px!important; }
}
@media(max-width:640px) {
  .murim-main { width:calc(100% - 28px)!important; padding-top:20px!important; }.murim-nav:not(:where(.taehak-page-header *)){ min-height:70px!important; gap:12px!important; }.murim-nav nav>a:not(:where(.taehak-page-header *)),.murim-nav .nav-dropdown-toggle:not(:where(.taehak-page-header *)),.murim-nav .linkbtn:not(:where(.taehak-page-header *)){ font-size:12px!important; padding:0 8px!important; }
  .s4-hero { min-height:570px; border-radius:14px; }
  .s4-hero-art { object-position:65% center; }
  .s4-hero::before { background:linear-gradient(90deg,rgba(9,16,22,.92),rgba(9,16,22,.64)),linear-gradient(0deg,rgba(9,16,22,.75),transparent); }
  .s4-hero-copy { padding:30px 24px 62px; }
  .home-kicker { font-size:11px; margin-top:32px; }.home-season-four .s4-hero h1:not(:where(.taehak-page-header *)){ font-size:37px!important; }
  .home-intro { font-size:12px; }
  .s4-hero-actions { flex-direction:column; margin-top:25px; }
  .home-action { width:100%; }
  .home-opening-link { font-size:10px; gap:3px; }
  .s4-hero-caption { left:24px; right:24px; bottom:20px; font-size:8px; }
  .s4-hero-caption span { display:none; }
  .home-shortcuts { gap:8px; margin:12px 0 28px; }
  .home-shortcuts>a { padding:14px 12px; min-height:82px; gap:8px; }
  .home-shortcuts strong { font-size:12px; }
  .home-shortcuts small { font-size:10px; }
  .home-shortcuts>a>span:last-child { display:none; }
  .home-section-heading { gap:12px; align-items:start; }.home-section-heading h2:not(:where(.taehak-page-header *)){ font-size:19px; }
  .home-section-heading>a { font-size:10px; white-space:nowrap; padding-top:22px; }
  .home-season-four>.home-meta-ranking-grid { grid-template-columns:minmax(0,1fr)!important; gap:14px!important; }
  .home-season-four .home-panel { padding:20px!important; }
}
@media(prefers-reduced-motion:reduce) {
  .home-action,.home-shortcuts>a { transition:none; }
}
