:root {
  --ink: #160b2d;
  --paper: #f6f1ff;
  --white: #fff;
  --lime: #a855f7;
  --mint: #c4b5fd;
  --muted: #71647f;
  --line: rgba(45, 22, 75, .14);
  --max: 1240px;
}
[hidden] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.6;
}
body.cart-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-header {
  position: relative;
  z-index: 20;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; line-height: 1; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  color: var(--ink); background: var(--lime); border-radius: 50%;
  font-weight: 900; font-size: 22px;
}
.brand strong { display: block; font-size: 17px; letter-spacing: .17em; }
.brand small { display: block; margin-top: 6px; font-size: 8px; letter-spacing: .23em; opacity: .62; }
.main-nav { display: flex; align-items: stretch; align-self: stretch; gap: 38px; }
.main-nav a { position: relative; display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--lime); transition: right .2s; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-cta, .cart-button {
  justify-self: end; border: 1px solid rgba(255,255,255,.28); color: var(--white);
  background: transparent; padding: 12px 18px; font-weight: 800; font-size: 12px;
  letter-spacing: .08em; cursor: pointer;
}
.cart-button span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 8px; padding: 0 6px; color: var(--ink); background: var(--lime); border-radius: 20px; }
.menu-button { display: none; }

.hero {
  position: relative; min-height: 680px; overflow: hidden; color: var(--white);
  background: var(--ink); padding: 110px max(28px, calc((100vw - var(--max)) / 2)) 90px;
}
.hero-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, #000, transparent 72%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero-orb-one { width: 440px; height: 440px; right: 5%; top: 70px; background: radial-gradient(circle at 35% 30%, #e9d5ff, #a855f7 38%, #4c1d95 70%, transparent 71%); opacity: .78; }
.hero-orb-two { width: 240px; height: 240px; right: 25%; bottom: -120px; background: var(--mint); opacity: .35; filter: blur(30px); }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--lime); }
.eyebrow.dark { color: var(--muted); }
.eyebrow.dark span { background: var(--ink); }
.hero h1, .shop-hero h1 {
  margin: 0; font-size: clamp(60px, 8.2vw, 116px); line-height: .93;
  letter-spacing: -.07em; font-weight: 900;
}
.hero h1 em, .shop-hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy { max-width: 560px; margin: 34px 0; color: rgba(255,255,255,.66); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 24px; font-size: 13px; font-weight: 900; letter-spacing: .05em; }
.button-primary { color: var(--ink); background: var(--lime); }
.button-primary:hover { background: var(--white); }
.button-ghost { border: 1px solid rgba(255,255,255,.25); }
.button-ghost:hover { border-color: var(--white); }
.hero-stats { display: flex; gap: 52px; margin: 70px 0 0; }
.hero-stats div { padding-left: 14px; border-left: 2px solid var(--lime); }
.hero-stats dt { font-size: 16px; font-weight: 900; letter-spacing: .06em; }
.hero-stats dd { margin: 2px 0 0; color: rgba(255,255,255,.48); font-size: 11px; }
.hero-emblem { position: absolute; z-index: 3; right: max(40px, calc((100vw - var(--max)) / 2)); top: 160px; width: 250px; text-align: center; }
.emblem-ring { width: 220px; height: 220px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; box-shadow: 0 0 0 20px rgba(255,255,255,.05); }
.emblem-ring span { width: 130px; height: 130px; display: grid; place-items: center; color: var(--ink); background: var(--lime); border-radius: 50%; font-size: 78px; font-weight: 900; }
.hero-emblem p { font-size: 10px; letter-spacing: .35em; opacity: .7; }
.section { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; padding: 110px 0 70px; }
.intro h2, .section-heading h2, .community-banner h2 { margin: 0; font-size: clamp(40px, 5vw, 68px); line-height: 1.03; letter-spacing: -.055em; }
.section-lead { max-width: 540px; margin: 0; color: var(--muted); font-size: 16px; }
.game-worlds { padding: 20px 0 110px; }
.game-world-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 20px; }
.game-world { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.world-art {
  position: relative; min-height: 250px; overflow: hidden; padding: 26px;
  color: rgba(255,255,255,.76); background:
    radial-gradient(circle at 72% 38%, rgba(216,180,254,.65), transparent 24%),
    linear-gradient(145deg, #1c0c35, #5b21b6 58%, #8b5cf6);
}
.world-art::before { content: ""; position: absolute; width: 230px; height: 230px; right: -60px; bottom: -90px; border: 38px solid rgba(255,255,255,.12); border-radius: 50%; }
.world-art::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.15); }
.world-art span { position: relative; z-index: 2; font-size: 10px; font-weight: 900; letter-spacing: .25em; }
.world-art strong { position: absolute; z-index: 2; left: 24px; bottom: 12px; font-size: clamp(64px, 8vw, 112px); line-height: 1; letter-spacing: -.08em; }
.world-art-sandbox { background: radial-gradient(circle at 65% 35%, rgba(233,213,255,.6), transparent 25%), linear-gradient(145deg, #2e1065, #7e22ce); }
.world-art-coop { background: radial-gradient(circle at 65% 35%, rgba(196,181,253,.55), transparent 25%), linear-gradient(145deg, #172554, #6d28d9); }
.world-copy { min-height: 190px; padding: 27px; }
.world-copy > p { margin: 0 0 7px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.world-copy h3 { margin: 0 0 17px; font-size: 22px; line-height: 1.2; letter-spacing: -.03em; }
.world-copy > span { color: var(--muted); font-size: 12px; }
.world-copy .server-live { display: flex; align-items: center; gap: 7px; color: #6d28d9; font-weight: 800; }
.server-live i { width: 7px; height: 7px; background: #8b5cf6; border-radius: 50%; box-shadow: 0 0 0 4px rgba(139,92,246,.13); }
.world-copy a { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 900; }
.world-note { margin: 20px 0 0; color: var(--muted); font-size: 11px; text-align: right; }
.community-features { padding-top: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: 110px; }
.feature-card { position: relative; min-height: 360px; padding: 34px; border: 1px solid var(--line); }
.feature-card + .feature-card { border-left: 0; }
.feature-dark { color: var(--white); background: var(--ink); }
.feature-lime { background: var(--lime); }
.feature-light { background: #e8e6dd; }
.feature-number { position: absolute; right: 25px; top: 20px; font-size: 11px; font-weight: 900; opacity: .45; }
.feature-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 55px; border: 1px solid currentColor; border-radius: 50%; font-size: 25px; }
.feature-card h3 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.03em; }
.feature-card p { max-width: 280px; min-height: 54px; margin: 0 0 32px; opacity: .65; font-size: 13px; }
.feature-card a { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid currentColor; font-size: 12px; font-weight: 900; }
.community-banner { position: relative; display: flex; justify-content: space-between; align-items: end; min-height: 430px; margin-bottom: 110px; padding: 65px; overflow: hidden; color: var(--white); background: linear-gradient(135deg, #160b2d, #3b1465); }
.community-banner::after { content: "C"; position: absolute; right: 150px; bottom: -120px; color: rgba(168,85,247,.18); font-size: 430px; line-height: 1; font-weight: 900; }
.community-banner > div { position: relative; z-index: 2; }
.community-copy { max-width: 520px; color: rgba(255,255,255,.6); }
.community-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.community-socials a { padding: 10px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: var(--white); font-size: 13px; font-weight: 800; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.community-socials a:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.12); }
.circle-link { position: relative; z-index: 2; width: 88px; height: 88px; display: grid; place-items: center; flex: 0 0 auto; color: var(--ink); background: var(--lime); border-radius: 50%; font-size: 32px; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 60px max(28px, calc((100vw - var(--max)) / 2)); color: rgba(255,255,255,.55); background: var(--ink); font-size: 11px; }
.footer-brand { color: var(--white); }
.copyright { justify-self: end; }

.shop-page { background: #f6f1ff; }
.shop-hero { min-height: 470px; display: flex; justify-content: space-between; align-items: center; gap: 60px; padding: 70px max(28px, calc((100vw - var(--max)) / 2)); color: var(--white); background: var(--ink); }
.shop-hero > div:first-child { max-width: 870px; }
.shop-hero h1 { font-size: clamp(56px, 7vw, 92px); }
.shop-hero p:last-child { max-width: 650px; color: rgba(255,255,255,.6); }
.shop-hero-stamp { width: 190px; height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; transform: rotate(7deg); }
.shop-hero-stamp strong { color: var(--lime); font-size: 28px; }
.shop-hero-stamp span { font-size: 9px; letter-spacing: .28em; }
.products-section { padding: 90px 0 120px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 45px; }
.section-heading > p { color: var(--muted); font-size: 12px; }
.shop-filters { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: 16px; padding: 22px; background: var(--white); border: 1px solid var(--line); }
.filter-group > p { margin: 0 0 10px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-row button { min-height: 38px; padding: 0 15px; color: var(--muted); background: transparent; border: 1px solid var(--line); font-size: 11px; font-weight: 800; cursor: pointer; }
.filter-row button:hover { color: var(--ink); border-color: var(--lime); }
.filter-row button.active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.filter-summary { min-height: 20px; margin: 0 0 16px; color: var(--muted); font-size: 11px; text-align: right; }
.product-status { padding: 40px; border: 1px solid var(--line); text-align: center; color: var(--muted); }
.product-status button { margin-left: 10px; border: 0; border-bottom: 1px solid; background: transparent; cursor: pointer; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); }
.product-visual { position: relative; min-height: 250px; overflow: hidden; padding: 24px; color: var(--white); background: #25103f; }
.product-visual::before, .product-visual::after { content: ""; position: absolute; border-radius: 50%; }
.product-visual::before { width: 230px; height: 230px; right: -40px; bottom: -60px; background: var(--lime); opacity: .85; }
.product-visual::after { width: 130px; height: 130px; right: 80px; bottom: -65px; border: 28px solid rgba(255,255,255,.15); }
.visual-2 { background: #32144f; }
.visual-2::before { background: #d8b4fe; }
.visual-3 { background: #1f1645; }
.visual-3::before { background: var(--mint); }
.product-tag { position: relative; z-index: 2; padding: 6px 9px; border: 1px solid rgba(255,255,255,.45); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.product-visual > strong { position: absolute; top: 18px; right: 22px; font-size: 48px; line-height: 1; opacity: .12; }
.product-glyph { position: absolute; z-index: 2; right: 38px; bottom: 24px; color: var(--ink); font-size: 48px; font-weight: 900; letter-spacing: -.08em; }
.product-info { display: flex; flex-direction: column; flex: 1; padding: 27px; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.product-game { margin: 0 !important; color: var(--muted); font-size: 9px !important; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.purchase-type { flex: 0 0 auto; padding: 4px 7px; color: #5b21b6; background: #ede9fe; font-size: 9px; font-weight: 900; }
.purchase-type.subscription { color: var(--white); background: #7e22ce; }
.product-info h3 { margin: 0 0 8px; font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.product-info > p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.server-field { display: grid; gap: 7px; margin-top: auto; color: var(--muted); font-size: 10px; font-weight: 800; }
.server-field select { width: 100%; padding: 11px 36px 11px 12px; color: var(--ink); background: #f7f2fc; border: 1px solid var(--line); }
.all-servers { margin-top: auto !important; padding: 11px 12px; background: #f7f2fc; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.product-footer > strong { font-size: 21px; }
.product-footer > strong small { color: var(--muted); font-size: 10px; font-weight: 700; }
.add-button { border: 0; background: transparent; font-size: 11px; font-weight: 900; cursor: pointer; }
.add-button span { width: 26px; height: 26px; display: inline-grid; place-items: center; margin-left: 7px; color: var(--ink); background: var(--lime); border-radius: 50%; }
.add-button:disabled { color: var(--muted); cursor: not-allowed; }
.renewal-note { min-height: auto !important; margin: 12px 0 0 !important; padding: 9px 11px; color: #6b21a8 !important; background: #f3e8ff; font-size: 10px !important; }
.purchase-guide { padding-bottom: 120px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps li { min-height: 200px; padding: 24px; border-right: 1px solid var(--line); }
.steps li > span { color: var(--muted); font-size: 11px; font-weight: 900; }
.steps h3 { margin: 55px 0 5px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 12px; }

.cart-backdrop { position: fixed; z-index: 50; inset: 0; background: rgba(0,0,0,.56); opacity: 0; transition: opacity .2s; }
.cart-backdrop.show { opacity: 1; }
.cart-drawer { position: fixed; z-index: 60; top: 0; right: 0; width: min(470px, 100%); height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; padding: 30px; background: var(--paper); transform: translateX(100%); transition: transform .28s ease; box-shadow: -20px 0 60px rgba(0,0,0,.2); }
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; align-items: start; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.cart-header .eyebrow { margin-bottom: 6px; }
.cart-header h2 { margin: 0; font-size: 38px; letter-spacing: -.05em; }
.cart-close { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; font-size: 25px; cursor: pointer; }
.cart-body { overflow: auto; padding: 20px 0; }
.cart-empty { padding: 70px 20px; text-align: center; }
.cart-empty > span { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 20px; border: 1px solid var(--line); border-radius: 50%; font-size: 25px; }
.cart-empty h3 { margin-bottom: 6px; }
.cart-empty p { margin: 0; color: var(--muted); font-size: 12px; }
.cart-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item-top, .cart-item-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cart-item-top p { margin: 0; color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.cart-item-top h3 { margin: 2px 0; font-size: 17px; }
.cart-item-top small { color: var(--muted); }
.cart-item-top > button { align-self: start; border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.cart-item-bottom { margin-top: 15px; }
.quantity-control { display: flex; align-items: center; border: 1px solid var(--line); }
.quantity-control button { width: 32px; height: 30px; border: 0; background: transparent; cursor: pointer; }
.quantity-control span { min-width: 30px; text-align: center; font-size: 12px; }
.cart-subscription-label { padding: 5px 9px; color: #6b21a8; background: #f3e8ff; font-size: 10px; font-weight: 900; }
.paypal-button { width: 100%; margin-top: 14px; padding: 12px; border: 0; color: #fff; background: #0070ba; font-weight: 900; cursor: pointer; }
.paypal-button:hover { background: #003087; }
.paypal-button.subscription { background: #6d28d9; }
.paypal-button.subscription:hover { background: #4c1d95; }
.paypal-button.tebex { background: #191919; }
.paypal-button.tebex:hover { background: #000; }
.paypal-button:disabled { opacity: .6; cursor: wait; }
.cart-renewal-note { margin: 5px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.cart-checkout { padding-top: 20px; border-top: 1px solid var(--ink); }
.cart-checkout label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 900; }
.cart-checkout input { width: 100%; padding: 13px; border: 1px solid var(--line); background: var(--white); }
.input-help, .checkout-note { margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.cart-total strong { font-size: 24px; }
.checkout-error { min-height: 20px; margin: 8px 0 0; color: #b92727; font-size: 11px; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 30px; padding: 12px 20px; color: var(--white); background: var(--ink); font-size: 12px; font-weight: 700; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.account-page { min-height: 100vh; color: var(--ink); background: #f5f0fb; }
.account-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 150px 0 90px; display: grid; grid-template-columns: 1fr 480px; gap: 70px; align-items: start; }
.account-intro { padding-top: 35px; }
.account-intro .eyebrow { color: var(--purple); }
.account-intro h1 { margin: 25px 0; font-size: clamp(54px, 7vw, 92px); line-height: .92; letter-spacing: -.07em; }
.account-intro h1 em { color: var(--purple); font-style: normal; }
.account-intro > p:last-child { max-width: 620px; color: var(--muted); line-height: 1.9; }
.account-card { padding: 35px; background: #fff; border-top: 5px solid var(--purple); box-shadow: 0 25px 70px rgba(45,22,75,.12); }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; }
.account-tabs button { border: 0; border-bottom: 2px solid var(--line); padding: 14px; color: var(--muted); background: transparent; font-weight: 900; }
.account-tabs button.active { color: var(--purple); border-color: var(--purple); }
.account-card form { display: grid; gap: 18px; }
.account-card label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.account-card label small { color: var(--muted); font-weight: 500; }
.account-card input { width: 100%; padding: 14px; border: 1px solid var(--line); background: #fbf9fd; }
.account-card .button { justify-content: center; border: 0; margin-top: 5px; }
.account-message { min-height: 22px; color: #a11313; font-size: 13px; }
.profile-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 28px; }
.profile-heading h2 { margin: 7px 0 0; }
.profile-heading > button { border: 0; color: var(--purple); background: transparent; font-weight: 800; }
.mypage-summary { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.mypage-summary > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mypage-summary dt { color: var(--muted); font-size: 11px; font-weight: 800; }
.mypage-summary dd { margin: 0; font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.mypage-identities { margin-top: 30px; padding-top: 27px; border-top: 1px solid var(--line); }
.mypage-section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 16px; }
.mypage-section-heading h3 { margin: 5px 0 0; font-size: 24px; }
.mypage-section-heading > p { max-width: 210px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: right; }
.identity-status-list { display: grid; gap: 10px; }
.identity-status { padding: 17px; border: 1px solid var(--line); background: #fbf9fd; }
.identity-status.registered { border-left: 4px solid #16a36a; }
.identity-status.missing { border-left: 4px solid var(--purple); }
.identity-status-main { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.identity-status-main > div { min-width: 0; }
.identity-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; font-weight: 800; }
.identity-status strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.identity-badge { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; color: #087747; background: #dcfce7; font-size: 10px; font-weight: 900; }
.identity-status.missing .identity-badge { color: #7e22ce; background: #f3e8ff; }
.identity-help-button { margin-top: 13px; padding: 0; border: 0; color: var(--purple); background: transparent; font-size: 12px; font-weight: 900; }
.identity-help { margin-top: 11px; padding: 13px; color: var(--muted); background: #f3e8ff; font-size: 12px; line-height: 1.75; }
.identity-help p, .identity-empty { margin: 0; }
.identity-empty { padding: 18px; color: var(--muted); border: 1px dashed var(--line); font-size: 13px; }
.status-active { display: inline-flex; align-items: center; gap: 7px; color: #4c1d95; }
.status-active::before { content: ""; width: 8px; height: 8px; background: var(--lime); border-radius: 50%; }
.mypage-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.account-card .button-secondary { color: var(--purple); background: #f3e8ff; }
.account-card .button-secondary:hover { background: #e9d5ff; }

.game-hub-hero {
  position: relative; min-height: 430px; display: flex; align-items: end; justify-content: space-between;
  gap: 40px; overflow: hidden; padding: 90px max(28px, calc((100vw - var(--max)) / 2));
  color: #fff; background: linear-gradient(125deg, #160b2d 0%, #3b1765 55%, #6d28d9 100%);
}
.game-hub-hero > div:not(.guide-grid) { position: relative; z-index: 2; max-width: 760px; }
.game-hub-hero h1 { margin: 0; font-size: clamp(58px, 8vw, 108px); line-height: .95; letter-spacing: -.07em; }
.game-hub-hero p:last-child { max-width: 620px; margin: 28px 0 0; color: rgba(255,255,255,.68); }
.guide-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 64px 64px; }
.game-hub-index { position: relative; z-index: 2; color: rgba(255,255,255,.12); font-size: clamp(90px, 15vw, 220px); font-weight: 900; line-height: .7; letter-spacing: -.1em; }
.game-directory { padding: 100px 0 120px; }
.game-directory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.game-directory-card { overflow: hidden; background: #fff; border: 1px solid var(--line); }
.game-directory-art {
  position: relative; min-height: 230px; overflow: hidden; padding: 28px;
  color: rgba(255,255,255,.8); background: linear-gradient(140deg, #240d40, #7c3aed);
}
.game-directory-art::before { content: ""; position: absolute; width: 250px; height: 250px; right: -40px; top: -60px; border: 44px solid rgba(255,255,255,.1); border-radius: 50%; }
.game-directory-art::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.16); }
.theme-blue .game-directory-art { background: linear-gradient(140deg, #101c42, #2563eb); }
.theme-red .game-directory-art { background: linear-gradient(140deg, #3f0b16, #dc2626); }
.theme-green .game-directory-art { background: linear-gradient(140deg, #052e1b, #16a34a); }
.game-directory-art span { position: relative; z-index: 2; font-size: 10px; font-weight: 900; letter-spacing: .2em; }
.game-directory-art strong { position: absolute; z-index: 2; left: 24px; bottom: 8px; max-width: calc(100% - 40px); overflow: hidden; font-size: clamp(58px, 8vw, 104px); line-height: .9; letter-spacing: -.08em; white-space: nowrap; }
.game-directory-copy { min-height: 250px; display: flex; flex-direction: column; padding: 30px; }
.game-directory-copy h2 { margin: 5px 0 12px; font-size: 28px; letter-spacing: -.04em; }
.game-directory-copy > p:not(.game-directory-status) { flex: 1; margin: 0; color: var(--muted); font-size: 13px; }
.game-directory-status { margin: 0; color: #6d28d9; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.game-directory-copy a { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 900; }
.game-directory-empty { grid-column: 1 / -1; padding: 70px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line); text-align: center; }
.guide-loading, .guide-not-found { width: min(var(--max), calc(100% - 56px)); min-height: 520px; display: grid; align-content: center; gap: 20px; margin: auto; }
.guide-loading h1, .guide-not-found h1 { margin: 0; font-size: clamp(38px, 6vw, 68px); letter-spacing: -.055em; }
.guide-not-found .button { width: max-content; }
.guide-hero {
  position: relative; min-height: 500px; display: flex; align-items: end; justify-content: space-between;
  gap: 45px; overflow: hidden; padding: 72px max(28px, calc((100vw - var(--max)) / 2));
  color: #fff; background: linear-gradient(125deg, #160b2d, #4c1d95);
}
body[data-game-theme="blue"] .guide-hero { background: linear-gradient(125deg, #0f172a, #1d4ed8); }
body[data-game-theme="red"] .guide-hero { background: linear-gradient(125deg, #2b0711, #b91c1c); }
body[data-game-theme="green"] .guide-hero { background: linear-gradient(125deg, #052e16, #15803d); }
.guide-hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: -110px; top: -150px; border: 70px solid rgba(255,255,255,.07); border-radius: 50%; }
.guide-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.guide-breadcrumb { margin: 0 0 60px; color: rgba(255,255,255,.55); font-size: 12px; }
.guide-breadcrumb a { color: #fff; font-weight: 800; }
.guide-hero h1 { margin: 0; font-size: clamp(58px, 8vw, 108px); line-height: .92; letter-spacing: -.07em; }
.guide-summary { max-width: 680px; margin: 24px 0 0; color: rgba(255,255,255,.7); }
.guide-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.guide-badges span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.28); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.guide-external-link { display: inline-block; margin-top: 26px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.45); font-size: 12px; font-weight: 900; }
.guide-hero-mark { position: relative; z-index: 2; max-width: 42%; overflow: hidden; color: rgba(255,255,255,.12); font-size: clamp(90px, 15vw, 210px); font-weight: 900; line-height: .72; letter-spacing: -.1em; white-space: nowrap; }
.guide-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 70px; padding: 80px 0 120px; }
.guide-sidebar { position: sticky; top: 25px; align-self: start; padding: 24px; background: #fff; border-top: 4px solid #7c3aed; }
.guide-sidebar > p { margin: 0 0 16px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.guide-sidebar nav { display: grid; }
.guide-sidebar a { padding: 11px 0; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; }
.guide-sidebar a:hover { color: #7c3aed; }
.guide-article { min-width: 0; background: #fff; border: 1px solid var(--line); }
.guide-content-section { position: relative; padding: 58px clamp(28px, 6vw, 75px); scroll-margin-top: 24px; }
.guide-content-section + .guide-content-section { border-top: 1px solid var(--line); }
.guide-section-number { margin: 0 0 10px; color: #7c3aed; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.guide-content-section h2 { margin: 0 0 25px; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.05em; }
.guide-section-body { margin: 0; color: #4f435b; white-space: pre-wrap; overflow-wrap: anywhere; }
.guide-empty-note { margin: 0; padding: 30px clamp(28px, 6vw, 75px); color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto; height: 76px; gap: 15px; }
  .menu-button { display: block; grid-column: 3; grid-row: 1; border: 0; color: var(--white); background: transparent; font-size: 24px; }
  .main-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; height: auto; flex-direction: column; gap: 0; padding: 12px 28px 22px; background: var(--ink); }
  .main-nav.open { display: flex; }
  .main-nav a { justify-content: start; min-height: 48px; }
  .main-nav a::after { display: none; }
  .header-cta, .cart-button { grid-column: 2; grid-row: 1; }
  .hero { min-height: 650px; padding-top: 90px; }
  .hero-emblem { display: none; }
  .hero-orb-one { right: -180px; opacity: .45; }
  .intro { grid-template-columns: 1fr; gap: 30px; }
  .game-world-grid { grid-template-columns: 1fr 1fr; }
  .game-world-primary { grid-column: 1 / -1; }
  .feature-grid, .product-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:last-child { grid-column: 1 / -1; }
  .feature-card:nth-child(3) { border-left: 1px solid var(--line); border-top: 0; }
  .shop-hero-stamp { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .account-shell { grid-template-columns: 1fr; padding-top: 110px; }
  .site-footer > p:nth-child(2) { display: none; }
  .game-directory-grid { grid-template-columns: 1fr; }
  .game-hub-index, .guide-hero-mark { display: none; }
  .guide-layout { grid-template-columns: 1fr; gap: 25px; }
  .guide-sidebar { position: static; }
}

@media (max-width: 600px) {
  .brand strong { font-size: 14px; }
  .brand small { display: none; }
  .brand-mark { width: 34px; height: 34px; font-size: 18px; }
  .site-header { padding-inline: 18px; }
  .header-cta { display: none; }
  .hero, .shop-hero { padding-inline: 22px; }
  .hero { min-height: 690px; }
  .hero h1, .shop-hero h1 { font-size: clamp(52px, 16vw, 72px); }
  .hero-stats { gap: 18px; justify-content: space-between; }
  .hero-stats dt { font-size: 12px; }
  .hero-stats dd { font-size: 9px; }
  .section { width: calc(100% - 36px); }
  .intro { padding-top: 75px; }
  .feature-grid, .product-grid { grid-template-columns: 1fr; }
  .game-world-grid, .shop-filters { grid-template-columns: 1fr; }
  .game-world-primary { grid-column: auto; }
  .feature-card + .feature-card, .feature-card:nth-child(3) { border-left: 1px solid var(--line); border-top: 0; }
  .feature-card:last-child { grid-column: auto; }
  .community-banner { min-height: 520px; padding: 36px; flex-direction: column; align-items: start; }
  .community-banner::after { right: -40px; }
  .site-footer { grid-template-columns: 1fr; }
  .copyright { justify-self: start; }
  .shop-hero { min-height: 430px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .products-section { padding-top: 65px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 130px; display: grid; grid-template-columns: 45px 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps h3 { margin: 0 0 5px; }
  .cart-drawer { padding: 22px; }
  .account-shell { width: calc(100% - 28px); gap: 30px; }
  .account-intro h1 { font-size: 52px; }
  .account-card { padding: 26px 20px; }
  .mypage-summary > div { grid-template-columns: 105px 1fr; }
  .mypage-section-heading { display: block; }
  .mypage-section-heading > p { margin-top: 8px; text-align: left; }
  .mypage-actions { grid-template-columns: 1fr; }
  .game-hub-hero, .guide-hero { min-height: 420px; padding: 70px 22px; }
  .game-hub-hero h1, .guide-hero h1 { font-size: 54px; }
  .game-directory { padding-top: 65px; }
  .game-directory-art { min-height: 190px; }
  .game-directory-copy { min-height: 220px; padding: 24px; }
  .guide-breadcrumb { margin-bottom: 40px; }
  .guide-layout { padding: 35px 0 70px; }
  .guide-content-section { padding: 38px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
