@import '_content/Linkye.Amazon.Web.Client/Linkye.Amazon.Web.Client.uld97hkibi.bundle.scp.css';
@import '_content/Linkye.Amazon.Web/Linkye.Amazon.Web.9j1axyyvho.bundle.scp.css';
@import '_content/Linkye.Study.Takken.Web.Client/Linkye.Study.Takken.Web.Client.jt3icfkdiy.bundle.scp.css';
@import '_content/Linkye.Study.Takken.Web/Linkye.Study.Takken.Web.5bufku4k7q.bundle.scp.css';
@import '_content/Linkye.Web.UI/Linkye.Web.UI.fga3kzd0du.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
main[b-reyetnrsp8] {
    min-height: 60vh;
}

/* ヘッダーの包みを配置から外し、固定ヘッダーがページ全体を基準に上端へ留まれるようにします。 */
.main-layout-header[b-reyetnrsp8] {
    display: contents;
}

/* 問題を開始したら、共通メニューより演習画面を優先して表示します。 */
.main-layout:has([data-practice-session="active"]) .main-layout-header[b-reyetnrsp8],
.main-layout:has([data-practice-session="active"]) .main-layout-footer[b-reyetnrsp8] {
    display: none;
}

/* スマートフォンの表示領域を使い、長文問題は通常どおり縦へ伸ばします。 */
.main-layout:has([data-practice-session="active"]) main[b-reyetnrsp8] {
    min-height: 100svh;
    background: var(--blue-soft);
}

/* ミニゲームでは常設の戻る操作を専用バーへ移し、共通ヘッダー・フッターの高さを取り除きます。 */
.main-layout:has([data-arcade-play]) .main-layout-header[b-reyetnrsp8],
.main-layout:has([data-arcade-play]) .main-layout-footer[b-reyetnrsp8] {
    display: none;
}

.main-layout:has([data-arcade-play])[b-reyetnrsp8],
.main-layout:has([data-arcade-play]) main[b-reyetnrsp8] {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
}
/* /Components/Layout/StudyLayout.razor.rz.scp.css */
/* 学習メニューの共通原本はstudy-shell.scssに置き、演習開始前のフレーム幅だけを管理します。 */
.study-layout[b-0vjh2ih1rh] { min-width: 0; }
/* /Components/Legal/JapaneseLegalDocument.razor.rz.scp.css */
/* 両法務ページの文字組みを共有し、長い日本語本文とURLを狭い画面でも読める幅に収めます。 */
.legal-document[b-myz3mjnyws] {
    max-width: 900px;
    overflow-wrap: anywhere;
    line-height: 1.9;
}

.legal-header[b-myz3mjnyws] {
    margin-bottom: 2rem;
}

.legal-header h1[b-myz3mjnyws] {
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.legal-dates[b-myz3mjnyws] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin: 0;
    color: var(--muted);
    font-size: .875rem;
}

.legal-dates dt[b-myz3mjnyws] {
    font-weight: 600;
}

.legal-dates dd[b-myz3mjnyws] {
    margin: 0;
}

.legal-contents[b-myz3mjnyws] {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--blue-soft);
    margin-bottom: 3rem;
}

.legal-contents h2[b-myz3mjnyws] {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

/* 目次と本文はページのRenderFragmentで渡すため、共通文書の内側だけに適用します。 */
.legal-document[b-myz3mjnyws]  a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.legal-document[b-myz3mjnyws]  a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

.legal-contents[b-myz3mjnyws]  ul {
    display: grid;
    gap: .5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.legal-body[b-myz3mjnyws]  h2,
.legal-body[b-myz3mjnyws]  h3,
.legal-body[b-myz3mjnyws]  h4 {
    line-height: 1.5;
    scroll-margin-top: 2rem;
}

.legal-body[b-myz3mjnyws]  h2 {
    font-size: 1.5rem;
    margin: 3rem 0 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--line);
}

.legal-body[b-myz3mjnyws]  h3 {
    font-size: 1.125rem;
    margin: 2rem 0 1rem;
}

.legal-body[b-myz3mjnyws]  h4 {
    font-size: 1rem;
    margin: 1.5rem 0 .75rem;
}

.legal-body[b-myz3mjnyws]  p {
    margin-bottom: 1rem;
}

.legal-body[b-myz3mjnyws]  ol,
.legal-body[b-myz3mjnyws]  ul {
    padding-left: 1.75rem;
    margin-bottom: 1.5rem;
}

.legal-body[b-myz3mjnyws]  li {
    padding-left: .25rem;
    margin-bottom: .75rem;
}

/* 原資料の号番号「(1)」を維持し、項番号と号番号を読み分けられるようにします。 */
.legal-body[b-myz3mjnyws]  .legal-subitems {
    list-style: none;
    counter-reset: legal-subitem;
    margin-top: .75rem;
    margin-bottom: 0;
    padding-left: 2rem;
}

.legal-body[b-myz3mjnyws]  .legal-subitems > li {
    counter-increment: legal-subitem;
    position: relative;
}

.legal-body[b-myz3mjnyws]  .legal-subitems > li::before {
    content: "(" counter(legal-subitem) ")";
    position: absolute;
    left: -2rem;
}

@media (max-width: 760px) {
    .legal-document[b-myz3mjnyws] {
        padding-top: 2.5rem;
    }

    .legal-contents[b-myz3mjnyws] {
        padding: 1.25rem;
    }

    .legal-body[b-myz3mjnyws]  h2 {
        font-size: 1.25rem;
    }
}
/* /Components/Pages/Games/ArcadeHub.razor.rz.scp.css */
/* 既存ゲーム一覧と同じトークンで、小さな画面でもゲームごとの入口を表示します。 */
.arcade-hub[b-fh1adrtpjg] { padding-block: 32px 72px; overflow-wrap: anywhere; }
.arcade-breadcrumb[b-fh1adrtpjg] { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .8125rem; }
.arcade-breadcrumb a[b-fh1adrtpjg] { color: var(--blue); }
.arcade-heading[b-fh1adrtpjg] { max-width: 720px; margin-block: 42px 36px; }
.arcade-heading h1[b-fh1adrtpjg] { margin: 12px 0 18px; font-size: clamp(2rem, 5vw, 3.25rem); }
.arcade-heading p[b-fh1adrtpjg] { color: var(--muted); line-height: 1.9; }
/* 見出しの直後に全件一覧を置くため、棚の後に置く場合の上余白を外します。 */
.arcade-hub[b-fh1adrtpjg]  .game-library { margin-top: 0; }
.arcade-empty[b-fh1adrtpjg] { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
/* /Components/Pages/Games/ArcadePlay.razor.rz.scp.css */
/* プレイ領域の寸法はホストで定め、ゲーム側へページ全体のDOMを渡しません。
   動的viewportとsafe-areaへ追従し、ブラウザーのFullscreen APIは使用しません。 */
.arcade-play[b-986ny5qvs4] {
    position: fixed;
    inset: 0;
    z-index: 25;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    overflow-wrap: anywhere;
    background: #f6f1df;
    color: var(--ink);
}

arcade-player[b-986ny5qvs4] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.arcade-toolbar[b-986ny5qvs4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    padding: max(6px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 6px max(12px, env(safe-area-inset-left, 0px));
    border-bottom: 1px solid #dce4d5;
    background: #fffcf4;
}

.arcade-toolbar h1[b-986ny5qvs4] {
    flex: 1 1 160px;
    min-width: 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.4;
}

.arcade-back[b-986ny5qvs4], .arcade-tool[b-986ny5qvs4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    min-width: 44px;
    padding: 8px 12px;
    border: 1px solid #cad9cf;
    border-radius: 14px;
    color: #285b59;
    background: #fffef8;
    font: inherit;
    font-size: .8125rem;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.arcade-back:focus-visible[b-986ny5qvs4], .arcade-tool:focus-visible[b-986ny5qvs4] {
    outline: 3px solid #367f78;
    outline-offset: 2px;
}

.arcade-tool[hidden][b-986ny5qvs4] { display: none; }
[data-rank-status]:empty[b-986ny5qvs4] { display: none; }
[data-rank-status][b-986ny5qvs4] { font-size: .875rem; }
.arcade-tool:disabled[b-986ny5qvs4] { opacity: .45; cursor: default; }
.arcade-actions[b-986ny5qvs4] { display: flex; flex-wrap: wrap; gap: 6px; }
.arcade-content[b-986ny5qvs4] { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.arcade-viewport[b-986ny5qvs4] { width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }

/* 紹介画面の表示中は押せない一時停止・再スタートを隠し、開始前の操作をランキングと遊び方に絞ります。
   :has() 非対応の環境では従来どおり無効状態のボタンを表示します。 */
arcade-player:has(.arcade-intro:not([hidden])) .arcade-actions .arcade-tool:disabled[b-986ny5qvs4] { display: none; }

/* ゲーム中の状態は読み上げへ残し、水槽の上に重複した状態バーを置きません。
   動的に追加されるゲームDOMだけへ、ページのCSS isolationを限定して解除します。 */
.arcade-viewport[b-986ny5qvs4]  .arcade-host { height: 100%; min-height: 0; border-radius: 0; }
.arcade-viewport[b-986ny5qvs4]  .arcade-surface { height: 100%; min-height: 0; }
.arcade-viewport[b-986ny5qvs4]  .arcade-host:is([data-state="loading"], [data-state="running"], [data-state="paused"], [data-state="ended"]) .arcade-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* 紹介画面は、紹介画像をぼかした背景の上に画像と開始カードを並べます。
   背景・暗幕は固定し、文字拡大や低い画面では .arcade-stage の中だけをスクロールします。
   画像のない作品は既定の夜の海のグラデーションを使い、作品ごとの個別配色は持ちません。
   サイズcontainerにより、操作バーの段数を除いた実際の紹介領域の幅・高さで配置を切り替えます。 */
.arcade-intro[b-986ny5qvs4] {
    position: absolute;
    inset: 0;
    overflow: hidden;
    isolation: isolate;
    container: arcade-intro / size;
    background: radial-gradient(120% 90% at 50% 0%, #27507a, #0b1628 70%);
    transition: opacity .4s ease;
    transition: opacity .4s ease, display .4s allow-discrete;
}

/* ゲーム開始時は紹介画面をフェードアウトさせます。表示の切替を遅らせる非対応環境では即時に閉じ、
   フェード中も入力はゲームへ通します。 */
.arcade-intro[hidden][b-986ny5qvs4] { display: none; opacity: 0; pointer-events: none; }

/* 同じ画像をぼかして敷きます。transformによる拡大は紹介領域をスクロール可能にし、フォーカス移動で
   画面がずれるため使いません。ぼかしで薄くなる縁は下地のグラデーションと暗幕で周辺減光として見せます。 */
.arcade-backdrop[b-986ny5qvs4] {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
    filter: blur(40px) saturate(1.35);
    pointer-events: none;
}

/* 明るい紹介画像でも開始カードと画像の輪郭が沈まないよう、周辺を暗くする暗幕を重ねます。 */
.arcade-intro[b-986ny5qvs4]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(90% 75% at 50% 35%, transparent, rgb(6 13 26 / .5)),
        linear-gradient(180deg, rgb(6 13 26 / .18), rgb(6 13 26 / .55));
    pointer-events: none;
}

.arcade-stage[b-986ny5qvs4] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-content: safe center;
    gap: 20px;
    gap: clamp(14px, 3cqh, 32px);
    padding: 24px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px));
    padding-block: clamp(16px, 4cqh, 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    /* フォーカス移動で表示する入力欄などが、下端に固定した開始ボタンの裏へ隠れないようにします。 */
    scroll-padding-block-end: 6.5rem;
    transition: scale .45s ease;
}

.arcade-stage > *[b-986ny5qvs4] { flex-shrink: 0; }
.arcade-intro[hidden] .arcade-stage[b-986ny5qvs4] { scale: 1.03; }

/* 表示時は画像とカードを少し時間差で浮かび上がらせます。動き軽減では共通スタイルが遷移を止めます。 */
.arcade-cover[b-986ny5qvs4], .arcade-welcome[b-986ny5qvs4] { transition: opacity .5s ease, translate .5s cubic-bezier(.2, .7, .2, 1); }
.arcade-welcome[b-986ny5qvs4] { transition-delay: .06s; }

@starting-style {
    .arcade-cover[b-986ny5qvs4], .arcade-welcome[b-986ny5qvs4] { opacity: 0; translate: 0 14px; }
}

/* 紹介画像は切り抜かず、高さの上限に当たった場合も幅を比率どおりに縮めて、角丸と影を画像の描画範囲に合わせます。
   幅・高さをautoにした置換要素の最大値は縦横比を保って解決されます。小さな画像も極端に縮まないよう最小幅を設けます。 */
.arcade-cover[b-986ny5qvs4] {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 48rem);
    margin: 0;
}

.arcade-cover img[b-986ny5qvs4] {
    display: block;
    width: auto;
    min-width: min(100%, 20rem);
    max-width: 100%;
    height: auto;
    max-height: 42vh;
    max-height: 42cqh;
    border-radius: 20px;
    object-fit: contain;
    filter: drop-shadow(0 18px 36px rgb(2 8 20 / .5));
}

/* 読み込み中は画像の背後の光だけを明滅させ、合成処理で済むopacityの変化で起動中を表現します。
   負のinsetはスクロール範囲を広げるため使わず、ぼかしの広がりで画像の外へ光をにじませます。 */
.arcade-cover[b-986ny5qvs4]::before {
    content: "";
    position: absolute;
    inset: 4% 6%;
    z-index: -1;
    border-radius: 32px;
    background: radial-gradient(closest-side, #79a3ff, #3fd0bd 62%, transparent);
    opacity: 0;
    filter: blur(28px);
    transition: opacity .4s ease;
    pointer-events: none;
}

arcade-player[data-state="loading"] .arcade-cover[b-986ny5qvs4]::before { animation: arcade-charge-b-986ny5qvs4 1.6s ease-in-out infinite; }

/* 説明・参加設定・開始ボタンを一枚の白いカードにまとめ、背景画像の明暗に関係なく文字の対比を保ちます。 */
.arcade-welcome[b-986ny5qvs4] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: min(100%, 38rem);
    min-width: 0;
    padding: 24px 24px 12px;
    padding: clamp(20px, 4cqw, 32px) clamp(18px, 4cqw, 32px) clamp(8px, 2cqw, 20px);
    border: 1px solid rgb(255 255 255 / .7);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    box-shadow: 0 30px 80px -24px rgb(2 8 20 / .6), 0 2px 8px rgb(2 8 20 / .08);
    text-align: start;
    /* 日本語は対応ブラウザーで文節の区切りで折り返し、語の途中での改行を減らします。 */
    word-break: auto-phrase;
}

.arcade-welcome .eyebrow[b-986ny5qvs4] {
    align-self: flex-start;
    margin: 0;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--blue-soft);
    font-size: .6875rem;
    line-height: 1.7;
    letter-spacing: .1em;
}

.arcade-welcome h2[b-986ny5qvs4] {
    margin: 0;
    font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.125rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.arcade-description[b-986ny5qvs4] {
    margin: 0;
    color: #4b566c;
    font-size: .9375rem;
    line-height: 1.85;
    white-space: pre-line;
    text-wrap: pretty;
}

/* ランキング参加は任意のため、既定はオフのスイッチだけを示し、オンにした場合だけ掲載名の欄を開きます。 */
.arcade-rank-entry[b-986ny5qvs4] {
    margin-top: 2px;
    border: 1px solid #e2e7f0;
    border-radius: 18px;
    background: #f7f9fc;
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.arcade-rank-entry:has([data-rank-join]:checked)[b-986ny5qvs4] {
    border-color: #c5d5fb;
    background: #f4f7ff;
    box-shadow: 0 0 0 4px rgb(55 108 244 / .08);
}

/* 行全体をラベルにして、文言・アイコン・スイッチのどこを押しても切り替えられるようにします。 */
.arcade-rank-switch[b-986ny5qvs4] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    margin: 0;
    padding: 12px 14px 12px 12px;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.arcade-rank-icon[b-986ny5qvs4] {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffe08a, #ffad5c);
    color: #7c4300;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 4px 10px -4px rgb(214 120 18 / .6);
}

.arcade-rank-icon svg[b-986ny5qvs4] {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.arcade-rank-copy[b-986ny5qvs4] { display: grid; gap: 2px; min-width: 0; }
.arcade-rank-title[b-986ny5qvs4] { font-size: .9375rem; font-weight: 750; line-height: 1.45; }
.arcade-rank-hint[b-986ny5qvs4] { color: var(--muted); font-size: .8125rem; line-height: 1.55; text-wrap: pretty; }

/* checkboxの意味を保ったまま役割をswitchとして伝え、見た目だけを左右に動くトグルにします。 */
.arcade-rank-switch input[b-986ny5qvs4] {
    position: relative;
    flex: none;
    width: 52px;
    height: 32px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: #c9d1de;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background-color .2s ease;
}

.arcade-rank-switch input[b-986ny5qvs4]::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgb(16 24 40 / .3);
    transition: transform .25s cubic-bezier(.3, 1.3, .5, 1);
}

.arcade-rank-switch:hover input:not(:checked)[b-986ny5qvs4] { background: #b8c2d3; }
.arcade-rank-switch input:checked[b-986ny5qvs4] { background: var(--blue); }
.arcade-rank-switch input:checked[b-986ny5qvs4]::before { transform: translateX(20px); }
.arcade-rank-switch input:focus[b-986ny5qvs4] { outline: none; }
.arcade-rank-switch input:focus-visible[b-986ny5qvs4] { outline: 3px solid var(--blue); outline-offset: 3px; }

/* 高さ0frから1frへの遷移で入力欄を開閉します。閉じている間はvisibilityでTab移動と読み上げからも外し、
   :has() 非対応の環境では入力欄を常に表示します。開くときは直後に入力欄へフォーカスできるよう即時に表示し、
   閉じるときは縮み終わってから非表示にします。 */
.arcade-rank-fields[b-986ny5qvs4] {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows .3s ease, visibility 0s;
}

.arcade-rank-entry:has([data-rank-join]:not(:checked)) .arcade-rank-fields[b-986ny5qvs4] {
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .3s ease, visibility 0s .3s;
}

/* 開閉中に縦の余白が残らないよう、区切り線と下余白も切り取られる疑似要素で作ります。 */
.arcade-rank-field[b-986ny5qvs4] {
    min-height: 0;
    overflow: hidden;
    padding-inline: 14px;
}

.arcade-rank-field[b-986ny5qvs4]::before {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 12px;
    background: #dde3ee;
}

.arcade-rank-field[b-986ny5qvs4]::after {
    content: "";
    display: block;
    height: 14px;
}

.arcade-rank-field label[b-986ny5qvs4] {
    display: block;
    margin-bottom: 6px;
    color: #3b4760;
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.5;
}

/* iOSで入力時に画面が拡大されないよう、入力欄の文字は16px以上にします。 */
.arcade-rank-field input[b-986ny5qvs4] {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #cdd5e0;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color .15s ease, box-shadow .15s ease;
}

/* 強制カラーモードでは影が消えるため、透明な輪郭線をフォーカス表示の代替として残します。 */
.arcade-rank-field input:focus[b-986ny5qvs4] {
    border-color: var(--blue);
    outline: 2px solid transparent;
    box-shadow: 0 0 0 4px rgb(55 108 244 / .18);
}

.arcade-rank-field input[aria-invalid="true"][b-986ny5qvs4] {
    border-color: #c2334a;
    box-shadow: 0 0 0 4px rgb(194 51 74 / .14);
}

/* 文の区切りの改行は翻訳リソースに持たせ、表示側ではその改行と自然な折り返しを両方保ちます。 */
.arcade-rank-error[b-986ny5qvs4] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 8px 0 0;
    color: #b42338;
    font-size: .8125rem;
    font-weight: 650;
    line-height: 1.6;
    white-space: pre-line;
    text-wrap: pretty;
}

.arcade-rank-error:empty[b-986ny5qvs4] { display: none; }

/* 記号は装飾として扱い、代替テキスト構文に対応した環境では読み上げから外します。 */
.arcade-rank-error[b-986ny5qvs4]::before, arcade-player[data-state="error"] .arcade-status-text[b-986ny5qvs4]::before {
    content: "!";
    content: "!" / "";
    display: grid;
    flex: none;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    background: #c2334a;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1;
}

/* 読み込みが始まった参加設定は変更できない状態に見せ、送信する掲載名が途中で変わらないようにします。 */
arcade-player[data-state="loading"] .arcade-rank-entry[b-986ny5qvs4] { opacity: .6; pointer-events: none; }

/* 開始ボタンと共通ローダーを同じ格子位置へ重ね、高さを揃えて押した位置のまま読み込み表示へ切り替えます。
   内容が画面より長い場合は下端へ固定し、文字拡大時もスクロールせずに開始できます。 */
.arcade-launch[b-986ny5qvs4] {
    position: sticky;
    bottom: 0;
    z-index: 1;
    display: grid;
    align-items: center;
    min-height: 4.25rem;
    margin-top: 4px;
    padding-bottom: 12px;
    background: #fff;
}

.arcade-launch[b-986ny5qvs4]::before {
    content: "";
    position: absolute;
    inset: auto 0 100%;
    height: 14px;
    background: linear-gradient(to top, #fff, rgb(255 255 255 / 0));
    pointer-events: none;
}

.arcade-launch > *[b-986ny5qvs4] {
    grid-area: 1 / 1;
    transition: opacity .25s ease, transform .25s ease;
    transition: opacity .25s ease, transform .25s ease, display .25s allow-discrete;
}

.arcade-launch > [hidden][b-986ny5qvs4] { display: none; opacity: 0; transform: scale(.96); pointer-events: none; }

@starting-style {
    .arcade-launch > *[b-986ny5qvs4] { opacity: 0; transform: scale(.96); }
}

/* 共通ボタンの青を基調に立体感と光沢を加え、押下時は沈み込みで操作を受け付けたことを返します。 */
.arcade-launch .arcade-start[b-986ny5qvs4] {
    position: relative;
    width: 100%;
    min-height: 3.75rem;
    gap: 12px;
    padding: 12px 24px;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(180deg, #4b80ff, #376cf4 55%, #2c5ae0);
    box-shadow: 0 14px 28px -12px rgb(55 108 244 / .85), inset 0 1px 0 rgb(255 255 255 / .28);
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: .02em;
    transition: opacity .25s ease, transform .18s ease, box-shadow .18s ease, filter .18s ease;
    transition: opacity .25s ease, transform .18s ease, box-shadow .18s ease, filter .18s ease, display .25s allow-discrete;
}

.arcade-launch .arcade-start:hover[b-986ny5qvs4] {
    background: linear-gradient(180deg, #4b80ff, #376cf4 55%, #2c5ae0);
    box-shadow: 0 18px 34px -12px rgb(55 108 244 / .95), inset 0 1px 0 rgb(255 255 255 / .28);
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.arcade-launch .arcade-start:active[b-986ny5qvs4] {
    box-shadow: 0 6px 14px -8px rgb(55 108 244 / .85), inset 0 2px 6px rgb(4 16 48 / .2);
    filter: brightness(.97);
    transform: translateY(1px) scale(.985);
    transition-duration: .06s;
}

.arcade-launch .arcade-start:focus-visible[b-986ny5qvs4] { outline: 3px solid var(--blue); outline-offset: 4px; }

/* 待機中だけ数秒ごとに光が横切り、主操作の位置を控えめに示します。 */
.arcade-launch .arcade-start[b-986ny5qvs4]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .32) 50%, transparent 65%);
    transform: translateX(-120%);
    pointer-events: none;
}

arcade-player[data-state="idle"] .arcade-launch .arcade-start[b-986ny5qvs4]::after { animation: arcade-glint-b-986ny5qvs4 5s ease-in-out 1.2s infinite; }

.arcade-start-icon[b-986ny5qvs4] {
    display: grid;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgb(255 255 255 / .22);
}

.arcade-start-icon svg[b-986ny5qvs4] { width: 14px; height: 14px; margin-inline-start: 2px; fill: currentColor; }

/* 共通ローダーを開始ボタンと同じ丸い枠に収め、ボタンが読み込み表示へ変わったように見せます。 */
.arcade-loading[b-986ny5qvs4] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 3.75rem;
    border: 1px solid #d5e1ff;
    border-radius: 999px;
    background: linear-gradient(180deg, #f6f9ff, #eaf0ff);
    cursor: progress;
}

.arcade-status-text[b-986ny5qvs4] { margin: 0; color: var(--muted); font-size: .875rem; text-align: center; }

/* 共通の読み込み部品・開始ボタンとライブ通知が同じ文を重複表示しないよう、待機中と読み込み中は通知を視覚的に隠します。 */
arcade-player:is([data-state="idle"], [data-state="loading"]) .arcade-status-text[b-986ny5qvs4] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* 失敗は開始カードの中で目立つ通知にし、同じ開始ボタンからそのまま再試行できるようにします。 */
arcade-player[data-state="error"] .arcade-status-text[b-986ny5qvs4] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 14px;
    border: 1px solid #f4c5cd;
    border-radius: 14px;
    background: #fff3f5;
    color: #a1233a;
    font-weight: 650;
    text-align: start;
}

.arcade-welcome noscript[b-986ny5qvs4] { color: #a1233a; font-weight: 650; }
.arcade-play [hidden][b-986ny5qvs4] { display: none; }

/* 幅の狭い携帯電話では装飾のアイコンを省き、参加の説明文を折り返しの少ない幅で読めるようにします。 */
@container arcade-intro (max-width: 359px) {
    .arcade-rank-switch[b-986ny5qvs4] { grid-template-columns: minmax(0, 1fr) auto; padding-inline-start: 14px; }
    .arcade-rank-icon[b-986ny5qvs4] { display: none; }
}

/* 横長で十分な広さがある画面では、画像とカードを左右に並べてスクロールせずに開始できるようにします。 */
@container arcade-intro (min-width: 860px) and (min-aspect-ratio: 6 / 5) {
    .arcade-stage[b-986ny5qvs4] {
        flex-direction: row;
        align-items: safe center;
        gap: clamp(24px, 4cqw, 56px);
        padding-inline: clamp(24px, 4cqw, 64px);
    }

    .arcade-cover[b-986ny5qvs4] { flex: 1 1 0; width: auto; min-width: 0; max-width: 64rem; }
    .arcade-cover img[b-986ny5qvs4] { max-height: 78cqh; border-radius: 24px; }
    .arcade-welcome[b-986ny5qvs4] { flex: 0 1 31rem; width: auto; min-width: 20rem; }
}

/* 横持ちの携帯電話では高さを優先し、画像とカードを並べて余白と文字を詰めます。 */
@container arcade-intro (min-width: 520px) and (max-height: 460px) {
    .arcade-stage[b-986ny5qvs4] {
        flex-direction: row;
        align-items: safe center;
        gap: 16px;
        padding-block: 12px;
    }

    .arcade-cover[b-986ny5qvs4] { flex: 1 1 0; width: auto; min-width: 0; }
    .arcade-cover img[b-986ny5qvs4] { max-height: calc(100cqh - 24px); border-radius: 14px; }
    .arcade-welcome[b-986ny5qvs4] { flex: 1 1 0; width: auto; min-width: 0; max-width: 26rem; gap: 10px; padding: 14px 16px 4px; border-radius: 18px; }
    /* 分類名は操作バーとタイトルから分かるため、高さの足りない横持ちでは開始ボタンを優先して省きます。 */
    .arcade-welcome .eyebrow[b-986ny5qvs4] { display: none; }
    .arcade-welcome h2[b-986ny5qvs4] { font-size: 1.25rem; }
    .arcade-description[b-986ny5qvs4] { font-size: .8125rem; line-height: 1.7; }
    .arcade-rank-switch[b-986ny5qvs4] { min-height: 56px; padding-block: 8px; }
    .arcade-rank-icon[b-986ny5qvs4] { width: 34px; height: 34px; border-radius: 10px; }
    .arcade-launch[b-986ny5qvs4] { padding-bottom: 8px; }
}

@keyframes arcade-charge-b-986ny5qvs4 {
    0%, 100% { opacity: .35; }
    50% { opacity: .95; }
}

@keyframes arcade-glint-b-986ny5qvs4 {
    0%, 72% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

/* 強制カラーモードでも、スイッチの枠・つまみ・オン状態をシステム色で識別できるようにします。 */
@media (forced-colors: active) {
    .arcade-rank-switch input[b-986ny5qvs4] { border: 1px solid ButtonText; background: Canvas; forced-color-adjust: none; }
    .arcade-rank-switch input[b-986ny5qvs4]::before { background: ButtonText; box-shadow: none; }
    .arcade-rank-switch input:checked[b-986ny5qvs4] { background: Highlight; }
    .arcade-rank-switch input:checked[b-986ny5qvs4]::before { background: HighlightText; }
}

/* native dialogで背景の操作とTab移動を止め、長い説明は本文だけをスクロールします。 */
.arcade-help[b-986ny5qvs4] {
    width: min(36rem, calc(100% - 24px));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    margin: auto;
    padding: 0;
    border: 1px solid #cad9cf;
    border-radius: var(--radius);
    background: #fffcf4;
    color: var(--ink);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.arcade-help[open][b-986ny5qvs4] { display: flex; flex-direction: column; }
.arcade-help[b-986ny5qvs4]::backdrop { background: #142e35a6; }
.arcade-help-heading[b-986ny5qvs4] { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #dce4d5; }
.arcade-help-heading h2[b-986ny5qvs4] { margin: 0; font-size: 1.25rem; }
.arcade-help-heading form[b-986ny5qvs4] { flex: none; margin: 0; }
.arcade-help-body[b-986ny5qvs4] { min-height: 0; padding: 20px; overflow-y: auto; overscroll-behavior: contain; }
.arcade-help-body h3[b-986ny5qvs4] { margin-block: 0 12px; font-size: 1rem; }
.arcade-help-body p[b-986ny5qvs4] { margin-block: 0 24px; line-height: 1.8; white-space: pre-line; }
.arcade-not-found[b-986ny5qvs4] { padding-block: 32px 64px; }

/* 閉じる操作を常設し、長い表や文字拡大では本文だけをスクロールします。 */
.arcade-rank-dialog[b-986ny5qvs4] { width: min(64rem, calc(100% - 2rem)); box-sizing: border-box; }
.arcade-rank-body[b-986ny5qvs4] { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 1rem 1rem; }
.arcade-rank-body [role="status"]:empty[b-986ny5qvs4] { display: none; }
@media (max-width: 640px), (max-height: 500px) {
    .arcade-rank-dialog[b-986ny5qvs4] {
        width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0;
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }
}
@media (max-width: 640px) {
    .arcade-toolbar[b-986ny5qvs4] { gap: 4px 8px; }
    .arcade-toolbar h1[b-986ny5qvs4] { flex-basis: 100px; font-size: .875rem; }
    .arcade-back[b-986ny5qvs4], .arcade-tool[b-986ny5qvs4] { padding-inline: 10px; }
    .arcade-actions[b-986ny5qvs4] { width: 100%; justify-content: flex-end; }
    .arcade-actions .arcade-tool[b-986ny5qvs4] { flex: 1 1 0; }
}

/* 横持ちでは水槽の高さを確保し、操作バーを一段に収めます。紹介画面の配置は上のサイズcontainerで切り替えます。 */
@media (max-height: 500px) and (min-width: 540px) {
    .arcade-toolbar[b-986ny5qvs4] { flex-wrap: nowrap; gap: 8px; }
    .arcade-toolbar h1[b-986ny5qvs4] { flex-basis: 100px; }
    .arcade-actions[b-986ny5qvs4] { width: auto; flex-wrap: nowrap; }
    .arcade-actions .arcade-tool[b-986ny5qvs4] { flex: none; }
}
/* /Components/Pages/Games/ArcadeRankingPanel.razor.rz.scp.css */
/* 順位・自己記録を小さい画面でも切り捨てず、表の領域だけ横に移動できます。 */
.leaderboard[b-6je5xex3w8] { padding-block: 1rem; min-width: 0; overflow-wrap: anywhere; }
/* 区分・期間の切り替えは淡い面のツールバーにまとめ、狭幅では折り返します。 */
.leaderboard form[b-6je5xex3w8] { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: end; margin-block: 0 1.25rem; padding: .875rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: #f7f9fd; }
.leaderboard label[b-6je5xex3w8] { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; min-width: 0; max-width: 100%; color: var(--muted); font-size: .8125rem; font-weight: 700; }
.leaderboard select[b-6je5xex3w8] { padding: .5rem .75rem; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; border: 1px solid #d5ddeb; border-radius: 12px; background: var(--canvas); color: var(--ink); font: inherit; font-weight: 650; }
.leaderboard h2[b-6je5xex3w8], .leaderboard h3[b-6je5xex3w8] { margin: 0 0 .35rem; font-size: 1.125rem; letter-spacing: -.02em; }
.leaderboard p[b-6je5xex3w8] { margin: 0 0 .35rem; color: var(--muted); font-size: .8125rem; line-height: 1.7; }
.records[b-6je5xex3w8] { overflow-x: auto; max-width: 100%; margin-top: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--canvas); }
.records th[b-6je5xex3w8], .records td[b-6je5xex3w8] { min-width: 4ch; }
.records th[scope="row"][b-6je5xex3w8] { min-width: 7em; max-width: 18em; overflow-wrap: anywhere; }
.records td[b-6je5xex3w8] { white-space: nowrap; }
.leaderboard select[b-6je5xex3w8], .leaderboard button[b-6je5xex3w8] { min-height: 44px; }
.records table[b-6je5xex3w8] { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.records caption[b-6je5xex3w8] { padding: .75rem 1rem 0; text-align: start; font-weight: 700; }
.records th[b-6je5xex3w8], .records td[b-6je5xex3w8] { padding: .7rem 1rem; text-align: start; border-bottom: 1px solid #edf1f7; }
.records thead th[b-6je5xex3w8] { color: var(--muted); font-size: .75rem; font-weight: 700; }
.records tbody tr:last-child > *[b-6je5xex3w8] { border-bottom: 0; }
.records tbody th[b-6je5xex3w8] { font-weight: 700; }
/* 順位は丸の中に数字で示し、上位3位は金・銀・銅の色と枠線で区別します。数字自体も表示するため色だけに頼りません。 */
.rank-badge[b-6je5xex3w8] { display: inline-grid; place-items: center; min-width: 2em; height: 2em; padding-inline: .35em; border-radius: 100px; background: #eef2f9; color: var(--ink); font-weight: 800; }
tr[data-rank="1"] .rank-badge[b-6je5xex3w8] { background: linear-gradient(135deg, #ffe58a, #f2c230); box-shadow: inset 0 0 0 2px #c99a10; }
tr[data-rank="2"] .rank-badge[b-6je5xex3w8] { background: linear-gradient(135deg, #f1f4f9, #cfd6e2); box-shadow: inset 0 0 0 2px #9aa5b8; }
tr[data-rank="3"] .rank-badge[b-6je5xex3w8] { background: linear-gradient(135deg, #f8d3b4, #e2a172); box-shadow: inset 0 0 0 2px #b9773f; }
.personal[b-6je5xex3w8] { background-color: #e0f3eb; color: #123b31; }
.personal > :first-child[b-6je5xex3w8] { box-shadow: inset 4px 0 0 #2f9d74; }
.personal small[b-6je5xex3w8] { display: block; color: #1f6b50; font-weight: 700; }

@media (forced-colors: active) {
    /* 強制配色では背景色が失われるため、上位の丸と自分の記録を枠線で示します。 */
    .rank-badge[b-6je5xex3w8], .personal > :first-child[b-6je5xex3w8] { border: 2px solid CanvasText; }
}
/* /Components/Pages/Games/ArcadeRankings.razor.rz.scp.css */
/* 小画面でもゲーム名・期間・送信操作を折り返して配置します。 */
.rankings-home[b-ure23ja9ae] { padding-block: 32px 72px; min-width: 0; overflow-wrap: anywhere; }
.rankings-breadcrumb[b-ure23ja9ae] { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .8125rem; }
.rankings-breadcrumb a[b-ure23ja9ae] { color: var(--blue); }

/* 冒頭は濃色の面にトロフィーの光を重ね、単独ページでは作品の紹介画像をぼかして敷きます。 */
.rankings-hero[b-ure23ja9ae] { position: relative; margin-block: 24px 32px; padding: clamp(28px, 5vw, 52px); overflow: hidden; border-radius: 32px; background:
    radial-gradient(50% 120% at 100% 0%, #f2c23059 0%, transparent 60%),
    radial-gradient(120% 140% at 0% 100%, #2b4475 0%, var(--ink) 55%, #121a29 100%); color: #fff; box-shadow: 0 30px 70px #1a243a33; }
/* サイト共通の img の max-width: 100% を解除し、拡大した背景を面の右端まで届かせます。 */
.rankings-hero-ambient[b-ure23ja9ae] { position: absolute; inset: -20%; z-index: 0; width: 140%; max-width: none; height: 140%; object-fit: cover; filter: blur(56px) saturate(1.4); opacity: .42; pointer-events: none; }
.rankings-hero-copy[b-ure23ja9ae] { position: relative; z-index: 1; max-width: 680px; }
.rankings-hero-eyebrow[b-ure23ja9ae] { display: inline-block; padding: 4px 12px; border-radius: 100px; background: #ffffff1f; color: #ffe7a3; font-size: .75rem; font-weight: 750; letter-spacing: .06em; }
.rankings-hero h1[b-ure23ja9ae] { margin: 14px 0 12px; font-size: clamp(2.25rem, 5.5vw, 3.5rem); letter-spacing: -.045em; line-height: 1.1; }
.rankings-hero p[b-ure23ja9ae] { margin: 0; color: #dbe2f0; line-height: 1.85; }

/* 作品の選択は紹介画像付きのタイルで並べ、選択中は枠線とチェックの位置の強調で示します。 */
.rankings-games h2[b-ure23ja9ae] { margin: 0 0 14px; font-size: 1.125rem; letter-spacing: -.02em; }
.rankings-games ul[b-ure23ja9ae] { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.rankings-game[b-ure23ja9ae] { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 2px solid transparent; border-radius: 18px; background: var(--canvas); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow); transition: transform .2s, box-shadow .2s; }
.rankings-game:hover[b-ure23ja9ae] { transform: translateY(-3px); box-shadow: 0 0 0 1px #c9d6f7, 0 18px 40px #2637581f; }
.rankings-game[aria-current="true"][b-ure23ja9ae] { border-color: var(--blue); box-shadow: 0 0 0 4px #376cf429, var(--shadow); }
.rankings-game-title[b-ure23ja9ae] { display: flex; align-items: center; gap: 6px; flex: 1; padding: 10px 12px 12px; font-size: .875rem; font-weight: 750; line-height: 1.5; }
.rankings-game[aria-current="true"] .rankings-game-title[b-ure23ja9ae]::before { content: "✓"; color: var(--blue); }
.rankings-game-placeholder[b-ure23ja9ae] { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #dfe7f8, #f3f6fc); }
/* 「3作品の一覧」は先頭の作品の画像を4分割で並べ、全体を表すタイルにします。 */
.rankings-game-mosaic[b-ure23ja9ae] { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #dfe7f8, #f3f6fc); }
.rankings-game-mosaic.count-4[b-ure23ja9ae] { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.rankings-game-mosaic img[b-ure23ja9ae] { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }

/* JavaScriptがない場合にも使う選択フォームは、タイルの下に控えめなツールバーとして置きます。 */
.rankings-picker[b-ure23ja9ae] { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem 1rem; margin-top: 20px; padding: .875rem 1rem; border: 1px solid var(--line); border-radius: 16px; background: #f7f9fd; }
.rankings-picker label[b-ure23ja9ae] { display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; min-width: 0; max-width: 100%; color: var(--muted); font-size: .8125rem; font-weight: 700; }
.rankings-picker select[b-ure23ja9ae] { font: inherit; width: 100%; min-width: 0; max-width: 100%; min-height: 44px; box-sizing: border-box; padding: .5rem .75rem; border: 1px solid #d5ddeb; border-radius: 12px; background: var(--canvas); color: var(--ink); font-weight: 650; }

/* 順位表は作品ごとのカードにまとめ、見出しに紹介画像・説明・遊ぶ導線を置きます。 */
.rankings-list[b-ure23ja9ae] { display: grid; gap: 28px; margin-top: 36px; }
.ranking-card[b-ure23ja9ae] { min-width: 0; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 28px; background: var(--canvas); box-shadow: var(--shadow); }
.ranking-card-head[b-ure23ja9ae] { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: center; gap: 24px; margin-bottom: 18px; }
.ranking-card-thumb[b-ure23ja9ae] { display: block; overflow: hidden; border-radius: 18px; box-shadow: 0 14px 34px #26375826; }
.ranking-card-title[b-ure23ja9ae] { min-width: 0; }
.ranking-card-title h2[b-ure23ja9ae] { margin: 0 0 8px; font-size: clamp(1.375rem, 3vw, 1.875rem); letter-spacing: -.03em; }
.ranking-card-title p[b-ure23ja9ae] { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.ranking-card-actions[b-ure23ja9ae] { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ranking-card-actions .button[b-ure23ja9ae] { gap: 10px; }
.rankings-message[b-ure23ja9ae] { display: grid; justify-items: start; gap: 14px; margin-top: 28px; padding: 24px; border: 1px dashed var(--line); border-radius: 20px; background: var(--canvas); }
.rankings-message p[b-ure23ja9ae] { margin: 0; color: var(--muted); }

@media (max-width: 760px) {
    /* 狭幅では紹介画像を説明の上に置き、タイルを2列にします。 */
    .rankings-hero[b-ure23ja9ae] { padding: 24px 20px; border-radius: 24px; }
    .rankings-games ul[b-ure23ja9ae] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ranking-card[b-ure23ja9ae] { border-radius: 22px; }
    .ranking-card-head[b-ure23ja9ae] { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .ranking-card-actions .button[b-ure23ja9ae] { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    .rankings-game[b-ure23ja9ae] { transition: none; }
    .rankings-game:hover[b-ure23ja9ae] { transform: none; }
}
/* /Components/Pages/Games/GameCard.razor.rz.scp.css */
/* 一覧間で同じカードを使い、画像全体と翻訳された紹介文を狭幅でも保持します。 */
/* 濃色の帯の中に置いても見出しが白地に溶けないよう、文字色を明示します。 */
.game-card[b-e7h4cqkctb] { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); color: var(--ink); box-shadow: var(--shadow); overflow-wrap: anywhere; transition: transform .2s, box-shadow .2s, border-color .2s; }
/* 従来形式の単独カードと wide は、画像と説明を左右に並べます。棚や一覧のリスト項目には適用しません。 */
.game-card.has-image:not(.compact):not(.spotlight):not(.wide):only-child[b-e7h4cqkctb], .game-card.wide.has-image[b-e7h4cqkctb] { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
/* 画像の枠はカード幅に対して16:9を確保し、横並びでは説明の高さまで伸ばします。 */
.game-card-media[b-e7h4cqkctb] { position: relative; min-width: 0; }
.game-card-image[b-e7h4cqkctb] { display: block; height: 100%; }
.game-card-image[b-e7h4cqkctb]  .game-thumb { height: 100%; min-height: 100%; }
.game-card:hover .game-card-image[b-e7h4cqkctb]  .game-thumb-art { transform: scale(1.04); }
/* NEW・人気は画像の左上に重ね、どの原画でも読めるよう影を付けます。 */
.game-card-flags[b-e7h4cqkctb] { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 24px); pointer-events: none; }
.game-card-flags .game-card-badge[b-e7h4cqkctb] { box-shadow: 0 6px 16px #0e17294d; }
/* 説明の長さが違っても同じ行の操作ボタンを下端で揃えます。 */
.game-card-copy[b-e7h4cqkctb] { display: flex; flex: 1; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(24px, 3vw, 40px); }
/* 種別・NEW・人気・ランキング対応は文字の目印として並べ、長い翻訳でも折り返します。 */
.game-card-meta[b-e7h4cqkctb] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.game-card-label[b-e7h4cqkctb] { color: var(--blue-strong); font-size: .75rem; font-weight: 750; letter-spacing: .02em; }
/* 本格的なゲームは濃色の札で示し、白地のミニゲームの文字ラベルと形でも区別します。 */
.game-card.is-full .game-card-label[b-e7h4cqkctb] { padding: 3px 10px; border-radius: 100px; background: var(--ink); color: #fff; }
.game-card-badge[b-e7h4cqkctb] { padding: 3px 9px; border-radius: 100px; color: var(--ink); font-size: .6875rem; font-weight: 750; line-height: 1.5; }
.game-card-badge.new[b-e7h4cqkctb] { background: var(--mint); }
.game-card-badge.popular[b-e7h4cqkctb] { background: linear-gradient(135deg, var(--coral), var(--amber)); }
.game-card-ranking[b-e7h4cqkctb] { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 7px; border-radius: 100px; background: #fff3d1; color: #6e4a00; font-size: .6875rem; font-weight: 750; line-height: 1.5; }
.game-card-ranking svg[b-e7h4cqkctb] { width: 12px; height: 12px; flex: none; fill: currentColor; }
.game-card-copy h2[b-e7h4cqkctb], .game-card-copy h3[b-e7h4cqkctb] { margin: 12px 0; font-size: 1.75rem; letter-spacing: -.035em; }
.game-card-tags[b-e7h4cqkctb] { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; list-style: none; }
.game-card-tags li[b-e7h4cqkctb] { padding: 3px 10px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font-size: .75rem; font-weight: 650; }
.game-card-copy p[b-e7h4cqkctb] { flex: 1; margin: 0 0 24px; color: var(--muted); line-height: 1.9; white-space: pre-line; }

/* 棚・一覧・おすすめのカードは、触れると浮き上がって選べることを示します。 */
.game-card.compact[b-e7h4cqkctb], .game-card.spotlight[b-e7h4cqkctb], .game-card.wide[b-e7h4cqkctb] { border-radius: 22px; }
.game-card.compact:hover[b-e7h4cqkctb], .game-card.spotlight:hover[b-e7h4cqkctb], .game-card.wide:hover[b-e7h4cqkctb] { border-color: #ffc6d6; box-shadow: 0 2px 6px #1a24400d, 0 26px 50px -18px #ff4f8b47; transform: translateY(-5px); }

/* 棚・一覧・おすすめの候補の小型カードは、紹介文を省略せずに文字と余白だけを詰めます。 */
.game-card.compact .game-card-copy[b-e7h4cqkctb] { padding: 16px 18px 18px; }
.game-card.compact h2[b-e7h4cqkctb], .game-card.compact h3[b-e7h4cqkctb] { margin: 8px 0 10px; font-size: 1.125rem; letter-spacing: -.02em; }
.game-card.compact .game-card-tags[b-e7h4cqkctb] { margin-bottom: 10px; }
.game-card.compact p[b-e7h4cqkctb] { margin-bottom: 16px; font-size: .8125rem; line-height: 1.75; }
.game-card.compact .button[b-e7h4cqkctb] { width: 100%; min-height: 42px; padding: 10px 16px; gap: 10px; font-size: .8125rem; }

/* おすすめの主役は画像と説明を左右に並べた横長カードにし、ページの最初の選択肢として目立たせます。 */
/* 説明は縦の中央に置き、紹介文の直後に開始ボタンを続けて、ボタンがカードの下端へ離れないようにします。 */
/* 説明が画像の16:9より高い場合は画像の枠を説明の高さまで広げ、原画の上下を同じ画像のぼかしで埋めます。 */
.game-card.spotlight.has-image[b-e7h4cqkctb] { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.game-card.spotlight .game-card-flags[b-e7h4cqkctb] { top: 16px; left: 16px; }
.game-card.spotlight .game-card-badge[b-e7h4cqkctb] { padding: 5px 12px; font-size: .75rem; }
.game-card.spotlight .game-card-copy[b-e7h4cqkctb] { justify-content: center; padding: clamp(24px, 2.8vw, 36px); }
.game-card.spotlight h2[b-e7h4cqkctb], .game-card.spotlight h3[b-e7h4cqkctb] { margin: 10px 0 14px; font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.25; }
.game-card.spotlight p[b-e7h4cqkctb] { flex: 0 1 auto; margin-bottom: 24px; font-size: .9375rem; line-height: 1.8; }

/* 大きな横長カードは、本格的なゲームが一件だけでも帯を広く使って見せます。 */
.game-card.wide .game-card-copy[b-e7h4cqkctb] { justify-content: center; padding: clamp(24px, 3.5vw, 44px); }
.game-card.wide h2[b-e7h4cqkctb], .game-card.wide h3[b-e7h4cqkctb] { font-size: clamp(1.5rem, 3vw, 2.125rem); }
.game-card.wide p[b-e7h4cqkctb] { flex: 0 1 auto; }

@media (max-width: 1000px) {
    /* タブレット以下では主役も画像の下に説明を表示します。説明の列が狭くなって画像より高くなり、画像の上下が大きく空くのを防ぎます。 */
    .game-card.spotlight.has-image[b-e7h4cqkctb] { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    /* 小さな端末では単独カードも縦に並べ、共通の画像枠の下に紹介文を表示します。 */
    .game-card.has-image:not(.compact):not(.spotlight):not(.wide):only-child[b-e7h4cqkctb], .game-card.wide.has-image[b-e7h4cqkctb] { grid-template-columns: minmax(0, 1fr); }
    .game-card-copy[b-e7h4cqkctb] { padding: 24px; }
    .game-card-copy .button[b-e7h4cqkctb] { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    /* 動きを減らす設定では、拡大と浮き上がりを止めます。 */
    .game-card[b-e7h4cqkctb] { transition: none; }
    .game-card:hover .game-card-image[b-e7h4cqkctb]  .game-thumb-art { transform: none; }
    .game-card.compact:hover[b-e7h4cqkctb], .game-card.spotlight:hover[b-e7h4cqkctb], .game-card.wide:hover[b-e7h4cqkctb] { transform: none; }
}
/* /Components/Pages/Games/GameHub.razor.rz.scp.css */
/* 一覧はゲーム単位のカードで構成し、追加時も同じ選択導線を維持します。 */
.game-hub[b-9igrxo9thj] { padding-block: 28px 72px; overflow-wrap: anywhere; }
.game-breadcrumb[b-9igrxo9thj] { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .8125rem; }
.game-breadcrumb a[b-9igrxo9thj] { color: var(--blue-strong); }

/* ==== 冒頭: 夜色のアーケード ==== */
/* 見出しとジャンルの近道を左右に並べ、背後に奥へ流れる光の床と、ゆっくり漂う光・記号を重ねます。 */
.game-hub-stage[b-9igrxo9thj] { display: block; margin-block: 20px 40px; }
.game-hub-heading[b-9igrxo9thj] { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 32px 48px; padding: clamp(28px, 5vw, 60px); overflow: hidden; border-radius: 36px; background: radial-gradient(80% 120% at 100% 0%, #3a1e72 0%, transparent 55%), radial-gradient(70% 100% at 0% 100%, #5e1c4c 0%, transparent 55%), linear-gradient(160deg, #0e1334 0%, #070a1c 100%); color: #fff; box-shadow: 0 40px 80px -44px #1a0f3fe6; isolation: isolate; }
.game-hub-backdrop[b-9igrxo9thj] { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.arcade-glow[b-9igrxo9thj] { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; animation: arcade-drift-b-9igrxo9thj 20s ease-in-out infinite alternate; }
.glow-1[b-9igrxo9thj] { top: -160px; right: 10%; width: 420px; height: 420px; background: #7c5cff; }
.glow-2[b-9igrxo9thj] { bottom: -200px; left: -80px; width: 440px; height: 440px; background: #ff4f8b; opacity: .4; animation-duration: 26s; animation-delay: -8s; }
@keyframes arcade-drift-b-9igrxo9thj {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-50px, 40px, 0) scale(1.15); }
}
/* 床は遠近法で寝かせた格子を一マス分ずつ手前へ送り続けます。変形だけの動きにして、描画を合成処理へ任せます。 */
.arcade-floor[b-9igrxo9thj] { position: absolute; right: -40%; bottom: -30%; left: -40%; height: 90%; background-image: linear-gradient(#ff5c9a66 1.5px, transparent 1.5px), linear-gradient(90deg, #8b6bff66 1.5px, transparent 1.5px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(transparent 0%, #000 45%, #000 70%, transparent 100%); mask-image: linear-gradient(transparent 0%, #000 45%, #000 70%, transparent 100%); transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%; animation: floor-scroll-b-9igrxo9thj 3.2s linear infinite; }
@keyframes floor-scroll-b-9igrxo9thj {
    from { transform: perspective(520px) rotateX(64deg) translate3d(0, 0, 0); }
    to { transform: perspective(520px) rotateX(64deg) translate3d(0, 56px, 0); }
}
/* 発光する記号は視差でポインターと逆へ少しずれ、奥行きを感じさせます。 */
.arcade-glyph[b-9igrxo9thj] { position: absolute; color: #fff; font-size: 26px; opacity: .8; text-shadow: 0 0 18px currentColor; translate: calc(var(--px, 0) * -16px) calc(var(--py, 0) * -16px); transition: translate .9s var(--ease-out); animation: glyph-float-b-9igrxo9thj 7s ease-in-out infinite; }
.glyph-1[b-9igrxo9thj] { top: 14%; right: 6%; color: #ffd26b; }
.glyph-2[b-9igrxo9thj] { top: 58%; right: 44%; color: #8fe8ff; font-size: 16px; animation-delay: -2s; }
.glyph-3[b-9igrxo9thj] { bottom: 10%; right: 4%; color: #ff9cc2; font-size: 20px; animation-delay: -4s; }
.glyph-4[b-9igrxo9thj] { top: 9%; left: 48%; color: #b9a6ff; font-size: 20px; animation-delay: -5.5s; }
@keyframes glyph-float-b-9igrxo9thj {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-12px) rotate(8deg); }
}
.game-hub-stage[data-paused] *[b-9igrxo9thj], .game-hub-stage[data-paused] *[b-9igrxo9thj]::before, .game-hub-stage[data-paused] *[b-9igrxo9thj]::after { animation-play-state: paused; }
.game-hub-intro[b-9igrxo9thj] { position: relative; z-index: 1; min-width: 0; }
.game-hub-intro .eyebrow[b-9igrxo9thj] { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; margin-bottom: 0; border: 1px solid #ff8fb94d; border-radius: 100px; background: #ff4f8b1f; color: #ffc2d8; letter-spacing: .12em; }
/* 見出しはゲームの識別色のグラデーションで塗り、強制配色では通常の文字色へ戻します。 */
.game-hub-heading h1[b-9igrxo9thj] { margin: 18px 0 16px; background: linear-gradient(100deg, #fff 0%, #ffd0de 40%, #ff8fb9 70%, #b9a6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(2.4rem, 5.8vw, 4rem); letter-spacing: -.045em; line-height: 1.1; }
.game-hub-heading p[b-9igrxo9thj] { margin: 0; color: #c6cbe6; line-height: 1.9; }
/* 種別ごとの本数を光る札で示し、遊べる量をひと目で伝えます。 */
.game-hub-stats[b-9igrxo9thj] { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; list-style: none; color: #d6dbf5; font-size: .875rem; font-weight: 650; }
.game-hub-stats li[b-9igrxo9thj] { padding: 6px 14px; border: 1px solid #ffffff21; border-radius: 100px; background: #ffffff0f; }
.game-hub-stats strong[b-9igrxo9thj] { margin-right: 2px; color: #fff; font-size: 1.25rem; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.game-hub-actions[b-9igrxo9thj] { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.game-hub-actions .button[b-9igrxo9thj] { gap: 10px; min-height: 54px; }
/* 主ボタンの塗りは、白文字とのコントラスト比4.5以上を保つ濃さの赤・桃・紫にします。 */
.game-hub-actions .button:not(.button-light)[b-9igrxo9thj] { background: linear-gradient(135deg, #d62a46 0%, #c81f6a 55%, #6d3ff0 100%); background-size: 160% 100%; box-shadow: inset 0 1px 0 #ffffff4d, 0 16px 34px -14px #ff4f8bcc; }
.game-hub-actions .button:not(.button-light):hover[b-9igrxo9thj] { background-position: 100% 0; }
.game-hub-actions .button-light[b-9igrxo9thj] { border-color: #ffffff33; background: #ffffff14; color: #fff; box-shadow: none; }
.game-hub-actions .button-light:hover[b-9igrxo9thj] { border-color: #ffffff59; background: #ffffff26; color: #fff; }
.game-hub-heading a:focus-visible[b-9igrxo9thj] { outline-color: #ffc2d8; }
/* ジャンルの近道は半透明の面にまとめ、本数付きの丸いリンクで並べます。 */
.game-hub-genres[b-9igrxo9thj] { position: relative; z-index: 1; min-width: 0; padding: 22px 24px; border: 1px solid #ffffff21; border-radius: 26px; background: #ffffff0d; box-shadow: inset 0 1px 0 #ffffff1a; backdrop-filter: blur(10px); }
.game-hub-genres h2[b-9igrxo9thj] { margin: 0 0 14px; color: #fff; font-size: .9375rem; letter-spacing: 0; }
.game-hub-genres ul[b-9igrxo9thj] { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.game-hub-genres a[b-9igrxo9thj] { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 8px 7px 14px; border: 1px solid #ffffff26; border-radius: 100px; background: #ffffff0f; color: #fff; font-size: .8125rem; font-weight: 700; transition: border-color .2s, background .2s, transform .25s var(--ease-out); }
.game-hub-genres a:hover[b-9igrxo9thj] { border-color: #ff8fb9; background: #ff4f8b26; transform: translateY(-2px); }
.game-hub-genre-count[b-9igrxo9thj] { min-width: 1.9em; padding: 2px 7px; border-radius: 100px; background: #ffffff21; color: #fff; font-size: .6875rem; text-align: center; font-variant-numeric: tabular-nums; }

/* ==== おすすめ: 夜色の面に主役の紹介画像をぼかして敷き、ページの中心として際立たせます ==== */
.game-featured[b-9igrxo9thj] { position: relative; overflow: hidden; padding: clamp(20px, 3.5vw, 36px); border-radius: 32px; background: radial-gradient(120% 140% at 100% 0%, #3a2a7a 0%, #141a3c 50%, #090c20 100%); color: #fff; box-shadow: 0 30px 70px -30px #1a143acc; }
/* サイト共通の img の max-width: 100% を解除し、拡大した背景を面の右端まで届かせます。 */
.game-featured-ambient[b-9igrxo9thj] { position: absolute; inset: -20%; z-index: 0; width: 140%; max-width: none; height: 140%; object-fit: cover; filter: blur(60px) saturate(1.5); opacity: .45; pointer-events: none; }
.game-featured h2[b-9igrxo9thj] { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: clamp(1.375rem, 3vw, 1.75rem); letter-spacing: -.03em; }
.game-featured h2[b-9igrxo9thj]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--game-2); box-shadow: 0 0 0 4px #ff4f8b40, 0 0 16px #ff4f8b; }
/* 主役の横長カードを上段、続く候補を下段に積みます。段ごとに内容の高さで決まるため、主役が候補の列に合わせて縦に伸びません。 */
.game-featured-layout[b-9igrxo9thj] { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
/* 候補は主役の下に4列で並べ、同じ段のカードの高さと開始ボタンの位置を揃えます。親の列幅を超えないよう、自動の最小幅を外して列数を明示します。 */
.game-featured-list[b-9igrxo9thj] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; min-width: 0; padding: 0; margin: 0; list-style: none; }
.game-featured-list > li[b-9igrxo9thj] { min-width: 0; }
.game-hub-future[b-9igrxo9thj] { margin: 48px 0 0; color: var(--muted); font-size: .875rem; text-align: center; }
.game-empty[b-9igrxo9thj] { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }

@media (max-width: 1000px) {
    /* タブレット以下では冒頭を縦に積みます。おすすめの候補は棚と同じく3件分の幅で横にスクロールし、ページを縦に伸ばしません。 */
    /* スクロール内でもカードの浮き上がりと影が切れないよう、内側に余白を取り、同じ幅だけ外側へ広げます。 */
    .game-hub-heading[b-9igrxo9thj] { grid-template-columns: minmax(0, 1fr); }
    .game-featured-list[b-9igrxo9thj] { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); padding: 4px 4px 18px; margin: -4px -4px 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; }
    .game-featured-list > li[b-9igrxo9thj] { scroll-snap-align: start; }
}

@media (max-width: 760px) {
    /* スマートフォンでは次の候補の一部を見せ、横に続くことを伝えます。 */
    .game-featured-list[b-9igrxo9thj] { grid-auto-columns: min(78%, 300px); gap: 14px; }
    .game-hub-stage[b-9igrxo9thj] { margin-block: 16px 28px; }
    .game-hub-heading[b-9igrxo9thj] { padding: 28px 20px; border-radius: 26px; }
    .game-hub-genres[b-9igrxo9thj] { padding: 18px; }
    .game-featured[b-9igrxo9thj] { padding: 18px; border-radius: 24px; }
    .game-hub-actions[b-9igrxo9thj], .game-hub-actions .button[b-9igrxo9thj] { width: 100%; }
    .arcade-glyph[b-9igrxo9thj] { font-size: 18px; }
    /* 縦に積んだ操作ボタンの背後へ記号が透けないよう、中央寄りの記号を省きます。 */
    .glyph-2[b-9igrxo9thj] { display: none; }
}

@media (forced-colors: active) {
    .game-hub-heading h1[b-9igrxo9thj] { background: none; color: CanvasText; }
}

@media (prefers-reduced-motion: reduce) {
    .game-hub-genres a[b-9igrxo9thj] { transition: none; }
    .game-hub-genres a:hover[b-9igrxo9thj] { transform: none; }
    .arcade-glyph[b-9igrxo9thj] { translate: none; }
}
/* /Components/Pages/Games/GameLibrary.razor.rz.scp.css */
/* 全件一覧は絞り込みを見出しの直下にまとめ、選択状態を塗りとチェックの両方で示します。 */
.game-library[b-ovwyuznadq] { margin-top: 64px; scroll-margin-top: 24px; }
.game-library-head[b-ovwyuznadq] { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.game-library-head h2[b-ovwyuznadq] { margin: 0; font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -.035em; }
.game-library-count[b-ovwyuznadq] { margin: 0; color: var(--muted); font-size: .875rem; font-weight: 650; }
.game-filters[b-ovwyuznadq] { display: grid; gap: 12px; margin-block: 20px 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--canvas); }
.game-filter[b-ovwyuznadq] { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); align-items: start; gap: 8px 14px; }
.game-filter-label[b-ovwyuznadq] { padding-top: 7px; color: var(--muted); font-size: .8125rem; font-weight: 700; }
.game-filter ul[b-ovwyuznadq] { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.game-chip[b-ovwyuznadq] { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; background: var(--canvas); color: var(--ink); font-size: .8125rem; font-weight: 650; transition: border-color .2s, background .2s; }
.game-chip:hover[b-ovwyuznadq] { border-color: var(--blue); color: var(--blue); }
.game-chip.selected[b-ovwyuznadq] { border-color: var(--ink); background: var(--ink); color: #fff; }
.game-chip-count[b-ovwyuznadq] { min-width: 1.6em; padding: 1px 6px; border-radius: 100px; background: var(--blue-soft); color: var(--ink); font-size: .6875rem; text-align: center; }
.game-chip.selected .game-chip-count[b-ovwyuznadq] { background: #ffffff2e; color: #fff; }
.game-sort[b-ovwyuznadq] { padding-top: 12px; border-top: 1px solid var(--line); }
.game-library-grid[b-ovwyuznadq] { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; }
.game-library-grid > li[b-ovwyuznadq] { min-width: 0; }
.game-library-empty[b-ovwyuznadq] { display: grid; justify-items: start; gap: 16px; padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--canvas); }
.game-library-empty p[b-ovwyuznadq] { margin: 0; color: var(--muted); }

@media (max-width: 760px) {
    /* 狭幅では見出しを選択肢の上に置き、選択肢は折り返して全文を表示します。 */
    .game-library[b-ovwyuznadq] { margin-top: 52px; }
    .game-filters[b-ovwyuznadq] { padding: 16px; }
    .game-filter[b-ovwyuznadq] { grid-template-columns: minmax(0, 1fr); }
    .game-filter-label[b-ovwyuznadq] { padding-top: 0; }
}

@media (forced-colors: active) {
    /* 強制配色では塗りが失われるため、選択中の枠線を太くしてチェック記号と併せて示します。 */
    .game-chip.selected[b-ovwyuznadq] { border-width: 3px; }
}
/* /Components/Pages/Games/GameShelf.razor.rz.scp.css */
/* 棚は見出しと「すべて見る」を同じ行に置き、狭幅では折り返します。 */
.game-shelf[b-g1d4b3x48l] { position: relative; margin-top: 64px; }
.game-shelf-head[b-g1d4b3x48l] { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.game-shelf-head h2[b-g1d4b3x48l] { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(1.375rem, 3vw, 1.75rem); letter-spacing: -.03em; }
/* 見出しの前にゲームの識別色の短い縦線を置き、棚の区切りを示します。 */
.game-shelf-head h2[b-g1d4b3x48l]::before { content: ""; flex: none; width: 6px; height: 1.1em; border-radius: 6px; background: linear-gradient(180deg, var(--game), var(--violet)); }
.game-shelf-head p[b-g1d4b3x48l] { margin: 6px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.game-shelf-more[b-g1d4b3x48l] { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 100px; background: #fff; color: var(--ink); font-size: .8125rem; font-weight: 750; white-space: nowrap; box-shadow: var(--shadow-sm); transition: border-color .2s, color .2s, transform .25s var(--ease-out); }
.game-shelf-more:hover[b-g1d4b3x48l] { border-color: #ffb3c9; color: #c2185b; transform: translateX(2px); }
/* 4列分の幅で並べ、超えた分は横スクロールにします。スナップで次のカードの先頭に止めます。 */
.game-shelf-list[b-g1d4b3x48l] { position: relative; z-index: 1; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; padding: 4px 4px 18px; margin: -4px -4px 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; list-style: none; scrollbar-width: thin; }
.game-shelf-list > li[b-g1d4b3x48l] { min-width: 0; scroll-snap-align: start; }
/* 折り返す棚は件数が少なくても帯の幅を使い切ります。一件なら全幅の横長カードになります。 */
.game-shelf.grid .game-shelf-list[b-g1d4b3x48l] { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); overflow: visible; }

/* 本格的なゲームの棚は濃色の帯にして、ミニゲームとの違いを一覧の構造でも示します。 */
.game-shelf.is-full[b-g1d4b3x48l] { overflow: hidden; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #2c2f7a 0%, #141a3c 55%, #090c20 100%); color: #fff; box-shadow: 0 30px 70px -30px #1a143acc; }
.game-shelf.is-full .game-shelf-head p[b-g1d4b3x48l] { color: #d6dcea; }
.game-shelf.is-full .game-shelf-more[b-g1d4b3x48l] { border-color: #ffffff2e; background: #ffffff1f; color: #fff; box-shadow: none; }
.game-shelf.is-full .game-shelf-more:hover[b-g1d4b3x48l] { background: #ffffff33; color: #fff; }
/* 背景の紹介画像は大きくぼかし、濃色の帯の上で文字の読みやすさを保つ明るさに抑えます。 */
/* サイト共通の img の max-width: 100% を解除し、拡大した背景を帯の右端まで届かせます。 */
.game-shelf-ambient[b-g1d4b3x48l] { position: absolute; inset: -20%; z-index: 0; width: 140%; max-width: none; height: 140%; object-fit: cover; filter: blur(56px) saturate(1.4); opacity: .38; pointer-events: none; }

@media (max-width: 1000px) {
    .game-shelf-list[b-g1d4b3x48l] { grid-auto-columns: calc((100% - 40px) / 3); }
}

@media (max-width: 760px) {
    /* スマートフォンでは次のカードの一部を見せ、横に続くことを伝えます。 */
    .game-shelf[b-g1d4b3x48l] { margin-top: 48px; }
    .game-shelf-list[b-g1d4b3x48l] { grid-auto-columns: min(78%, 300px); gap: 14px; }
    .game-shelf.is-full[b-g1d4b3x48l] { padding: 22px 18px; border-radius: 22px; }
}
/* /Components/Pages/Games/GameThumbnail.razor.rz.scp.css */
/* 枠は16:9を既定とし、親の指定で高さいっぱいにも広げられます。読み込み前は淡い面で領域を確保します。 */
.game-thumb[b-iao8wif6sa] { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #dfe7f8, #f3f6fc); }
.game-thumb-art[b-iao8wif6sa] { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-thumb.contain .game-thumb-art[b-iao8wif6sa] { object-fit: contain; }
/* 同じ画像を拡大・ぼかして背景にし、原画の外側を自然な色で埋めます。少し暗くして原画の輪郭を際立たせます。 */
/* サイト共通の img の max-width: 100% を解除します。解除しないと背景が枠と同じ幅に縮み、右端の12%に枠の地色が帯状に出ます。 */
.game-thumb-backdrop[b-iao8wif6sa] { position: absolute; inset: -12%; z-index: 0; width: 124%; max-width: none; height: 124%; object-fit: cover; filter: blur(24px) saturate(1.25) brightness(.82); }

@media (prefers-reduced-motion: reduce) {
    /* 動きを減らす設定では、親のカードが指定する拡大の動きを止めます。 */
    .game-thumb-art[b-iao8wif6sa] { transition: none; }
}
/* /Components/Pages/Games/IronBastion.razor.rz.scp.css */
/* 指定のキービジュアルを主役にし、紹介とゲーム起動の操作を独立して配置します。 */
.ironbastion-page[b-xraykib13x] { padding-block: 30px 64px; overflow-wrap: anywhere; }
.ironbastion-breadcrumb[b-xraykib13x] { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; color: var(--muted); font-size: .8125rem; }
.ironbastion-breadcrumb a[b-xraykib13x], .ironbastion-back[b-xraykib13x] { color: var(--blue); }
.ironbastion-poster[b-xraykib13x] { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ironbastion-poster img[b-xraykib13x] { display: block; width: 100%; height: auto; }
.ironbastion-heading[b-xraykib13x] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); align-items: center; gap: 48px; margin-block: 40px 56px; }
.ironbastion-heading h1[b-xraykib13x] { margin: 10px 0; font-size: clamp(2.25rem, 6vw, 3.5rem); letter-spacing: -.045em; }
.ironbastion-tagline[b-xraykib13x] { margin: 0 0 18px; color: var(--blue); font-size: clamp(1.125rem, 3vw, 1.5rem); font-weight: 750; }
.ironbastion-description[b-xraykib13x] { max-width: 680px; color: var(--muted); line-height: 1.95; }
.ironbastion-facts[b-xraykib13x] { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; }
.ironbastion-facts li[b-xraykib13x] { padding: 8px 12px; border-radius: 100px; background: var(--blue-soft); color: var(--blue); font-size: .75rem; font-weight: 650; }
.ironbastion-play-card[b-xraykib13x] { display: grid; justify-items: center; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); box-shadow: var(--shadow); }
.ironbastion-play-card img[b-xraykib13x] { border-radius: 18px; }
.ironbastion-play[b-xraykib13x] { width: 100%; }
.ironbastion-play-card p[b-xraykib13x] { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.8; }
.ironbastion-howto[b-xraykib13x] { margin-bottom: 48px; }
.ironbastion-howto h2[b-xraykib13x], .ironbastion-install-panel h2[b-xraykib13x] { font-size: clamp(1.5rem, 3vw, 2rem); }
.ironbastion-steps[b-xraykib13x] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: game-step; padding: 0; margin-top: 24px; list-style: none; }
.ironbastion-steps li[b-xraykib13x] { counter-increment: game-step; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.ironbastion-steps li[b-xraykib13x]::before { content: "0" counter(game-step); color: var(--blue); font-size: .875rem; font-weight: 750; }
.ironbastion-steps h3[b-xraykib13x] { margin-block: 18px 12px; font-size: 1.125rem; }
.ironbastion-steps p[b-xraykib13x] { margin: 0; color: var(--muted); line-height: 1.85; }
.ironbastion-install-panel[b-xraykib13x] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 32px; border-radius: var(--radius); background: var(--blue-soft); }
.ironbastion-install-panel h2[b-xraykib13x] { margin-block: 12px; }
.ironbastion-install-panel p[b-xraykib13x] { margin-bottom: 0; line-height: 1.85; }
.ironbastion-install-panel ironbastion-install[b-xraykib13x] { display: block; align-self: center; }
.ironbastion-install-action[b-xraykib13x] { width: 100%; background: var(--canvas); }
.ironbastion-install-action[hidden][b-xraykib13x], .ironbastion-installed[hidden][b-xraykib13x], .ironbastion-install-error[hidden][b-xraykib13x] { display: none; }
.ironbastion-install-help[b-xraykib13x] { margin-top: 16px; font-size: .875rem; }
.ironbastion-install-help summary[b-xraykib13x] { cursor: pointer; font-weight: 650; }
.ironbastion-install-error[b-xraykib13x] { color: var(--ink); }
.ironbastion-notes[b-xraykib13x] { padding-block: 24px; color: var(--muted); font-size: .8125rem; line-height: 1.9; }
.ironbastion-notes p[b-xraykib13x] { margin-block: 0 8px; }
.ironbastion-back[b-xraykib13x] { display: inline-block; margin-top: 8px; font-size: .875rem; font-weight: 650; }

/* 長い操作案内と保存の違いを、翻訳内の改行を保ちながら狭幅でも読める本文にします。 */
.ironbastion-guide[b-xraykib13x] { margin-block: 40px; max-width: 960px; }
.ironbastion-guide h2[b-xraykib13x] { font-size: clamp(1.5rem, 3vw, 2rem); }
.ironbastion-guide h3[b-xraykib13x] { margin-bottom: 8px; font-size: 1.125rem; }
.ironbastion-guide p[b-xraykib13x], .ironbastion-save-guide dd[b-xraykib13x] { color: var(--muted); line-height: 1.9; white-space: pre-line; }
.ironbastion-guide-steps[b-xraykib13x] { padding-inline-start: 24px; }
.ironbastion-guide-steps li[b-xraykib13x] { padding-inline-start: 8px; margin-block: 20px; }
.ironbastion-save-guide dt[b-xraykib13x] { margin-top: 24px; font-weight: 750; }
.ironbastion-save-guide dd[b-xraykib13x] { margin: 8px 0 0; }
.ironbastion-save-help[b-xraykib13x] { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.ironbastion-save-help summary[b-xraykib13x] { cursor: pointer; font-weight: 650; }

@media (max-width: 760px) {
    /* 狭い画面では本文、起動、手順を順に読み、横スクロールなしで操作できます。 */
    .ironbastion-heading[b-xraykib13x] { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-block: 28px 40px; }
    .ironbastion-play-card[b-xraykib13x] { padding: 24px; }
    .ironbastion-steps[b-xraykib13x], .ironbastion-install-panel[b-xraykib13x] { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .ironbastion-install-panel[b-xraykib13x] { padding: 24px; }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ==== 冒頭の舞台: 夜色の面に、ゆっくり漂うオーロラと点の格子を敷きます ==== */
/* 画面の端から少し離した角丸の面にし、ヘッダーの白い面と重ならずに浮かんで見えるようにします。 */
.hero-stage[b-9lh4wuqunb] { position: relative; display: block; margin: 12px 12px 0; overflow: hidden; border-radius: 36px; background: radial-gradient(90% 70% at 70% 0%, #1a2560 0%, transparent 60%), linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%); color: var(--night-ink); isolation: isolate; }
.hero-backdrop[b-9lh4wuqunb] { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* オーロラは事前にぼかした面を移動・拡大するだけにし、合成処理だけで描画できる動きに限定します。 */
.aurora[b-9lh4wuqunb] { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; will-change: transform; animation: aurora-drift-b-9lh4wuqunb 24s ease-in-out infinite alternate; }
.aurora-1[b-9lh4wuqunb] { top: -180px; left: -140px; width: 560px; height: 560px; background: #3a58ff; }
.aurora-2[b-9lh4wuqunb] { top: 8%; right: -120px; width: 500px; height: 500px; background: #8a4dff; animation-duration: 28s; animation-delay: -7s; }
.aurora-3[b-9lh4wuqunb] { bottom: -260px; left: 32%; width: 480px; height: 480px; background: #ff6a55; opacity: .32; animation-duration: 32s; animation-delay: -14s; }
@keyframes aurora-drift-b-9lh4wuqunb {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(70px, 40px, 0) scale(1.12); }
    100% { transform: translate3d(-50px, 80px, 0) scale(.94); }
}
/* 点の格子は中央付近だけを見せ、周辺へ溶かして奥行きを出します。 */
.hero-grid[b-9lh4wuqunb] { position: absolute; inset: 0; background-image: radial-gradient(#ffffff2e 1px, transparent 1.5px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(70% 65% at 62% 42%, #000 15%, transparent 75%); mask-image: radial-gradient(70% 65% at 62% 42%, #000 15%, transparent 75%); }

/* 文章と図を左右に並べ、下端に三つの約束のカードが重なる余白を確保します。 */
.hero[b-9lh4wuqunb] { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px; min-height: min(780px, calc(100svh - var(--header-height) - 12px)); padding-block: 64px 132px; }
.hero-copy[b-9lh4wuqunb] { position: relative; z-index: 2; min-width: 0; }
.hero-eyebrow[b-9lh4wuqunb] { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 16px 6px 7px; border: 1px solid #ffffff26; border-radius: 100px; background: #ffffff0f; color: #dfe4ff; font-size: 12px; font-weight: 750; letter-spacing: .06em; line-height: 1.5; }
.hero-eyebrow-dot[b-9lh4wuqunb] { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 18px #8b6bff99; }
.hero-eyebrow-dot[b-9lh4wuqunb]::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #b9a8ff; animation: dot-ping-b-9lh4wuqunb 2.6s var(--ease-out) infinite; }
@keyframes dot-ping-b-9lh4wuqunb {
    from { opacity: .9; transform: scale(1); }
    to { opacity: 0; transform: scale(2.1); }
}
.hero h1[b-9lh4wuqunb] { margin: 24px 0 22px; color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.14; letter-spacing: -.05em; }
/* 二行目はブランドのグラデーションで塗り、強制配色では通常の文字色へ戻します。 */
.hero h1 span[b-9lh4wuqunb] { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p[b-9lh4wuqunb] { max-width: 520px; margin-bottom: 32px; color: var(--night-muted); font-size: 1rem; line-height: 2; }
.hero-actions[b-9lh4wuqunb] { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .button[b-9lh4wuqunb] { min-height: 56px; padding-inline: 28px; }
.hero-actions .button:first-child[b-9lh4wuqunb] { box-shadow: inset 0 1px 0 #ffffff4d, 0 0 0 1px #ffffff1f, 0 18px 40px -12px #5b6bffcc; }
/* サービスへの近道は、夜色の面に溶け込む半透明の丸いリンクで並べます。 */
.hero-quick[b-9lh4wuqunb] { margin-top: 36px; }
.hero-quick-title[b-9lh4wuqunb] { display: block; margin-bottom: 12px; color: #8f9ac4; font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.hero-quick ul[b-9lh4wuqunb] { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.quick-link[b-9lh4wuqunb] { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 7px 16px 7px 8px; border: 1px solid #ffffff1f; border-radius: 100px; background: #ffffff0d; color: #e8ecff; font-size: 13px; font-weight: 700; transition: background .2s, border-color .2s, transform .25s var(--ease-out); }
.quick-link:hover[b-9lh4wuqunb] { border-color: #ffffff4d; background: #ffffff1f; color: #fff; transform: translateY(-2px); }
.quick-link:focus-visible[b-9lh4wuqunb] { outline-color: #9db6ff; }
.quick-link i[b-9lh4wuqunb] { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 13px; }
.quick-link.game i[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--game), var(--game-2)); }
.quick-link.pick i[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--pick), var(--pick-2)); }
.quick-link.study i[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--study), var(--study-2)); }
.quick-link.tools i[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--tools), var(--tools-2)); }
.hero-note[b-9lh4wuqunb] { display: block; margin-top: 20px; color: #8f9ac4; font-size: 12px; }

/* ==== 冒頭の図: 中央のLinkyeから四つのサービスへ光が流れます ==== */
/* 対応端末ではポインターの位置に合わせて図全体を立体的に傾け、各サービスの札を視差で動かします。 */
.hero-visual[b-9lh4wuqunb] { position: relative; z-index: 1; min-width: 0; perspective: 1200px; }
.constellation[b-9lh4wuqunb] { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; transform-style: preserve-3d; transform: rotateX(calc(var(--py, 0) * -7deg)) rotateY(calc(var(--px, 0) * 9deg)); transition: transform .9s var(--ease-out); }
.orbit[b-9lh4wuqunb] { position: absolute; inset: 7%; border: 1px dashed #ffffff2e; border-radius: 50%; animation: orbit-spin-b-9lh4wuqunb 70s linear infinite; }
.orbit[b-9lh4wuqunb]::after { content: ""; position: absolute; top: -4px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 3px #9aa8ff; }
.orbit-inner[b-9lh4wuqunb] { inset: 25%; border-style: solid; border-color: #ffffff17; animation-duration: 46s; animation-direction: reverse; }
.orbit-inner[b-9lh4wuqunb]::after { background: #ffb3a6; box-shadow: 0 0 14px 3px #ff8a73; }
@keyframes orbit-spin-b-9lh4wuqunb {
    to { transform: rotate(360deg); }
}
.constellation-links[b-9lh4wuqunb] { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.link-line[b-9lh4wuqunb] { fill: none; stroke-width: 2; stroke-linecap: round; }
/* 破線の位置だけを動かし、中心から各サービスへ短い光が流れ続ける様子を描きます。 */
.link-pulse[b-9lh4wuqunb] { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 5 95; animation: link-flow-b-9lh4wuqunb 3.4s linear infinite; }
.pulse-study[b-9lh4wuqunb] { animation-delay: -.85s; }
.pulse-pick[b-9lh4wuqunb] { animation-delay: -1.7s; }
.pulse-tools[b-9lh4wuqunb] { animation-delay: -2.55s; }
@keyframes link-flow-b-9lh4wuqunb {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: -100; }
}
.constellation-hub[b-9lh4wuqunb] { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 26%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0%, #eef1ff 55%, #c9d1ff 100%); box-shadow: 0 0 0 10px #ffffff0f, 0 0 0 22px #ffffff08, 0 24px 60px -12px #5b6bffb3; transform: translate(-50%, -50%) translateZ(40px); }
.constellation-hub[b-9lh4wuqunb]::before { content: ""; position: absolute; inset: -2px; border: 2px solid #9aa8ff; border-radius: 50%; animation: hub-pulse-b-9lh4wuqunb 3.4s var(--ease-out) infinite; }
@keyframes hub-pulse-b-9lh4wuqunb {
    from { opacity: .8; transform: scale(1); }
    to { opacity: 0; transform: scale(1.75); }
}
.constellation-hub img[b-9lh4wuqunb] { width: 54%; }
/* 札の配置は中心基準の位置指定と視差のtranslate、浮遊はtransformに分け、互いの動きを打ち消さないようにします。 */
.node[b-9lh4wuqunb] { position: absolute; display: flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border: 1px solid #ffffff2e; border-radius: 100px; background: linear-gradient(135deg, #2a3570f2, #151c40f2); box-shadow: inset 0 1px 0 #ffffff2e, 0 18px 40px -16px #000c; color: #fff; font-size: 15px; font-weight: 750; white-space: nowrap; translate: calc(-50% + var(--px, 0) * 18px) calc(-50% + var(--py, 0) * 18px); transition: translate .9s var(--ease-out); animation: node-float-b-9lh4wuqunb 7s ease-in-out infinite; }
.node-icon[b-9lh4wuqunb] { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 18px; }
.node-game[b-9lh4wuqunb] { top: 21.5%; left: 21%; }
.node-game .node-icon[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--game), var(--game-2)); box-shadow: 0 8px 20px -6px var(--game); }
.node-study[b-9lh4wuqunb] { top: 20%; left: 79%; animation-delay: -1.75s; }
.node-study .node-icon[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--study), var(--study-2)); box-shadow: 0 8px 20px -6px var(--study); }
.node-pick[b-9lh4wuqunb] { top: 78.5%; left: 79.6%; animation-delay: -3.5s; }
.node-pick .node-icon[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--pick), var(--pick-2)); box-shadow: 0 8px 20px -6px var(--pick); }
.node-tools[b-9lh4wuqunb] { top: 78.8%; left: 21.5%; animation-delay: -5.25s; }
.node-tools .node-icon[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--tools), var(--tools-2)); box-shadow: 0 8px 20px -6px var(--tools); }
@keyframes node-float-b-9lh4wuqunb {
    0%, 100% { transform: translate3d(0, 0, 60px); }
    50% { transform: translate3d(0, -10px, 60px); }
}
/* 小さな記号の粒を周囲に浮かべ、正解・お得・達成のイメージを添えます。 */
.spark[b-9lh4wuqunb] { position: absolute; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; font-size: 17px; box-shadow: 0 12px 26px -10px #000; translate: calc(-50% + var(--px, 0) * -10px) calc(-50% + var(--py, 0) * -10px); transition: translate .9s var(--ease-out); animation: node-float-b-9lh4wuqunb 6s ease-in-out infinite; }
.spark-1[b-9lh4wuqunb] { top: 6%; left: 52%; background: linear-gradient(135deg, #2fd3a0, #12a9c2); animation-delay: -2s; }
.spark-2[b-9lh4wuqunb] { top: 49%; left: 95%; background: linear-gradient(135deg, var(--coral), var(--amber)); border-radius: 50%; animation-delay: -4s; }
.spark-3[b-9lh4wuqunb] { top: 95%; left: 48%; background: linear-gradient(135deg, var(--amber), #ff9b3d); animation-delay: -1s; }
/* 図が画面外にある間は、すべての装飾アニメーションを止めます（linkye-ambientがdata-pausedを付けます）。 */
.hero-stage[data-paused] *[b-9lh4wuqunb], .hero-stage[data-paused] *[b-9lh4wuqunb]::before, .hero-stage[data-paused] *[b-9lh4wuqunb]::after { animation-play-state: paused; }

/* ==== 三つの約束: 冒頭の下端に重ねて浮かべるカード ==== */
.value-strip[b-9lh4wuqunb] { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin-top: -72px; margin-bottom: 104px; list-style: none; }
.value-strip li[b-9lh4wuqunb] { display: flex; align-items: flex-start; gap: 16px; min-width: 0; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
.value-icon[b-9lh4wuqunb] { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; font-size: 20px; }
.value-icon.start[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--amber), var(--coral)); }
.value-icon.account[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--blue), var(--violet)); }
.value-icon.language[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--pick), var(--pick-2)); }
.value-strip strong[b-9lh4wuqunb] { display: block; margin-bottom: 4px; font-size: 1rem; line-height: 1.5; }
.value-strip p[b-9lh4wuqunb] { margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.75; }

/* ==== 節の見出し: おすすめのゲームとサービス一覧で共通 ==== */
.section-heading[b-9lh4wuqunb] { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.section-heading .eyebrow[b-9lh4wuqunb] { margin-bottom: 12px; }
.section-heading h2[b-9lh4wuqunb] { margin-bottom: 0; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.25; }
.section-heading p[b-9lh4wuqunb] { max-width: 340px; margin-bottom: 5px; color: var(--muted); font-size: .875rem; }

/* ==== おすすめのゲーム ==== */
.recommended-games[b-9lh4wuqunb] { padding-block: 0 104px; }
.recommended-games .section-heading[b-9lh4wuqunb] { align-items: center; }
.recommended-games .section-heading p[b-9lh4wuqunb] { max-width: none; margin: 12px 0 0; }
.recommended-games .text-link[b-9lh4wuqunb] { flex-shrink: 0; }
/* 既存の画像付きゲームカードを再利用し、狭幅では一列に切り替えます。 */
.recommended-games-grid[b-9lh4wuqunb] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
/* 公開候補が一件の場合は、既存の横長カードを節の全幅で表示します。 */
.recommended-games-grid:has(> :only-child)[b-9lh4wuqunb] { grid-template-columns: minmax(0, 1fr); }

/* ==== サービス一覧: 大小のカードを組み合わせたタイル ==== */
.services-section[b-9lh4wuqunb] { position: relative; padding: 104px 0 112px; border-radius: 48px 48px 0 0; background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); isolation: isolate; }
/* 薄い方眼を上側だけに敷き、作業台のような背景にします。 */
.services-section[b-9lh4wuqunb]::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background-image: linear-gradient(#25324a0b 1px, transparent 1px), linear-gradient(90deg, #25324a0b 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(#000, transparent 60%); mask-image: linear-gradient(#000, transparent 60%); pointer-events: none; }
.service-grid[b-9lh4wuqunb] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
/* カードごとの識別色をRGBの成分で持ち、透明度を変えて背景・光・枠に使い分けます。 */
.service-card[b-9lh4wuqunb] { --accent: 55 108 244; --art: linear-gradient(135deg, #eef3ff, #ece9ff); position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); isolation: isolate; transition: translate .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s; }
.service-card.game[b-9lh4wuqunb] { --accent: 255 106 85; --art: linear-gradient(135deg, #fff1ec, #ffe4ec); }
.service-card.pick[b-9lh4wuqunb] { --accent: 15 167 118; --art: linear-gradient(135deg, #e7faf1, #e5f6fb); }
.service-card.tools[b-9lh4wuqunb] { --accent: 124 92 255; --art: linear-gradient(135deg, #f1edff, #e8eeff); }
/* ポインターの位置に識別色の光を当て、枠にも同じ位置の光を走らせます（対応端末だけ）。 */
.service-card[b-9lh4wuqunb]::before { content: ""; position: absolute; inset: 0; z-index: 3; opacity: 0; background: radial-gradient(420px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgb(var(--accent) / .1), transparent 60%); transition: opacity .35s; pointer-events: none; }
.service-card[b-9lh4wuqunb]::after { content: ""; position: absolute; inset: 0; z-index: 4; padding: 1.5px; border-radius: inherit; opacity: 0; background: radial-gradient(260px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgb(var(--accent) / .9), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); transition: opacity .35s; pointer-events: none; }
/* カードのclass属性は他の画面・試験と共有する形（service-card と識別子）に保ち、浮かび上がる表示はここで指定します。 */
/* キーフレームは全体CSSの linkye-reveal を使い、対応ブラウザーで動きを減らす設定でない場合だけ有効にします。 */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .service-card[b-9lh4wuqunb] { animation: linkye-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
    }
}
/* 浮き上がりは個別のtranslateで指定し、表示アニメーションのtransformと打ち消し合わないようにします。 */
.service-card:hover[b-9lh4wuqunb]::before, .service-card:hover[b-9lh4wuqunb]::after { opacity: 1; }
.service-image[b-9lh4wuqunb] { position: relative; display: grid; place-items: center; min-height: 240px; overflow: hidden; background: var(--art); }
/* 絵の背後に識別色の柔らかな円を置き、カードごとの色の印象を強めます。 */
.service-image[b-9lh4wuqunb]::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--accent) / .18), transparent); }
.service-image[b-9lh4wuqunb]  svg { position: relative; display: block; width: min(100%, 340px); height: 240px; transition: transform .7s var(--ease-spring); }
.service-card:hover .service-image[b-9lh4wuqunb]  svg { transform: translateY(-6px) scale(1.06) rotate(-2deg); }
.service-image .status[b-9lh4wuqunb] { position: absolute; top: 16px; left: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 0; background: #ffffffd9; color: #2b3650; box-shadow: var(--shadow-sm); }
.service-image .status[b-9lh4wuqunb]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16b77f; box-shadow: 0 0 0 3px #16b77f2e; }
/* Toolsは記号の札を浮かべた専用の絵で、他のサービスと同じ大きさの入口にします。 */
.tools-art[b-9lh4wuqunb] { position: relative; display: grid; place-items: center; width: 100%; height: 240px; }
.tools-icon[b-9lh4wuqunb] { display: grid; place-items: center; width: 108px; height: 108px; border-radius: 32px; color: #fff; font-size: 52px; background: linear-gradient(135deg, var(--tools), var(--tools-2)); box-shadow: 0 24px 48px -18px rgb(var(--accent) / .9); transition: transform .7s var(--ease-spring); }
.service-card:hover .tools-icon[b-9lh4wuqunb] { transform: rotate(-6deg) scale(1.06); }
.tools-chip[b-9lh4wuqunb] { position: absolute; padding: 6px 12px; border: 1px solid #ffffffcc; border-radius: 12px; background: #fff; color: #4d3fc7; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; font-weight: 700; box-shadow: var(--shadow); }
.chip-a[b-9lh4wuqunb] { top: 22%; left: 18%; rotate: -8deg; }
.chip-b[b-9lh4wuqunb] { top: 30%; right: 16%; rotate: 6deg; }
.chip-c[b-9lh4wuqunb] { bottom: 18%; left: 30%; rotate: 4deg; }
.service-copy[b-9lh4wuqunb] { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 26px 26px 24px; }
.service-copy h3[b-9lh4wuqunb] { margin-bottom: 10px; font-size: 1.625rem; }
.service-copy p[b-9lh4wuqunb] { margin-bottom: 16px; color: var(--muted); font-size: .875rem; line-height: 1.9; }
/* 利用条件を本文から区切り、長い翻訳や文字拡大でも省略せず折り返します。 */
.service-copy .service-access[b-9lh4wuqunb] { padding: 12px 14px; border-left: 3px solid rgb(var(--accent) / .7); border-radius: 4px 14px 14px 4px; background: rgb(var(--accent) / .07); color: #3d4963; font-size: .8125rem; line-height: 1.75; overflow-wrap: anywhere; }
.service-guide[b-9lh4wuqunb] { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 6px 2px; border-top: 1px dashed var(--line); color: #34405a; font-size: .8125rem; font-weight: 700; transition: color .2s; }
.service-guide:hover[b-9lh4wuqunb] { color: rgb(var(--accent)); }
.service-guide span[b-9lh4wuqunb] { transition: transform .25s var(--ease-out); }
.service-guide:hover span[b-9lh4wuqunb] { transform: translateX(4px); }
/* 最後の操作は濃色の丸いボタンにしてカードの下端へ揃え、識別色の円に矢印を置きます。 */
.service-copy > :nth-last-child(2)[b-9lh4wuqunb] { margin-bottom: 18px; }
.service-entry[b-9lh4wuqunb] { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 10px 10px 22px; margin-top: auto; border-radius: 100px; background: #16203a; color: #fff; font-size: .875rem; font-weight: 750; transition: background .25s; }
.service-entry:hover[b-9lh4wuqunb] { background: #0b1226; color: #fff; }
.service-entry span[b-9lh4wuqunb] { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(var(--accent)); color: #fff; transition: transform .3s var(--ease-spring); }
.service-card:hover .service-entry span[b-9lh4wuqunb] { transform: rotate(45deg); }

/* ==== 共通アカウントの紹介 ==== */
.about-section[b-9lh4wuqunb] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; padding-block: 112px; }
.account-visual[b-9lh4wuqunb] { position: relative; display: grid; place-items: center; min-height: 440px; }
.account-ring[b-9lh4wuqunb] { position: absolute; border-radius: 50%; }
/* 光の輪は回転させず呼吸のように伸縮させ、回転した外接矩形で横にはみ出さないようにします。 */
/* 破線の輪は回転しても外接矩形（幅の約1.41倍）が親の幅に収まる大きさにします。 */
.ring-1[b-9lh4wuqunb] { width: min(420px, 90%); aspect-ratio: 1; background: conic-gradient(from 180deg, #5b86ff40, #9a6bff40, #ff8a7340, #2fd3a040, #5b86ff40); filter: blur(28px); animation: halo-breathe-b-9lh4wuqunb 8s ease-in-out infinite alternate; }
.ring-2[b-9lh4wuqunb] { width: min(330px, 68%); aspect-ratio: 1; border: 1.5px dashed #c6d0ec; animation: orbit-spin-b-9lh4wuqunb 60s linear infinite reverse; }
@keyframes halo-breathe-b-9lh4wuqunb {
    from { opacity: .75; transform: scale(.94); }
    to { opacity: 1; transform: scale(1.04); }
}
.account-card[b-9lh4wuqunb] { position: relative; width: min(100%, 340px); padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: #fffffff2; box-shadow: var(--shadow-lg); transform: rotate(-4deg); transition: transform .6s var(--ease-spring); }
.account-visual:hover .account-card[b-9lh4wuqunb] { transform: rotate(0) scale(1.02); }
.account-card-head[b-9lh4wuqunb] { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-avatar[b-9lh4wuqunb] { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--surface-2); }
.account-card-head strong[b-9lh4wuqunb] { font-size: 1.25rem; letter-spacing: -.02em; }
.mock-line[b-9lh4wuqunb] { display: block; width: 120px; height: 8px; margin-top: 6px; border-radius: 8px; background: var(--surface-2); }
.account-services[b-9lh4wuqunb] { display: grid; gap: 10px; padding: 0; margin: 16px 0 0; list-style: none; }
.account-services li[b-9lh4wuqunb] { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--surface); font-size: .9375rem; font-weight: 700; }
.account-services i[b-9lh4wuqunb] { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; }
.account-services .game i[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--game), var(--game-2)); }
.account-services .study i[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--study), var(--study-2)); }
.account-services .pick i[b-9lh4wuqunb] { background: linear-gradient(135deg, var(--pick), var(--pick-2)); }
/* 利用中を示すスイッチの絵です。色だけでなく、つまみの位置でも状態を描きます。 */
.account-toggle[b-9lh4wuqunb] { position: relative; flex: none; width: 40px; height: 24px; margin-left: auto; border-radius: 100px; background: linear-gradient(135deg, var(--pick), #2fd3a0); }
.account-toggle[b-9lh4wuqunb]::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px #0003; }
.account-badge[b-9lh4wuqunb] { position: absolute; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); font-size: 24px; animation: badge-float-b-9lh4wuqunb 6s ease-in-out infinite; }
.badge-shield[b-9lh4wuqunb] { top: 10%; right: 10%; color: var(--blue); }
.badge-heart[b-9lh4wuqunb] { bottom: 10%; left: 8%; color: var(--game-2); animation-delay: -3s; }
@keyframes badge-float-b-9lh4wuqunb {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.about-copy[b-9lh4wuqunb] { min-width: 0; }
.about-copy h2[b-9lh4wuqunb] { margin-bottom: 22px; white-space: pre-line; }
.about-copy p[b-9lh4wuqunb] { color: var(--muted); font-size: .9375rem; }
.about-copy ul[b-9lh4wuqunb] { display: grid; gap: 10px; padding: 0; margin: 26px 0 30px; list-style: none; font-size: .9375rem; font-weight: 650; }
.about-copy li[b-9lh4wuqunb] { display: flex; align-items: center; gap: 12px; }
.about-copy li i[b-9lh4wuqunb] { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }

/* ==== サポートへの案内: ブランド色の帯 ==== */
.support-section[b-9lh4wuqunb] { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 44px 48px; overflow: hidden; border-radius: 32px; background: radial-gradient(60% 120% at 100% 0%, #ff8a7366, transparent 60%), linear-gradient(120deg, #2f5bea 0%, #5a4dff 55%, #8b4dff 100%); color: #fff; box-shadow: 0 30px 60px -30px #4a4dffa6; isolation: isolate; }
.support-section[b-9lh4wuqunb]::after { content: ""; position: absolute; right: -60px; bottom: -120px; z-index: -1; width: 320px; height: 320px; border: 40px solid #ffffff12; border-radius: 50%; }
.support-copy[b-9lh4wuqunb] { display: flex; align-items: flex-start; gap: 20px; min-width: 0; }
.support-icon[b-9lh4wuqunb] { display: grid; flex: none; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: #ffffff26; font-size: 26px; }
.support-section h2[b-9lh4wuqunb] { margin-bottom: 6px; color: #fff; font-size: 1.625rem; }
.support-section p[b-9lh4wuqunb] { margin: 0; color: #e3e6ff; font-size: .9375rem; }
.support-section .button-light[b-9lh4wuqunb] { flex-shrink: 0; border-color: transparent; }
.support-section .button-light:focus-visible[b-9lh4wuqunb] { outline-color: #fff; }

/* ==== 準備中のサービス ==== */
.coming-soon[b-9lh4wuqunb] { text-align: center; padding: 45px 0 85px; max-width: 750px; }
.coming-art[b-9lh4wuqunb] { max-width: 310px; margin: auto; }
.coming-soon .eyebrow[b-9lh4wuqunb] { margin-bottom: 12px; }
.coming-soon h1[b-9lh4wuqunb] { font-size: 36px; margin: 23px 0; }
.coming-soon p[b-9lh4wuqunb] { color: var(--muted); margin-bottom: 30px; }

/* ==== 広い画面: サービスを大小のタイルで組みます ==== */
@media (min-width: 1100px) {
    /* 四件そろう場合は7:5と5:7の段に組み、広いカードは絵と説明を左右に並べます。 */
    .service-grid:has(> .service-card:nth-child(4):last-child)[b-9lh4wuqunb] { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .service-grid:has(> .service-card:nth-child(4):last-child) > .service-card:nth-child(4n + 1)[b-9lh4wuqunb],
    .service-grid:has(> .service-card:nth-child(4):last-child) > .service-card:nth-child(4n)[b-9lh4wuqunb] { grid-column: span 7; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
    .service-grid:has(> .service-card:nth-child(4):last-child) > .service-card:nth-child(4n + 2)[b-9lh4wuqunb],
    .service-grid:has(> .service-card:nth-child(4):last-child) > .service-card:nth-child(4n + 3)[b-9lh4wuqunb] { grid-column: span 5; }
    .service-grid:has(> .service-card:nth-child(4):last-child) > .service-card:nth-child(4n + 1) .service-image[b-9lh4wuqunb],
    .service-grid:has(> .service-card:nth-child(4):last-child) > .service-card:nth-child(4n) .service-image[b-9lh4wuqunb] { min-height: 100%; }
}

@media (max-width: 1100px) {
    .about-section[b-9lh4wuqunb] { gap: 56px; }
}

@media (max-width: 960px) {
    /* タブレットでは文章を上、図を下に積み、図は幅に合わせて縮めます。 */
    .hero[b-9lh4wuqunb] { grid-template-columns: minmax(0, 1fr); gap: 8px; min-height: 0; padding-block: 56px 120px; text-align: center; }
    .hero-copy > p[b-9lh4wuqunb] { margin-inline: auto; }
    .hero-actions[b-9lh4wuqunb], .hero-quick ul[b-9lh4wuqunb] { justify-content: center; }
    .hero-visual[b-9lh4wuqunb] { width: min(100%, 460px); margin-inline: auto; }
    .value-strip[b-9lh4wuqunb] { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .section-heading[b-9lh4wuqunb] { flex-direction: column; align-items: flex-start; gap: 12px; }
    .section-heading p[b-9lh4wuqunb] { max-width: none; }
    .recommended-games .section-heading[b-9lh4wuqunb] { align-items: flex-start; }
    .about-section[b-9lh4wuqunb] { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 80px; }
    .account-visual[b-9lh4wuqunb] { min-height: 380px; }
    .about-copy[b-9lh4wuqunb] { max-width: 560px; }
}

@media (max-width: 760px) {
    /* スマートフォンでは舞台の余白と角丸を詰め、サービスは一列のカードにします。 */
    .hero-stage[b-9lh4wuqunb] { margin: 8px 8px 0; border-radius: 28px; }
    .hero[b-9lh4wuqunb] { padding-block: 44px 108px; }
    .hero h1[b-9lh4wuqunb] { margin-top: 20px; font-size: clamp(2.2rem, 10vw, 3rem); }
    .hero-copy > p[b-9lh4wuqunb] { font-size: .9375rem; }
    .hero-actions .button[b-9lh4wuqunb] { flex: 1 1 220px; }
    .node[b-9lh4wuqunb] { padding: 5px 13px 5px 5px; gap: 8px; font-size: 13px; }
    .node-icon[b-9lh4wuqunb] { width: 32px; height: 32px; font-size: 15px; }
    .spark[b-9lh4wuqunb] { width: 32px; height: 32px; font-size: 14px; }
    .value-strip[b-9lh4wuqunb] { margin-top: -64px; margin-bottom: 72px; }
    .recommended-games[b-9lh4wuqunb] { padding-bottom: 72px; }
    .recommended-games-grid[b-9lh4wuqunb] { grid-template-columns: minmax(0, 1fr); }
    .services-section[b-9lh4wuqunb] { padding: 72px 0; border-radius: 32px 32px 0 0; }
    .service-grid[b-9lh4wuqunb] { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .service-image[b-9lh4wuqunb], .tools-art[b-9lh4wuqunb] { min-height: 200px; height: auto; }
    .service-image[b-9lh4wuqunb]  svg { height: 200px; }
    .tools-art[b-9lh4wuqunb] { height: 200px; }
    .service-copy[b-9lh4wuqunb] { padding: 22px 20px 20px; }
    .service-copy h3[b-9lh4wuqunb] { font-size: 1.4rem; }
    .support-section[b-9lh4wuqunb] { flex-direction: column; align-items: flex-start; padding: 32px 24px; border-radius: 26px; }
    .support-section .button-light[b-9lh4wuqunb] { width: 100%; }
}

@media (max-width: 480px) {
    .hero-eyebrow[b-9lh4wuqunb] { font-size: 11px; letter-spacing: .02em; }
    .quick-link[b-9lh4wuqunb] { font-size: 12px; }
    .value-strip li[b-9lh4wuqunb] { padding: 18px; }
    .account-visual[b-9lh4wuqunb] { min-height: 340px; }
    .account-badge[b-9lh4wuqunb] { width: 48px; height: 48px; font-size: 20px; }
    .support-copy[b-9lh4wuqunb] { flex-direction: column; }
    .coming-soon h1[b-9lh4wuqunb] { font-size: 27px; }
    .coming-soon p[b-9lh4wuqunb] { font-size: 14px; }
}

@media (forced-colors: active) {
    /* 強制配色では塗りの文字を通常の文字色に戻し、装飾の光を消します。 */
    .hero h1 span[b-9lh4wuqunb] { background: none; color: CanvasText; }
    .service-card[b-9lh4wuqunb]::before, .service-card[b-9lh4wuqunb]::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    /* 動き軽減では傾き・視差・浮遊を止め、図を正面の静止画として表示します。 */
    .constellation[b-9lh4wuqunb] { transform: none; }
    .node[b-9lh4wuqunb], .spark[b-9lh4wuqunb] { translate: -50% -50%; }
    .service-card:hover[b-9lh4wuqunb] { translate: none; }
}
/* /Components/Pages/StudyHub.razor.rz.scp.css */
/* 資格選択は宅建の学習画面から独立し、同じサイトのトークンで組み立てます。 */
.study-hub[b-u6sq5rvls3] { padding-bottom: 72px; overflow-wrap: anywhere; }

/* ==== 冒頭の舞台: ノートの方眼と柔らかな光の面 ==== */
.study-hero[b-u6sq5rvls3] { position: relative; display: block; margin: 12px 12px 0; overflow: hidden; border: 1px solid #e3e8f8; border-radius: 36px; background: linear-gradient(135deg, #eef3ff 0%, #f4f0ff 55%, #fff6f2 100%); isolation: isolate; }
.study-hero-backdrop[b-u6sq5rvls3] { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.study-blob[b-u6sq5rvls3] { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; animation: study-drift-b-u6sq5rvls3 22s ease-in-out infinite alternate; }
.blob-1[b-u6sq5rvls3] { top: -140px; right: 8%; width: 440px; height: 440px; background: #b9ccff; }
.blob-2[b-u6sq5rvls3] { bottom: -200px; left: -60px; width: 420px; height: 420px; background: #e2d3ff; animation-duration: 28s; animation-delay: -9s; }
@keyframes study-drift-b-u6sq5rvls3 {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-60px, 50px, 0) scale(1.1); }
}
/* 方眼は右側から溶かし、文章の背後では控えめにします。 */
.study-paper[b-u6sq5rvls3] { position: absolute; inset: 0; background-image: linear-gradient(#376cf414 1px, transparent 1px), linear-gradient(90deg, #376cf414 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 70%); mask-image: linear-gradient(90deg, transparent 10%, #000 70%); }
.study-hero-inner[b-u6sq5rvls3] { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; padding-block: 36px 64px; }
.study-hero-copy[b-u6sq5rvls3] { min-width: 0; }
.study-hub-breadcrumb[b-u6sq5rvls3] { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .8125rem; }
.study-hub-breadcrumb a[b-u6sq5rvls3] { color: var(--blue-strong); }
.study-hub-heading[b-u6sq5rvls3] { max-width: 640px; margin: 40px 0 28px; }
.study-hub-eyebrow[b-u6sq5rvls3] { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1px solid #d6e0fb; border-radius: 100px; background: #ffffffb3; color: var(--blue-strong); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.study-hub-eyebrow i[b-u6sq5rvls3] { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 12px; background: linear-gradient(135deg, var(--study), var(--study-2)); }
.study-hub-heading h1[b-u6sq5rvls3] { margin: 20px 0 18px; color: var(--ink-strong); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.2; letter-spacing: -.045em; }
.study-hub-heading p[b-u6sq5rvls3] { margin: 0; color: #4d5a74; line-height: 1.95; }
.study-hero-actions[b-u6sq5rvls3] { display: flex; flex-wrap: wrap; gap: 12px; }
.study-hero-actions .button[b-u6sq5rvls3] { min-height: 54px; }

/* ==== 冒頭の図: 問題カードと達成の輪 ==== */
.study-hero-visual[b-u6sq5rvls3] { position: relative; min-width: 0; height: 400px; perspective: 1000px; }
/* 対応端末ではポインターに合わせてカードを傾け、紙が机から浮いているように見せます。 */
.quiz-card[b-u6sq5rvls3] { position: absolute; top: 50%; left: 50%; width: min(330px, 86%); padding: 22px; border: 1px solid #e3e8f4; border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); transform: translate(-50%, -50%) rotateX(calc(var(--py, 0) * -8deg)) rotateY(calc(var(--px, 0) * 10deg)) rotate(-3deg); transition: transform .9s var(--ease-out); }
.quiz-card-top[b-u6sq5rvls3] { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.quiz-chip[b-u6sq5rvls3] { padding: 3px 10px; border-radius: 100px; background: var(--blue-soft); color: var(--blue-strong); font-size: 12px; font-weight: 800; }
.quiz-progress[b-u6sq5rvls3] { flex: 1; height: 6px; overflow: hidden; border-radius: 6px; background: var(--surface-2); }
.quiz-progress span[b-u6sq5rvls3] { display: block; width: 62%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--study), var(--study-2)); }
.quiz-line[b-u6sq5rvls3] { display: block; width: 70%; height: 9px; margin-top: 9px; border-radius: 9px; background: #e6eaf3; }
.quiz-line.long[b-u6sq5rvls3] { width: 92%; margin-top: 0; }
.quiz-options[b-u6sq5rvls3] { display: grid; gap: 9px; padding: 0; margin: 18px 0 0; list-style: none; }
.quiz-options li[b-u6sq5rvls3] { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 14px; }
.quiz-options li > span[b-u6sq5rvls3] { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 800; }
.quiz-options li > i[b-u6sq5rvls3] { flex: 1; height: 8px; border-radius: 8px; background: #edf0f6; }
/* 正答の選択肢は緑の枠・番号・チェックの三つで示し、色だけに頼りません。 */
.quiz-options .is-correct[b-u6sq5rvls3] { border-color: #34c38f; background: #effbf5; animation: correct-glow-b-u6sq5rvls3 3.6s ease-in-out infinite; }
.quiz-options .is-correct > span[b-u6sq5rvls3] { background: #1fae7a; color: #fff; }
.quiz-options .is-correct > i[b-u6sq5rvls3] { background: #c9efdc; }
.quiz-options .is-correct > b[b-u6sq5rvls3] { display: grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #1fae7a; color: #fff; font-size: 14px; }
@keyframes correct-glow-b-u6sq5rvls3 {
    0%, 100% { box-shadow: 0 0 0 0 #34c38f00; }
    50% { box-shadow: 0 0 0 6px #34c38f26; }
}
.score-ring[b-u6sq5rvls3] { position: absolute; right: 2%; bottom: 6%; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 14px); transition: translate .9s var(--ease-out); animation: study-float-b-u6sq5rvls3 7s ease-in-out infinite; }
.score-ring svg[b-u6sq5rvls3] { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); transform: rotate(-90deg); }
.score-ring circle[b-u6sq5rvls3] { fill: none; stroke-width: 10; stroke-linecap: round; }
.score-ring-track[b-u6sq5rvls3] { stroke: var(--surface-2); }
.score-ring-value[b-u6sq5rvls3] { stroke: var(--study); stroke-dasharray: 78 100; }
.score-ring i[b-u6sq5rvls3] { color: var(--amber); font-size: 30px; }
.study-float[b-u6sq5rvls3] { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; font-size: 22px; box-shadow: 0 16px 30px -14px #25324a99; translate: calc(var(--px, 0) * -12px) calc(var(--py, 0) * -12px); transition: translate .9s var(--ease-out); animation: study-float-b-u6sq5rvls3 6s ease-in-out infinite; }
.float-1[b-u6sq5rvls3] { top: 8%; left: 8%; background: linear-gradient(135deg, var(--amber), #ff9b3d); animation-delay: -2s; }
.float-2[b-u6sq5rvls3] { top: 14%; right: 6%; background: linear-gradient(135deg, var(--study), var(--study-2)); animation-delay: -4s; }
.float-3[b-u6sq5rvls3] { bottom: 10%; left: 12%; background: linear-gradient(135deg, var(--game-2), var(--violet)); width: 44px; height: 44px; font-size: 18px; }
@keyframes study-float-b-u6sq5rvls3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
/* 図が画面外にある間は、装飾アニメーションを止めます。 */
.study-hero[data-paused] *[b-u6sq5rvls3], .study-hero[data-paused] *[b-u6sq5rvls3]::before, .study-hero[data-paused] *[b-u6sq5rvls3]::after { animation-play-state: paused; }

/* ==== 資格カード: 入口と学習機能を一枚にまとめます ==== */
/* 資格が増えても同じ幅のカードを縦に積めるよう、一覧はgridで組みます。冒頭の舞台へ少し重ねて浮かせます。 */
.study-qualification-grid[b-u6sq5rvls3] { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: -28px; }
.study-qualification-card[b-u6sq5rvls3] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--canvas); box-shadow: var(--shadow-lg); }
.study-qualification-main[b-u6sq5rvls3] { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; padding: 36px; }
.study-qualification-head[b-u6sq5rvls3] { display: flex; align-items: center; gap: 16px; }
.study-qualification-icon[b-u6sq5rvls3] { display: grid; flex: none; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, var(--study), var(--study-2)); box-shadow: 0 14px 28px -14px var(--study); font-size: 1.75rem; }
.study-qualification-status[b-u6sq5rvls3] { display: inline-flex; align-items: center; gap: 6px; color: #137a55; font-size: .8125rem; font-weight: 700; }
.study-qualification-status[b-u6sq5rvls3]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #16b77f; box-shadow: 0 0 0 3px #16b77f2e; }
.study-qualification-card h2[b-u6sq5rvls3] { margin: 0; font-size: 1.875rem; }
.study-qualification-main > p[b-u6sq5rvls3] { margin: 0; color: var(--muted); line-height: 1.85; }
.study-qualification-main > .study-qualification-access[b-u6sq5rvls3] { padding: 12px 14px; border-left: 3px solid #376cf4b3; border-radius: 4px 14px 14px 4px; background: var(--blue-soft); color: #3d4963; font-size: .8125rem; line-height: 1.75; }
.study-qualification-actions[b-u6sq5rvls3] { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: auto; padding-top: 6px; }
/* 学習機能は淡い面に並べ、アイコンの色で種類を見分けられるようにします。 */
.study-features[b-u6sq5rvls3] { display: grid; align-content: center; gap: 4px; padding: 28px; margin: 0; list-style: none; background: linear-gradient(160deg, #f5f8ff, #f7f3ff); border-left: 1px solid var(--line); }
.study-features li[b-u6sq5rvls3] { display: flex; align-items: flex-start; gap: 16px; padding: 16px; border-radius: 18px; transition: background .25s; }
.study-features li:hover[b-u6sq5rvls3] { background: #ffffffb3; }
.study-feature-icon[b-u6sq5rvls3] { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; font-size: 1.25rem; }
.practice .study-feature-icon[b-u6sq5rvls3] { background: linear-gradient(135deg, var(--study), var(--study-2)); }
.exam .study-feature-icon[b-u6sq5rvls3] { background: linear-gradient(135deg, var(--coral), var(--amber)); }
.explain .study-feature-icon[b-u6sq5rvls3] { background: linear-gradient(135deg, var(--pick), var(--pick-2)); }
.study-features strong[b-u6sq5rvls3] { display: block; margin-bottom: 2px; font-size: 1rem; }
.study-features p[b-u6sq5rvls3] { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.75; }

@media (max-width: 960px) {
    /* タブレットでは図を文章の下に置き、資格カードも縦に積みます。 */
    /* 図は問題カード全体（回転分を含む）が収まる高さを確保し、上の操作ボタンへ重ねません。 */
    .study-hero-inner[b-u6sq5rvls3] { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 56px; }
    .study-hero-visual[b-u6sq5rvls3] { height: 400px; margin-top: 16px; }
    .study-qualification-card[b-u6sq5rvls3] { grid-template-columns: minmax(0, 1fr); }
    .study-features[b-u6sq5rvls3] { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 760px) {
    /* 英語の資格名や200%文字でも、内容の最小幅でカードを画面外へ押し出しません。 */
    .study-hero[b-u6sq5rvls3] { margin: 8px 8px 0; border-radius: 28px; }
    .study-hub-heading[b-u6sq5rvls3] { margin-top: 28px; }
    .study-hero-actions .button[b-u6sq5rvls3] { flex: 1 1 220px; }
    .study-hero-visual[b-u6sq5rvls3] { height: 380px; }
    .quiz-card[b-u6sq5rvls3] { padding: 18px; }
    .score-ring[b-u6sq5rvls3] { width: 92px; height: 92px; }
    .score-ring i[b-u6sq5rvls3] { font-size: 24px; }
    .study-qualification-main[b-u6sq5rvls3] { padding: 26px 22px; }
    .study-qualification-actions .button[b-u6sq5rvls3] { width: 100%; }
    .study-features[b-u6sq5rvls3] { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    /* 動き軽減では傾きと視差を止め、図を静止画として表示します。 */
    .quiz-card[b-u6sq5rvls3] { transform: translate(-50%, -50%) rotate(-3deg); }
    .score-ring[b-u6sq5rvls3], .study-float[b-u6sq5rvls3] { translate: none; }
}
/* /Components/Pages/Tools/Base64.razor.rz.scp.css */
/* Base64固有の形式選択幅を維持し、入出力の構造とスタイルは共通部品へ集約します。 */
.base64-page[b-y28t3dwkp8] { --text-codec-format-width: 22rem; }
/* /Components/Pages/Tools/Index.razor.rz.scp.css */
/* 一覧のカードは公開済みツールの数に応じて折り返し、追加時も同じ入口を保ちます。 */
.tools-index[b-yluvcza555] { padding-block: 32px 72px; overflow-wrap: anywhere; }
.tools-heading[b-yluvcza555] { max-width: 760px; margin-block: 42px 36px; }
.tools-heading h1[b-yluvcza555] { margin-bottom: 16px; }
.tools-heading p[b-yluvcza555] { color: var(--muted); line-height: 1.9; }
.tools-access[b-yluvcza555] { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; }
.tools-access i[b-yluvcza555] { color: var(--blue); }
.tools-grid[b-yluvcza555] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.tool-card[b-yluvcza555] { display: flex; flex-direction: column; align-items: flex-start; max-width: 560px; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--canvas); }
.tool-card-icon[b-yluvcza555] { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 24px; border-radius: 18px; background: var(--blue-soft); color: var(--blue); font-size: 1.75rem; }
.tool-card .eyebrow[b-yluvcza555] { margin-bottom: 10px; }
.tool-card h2[b-yluvcza555] { font-size: 1.65rem; margin-bottom: 12px; }
.tool-card p[b-yluvcza555] { flex: 1; margin-bottom: 26px; color: var(--muted); }
.tool-card .button[b-yluvcza555] { gap: 20px; }

@media (max-width: 760px) {
    .tools-heading[b-yluvcza555] { margin-block: 28px; }
    .tool-card[b-yluvcza555] { max-width: none; }
}
/* /Components/Pages/Tools/JsonParser.razor.rz.scp.css */
/* 共通の入力画面はtools-workspace.scssへ集約し、JSONの診断とツリーだけを保持します。 */
.json-parser-warning[b-dmaz951pn0] { padding: 12px 16px; border: 1px solid #eddda4; border-radius: 12px; color: #775400; background: #fff8e2; font-size: .875rem; }
.json-parser-diagnostics[b-dmaz951pn0] { color: #982831; font-size: .8125rem; white-space: pre-line; }
.json-parser-diagnostics:not(:empty)[b-dmaz951pn0] { margin-top: 10px; }
.json-parser-tree[b-dmaz951pn0] { min-height: 26rem; max-height: 52rem; overflow: auto; padding: 10px 0; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: .8125rem; line-height: 1.8; }

/* ツリーの子要素はモジュールが所有するため、この描画領域だけにdeepの適用を限定します。 */
.json-parser-tree[b-dmaz951pn0]  .json-tree-list { list-style: none; padding-left: 18px; margin: 0; border-left: 1px solid var(--line); }
.json-parser-tree[b-dmaz951pn0]  .json-tree-root { padding-left: 0; border-left: 0; }
.json-parser-tree[b-dmaz951pn0]  .json-tree-item { min-width: 0; margin-block: 4px; }
.json-parser-tree[b-dmaz951pn0]  .json-tree-summary { padding: 3px 2px; cursor: pointer; overflow-wrap: anywhere; white-space: pre-wrap; }
.json-parser-tree[b-dmaz951pn0]  .json-tree-key { color: #345a9c; font-weight: 650; }
.json-parser-tree[b-dmaz951pn0]  .json-tree-value { overflow-wrap: anywhere; white-space: pre-wrap; }
.json-parser-tree[b-dmaz951pn0]  [data-json-type="string"] > .json-tree-value,
.json-parser-tree[b-dmaz951pn0]  .json-tree-value[data-json-type="string"] { color: #246549; }
.json-parser-tree[b-dmaz951pn0]  .json-tree-value[data-json-type="number"] { color: #835022; }
.json-parser-tree[b-dmaz951pn0]  .json-tree-value[data-json-type="boolean"],
.json-parser-tree[b-dmaz951pn0]  .json-tree-value[data-json-type="null"] { color: #6b438b; }
.json-parser-tree[b-dmaz951pn0]  .json-tree-type,
.json-parser-tree[b-dmaz951pn0]  .json-tree-count { margin-inline-start: 8px; font-family: var(--font); font-size: .6875rem; color: var(--muted); }
.json-parser-tree[b-dmaz951pn0]  .json-tree-more { margin-block: 8px; padding: 6px 12px; min-height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--blue-soft); color: var(--blue); font: inherit; cursor: pointer; white-space: normal; }

@media (max-width: 760px) {
    .json-parser-tree[b-dmaz951pn0] { min-height: 16rem; max-height: 36rem; }
}
/* /Components/Pages/Tools/UnixTime.razor.rz.scp.css */
/* 日時の短い入力は既存Toolsの二分割カードと同じ見た目で、狭幅では自然に積み重ねます。 */
.unix-settings[b-vjtwx8sjj6] { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 24px; margin-top: 20px; }
.unix-settings > .unix-field[b-vjtwx8sjj6] { flex: 1 1 22rem; max-width: 36rem; }
.unix-field[b-vjtwx8sjj6] { min-width: 0; margin-block: 0 16px; }
.unix-field label[b-vjtwx8sjj6] { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 650; }
.unix-field .form-control[b-vjtwx8sjj6], .unix-field .form-select[b-vjtwx8sjj6] { width: 100%; min-width: 0; min-height: 44px; border-color: var(--line); color: var(--ink); background-color: var(--canvas); }
.unix-field [aria-invalid="true"][b-vjtwx8sjj6] { border-color: #ad2634; }
.unix-error[b-vjtwx8sjj6] { color: #ad2634; }
.unix-number[b-vjtwx8sjj6] { font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; }
.unix-results[b-vjtwx8sjj6] { margin-top: 18px; }
.unix-result-row[b-vjtwx8sjj6] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px; }
.unix-result-row .button[b-vjtwx8sjj6] { min-height: 44px; white-space: normal; }
.unix-result-row textarea[b-vjtwx8sjj6] { resize: vertical; overflow-wrap: anywhere; }
@media (max-width: 480px) {
    .unix-result-row[b-vjtwx8sjj6] { grid-template-columns: minmax(0, 1fr); }
    .unix-result-row .button[b-vjtwx8sjj6] { justify-self: start; }
}
/* /Components/Shared/SiteFooter.razor.rz.scp.css */
/* フッターは夜色の面にし、上端にブランド色の光を細く走らせて本文との区切りを示します。 */
.site-footer[b-upzi15wa8l] { position: relative; overflow: hidden; margin-top: 120px; padding: 72px 0 28px; background: radial-gradient(80% 120% at 85% 0%, #1b2a66 0%, transparent 55%), radial-gradient(60% 90% at 0% 100%, #2a1650 0%, transparent 60%), var(--night); color: var(--night-muted); isolation: isolate; }
.footer-glow[b-upzi15wa8l] { position: absolute; inset: 0 0 auto; z-index: -1; height: 1px; background: linear-gradient(90deg, transparent, #5b86ff 25%, #9a6bff 50%, #ff8a73 75%, transparent); }
.footer-glow[b-upzi15wa8l]::after { content: ""; position: absolute; left: 50%; top: 0; width: min(720px, 80%); height: 120px; border-radius: 50%; background: radial-gradient(closest-side, #5b6bff33, transparent); transform: translate(-50%, -50%); }

/* ブランドの列を広く取り、残りの三列にサービス・サポート・規約を並べます。 */
.footer-top[b-upzi15wa8l] { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand .brand[b-upzi15wa8l] { color: #fff; }
.footer-brand p[b-upzi15wa8l] { max-width: 280px; margin: 16px 0 0; color: var(--night-muted); font-size: .875rem; line-height: 1.8; }
.footer-column h2[b-upzi15wa8l] { margin: 6px 0 16px; color: #fff; font-family: var(--font); font-size: .8125rem; font-weight: 750; letter-spacing: .08em; }
.footer-column ul[b-upzi15wa8l] { display: grid; gap: 4px; padding: 0; margin: 0; list-style: none; }
.footer-column a[b-upzi15wa8l] { display: inline-flex; align-items: center; min-height: 36px; color: var(--night-muted); font-size: .875rem; transition: color .2s, transform .25s var(--ease-out); }
.footer-column a:hover[b-upzi15wa8l] { color: #fff; transform: translateX(3px); }
.site-footer a:focus-visible[b-upzi15wa8l] { outline-color: #8fb0ff; }

.footer-bottom[b-upzi15wa8l] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--night-line); }
.footer-bottom small[b-upzi15wa8l] { color: #8d97bd; font-size: .75rem; }
/* 言語の選択欄は夜色の面になじむ半透明の丸い欄にし、地球のアイコンを添えます。 */
.footer-culture[b-upzi15wa8l] { position: relative; }
.footer-culture > i[b-upzi15wa8l] { position: absolute; top: 50%; left: 12px; z-index: 1; color: var(--night-muted); line-height: 1; transform: translateY(-50%); pointer-events: none; }
.footer-culture[b-upzi15wa8l]  form { display: flex; align-items: center; gap: 4px; }
.footer-culture[b-upzi15wa8l]  select { min-height: 40px; padding: 6px 30px 6px 34px; border: 1px solid var(--night-line); border-radius: 100px; background-color: #ffffff0f; color: var(--night-ink); font-size: .8125rem; color-scheme: dark; }
.footer-culture[b-upzi15wa8l]  select:hover { border-color: #ffffff40; }

@media (max-width: 900px) {
    /* タブレットではブランドを上段の全幅に置き、三列のリンクをその下に並べます。 */
    .footer-top[b-upzi15wa8l] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
    .footer-brand[b-upzi15wa8l] { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    /* スマートフォンではリンクを二列にし、指で押しやすい高さを保ちます。 */
    .site-footer[b-upzi15wa8l] { margin-top: 80px; padding-top: 56px; }
    .footer-top[b-upzi15wa8l] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-column a[b-upzi15wa8l] { min-height: 44px; }
    .footer-bottom[b-upzi15wa8l] { flex-direction: column-reverse; align-items: flex-start; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .footer-column a:hover[b-upzi15wa8l] { transform: none; }
}
/* /Components/Shared/SiteHeader.razor.rz.scp.css */
/* ヘッダーは上端に固定した半透明の面にし、スクロール中も主要な入口とアカウント操作をすぐ使えるようにします。 */
/* 一行を維持し、長い翻訳が収まらなくなる幅からメニューを集約します。 */
.site-header[b-xex7gh22nr] { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid #e4e8f1b3; background: #ffffffe6; container: site-header / inline-size; }
@supports (backdrop-filter: blur(1px)) {
    /* 背景をぼかせる環境では透過を強め、下を流れる内容の色をほのかに見せます。 */
    .site-header[b-xex7gh22nr] { background: #ffffffc7; backdrop-filter: saturate(1.6) blur(18px); }
}
@supports (animation-timeline: scroll()) {
    /* スクロールを始めたら影と不透明度を強め、本文との境界を示します。JavaScriptを使わず、ブラウザーのスクロール連動で描画します。 */
    .site-header[b-xex7gh22nr] { animation: header-elevate-b-xex7gh22nr linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
}
@keyframes header-elevate-b-xex7gh22nr {
    to { background-color: #fffffff0; border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px #1a244040; }
}
.header-inner[b-xex7gh22nr] { display: flex; align-items: center; flex-wrap: nowrap; min-height: var(--header-height); gap: 20px; }
.brand[b-xex7gh22nr] { flex-shrink: 0; }

/* PCの主要メニューは淡い面の上に丸いタブとして並べ、現在触れている項目を塗りで示します。 */
.desktop-nav[b-xex7gh22nr] { display: flex; align-items: center; gap: 2px; margin-left: auto; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: #f6f8fccc; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.desktop-nav > a[b-xex7gh22nr], .desktop-nav .nav-dropdown > summary[b-xex7gh22nr] { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 100px; color: #3a4660; transition: background .2s, color .2s, box-shadow .2s; }
.desktop-nav > a:hover[b-xex7gh22nr], .desktop-nav .nav-dropdown > summary:hover[b-xex7gh22nr], .desktop-nav .nav-dropdown[open] > summary[b-xex7gh22nr] { background: #fff; color: var(--ink-strong); box-shadow: var(--shadow-sm); }
.desktop-nav > a i[b-xex7gh22nr] { font-size: 1.1em; }
/* ゲームとToolsはサービスの識別色のアイコンで見分けられるようにします。 */
.nav-game i[b-xex7gh22nr] { color: var(--game); }
.nav-tools i[b-xex7gh22nr] { color: var(--tools); }
.header-culture[b-xex7gh22nr], .mobile-culture[b-xex7gh22nr] { position: relative; flex-shrink: 0; }
/* 言語の選択欄は地球のアイコンを添えた丸い欄にし、ヘッダーの他の操作と高さを揃えます。 */
.culture-icon[b-xex7gh22nr] { position: absolute; top: 50%; left: 12px; z-index: 1; color: var(--muted); font-size: .95rem; line-height: 1; transform: translateY(-50%); pointer-events: none; }
.header-culture[b-xex7gh22nr]  select, .mobile-culture[b-xex7gh22nr]  select { min-height: 40px; padding: 6px 30px 6px 34px; border: 1px solid var(--line); border-radius: 100px; background-color: #fff; font-size: .8125rem; font-weight: 650; transition: border-color .2s, box-shadow .2s; }
.header-culture[b-xex7gh22nr]  select:hover, .mobile-culture[b-xex7gh22nr]  select:hover { border-color: #c9d6f7; box-shadow: var(--shadow-sm); }
.header-actions[b-xex7gh22nr] { display: flex; align-items: center; gap: 14px; flex-shrink: 0; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.header-actions .login-link[b-xex7gh22nr], .header-actions .admin-link[b-xex7gh22nr] { padding: 8px 4px; transition: color .2s; }
.header-actions .login-link:hover[b-xex7gh22nr], .header-actions .admin-link:hover[b-xex7gh22nr] { color: var(--blue-strong); }
.header-actions .button:hover[b-xex7gh22nr] { color: white; }
.mobile-nav[b-xex7gh22nr] { display: none; }
.mobile-register[b-xex7gh22nr], .mobile-culture[b-xex7gh22nr] { display: none; }

/* detailsの標準操作・開閉状態を使い、JavaScriptがなくてもカテゴリを開けます。 */
.nav-dropdown[b-xex7gh22nr] { position: relative; }
.nav-dropdown > summary[b-xex7gh22nr], .mobile-nav > summary[b-xex7gh22nr] { cursor: pointer; list-style: none; }
summary[b-xex7gh22nr]::-webkit-details-marker { display: none; }
.nav-chevron[b-xex7gh22nr] { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease-out); }
.nav-dropdown[open] > summary .nav-chevron[b-xex7gh22nr] { transform: rotate(225deg) translate(-2px, -1px); }
/* ドロップダウンはアイコン・名前・説明を並べた案内板にし、開くときに少し沈み込んでから現れます。 */
.nav-dropdown-panel[b-xex7gh22nr] { position: absolute; top: calc(100% + 14px); right: -8px; display: grid; gap: 2px; width: max-content; min-width: 280px; max-width: min(340px, calc(100vw - 40px)); padding: 8px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); white-space: normal; transform-origin: top right; }
.nav-dropdown[open] > .nav-dropdown-panel[b-xex7gh22nr] { animation: panel-in-b-xex7gh22nr .28s var(--ease-out); }
@keyframes panel-in-b-xex7gh22nr {
    from { opacity: 0; transform: translateY(-6px) scale(.97); }
}
.nav-item[b-xex7gh22nr] { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; color: var(--ink); overflow-wrap: anywhere; transition: background .2s; }
.nav-item:hover[b-xex7gh22nr] { background: var(--surface); }
.nav-item-icon[b-xex7gh22nr] { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-size: 1.1rem; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 8px 18px -10px currentColor; transition: transform .3s var(--ease-spring); }
.nav-item:hover .nav-item-icon[b-xex7gh22nr] { transform: scale(1.08) rotate(-4deg); }
.nav-item.pick .nav-item-icon[b-xex7gh22nr] { background: linear-gradient(135deg, var(--pick), var(--pick-2)); }
.nav-item.study .nav-item-icon[b-xex7gh22nr] { background: linear-gradient(135deg, var(--study), var(--study-2)); }
.nav-item.services .nav-item-icon[b-xex7gh22nr] { background: linear-gradient(135deg, #5b6b8f, #25324a); }
.nav-item.about .nav-item-icon[b-xex7gh22nr] { background: linear-gradient(135deg, var(--violet), var(--game-2)); }
.nav-item.support .nav-item-icon[b-xex7gh22nr] { background: linear-gradient(135deg, var(--coral), var(--amber)); }
.nav-item-text[b-xex7gh22nr] { display: grid; min-width: 0; line-height: 1.45; }
.nav-item-text strong[b-xex7gh22nr] { font-size: .9375rem; font-weight: 750; }
.nav-item-text small[b-xex7gh22nr] { color: var(--muted); font-size: .75rem; font-weight: 500; }
.nav-dropdown:not([open]) > .nav-dropdown-panel[b-xex7gh22nr], .mobile-nav:not([open]) > nav[b-xex7gh22nr] { display: none; }

@media (max-width: 1199px) {
    .header-inner[b-xex7gh22nr] { gap: 12px; }
    .desktop-nav > a[b-xex7gh22nr], .desktop-nav .nav-dropdown > summary[b-xex7gh22nr] { padding-inline: 11px; }
    .header-actions[b-xex7gh22nr] { gap: 10px; }
    .header-actions .button[b-xex7gh22nr] { padding-inline: 16px; gap: 8px; }
}

@container site-header (max-width: 68.6875rem) {
    .header-inner[b-xex7gh22nr] { gap: 14px; }
    .desktop-nav[b-xex7gh22nr], .header-actions .admin-link[b-xex7gh22nr] { display: none; }
    .header-culture[b-xex7gh22nr] { margin-left: auto; }
    .mobile-nav[b-xex7gh22nr] { display: block; font-size: .875rem; }
    /* 開閉ボタンは丸い枠に文言と三本線を並べ、開いている間は×へ変形させます。 */
    .mobile-nav > summary[b-xex7gh22nr] { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px 6px 14px; border: 1px solid var(--line); border-radius: 100px; background: #fff; font-weight: 700; transition: background .2s, border-color .2s; }
    .mobile-nav[open] > summary[b-xex7gh22nr] { border-color: var(--ink); background: var(--ink); color: #fff; }
    .mobile-nav-icon[b-xex7gh22nr] { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); transition: background .2s; }
    .mobile-nav[open] .mobile-nav-icon[b-xex7gh22nr] { background: #ffffff26; }
    .mobile-nav-icon > span[b-xex7gh22nr], .mobile-nav-icon[b-xex7gh22nr]::before, .mobile-nav-icon[b-xex7gh22nr]::after { content: ""; position: absolute; left: 8px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease-out), opacity .2s; }
    .mobile-nav-icon[b-xex7gh22nr]::before { transform: translateY(-5px); }
    .mobile-nav-icon[b-xex7gh22nr]::after { transform: translateY(5px); }
    .mobile-nav[open] .mobile-nav-icon > span[b-xex7gh22nr] { opacity: 0; }
    .mobile-nav[open] .mobile-nav-icon[b-xex7gh22nr]::before { transform: rotate(45deg); }
    .mobile-nav[open] .mobile-nav-icon[b-xex7gh22nr]::after { transform: rotate(-45deg); }
    /* メニューはヘッダーの下に浮かぶシートにします。下端は画面の外を残し、外側のタップで閉じられる余白を確保します。 */
    .mobile-nav > nav[b-xex7gh22nr] { position: absolute; top: calc(100% + 8px); right: max(12px, calc((100% - 1160px) / 2)); left: max(12px, calc((100% - 1160px) / 2)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: calc(100dvh - var(--header-height) - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 14px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); font-size: 1rem; animation: sheet-in-b-xex7gh22nr .32s var(--ease-out); }
    .mobile-nav nav > *[b-xex7gh22nr] { grid-column: 1 / -1; }
    .mobile-nav nav > a[b-xex7gh22nr] { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 14px; border-radius: 14px; font-weight: 650; }
    .mobile-nav nav > a:hover[b-xex7gh22nr] { background: var(--surface); }
    .mobile-nav nav > a i[b-xex7gh22nr] { color: var(--muted); }
    .mobile-nav nav > .mobile-register[b-xex7gh22nr] { display: none; }
    /* ゲームとToolsは二列の大きなタイルにし、最もよく使う入口を親指で押しやすくします。 */
    .mobile-nav nav > .nav-tile[b-xex7gh22nr] { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; min-height: 104px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); font-weight: 750; }
    .mobile-nav nav > .nav-tile i[b-xex7gh22nr] { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-size: 1.15rem; }
    .mobile-nav nav > .nav-game i[b-xex7gh22nr] { background: linear-gradient(135deg, var(--game), var(--game-2)); }
    .mobile-nav nav > .nav-tools i[b-xex7gh22nr] { background: linear-gradient(135deg, var(--tools), var(--tools-2)); }
    /* ゲームが非公開でToolsだけの場合は二列分に広げ、半端な空きを作りません。 */
    .mobile-nav nav > .nav-tools[b-xex7gh22nr] { grid-column: 1 / -1; }
    .mobile-nav nav > .nav-game + .nav-tools[b-xex7gh22nr] { grid-column: auto; }
    .mobile-nav .nav-dropdown[b-xex7gh22nr] { border-bottom: 1px solid var(--line); }
    .mobile-nav .nav-dropdown > summary[b-xex7gh22nr] { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 14px 12px; font-weight: 750; }
    .nav-dropdown-panel[b-xex7gh22nr] { position: static; width: auto; min-width: 0; max-width: none; padding: 0 0 10px; border: 0; border-radius: 0; box-shadow: none; animation: none; }
    .mobile-nav .mobile-login[b-xex7gh22nr] { justify-content: center; border: 1px solid var(--line); }
    .mobile-nav .mobile-account[b-xex7gh22nr] { color: var(--muted); }
}

@keyframes sheet-in-b-xex7gh22nr {
    from { opacity: 0; transform: translateY(-8px) scale(.985); }
}

@container site-header (max-width: 37.5rem) {
    /* 最狭幅でもブランドと主操作を一行に保ち、言語とログインは開いたメニューに配置します。 */
    .header-inner[b-xex7gh22nr] { gap: 8px; }
    .header-actions[b-xex7gh22nr] { margin-left: auto; }
    .header-actions .login-link[b-xex7gh22nr] { display: none; }
    .header-actions .button[b-xex7gh22nr] { font-size: .75rem; min-height: 40px; padding: 8px 14px; gap: 6px; }
    .header-actions .button span[b-xex7gh22nr] { display: none; }
    /* 文言は読み上げ用に残し、画面上は三本線のアイコンだけを表示します。 */
    .mobile-nav > summary[b-xex7gh22nr] { padding: 4px; gap: 0; }
    .mobile-nav-label[b-xex7gh22nr] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .mobile-nav-icon[b-xex7gh22nr] { width: 34px; height: 34px; background: transparent; }
    .mobile-nav-icon > span[b-xex7gh22nr], .mobile-nav-icon[b-xex7gh22nr]::before, .mobile-nav-icon[b-xex7gh22nr]::after { left: 10px; }
    .header-culture[b-xex7gh22nr] { display: none; }
    .mobile-culture[b-xex7gh22nr] { display: block; padding: 2px 2px 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
    .mobile-culture .culture-icon[b-xex7gh22nr] { top: calc(50% - 6px); }
    .mobile-culture[b-xex7gh22nr]  select { width: 100%; min-height: 46px; font-size: .9375rem; }
}

@container site-header (max-width: 22rem) {
    /* 文字拡大や最狭幅ではアカウント操作もメニュー内で全文を表示します。 */
    .header-actions[b-xex7gh22nr] { display: none; }
    .mobile-nav[b-xex7gh22nr] { margin-left: auto; }
    .mobile-nav nav > .mobile-register[b-xex7gh22nr] { display: flex; justify-content: center; color: #fff; background: var(--grad-cta); }
}

@media (prefers-reduced-motion: reduce) {
    /* 動き軽減では開閉の変形とスクロール連動の変化を止め、最初から境界線を表示します。 */
    .site-header[b-xex7gh22nr] { animation: none; border-bottom-color: var(--line); }
    .nav-dropdown[open] > .nav-dropdown-panel[b-xex7gh22nr], .mobile-nav > nav[b-xex7gh22nr] { animation: none; }
}
/* /Components/Tools/TextCodecWorkspace.razor.rz.scp.css */
/* テキスト変換の形式選択・結果欄は同じ構造と操作感を使用します。 */
.text-codec-format[b-roc8e1r1t5] { display: grid; grid-template-columns: minmax(0, var(--text-codec-format-width, 26rem)); gap: 8px; margin-top: 20px; }
.text-codec-format label[b-roc8e1r1t5] { font-weight: 650; }
.text-codec-format[hidden][b-roc8e1r1t5] { display: none; }
.text-codec-format .form-select[b-roc8e1r1t5] { min-height: 44px; color: var(--ink); background-color: var(--canvas); border-color: var(--line); }
.text-codec-format .tool-hint[b-roc8e1r1t5] { margin: 0; }
.text-codec-output[readonly][b-roc8e1r1t5] { background: var(--canvas); }
