/* Match the home page's desktop and mobile typography and app identity. */
:root {
  --game-safe-top: env(safe-area-inset-top, 0px);
  --game-safe-bottom: env(safe-area-inset-bottom, 0px);
  --hub-font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  --hub-content-width: 1368px;
  --hub-page-gutter: 24px;
  font-family: var(--hub-font-family);
}
body {
  padding-top: var(--game-safe-top);
  padding-bottom: var(--game-safe-bottom);
  font-family: var(--hub-font-family);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
/* Android edge-to-edge WebViews can report zero CSS insets. Keep native-only
   fallbacks; ordinary browser pages retain their original spacing. */
html[data-game-platform="android"] {
  --game-safe-top: max(env(safe-area-inset-top, 0px), 28px);
  --game-safe-bottom: max(env(safe-area-inset-bottom, 0px), 48px);
}
.hub-game--volleyball .arena.expanded {
  padding-top: var(--game-safe-top);
  padding-bottom: var(--game-safe-bottom);
}
.hub-game--merge.game-focus .arena {
  padding-top: max(12px, var(--game-safe-top));
  padding-bottom: max(12px, var(--game-safe-bottom));
}
button, input, select, textarea, kbd { font-family: inherit; }
.hub-game--merge { --hub-content-width: 1120px; --hub-page-gutter: 22px; }
.hub-game-header {
  height: 76px;
  display: block;
  background: #fff;
  border-bottom: 1px solid #EDECE8;
  color: #0D0D0D;
}
.hub-game-header-inner {
  max-width: var(--hub-content-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 max(var(--hub-page-gutter), env(safe-area-inset-right)) 0 max(var(--hub-page-gutter), env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 20px;
}
.hub-game-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
  color: #0D0D0D;
  text-decoration: none;
}
.hub-game-brand img { display: block; width: 44px; height: 44px; border-radius: 10px; object-fit: contain; flex-shrink: 0; }
.hub-game-brand-copy { display: flex; flex-direction: column; white-space: nowrap; }
.hub-game-brand strong { color: #0D0D0D; font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -.3px; }
.hub-game-brand small { color: #999894; font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0; }
.hub-game-crumb { color: #888780; font-size: 12px; font-weight: 400; white-space: nowrap; }
.hub-game-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-left: auto;
  color: #666560;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.hub-game-brand:hover strong, .hub-game-back:hover { color: #066666; }
.hub-game-header a:focus-visible { outline: 3px solid #19DFDF; outline-offset: 4px; border-radius: 5px; }
.hub-game--merge main { padding-top: 34px; }
.hub-game--merge .heading { margin-top: 0; }
.heading h1 { margin: 0; font-size: 32px; line-height: 1.25; font-weight: 700; letter-spacing: -.04em; color: #0D0D0D; }
.heading .eyebrow { display: block; margin: 0 0 5px; font-size: 10px; line-height: 16px; font-weight: 800; letter-spacing: .12em; color: #066666; }
.heading p:not(.eyebrow), .heading .personal small { font-size: 13px; line-height: 20px; font-weight: 400; color: #666560; letter-spacing: 0; }
@media (max-width: 850px) {
  .hub-game--merge { --hub-content-width: 660px; --hub-page-gutter: 16px; }
}
@media (max-width: 800px) {
  :root { --hub-page-gutter: 14px; }
  .hub-game-header { height: 64px; }
  .hub-game-header-inner { gap: 12px; }
  .hub-game-brand { gap: 8px; }
  .hub-game-brand img { width: 40px; height: 40px; border-radius: 9px; }
  .hub-game-back { font-size: 12px; }
  .hub-game-crumb { display: none; }
  .heading h1 { font-size: 26px; }
  .hub-game--merge main { padding-top: 20px; }
}
@media (max-width: 640px) {
  :root { --hub-font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif; }
}
@media (max-width: 540px) {
  .hub-game--merge { --hub-page-gutter: 10px; }
  .heading h1 { font-size: 24px; }
  .heading .personal small { font-size: 11px; line-height: 16px; }
}
@media (max-width: 365px) {
  .hub-game-header-inner { gap: 8px; }
  .hub-game-brand strong { font-size: 17px; }
  .hub-game-brand small { font-size: 10px; }
  .hub-game-back { font-size: 11px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hub-game--volleyball .hub-game-header { display: none; }
}
