@font-face {
  font-family: "SUIT";
  src: url("/fonts/SUIT-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #101411;
  --surface: #1a201b;
  --screen: #0b100d;
  --paper: #f3f1e6;
  --muted: #adb4a8;
  --line: #343c33;
  --lime: #d8f36b;
  --coral: #f3a08c;
  --page-pad: clamp(1rem, 4vw, 2.5rem);
  --content-width: 77rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: "SUIT", "Malgun Gothic", sans-serif; font-size: 1rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
::selection { background: var(--lime); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { word-break: keep-all; text-wrap: balance; }
img, svg { display: block; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 20; display: flex; min-height: 2.75rem; align-items: center; padding: .65rem 1rem; border-radius: .5rem; background: var(--lime); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.header-inner, .hero, .games-section, .apps-section, .studio-section, .site-footer, .detail-page { width: min(100%, var(--content-width)); margin-inline: auto; padding-inline: var(--page-pad); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.25rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem clamp(.75rem, 2.5vw, 2rem); padding-block: .55rem; }
.wordmark, .footer-mark { display: inline-flex; min-width: 0; min-height: 2.75rem; align-items: center; flex-wrap: wrap; gap: .35rem .7rem; max-width: 100%; }
.wordmark { justify-self: start; }
.brand-mark { width: 2.75rem; height: 2.75rem; object-fit: contain; flex: 0 0 auto; }
.brand-type { line-height: 1.25; white-space: nowrap; }
.brand-name { font-size: 1.0625rem; font-weight: 790; letter-spacing: -.025em; }
.brand-kind { display: block; margin-top: .2rem; color: var(--lime); font-size: .875rem; font-weight: 800; letter-spacing: .12em; }
.site-header nav { display: flex; min-width: 0; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .25rem clamp(.5rem, 2vw, 1.75rem); }
.site-header nav a, .language { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; justify-content: center; font-size: .875rem; font-weight: 600; }
.site-header nav a { flex: 0 0 auto; padding-inline: .25rem; color: #c6cbc0; white-space: nowrap; }
.site-header nav a:hover, .footer-links a:hover { color: var(--lime); }
.language { justify-self: end; border: 1px solid var(--line); border-radius: .65rem; color: var(--paper); white-space: nowrap; }
.language:hover { background: var(--surface); border-color: #626e5d; }
.hero { padding-top: 1.85rem; padding-bottom: .95rem; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.875rem); line-height: 1.16; letter-spacing: -.045em; font-weight: 780; text-align: left; text-wrap: pretty; }
.hero-intro { margin-top: .75rem; color: var(--muted); font-size: 1rem; line-height: 1.5; word-break: keep-all; }
.games-section { padding-bottom: 4rem; }
.catalog-toolbar { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding-bottom: 1rem; }
.catalog-heading { display: flex; min-width: 0; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; }
.catalog-heading h2 { font-size: 1.125rem; font-weight: 740; letter-spacing: -.02em; }
.catalog-heading p { color: var(--muted); font-size: .875rem; }
.random-play { display: inline-flex; min-height: 2.75rem; max-width: 100%; flex: 0 0 auto; align-items: center; justify-content: center; gap: .5rem; padding: .6rem .9rem; border: 1px solid #535f42; border-radius: .7rem; color: var(--lime); font-size: .875rem; font-weight: 700; white-space: nowrap; transition: background-color .16s ease, border-color .16s ease; }
.random-icon { width: 1.25rem; height: 1.25rem; }
.random-play:hover { border-color: var(--lime); background: #242c1a; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.5rem; align-items: stretch; }
.game-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--surface); transition: border-color .18s ease, transform .18s ease; }
.game-card:focus-within { border-color: #737f68; }
.game-image { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); border-radius: 1.2rem 1.2rem 0 0; background: var(--screen); }
.game-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.game-image:focus-visible { outline-offset: -5px; }
.card-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 1.25rem 1.4rem 1.3rem; }
.card-heading { min-height: 6rem; }
.game-category { color: var(--muted); font-size: .875rem; font-weight: 550; line-height: 1.4; }
.card-heading h3 { margin-top: .2rem; font-size: 1.625rem; line-height: 1.2; font-weight: 780; letter-spacing: -.035em; }
.card-heading h3 a { display: block; min-height: 2.75rem; max-width: 100%; overflow-wrap: break-word; }
.card-heading h3 a:hover { color: var(--lime); }
.game-tagline { color: var(--coral); font-size: .875rem; line-height: 1.5; word-break: keep-all; text-wrap: pretty; }
.card-description { max-width: 35rem; margin-top: .6rem; color: #d1d6cb; font-size: 1rem; line-height: 1.6; word-break: keep-all; }
.card-bottom { margin-top: auto; padding-top: 1.1rem; }
.game-controls { color: var(--muted); font-size: .875rem; line-height: 1.5; word-break: keep-all; }
.game-links { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .8rem; }
.card-play, .button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1rem; border: 1px solid transparent; border-radius: .65rem; font-size: .9375rem; line-height: 1.4; font-weight: 780; transition: background-color .16s ease, box-shadow .16s ease; }
.card-play, .button-lime { background: var(--lime); color: var(--ink); }
.card-play { flex: 1 0 auto; }
.card-play:hover, .button-lime:hover { background: #e3ff89; box-shadow: 0 2px 0 #101411; }
.card-details { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; flex: 0 0 auto; align-items: center; justify-content: center; color: #d2d7cc; font-size: .875rem; font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-color: #74806e; text-underline-offset: .3rem; }
.card-details:hover { color: var(--paper); text-decoration-color: var(--paper); }
.apps-section { padding-top: 2rem; padding-bottom: 2.5rem; border-top: 1px solid var(--line); }
.apps-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; }
.apps-heading h2 { font-size: 1.125rem; font-weight: 740; letter-spacing: -.02em; }
.apps-heading p { color: var(--muted); font-size: .9375rem; word-break: keep-all; }
.apps-empty { color: var(--muted); font-size: .9375rem; word-break: keep-all; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.5rem; margin-top: 1.35rem; }
.app-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); border-radius: 1.25rem; background: var(--surface); }
.app-preview { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; border-bottom: 1px solid var(--line); border-radius: 1.2rem 1.2rem 0 0; background: var(--screen); }
.app-copy { display: flex; min-width: 0; flex: 1; align-items: flex-start; flex-direction: column; padding: clamp(1rem, 3vw, 1.4rem); }
.app-category { color: var(--coral); font-size: .875rem; }
.app-copy h3 { margin-top: .25rem; font-size: 1.5rem; line-height: 1.3; letter-spacing: -.025em; }
.app-description { margin-top: .6rem; margin-bottom: 1rem; color: #d1d6cb; line-height: 1.6; word-break: keep-all; }
.app-open { display: inline-flex; min-height: 2.75rem; min-width: 2.75rem; align-items: center; justify-content: center; margin-top: auto; padding: .65rem 1rem; border: 1px solid #a16e60; border-radius: .65rem; color: var(--coral); font-weight: 700; font-size: .9375rem; }
.app-open:hover { color: var(--ink); background: var(--coral); }
.studio-section { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; padding-top: 2rem; padding-bottom: 2.5rem; border-top: 1px solid var(--line); }
.about-section { display: flex; align-items: flex-start; gap: 1.25rem; min-width: 0; }
.studio-mark { width: 4.5rem; height: 4.5rem; flex: 0 0 auto; object-fit: contain; }
.about-content, .support-section { min-width: 0; }
.about-content h2, .support-section h2 { margin: .15rem 0 .7rem; font-size: 1.25rem; line-height: 1.4; letter-spacing: -.025em; font-weight: 720; text-wrap: pretty; }
.about-content > p, .support-section > p { color: var(--muted); font-size: 1rem; line-height: 1.7; word-break: keep-all; }
.support-section { padding-left: 2rem; border-left: 1px solid var(--line); }
.support-link { display: inline-flex; min-height: 2.75rem; align-items: center; margin-top: .4rem; color: var(--coral); font-size: .875rem; font-weight: 700; text-decoration: underline; text-decoration-color: #92624f; text-underline-offset: .3rem; }
.support-link:hover { color: #ffc2ae; }
.site-footer { border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 2rem; padding-top: 1.75rem; padding-bottom: 1.5rem; }
.footer-brand { min-width: 0; }
.footer-brand > p { margin-top: .6rem; color: var(--muted); font-size: .9375rem; word-break: keep-all; }
.visit-counts { margin-top: .75rem; min-height: 44px; color: var(--muted); font-size: .875rem; line-height: 22px; }
.visit-row { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.visit-group { display: inline-flex; max-width: 100%; flex-wrap: wrap; gap: 0 .375rem; }
.visit-group > span { white-space: nowrap; }
.visit-group strong { max-width: 100%; color: var(--paper); font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.visit-note { margin-top: .25rem; font-size: .75rem; line-height: 18px; }
.footer-business { max-width: 26rem; min-width: 0; }
.footer-business > p { color: var(--muted); font-size: .875rem; line-height: 1.6; word-break: keep-all; }
.footer-business .footer-business-title { margin-bottom: .35rem; color: var(--paper); font-size: .9375rem; font-weight: 650; }
.footer-email { display: block; width: fit-content; min-height: 2.75rem; max-width: 100%; padding-block: .5rem; color: var(--paper); font-size: .9375rem; white-space: normal; word-break: normal; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: #626d5d; text-underline-offset: .25rem; }
.footer-email:hover { color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.25rem; padding-block: .7rem; border-top: 1px solid var(--line); color: #929e8d; font-size: .875rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.footer-links a { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; color: var(--muted); white-space: nowrap; }
.detail-page { padding-top: 1.1rem; padding-bottom: 3rem; }
.back-link, .detail-back-bottom { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--muted); font-size: .875rem; font-weight: 600; text-decoration: underline; text-decoration-color: #626d5d; text-underline-offset: .3rem; }
.back-link:hover, .detail-back-bottom:hover { color: var(--lime); }
.detail-hero { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1.75rem; }
.detail-heading { min-width: 0; }
.detail-heading h1 { margin-top: .5rem; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 780; overflow-wrap: break-word; }
.detail-tagline { margin-top: .7rem; color: var(--coral); font-size: 1rem; word-break: keep-all; text-wrap: pretty; }
.detail-launch { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; gap: .55rem; }
.detail-cta { min-width: 12rem; }
.detail-launch p { color: var(--muted); font-size: .875rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(16rem, 1fr); align-items: start; gap: 1.5rem; }
.detail-image { display: block; min-width: 0; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--screen); }
.detail-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.detail-panel { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--surface); }
.detail-description { color: var(--paper); font-size: 1.0625rem; line-height: 1.7; word-break: keep-all; }
.detail-panel dl { margin: 1.3rem 0 0; }
.detail-panel dl > div { padding-top: 1rem; border-top: 1px solid var(--line); }
.detail-panel dl > div + div { margin-top: 1rem; }
.detail-panel dt { margin-bottom: .4rem; color: var(--muted); font-size: .875rem; font-weight: 550; }
.detail-panel dd { margin: 0; color: var(--paper); font-size: 1rem; line-height: 1.6; word-break: keep-all; }
.more-games { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.more-games-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; margin-bottom: 1rem; }
.more-games h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.related-game { display: flex; align-items: center; gap: 1rem; padding: .75rem; max-width: 27rem; border: 1px solid var(--line); border-radius: .85rem; background: var(--surface); }
.related-game:hover { border-color: #737f68; }
.related-image { position: relative; width: 6rem; height: 3.75rem; flex: 0 0 auto; overflow: hidden; border-radius: .4rem; background: var(--screen); }
.related-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.related-game > span:last-child { min-width: 0; }
.related-game strong { display: block; font-size: 1rem; line-height: 1.4; font-weight: 650; word-break: keep-all; overflow-wrap: break-word; }
.related-game strong + span { display: block; margin-top: .3rem; color: var(--muted); font-size: .875rem; }
.detail-back-bottom { margin-top: 2rem; }
:lang(en) h1, :lang(en) h2, :lang(en) h3, :lang(en) .related-game strong { word-break: normal; hyphens: none; }
@media (min-width: 761px) {
  .app-card:only-child { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
  .app-card:only-child .app-preview { border-bottom: 0; border-right: 1px solid var(--line); border-radius: 1.2rem 0 0 1.2rem; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .game-card:hover { border-color: #66725d; transform: translateY(-3px); }
}
@media (max-width: 1000px) {
  .catalog-heading { display: block; }
  .catalog-heading p { margin-top: .2rem; }
  .studio-section { gap: 2rem; }
  .about-section { gap: .8rem; }
  .studio-mark { width: 3.25rem; height: 3.25rem; }
  .support-section { padding-left: 1.5rem; }
  .detail-layout { grid-template-columns: minmax(0, 1.55fr) minmax(15rem, 1fr); gap: 1rem; }
  .detail-panel { padding: 1.15rem; }
}
@media (max-width: 800px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; row-gap: .25rem; }
  .wordmark { grid-column: 1; grid-row: 1; }
  .language { grid-column: 2; grid-row: 1; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; gap: .25rem; }
  .site-header nav a { flex: 1 0 auto; padding-inline: .25rem; }
}
@media (max-width: 760px) {
  :root { --page-pad: 1.25rem; }
  .header-inner { min-height: 4.5rem; }
  .hero { padding-top: 1.75rem; padding-bottom: 1.25rem; }
  .hero h1 { font-size: 2rem; }
  .hero-intro { margin-top: .65rem; }
  .game-grid { gap: 1.25rem; }
  .card-copy { padding: 1.1rem 1.15rem 1.2rem; }
  .card-heading h3 { font-size: 1.5rem; }
  .studio-section { grid-template-columns: 1fr; gap: 1.65rem; padding-top: 1.65rem; padding-bottom: 1.75rem; }
  .about-section { gap: 1rem; }
  .studio-mark { width: 3.5rem; height: 3.5rem; }
  .support-section { padding: 1.5rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .footer-main { gap: 1.5rem; }
  .detail-hero { gap: 1rem; }
  .detail-cta { min-width: 10rem; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-panel { padding: 1.4rem; }
  .detail-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
  .detail-panel dl > div + div { margin-top: 0; }
  .detail-panel .controls { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(1.65rem, 7.8vw, 2rem); }
  .hero-intro { max-width: 23rem; }
  .games-section { padding-bottom: 2.5rem; }
  .apps-section { padding-top: 1.5rem; padding-bottom: 1.75rem; }
  .apps-heading { display: block; }
  .apps-heading h2 { font-size: 1.125rem; }
  .apps-heading p { margin-top: .4rem; }
  .apps-empty { margin-top: 1rem; }
  .catalog-toolbar { gap: .5rem; min-height: 4.5rem; padding-bottom: .9rem; }
  .catalog-heading h2 { font-size: 1.0625rem; }
  .random-play { padding-inline: .7rem; gap: .35rem; }
  .game-grid { grid-template-columns: 1fr; }
  .card-heading { min-height: 0; }
  .card-heading h3 { margin-top: .1rem; }
  .card-description { margin-top: .65rem; line-height: 1.55; }
  .card-bottom { padding-top: .85rem; }
  .game-links { margin-top: .7rem; }
  .footer-main { padding-top: 1.5rem; }
  .footer-brand > p { margin-top: .45rem; }
  .footer-bottom { gap: .25rem .85rem; }
  .footer-links { gap: .85rem; }
  .detail-page { padding-top: .7rem; padding-bottom: 2rem; }
  .detail-hero { align-items: stretch; flex-direction: column; padding-top: .7rem; padding-bottom: 1.3rem; gap: 1.25rem; }
  .detail-heading h1 { font-size: 2.25rem; }
  .detail-tagline { margin-top: .55rem; }
  .detail-launch { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: .5rem 1rem; }
  .detail-cta { min-width: 9rem; }
  .detail-image { border-radius: 1rem; }
  .detail-panel { padding: 1.1rem; border-radius: 1rem; }
  .detail-description { font-size: 1rem; }
  .more-games { margin-top: 2rem; }
  .more-games-heading { align-items: flex-start; flex-direction: column; gap: 0; margin-bottom: .6rem; }
}
@media (max-width: 380px) {
  :root { --page-pad: 1rem; }
  .hero { padding-top: 1.4rem; padding-bottom: 1rem; }
  .wordmark, .footer-mark { gap: .5rem; }
  .brand-mark { width: 2.5rem; height: 2.5rem; }
  .brand-name { font-size: 1rem; }
  .catalog-heading p { max-width: 9rem; }
  .random-play { max-width: 10rem; padding-inline: .55rem; }
  .card-copy { padding: .95rem clamp(12px, 4vw, 14px) 1.1rem; }
  .game-links { gap: .85rem; }
  .about-section { display: block; }
  .studio-mark { margin-bottom: .7rem; }
  .support-section { margin-left: 0; }
  .detail-heading h1 { font-size: 2rem; }
  .detail-panel dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

