/* ===========================================================================
   経験値・レベル（2026-11-03・本人だけ 'g-xp'）。assets/dpg-xp-ui.js が描くカード・シートと、結果の画面の「+XP」の1行。
   カードの形は section.xpc[data-xp-layout] で切り替える（a 白いカード・b キャラが主役・c コンパクトな帯）。
   色はマイページの決まり（dpg-pages-a.css の --g-*）を使い、無ければ同じ値に落ちる。紙吹雪は使わない。
   =========================================================================== */
:root{--xp-r-1:18px;--xp-fs-3:11px;--xp-r-4:999px;--xp-c-5:rgb(255 255 255 / .9);--xp-r-6:50%;--xp-g-7:radial-gradient(circle,rgb(255 214 120 / .9) 0,rgb(155 99 240 / .55) 38%,transparent 66%);--xp-fs-8:16px;--xp-fs-9:24px;--xp-fs-10:15px;--xp-c-11:#ece6f6;--xp-sh-12:inset 0 0 0 1px rgb(107 63 212 / .14);--xp-fs-14:14px;--xp-r-15:14px;--xp-fs-16:20px;--xp-fs-17:13px;--xp-c-18:#fff;--xp-fs-19:12px;--xp-sh-20:0 4px 14px rgb(0 0 0 / .18);--xp-g-21:radial-gradient(circle at 50% 50%,#2a1a5e 0 48%,transparent 70%);--xp-g-22:conic-gradient(from 0deg,#f47a91,#f9c65d,#94cf89,#70c5e5,#a092e5,#e495ce,#f47a91);--xp-fs-23:34px;--xp-fs-25:18px;--xp-fs-26:22px;--xp-c-27:#3b2a6b;--xp-r-28:24px 24px 0 0;--xp-c-29:#fffcf7;--xp-c-30:#292622;--xp-c-31:rgb(30 20 40 / .42);--xp-r-32:3px;--xp-c-33:#d8cfc4;--xp-c-34:#65594d;--xp-c-35:#eadfd3;--xp-c-36:#6424ed;--xp-c-37:#f3edff;--xp-c-38:#3a3247;--xp-g-39:radial-gradient(circle at 50% 45%,#3a2378 0,#1a1033 55%,#0b0717 100%);--xp-c-40:#1a1034;--xp-g-41:radial-gradient(circle,#000 0,#000 34%,transparent 64%);--xp-g-42:linear-gradient(90deg,#ff8ad0,#9b7bff,#57c8ff,#5ce6a6,#ffe066,#ff7a59,#ff8ad0) 0 0/300% 100%;--xp-g-43:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);--xp-g-44:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);--xp-fs-45:clamp(34px,11vw,48px);--xp-c-46:#f3cf6e;--xp-g-47:linear-gradient(180deg,#fff6d6 0,#f3cf6e 45%,#b9862a 55%,#f7dc8a 100%);--xp-c-48:rgb(0 0 0 / .6);--xp-g-49:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(transparent,#000 7%,#000 93%,transparent);--xp-g-50:radial-gradient(circle,#fff 0,rgb(255 220 140 / .9) 25%,rgb(155 99 240 / .5) 50%,transparent 70%);--xp-c-51:#f7e4ad;--xp-c-52:#cdb886;--xp-fs-53:17px;--xp-fs-54:15.5px;--xp-c-55:#efe6d4;--xp-c-56:rgb(243 207 110 / .55);--xp-g-57:radial-gradient(circle at 50% 45%,#24164a 0,#110a24 55%,#05030b 100%);--xp-c-58:#b48cff;--xp-r-59:10px;--xp-fs-60:9px;--xp-sh-61:0 1px 3px rgb(0 0 0 / .25)}
.xpc{--xp-g-2:radial-gradient(circle at 50% 55%,var(--xp-ac-soft),transparent 70%);--xp-g-13:linear-gradient(90deg,#7b4ee0,var(--xp-ac));--xp-sh-24:0 0 0 3px var(--xp-gold) inset,0 2px 8px rgb(0 0 0 / .12)}

.xpc{--xp-ac:var(--g-primary,#6424ed);--xp-ac-soft:var(--g-primary-soft,#f3edff);--xp-gold:#d9a53a;--xp-line:var(--g-line,#eadfd3);--xp-ink:var(--scr-text,#292622);--xp-muted:var(--scr-muted,#65594d);position:relative;overflow:hidden}
.xpc .xpc__title{margin:0 0 6px}
.xpc[data-xp-layout="a"] .xpc__title,.xpc[data-xp-layout="c"] .xpc__title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.xpc__main{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;align-items:center}
.xpc__chara{position:relative;aspect-ratio:1;border-radius:var(--xp-r-1);background:var(--xp-g-2)}
/* --xp-crop は形 C の顔の寄せ。進化の動きもこの寄せの上に重ねる */
.xpc__img{display:block;width:100%;height:100%;object-fit:contain;transform:var(--xp-crop,translate(0));transition:filter .5s ease,transform .5s ease}
.xpc__prov{position:absolute;left:4px;bottom:4px;font-size:var(--xp-fs-3);font-weight:700;padding:0 6px;border-radius:var(--xp-r-4);background:var(--xp-c-5);color:var(--xp-muted);border:1px solid var(--xp-line)}
.xpc__burst{position:absolute;inset:-20%;border-radius:var(--xp-r-6);pointer-events:none;opacity:0;background:var(--xp-g-7)}
.xpc__stats{min-width:0}
.xpc__name{margin:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-weight:800;font-size:var(--xp-fs-8);color:var(--xp-ink)}
.xpc__lv{font-size:var(--xp-fs-9);line-height:1.1;color:var(--xp-ink)}
/* カードの Lv の数字だけ、進化の幕と同じ物語の書（第6版の回答。結果の「+N XP」は小さくて細く見えるのでそろえない） */
.xpc__lv{font-family:XpKaisei,var(--serif,serif);font-weight:700;letter-spacing:.02em}
.xpc__lv,.xpc__lv small,.xpc__lv span{display:inline;margin:0}
.xpc__lv small{font-size:var(--xp-fs-10)}
.xpc__name>span{display:inline}
.xpc__gauge{height:12px;margin:8px 0 6px;border-radius:var(--xp-r-4);background:var(--xp-c-11);overflow:hidden;box-shadow:var(--xp-sh-12)}
.xpc__gauge i{display:block;height:100%;width:calc(var(--r,0) * 100%);border-radius:inherit;background:var(--xp-g-13);transition:width .25s ease}
.xpc__gauge i.is-flow{transition:width .7s cubic-bezier(.3,.7,.3,1)}
.xpc__next,.xpc__evo{margin:0;font-size:var(--xp-fs-14);line-height:1.55;color:var(--xp-muted)}
.xpc__next{color:var(--xp-ink);font-weight:700}
.xpc__exam{margin:10px 0 0;font-size:var(--xp-fs-14);line-height:1.5;color:var(--xp-ink)}
.xpc__exam b{color:var(--xp-ac);font-size:var(--xp-fs-8)}
.xpc__today{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:12px;padding:8px 10px;border-radius:var(--xp-r-15);background:var(--xp-ac-soft)}
.xpc__sum{margin:0;font-weight:800;color:var(--xp-ac);font-size:var(--xp-fs-8);white-space:nowrap}
.xpc__sum b{font-size:var(--xp-fs-16)}
.xpc__chips{display:flex;flex-wrap:wrap;gap:4px 6px;margin:0;padding:0;list-style:none;font-size:var(--xp-fs-17)}
.xpc__chips li{padding:1px 9px;border-radius:var(--xp-r-4);background:var(--g-surface,var(--xp-c-18));color:var(--xp-ink);white-space:nowrap}
.xpc__chips li b{color:var(--xp-ac)}
/* 2026-11-15 全員に開く前の直し: 0 の札を薄くする（opacity .55）と字のコントラストが 3.29・2.6 で足りない（axe serious）。薄くせず、数字を墨の細字にして見分ける。 */
.xpc__chips li.is-zero b{color:var(--xp-ink);font-weight:500}
.xpc__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
/* マイページの button の決まり（screens.css・dpg-pages-a.css）より強く当てる */
body[data-site-page] .xpc .xpc__btn{min-height:44px;margin:0;padding:8px 6px;border-radius:var(--xp-r-15);border:1.5px solid var(--xp-ac);background:var(--g-surface,var(--xp-c-18));color:var(--xp-ac);font:inherit;font-weight:800;font-size:var(--xp-fs-14);line-height:1.3;white-space:nowrap;box-shadow:none;cursor:pointer}
body[data-site-page] .xpc .xpc__btn small{display:inline;margin-left:4px;font-weight:700;opacity:.8}
.xpc .xpc__btn:focus-visible{outline:3px solid var(--xp-ac);outline-offset:2px}
.xpc__total{margin:8px 0 0;font-size:var(--xp-fs-19);color:var(--xp-muted);text-align:right}
.xpc__banner{display:block;width:fit-content;max-width:100%;margin:0 auto 10px;padding:4px 14px;border-radius:var(--xp-r-4);background:var(--xp-ink);color:var(--xp-c-18);font-weight:800;font-size:var(--xp-fs-10);text-align:center;box-shadow:var(--xp-sh-20);animation:xpc-pop .32s cubic-bezier(.2,1.4,.4,1) both}
.xpc.is-playing{cursor:pointer}

/* Lv100: 段10の絵の後ろに星空と、ゆっくり回る虹の光 */
.xpc__chara.is-max{background:var(--xp-g-21)}
.xpc__chara.is-max::before{content:"";position:absolute;inset:-6%;border-radius:var(--xp-r-6);background:var(--xp-g-22);filter:blur(10px);opacity:.55;animation:xpc-spin 9s linear infinite;z-index:0}
.xpc__chara.is-max .xpc__img{position:relative;z-index:1}
@keyframes xpc-spin{to{transform:rotate(1turn)}}
/* B: キャラが主役（上半分にキャラ、その下に大きな Lv と太いゲージ） */
.xpc[data-xp-layout="b"] .xpc__main{grid-template-columns:1fr;justify-items:center;text-align:center}
.xpc[data-xp-layout="b"] .xpc__chara{width:min(220px,62%);border-radius:var(--xp-r-6)}
.xpc[data-xp-layout="b"] .xpc__stats{width:100%}
.xpc[data-xp-layout="b"] .xpc__name{justify-content:center}
.xpc[data-xp-layout="b"] .xpc__lv{font-size:var(--xp-fs-23)}
.xpc[data-xp-layout="b"] .xpc__gauge{height:16px}
.xpc[data-xp-layout="b"] .xpc__today{justify-content:center}
/* C: コンパクトな帯（本人が選んだ形・2026-11-04）。顔の丸いアイコン＋名前と Lv＋ゲージを1段、その下に「今日」と内訳 2×2 を仕切り線で並べる */
.xpc[data-xp-layout="c"] .xpc__main{grid-template-columns:96px minmax(0,1fr);gap:14px}
.xpc[data-xp-layout="c"] .xpc__chara{border-radius:var(--xp-r-6);overflow:hidden;background:var(--xp-ac-soft);box-shadow:var(--xp-sh-24)}
.xpc[data-xp-layout="c"]{--xp-crop:scale(1.9) translateY(18%)}
.xpc[data-xp-layout="c"] .xpc__name{font-size:var(--xp-fs-25);gap:6px}
.xpc[data-xp-layout="c"] .xpc__lv{font-size:var(--xp-fs-26)}
.xpc[data-xp-layout="c"] .xpc__gauge{margin:6px 0 4px}
.xpc[data-xp-layout="c"] .xpc__next,.xpc[data-xp-layout="c"] .xpc__evo{font-size:var(--xp-fs-17);line-height:1.5;font-weight:600}
.xpc[data-xp-layout="c"] .xpc__evo{color:var(--xp-muted)}
.xpc[data-xp-layout="c"] .xpc__exam{margin-top:8px;font-size:var(--xp-fs-17)}
.xpc[data-xp-layout="c"] .xpc__exam b{font-size:var(--xp-fs-10)}
.xpc[data-xp-layout="c"] .xpc__today{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;margin-top:10px;padding:10px 0 0;border-top:1px solid var(--xp-line);border-radius:0;background:none}
.xpc[data-xp-layout="c"] .xpc__sum{padding-right:10px;border-right:1px solid var(--xp-line)}
.xpc[data-xp-layout="c"] .xpc__sum b{font-size:var(--xp-fs-26)}
.xpc[data-xp-layout="c"] .xpc__chips{display:grid;grid-template-columns:1fr 1fr;gap:6px}
/* 連続123日のように長くなったら、数字を切らずに2行に折る */
.xpc[data-xp-layout="c"] .xpc__chips li{padding:2px 6px;background:var(--xp-ac-soft);font-size:var(--xp-fs-19);line-height:1.3;text-align:center;white-space:normal}
.xpc[data-xp-layout="c"] .xpc__chips li b{white-space:nowrap}
body[data-site-page] .xpc[data-xp-layout="c"] .xpc__btn:last-child{background:var(--xp-ac);color:var(--xp-c-18)}
body[data-site-page] .xpc[data-xp-layout="c"] .xpc__btn:last-child small{color:var(--xp-c-18);opacity:.85}
/* マイページの p の余白（screens.css）より強く、カードの中の行間はここで決める */
body[data-site-page] .xpc .xpc__name,body[data-site-page] .xpc .xpc__next,body[data-site-page] .xpc .xpc__evo,body[data-site-page] .xpc .xpc__sum{margin:0}

/* 演出: 溜め（ゲージが流れ込む）→ 止め → 解放（Lv の字・進化の光） */
.xpc.is-levelup .xpc__lv{transform-origin:left bottom;animation:xpc-lv .52s cubic-bezier(.2,1.5,.4,1) both;color:var(--xp-ac)}
.xpc__chara.is-silhouette .xpc__img{filter:brightness(0) invert(1) drop-shadow(0 0 2px var(--xp-c-27)) drop-shadow(0 0 1px var(--xp-c-27))}
.xpc__chara.is-evolve .xpc__img{animation:xpc-evolve .6s cubic-bezier(.2,1.3,.4,1) both}
.xpc__chara.is-evolve .xpc__burst{animation:xpc-burst 1.2s ease-out both}
@keyframes xpc-pop{from{opacity:0;transform:translateY(-6px) scale(.9)}to{opacity:1;transform:none}}
@keyframes xpc-lv{0%{transform:scale(.6);opacity:.2}60%{transform:scale(1.25);opacity:1}100%{transform:scale(1);opacity:1}}
@keyframes xpc-evolve{0%{transform:var(--xp-crop,translate(0)) scale(.85)}60%{transform:var(--xp-crop,translate(0)) scale(1.08)}100%{transform:var(--xp-crop,translate(0))}}
@keyframes xpc-burst{0%{opacity:0;transform:scale(.4)}25%{opacity:1}100%{opacity:0;transform:scale(1.25)}}

/* シート（下から出る） */
.xpc-sheet{margin:auto auto 0;width:min(560px,100%);max-height:86vh;padding:8px 16px calc(18px + env(safe-area-inset-bottom,0px));border:0;border-radius:var(--xp-r-28);background:var(--g-surface,var(--xp-c-29));color:var(--scr-text,var(--xp-c-30));overflow:auto;animation:xpc-up .26s cubic-bezier(.2,.9,.3,1) both}
.xpc-sheet::backdrop{background:var(--xp-c-31)}
.xpc-sheet__grip{width:44px;height:5px;margin:2px auto 8px;border-radius:var(--xp-r-32);background:var(--xp-c-33)}
.xpc-sheet__head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.xpc-sheet__head h2{margin:0;font-size:var(--xp-fs-16);font-weight:800}
.xpc-sheet__close{min-width:44px;min-height:44px;border:0;border-radius:var(--xp-r-6);background:transparent;font-size:var(--xp-fs-9);line-height:1;color:var(--scr-muted,var(--xp-c-34));cursor:pointer}
@keyframes xpc-up{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
.xpc-rules{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.xpc-rules li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:10px 12px;border-radius:var(--xp-r-15);background:var(--g-surface-2,var(--xp-c-18));border:1px solid var(--g-line,var(--xp-c-35))}
.xpc-rules__name{font-weight:800}
.xpc-rules__xp{color:var(--g-primary,var(--xp-c-36));font-weight:800;white-space:nowrap}
.xpc-rules small{grid-column:1/-1;color:var(--scr-muted,var(--xp-c-34));font-size:var(--xp-fs-17);line-height:1.55}
.xpc-rules__note{margin:12px 0 0;padding:10px 12px;border-radius:var(--xp-r-15);background:var(--g-primary-soft,var(--xp-c-37));color:var(--g-primary,var(--xp-c-36));font-weight:800}
.xpc-stages__count{margin:0 0 8px;font-weight:800;color:var(--g-primary,var(--xp-c-36))}
.xpc-stages{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.xpc-stages__item{display:grid;justify-items:center;gap:2px;padding:6px 2px 8px;border-radius:var(--xp-r-15);border:1px solid var(--g-line,var(--xp-c-35));background:var(--g-surface-2,var(--xp-c-18));text-align:center;min-width:0}
.xpc-stages__item.is-got{border-color:var(--g-primary,var(--xp-c-36));background:var(--g-primary-soft,var(--xp-c-37))}
.xpc-stages__item img{width:100%;height:auto;aspect-ratio:1}
.xpc-stages__item img.is-shadow{filter:brightness(0) opacity(.22)}
.xpc-stages__lv{font-weight:800;font-size:var(--xp-fs-17)}
.xpc-stages__name{font-size:var(--xp-fs-3);line-height:1.35;color:var(--scr-muted,var(--xp-c-34));overflow-wrap:anywhere}

/* 結果の画面の1行 */
.qz-result-xp{margin:6px 0 0;font-size:var(--xp-fs-10);color:var(--g-primary,var(--xp-c-36))}
.qz-result-xp b{font-weight:800}
.qz-result-xp__up{font-weight:700}

@media (max-width:380px){.xpc__main{grid-template-columns:96px minmax(0,1fr)}.xpc-stages{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}}
@media (prefers-reduced-motion:reduce){.xpc *,.xpc-sheet{animation:none!important;transition:none!important}}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .xpc__gauge{background:var(--xp-c-38)}}

/* 進化の幕の書体（第5版 Q2 案C 物語の書）。Kaisei Opti（OFL・fonts/OFL-KaiseiOpti.txt）を幕に出る字だけにしたもの。tools/xp-font.py で作る */
@font-face{font-family:XpKaisei;src:url('fonts/xp-kaisei-m.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:XpKaisei;src:url('fonts/xp-kaisei-b.woff2') format('woff2');font-weight:700;font-display:swap}
/* 進化の幕（全身を大きく・2026-11-04 第3版、文字と飾りは第5版の案C）。予告（前の姿が震えて「!?」）→ 確定（虹のふち＋金の「進化確定！」）
   → 変身の動画（無い段は 溜め＝白い影 → 止め → 解放）→ 名前とストーリー（押すまで）。紙吹雪は使わない */
.xpc-evo{position:fixed;inset:0;z-index:2147483000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px 16px 48px;overflow:hidden;cursor:pointer;color:var(--xp-c-18);text-align:center;outline:0;background:var(--xp-g-39);animation:xpc-fade .22s ease-out both}
.xpc-evo.is-out{opacity:0;transition:opacity .25s ease}
.xpc-evo.is-video{background:var(--xp-c-40)}
.xpc-evo__rays{position:absolute;left:50%;top:45%;width:160vmax;height:160vmax;margin:-80vmax 0 0 -80vmax;opacity:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg stroke='%23f3cf6e' stroke-width='.25' opacity='.55'%3E%3Cline x1='130.0' y1='100.0' x2='200.0' y2='100.0'/%3E%3Cline x1='129.7' y1='103.9' x2='199.1' y2='113.1'/%3E%3Cline x1='129.0' y1='107.8' x2='196.6' y2='125.9'/%3E%3Cline x1='127.7' y1='111.5' x2='192.4' y2='138.3'/%3E%3Cline x1='126.0' y1='115.0' x2='186.6' y2='150.0'/%3E%3Cline x1='123.8' y1='118.3' x2='179.3' y2='160.9'/%3E%3Cline x1='121.2' y1='121.2' x2='170.7' y2='170.7'/%3E%3Cline x1='118.3' y1='123.8' x2='160.9' y2='179.3'/%3E%3Cline x1='115.0' y1='126.0' x2='150.0' y2='186.6'/%3E%3Cline x1='111.5' y1='127.7' x2='138.3' y2='192.4'/%3E%3Cline x1='107.8' y1='129.0' x2='125.9' y2='196.6'/%3E%3Cline x1='103.9' y1='129.7' x2='113.1' y2='199.1'/%3E%3Cline x1='100.0' y1='130.0' x2='100.0' y2='200.0'/%3E%3Cline x1='96.1' y1='129.7' x2='86.9' y2='199.1'/%3E%3Cline x1='92.2' y1='129.0' x2='74.1' y2='196.6'/%3E%3Cline x1='88.5' y1='127.7' x2='61.7' y2='192.4'/%3E%3Cline x1='85.0' y1='126.0' x2='50.0' y2='186.6'/%3E%3Cline x1='81.7' y1='123.8' x2='39.1' y2='179.3'/%3E%3Cline x1='78.8' y1='121.2' x2='29.3' y2='170.7'/%3E%3Cline x1='76.2' y1='118.3' x2='20.7' y2='160.9'/%3E%3Cline x1='74.0' y1='115.0' x2='13.4' y2='150.0'/%3E%3Cline x1='72.3' y1='111.5' x2='7.6' y2='138.3'/%3E%3Cline x1='71.0' y1='107.8' x2='3.4' y2='125.9'/%3E%3Cline x1='70.3' y1='103.9' x2='0.9' y2='113.1'/%3E%3Cline x1='70.0' y1='100.0' x2='0.0' y2='100.0'/%3E%3Cline x1='70.3' y1='96.1' x2='0.9' y2='86.9'/%3E%3Cline x1='71.0' y1='92.2' x2='3.4' y2='74.1'/%3E%3Cline x1='72.3' y1='88.5' x2='7.6' y2='61.7'/%3E%3Cline x1='74.0' y1='85.0' x2='13.4' y2='50.0'/%3E%3Cline x1='76.2' y1='81.7' x2='20.7' y2='39.1'/%3E%3Cline x1='78.8' y1='78.8' x2='29.3' y2='29.3'/%3E%3Cline x1='81.7' y1='76.2' x2='39.1' y2='20.7'/%3E%3Cline x1='85.0' y1='74.0' x2='50.0' y2='13.4'/%3E%3Cline x1='88.5' y1='72.3' x2='61.7' y2='7.6'/%3E%3Cline x1='92.2' y1='71.0' x2='74.1' y2='3.4'/%3E%3Cline x1='96.1' y1='70.3' x2='86.9' y2='0.9'/%3E%3Cline x1='100.0' y1='70.0' x2='100.0' y2='0.0'/%3E%3Cline x1='103.9' y1='70.3' x2='113.1' y2='0.9'/%3E%3Cline x1='107.8' y1='71.0' x2='125.9' y2='3.4'/%3E%3Cline x1='111.5' y1='72.3' x2='138.3' y2='7.6'/%3E%3Cline x1='115.0' y1='74.0' x2='150.0' y2='13.4'/%3E%3Cline x1='118.3' y1='76.2' x2='160.9' y2='20.7'/%3E%3Cline x1='121.2' y1='78.8' x2='170.7' y2='29.3'/%3E%3Cline x1='123.8' y1='81.7' x2='179.3' y2='39.1'/%3E%3Cline x1='126.0' y1='85.0' x2='186.6' y2='50.0'/%3E%3Cline x1='127.7' y1='88.5' x2='192.4' y2='61.7'/%3E%3Cline x1='129.0' y1='92.2' x2='196.6' y2='74.1'/%3E%3Cline x1='129.7' y1='96.1' x2='199.1' y2='86.9'/%3E%3C/g%3E%3Cg fill='none' stroke='%23f3cf6e' opacity='.6'%3E%3Ccircle cx='100' cy='100' r='27' stroke-width='.35'/%3E%3Ccircle cx='100' cy='100' r='29.5' stroke-width='.18' stroke-dasharray='.8 1.2'/%3E%3C/g%3E%3C/svg%3E") center/100% no-repeat;-webkit-mask:var(--xp-g-41);mask:var(--xp-g-41)}
.xpc-evo__edge{position:absolute;inset:0;padding:7px;opacity:0;pointer-events:none;background:var(--xp-g-42);-webkit-mask:var(--xp-g-43);-webkit-mask-composite:xor;mask:var(--xp-g-44)}
.xpc-evo__head{margin:0;min-height:1.2em;font-family:XpKaisei,var(--serif,serif);font-size:var(--xp-fs-45);font-weight:700;letter-spacing:.3em;margin-right:-.3em;line-height:1.15;color:var(--xp-c-46);background:var(--xp-g-47);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 2px 6px var(--xp-c-48));opacity:0}
.xpc-evo__orn{display:block;width:min(80vw,340px);height:18px;margin:-4px auto 2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 18'%3E%3Cpath d='M10 9H140M200 9H330' stroke='%23f3cf6e' stroke-width='1.2'/%3E%3Cpath d='M170 1l8 8-8 8-8-8z' fill='%23f3cf6e'/%3E%3Ccircle cx='150' cy='9' r='2.5' fill='%23f3cf6e'/%3E%3Ccircle cx='190' cy='9' r='2.5' fill='%23f3cf6e'/%3E%3C/svg%3E") center/contain no-repeat;opacity:0}
.xpc-evo__stage{position:relative;width:min(78vw,44vh,420px);aspect-ratio:1;flex:none}
.xpc-evo__img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain}
.xpc-evo__video{position:absolute;inset:0;z-index:2;width:100%;height:100%;object-fit:contain;background:var(--xp-c-40);-webkit-mask:var(--xp-g-49);-webkit-mask-composite:source-in;mask:var(--xp-g-49);mask-composite:intersect}
.xpc-evo__flash{position:absolute;inset:-10%;border-radius:var(--xp-r-6);opacity:0;background:var(--xp-g-50)}
.xpc-evo__text{display:grid;gap:6px;max-width:30em;opacity:0;font-family:XpKaisei,var(--serif,serif)}
.xpc-evo__ph{display:inline-block}
.xpc-evo__name{justify-self:center;margin:0;padding:8px 26px 10px;font-size:var(--xp-fs-9);font-weight:700;letter-spacing:.08em;color:var(--xp-c-51);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M6 1H94L99 20L94 39H6L1 20Z' fill='rgb%2820 10 30 / .7%29' stroke='%23f3cf6e' stroke-width='.8' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M9 4H91L95 20L91 36H9L5 20Z' fill='none' stroke='%23f3cf6e' stroke-width='.4' opacity='.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.xpc-evo__name small{font-size:var(--xp-fs-14);letter-spacing:.02em;color:var(--xp-c-52);margin-right:6px}
.xpc-evo__say{margin:0;font-size:var(--xp-fs-53);font-weight:700;letter-spacing:.06em;color:var(--xp-c-46)}
.xpc-evo__story{margin:0;padding:2px 6px;font-size:var(--xp-fs-54);font-weight:500;line-height:1.9;color:var(--xp-c-55)}
.xpc-evo__tap{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:0;right:0;margin:0;font-family:XpKaisei,var(--serif,serif);font-size:var(--xp-fs-19);font-weight:500;letter-spacing:.1em;color:var(--xp-c-56)}
.xpc-evo__tap::before{content:"押すと飛ばす"}
.xpc-evo.is-story .xpc-evo__tap::before{content:"押すと閉じる"}
.xpc-evo.is-tease .xpc-evo__head{opacity:1;background:none;-webkit-text-fill-color:var(--xp-c-18);animation:xpc-lv .4s cubic-bezier(.2,1.5,.4,1) both}
.xpc-evo.is-tease .xpc-evo__img{animation:xpc-shake .12s linear infinite}
.xpc-evo.is-tease{background:var(--xp-g-57)}
.xpc-evo.is-sure .xpc-evo__head,.xpc-evo.is-sure .xpc-evo__orn{opacity:1;animation:xpc-lv .5s cubic-bezier(.2,1.5,.4,1) both}
.xpc-evo.is-video .xpc-evo__orn{opacity:.9}
.xpc-evo.is-sure .xpc-evo__edge{opacity:1;animation:xpc-edge .9s linear infinite}
.xpc-evo.is-sure .xpc-evo__flash{animation:xpc-burst 1.1s ease-out both}
.xpc-evo.is-sure .xpc-evo__img{animation:xpc-shake .08s linear infinite}
.xpc-evo.is-video .xpc-evo__head{opacity:.9}
.xpc-evo__video{opacity:0}
.xpc-evo.is-rolling .xpc-evo__video{opacity:1}
.xpc-evo.is-rolling .xpc-evo__img{opacity:0}
.xpc-evo.is-charge .xpc-evo__img{filter:brightness(0) invert(1) drop-shadow(0 0 12px var(--xp-c-58));animation:xpc-shake .12s linear infinite}
.xpc-evo.is-stop .xpc-evo__img{opacity:.15;animation:none}
.xpc-evo.is-release .xpc-evo__img{animation:xpc-evolve .7s cubic-bezier(.2,1.3,.4,1) both}
.xpc-evo.is-release .xpc-evo__flash{animation:xpc-burst 1.1s ease-out both}
.xpc-evo.is-release .xpc-evo__rays,.xpc-evo.is-story .xpc-evo__rays{opacity:1;animation:xpc-spin 14s linear infinite}
.xpc-evo.is-story .xpc-evo__head,.xpc-evo.is-story .xpc-evo__orn{opacity:1;animation:xpc-lv .5s cubic-bezier(.2,1.5,.4,1) both}
.xpc-evo.is-story .xpc-evo__text{opacity:1;animation:xpc-up .4s .2s ease-out both}
@keyframes xpc-shake{0%{transform:translate(0,0)}25%{transform:translate(-3px,1px)}50%{transform:translate(2px,-2px)}75%{transform:translate(-1px,2px)}100%{transform:translate(0,0)}}
@keyframes xpc-fade{from{opacity:0}to{opacity:1}}
@keyframes xpc-edge{to{background-position:150% 0}}
@media (max-height:640px){.xpc-evo__stage{width:min(70vw,38vh,420px)}.xpc-evo__story{font-size:var(--xp-fs-14);line-height:1.55}}
/* 進化の一覧で届いた段を押すと見返せる（第3版 Q5） */
.xpc-stages__hint{margin:-4px 0 8px;font-size:var(--xp-fs-19);color:var(--scr-muted,var(--xp-c-34))}
.xpc-stages__play{position:relative;display:grid;justify-items:center;gap:2px;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.xpc-stages__play:focus-visible{outline:2px solid var(--g-primary,var(--xp-c-36));outline-offset:4px;border-radius:var(--xp-r-59)}
.xpc-stages__replay{position:absolute;top:18px;right:0;display:grid;place-items:center;width:20px;height:20px;border-radius:var(--xp-r-6);font-size:var(--xp-fs-60);color:var(--xp-c-18);background:var(--g-primary,var(--xp-c-36));box-shadow:var(--xp-sh-61)}
@media (prefers-reduced-motion:reduce){.xpc-evo,.xpc-evo *{animation:none!important}}
