/* 인조이스 게임즈(/games, 2026-11-28) - 스튜디오 소개 지면 전용 스타일. 토큰은 html.gm 아래에만 둔다(다른 화면에 새지 않게 - games design boundary 시험).
   방향: 에디토리얼 구성(번호 붙은 섹션 라벨·큰 화면 틀)에 /admin/office 사무실 디오라마의 따뜻한 파스텔(나무 #d9b98f, 벽 #f1ece4, 코랄 #b74e3c)과
   밤 사무실(짙은 자두색 #221E29)을 섞는다. 글꼴은 Pretendard Variable(moameet_fonts - 화면 글자 조각만 받는다).
   대비: 본문 먹색 #2A2433 은 크림 #F4EDE2 위 13:1, 흐린 글자 #5E5566 은 6.1:1, 코랄 단추 #B74E3C 위 흰 글자 5.0:1, 밤 바탕 #221E29 위 크림 글자 14:1. */
html.gm {
  --gm-cream: #F4EDE2;
  --gm-paper: #FBF6EE;
  --gm-card: #FFFDF8;
  --gm-ink: #2A2433;
  --gm-dim: #5E5566;
  --gm-line: #E3D7C6;
  --gm-wood: #D9B98F;
  --gm-coral: #B74E3C;
  --gm-coral-deep: #9C3F2F;
  --gm-gold: #E8B04B;
  --gm-night: #221E29;
  --gm-night-2: #2F2A36;
  --gm-night-text: #F4EDE2;
  --gm-night-dim: #C9BFCE;
  --gm-field: #4F7CAC;
  --gm-remote: #4E9A5B;
  --gm-it: #8A5CC2;
  --gm-admin: #D9734E;
  --gm-shell: min(100% - 2.5rem, 1180px);
  --gm-radius: 22px;
  --gm-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  scroll-behavior: smooth;
  background: var(--gm-cream);
  color: var(--gm-ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (prefers-reduced-motion: reduce) { html.gm { scroll-behavior: auto; } }

html.gm *, html.gm *::before, html.gm *::after { box-sizing: border-box; }
/* 한국어는 낱말 중간에서 줄을 바꾸지 않는다(제목이 "정한 / 다" 로 끊겼다 - 2026-11-28 화면 확인). 긴 낱말은 넘치기 전에만 끊는다. */
html.gm body { word-break: keep-all; overflow-wrap: anywhere; }
html.gm body { margin: 0; }
html.gm img, html.gm video { max-width: 100%; display: block; }
html.gm a { color: inherit; }
html.gm .gm-shell { width: var(--gm-shell); margin-inline: auto; }
html.gm .gm-skip { position: absolute; left: -9999px; top: 8px; background: var(--gm-ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 60; }
html.gm .gm-skip:focus { left: 8px; }
html.gm :focus-visible { outline: 3px solid var(--gm-gold); outline-offset: 3px; border-radius: 6px; }

/* ── 머리 ── */
html.gm .gm-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 237, 226, 0.88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--gm-line); }
html.gm .gm-header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
html.gm .gm-wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
html.gm .gm-wordmark__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--gm-coral); box-shadow: inset 0 -4px 0 rgba(0,0,0,0.18), 0 2px 0 var(--gm-coral-deep); position: relative; }
html.gm .gm-wordmark__mark::after { content: ""; position: absolute; inset: 8px 9px 11px; border-radius: 4px; background: var(--gm-paper); box-shadow: 0 7px 0 -3px var(--gm-gold); }
html.gm .gm-wordmark__text { font-weight: 600; letter-spacing: 0.04em; font-size: 15px; }
html.gm .gm-wordmark__text b { font-weight: 850; color: var(--gm-coral); }
html.gm .gm-wordmark--light .gm-wordmark__text { color: var(--gm-night-text); }
html.gm .gm-wordmark--light .gm-wordmark__text b { color: var(--gm-gold); }
html.gm .gm-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
html.gm .gm-nav::-webkit-scrollbar { display: none; }
html.gm .gm-nav__link { text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; padding: 8px 12px; border-radius: 999px; white-space: nowrap; color: var(--gm-dim); }
html.gm .gm-nav__link:hover { background: var(--gm-paper); color: var(--gm-ink); }

/* ── 공통 글·라벨·단추 ── */
html.gm .gm-label { display: inline-block; font-family: var(--gm-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--gm-coral); font-weight: 700; }
html.gm .gm-label--dim { color: var(--gm-dim); }
html.gm .gm-label--light { color: var(--gm-gold); }
html.gm .gm-label-row { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--gm-line); padding-bottom: 12px; margin-bottom: 18px; }
html.gm .gm-h2 { font-size: clamp(28px, 4.2vw, 48px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 850; margin: 10px 0 18px; }
html.gm .gm-h2--light { color: var(--gm-night-text); }
html.gm .gm-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--gm-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--gm-dim); margin: 0 0 12px; text-transform: uppercase; }
html.gm .gm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gm-gold); box-shadow: 0 0 0 4px rgba(232, 176, 75, 0.22); display: inline-block; }
html.gm .gm-prose { font-size: 17px; line-height: 1.75; color: var(--gm-ink); }
html.gm .gm-prose p { margin: 0 0 1em; }
html.gm .gm-prose__lead { font-size: 21px; line-height: 1.6; font-weight: 650; letter-spacing: -0.01em; }
html.gm .gm-section { padding: clamp(64px, 9vw, 120px) 0; }
html.gm #games { padding-bottom: 0; }
html.gm .gm-section--paper { background: var(--gm-paper); }
html.gm .gm-section__lead { font-size: 17px; color: var(--gm-dim); max-width: 46rem; margin: -6px 0 28px; line-height: 1.7; }
html.gm .gm-split { display: grid; gap: clamp(24px, 5vw, 72px); grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); align-items: start; }
html.gm .gm-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 16px; padding: 15px 24px; border-radius: 16px; transition: transform .15s ease, box-shadow .15s ease; }
html.gm .gm-btn--primary { background: var(--gm-coral); color: #fff; box-shadow: 0 4px 0 var(--gm-coral-deep), 0 14px 30px -12px rgba(183, 78, 60, 0.6); }
html.gm .gm-btn--primary:hover { transform: translateY(-2px); }
html.gm .gm-btn--primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--gm-coral-deep); }
html.gm .gm-btn--light { background: var(--gm-gold); color: var(--gm-ink); box-shadow: 0 4px 0 #B9842A; }
html.gm .gm-link { display: inline-flex; gap: 6px; font-weight: 800; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
html.gm .gm-link--light { color: var(--gm-night-text); }

/* ── 히어로(스튜디오) ── */
html.gm .gm-hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; overflow: hidden; background: var(--gm-night); }
html.gm .gm-hero__media { position: absolute; inset: 0; }
/* 히어로 영상 멈춤 단추(WCAG 2.2.2 - 끝없이 도는 자동 재생) - 오른쪽 아래 작은 원 */
html.gm .gm-video-toggle { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35); background: rgba(20,16,26,0.55); color: #fff; font-size: 13px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
html.gm .gm-video-toggle:focus-visible { outline: 3px solid var(--gm-accent, #E8B04B); outline-offset: 2px; }
html.gm .gm-video-toggle[hidden] { display: none; }
html.gm .gm-hero__video { width: 100%; height: 100%; object-fit: cover; }
html.gm .gm-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,30,41,0) 35%, rgba(34,30,41,0.78) 78%, rgba(34,30,41,0.95)); }
html.gm .gm-hero__copy { position: relative; padding: 0 0 clamp(40px, 7vw, 84px); color: var(--gm-night-text); }
html.gm .gm-hero .gm-kicker { color: var(--gm-gold); }
html.gm .gm-hero__title { font-size: clamp(38px, 6.6vw, 84px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 880; margin: 0 0 18px; text-wrap: balance; }
html.gm .gm-hero__lead { font-size: clamp(16px, 1.8vw, 20px); line-height: 1.65; max-width: 38rem; color: var(--gm-night-dim); margin: 0 0 28px; }

/* ── 게임 블록 ── */
html.gm .gm-game { padding: clamp(36px, 6vw, 72px) 0; }
html.gm .gm-game[data-theme="office"] { background: radial-gradient(120% 90% at 85% 10%, #3A2F3F 0%, var(--gm-night) 60%); color: var(--gm-night-text); }
html.gm .gm-game__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
html.gm .gm-game__no { font-family: var(--gm-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--gm-night-dim); margin: 14px 0 6px; text-transform: uppercase; }
html.gm .gm-game__name { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 880; margin: 0 0 12px; color: var(--gm-paper); }
html.gm .gm-game__tagline { font-size: clamp(18px, 2.1vw, 24px); font-weight: 750; color: var(--gm-gold); margin: 0 0 12px; letter-spacing: -0.01em; }
html.gm .gm-game__lead { font-size: 16px; line-height: 1.75; color: var(--gm-night-dim); margin: 0 0 22px; max-width: 32rem; }
html.gm .gm-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; padding: 7px 12px; border-radius: 999px; background: rgba(232,176,75,0.16); color: var(--gm-gold); margin: 0; }
html.gm .gm-status.is-live { background: rgba(126, 224, 138, 0.16); color: #9BE3A6; }
html.gm .gm-status.is-live .gm-dot { background: #7EE08A; box-shadow: 0 0 0 4px rgba(126,224,138,0.2); }
html.gm .gm-stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
html.gm .gm-stores--center { justify-content: center; }
html.gm .gm-store { display: inline-flex; align-items: center; height: 52px; text-decoration: none; }
html.gm .gm-store img { height: 52px; width: auto; }
html.gm .gm-store--soon { gap: 10px; padding: 0 16px; border-radius: 14px; border: 1.5px dashed rgba(244,237,226,0.45); color: var(--gm-night-text); }
html.gm .gm-store__name { font-weight: 800; font-size: 15px; }
html.gm .gm-store__soon { font-size: 12px; font-weight: 700; color: var(--gm-gold); }

/* 화면 틀(창 머리·탭) */
html.gm .gm-frame { margin: 0; border-radius: var(--gm-radius); overflow: hidden; background: #3A3342; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 30px 70px -30px rgba(0,0,0,0.65); }
html.gm .gm-frame__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #2A2531; }
html.gm .gm-frame__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--gm-gold); opacity: 0.85; }
html.gm .gm-frame__bar span:nth-child(2) { background: var(--gm-coral); }
html.gm .gm-frame__bar span:nth-child(3) { background: #7EE08A; }
html.gm .gm-frame__bar b { margin-left: auto; margin-right: auto; font-size: 12px; color: var(--gm-night-dim); font-weight: 700; letter-spacing: 0.04em; }
html.gm .gm-frame__screens { aspect-ratio: 3 / 2; background: #1d1a22; }
html.gm .gm-frame__screen { height: 100%; }
html.gm .gm-frame__img { width: 100%; height: 100%; object-fit: cover; }
html.gm .gm-frame__img.is-shot { object-fit: contain; background: radial-gradient(circle at 50% 40%, #3A3342, #1d1a22); }
html.gm .gm-frame__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; background: #2A2531; }
html.gm .gm-frame__tab { appearance: none; border: 1.5px solid rgba(255,255,255,0.12); background: transparent; color: var(--gm-night-dim); font: inherit; font-size: 13px; font-weight: 800; padding: 10px 6px; border-radius: 12px; cursor: pointer; }
html.gm .gm-frame__tab[aria-selected="true"] { border-color: var(--gm-gold); color: var(--gm-gold); background: rgba(232,176,75,0.08); }
html.gm .gm-frame__cap { font-size: 12px; color: var(--gm-night-dim); padding: 10px 14px 12px; background: #2A2531; border-top: 1px solid rgba(255,255,255,0.06); }

/* ── 스튜디오·소식·지원·연락 ── */
html.gm .gm-values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
html.gm .gm-values li { display: grid; gap: 4px; padding: 16px 18px; background: var(--gm-card); border: 1px solid var(--gm-line); border-radius: 16px; }
html.gm .gm-values b { font-size: 16px; }
html.gm .gm-values span { color: var(--gm-dim); font-size: 15px; line-height: 1.6; }
html.gm .gm-news { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--gm-line); }
html.gm .gm-news__item a { display: grid; grid-template-columns: 10rem 1fr auto; gap: 16px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--gm-line); text-decoration: none; }
html.gm .gm-news__item a:hover .gm-news__title { color: var(--gm-coral); }
html.gm .gm-news__game { font-family: var(--gm-mono); font-size: 12px; color: var(--gm-coral); letter-spacing: 0.08em; }
html.gm .gm-news__title { font-weight: 750; font-size: 17px; }
html.gm .gm-news__date { color: var(--gm-dim); font-size: 13px; white-space: nowrap; }
html.gm .gm-empty { border: 1.5px dashed var(--gm-line); border-radius: var(--gm-radius); padding: 28px; color: var(--gm-dim); background: var(--gm-paper); }
html.gm .gm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
html.gm .gm-card { background: var(--gm-card); border: 1px solid var(--gm-line); border-radius: var(--gm-radius); padding: 22px; }
html.gm .gm-card__title { margin: 0 0 12px; font-size: 19px; letter-spacing: -0.02em; }
html.gm .gm-card__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
html.gm .gm-card__links a { color: var(--gm-dim); text-decoration: none; font-weight: 650; }
html.gm .gm-card__links a:hover { color: var(--gm-coral); }
html.gm .gm-contact { background: var(--gm-night); }
html.gm .gm-contact__inner { text-align: center; max-width: 720px; }
html.gm .gm-contact__lead { color: var(--gm-night-dim); font-size: 18px; margin: -4px 0 28px; }

/* ── 게임 상세 히어로 ── */
html.gm .gm-title-hero { background: radial-gradient(120% 80% at 80% 0%, #3A2F3F, var(--gm-night) 62%); color: var(--gm-night-text); padding: 28px 0 0; overflow: hidden; }
html.gm .gm-crumb { font-size: 13px; color: var(--gm-night-dim); margin-bottom: 26px; }
html.gm .gm-crumb a { text-decoration: none; font-weight: 700; color: var(--gm-night-text); }
html.gm .gm-title-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 64px); align-items: end; }
html.gm .gm-title-hero .gm-kicker { color: var(--gm-gold); margin-top: 18px; }
html.gm .gm-title-hero__name { font-size: clamp(44px, 7.6vw, 96px); line-height: 0.98; letter-spacing: -0.05em; font-weight: 900; margin: 0 0 16px; color: var(--gm-paper); }
html.gm .gm-title-hero__tagline { font-size: clamp(18px, 2.2vw, 26px); font-weight: 750; color: var(--gm-gold); margin: 0 0 26px; }
html.gm .gm-info { margin: 0; border-top: 1px solid rgba(244,237,226,0.16); }
html.gm .gm-info__row { display: grid; grid-template-columns: 7rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(244,237,226,0.16); font-size: 15px; }
html.gm .gm-info dt { color: var(--gm-night-dim); font-weight: 650; }
html.gm .gm-info dd { margin: 0; font-weight: 750; }
html.gm .gm-title-hero__art { position: relative; margin-top: clamp(32px, 6vw, 64px); width: var(--gm-shell); margin-inline: auto; border-radius: var(--gm-radius) var(--gm-radius) 0 0; overflow: hidden; box-shadow: 0 -20px 60px -30px rgba(0,0,0,0.6); }
html.gm .gm-title-hero__video { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* 본문 조각 */
html.gm .gm-quote { margin: 18px 0 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.18; letter-spacing: -0.035em; font-weight: 860; color: var(--gm-ink); position: relative; padding-top: 34px; }
html.gm .gm-quote::before { content: "“"; position: absolute; top: -12px; left: -4px; font-size: 80px; line-height: 1; color: var(--gm-coral); font-weight: 900; }
html.gm .gm-story__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
html.gm .gm-story__art img { border-radius: var(--gm-radius); box-shadow: 0 24px 60px -28px rgba(42,36,51,0.45); }
html.gm .gm-howto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
html.gm .gm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
html.gm .gm-step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--gm-card); border: 1px solid var(--gm-line); border-radius: 18px; padding: 16px 18px; }
html.gm .gm-step__no { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--gm-coral); color: #fff; font-weight: 900; font-size: 18px; box-shadow: inset 0 -3px 0 rgba(0,0,0,0.18); }
html.gm .gm-step b { font-size: 17px; }
html.gm .gm-step p { margin: 4px 0 0; color: var(--gm-dim); line-height: 1.6; font-size: 15px; }

/* 결재 도장 시연(2026-11-28 - 레버·릴 대신) - 결재 데스크(나무 책상) 위에 결재판(크림색 종이 + 위쪽 금빛 집게, 사원증 카드 3x3)과 큰 나무 손잡이
   도장. 도장을 누르면 꾹 눌렸다 올라오고(is-pressed), 카드가 칸 순서대로 가로로 접혔다 펴지며 바뀐 뒤(reel_controller - Web Animations), 맞은 줄이
   금빛(is-lit)·전원 출동이면 무지갯빛(is-all)으로 밝고 붉은 "결재" 자국(is-on)이 비스듬히 찍힌다. 도장 인주색은 이 시연 안에서만 쓴다(--gm-seal). */
html.gm .gm-reel { --gm-seal: #C2412F; --gm-seal-deep: #9E2F20; --gm-grain: #B98A57; --gm-grain-deep: #8E5F33; text-align: center; }
html.gm .gm-reel__desk { display: inline-flex; align-items: center; gap: 18px; max-width: 100%; padding: 34px 20px 22px; border-radius: 28px; background: linear-gradient(180deg, #E4C9A2, var(--gm-wood) 38%, #CFAA7C); border: 1px solid #C9A374; box-shadow: inset 0 2px 0 rgba(255,255,255,0.38), inset 0 -8px 0 rgba(120,80,40,0.16), 0 26px 50px -26px rgba(120,80,40,0.7); }
html.gm .gm-reel__board { position: relative; padding: 24px 12px 12px; border-radius: 14px; background: linear-gradient(180deg, var(--gm-card), #F5EBDA); border: 1px solid var(--gm-line); box-shadow: 0 2px 0 #CDB894, 0 16px 26px -16px rgba(42,36,51,0.5); }
html.gm .gm-reel__clip { position: absolute; top: -14px; left: 50%; width: 92px; height: 30px; margin-left: -46px; border-radius: 10px 10px 8px 8px; background: linear-gradient(180deg, #F6D58C, var(--gm-gold) 55%, #B9842A); box-shadow: inset 0 -3px 0 rgba(0,0,0,0.14), 0 3px 6px rgba(42,36,51,0.28); }
html.gm .gm-reel__clip::before { content: ""; position: absolute; left: 50%; top: 7px; width: 30px; height: 8px; margin-left: -15px; border-radius: 4px; background: rgba(42,36,51,0.32); box-shadow: inset 0 1px 0 rgba(0,0,0,0.25); }
html.gm .gm-reel__grid { display: grid; grid-template-columns: repeat(3, clamp(60px, 9vw, 90px)); gap: 8px; }
html.gm .gm-reel__cell { aspect-ratio: 1; border-radius: 12px; background: var(--gm-card); overflow: hidden; border: 2px solid var(--gm-line); box-shadow: 0 2px 0 rgba(42,36,51,0.08); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
html.gm .gm-reel__cell img { width: 100%; height: 100%; object-fit: cover; }
html.gm .gm-reel__cell.is-lit { border-color: var(--gm-gold); box-shadow: 0 0 0 3px rgba(232,176,75,0.4), 0 6px 14px -6px rgba(185,132,42,0.7); transform: scale(1.04); }
html.gm .gm-reel__grid.is-all .gm-reel__cell { border-color: transparent; background: linear-gradient(var(--gm-card), var(--gm-card)) padding-box, conic-gradient(from 30deg, #F08A7A, var(--gm-gold), #8FD69A, #7FA6D6, #B08ADB, #F08A7A) border-box; transform: scale(1.04); }
/* 결재 자국 - 이중 테두리 사각 도장. 카드 사진 위에서도 읽히게 종이색 바탕을 깐다(multiply 는 사진에 묻혀 흐렸다 - 2026-11-28 화면 확인).
   찍히는 순간 크게 왔다가 살짝 눌려 자리 잡는다. */
html.gm .gm-reel__seal { position: absolute; right: 4%; bottom: 5%; padding: 6px 14px 7px; border: 3.5px solid var(--gm-seal); border-radius: 10px; color: var(--gm-seal); background: rgba(255,253,248,0.82); box-shadow: 0 2px 6px rgba(156,47,32,0.18); font-weight: 900; font-size: clamp(20px, 2.8vw, 30px); letter-spacing: 0.14em; line-height: 1.1; white-space: nowrap; pointer-events: none; opacity: 0; transform: rotate(-13deg) scale(1.6); }
html.gm .gm-reel__seal::before { content: ""; position: absolute; inset: 3px; border: 1.5px solid currentColor; border-radius: 6px; opacity: 0.8; }
html.gm .gm-reel__seal.is-on { animation: gm-seal .28s cubic-bezier(.2,1.3,.4,1) forwards; }
@keyframes gm-seal { 0% { opacity: 0; transform: rotate(-13deg) scale(1.6); } 55% { opacity: 0.95; transform: rotate(-13deg) scale(0.94); } 100% { opacity: 0.94; transform: rotate(-13deg) scale(1); } }
/* 결재 도장 단추 - 옆에서 본 도장: 둥근 손잡이 → 목 → 받침 → 붉은 도장면. 몸통(stamp-body)만 내려가고 그림자는 바닥에 남아 줄어든다. */
html.gm .gm-reel__stamp { appearance: none; border: 0; background: transparent; padding: 0; flex: none; width: 76px; height: 132px; position: relative; cursor: pointer; border-radius: 18px; -webkit-tap-highlight-color: transparent; }
html.gm .gm-reel__stamp::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 72px; height: 12px; margin-left: -36px; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,36,51,0.34), rgba(42,36,51,0)); transition: transform .2s ease; }
html.gm .gm-reel__stamp-body { position: absolute; inset: 0 0 6px; display: block; transform-origin: 50% 100%; transition: transform .18s ease; }
html.gm .gm-reel__stamp-knob { position: absolute; left: 50%; top: 0; width: 50px; height: 50px; margin-left: -25px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #EBC896, var(--gm-grain) 58%, var(--gm-grain-deep)); box-shadow: inset 0 -5px 0 rgba(0,0,0,0.16), 0 2px 3px rgba(42,36,51,0.2); }
html.gm .gm-reel__stamp-neck { position: absolute; left: 50%; top: 42px; width: 28px; height: 42px; margin-left: -14px; border-radius: 10px 10px 6px 6px; background: linear-gradient(90deg, var(--gm-grain-deep), #CFA06A 45%, var(--gm-grain-deep)); }
html.gm .gm-reel__stamp-collar { position: absolute; left: 50%; top: 80px; width: 68px; height: 22px; margin-left: -34px; border-radius: 9px; background: linear-gradient(180deg, #D3A773, var(--gm-grain-deep)); box-shadow: inset 0 2px 0 rgba(255,255,255,0.3), inset 0 -3px 0 rgba(0,0,0,0.18); }
html.gm .gm-reel__stamp-face { position: absolute; left: 50%; top: 100px; width: 62px; height: 18px; margin-left: -31px; border-radius: 3px 3px 8px 8px; background: linear-gradient(180deg, #DA5641, var(--gm-seal) 55%, var(--gm-seal-deep)); box-shadow: inset 0 -3px 0 rgba(0,0,0,0.18); }
html.gm .gm-reel__stamp:hover .gm-reel__stamp-body { transform: translateY(-3px); }
html.gm .gm-reel__stamp:active .gm-reel__stamp-body { transform: translateY(8px) scaleY(0.96); }
html.gm .gm-reel__stamp.is-pressed .gm-reel__stamp-body { animation: gm-press .46s cubic-bezier(.3,.7,.3,1); }
html.gm .gm-reel__stamp.is-pressed::after { animation: gm-press-shadow .46s cubic-bezier(.3,.7,.3,1); }
@keyframes gm-press { 0% { transform: translateY(0); } 30% { transform: translateY(12px) scaleY(0.93); } 55% { transform: translateY(12px) scaleY(0.95); } 100% { transform: translateY(0); } }
@keyframes gm-press-shadow { 0%, 100% { transform: scale(1); } 30%, 55% { transform: scale(0.78); } }
html.gm .gm-reel__result { font-weight: 850; font-size: 20px; margin: 22px 0 6px; min-height: 1.5em; }
html.gm .gm-reel__note { color: var(--gm-dim); font-size: 13px; max-width: 26rem; margin: 0 auto; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
  html.gm .gm-reel__stamp-body, html.gm .gm-reel__stamp::after, html.gm .gm-reel__cell { transition: none; }
  html.gm .gm-reel__stamp.is-pressed .gm-reel__stamp-body, html.gm .gm-reel__stamp.is-pressed::after { animation: none; }
  html.gm .gm-reel__stamp.is-pressed .gm-reel__stamp-body { transform: translateY(6px); }
  html.gm .gm-reel__seal.is-on { animation: none; opacity: 0.94; transform: rotate(-13deg) scale(1); }
}

/* 용병 카드·3D 보기 */
html.gm .gm-mercs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 46%), 1fr)); gap: 16px; }
html.gm .gm-merc { --team: var(--gm-field); background: var(--gm-card); border: 1px solid var(--gm-line); border-radius: var(--gm-radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .2s ease, box-shadow .2s ease; }
html.gm .gm-merc:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(42,36,51,0.5); }
html.gm .gm-merc[data-team="remote"] { --team: var(--gm-remote); }
html.gm .gm-merc[data-team="it"] { --team: var(--gm-it); }
html.gm .gm-merc[data-team="admin"] { --team: var(--gm-admin); }
html.gm .gm-merc__art { aspect-ratio: 1 / 1; overflow: hidden; border-bottom: 4px solid var(--team); background: var(--gm-paper); }
html.gm .gm-merc__art img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
html.gm .gm-merc__body { padding: 16px 18px 18px; }
html.gm .gm-merc__team { margin: 0 0 4px; font-family: var(--gm-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--team); font-weight: 800; text-transform: uppercase; }
html.gm .gm-merc__name { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.02em; }
html.gm .gm-merc__desc { margin: 0; color: var(--gm-dim); font-size: 15px; line-height: 1.6; }
html.gm .gm-merc__3d { margin-top: 12px; appearance: none; border: 1.5px solid var(--team); color: var(--team); background: transparent; font: inherit; font-weight: 800; font-size: 13px; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
html.gm .gm-merc__3d:hover { background: var(--team); color: #fff; }
html.gm .gm-viewer { position: relative; margin: 0 0 24px; border-radius: var(--gm-radius); overflow: hidden; background: radial-gradient(circle at 50% 35%, #FFFDF8, #EFE3D2 70%); border: 1px solid var(--gm-line); }
html.gm .gm-viewer__canvas { width: 100%; height: clamp(300px, 46vw, 460px); display: block; touch-action: none; cursor: grab; }
html.gm .gm-viewer__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gm-ink); color: #fff; font-size: 22px; cursor: pointer; }

/* 특징 */
html.gm .gm-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0; border-top: 1px solid var(--gm-line); border-left: 1px solid var(--gm-line); }
html.gm .gm-feature { padding: 26px 24px; border-right: 1px solid var(--gm-line); border-bottom: 1px solid var(--gm-line); background: var(--gm-card); }
html.gm .gm-feature__no { display: block; font-family: var(--gm-mono); color: var(--gm-coral); font-size: 12px; letter-spacing: 0.14em; margin-bottom: 12px; }
html.gm .gm-feature b { font-size: 19px; letter-spacing: -0.02em; }
html.gm .gm-feature p { margin: 8px 0 0; color: var(--gm-dim); line-height: 1.65; }

/* 화면·설치·FAQ */
html.gm .gm-screens { background: var(--gm-night); }
html.gm .gm-screens__lead { color: var(--gm-night-dim); line-height: 1.7; }
html.gm .gm-install { background: linear-gradient(160deg, #3A2F3F, var(--gm-night)); }
html.gm .gm-install__inner { text-align: center; max-width: 760px; }
html.gm .gm-install__lead { color: var(--gm-night-dim); font-size: 18px; margin: -4px 0 28px; line-height: 1.6; }
html.gm .gm-faq { display: grid; gap: 10px; }
html.gm .gm-faq__item { background: var(--gm-card); border: 1px solid var(--gm-line); border-radius: 16px; padding: 4px 20px; }
html.gm .gm-faq__item summary { cursor: pointer; font-weight: 800; font-size: 17px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
html.gm .gm-faq__item summary::after { content: "+"; color: var(--gm-coral); font-weight: 900; }
html.gm .gm-faq__item[open] summary::after { content: "−"; }
html.gm .gm-faq__item p { margin: 0 0 18px; color: var(--gm-dim); line-height: 1.7; }
html.gm .gm-notfound { min-height: 60vh; }

/* ── 풋터 ── */
html.gm .gm-footer { background: #1A171F; color: var(--gm-night-dim); padding: 56px 0 40px; }
html.gm .gm-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
html.gm .gm-footer__tag { margin: 0; font-size: 14px; }
html.gm .gm-lang { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
html.gm .gm-lang__link { text-decoration: none; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(244,237,226,0.18); color: var(--gm-night-dim); }
html.gm .gm-lang__link.is-current { background: var(--gm-paper); color: var(--gm-ink); border-color: var(--gm-paper); }
html.gm .gm-footer__links { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
html.gm .gm-footer__links a { color: var(--gm-night-text); text-decoration: none; font-size: 14px; font-weight: 650; }
html.gm .gm-footer__legal { font-size: 12px; margin: 0; color: #9C92A2; }

/* ── 좁은 화면 ── */
@media (max-width: 860px) {
  html.gm .gm-split, html.gm .gm-game__grid, html.gm .gm-title-hero__grid, html.gm .gm-story__grid, html.gm .gm-howto { grid-template-columns: 1fr; }
  html.gm .gm-news__item a { grid-template-columns: 1fr; gap: 4px; }
  html.gm .gm-hero { min-height: 78vh; }
  html.gm .gm-title-hero__art { width: 100%; border-radius: 0; }
}
@media (max-width: 520px) {
  html.gm { --gm-shell: min(100% - 2rem, 1180px); }
  html.gm .gm-nav__link { padding: 8px 9px; font-size: 12px; }
  html.gm .gm-wordmark__text { font-size: 13px; }
  html.gm .gm-reel__desk { gap: 10px; padding: 28px 12px 16px; border-radius: 22px; }
  html.gm .gm-reel__board { padding: 20px 9px 9px; }
  html.gm .gm-reel__grid { gap: 6px; }
  html.gm .gm-reel__stamp { width: 60px; height: 110px; }
  html.gm .gm-reel__stamp-knob { width: 40px; height: 40px; margin-left: -20px; }
  html.gm .gm-reel__stamp-neck { top: 34px; width: 22px; height: 36px; margin-left: -11px; }
  html.gm .gm-reel__stamp-collar { top: 66px; width: 54px; height: 19px; margin-left: -27px; }
  html.gm .gm-reel__stamp-face { top: 83px; width: 50px; height: 15px; margin-left: -25px; }
  html.gm .gm-reel__stamp::after { width: 58px; margin-left: -29px; }
  html.gm .gm-reel__seal { font-size: 17px; letter-spacing: 0.08em; padding: 4px 9px 5px; border-width: 3px; }
}
