@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap");

:root {
  --ink: #cdd6f4;
  --muted: #a6adc8;
  --line: rgba(88, 91, 112, 0.85);
  --paper: #11111b;
  --card: rgba(49, 50, 68, 0.62);
  --nav: rgba(24, 24, 37, 0.78);
  --accent: #cba6f7;
  --yellow: #cba6f7;
  --purple: #b4befe;
  --personal: #a6e3a1;
  --pro: #89b4fa;
  --shadow: 0 12px 32px rgba(17, 17, 27, 0.45);
  --radius: 18px;
  --sans: "Fredoka", "Trebuchet MS", sans-serif;
  --display: "Fredoka", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: #11111b;
  background-image:
    radial-gradient(900px 420px at 100% -10%, rgba(203, 166, 247, 0.18), transparent 55%),
    radial-gradient(800px 420px at -10% 10%, rgba(137, 180, 250, 0.14), transparent 50%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 10px 28px;
  background: var(--nav);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  -webkit-text-stroke: 1px #11111b;
  paint-order: stroke fill;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  -webkit-text-stroke: 0;
  text-shadow: none;
  padding: 8px 10px;
  border-radius: 12px;
  line-height: 1;
}
.site-nav a:hover,
.site-nav a.is-current {
  color: #11111b;
  background: #cba6f7;
  box-shadow: none;
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-tools a {
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.nav-tools a:hover { background: rgba(203, 166, 247, 0.28); color: var(--ink); }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff4ea;
  position: relative;
  margin: 0 auto;
}
.nav-toggle span:before,
.nav-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span:before { top: -6px; }
.nav-toggle span:after { top: 6px; }

.page-hero {
  background: rgba(30, 30, 46, 0.55);
  color: var(--ink);
  text-align: center;
  padding: 64px 20px 52px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink);
  -webkit-text-stroke: 2px #11111b;
  paint-order: stroke fill;
  text-shadow:
    2px 2px 0 #11111b,
    -2px 2px 0 #11111b,
    2px -2px 0 #11111b,
    -2px -2px 0 #11111b;
  font-weight: 600;
}
.page-hero p {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.legend li { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.dot.green { background: #3dce7a; }
.dot.blue { background: #8eb6ff; }
.dot.white { background: #fff; }

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.section {
  padding: 54px 0 20px;
}
h1, .section h2, .now h2, .replay h2, .case h2 {
  -webkit-text-stroke: 2px #11111b;
  paint-order: stroke fill;
  font-weight: 600;
  text-shadow:
    2px 2px 0 #11111b,
    -2px 2px 0 #11111b,
    2px -2px 0 #11111b,
    -2px -2px 0 #11111b;
}
h3, .game-body h3, .job h3, .skill h2, .award h2, .concept h3 {
  -webkit-text-stroke: 1px #11111b;
  paint-order: stroke fill;
  font-weight: 600;
}
.kicker, .now-kicker, .role-line, .site-nav a, p, li, .game-meta, .job time, .company, button, .text-btn {
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.section h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--ink);
  -webkit-text-stroke: 2px #11111b;
  paint-order: stroke fill;
  text-shadow:
    2px 2px 0 #11111b,
    -2px 2px 0 #11111b,
    2px -2px 0 #11111b,
    -2px -2px 0 #11111b;
}

.featured-grid,
.game-grid {
  display: grid;
  gap: 16px;
}
.featured-grid { grid-template-columns: 1fr 1fr; }
.featured-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.game-grid { grid-template-columns: repeat(3, 1fr); }

.game-card, .award, .job, .skill, .case, .now, .replay, .art-tile {
  box-shadow: var(--shadow);
  border: 2px solid #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.text-btn, .btn, .filters button, .nav-tools a, .theme-toggle {
  border: 2px solid #ffffff;
}
.story-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 4px 0;
}
.game-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.game-card[hidden] { display: none; }
.game-shot {
  position: relative;
  height: 132px;
  background: #1a1c22;
  overflow: hidden;
}
.game-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.now {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: stretch;
  background: rgba(49, 50, 68, 0.62);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.now-art {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
  object-position: center;
  background: rgba(24, 24, 37, 0.45);
}
.now-copy { padding: 24px 26px; }
.now-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.now h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0;
  color: var(--ink);
}
.now-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
  margin-bottom: 10px;
}
.now p { margin: 10px 0 0; color: var(--ink); }
.now-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.now-points span {
  border: none;
  background: rgba(203, 166, 247, 0.16);
  color: #e6d7ff;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.86rem;
  font-weight: 600;
}
.shot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.shot-row img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}
.now .hero-actions { margin-top: 16px; }
.badge {
  position: absolute;
  top: 12px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-personal { left: 12px; background: var(--personal); color: #11111b; }
.badge-pro { left: 12px; background: var(--pro); color: #11111b; }
.badge-feature { right: 12px; background: #fab387; color: #11111b; }
.game-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.25;
  min-height: 2.5em;
}
.game-meta { margin: 0; color: var(--muted); font-size: 1rem; }
.tags, .game-links, .filters, .tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span, .tag-list button, .filters button, .text-btn {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.92rem;
  font-weight: 700;
}
.tags span {
  background: rgba(203, 166, 247, 0.16);
  color: #e6d7ff;
  border: none;
}
.game-links { margin-top: auto; }
.text-btn, .filters button, .tag-list button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.text-btn:hover, .filters button:hover, .tag-list button:hover { background: rgba(203, 166, 247, 0.22); }
.filters button[aria-pressed="true"],
.tag-list button[aria-pressed="true"] {
  background: #cba6f7;
  color: #11111b;
  border-color: #cba6f7;
  box-shadow: none;
}
.filters { margin-bottom: 18px; }
.count { opacity: 0.65; font-weight: 600; margin-left: 4px; }

.catalog {
  padding-bottom: 40px;
}
.campus-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.campus-row div {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
}
.campus-row strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.campus-row span { color: #a6adc8; font-size: 0.88rem; }
.replay {
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(203, 166, 247, 0.28), transparent 60%),
    #1e1e2e;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
.replay h2 {
  margin: 6px 0 0;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0;
  color: var(--ink);
}
.replay p { max-width: 68ch; color: var(--ink); }
.tag-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  position: sticky;
  top: 90px;
}
.tag-panel h3 {
  margin: 0 0 12px;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.empty-note {
  margin: 8px 0 0;
  color: var(--muted);
}

.home-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: center;
  text-align: left;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}
.portrait {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  justify-self: center;
}
.home-hero > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}
.home-hero h1 {
  text-transform: none;
  text-align: left;
  width: 100%;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0;
  line-height: 1.05;
}
.page-hero .home-hero p,
.page-hero .home-hero .role-line {
  max-width: 62ch;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.role-line {
  margin-top: 0;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.home-hero .hero-actions { justify-content: flex-start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 800;
  border: 2px solid transparent;
  line-height: 1;
}
.text-btn, .filters button, .tag-list button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  box-shadow: none;
}
.btn-light { background: #cba6f7; color: #11111b; border: 1px solid #cba6f7; }
.btn-ghost { background: rgba(205, 214, 244, 0.08); color: var(--ink); border: 1px solid rgba(88, 91, 112, 0.85); }
.btn { box-shadow: 3px 3px 0 #ffffff; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #ffffff; }

.experience { display: grid; gap: 14px; padding-bottom: 30px; }
.job {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.job time { color: var(--muted); font-weight: 800; font-size: 0.9rem; }
.job h3 { margin: 0; font-family: var(--display); letter-spacing: 0; line-height: 1.2; }
.job .company { margin: 2px 0 8px; font-weight: 700; }
.job p, .award p, .concept p, .video-block p, .skill p, .replay p { margin: 0; color: var(--ink); }

.case-list { display: grid; gap: 22px; padding-bottom: 48px; }
.case {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.case:nth-child(even) .case-copy { order: 2; }
.case img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(24, 24, 37, 0.45);
}
.kicker {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.case h2 { margin: 0; font-family: var(--display); letter-spacing: 0; font-size: 1.8rem; line-height: 1.15; }
.case .role { margin: 6px 0 0; font-weight: 800; }
.case .meta { margin: 0; color: var(--muted); }
.case ul { margin: 12px 0 0; padding-left: 18px; }
.case .game-links { margin-top: 16px; }

.award-grid, .concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.award, .concept {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.award h2, .concept h3, .video-block h2 {
  margin: 8px 0;
  font-family: var(--display);
  letter-spacing: 0;
}
.award p, .concept p, .video-block p { margin: 0; color: var(--ink); }
.award .kicker, .concept .kicker { color: var(--accent); }
.video-frame {
  margin-top: 16px;
  background: #1a120c;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.video-frame video { width: 100%; height: auto; display: block; }
.source-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 48px;
}
.skill {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.skill img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 10px; padding: 6px; }
.skill h2 { margin: 12px 0 8px; font-size: 1.25rem; font-family: var(--display); }
.skill p { margin: 0; color: var(--ink); }
.skill .tool { margin-top: 12px; font-weight: 800; }

.site-foot {
  background: rgba(24, 24, 37, 0.78);
  color: var(--ink);
  padding: 28px 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.site-foot strong { color: var(--ink); display: block; }
.site-foot p { margin: 4px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; }
.foot-links a { color: var(--ink); font-weight: 700; }

@media (max-width: 980px) {
  .featured-grid, .featured-grid.cols-3, .game-grid, .skill-grid, .case, .home-hero, .job, .now, .award-grid, .concept-grid { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: 1fr 1fr; }
  .now-art { height: 200px; }
  .now-copy { padding: 18px; }
  .shot-row { grid-template-columns: 1fr 1fr; }
  .game-shot { height: 120px; }
  .catalog { grid-template-columns: 1fr; }
  .tag-panel { position: static; }
  .case:nth-child(even) .case-copy { order: 0; }
  .case img { height: auto; }
  .home-hero { text-align: center; }
  .hero-actions { justify-content: center; }
  .site-foot .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav, .nav-tools { display: none; width: 100%; }
  .topbar.is-open { flex-wrap: wrap; padding-bottom: 16px; }
  .topbar.is-open .site-nav,
  .topbar.is-open .nav-tools {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
  }
}
@media (max-width: 640px) {
  .game-grid, .campus-row { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: 1fr; }
}

.shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.art-tile {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(49, 50, 68, 0.72);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow);
}
.art-tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  background: rgba(24, 24, 37, 0.45);
}
.art-tile span {
  display: block;
  padding: 10px 12px 12px;
  font-weight: 800;
  font-size: 0.92rem;
}
.art-tile[hidden] { display: none; }
.art-tile:hover { border-color: var(--accent); }
#viewer {
  width: min(920px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(49, 50, 68, 0.72);
  color: var(--ink);
}
#viewer::backdrop { background: rgba(17, 17, 27, 0.72); }
#viewer img { width: 100%; height: auto; background: #181825; }
#viewer figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 14px;
  margin: 0;
}
#viewer button {
  border: 0;
  border-radius: 10px;
  background: #cba6f7;
  color: #11111b;
  color: var(--ink);
  font-weight: 800;
  padding: 8px 12px;
  cursor: pointer;
}
@media (max-width: 1100px) {
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@view-transition {
  navigation: auto;
}

.topbar {
  view-transition-name: site-bar;
}

::view-transition-old(root) {
  animation: 180ms ease both vt-out;
}

::view-transition-new(root) {
  animation: 320ms cubic-bezier(0.2, 0.7, 0.2, 1) both vt-in;
}

@keyframes vt-out {
  to { opacity: 0; transform: translateY(-8px); }
}

@keyframes vt-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.page-hero,
.section,
.site-foot {
  animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.section:nth-child(2) { animation-delay: 0.06s; }
.section:nth-child(3) { animation-delay: 0.1s; }

.game-card,
.art-tile,
.award,
.skill,
.job,
.case,
.text-btn,
.btn,
.filters button,
.nav-tools a,
.theme-toggle,
.site-nav a {
  transition: transform 0.2s ease, background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.2s ease;
}

body,
.topbar,
.page-hero,
.now,
.replay,
.site-foot {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.game-card:hover,
.art-tile:hover,
.award:hover,
.skill:hover {
  transform: translateY(-4px);
}

.game-shot img {
  transition: transform 0.45s ease;
}

.game-card:hover .game-shot img {
  transform: scale(1.05);
}

.btn:active,
.text-btn:active,
.theme-toggle:active,
.filters button:active {
  transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.theme-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}
.theme-toggle:hover { background: rgba(203, 166, 247, 0.28); }

html[data-theme="light"] {
  --ink: #4c4f69;
  --muted: #6c6f85;
  --line: rgba(76, 79, 105, 0.18);
  --paper: #ffffff;
  --card: rgba(255, 255, 255, 0.86);
  --nav: rgba(255, 255, 255, 0.9);
  --accent: #8839ef;
  --shadow: 0 10px 28px rgba(76, 79, 105, 0.12);
}
html[data-theme="light"] body {
  background-color: #ffffff;
  background-image:
    radial-gradient(900px 420px at 100% -10%, rgba(136, 57, 239, 0.1), transparent 55%),
    radial-gradient(800px 420px at -10% 10%, rgba(30, 102, 245, 0.08), transparent 50%);
  color: var(--ink);
}
html[data-theme="light"] .topbar,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .site-foot,
html[data-theme="light"] .now,
html[data-theme="light"] .replay,
html[data-theme="light"] #viewer,
html[data-theme="light"] .art-tile {
  background: rgba(255, 255, 255, 0.88);
  color: #4c4f69;
}
html[data-theme="light"] .brand,
html[data-theme="light"] .site-nav a,
html[data-theme="light"] .nav-tools a,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .page-hero,
html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .page-hero p,
html[data-theme="light"] .legend,
html[data-theme="light"] .section h2,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] .now p,
html[data-theme="light"] .replay p,
html[data-theme="light"] .job p,
html[data-theme="light"] .skill p,
html[data-theme="light"] .award p,
html[data-theme="light"] .text-btn,
html[data-theme="light"] .filters button,
html[data-theme="light"] .tags span,
html[data-theme="light"] .site-foot,
html[data-theme="light"] .site-foot strong,
html[data-theme="light"] .foot-links a,
html[data-theme="light"] .btn-ghost {
  color: #4c4f69;
  text-shadow: none;
}
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] .brand,
html[data-theme="light"] .section h2,
html[data-theme="light"] .page-hero h1 {
  -webkit-text-stroke: 1px #ffffff;
}
html[data-theme="light"] .site-nav a.is-current,
html[data-theme="light"] .btn-light,
html[data-theme="light"] .filters button[aria-pressed="true"],
html[data-theme="light"] #viewer button {
  color: #ffffff;
  background: #8839ef;
  border-color: #8839ef;
}
html[data-theme="light"] .nav-tools a,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .text-btn,
html[data-theme="light"] .btn-ghost,
html[data-theme="light"] .filters button {
  background: #ffffff;
  border-color: rgba(76, 79, 105, 0.18);
}
html[data-theme="light"] .tags span,
html[data-theme="light"] .now-points span {
  background: rgba(136, 57, 239, 0.12);
  color: #6d28d9;
  border: none;
}
html[data-theme="light"] .now-art,
html[data-theme="light"] .case img,
html[data-theme="light"] .art-tile img,
html[data-theme="light"] #viewer img {
  background: #e6e9ef;
}
html[data-theme="light"] .game-card,
html[data-theme="light"] .award,
html[data-theme="light"] .job,
html[data-theme="light"] .skill,
html[data-theme="light"] .case,
html[data-theme="light"] .now,
html[data-theme="light"] .replay,
html[data-theme="light"] .art-tile,
html[data-theme="light"] .text-btn,
html[data-theme="light"] .btn,
html[data-theme="light"] .filters button,
html[data-theme="light"] .nav-tools a,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .btn-light,
html[data-theme="light"] .btn-ghost {
  border: 2px solid #1e1e2e;
}
html[data-theme="light"] .now-points span,
html[data-theme="light"] .tags span {
  border: none;
  box-shadow: none;
}
html[data-theme="light"] .btn {
  box-shadow: 3px 3px 0 #1e1e2e;
}
html[data-theme="light"] .btn:hover {
  box-shadow: 4px 4px 0 #1e1e2e;
}
html[data-theme="light"] .nav-toggle span:before,
html[data-theme="light"] .nav-toggle span:after {
  background: #4c4f69;
}
