
:root {
  color-scheme: dark;
  --bg: #101114;
  --surface: #191b20;
  --raised: #22252b;
  --ink: #f5f6f7;
  --muted: #92969f;
  --line: #ffffff12;
  --green: #00d58b;
  --green-ink: #052c20;
  --header: #101114ed;
  --shadow: 0 12px 36px #0005;
  --rail: 160px;
}

:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f8f9fa;
  --surface: #ffffff;
  --raised: #edf0f3;
  --ink: #181b23;
  --muted: #717784;
  --line: #18253814;
  --green: #008c5b;
  --green-ink: #fff;
  --header: #fffffff0;
  --shadow: 0 12px 36px #24384b14;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, 'Microsoft YaHei', 'PingFang SC', system-ui, sans-serif; }
button, input, select { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; display: block; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
button:disabled { cursor: default; opacity: .4; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 15px; top: -70px; z-index: 200; background: var(--green); color: var(--green-ink); padding: 10px 20px; }
.skip-link:focus { top: 10px; }
.logo { display: flex; align-items: center; gap: 9px; white-space: nowrap; font-weight: 850; font-size: 26px; letter-spacing: -.05em; }
.logo img { height: 34px; width: 34px; border-radius: 10px; }
.logo .latin { color: var(--green); font-family: Barlow, sans-serif; font-size: 15px; letter-spacing: .04em; margin-left: 1px; align-self: flex-end; padding-bottom: 5px; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: var(--rail); padding: 22px 14px; border-right: 1px solid var(--line); background: var(--bg); overflow-y: auto; }
.sidebar .logo { margin: 0 9px 32px; }
.sidebar .latin { display: none; }
.side-group { display: grid; gap: 6px; padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.side-group a, .side-group button { display: flex; align-items: center; gap: 13px; border: 0; background: none; border-radius: 8px; padding: 10px 13px; color: var(--muted); text-align: left; font-weight: 550; }
.side-group a:hover, .side-group button:hover { background: var(--raised); color: var(--ink); }
.side-group .active { background: #00d58b12; color: var(--green); }
.side-icon { font-size: 20px; width: 22px; text-align: center; line-height: 1; }
.side-note { color: var(--muted); font-size: 12px; padding: 0 13px; }
.topbar { position: fixed; top: 0; left: var(--rail); right: 0; height: 76px; z-index: 25; display: flex; align-items: center; gap: 28px; padding: 0 32px; background: var(--header); border-bottom: 1px solid var(--line); backdrop-filter: blur(20px); }
.topbar .logo { display: none; }
.top-links { display: flex; gap: 25px; font-weight: 650; white-space: nowrap; }
.top-links .active { color: var(--green); }
.search { display: flex; height: 40px; width: min(400px, 36vw); margin: 0 auto; background: var(--raised); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.search input { min-width: 0; width: 100%; background: none; color: var(--ink); padding: 0 14px; border: 0; outline: 0; font-size: 14px; }
.search button { display: flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0 14px; font-size: 14px; white-space: nowrap; }
.search button:hover { color: var(--green); }
.utilities { display: flex; gap: 18px; }
.utility { display: grid; justify-items: center; gap: 2px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; min-width: 32px; }
.utility:hover { color: var(--green); }
.utility .symbol { font-size: 22px; line-height: 24px; }
.mobile-channels, .mobile-bottom { display: none; }
.main { margin-left: var(--rail); padding-top: 76px; min-height: 100vh; }
.content { padding: 0 32px; max-width: 1760px; margin: 0 auto; }
.hero { position: relative; isolation: isolate; min-height: 500px; display: flex; align-items: center; margin-bottom: 0; overflow: hidden; background: #0e1b22; color: #fff; }
.hero-art { position: absolute; inset: 0; z-index: -2; height: 100%; width: 100%; object-fit: cover; object-position: center 34%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg), transparent 43%), linear-gradient(90deg, #101114ed, #10111466 48%, #10111400 82%); }
:root[data-theme='light'] .hero::after { background: linear-gradient(0deg, var(--bg), transparent 43%), linear-gradient(90deg, #0c1a25e8, #0c1a2559 48%, transparent 82%); }
.hero-copy { width: 60%; padding: 32px 0 97px; }
.hero-label { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; letter-spacing: .08em; color: #dce9e2; }
.hero-label::before { content: ''; width: 22px; height: 2px; background: #00d58b; }
.hero h1 { margin: 17px 0 14px; font-family: 'STKaiti', 'KaiTi', 'Songti SC', serif; font-size: clamp(54px, 5.6vw, 86px); font-weight: 650; line-height: 1.13; letter-spacing: .13em; text-shadow: 0 4px 24px #0008; }
.hero-tagline { font-size: 20px; font-weight: 550; letter-spacing: .05em; margin: 0 0 12px; }
.hero-meta { display: flex; align-items: center; gap: 12px; color: #c2ccd1; font-size: 13px; margin-bottom: 24px; }
.score { color: #f6c96c; font-weight: 700; font-family: Barlow, sans-serif; }
:root[data-theme='light'] .detail .score { color: #996100; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 45px; padding: 0 23px; border: 0; border-radius: 7px; font-size: 15px; font-weight: 700; }
.primary { background: var(--green); color: var(--green-ink); }
.primary:hover { filter: brightness(1.1); }
.secondary { background: var(--raised); color: var(--ink); border: 1px solid var(--line); }
.hero .primary { background: #00d58b; color: #07291c; }
.hero .secondary { background: #ffffff1c; color: white; backdrop-filter: blur(10px); border: 1px solid #ffffff25; }
.button-row { display: flex; gap: 11px; align-items: center; flex-wrap: wrap; }
.hero-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; z-index: 2; margin-top: -96px; padding-bottom: 18px; }
.hero-pick { padding: 0; text-align: left; background: none; color: var(--muted); border: 0; min-width: 0; }
.hero-pick img { width: 100%; aspect-ratio: 1.85; object-fit: cover; border-radius: 7px; border: 2px solid transparent; }
.hero-pick span { display: block; margin-top: 8px; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-pick[aria-pressed='true'] { color: var(--ink); font-weight: 700; }
.hero-pick[aria-pressed='true'] img { border-color: var(--green); }
.section { margin: 29px 0 37px; }
.section-head { display: flex; align-items: center; gap: 22px; margin-bottom: 19px; }
.section-head h2 { margin: 0; font-size: 23px; font-weight: 750; letter-spacing: -.03em; }
.section-head .more { margin-left: auto; color: var(--muted); font-size: 13px; }
.section-head .more:hover { color: var(--green); }
.tabs { display: flex; gap: 18px; }
.tabs button { padding: 5px 0; background: none; border: 0; color: var(--muted); font-size: 14px; }
.tabs button[aria-selected='true'] { color: var(--green); position: relative; font-weight: 700; }
.tabs button[aria-selected='true']::after { content: ''; height: 2px; position: absolute; bottom: -2px; left: 20%; right: 20%; border-radius: 3px; background: var(--green); }
.grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px 15px; }
.card { min-width: 0; }
.poster-link { display: block; position: relative; aspect-ratio: 2/2.85; border-radius: 8px; overflow: hidden; background: var(--raised); }
.poster-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.poster-link::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #050b15c9); }
.poster-link:hover img { transform: scale(1.055); }
.poster-word { position: absolute; z-index: 1; bottom: 20%; left: 11%; right: 8%; color: #fff; text-shadow: 0 3px 14px #0009; font-family: 'STKaiti', 'KaiTi', serif; font-size: clamp(20px, 2vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: .05em; }
.card:nth-child(3n) .poster-word { writing-mode: vertical-rl; bottom: auto; top: 15%; left: 16%; max-height: 65%; }
.poster-note, .poster-score { position: absolute; bottom: 8px; z-index: 2; color: #eee; font-size: 12px; }
.poster-note { left: 9px; right: 36px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.poster-score { right: 9px; color: #ffda88; font-weight: 800; }
.card h3 { font-size: 15px; font-weight: 650; margin: 9px 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card h3 a:hover { color: var(--green); }
.card p { color: var(--muted); font-size: 12px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.collection { position: relative; min-height: 190px; border-radius: 10px; overflow: hidden; background: #20302c; display: flex; align-items: flex-end; }
.collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collection::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #061614e8, #06161400 90%); }
.collection div { position: relative; z-index: 1; padding: 23px; color: white; }
.collection small { color: #c3ded2; font-size: 12px; letter-spacing: .12em; }
.collection h3 { margin: 6px 0 0; font-size: 23px; font-weight: 650; }
.footer { margin: 40px 0 0; padding: 26px 0 33px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer a:hover { color: var(--green); }
.page-head { margin: 37px 0 26px; }
.page-head h1 { font-size: 30px; margin: 0 0 6px; }
.page-head p { margin: 0; color: var(--muted); font-size: 14px; }
.filters { padding: 9px 21px; margin-bottom: 25px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; }
.filter-row { display: flex; align-items: center; gap: 9px; padding: 13px 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.filter-row:last-child { border: 0; }
.filter-row strong { font-size: 14px; color: var(--muted); margin-right: 15px; min-width: 30px; font-weight: 500; }
.filter-row a, .filter-row button { white-space: nowrap; border: 0; background: none; border-radius: 5px; padding: 4px 11px; font-size: 14px; }
.filter-row .active { background: #00d58b16; color: var(--green); font-weight: 650; }
.result-info { font-size: 14px; color: var(--muted); margin: 18px 0; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-size: 22px; margin-bottom: 8px; }
.detail { display: grid; grid-template-columns: 210px 1fr; gap: 35px; padding: 42px 0 32px; align-items: start; }
.detail-poster { border-radius: 10px; overflow: hidden; aspect-ratio: 2/2.85; object-fit: cover; object-position: 65% center; width: 100%; height: auto; }
.detail h1 { font-size: 38px; line-height: 1.2; margin: 10px 0 13px; }
.detail .metadata { color: var(--muted); font-size: 14px; display: flex; gap: 15px; flex-wrap: wrap; }
.detail .synopsis { max-width: 750px; color: var(--muted); font-size: 15px; line-height: 1.9; margin: 20px 0 25px; }
.detail .credit { color: var(--muted); font-size: 13px; margin: 12px 0; }
.detail-banner { background: radial-gradient(ellipse at 80% 10%, #0d836123, transparent 65%), var(--surface); border-bottom: 1px solid var(--line); }
.episodes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.episodes a, .episodes button { border: 1px solid var(--line); background: var(--raised); color: var(--ink); text-align: center; border-radius: 6px; padding: 10px 5px; font-size: 14px; }
.episodes .active, .episodes a:hover { color: var(--green); border-color: var(--green); background: #00d58b10; }
.sources { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.sources button { color: var(--muted); background: var(--raised); padding: 8px 20px; border-radius: 6px; border: 1px solid var(--line); font-size: 14px; }
.sources button[aria-selected='true'] { color: var(--green); border-color: var(--green); }
.player-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 0; background: #08090b; border-radius: 10px; overflow: hidden; margin-top: 26px; }
.player-screen { aspect-ratio: 16/9; background: #000; color: #fff; position: relative; display: grid; place-items: center; min-width: 0; }
.player-screen img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; opacity: .3; }
.player-message { z-index: 1; text-align: center; padding: 25px; }
.player-message strong { display: block; font-size: 23px; margin-bottom: 10px; }
.player-message p { color: #b0b7bf; font-size: 14px; max-width: 38ch; }
.player-message .primary { margin-top: 10px; }
.player-side { background: var(--surface); padding: 22px; max-height: 560px; overflow: auto; }
.player-side h2 { margin: 0 0 5px; font-size: 21px; }
.player-side p { color: var(--muted); font-size: 13px; margin: 0 0 19px; }
.player-side .episodes { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.player-info { margin: 23px 0 30px; }
.player-info h1 { font-size: 25px; margin: 0 0 7px; }
.player-info p { font-size: 14px; color: var(--muted); }
.pager { display: flex; gap: 8px; justify-content: center; padding: 32px 0; }
.pager a, .pager span { border: 1px solid var(--line); padding: 7px 13px; border-radius: 5px; font-size: 14px; }
.pager .active { background: var(--green); color: var(--green-ink); }
.toast { position: fixed; left: 50%; bottom: 35px; transform: translateX(-50%); padding: 12px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); z-index: 100; font-size: 14px; max-width: calc(100vw - 30px); }
dialog { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 26px; width: min(560px, calc(100% - 30px)); max-height: 80vh; box-shadow: var(--shadow); }
dialog::backdrop { background: #03090f99; backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dialog-head h2 { font-size: 22px; margin: 0; }
.dialog-head button { background: var(--raised); border: 0; border-radius: 50%; width: 32px; height: 32px; font-size: 20px; }
.saved-row { display: flex; align-items: center; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.saved-row img { width: 55px; height: 75px; object-fit: cover; border-radius: 5px; }
.saved-row strong { display: block; }
.saved-row small { color: var(--muted); }
@media (min-width: 1650px) { .content { padding: 0 44px; } .hero { min-height: 650px; } .hero-copy { padding-left: 12px; } }
@media (max-width: 1200px) { :root { --rail: 136px; } .sidebar { padding-inline: 8px; } .sidebar .logo { font-size: 23px; } .logo .latin { display: none; } .topbar { padding-inline: 24px; gap: 18px; } .top-links { gap: 18px; } .top-links a:last-child { display: none; } .content { padding-inline: 24px; } .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .home-page .grid .card:nth-child(7) { display: none; } .hero { min-height: 540px; } .utilities { gap: 13px; } .episodes { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
@media (max-width: 900px) { :root { --rail: 0px; } .sidebar { display: none; } .topbar { gap: 18px; height: 70px; } .topbar .logo { display: flex; } .top-links { display: none; } .search { width: min(430px, 55vw); } .main { padding-top: 70px; } .hero-copy { width: 70%; } .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .home-page .grid .card:nth-child(6) { display: none; } .hero-thumbs { gap: 10px; } .wide-grid { gap: 12px; } .collection { min-height: 170px; } .collection div { padding: 17px; } .collection h3 { font-size: 20px; } .player-layout { grid-template-columns: minmax(0, 1fr); } .player-side .episodes { grid-template-columns: repeat(8, minmax(0, 1fr)); } .detail { grid-template-columns: 180px 1fr; } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar { height: 62px; padding-inline: 16px; gap: 12px; }
  .logo { font-size: 22px; gap: 6px; }
  .logo img { width: 29px; height: 29px; border-radius: 8px; }
  .search { flex: 1; width: auto; margin: 0; height: 34px; border-radius: 18px; }
  .search input { padding-inline: 12px 0; font-size: 13px; }
  .search button { padding-inline: 10px; }
  .search button .search-label { display: none; }
  .utilities { gap: 0; }
  .utilities .history-control { display: none; }
  .utility { font-size: 11px; gap: 0; min-width: 28px; }
  .utility .symbol { font-size: 20px; }
  .main { padding-top: 106px; padding-bottom: 65px; }
  .content { padding-inline: 16px; }
  .mobile-channels { display: flex; position: fixed; top: 62px; left: 0; right: 0; z-index: 24; gap: 27px; overflow-x: auto; scrollbar-width: none; padding: 10px 18px; height: 44px; background: var(--header); border-bottom: 1px solid var(--line); }
  .mobile-channels a { white-space: nowrap; font-size: 15px; }
  .mobile-channels .active { font-weight: 750; color: var(--green); }
  .hero { min-height: 430px; align-items: flex-end; }
  .hero-art { object-position: 62% 10%; }
  .hero::after, :root[data-theme='light'] .hero::after { background: linear-gradient(0deg, var(--bg) 0%, #0c1828e0 15%, #0c18285c 42%, #07131a00 76%); }
  .hero-copy { width: 100%; padding: 170px 0 40px; }
  .hero-label { font-size: 11px; }
  .hero h1 { font-size: 47px; margin: 12px 0 10px; }
  .hero-tagline { font-size: 15px; margin-bottom: 8px; }
  .hero-meta { font-size: 12px; gap: 9px; margin-bottom: 17px; color: #cbd3d9; }
  .hero .primary, .hero .secondary { min-height: 39px; font-size: 13px; padding-inline: 17px; }
  .hero-thumbs { display: flex; overflow-x: auto; scrollbar-width: none; margin-top: 0; gap: 10px; padding-top: 0; padding-bottom: 5px; }
  .hero-pick { flex: 0 0 28%; }
  .hero-pick span { font-size: 12px; margin-top: 5px; }
  .hero-pick img { border-radius: 6px; }
  .section { margin: 25px 0 30px; }
  .section-head { gap: 17px; margin-bottom: 14px; }
  .section-head h2 { font-size: 21px; }
  .tabs { gap: 13px; }
  .tabs button { font-size: 12px; }
  .section-head .more { font-size: 12px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px 10px; }
  .home-page .grid .card:nth-child(6) { display: block; }
  .home-page .grid .card:nth-child(7) { display: none; }
  .poster-link { border-radius: 6px; }
  .poster-word { font-size: 22px; }
  .poster-note { font-size: 10px; left: 7px; bottom: 6px; }
  .poster-score { font-size: 11px; right: 7px; bottom: 5px; }
  .card h3 { font-size: 13px; margin: 7px 0 2px; }
  .card p { font-size: 11px; }
  .wide-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .collection { flex: 0 0 80%; scroll-snap-align: start; min-height: 162px; }
  .collection h3 { font-size: 22px; }
  .mobile-bottom { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--header); backdrop-filter: blur(15px); border-top: 1px solid var(--line); padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); }
  .mobile-bottom a, .mobile-bottom button { display: grid; justify-items: center; gap: 2px; background: none; border: 0; color: var(--muted); font-size: 11px; }
  .mobile-bottom .active { color: var(--green); }
  .mobile-bottom .symbol { font-size: 20px; line-height: 22px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 25px; font-size: 11px; }
  .page-head { margin: 25px 0 18px; }
  .page-head h1 { font-size: 26px; }
  .filters { padding: 0 12px; margin-bottom: 20px; }
  .filter-row { padding-block: 10px; gap: 4px; }
  .filter-row strong { margin-right: 4px; font-size: 12px; }
  .filter-row a { font-size: 12px; padding: 3px 9px; }
  .detail { grid-template-columns: 112px minmax(0,1fr); gap: 17px; padding: 24px 0; }
  .detail h1 { font-size: 27px; margin-top: 2px; }
  .detail .metadata { font-size: 12px; gap: 8px; }
  .detail .credit { font-size: 11px; margin-block: 10px; }
  .detail .synopsis { font-size: 12px; line-height: 1.7; margin: 10px 0 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .detail .primary, .detail .secondary { padding-inline: 12px; min-height: 35px; font-size: 12px; }
  .episodes { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; }
  .episodes a { padding-block: 9px; font-size: 12px; }
  .player-layout { margin: 0 -16px; border-radius: 0; }
  .player-screen { min-height: 210px; }
  .player-message { padding: 10px 22px; }
  .player-message strong { font-size: 19px; }
  .player-message p { font-size: 12px; }
  .player-side { padding: 20px 16px; max-height: none; }
  .player-side .episodes { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .player-side h2 { font-size: 20px; }
  .player-info h1 { font-size: 22px; }
  .toast { bottom: 85px; width: max-content; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

.filter-form { display:flex; align-items:center; gap:20px; padding:15px 0; flex-wrap:wrap; }
.filter-form label { color:var(--muted); font-size:14px; display:flex; gap:10px; align-items:center; }
.filter-form select { color:var(--ink); background:var(--raised); border:1px solid var(--line); padding:8px 12px; border-radius:6px; }
.cms-player { position:absolute; inset:0; width:100%; height:100%; }
.cms-player iframe, .cms-player video, .cms-player #MacPlayer { width:100%; height:100%; border:0; }

.main:not(:has(.hero)) .hero-thumbs { margin-top: 0; }
.grid:empty::before { content: "暂无影片，请先在后台添加或采集内容。"; color: var(--muted); padding-block: 40px; grid-column: 1 / -1; }

@media (max-width: 720px) {
  .topbar .utilities { align-items: center; gap: 5px; }
  .topbar .search { min-width: 0; }
}

/* The supplied logos have transparent margins around the wordmark. */
.logo.kubo-brand { flex: 0 0 auto; }
.kubo-brand-frame { position: relative; display: block; width: 130px; aspect-ratio: 2.72; overflow: hidden; }
.kubo-brand .kubo-brand-frame img { position: absolute; top: 50%; left: 50.9%; width: 165%; max-width: none; height: auto; border-radius: 0; transform: translate(-50%, -50%); }
.kubo-brand .kubo-brand-dark, :root[data-theme="dark"] .kubo-brand .kubo-brand-light { display: none; }
:root[data-theme="dark"] .kubo-brand .kubo-brand-dark { display: block; }
@media (max-width: 1200px) { .kubo-brand-frame { width: 110px; } }
@media (max-width: 600px) { .kubo-brand-frame { width: clamp(80px, 27vw, 110px); } }
