/* ===========================================================================
   ドパガキ問題集 — assets/dpg-t-intro.css（2026-10-28 区間T5 担当F1「機能紹介」。本人だけに見える 't-intro'）
   部品は dpg-t-intro.js が札の時だけ作る（札が無い時は、この CSS の物はどれも画面に無い＝今の画面のまま）。
   色・角・影は今の値だけ（design/dpg/00-tokens.css と dpg-pages-a.css の :root）。トークンを読まないページ（ランキング・書く画面）でも
   同じ色になるよう、var() の後ろの値は今のトークンの値を写した物（新しい色は作っていない）。
   押す所は 44px 以上。動きを減らす設定では動かさない（最後の形だけ）。紙吹雪・光の粒は使わない。
   =========================================================================== */
.dpg-tip, .dpg-ti-bubble, .dpg-ti-ask, .dpg-zk, .dpg-ti-audio, .dpg-tip-dot, .dpg-ti-newdot {
  --ti-accent: var(--accent, #6535b5);
  --ti-primary: var(--g-primary, #6424ed);
  --ti-fill: var(--g-primary-fill, linear-gradient(165deg, #9742f5 0%, #6424ed 48%, #441cf0 100%));
  --ti-fill-border: var(--g-primary-border, #6125d2);
  --ti-fill-shadow: var(--g-primary-shadow, 0 3px 0 #4215a8, 0 6px 12px #6d33d322);
  --ti-surface: var(--surface, #ffffff);
  --ti-surface-2: var(--surface-2, #fff3e6);
  --ti-soft: var(--accent-soft, #f3edff);
  --ti-ink: var(--text, #292622);
  --ti-ink-2: var(--text-2, #65594d);
  --ti-line: var(--separator, #e5cdb8);
  --ti-gold: var(--dpg-gold-soft, #fff0bf);
  --ti-shadow: var(--g-card-shadow, 0 1px 2px rgb(44 33 30 / 6%), 0 6px 20px rgb(113 66 13 / 7%));
  --ti-r: var(--g-radius, 16px);
  --ti-r-btn: var(--g-radius-btn, 14px);
  --ti-font: var(--font, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif);
}
.dpg-ti-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* --- 閉じる × （44px） --- */
.dpg-ti-x { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--ti-ink-2, #65594d); cursor: pointer; }
.dpg-ti-x svg { width: 18px; height: 18px; }
.dpg-ti-x:hover { background: var(--ti-surface-2, #fff3e6); }
.dpg-ti-x:focus-visible, .dpg-tip button:focus-visible, .dpg-ti-bubble button:focus-visible, .dpg-ti-ask :is(button, a):focus-visible, .dpg-zk :is(button, a):focus-visible, .dpg-ti-audio button:focus-visible {
  outline: 3px solid var(--ti-accent); outline-offset: 2px;
}

/* --- 案1 の1行（白い地・左に紫の 3px の線・右に ×。字 15px。1行の文は高さ 44px・390px で2行に折れる文は約52px まで） ---
   2026-10-28 直し係C（検査役の小2）: 文言は変えずに形を詰めた。上下の余白を 6px→4px・行の高さを 1.5→1.45 にし、
   ［見本］は文の続きに置く（文の最後の行に入る。押す所は 44×44 のまま、上下の負の余白で行の高さは増やさない）。 */
.dpg-tip { display: flex; align-items: center; gap: 0; box-sizing: border-box; min-height: 44px; margin: 8px 0; padding: 0 0 0 10px;
  border-left: 3px solid var(--ti-primary); border-radius: 0 10px 10px 0; background: var(--ti-surface); color: var(--ti-ink); font-family: var(--ti-font); text-align: left; }
.dpg-tip__body { flex: 1 1 auto; min-width: 0; padding: 4px 0; font-size: 15px; line-height: 1.45; }
.dpg-tip__text { display: inline; margin: 0; font-size: 15px; line-height: inherit; font-weight: 700; overflow-wrap: anywhere; }
.dpg-tip__more { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; min-width: 44px; min-height: 44px; margin: -11px 0; padding: 0 6px;
  border: 0; background: none; color: var(--ti-accent); font: inherit; font-size: 15px; line-height: 1; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dpg-tip--voice { margin: 6px 0 4px; }
.dpg-tip-dot { display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: var(--ti-primary); vertical-align: 0.35em; }
@media (prefers-reduced-motion: no-preference) {
  .dpg-tip.is-new { animation: dpg-ti-in .22s ease-out both; }
}
@keyframes dpg-ti-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ④ 音声解説の帯の字（帯の中に1行。新しい箱は足さない） */
.dpg-ti-audio { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; flex-basis: 100%; width: 100%; min-width: 0; font-size: 14px; font-weight: 700; color: var(--ti-ink); }
.dpg-ti-audio__text { min-width: 0; overflow-wrap: anywhere; }
.dpg-ti-audio__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--ti-accent); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dpg-ti-audio__note:empty { display: none; }
.dpg-ti-audio__note { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qz-explain-audio.dpg-ti-audio-on { flex-wrap: wrap; }

/* ① 下のナビの名前（スマホの下のナビだけ・3秒）。帯は約14px 高くなり、元に戻る（帯は画面の下に浮いたまま。中身は押し下げない）。 */
@media (max-width: 1023.98px) {
  html.dpg-ti-navnames .appnav__item { height: 64px; }
  html.dpg-ti-navnames .appnav__lbl { position: static; width: auto; height: auto; margin: 1px 0 0; overflow: visible; clip: auto; clip-path: none;
    font-size: 12px; line-height: 14px; font-weight: 700; white-space: nowrap; opacity: 1; }
  html.dpg-ti-navnames .appnav__item .appnav__lbl--wide { display: none; }
  html.dpg-ti-navnames .appnav__item[aria-current=page]:not(.appnav__item--main)::after { display: none; }
  /* 真ん中の丸（問題集）は3秒の間だけ少し小さくして、下の名前と重ならないようにする */
  html.dpg-ti-navnames .appnav__item--main .appnav__disc { width: 36px; height: 36px; }
  html.dpg-ti-navnames .appnav__item--main .appnav__disc svg { width: 20px; height: 20px; }
  html.dpg-ti-navnames.is-out .appnav__lbl { opacity: 0; }
}
@media (max-width: 1023.98px) and (prefers-reduced-motion: no-preference) {
  html.dpg-ti-navnames .appnav__item { transition: height .2s ease-out; }
  html.dpg-ti-navnames .appnav__lbl { transition: opacity .3s ease; }
}

/* 「？」の右上の点（新しい機能が入った時だけ。紫のカードの上なので、白い点に紫の縁） */
/* ホームの道具のボタンは home-v3.css で position:static（:root[data-quiz-theme=paper] … .dpg-hc__tool）。それに負けると点が道具の並びの
   右上（虫めがねの上）に出るので、:not(#_) で強めて「？」のボタンの右上に置く（2026-10-28 直し係C）。 */
.dpg-ti-has-dot:not(#_) { position: relative; }
.dpg-ti-newdot { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--ti-surface); box-shadow: 0 0 0 2px var(--ti-primary); pointer-events: none; }

/* --- 紫の輪（dpg-firstrun.css の .dpg-coach-ring と同じ形。問題集以外のページでも出るよう写した） --- */
.dpg-ti-ring { outline: 3px solid var(--accent, #6535b5) !important; outline-color: color-mix(in srgb, var(--accent, #6535b5) 38%, transparent) !important; outline-offset: 3px !important; }

/* --- 初めての説明の吹き出し（白い面・角 16px・左に丸いキャラ・字 15〜16px・下の段に「1/2」と［次へ］・右上に ×。高さ 約96px） --- */
.dpg-ti-bubble { position: relative; display: flex; align-items: flex-start; gap: 12px; box-sizing: border-box; max-width: 560px; margin: 12px 0; padding: 12px 44px 8px 12px;
  border-radius: var(--ti-r); background: var(--ti-surface); box-shadow: var(--ti-shadow); color: var(--ti-ink); font-family: var(--ti-font); text-align: left; scroll-margin: 88px 0 120px; }
.dpg-ti-bubble > .dpg-ti-x { position: absolute; top: 2px; right: 2px; }
.dpg-ti-bubble__body { flex: 1 1 auto; min-width: 0; }
.dpg-ti-bubble__text { margin: 2px 0 0; font-size: 16px; line-height: 1.55; font-weight: 700; overflow-wrap: anywhere; text-wrap: pretty; }
.dpg-ti-bubble__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.dpg-ti-bubble__count { font-size: 14px; font-weight: 700; color: var(--ti-ink-2); font-variant-numeric: tabular-nums; }
.dpg-ti-bubble__next { display: inline-flex; align-items: center; min-height: 44px; margin-right: -32px; padding: 0 12px; border: 0; background: none; color: var(--ti-accent); font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.dpg-ti-face { flex: none; display: block; width: 44px; height: 44px; border-radius: 50%; background-color: var(--ti-soft); background-repeat: no-repeat; }
.dpg-ti-face--face { background-position: 50% 30%; background-size: cover; }
/* ポーズの絵（512px・地は透明）は顔の所で切る（今の .dpg-face と同じく丸の中に顔）。位置は絵ごとに目で合わせた。 */
.dpg-ti-face--pose { width: 48px; height: 48px; background-size: 170%; }
.dpg-ti-face--wave { background-position: 69% 38%; }
.dpg-ti-face--thumb { background-position: 79% 43%; }
.dpg-ti-face--fist { background-size: 220%; background-position: 56% 28%; }
@media (prefers-reduced-motion: no-preference) {
  .dpg-ti-bubble.is-new { animation: dpg-ti-in .22s ease-out both; }
}

/* --- 合格体験記の問いかけ・おめでとう・選ぶ（書く画面の真ん中のカード。PC は幅 560px まで） --- */
html.dpg-ti-asking #story-editor-form, html.dpg-ti-asking #editor-login-link, html.dpg-ti-asking #story-preview-panel,
html.dpg-ti-asking .survey-mine, html.dpg-ti-asking .survey-footnote, html.dpg-ti-asking #editor-status { display: none !important; }
.dpg-ti-ask { position: relative; box-sizing: border-box; max-width: 560px; margin: 16px auto 24px; padding: 24px 20px 20px; border-radius: var(--ti-r);
  background: var(--ti-surface); box-shadow: var(--ti-shadow); color: var(--ti-ink); font-family: var(--ti-font); text-align: center; overflow: hidden; }
.dpg-ti-ask > .dpg-ti-x { position: absolute; top: 4px; right: 4px; z-index: 2; }
.dpg-ti-ask__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dpg-ti-ask__chara { display: block; width: 88px; height: 88px; object-fit: contain; }
.dpg-ti-ask__title { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 900; overflow-wrap: anywhere; text-wrap: balance; }
.dpg-ti-ask__title:focus { outline: none; }
.dpg-ti-ask__title--reply { font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.dpg-ti-ask__acts { display: flex; flex-direction: column; align-items: stretch; gap: 10px; align-self: stretch; margin-top: 4px; }
.dpg-ti-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: var(--g-btn-h, 52px); padding: 0 20px; border-radius: var(--ti-r-btn);
  font: inherit; font-size: 17px; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; overflow-wrap: anywhere; }
.dpg-ti-btn--primary { border: 1px solid var(--ti-fill-border); background: var(--ti-fill); box-shadow: var(--ti-fill-shadow); color: #ffffff; }
.dpg-ti-btn--line { border: 2px solid var(--ti-accent); background: var(--ti-surface); color: var(--ti-accent); }
.dpg-ti-ask__note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ti-ink-2); }
.dpg-ti-ask__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ti-accent); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ② おめでとう（溜め 0〜640ms → 止め 640〜800ms → 解放 800〜1100ms → 余韻 1100〜1500ms）。時間は今の「今日の目安の達成」の帯と同じ。 */
.dpg-ti-cheer { transition: transform .64s cubic-bezier(.55, 0, 1, .45), background-color .3s ease; }
.dpg-ti-cheer.is-charge, .dpg-ti-cheer.is-hold { transform: scale(.985); }
.dpg-ti-cheer.is-release, .dpg-ti-cheer.is-settle, .dpg-ti-cheer.is-done { background: var(--ti-gold); transform: none; transition-duration: .3s; }
.dpg-ti-cheer__stage { position: relative; width: 132px; height: 132px; margin: 0 auto -4px; }
.dpg-ti-cheer__bg { position: absolute; inset: -40px; display: block; border-radius: 50%; overflow: hidden; -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); mask-image: radial-gradient(closest-side, #000 60%, transparent); }
.dpg-ti-cheer__bg video { width: 100%; height: 100%; object-fit: cover; }
.dpg-ti-cheer__ring { position: absolute; inset: 6px; display: block; }
.dpg-ti-cheer__ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.dpg-ti-cheer__track { fill: none; stroke: var(--ti-soft); stroke-width: 4; }
.dpg-ti-cheer__fill { fill: none; stroke: var(--ti-primary); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.dpg-ti-cheer.is-charge .dpg-ti-cheer__fill { animation: dpg-ti-fill .64s cubic-bezier(.55, 0, 1, .45) both; }
.dpg-ti-cheer.is-hold .dpg-ti-cheer__fill { stroke-dashoffset: 0; }
.dpg-ti-cheer.is-release .dpg-ti-cheer__ring { animation: dpg-ti-ring-out .3s ease-out both; }
.dpg-ti-cheer.is-release .dpg-ti-cheer__fill { stroke-dashoffset: 0; }
.dpg-ti-cheer.is-settle .dpg-ti-cheer__ring, .dpg-ti-cheer.is-done .dpg-ti-cheer__ring { opacity: 0; }
.dpg-ti-cheer__wave { position: absolute; inset: 6px; border: 2px solid var(--ti-primary); border-radius: 50%; opacity: 0; }
.dpg-ti-cheer.is-release .dpg-ti-cheer__wave { animation: dpg-ti-wave .4s ease-out both; }
.dpg-ti-cheer__chara { position: absolute; left: 50%; bottom: 0; width: 120px; height: 120px; margin-left: -60px; object-fit: contain; opacity: 0; transform: translateY(36px) scale(.6); }
.dpg-ti-cheer.is-release .dpg-ti-cheer__chara { animation: dpg-ti-jump .3s cubic-bezier(.2, .8, .2, 1.2) both; }
.dpg-ti-cheer.is-settle .dpg-ti-cheer__chara { opacity: 1; transform: none; animation: dpg-ti-bob .4s ease-out both; }
.dpg-ti-cheer.is-done .dpg-ti-cheer__chara { opacity: 1; transform: none; }
.dpg-ti-cheer__title { margin: 0; font-size: clamp(18px, 5.6vw, 22px); line-height: 1.4; font-weight: 900; color: var(--ti-primary); opacity: 0; overflow-wrap: anywhere; }
.dpg-ti-cheer.is-release .dpg-ti-cheer__title { animation: dpg-ti-pop .3s cubic-bezier(.2, .8, .2, 1) both; }
.dpg-ti-cheer.is-settle .dpg-ti-cheer__title, .dpg-ti-cheer.is-done .dpg-ti-cheer__title { opacity: 1; }
.dpg-ti-cheer__title:focus { outline: none; }
.dpg-ti-cheer__lead { margin: 0; font-size: 16px; line-height: 1.6; font-weight: 700; color: var(--ti-ink); text-wrap: pretty; }
.dpg-ti-cheer:not(.is-done) .dpg-ti-cheer__lead, .dpg-ti-cheer:not(.is-done) .dpg-ti-cheer__acts { display: none; }
@keyframes dpg-ti-fill { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes dpg-ti-ring-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.12); } }
@keyframes dpg-ti-wave { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes dpg-ti-jump { 0% { opacity: 0; transform: translateY(36px) scale(.6); } 70% { opacity: 1; transform: translateY(-10px) scale(1.04); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes dpg-ti-bob { 0% { transform: translateY(0); } 40% { transform: translateY(-4px); } 100% { transform: translateY(0); } }
@keyframes dpg-ti-pop { 0% { opacity: 0; transform: scale(.9); } 60% { opacity: 1; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .dpg-ti-cheer, .dpg-ti-cheer * { animation: none !important; transition: none !important; }
}

/* --- 案2 見本つきの図鑑（「できること」のシートの中身。外枠は dpg-firstrun.css のまま） --- */
:root[data-quiz-theme] .dpg-abil--zk .dpg-abil__body.dpg-zk { gap: 0; }
.dpg-zk-wrap { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.dpg-zk__tabs { flex: none; display: flex; flex-wrap: wrap; gap: 0; margin: 0 var(--g-s2, 16px); border-bottom: 1px solid var(--ti-line); }
.dpg-zk__tab { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 52px; min-height: 56px; margin: 0; padding: 6px 2px 4px;
  border: 0; border-bottom: 3px solid transparent; background: none; color: var(--ti-ink-2); font: inherit; font-size: 13px; line-height: 1.3; font-weight: 800; cursor: pointer; }
.dpg-zk__tab-icon { display: grid; place-items: center; width: 22px; height: 22px; }
.dpg-zk__tab-icon svg { width: 20px; height: 20px; }
.dpg-zk__tab[aria-selected="true"] { border-bottom-color: var(--ti-primary); color: var(--ti-accent); }
.dpg-zk__tab-name { white-space: nowrap; }
.dpg-zk__panel { padding: 0 0 8px; }
.dpg-zk__panel:focus { outline: none; }
.dpg-zk__list { margin: 0; padding: 0; list-style: none; }
.dpg-zk__item + .dpg-zk__item { border-top: 1px solid var(--ti-line); }
.dpg-zk__row { display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 100%; min-height: 56px; margin: 0; padding: 10px 2px; border: 0; background: none; color: var(--ti-ink); font: inherit; text-align: left; cursor: pointer; }
.dpg-zk__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dpg-zk__name { font-size: 16px; line-height: 1.45; font-weight: 800; overflow-wrap: anywhere; }
.dpg-zk__desc { font-size: 14px; line-height: 1.5; color: var(--ti-ink-2); overflow-wrap: anywhere; }
.dpg-zk__item:not(.is-open) .dpg-zk__desc { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.dpg-zk__chev { flex: none; font-size: 22px; line-height: 1; color: var(--ti-ink-2); }
.dpg-zk__item.is-open .dpg-zk__chev { transform: rotate(90deg); color: var(--ti-accent); }
.dpg-zk__more { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 2px 14px; }
.dpg-zk__more[hidden] { display: none; }
.dpg-zk__sample { box-sizing: border-box; width: 100%; max-width: 390px; margin: 0; }
.dpg-zk__stage { position: relative; }
.dpg-zk__video, .dpg-zk__still { display: block; box-sizing: border-box; width: 100%; height: auto; aspect-ratio: 390 / 180; border: 1px solid var(--ti-line); border-radius: 12px; background: var(--ti-surface-2); object-fit: cover; }
.dpg-zk__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ti-surface); box-shadow: var(--ti-shadow); color: var(--ti-primary); cursor: pointer; }
.dpg-zk__play svg { width: 26px; height: 26px; margin-left: 3px; }
.dpg-zk__play[hidden] { display: none; }
.dpg-zk__cap { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--ti-ink-2); }
.dpg-zk__more-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ti-ink); text-wrap: pretty; overflow-wrap: anywhere; }
.dpg-zk__go { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 48px; max-width: 100%; padding: 0 24px; border: 1px solid var(--ti-fill-border); border-radius: var(--ti-r-btn);
  background: var(--ti-fill); box-shadow: var(--ti-fill-shadow); color: #ffffff; font: inherit; font-size: 16px; font-weight: 800; text-decoration: none; cursor: pointer; overflow-wrap: anywhere; }
.dpg-zk__tag { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 800; color: var(--ti-accent); }
.dpg-zk__msg { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 700; color: var(--ti-ink); }
.dpg-zk__msg:empty { display: none; }
.dpg-zk__links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.dpg-zk__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ti-accent); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.dpg-zk__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ti-ink-2); }
.dpg-zk__adv { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--ti-line); }
.dpg-zk__adv-title { margin: 0; font-size: 15px; font-weight: 800; color: var(--ti-ink); }
.dpg-zk__adv-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ti-ink-2); }
/* PC: 同じシートを右に出す（幅 480px） */
@media (min-width: 1024px) {
  :root[data-quiz-theme] .dpg-abil--zk .dpg-abil__sheet { left: auto; right: 0; top: 0; bottom: 0; width: 480px; max-height: none; border-radius: 24px 0 0 24px; transform: none; }
}
@media (min-width: 720px) {
  .dpg-zk__tabs { margin: 0 var(--g-s3, 24px); }
}
/* 書く画面（story-survey.css）の a の色・見出しのフォーカスの枠に負けないよう、カードの中だけ強めに書く */
.dpg-ti-ask a.dpg-ti-btn--primary, .dpg-ti-ask a.dpg-ti-btn--primary:visited { color: #ffffff; text-decoration: none; }
.dpg-ti-ask h2.dpg-ti-ask__title:focus, .dpg-ti-ask .dpg-ti-cheer__title:focus { outline: none; box-shadow: none; }
/* 図鑑: タブの下の線が仕切りなので、中身の頭の薄いぼかし（dpg-firstrun.css の ::before）は使わない */
:root[data-quiz-theme] .dpg-abil--zk .dpg-abil__body.dpg-zk::before { content: none; }
/* 200% 拡大（幅 300px 未満）: 吹き出しは顔を外し、× を上の段の右に置いて、字を幅いっぱいに使う（字が1字ずつ折れないように） */
@media (max-width: 299.98px) {
  .dpg-ti-bubble { flex-wrap: wrap; gap: 0; padding: 4px 10px 6px; }
  .dpg-ti-bubble > .dpg-ti-face { display: none; }
  .dpg-ti-bubble > .dpg-ti-x { position: static; order: -1; margin: 0 -6px 0 auto; }
  .dpg-ti-bubble__body { flex: 1 1 100%; }
  .dpg-ti-bubble__text { font-size: 15px; }
  .dpg-ti-bubble__next { margin-right: -8px; }
  .dpg-ti-ask { padding: 20px 12px 16px; }
  .dpg-ti-ask__title { font-size: 18px; }
  /* 図鑑のタブは1段にして横に送る（2026-10-28 直し係C・検査役の小3。前は3段に折れてシートの上の約3分の1を使っていた）。
     押す所は 56px の高さ・64px 以上の幅。選んだタブは dpg-t-intro.js の revealTab で見える所まで送る。 */
  .dpg-zk__tabs { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 8px; }
  .dpg-zk__tabs::-webkit-scrollbar { display: none; }
  .dpg-zk__tab { flex: 0 0 auto; min-width: 64px; padding: 6px 8px 4px; }
}
/* ④ の1行は帯の並び（grid・flex のどちらでも）の幅いっぱいに置く */
.qz-explain-audio .dpg-ti-audio { grid-column: 1 / -1; flex: 1 1 100%; justify-content: flex-start; }
