/* =========================================================
   AIゲームラボ  main stylesheet
   ========================================================= */
:root {
	--bg: #06071a;
	--bg-2: #0b0d26;
	--bg-3: #12153a;
	--line: rgba(160, 170, 255, .14);
	--text: #eef0ff;
	--muted: #a3a9d4;
	--violet: #8b5cf6;
	--indigo: #6366f1;
	--cyan: #22d3ee;
	--pink: #f472b6;
	--gold: #fbbf24;
	--grad: linear-gradient(120deg, #a78bfa 0%, #6366f1 45%, #22d3ee 100%);
	--grad-2: linear-gradient(120deg, #f472b6 0%, #a78bfa 100%);
	--grad-3: linear-gradient(120deg, #fbbf24 0%, #f472b6 100%);
	--paper: #ffffff;
	--ink: #1c1f33;
	--ink-2: #4a5070;
	--radius: 18px;
	--shadow: 0 20px 60px -20px rgba(8, 10, 40, .55);
	--glow: 0 0 0 1px rgba(167, 139, 250, .35), 0 18px 50px -12px rgba(99, 102, 241, .55);
	--font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
	--font-body: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, "Meiryo", system-ui, sans-serif;
	--font-en: "Outfit", "Zen Kaku Gothic New", system-ui, sans-serif;
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 32px); }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.grad--2 { background-image: var(--grad-2); }
.grad--3 { background-image: var(--grad-3); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	height: var(--header-h);
	transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.is-scrolled, body:not(.home) .site-header {
	background: rgba(6, 7, 26, .72);
	backdrop-filter: blur(16px) saturate(1.4);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { height: 100%; width: min(1320px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; filter: drop-shadow(0 4px 14px rgba(139, 92, 246, .55)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.brand:hover .brand__mark { transform: rotate(60deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font); font-weight: 900; font-size: 20px; letter-spacing: .04em; }
.brand__sub { font-family: var(--font-en); font-size: 10.5px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }

.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gnav__list a {
	position: relative; display: flex; flex-direction: column; align-items: center;
	padding: 8px 14px; font-family: var(--font); font-weight: 700; font-size: 14px; line-height: 1.3; border-radius: 12px;
	transition: background .25s;
}
.gnav__en { font-family: var(--font-en); font-size: 10px; letter-spacing: .2em; color: var(--cyan); font-weight: 700; }
.gnav__list a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; background: var(--grad); transition: width .3s, left .3s; border-radius: 2px; }
.gnav__list a:hover { background: rgba(255, 255, 255, .05); }
.gnav__list a:hover::after { width: 60%; left: 20%; }
.site-header__tools { display: flex; gap: 6px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); transition: background .2s, border-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(167, 139, 250, .5); }
.burger { display: none; flex-direction: column; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px rgba(34, 211, 238, .8); }

/* drawer / search modal */
.drawer, .search-modal { position: fixed; inset: 0; z-index: 80; background: rgba(4, 5, 18, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.drawer[hidden], .search-modal[hidden] { display: none; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 88vw); background: var(--bg-2); border-left: 1px solid var(--line); padding: 64px 22px 28px; overflow-y: auto; animation: slideIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.drawer__close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: transparent; font-size: 22px; line-height: 1; }
.drawer__label, .search-modal__label { font-family: var(--font-en); letter-spacing: .3em; font-size: 12px; color: var(--cyan); margin: 0 0 12px; }
.drawer__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.drawer__list a { display: flex; gap: 14px; align-items: center; padding: 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-family: var(--font); font-weight: 700; }
.drawer__list img { width: 96px; height: 54px; object-fit: cover; border-radius: 10px; }
.drawer__list small { display: block; font-family: var(--font-en); font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.search-modal__inner { width: min(720px, 100% - 32px); margin: 18vh auto 0; position: relative; padding: 56px 28px 32px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--glow); animation: pop .3s ease; }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.search-modal__hint { color: var(--muted); font-size: 13px; margin: 14px 0 0; }

.searchform { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.searchform:focus-within { border-color: rgba(167, 139, 250, .7); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.searchform__input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; padding: 8px 0; outline: none; }
.searchform__input::placeholder { color: #7c83b0; }
.searchform__btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-family: var(--font); font-weight: 700; font-size: 16px; letter-spacing: .04em; transition: transform .25s, box-shadow .25s, background .25s; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 34px -10px rgba(99, 102, 241, .9), inset 0 1px 0 rgba(255, 255, 255, .35); position: relative; overflow: hidden; }
.btn--primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s; }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(99, 102, 241, 1); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.btn__arrow { transition: transform .25s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 90px; }
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
	linear-gradient(90deg, rgba(6, 7, 26, .96) 0%, rgba(6, 7, 26, .82) 34%, rgba(6, 7, 26, .25) 70%, rgba(6, 7, 26, .55) 100%),
	linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero__grid { position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(139, 92, 246, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 92, 246, .12) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 20% 50%, #000 0%, transparent 60%); -webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000 0%, transparent 60%); }
.hero__aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__aurora span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 14s ease-in-out infinite alternate; }
.hero__aurora span:nth-child(1) { width: 520px; height: 520px; left: -160px; top: -120px; background: radial-gradient(circle, #7c3aed, transparent 65%); }
.hero__aurora span:nth-child(2) { width: 420px; height: 420px; left: 30%; bottom: -200px; background: radial-gradient(circle, #0891b2, transparent 65%); animation-duration: 18s; }
.hero__aurora span:nth-child(3) { width: 300px; height: 300px; right: 8%; top: 10%; background: radial-gradient(circle, #db2777, transparent 65%); opacity: .3; animation-duration: 22s; }
@keyframes float { to { transform: translate(60px, 40px) scale(1.15); } }
.hero__inner { position: relative; }
.hero__eyebrow { line-height: 1.5; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(167, 139, 250, .45); background: rgba(139, 92, 246, .12); font-family: var(--font); font-weight: 700; font-size: 14px; letter-spacing: .12em; margin: 0 0 26px; animation: rise .9s .1s both; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 211, 238, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }
.hero__title { font-family: var(--font); font-weight: 900; font-size: clamp(40px, 7.2vw, 96px); line-height: 1.12; letter-spacing: .02em; margin: 0 0 26px; text-shadow: 0 8px 40px rgba(6, 7, 26, .6); }
.hero__line { display: block; animation: riseSoft 1s both; }
@keyframes riseSoft { from { transform: translateY(18px); } }
.hero__line:nth-child(2) { animation-delay: .18s; }
.hero__line em { margin-right: .12em; white-space: nowrap; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }
.hero__lead { max-width: 560px; font-size: clamp(15px, 1.6vw, 18px); color: #d4d8f5; line-height: 2; margin: 0 0 36px; animation: rise 1s .32s both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; animation: rise 1s .44s both; }
.hero__stats { display: flex; gap: 0; list-style: none; padding: 0; margin: 54px 0 0; animation: rise 1s .56s both; width: fit-content; border: 1px solid var(--line); border-radius: 18px; background: rgba(11, 13, 38, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__stats li { padding: 14px 26px; display: flex; flex-direction: column; }
.hero__stats li + li { border-left: 1px solid var(--line); }
.hero__stats strong { font-family: var(--font-en); font-weight: 800; font-size: 28px; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* ticker */
.ticker { display: flex; align-items: center; border-block: 1px solid var(--line); background: rgba(11, 13, 38, .8); overflow: hidden; }
.ticker__label { flex-shrink: 0; padding: 14px 22px; font-family: var(--font-en); font-weight: 800; letter-spacing: .2em; font-size: 13px; background: var(--grad); color: #fff; }
.ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__move { display: flex; gap: 48px; width: max-content; animation: marquee 60s linear infinite; padding-left: 24px; }
.ticker:hover .ticker__move { animation-play-state: paused; }
.ticker__move a { white-space: nowrap; font-size: 14px; color: #d8dbf5; }
.ticker__move a:hover { color: #fff; text-decoration: underline; }
.ticker__move time { font-family: var(--font-en); color: var(--cyan); margin-right: 10px; font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--row { padding-top: 0; }
.sec-head { margin-bottom: 40px; }
.sec-head--center { text-align: center; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sec-head__en { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .32em; margin: 0 0 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.sec-head__title { font-family: var(--font); font-weight: 900; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.35; margin: 0; letter-spacing: .03em; }
.sec-head__lead { color: var(--muted); margin: 14px 0 0; }
.more { font-family: var(--font); font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; transition: background .2s, border-color .2s; }
.more:hover { background: rgba(255, 255, 255, .06); border-color: rgba(167, 139, 250, .6); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02)); border: 1px solid var(--line); overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: rgba(167, 139, 250, .5); }
.card__link { display: flex; flex-direction: column; height: 100%; }
.card__thumb { aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: var(--bg-3); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card__thumb img { transform: scale(1.06); }
.card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 7, 26, .5)); }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card__meta time { font-family: var(--font-en); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.card__title { font-family: var(--font); font-weight: 700; font-size: 16.5px; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__excerpt { color: var(--muted); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chip { display: inline-block; font-family: var(--font); font-weight: 700; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; color: #fff; background: rgba(139, 92, 246, .35); border: 1px solid rgba(167, 139, 250, .5); letter-spacing: .04em; }
.chip--monetize { background: rgba(251, 191, 36, .2); border-color: rgba(251, 191, 36, .55); color: #fde68a; }
.chip--news { background: rgba(244, 114, 182, .2); border-color: rgba(244, 114, 182, .55); color: #fbcfe8; }
.chip--tools { background: rgba(34, 211, 238, .18); border-color: rgba(34, 211, 238, .5); color: #a5f3fc; }
.chip--play { background: rgba(52, 211, 153, .18); border-color: rgba(52, 211, 153, .5); color: #a7f3d0; }

/* pickup */
.pickup { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.card--big { grid-row: span 2; }
.card--big .card__thumb { aspect-ratio: auto; flex: 1; min-height: 340px; }
.card--big .card__title { font-size: clamp(20px, 2.1vw, 26px); line-height: 1.5; }
.card--big .card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; background: linear-gradient(0deg, rgba(6, 7, 26, .97) 10%, rgba(6, 7, 26, .7) 60%, transparent); }
.card--big .card__thumb::after { display: none; }
.card--side .card__title { font-size: 15px; }

/* portals */
.portals { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.portal { grid-column: span 2; position: relative; border-radius: 22px; overflow: hidden; min-height: 300px; display: flex; isolation: isolate; border: 1px solid var(--line); transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.portal:nth-child(1), .portal:nth-child(2) { grid-column: span 3; min-height: 360px; }
.portal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.portal__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 7, 26, .96) 8%, rgba(6, 7, 26, .55) 50%, rgba(6, 7, 26, .1)); transition: background .4s; }
.portal:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.portal:hover img { transform: scale(1.07); }
.portal__body { margin-top: auto; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.portal__en { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .32em; color: var(--cyan); }
.portal__title { font-family: var(--font); font-weight: 900; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; }
.portal__desc { color: #c9cdea; font-size: 14px; line-height: 1.8; max-width: 460px; }
.portal__count { margin-top: 8px; font-family: var(--font-en); font-size: 13px; letter-spacing: .1em; color: #fff; opacity: .8; }

/* roadmap */
.roadmap { overflow: hidden; isolation: isolate; }
.roadmap__bg { position: absolute; inset: 0; z-index: -1; }
.roadmap__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.roadmap__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(6, 7, 26, .55) 30%, rgba(6, 7, 26, .55) 70%, var(--bg) 100%); }
.steps-road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: road; position: relative; }
.steps-road::before { content: ""; position: absolute; left: 6%; right: 6%; top: 46px; height: 2px; background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .8), rgba(34, 211, 238, .8), transparent); }
.road a { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px 24px; border-radius: 22px; background: rgba(11, 13, 38, .72); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .35s, box-shadow .35s, border-color .35s; }
.road a:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: rgba(167, 139, 250, .6); }
.road__num { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--grad); font-family: var(--font-en); font-weight: 800; font-size: 20px; color: #fff; box-shadow: 0 10px 30px -8px rgba(99, 102, 241, .9); }
.road__title { font-family: var(--font); font-weight: 900; font-size: 24px; }
.road__desc { color: #c9cdea; font-size: 14px; flex: 1; }
.road__more { font-family: var(--font); font-weight: 700; font-size: 13px; color: var(--cyan); }

/* cta band */
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 64px); border-radius: 30px; overflow: hidden; background: radial-gradient(circle at 0% 0%, rgba(139, 92, 246, .45), transparent 50%), radial-gradient(circle at 100% 100%, rgba(34, 211, 238, .35), transparent 50%), var(--bg-2); border: 1px solid rgba(167, 139, 250, .35); }
.cta-band__title { font-family: var(--font); font-weight: 900; font-size: clamp(24px, 3.2vw, 36px); margin: 0 0 12px; line-height: 1.4; }
.cta-band p { color: #c9cdea; margin: 0; }
.cta-band .btn { flex-shrink: 0; }

/* ---------- Page heroes ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 56px) 0 56px; border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 7, 26, .95) 20%, rgba(6, 7, 26, .5)), linear-gradient(0deg, var(--bg), transparent 50%); }
.page-hero__title { font-family: var(--font); font-weight: 900; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.3; margin: 0 0 14px; }
.page-hero__desc { color: #c9cdea; max-width: 700px; margin: 0; }
.page-hero__desc p { margin: 0; }
.page-hero__search { max-width: 560px; margin-top: 22px; }

.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before, .crumbs .separator { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .rank-math-breadcrumb p { margin: 0; }
.crumbs .rank-math-breadcrumb a, .crumbs .rank-math-breadcrumb span { margin-right: 4px; }

/* ---------- Single ---------- */
.entry-hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + 44px) 0 0; overflow: hidden; }
.entry-hero__bg { position: absolute; inset: 0; z-index: -2; }
.entry-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) saturate(1.4); transform: scale(1.2); opacity: .55; }
.entry-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 7, 26, .55), rgba(6, 7, 26, .9) 70%, var(--bg)); }
.entry-hero__inner { max-width: 1000px; }
.entry-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 13px; color: #cfd3f2; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.entry-title { font-family: var(--font); font-weight: 900; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.45; margin: 0 0 32px; letter-spacing: .02em; }
.entry-eyecatch { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(167, 139, 250, .3); transform: translateY(40px); }
.entry-eyecatch img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding-top: 72px; }
.entry--page .container--narrow { padding: 48px 0 80px; }
.entry-main { min-width: 0; }
.entry-body {
	background: var(--paper); color: var(--ink);
	border-radius: 24px; padding: clamp(24px, 5vw, 64px);
	font-size: 17px; line-height: 2; letter-spacing: .03em;
	box-shadow: var(--shadow);
	overflow-wrap: anywhere;
}
.entry-body > *:first-child { margin-top: 0; }
.entry-body p { margin: 0 0 1.6em; }
.entry-body a { color: #4f46e5; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-body a:hover { color: #7c3aed; }
.entry-body strong { font-weight: 700; background: linear-gradient(transparent 62%, rgba(251, 191, 36, .45) 62%); }
.entry-body h2 {
	position: relative; font-family: var(--font); font-weight: 900; font-size: clamp(21px, 2.6vw, 27px); line-height: 1.55;
	margin: 2.6em -12px 1.2em; padding: 22px 24px 22px 28px; color: #fff; border-radius: 16px;
	background: radial-gradient(circle at 100% 0%, rgba(34, 211, 238, .35), transparent 55%), linear-gradient(120deg, #1e1b4b, #312e81 55%, #1e3a8a);
	box-shadow: 0 14px 30px -14px rgba(49, 46, 129, .8);
}
.entry-body h2::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 5px; border-radius: 0 4px 4px 0; background: var(--grad); }
.entry-body h3 { font-family: var(--font); font-weight: 900; font-size: clamp(18px, 2.1vw, 21px); line-height: 1.6; margin: 2.2em 0 1em; padding: 0 0 10px 16px; border-bottom: 2px solid #e6e8f5; position: relative; color: #1e1b4b; }
.entry-body h3::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 16px; width: 5px; border-radius: 4px; background: var(--grad); }
.entry-body h4 { font-family: var(--font); font-weight: 700; font-size: 18px; margin: 1.8em 0 .8em; color: #312e81; }
.entry-body ul, .entry-body ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.entry-body li { margin-bottom: .45em; }
.entry-body ul li::marker { color: #7c3aed; }
.entry-body figure { margin: 2.2em 0; }
.entry-body img { border-radius: 14px; box-shadow: 0 16px 40px -18px rgba(28, 31, 51, .55); margin-inline: auto; }
.entry-body figcaption { text-align: center; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.entry-body blockquote { margin: 2em 0; padding: 20px 24px 20px 56px; border-radius: 14px; background: #f5f6fd; position: relative; color: var(--ink-2); }
.entry-body blockquote::before { content: "“"; position: absolute; left: 16px; top: 2px; font-size: 54px; font-family: Georgia, serif; color: #a78bfa; }
.entry-body hr { border: 0; height: 1px; background: #e6e8f5; margin: 3em 0; }
.entry-body code { font-family: Consolas, Menlo, monospace; font-size: .9em; background: #f1f2fb; padding: 2px 6px; border-radius: 6px; color: #5b21b6; }
.entry-body pre { background: #0f1130; color: #e6e8ff; padding: 20px 22px; border-radius: 14px; overflow-x: auto; font-size: 14px; line-height: 1.75; margin: 0 0 1.8em; }
.entry-body pre code { background: none; color: inherit; padding: 0; }

/* tables */
.entry-body .table-wrap, .entry-body .wp-block-table { overflow-x: auto; margin: 0 0 2em; -webkit-overflow-scrolling: touch; }
.entry-body table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.7; min-width: 560px; border: 1px solid #e3e5f3; border-radius: 14px; overflow: hidden; }
.entry-body th, .entry-body td { min-width: 8em; padding: 12px 14px; border-bottom: 1px solid #e3e5f3; text-align: left; vertical-align: top; }
.entry-body thead th { background: linear-gradient(120deg, #312e81, #4338ca); color: #fff; font-family: var(--font); font-weight: 700; white-space: nowrap; }
.entry-body tbody th { background: #f5f6fd; color: #1e1b4b; font-weight: 700; white-space: nowrap; }
.entry-body tbody tr:nth-child(even) td { background: #fafbff; }
.entry-body tr:last-child th, .entry-body tr:last-child td { border-bottom: 0; }

.table-wrap { position: relative; }
.table-wrap.is-scroll::after { content: "横にスクロールできます →"; display: block; text-align: right; font-size: 12px; color: var(--ink-2); margin-top: 6px; }

/* TOC */
.toc { margin: 2em 0 2.6em; border-radius: 18px; background: linear-gradient(180deg, #f7f6ff, #f2f7ff); border: 1px solid #e2defc; padding: 0; overflow: hidden; }
.toc__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; cursor: pointer; list-style: none; font-family: var(--font); font-weight: 900; font-size: 17px; color: #1e1b4b; }
.toc__head::-webkit-details-marker { display: none; }
.toc__title::before { content: "CONTENTS"; display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .3em; color: #7c3aed; font-weight: 700; }
.toc__toggle { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid #e2defc; position: relative; }
.toc__toggle::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 2px solid #7c3aed; border-bottom: 2px solid #7c3aed; transform: translate(-50%, -70%) rotate(45deg); transition: transform .3s; }
.toc[open] .toc__toggle::before { transform: translate(-50%, -30%) rotate(-135deg); }
.toc .toc__list { margin: 0; padding: 0 24px 22px; list-style: none; counter-reset: none; }
.toc .toc__list > li { margin: 0; border-top: 1px dashed #dcd8f7; }
.toc .toc__list > li > a { display: flex; gap: 12px; padding: 10px 0; color: #1c1f33; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.6; }
.toc .toc__list a:hover { color: #6d28d9; }
.toc__num { font-family: var(--font-en); color: #8b5cf6; font-weight: 800; flex-shrink: 0; }
.toc .toc__list ol { display: none; }
.toc .toc__list ol li { margin: 0; }
.toc .toc__list ol a { display: block; padding: 4px 0; color: #4a5070; text-decoration: none; font-size: 14px; }
.toc .toc__list ol a::before { content: "– "; color: #a78bfa; }

/* article components (class names used in posts) */
.box { position: relative; margin: 2em 0; padding: 22px 24px 20px; border-radius: 16px; border: 1px solid; font-size: 16px; line-height: 1.9; }
.box > *:last-child { margin-bottom: 0; }
.box__title { display: flex; align-items: center; gap: 8px; font-family: var(--font); font-weight: 900; margin: 0 0 8px; font-size: 16px; }
.box--point { background: #f4f1ff; border-color: #ddd3ff; }
.box--point .box__title { color: #6d28d9; }
.box--point .box__title::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--grad) ; box-shadow: inset 0 0 0 6px #f4f1ff; }
.box--caution { background: #fff6f1; border-color: #ffd9c4; }
.box--caution .box__title { color: #c2410c; }
.box--caution .box__title::before { content: "!"; width: 22px; height: 22px; border-radius: 50%; background: #f97316; color: #fff; display: grid; place-items: center; font-size: 14px; }
.box--memo { background: #f0fbff; border-color: #c8eef9; }
.box--memo .box__title { color: #0e7490; }
.box--memo .box__title::before { content: ""; width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, #22d3ee, #6366f1); }
.box--summary { background: linear-gradient(135deg, #1e1b4b, #312e81); color: #eef0ff; border-color: transparent; }
.box--summary .box__title { color: #fff; }
.box--summary li::marker { color: #22d3ee; }

ol.steps { list-style: none; padding: 0; margin: 2em 0; counter-reset: st; }
ol.steps > li { counter-increment: st; position: relative; padding: 0 0 26px 62px; margin: 0; }
ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-en); font-weight: 800; box-shadow: 0 8px 20px -8px rgba(99, 102, 241, .9); }
ol.steps > li::after { content: ""; position: absolute; left: 20px; top: 48px; bottom: 6px; width: 2px; background: #e4e1fb; }
ol.steps > li:last-child::after { display: none; }
ol.steps > li > strong:first-child { display: block; font-family: var(--font); font-size: 17px; background: none; margin-bottom: 4px; padding-top: 8px; color: #1e1b4b; }

.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 2em 0; padding: 0; list-style: none; }
.flow li { flex: 1 1 130px; margin: 0; padding: 16px 14px; border-radius: 14px; background: #f5f4ff; border: 1px solid #e2defc; text-align: center; font-family: var(--font); font-weight: 700; font-size: 15px; line-height: 1.5; position: relative; }
.flow li small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.flow li b { display: block; font-family: var(--font-en); color: #7c3aed; font-size: 12px; letter-spacing: .15em; }

.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 2em 0; }
.compare > div { border-radius: 16px; padding: 20px; border: 1px solid #e3e5f3; background: #fbfbff; font-size: 15px; line-height: 1.8; }
.compare h4 { margin: 0 0 8px; }

.faq { margin: 2em 0; }
.faq details { border: 1px solid #e3e5f3; border-radius: 14px; margin-bottom: 12px; background: #fbfbff; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 52px; font-family: var(--font); font-weight: 700; position: relative; list-style: none; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 8px; background: var(--grad); color: #fff; font-family: var(--font-en); display: grid; place-items: center; font-size: 14px; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 22px; color: #7c3aed; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 6px 52px; }

.linkcard { display: flex; gap: 16px; align-items: center; margin: 2em 0; padding: 12px; border-radius: 16px; border: 1px solid #e3e5f3; background: #fbfbff; text-decoration: none !important; color: var(--ink) !important; transition: box-shadow .3s, transform .3s; }
.linkcard:hover { box-shadow: 0 12px 30px -14px rgba(79, 70, 229, .6); transform: translateY(-2px); }
.linkcard__thumb { flex: 0 0 160px; }
.linkcard__thumb img { width: 160px; height: 90px; object-fit: cover; border-radius: 10px; box-shadow: none; }
.linkcard__label { display: inline-block; font-family: var(--font); font-size: 11.5px; font-weight: 700; color: #fff; background: var(--grad); padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; }
.linkcard__title { display: block; font-family: var(--font); font-weight: 700; line-height: 1.55; }

/* share / editor / prev-next */
.share { margin: 36px 0; text-align: center; }
.share__label { font-family: var(--font); font-weight: 700; margin: 0 0 14px; }
.share__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.share__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 108px; padding: 11px 18px; border-radius: 12px; font-family: var(--font); font-weight: 700; font-size: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); transition: transform .2s, background .2s; }
.share__btn:hover { transform: translateY(-2px); }
.share__btn--x:hover { background: #000; }
.share__btn--line:hover { background: #06c755; }
.share__btn--hatena:hover { background: #00a4de; }
.share__btn--fb:hover { background: #1877f2; }
.share__btn--copy:hover { background: var(--indigo); }
.editor-box { display: flex; gap: 18px; padding: 24px; border-radius: 20px; background: linear-gradient(135deg, rgba(139, 92, 246, .16), rgba(34, 211, 238, .08)); border: 1px solid rgba(167, 139, 250, .3); margin-bottom: 28px; }
.editor-box__icon .brand__mark { width: 56px; height: 56px; }
.editor-box__name { font-family: var(--font); font-weight: 900; margin: 0 0 4px; }
.editor-box__text { margin: 0; color: #c9cdea; font-size: 14px; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pn__item { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s; }
.pn__item:hover { border-color: rgba(167, 139, 250, .6); background: rgba(255, 255, 255, .06); }
.pn__item small { display: block; color: var(--cyan); font-family: var(--font); font-weight: 700; font-size: 12px; }
.pn__item span { font-family: var(--font); font-weight: 700; font-size: 14px; line-height: 1.6; }
.pn__item--next { text-align: right; grid-column: 2; }

/* side */
.entry-side { position: sticky; top: calc(var(--header-h) + 20px); }
.side-sticky { display: grid; gap: 20px; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.side-title { font-family: var(--font-en); font-weight: 800; letter-spacing: .3em; font-size: 12px; color: var(--cyan); margin: 0 0 10px; }
.side-toc, .side-cats { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.side-toc ol { list-style: none; margin: 0; padding: 0; }
.side-toc ol ol { display: none; }
.side-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 13.5px; line-height: 1.55; color: #c9cdea; transition: background .2s, color .2s; }
.side-toc a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side-toc a.is-active { background: rgba(139, 92, 246, .22); color: #fff; }
.side-toc .toc__num { color: var(--cyan); }
.side-cats a { display: block; padding: 10px 4px; border-bottom: 1px solid var(--line); font-family: var(--font); font-weight: 700; font-size: 14px; }
.side-cats a:last-child { border-bottom: 0; }
.side-cats a span { display: block; font-family: var(--font-en); font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.side-cats a:hover { color: var(--cyan); }

/* pagination */
.pagination { margin-top: 56px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line); font-family: var(--font-en); font-weight: 700; }
.page-numbers.current { background: var(--grad); border-color: transparent; }
a.page-numbers:hover { border-color: rgba(167, 139, 250, .6); }

/* 404 / misc */
.notfound { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 80px) 0 100px; text-align: center; }
.notfound__inner { max-width: 760px; }
.notfound__inner > p { color: #c9cdea; }
.notfound .page-hero__search { margin: 26px auto; }
.notfound__code { font-family: var(--font-en); font-weight: 800; font-size: clamp(90px, 18vw, 180px); line-height: 1; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cat-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 28px 0; text-align: left; }
.cat-links a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-family: var(--font); font-weight: 700; font-size: 14px; }
.cat-links img { width: 80px; height: 45px; object-fit: cover; border-radius: 8px; }
.cat-links small { display: block; font-family: var(--font-en); font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* footer */
.site-footer { position: relative; overflow: hidden; margin-top: 40px; padding: 80px 0 28px; border-top: 1px solid var(--line); background: #04050f; }
.site-footer__glow { position: absolute; left: 50%; top: -240px; width: 900px; height: 400px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(99, 102, 241, .35), transparent 65%); pointer-events: none; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer__about p { color: var(--muted); font-size: 14px; margin: 18px 0 0; max-width: 420px; }
.site-footer__head { font-family: var(--font-en); font-weight: 800; letter-spacing: .3em; font-size: 12px; color: var(--cyan); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.site-footer ul a { color: #c9cdea; }
.site-footer ul a:hover { color: #fff; }
.site-footer__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.totop { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line); transition: background .2s; }
.totop:hover { background: var(--grad); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }


/* =========================================================
   Browser games
   ========================================================= */
.gnav__games { background: linear-gradient(120deg, rgba(244, 114, 182, .25), rgba(139, 92, 246, .3)); border: 1px solid rgba(244, 114, 182, .5); }
.gnav__games .gnav__en { color: #f9a8d4; }
.drawer__games { display: block; position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 22px; border: 1px solid rgba(244, 114, 182, .5); }
.drawer__games img { width: 100%; height: 120px; object-fit: cover; }
.drawer__games span { position: absolute; inset: auto 0 0 0; padding: 12px 14px; background: linear-gradient(0deg, rgba(6, 7, 26, .95), transparent); font-family: var(--font); font-weight: 900; }
.drawer__games small { display: block; font-family: var(--font-en); font-size: 10px; letter-spacing: .25em; color: #f9a8d4; }
br.sp { display: none; }

.ghero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 48px) 0 64px; }
.ghero__bg { position: absolute; inset: 0; z-index: -3; }
.ghero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.ghero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(6, 7, 26, .95) 0%, rgba(6, 7, 26, .75) 45%, rgba(6, 7, 26, .3) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.ghero__title { font-family: var(--font); font-weight: 900; font-size: clamp(30px, 5.4vw, 64px); line-height: 1.2; margin: 0 0 18px; }
.ghero__title small { display: block; font-size: .36em; margin-top: 14px; color: #f9a8d4; letter-spacing: .08em; }
.ghero__lead { max-width: 620px; color: #d4d8f5; margin: 0 0 28px; }
.ghero__badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.ghero__badges li { padding: 10px 16px; border-radius: 14px; background: rgba(11, 13, 38, .6); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; color: var(--muted); display: flex; flex-direction: column; line-height: 1.4; }
.ghero__badges b { font-family: var(--font); font-size: 16px; color: #fff; }

.gtools-sec { padding-top: 24px; }
.gtools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 40px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; padding: 10px; border-radius: 18px; background: rgba(11, 13, 38, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); }
.gtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.gtabs::-webkit-scrollbar { display: none; }
.gtab { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; font-family: var(--font); font-weight: 700; font-size: 14px; border: 1px solid var(--line); color: #c9cdea; transition: background .2s, color .2s; }
.gtab:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.gtab.is-on { background: var(--grad); color: #fff; border-color: transparent; }
.gsearch { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--muted); }
.gsearch input { border: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; outline: none; width: 180px; }

.ggrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.ggrid--feat { grid-template-columns: repeat(2, 1fr); }
.ggrid--feat .gcard__title { font-size: 19px; }
.gcard { border-radius: 18px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; }
.gcard:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 0 0 1px rgba(244, 114, 182, .45), 0 20px 50px -14px rgba(219, 39, 119, .55); border-color: transparent; }
.gcard__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.gcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gcard:hover .gcard__thumb img { transform: scale(1.08); }
.gcard__play { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f472b6, #8b5cf6); color: #fff; box-shadow: 0 8px 24px -6px rgba(219, 39, 119, .9); transform: scale(.85); opacity: .9; transition: transform .3s, opacity .3s; }
.gcard:hover .gcard__play { transform: scale(1); opacity: 1; }
.gcard__ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; background: radial-gradient(circle at 30% 20%, rgba(244, 114, 182, .35), transparent 55%), radial-gradient(circle at 80% 90%, rgba(34, 211, 238, .3), transparent 55%), var(--bg-3); }
.gcard__ph span { font-family: var(--font-en), var(--font); font-weight: 800; font-size: clamp(16px, 2vw, 22px); letter-spacing: .04em; text-shadow: 0 4px 20px rgba(0, 0, 0, .6); }
.player__stage { background: radial-gradient(circle at 30% 20%, rgba(244, 114, 182, .3), transparent 55%), radial-gradient(circle at 80% 90%, rgba(34, 211, 238, .25), transparent 55%), #0b0d26; }
.gcard__body { padding: 14px 16px 16px; }
.gcard__title { margin: 0 0 8px; font-family: var(--font); font-weight: 900; font-size: 16px; line-height: 1.45; }
.gcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gchip { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(244, 114, 182, .16); border: 1px solid rgba(244, 114, 182, .45); color: #fbcfe8; }
.gdev { display: flex; gap: 4px; }
.gdev i { font-style: normal; font-size: 10.5px; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--muted); }
.gsoon { text-align: center; padding: 48px 20px; border-radius: 24px; border: 1px dashed rgba(167, 139, 250, .45); background: rgba(139, 92, 246, .06); }
.gsoon__title { font-family: var(--font); font-weight: 900; font-size: 22px; margin: 0 0 8px; }
.gsoon > p { color: var(--muted); }
.gguide-sec { padding-top: 0; }

/* game page */
.gp-head { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 32px) 0 40px; }
.gp-head .entry-hero__bg { position: absolute; inset: 0; z-index: -2; }
.gp-head .entry-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) saturate(1.5); transform: scale(1.2); opacity: .5; }
.gp-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 7, 26, .55), rgba(6, 7, 26, .92) 75%, var(--bg)); }
.gp-title-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.gp-title { font-family: var(--font); font-weight: 900; font-size: clamp(24px, 3.6vw, 40px); line-height: 1.3; margin: 0; }
.gp-title small { display: block; font-size: 13px; letter-spacing: .2em; color: #f9a8d4; margin-top: 6px; }
.gp-badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gp-badges li { font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.gp-badges a { color: #fbcfe8; }

.player { max-width: 1100px; margin: 0 auto; }
.player__stage { position: relative; aspect-ratio: var(--ratio, 16 / 9); max-height: calc(100vh - var(--header-h) - 130px); margin: 0 auto; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(244, 114, 182, .35), 0 0 60px -10px rgba(139, 92, 246, .45); }
.player__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.player__start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 0; background: radial-gradient(circle at center, rgba(6, 7, 26, .2), rgba(6, 7, 26, .65)); color: #fff; cursor: pointer; }
.player__start--off { cursor: default; }
.player__btn { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f472b6, #8b5cf6 60%, #22d3ee); box-shadow: 0 0 0 0 rgba(244, 114, 182, .7), 0 16px 40px -8px rgba(219, 39, 119, .9); animation: pulse 2s infinite; transition: transform .25s; }
.player__start:hover .player__btn { transform: scale(1.08); }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(244, 114, 182, 0), 0 16px 40px -8px rgba(219, 39, 119, .9); } 100% { box-shadow: 0 0 0 0 rgba(244, 114, 182, 0), 0 16px 40px -8px rgba(219, 39, 119, .9); } }
.player__label { font-family: var(--font); font-weight: 900; font-size: clamp(20px, 2.6vw, 28px); text-shadow: 0 4px 20px rgba(0, 0, 0, .7); }
.player__start small { color: #e5e7ff; font-size: 13px; }
.player__bar { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pbtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); font-family: var(--font); font-weight: 700; font-size: 13px; transition: background .2s; }
.pbtn:hover { background: rgba(255, 255, 255, .12); }
.player__stage:fullscreen { max-height: none; border-radius: 0; aspect-ratio: auto; width: 100%; height: 100%; }
.player__stage.is-pseudo-fs { position: fixed; inset: 0; z-index: 200; max-height: none; border-radius: 0; aspect-ratio: auto; }
.pseudo-fs-close { position: fixed; top: 10px; right: 10px; z-index: 210; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 22px; }

.gp-lead { font-size: 18px; font-weight: 700; color: #1e1b4b; }
.gp-ctrl { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.gp-ctrl li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 14px; border-radius: 12px; background: #f5f4ff; }
.gp-ctrl kbd { flex-shrink: 0; min-width: 96px; text-align: center; font-family: var(--font); font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 8px; background: #fff; border: 1px solid #ddd8fb; border-bottom-width: 3px; color: #312e81; }
.side-cta { display: block; text-align: center; padding: 14px; border-radius: 14px; background: var(--grad); font-family: var(--font); font-weight: 700; }

@media (max-width: 1100px) {
	.ggrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.ggrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.gsearch input { width: 120px; }
}
@media (max-width: 600px) {
	br.sp { display: inline; }
	.ggrid--feat { grid-template-columns: 1fr; }
	.gcard__title { font-size: 14px; }
	.gcard__body { padding: 10px 12px 12px; }
	.gcard__play { width: 38px; height: 38px; right: 8px; bottom: 8px; }
	.gtools { top: calc(var(--header-h) + 4px); }
	.gsearch { width: 100%; }
	.gsearch input { width: 100%; }
	.player__stage { border-radius: 14px; max-height: none; }
	.player__btn { width: 76px; height: 76px; }
	.gp-ctrl kbd { min-width: 76px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.gnav { display: none; }
	.burger { display: flex; }
	.site-header__tools { margin-left: auto; }
	.entry-layout { grid-template-columns: 1fr; }
	.entry-side { display: none; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.pickup { grid-template-columns: 1fr 1fr; }
	.card--big { grid-column: span 2; grid-row: auto; }
	.portals { grid-template-columns: 1fr 1fr; }
	.portal, .portal:nth-child(1), .portal:nth-child(2) { grid-column: span 1; min-height: 260px; }
	.portal:nth-child(1) { grid-column: span 2; }
	.steps-road { grid-template-columns: 1fr 1fr; }
	.steps-road::before { display: none; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__about { grid-column: span 2; }
}
@media (max-width: 600px) {
	:root { --header-h: 62px; }
	.container { width: calc(100% - 32px); }
	.brand__name { font-size: 18px; }
	.brand__mark { width: 34px; height: 34px; }
	.hero { min-height: 100svh; padding-bottom: 80px; }
	.hero__title { font-size: clamp(28px, 8.4vw, 40px); }
	.hero__line em { margin-right: .06em; }
	.hero::before { background: linear-gradient(180deg, rgba(6, 7, 26, .55) 0%, rgba(6, 7, 26, .78) 45%, rgba(6, 7, 26, .97) 100%); }
	.hero__bg img { object-position: 72% center; }
	.hero__cta .btn { flex: 1 1 100%; justify-content: center; }
	.hero__stats { width: 100%; }
	.hero__stats li { flex: 1; padding: 12px 10px; align-items: center; }
	.hero__stats strong { font-size: 22px; }
	.grid, .grid--4 { grid-template-columns: 1fr; }
	.pickup { grid-template-columns: 1fr; }
	.card--big { grid-column: auto; }
	.card--big .card__thumb { min-height: 280px; }
	.card--big .card__body { padding: 20px; }
	.portals { grid-template-columns: 1fr; }
	.portal, .portal:nth-child(1), .portal:nth-child(2) { grid-column: auto; min-height: 240px; }
	.steps-road { grid-template-columns: 1fr; }
	.sec-head--row { flex-direction: column; align-items: flex-start; }
	.entry-body { border-radius: 18px; padding: 24px 18px; font-size: 16px; line-height: 1.95; }
	.entry-body h2 { margin-inline: -6px; padding: 18px 16px 18px 20px; }
	.entry-eyecatch { border-radius: 14px; transform: translateY(24px); }
	.entry-layout { padding-top: 50px; }
	.linkcard__thumb { flex-basis: 110px; }
	.linkcard__thumb img { width: 110px; height: 62px; }
	.pn { grid-template-columns: 1fr; }
	.pn__item--next { grid-column: auto; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__about { grid-column: auto; }
	.editor-box { flex-direction: column; }
	ol.steps > li { padding-left: 54px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}
