@font-face {
  font-family: system-local;
  src: local("Pretendard"), local("Noto Sans KR"), local("Malgun Gothic");
}

:root {
  font-family: Inter, system-local, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #292738;
  background: #f7f6f2;
  font-synthesis: none;
  --purple: #7155e7;
  --purple-dark: #5940c4;
  --lavender: #eee9fb;
  --muted: #777280;
  --line: #e6e2eb;
  --sidebar: 220px;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; border: 0; background: transparent; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #a58aef;
  outline-offset: 3px;
}
button svg { pointer-events: none; }
[hidden] { display: none !important; }
::selection { background: #dcd1fc; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 14px; border-radius: 8px; background: white; }
.skip-link:focus { top: 12px; }

/* 게임 목록을 계속 찾을 수 있는 탐색 영역입니다. */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  width: var(--sidebar);
  border-right: 1px solid var(--line);
  background: #fcfbf8;
}
.sidebar-brand { padding: 30px 22px 28px; }
.brand { display: flex; align-items: center; gap: 10px; width: fit-content; font-size: 26px; font-weight: 850; letter-spacing: -1.2px; }
.brand-mark { position: relative; display: grid; place-items: center; flex: none; width: 37px; height: 40px; padding-bottom: 5px; border-radius: 12px; background: var(--purple); color: white; font-size: 33px; line-height: 1; }
.brand-mark > span { position: absolute; right: 4px; bottom: 1px; color: #d2f491; font-size: 16px; }
.brand-dot { color: var(--purple); }
.brand-caption { display: block; margin: 13px 0 0 2px; color: var(--muted); font-size: 12px; }
.sidebar-body { flex: 1; padding: 0 14px; }
.nav-label { margin: 8px 12px 12px; color: #88818d; font-size: 11px; font-weight: 600; }
.main-nav { display: flex; flex-direction: column; gap: 6px; }
.nav-item { display: flex; align-items: center; gap: 11px; min-height: 48px; padding: 0 12px; border-radius: 10px; color: #6b6574; font-size: 14px; font-weight: 550; text-align: left; }
.nav-icon { width: 22px; font-size: 23px; line-height: 1; text-align: center; }
.nav-copy { white-space: nowrap; }
.nav-item b { margin-left: auto; color: #8e8699; font-size: 12px; font-weight: 500; }
.nav-item:hover { background: #f1edf6; }
.nav-item.selected { background: var(--lavender); color: var(--purple-dark); font-weight: 700; }
.nav-item.selected b { color: var(--purple-dark); }
.genre-label { margin-top: 32px; }
.genre-nav { display: flex; flex-direction: column; gap: 2px; }
.genre-nav button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 13px; color: #716a7a; font-size: 13px; text-align: left; }
.genre-nav button:hover { color: var(--purple-dark); }
.genre-nav button > span:last-child { margin-left: auto; color: #a198ae; }
.genre-dot { width: 7px; height: 7px; border-radius: 50%; }
.genre-dot.action { background: #a18bf5; }
.genre-dot.timing { background: #df9e54; }
.genre-dot.puzzle { background: #6faaa0; }
.sidebar-note { margin: 34px 8px 20px; padding: 18px; border: 1px solid #e8e1ef; border-radius: 14px; background: #f4f0f8; }
.note-art { display: block; margin-bottom: 12px; color: #9477d0; font-size: 32px; line-height: 1; }
.sidebar-note strong { font-size: 13px; }
.sidebar-note p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.note-tag { color: #82768f; font-size: 10px; }
.sidebar-bottom { display: flex; align-items: center; gap: 8px; padding: 22px; color: #8c8394; font-size: 9px; letter-spacing: .6px; }
.status-dot { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #7b9f87; }

/* 검색은 게임 목록 가까이에 둡니다. */
.workspace { margin-left: var(--sidebar); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding: 16px 36px; border-bottom: 1px solid var(--line); background: #fcfbf880; }
.topbar-caption { color: #8e849c; font-size: 10px; letter-spacing: 1.3px; white-space: nowrap; }
.topbar-caption > span { margin-left: 8px; color: #a88fce; }
.top-actions { display: flex; align-items: center; gap: 12px; width: min(610px, 75%); }
.search { display: flex; align-items: center; flex: 1; gap: 8px; min-width: 0; height: 48px; padding: 0 5px 0 14px; border: 1px solid #ded8e6; border-radius: 11px; background: #fff; }
.search:focus-within { border-color: #a58aef; box-shadow: 0 0 0 3px #7155e710; }
.search-icon { flex: none; color: #93879e; font-size: 28px; line-height: 1; transform: rotate(-15deg); }
.search input { flex: 1; min-width: 0; width: 100%; padding: 0; border: 0; outline: none; background: transparent; color: #393245; font-size: 14px; }
.search input::placeholder { color: #8b8295; }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus-visible { outline: none; }
.search kbd { flex: none; margin-right: 8px; padding: 2px 6px; border: 1px solid #e8e2ed; border-radius: 4px; color: #9b91a4; font: 12px monospace; }
#search-clear { flex: none; width: 44px; height: 44px; border-radius: 8px; color: #7f748c; font-size: 24px; }
#search-clear:hover { background: #f4f0fa; }
.search:has(#search-clear:not([hidden])) kbd { display: none; }
.random-button { display: flex; align-items: center; justify-content: center; flex: none; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid #e0d7f4; border-radius: 11px; background: #eee8fa; color: var(--purple-dark); font-size: 13px; font-weight: 650; white-space: nowrap; }
.random-button > span:first-child { font-size: 23px; }
.random-button:hover { background: #e7def9; }

main { max-width: 1520px; margin: 0 auto; padding: 32px 36px 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.eyebrow { margin: 0 0 10px; color: #9b88ad; font-size: 10px; font-weight: 650; letter-spacing: 1.8px; }
h1 { margin: 0 0 10px; font-size: 35px; font-weight: 760; line-height: 1.3; letter-spacing: -1.6px; }
h1 > span { color: var(--purple); }
.heading-description { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.heading-flower { margin-right: 6px; color: #b7a2d4; font-size: 68px; line-height: 1; transform: rotate(10deg); }
.library { scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading > div { min-width: 0; }
.section-heading h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 22px; font-weight: 750; line-height: 1.35; letter-spacing: -.6px; }
.section-heading h2 span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px; background: #eae3f6; color: #7a609c; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.section-heading p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.sort-control { display: flex; align-items: center; flex: none; gap: 10px; color: #82768d; font-size: 12px; }
.sort-control select { max-width: 160px; min-height: 44px; padding: 0 30px 0 13px; border: 1px solid #ddd5e7; border-radius: 9px; background: #fff; color: #61536e; font-size: 13px; cursor: pointer; }
.library-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.filter-tabs { display: flex; align-items: center; gap: 5px; }
.filter-tabs button { min-width: 54px; min-height: 44px; padding: 0 16px; border-radius: 9px; color: #82768d; font-size: 13px; font-weight: 550; white-space: nowrap; }
.filter-tabs button:hover { background: #eee9f4; }
.filter-tabs button.active { background: #30293f; color: #fff; }
.available-note { display: flex; align-items: center; gap: 7px; color: #8c8293; font-size: 11px; }
.search-status { margin: 12px 0 14px; color: #877d91; font-size: 12px; line-height: 1.5; }

/* 큰 화면은 카드 격자, 휴대폰 화면은 간결한 목록을 사용합니다. */
.games-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.game-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e5deeb; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px #30233c03; transition: transform .18s, box-shadow .18s; }
.game-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #30233c0b; }
.card-cover { position: relative; flex: none; aspect-ratio: 1.55; overflow: hidden; }
.cover-play { display: block; width: 100%; height: 100%; min-height: 44px; padding: 0; }
.cover-image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cover-play:hover .cover-image { transform: scale(1.04); }
.cover-play:focus-visible { outline-offset: -5px; }
.cover-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 72px); pointer-events: none; }
.cover-badge { padding: 5px 7px; border-radius: 5px; background: #ffffffec; color: #4d3e59; font-size: 9px; font-weight: 700; line-height: 1.1; }
.cover-badge.new { background: #d8edb5; color: #4a5c35; }
.favorite-button { position: absolute; z-index: 2; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid #ffffff33; border-radius: 50%; background: #ffffffd9; color: #6d578a; font-size: 25px; line-height: 1; backdrop-filter: blur(8px); }
.favorite-button:hover { background: #fff; color: var(--purple-dark); }
.favorite-button[aria-pressed=true] { border-color: #ece4fc; background: #f1eafb; color: var(--purple); }
.card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 17px 16px 14px; }
.card-title-row { display: flex; align-items: center; min-height: 28px; }
.card-title { min-width: 0; padding: 0; text-align: left; font-size: 18px; font-weight: 750; line-height: 1.35; letter-spacing: -.5px; }
.card-title:hover { color: var(--purple-dark); }
.card-description { display: -webkit-box; overflow: hidden; min-height: 42px; margin: 8px 0 10px; color: #74697f; font-size: 13px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-controls { margin: 0 0 12px; color: #766880; font-size: 12px; line-height: 1.5; }
.card-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #eee8f3; color: #84718f; font-size: 12px; }
.card-genre { grid-column: 1; grid-row: 1; font-weight: 550; }
.card-meta-time { grid-column: 1; grid-row: 2; white-space: nowrap; }
.card-launch { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; min-width: 88px; min-height: 44px; padding: 0 12px; border-radius: 9px; background: #f0eafa; color: var(--purple-dark); font-size: 12px; font-weight: 700; white-space: nowrap; }
.card-launch:hover { background: #e8dcfa; }
.empty-state { padding: 52px 20px; border: 1px dashed #d8cbe8; border-radius: 16px; background: #f0ebf6; color: #8e7c9d; text-align: center; }
.empty-state > span { font-size: 40px; }
.empty-state h3 { margin: 14px 0 10px; color: #6d567d; font-size: 19px; }
.empty-state p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; }
.text-button { min-width: 44px; min-height: 44px; color: var(--purple-dark); font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }

/* 추천 영역은 게임 목록 뒤에 배치합니다. */
.featured { position: relative; min-height: 204px; overflow: hidden; margin-top: 30px; border: 1px solid #3a2d57; border-radius: 17px; background: #20192f; color: #fff; }
.feature-copy { position: relative; z-index: 1; width: 72%; padding: 23px 28px; background: linear-gradient(90deg, #241b35 65%, transparent); }
.feature-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #c5b2df; font-size: 11px; }
.feature-eyebrow > span:last-child { margin-left: 5px; color: #a38bbd; font-size: 10px; letter-spacing: .8px; }
.live-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: #c6ed94; }
.feature-copy h2 { margin: 0 0 8px; color: #f1e8ff; font-size: 26px; letter-spacing: -.8px; }
.feature-copy > p:not(.feature-eyebrow) { margin: 0 0 15px; color: #bfb0cf; font-size: 13px; line-height: 1.6; }
.feature-play { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 44px; padding: 0 15px; border-radius: 8px; background: #d0efab; color: #2b3927; font-size: 12px; font-weight: 700; }
.feature-play:hover { background: #e0fac2; }
.feature-play > span { font-size: 19px; }
.feature-image { position: absolute; top: 0; right: 0; width: 42%; height: 100%; object-fit: cover; object-position: center; opacity: .92; }
.feature-spark { position: absolute; z-index: 1; top: 28px; right: 31%; color: #c8eaa0; font-size: 28px; }
.bottom-banner { display: flex; align-items: center; gap: 15px; margin-top: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.banner-symbol { color: #aa95c5; font-size: 35px; line-height: 1; }
.bottom-banner strong { font-size: 14px; }
.bottom-banner p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.bottom-banner button { display: flex; align-items: center; justify-content: center; gap: 13px; flex: none; min-height: 44px; margin-left: auto; padding: 0 12px; border: 1px solid #e0d7eb; border-radius: 9px; color: #715981; font-size: 12px; }
footer { display: flex; align-items: center; gap: 20px; min-height: 80px; color: #a093aa; font-size: 10px; letter-spacing: .5px; }
footer > span:last-child { margin-left: auto; }
.footer-brand { color: #82708e; font-size: 20px; font-weight: 800; letter-spacing: -.8px; }

/* 게임 영역의 높이를 유지하고 실행 도구는 44픽셀 이상으로 표시합니다. */
.player-dialog { width: calc(100% - 36px); height: calc(100dvh - 36px); max-width: 1500px; max-height: 1100px; overflow: hidden; padding: 0; border: 1px solid #ffffff30; border-radius: 18px; background: #141824; color: #fff; box-shadow: 0 30px 90px #0008; }
.player-dialog::backdrop { background: #141420b8; backdrop-filter: blur(10px); }
.player-shell { display: flex; flex-direction: column; height: 100%; }
.player-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #ffffff12; background: #272333; }
.player-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-identity > div { min-width: 0; }
.player-logo { display: grid; place-items: center; flex: none; width: 34px; height: 36px; border-radius: 10px; background: var(--purple); font-size: 24px; font-weight: 850; }
.player-identity h2 { overflow: hidden; margin: 0 0 4px; font-size: 15px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.player-identity p { display: -webkit-box; overflow: hidden; margin: 0; color: #b9aec9; font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.player-actions { display: flex; flex: none; gap: 5px; }
.player-actions > * { display: grid; place-items: center; flex: none; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border-radius: 9px; background: #ffffff0c; color: #d4cbdf; font-size: 21px; }
.player-actions > *:hover { background: #ffffff20; color: #fff; }
.game-stage { position: relative; flex: 1; min-height: 0; background: #10151e; }
.game-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.game-loading { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #171320; color: #c2b8d9; pointer-events: none; }
.game-loading > span { width: 27px; height: 27px; border: 2px solid #8d77c633; border-top-color: #bd9fff; border-radius: 50%; animation: spin 1s linear infinite; }
.game-loading p { margin: 18px 0; font-size: 13px; }
.toast { position: fixed; z-index: 25; left: calc(50% + var(--sidebar) / 2); bottom: 24px; width: max-content; max-width: 90%; padding: 14px 20px; border-radius: 11px; background: #332a42; color: #fff; box-shadow: 0 5px 30px #2222; font-size: 13px; text-align: center; opacity: 0; transform: translate(-50%, 15px); transition: .2s; pointer-events: none; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
body.playing { overflow: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1600px) {
  :root { --sidebar: 240px; }
  .sidebar-brand { padding-left: 28px; }
  .sidebar-body { padding-inline: 20px; }
  .topbar { padding-inline: 48px; }
  main { padding: 38px 48px 0; }
  .games-grid { gap: 22px; }
  .card-description { font-size: 14px; min-height: 46px; }
  .card-body { padding: 20px 19px 17px; }
}

@media (max-width: 1170px) and (min-width: 801px) {
  :root { --sidebar: 200px; }
  .sidebar-brand { padding-inline: 19px; }
  .brand { gap: 8px; font-size: 24px; }
  .topbar { padding-inline: 25px; }
  .topbar-caption { display: none; }
  .top-actions { width: 100%; }
  main { padding-inline: 25px; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-cover { aspect-ratio: 1.85; }
}

@media (max-width: 800px) {
  :root { --sidebar: 0px; }
  .sidebar { position: static; width: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; }
  .brand { gap: 8px; font-size: 24px; }
  .brand-mark { width: 32px; height: 33px; border-radius: 10px; font-size: 28px; }
  .brand-mark > span { right: 3px; bottom: 0; font-size: 14px; }
  .brand-caption { margin: 0; color: #92839c; font-size: 11px; }
  .sidebar-body { flex: initial; padding: 0 20px 8px; }
  .nav-label, .genre-nav, .sidebar-note, .sidebar-bottom { display: none; }
  .main-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .nav-item { justify-content: center; gap: 8px; min-height: 44px; padding: 0 8px; border-radius: 8px; font-size: 13px; }
  .nav-icon { width: auto; font-size: 20px; }
  .nav-item b { margin-left: 0; font-size: 12px; }
  .workspace { margin-left: 0; }
  .topbar { min-height: 64px; padding: 10px 20px; }
  .topbar-caption { display: none; }
  .top-actions { width: 100%; gap: 10px; }
  .search { height: 44px; }
  .search input { font-size: 16px; }
  .random-button { min-height: 44px; }
  main { padding: 22px 20px 0; }
  .page-heading { margin-bottom: 22px; }
  h1 { font-size: 29px; }
  .eyebrow { font-size: 9px; }
  .heading-description { font-size: 13px; }
  .heading-flower { font-size: 49px; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .card-cover { aspect-ratio: 1.7; }
  .card-title { font-size: 17px; }
  .featured { min-height: 190px; }
  .feature-copy { width: 75%; padding: 21px 24px; }
  .feature-copy h2 { font-size: 25px; }
  .player-dialog { width: 100%; height: 100dvh; max-width: none; max-height: none; border: 0; border-radius: 0; }
  .player-toolbar { gap: 7px; padding: 8px 10px; }
  .player-logo { display: none; }
  .player-identity h2 { font-size: 14px; }
  .player-identity p { font-size: 10px; }
  .player-actions { gap: 4px; }
  .toast { left: 50%; }
}

@media (max-width: 600px) {
  .sidebar-brand { min-height: 52px; padding: 9px 14px; }
  .brand { font-size: 23px; }
  .brand-caption { font-size: 10px; }
  .sidebar-body { padding-inline: 14px; }
  .nav-item { gap: 6px; font-size: 12px; }
  .nav-icon { display: none; }
  .topbar { padding-inline: 14px; }
  .search { gap: 6px; padding-left: 10px; border-radius: 9px; }
  .search-icon { font-size: 24px; }
  .search kbd { display: none; }
  .random-button { gap: 5px; padding: 0 10px; border-radius: 9px; font-size: 12px; }
  .random-button > span:first-child { font-size: 21px; }
  main { padding: 12px 14px 0; }
  .page-heading { margin-bottom: 12px; }
  .eyebrow, .heading-description { display: none; }
  h1 { margin: 0; font-size: 25px; line-height: 1.25; letter-spacing: -1px; }
  .heading-flower { margin-right: 2px; font-size: 32px; }
  .section-heading { gap: 8px; min-height: 44px; }
  .section-heading h2 { gap: 7px; font-size: 20px; }
  .section-heading h2 span { min-width: 23px; height: 23px; padding: 0 6px; font-size: 12px; }
  .section-heading p, .sort-control > span { display: none; }
  .sort-control select { width: 121px; max-width: 121px; padding: 0 20px 0 9px; font-size: 12px; }
  .library-toolbar { gap: 0; margin-top: 8px; }
  .filter-tabs { gap: 4px; }
  .filter-tabs button { min-width: 54px; padding: 0 14px; font-size: 13px; }
  .available-note { display: none; }
  .search-status { margin: 6px 0 10px; font-size: 12px; }
  .games-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .game-card { flex-direction: row; border-radius: 13px; }
  .game-card:hover { transform: none; }
  .card-cover { align-self: stretch; width: 88px; aspect-ratio: auto; }
  .cover-image { position: absolute; inset: 0; object-position: center; }
  .cover-play { position: absolute; inset: 0; }
  .cover-badges { top: 8px; left: 6px; max-width: calc(100% - 12px); }
  .cover-badge { padding: 4px 5px; font-size: 8px; }
  .cover-badge + .cover-badge { display: none; }
  .card-body { padding: 11px 12px 12px; }
  .card-title-row { min-height: 37px; padding-right: 37px; }
  .card-title { font-size: 16px; line-height: 1.35; letter-spacing: -.4px; }
  .favorite-button { top: 7px; right: 7px; border-color: transparent; background: #f7f3fc; color: #9481aa; font-size: 24px; }
  .favorite-button[aria-pressed=true] { background: #eee4fb; }
  .card-description { min-height: 36px; margin: 5px 0 7px; color: #766880; font-size: 12px; line-height: 1.5; }
  .card-controls { margin-bottom: 8px; color: #766880; font-size: 12px; line-height: 1.5; }
  .card-meta { gap: 3px 6px; padding-top: 9px; font-size: 12px; }
  .card-launch { min-width: 88px; padding: 0 8px; }
  .empty-state { padding: 36px 18px; }
  .empty-state h3 { font-size: 18px; }
  .empty-state p { font-size: 13px; }
  .featured { min-height: 174px; margin-top: 24px; border-radius: 13px; }
  .feature-copy { width: 83%; padding: 18px; }
  .feature-eyebrow { gap: 6px; margin-bottom: 8px; font-size: 10px; }
  .feature-eyebrow > span:last-child { font-size: 9px; }
  .feature-copy h2 { font-size: 22px; }
  .feature-copy > p:not(.feature-eyebrow) { max-width: 215px; margin-bottom: 11px; font-size: 12px; }
  .feature-image { width: 43%; opacity: .55; }
  .feature-spark { top: 24px; right: 10%; font-size: 21px; }
  .feature-play { font-size: 12px; }
  .bottom-banner { gap: 10px; padding-block: 16px; margin-top: 16px; }
  .banner-symbol { display: none; }
  .bottom-banner strong { font-size: 13px; }
  .bottom-banner p { max-width: 150px; font-size: 12px; }
  .bottom-banner button { gap: 8px; padding-inline: 10px; font-size: 12px; }
  footer { flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; min-height: 90px; padding: 18px 0; font-size: 9px; }
  .footer-brand { font-size: 19px; }
  footer > span:nth-child(2) { display: none; }
  footer > span:last-child { margin-left: 0; }
  .player-identity h2 { font-size: 13px; }
  .player-identity p { font-size: 9px; }
  .player-actions { gap: 3px; }
  .player-toolbar { padding-inline: 9px; }
}

@media (max-width: 360px) {
  .brand-caption { font-size: 9px; }
  .nav-item { gap: 5px; padding-inline: 5px; }
  .section-heading h2 { font-size: 19px; }
  .sort-control select { width: 117px; max-width: 117px; }
  .card-cover { width: 80px; }
  .card-title { font-size: 15px; }
  .card-title-row { padding-right: 32px; }
  .card-controls { letter-spacing: -.2px; }
}

@media (max-height: 460px) {
  .player-toolbar { padding-block: 6px; }
  .player-identity p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
