/* ページの並び（レイアウト）だけ。見た目は tokens.css と components.css の部品と変数で決まる。 */
body { margin: 0; }
[hidden] { display: none !important; }
.page { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; } /* スタンプが押される瞬間の拡大で横スクロールが出ないように */
html:has(> body.page) { overflow-x: clip; } /* html が visible のままだと body の指定が画面全体へ移り、body では切れない */
.page > main { flex: 1; }
.stack { display: flex; flex-direction: column; gap: var(--_g, var(--space-4)); }
/* 縦のリズム：セクションの間・色の帯の上下は --section-gap、見出しと中身の間は --head-gap（全画面共通） */
.sec { padding-top: var(--section-gap); display: flex; flex-direction: column; gap: var(--head-gap); }
.page > main { padding-bottom: var(--section-gap); }
.page > main:has(> .sec--band:last-child) { padding-bottom: 0; }
.sec--band { margin-top: var(--section-gap); padding-bottom: var(--section-gap); background: var(--color-surface); color: var(--color-on-surface); }
.sec--band + .sec--band { margin-top: 0; }
.page-top { padding-top: var(--page-top); }
/* Mobile は画面いっぱい、PC は本文の幅に収める */
@media (min-width: 768px) { html:not(.ds-mobile) .ds-container-pc { width: 100%; max-width: var(--w-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); } }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.bleed { margin: 0 calc(var(--gutter) * -1); }
.muted { color: var(--color-text-sub); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 767px) { .pc-only { display: none !important; } }
@media (min-width: 768px) {
  .bleed { margin: 0; }
  .sp-only { display: none !important; }
}

/* アーティストの帯（一覧ページ上部：KV帯＋名前＋タブ） */
/* アーティストの帯（KV帯＋名前＋タブ）。タブは HM-01 と同じ箱型でヘッダーの下に固定 */
.band { display: contents; }
/* ページ名（一覧ページ） */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); padding-top: var(--space-8); }
.page-head + * { margin-top: var(--head-gap); }
.page-head + .sec { padding-top: 0; }
/* 会員証は幅を固定。列より狭い画面では縮めず、ページの外で切れる */
@media (min-width: 768px) { html:not(.ds-mobile) .page-head { padding-top: var(--space-9); } }

/* メニュー（右から出す。全画面、PC は幅 400） */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--color-bg); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform var(--dur-reveal) ease, visibility 0s linear var(--dur-reveal); }
.menu-scrim { position: fixed; inset: 0; z-index: 89; background: var(--color-overlay); opacity: 0; visibility: hidden; transition: opacity var(--dur-reveal) ease, visibility 0s linear var(--dur-reveal); }
.menu.is-open { transform: translateX(0); visibility: visible; transition: transform var(--dur-reveal) ease, visibility 0s; }
.menu.is-open + .menu-scrim { opacity: 1; visibility: visible; transition: opacity var(--dur-reveal) ease, visibility 0s; }
@media (min-width: 768px) {
  html:not(.ds-mobile) .menu { left: auto; width: 400px; border-left: var(--bw-1) solid var(--color-line); }
  html:not(.ds-mobile) .menu .ds-header { padding-left: var(--space-6); }
  html:not(.ds-mobile) .menu .ds-container { padding: 0 var(--space-6); }
  html:not(.ds-mobile) .menu__auth { padding: var(--space-5) var(--space-6); }
  html:not(.ds-mobile) .menu__artist { min-height: 56px; grid-template-columns: 36px minmax(0, 1fr) auto; }
  html:not(.ds-mobile) .menu__artist-name { font-size: 22px; }
}
.menu__auth { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); padding: var(--space-5) var(--gutter); }
.menu__auth--member { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); }
.menu__member { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.menu__member-name { font-size: var(--fs-body); font-weight: var(--fw-bold); }
.menu__member .ds-link { margin-top: 6px; }
.menu__artist { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 68px; padding: var(--space-2) 0; border-top: var(--bw-1) solid var(--color-line); transition: background-color var(--dur) ease; }
.menu__artist-name { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-section); line-height: .95; overflow-wrap: anywhere; }
.menu__support { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-4); font-size: var(--fs-body-sm); color: var(--color-text-body); }
@media (prefers-reduced-motion: reduce) { .menu, .menu-scrim { transition: none; } }
@media (hover: hover) { .menu__artist:hover { background-color: var(--color-hover-row); } }
.menu__artist:active { background-color: var(--color-hover-row); }

/* ヒーロー */
.hero { position: relative; display: block; overflow: hidden; touch-action: pan-y; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px var(--edge, var(--gutter)) 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); background: linear-gradient(180deg, rgba(13,13,12,0), rgba(13,13,12,.78)); font-size: 15px; font-weight: var(--fw-bold); line-height: 1.5; }
.hero__segs { display: flex; gap: var(--space-1); padding: var(--space-1) var(--edge, var(--gutter)) 0; }
/* ゲージの線は2px、押せる高さは --tap-min。区切りの隙間まで押せる範囲に含める */
.hero__seg { flex: 1; height: var(--tap-min); margin: 0 calc(var(--space-1) / -2); padding: 0 calc(var(--space-1) / 2); display: flex; align-items: center; cursor: pointer; }
.hero__seg::before { content: ""; width: 100%; height: 2px; background: var(--color-line); }
.hero__seg.is-on::before { background: var(--color-text); }
@media (min-width: 768px) { .hero__cap { padding: 80px var(--edge) 30px; font-size: 22px; } }
/* ポータルのヒーローは中身と同じ幅で止める。16:9のまま画面幅まで広がると、高さも画面より大きくなる。
   見出しの左右は、幅を止めたあとの箱の中で余白を取る。画面全体の --edge だと、狭い箱の中で余白が大きすぎる */
.hero { max-width: var(--w-max); margin-inline: auto; }
.hero .hero__cap { padding-left: var(--gutter); padding-right: var(--gutter); }
.hero + .hero__segs { max-width: var(--w-max); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* アーティストホームの訴求バナー：真ん中に1枚、両脇に前後を重ねる（片側2枚まで。スマホは1枚で、画面の端まで広げる）。
   真ん中の大きさは画面の幅で変えず（PC 560px・スマホ 画面の78%）、広がった分は脇のずらし幅で受ける。脇は暗くして奥に置く。
   見出しは真ん中の下だけ、2行分の高さを取り、切り替わっても下が動かない。見出しのない場所なので、タブ・ニュースとの間は詰める */
.pick { position: relative; padding-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); --_w: 78vw; --_layers: 1; }
.pick:not([hidden]) + .sec { padding-top: var(--space-7); }
.pick__stage { display: grid; margin: 0 calc(var(--gutter) * -1); overflow: hidden; touch-action: pan-y; }
.pick__item { grid-area: 1 / 1; justify-self: center; width: var(--_w); transform-origin: center; }
.pick__stage.is-ready .pick__item { transition: transform var(--dur-media) var(--ease), filter var(--dur-media) var(--ease), opacity var(--dur-media) var(--ease); }
.pick__item.is-side { filter: brightness(.5); }
.pick__item.is-back { filter: brightness(.3); }
.pick__item.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
/* 押せる高さの上下の余りを、見出しとの間・下のセクションとの間に食い込ませる */
.pick__segs { align-self: center; width: var(--_w); max-width: 100%; padding: 0; margin: calc(var(--space-3) * -1) 0 calc((var(--tap-min) - 2px) / -2); }
.pick__cap { align-self: center; width: var(--_w); max-width: 100%; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; min-height: 2lh; }
.pick__arrow { display: none; }
@media (min-width: 768px) {
  html:not(.ds-mobile) .pick { padding-top: var(--space-6); --_w: 560px; --_layers: 2; }
  html:not(.ds-mobile) .pick__arrow {
    display: flex; align-items: center; justify-content: center; position: absolute; z-index: 5;
    top: calc(var(--space-6) + var(--_w) * 9 / 32); width: 48px; height: 64px; margin: 0; padding: 0;
    border: 0; border-radius: 0; transform: translateY(-50%); cursor: pointer;
    background: rgba(0, 0, 0, .6); color: #fff; transition: background-color var(--dur) ease, color var(--dur) ease;
  }
  html:not(.ds-mobile) .pick__arrow svg { width: 24px; height: 24px; }
  html:not(.ds-mobile) .pick__arrow--prev { left: 24px; }
  html:not(.ds-mobile) .pick__arrow--next { right: 24px; }
  html:not(.ds-mobile) .pick__arrow:hover { background: #f1efea; color: #0d0d0c; }
  html:not(.ds-mobile) .pick:not([hidden]) + .sec { padding-top: var(--space-8); }
  html:not(.ds-mobile) .pick__stage { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .pick__stage.is-ready .pick__item { transition: none; } }

/* PT-01 アーティスト一覧：全員をカードで並べる（列の数は .ds-cards の決まりに従う） */
.artists { grid-auto-flow: row dense; }
@media (min-width: 1200px) { html .artists { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* 同じ行のカードは名前の高さを揃える（subgrid）。名前が1行の行に余計な隙間を作らない */
.artist { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 10px; align-content: start; }
.artist .artist__name { font-family: var(--font-display); font-weight: var(--fw-display); font-size: 26px; line-height: .95; text-transform: none; overflow-wrap: anywhere; text-underline-offset: 5px; text-decoration-thickness: 2px; align-self: start; }
.artist__focus { font-size: var(--fs-caption); line-height: 1.6; color: var(--color-text-sub); text-wrap: pretty; }
@media (min-width: 768px) { html .artist .artist__name { font-size: 30px; } }

/* PICK UP：紙色の帯（黒→紙→黒のリズム）。帯の中は .ds-surface で紙の上用に読み替わる。イベントは .ds-ev（カード） */
.upnext { display: grid; gap: 32px; }
.upnext-list { display: flex; flex-direction: column; gap: var(--space-8); }
.upnext__home { color: inherit; text-decoration: none; }
.upnext__home:hover .ds-link--quiet,
.upnext__home:active .ds-link--quiet { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
@media (min-width: 768px) {
  .upnext { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
}

/* HM-01 */
.atabs-wrap { position: sticky; top: var(--h-header); z-index: 5; background: var(--color-bg); padding: 8px 0; }

@media (min-width: 768px) {
}

.gallery { position: relative; }
.gallery__track { display: flex; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track > * { flex: none; width: 100%; scroll-snap-align: start; }
.gallery__count { position: absolute; right: var(--space-3); bottom: var(--space-3); }
.thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.thumb { cursor: pointer; opacity: .55; transition: opacity var(--dur) ease; }
.thumb.is-on { opacity: 1; outline: 2px solid var(--color-text); outline-offset: 2px; }
.desc { position: relative; max-height: 7.2em; overflow: hidden; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-text-body); white-space: pre-line; }
.desc p { margin: 0 0 var(--space-3); }
.desc p:last-child { margin-bottom: 0; }
.desc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(180deg, transparent, var(--color-bg)); }
.desc.is-open { max-height: none; }
.desc.is-open::after { display: none; }
/* 商品詳細の購入券。金額と、お届けなどの値は右端。紙の上の選択中チップは黒 */
.goods-buy .ds-total { justify-content: flex-end; }
.goods-buy .ds-kv dd { text-align: right; }
.goods-buy .ds-chip.is-selected { background: var(--color-on-surface); border-color: var(--color-on-surface); color: var(--color-surface); }
.goods-buy .ds-chip--out { pointer-events: none; }

/* EV-02：会場サービスのタブはヘッダーの下に付く。
   Mobile は最初から文字だけの1行（横スクロール）。PC はアイコン付きの1行。付いたあとも並びは同じ。 */
.venue-dock { position: sticky; top: var(--h-header); z-index: 6; background: var(--color-bg); }
.venue-dock.ds-tabs--icon { display: flex; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; grid-template-columns: none; }
.venue-dock.ds-tabs--icon::-webkit-scrollbar { display: none; }
.venue-dock .ds-tab { flex: none; width: var(--venue-tab, max-content); box-sizing: border-box; justify-content: center; }
.venue-dock .ds-tab__ic { display: none; }
.venue-dock.is-stuck { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 8px var(--gutter); border-bottom: var(--bw-1) solid var(--color-line); }
@media (min-width: 768px) {
  html:not(.ds-mobile) .venue-dock.ds-tabs--icon { display: grid; grid-auto-flow: column; grid-template-columns: none; overflow: visible; gap: 6px; }
  html:not(.ds-mobile) .venue-dock .ds-tab { width: auto; justify-content: flex-start; }
  html:not(.ds-mobile) .venue-dock .ds-tab__ic { display: flex; }
}
/* 会場欄：徒歩の横に、別タブで地図を開く文字リンク。枠は付けない */
.venue-walk { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.venue-map { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-note); font-weight: var(--fw-bold); line-height: 1.7; color: var(--color-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.venue-map svg { width: 12px; height: 12px; flex: none; }
.venue-map:active { text-decoration-thickness: 2px; }
@media (hover: hover) { .venue-map:hover { text-decoration-thickness: 2px; } }
/* 受取方法：文と、押すと拡大する小さい案内 */
.pickup-how { display: flex; align-items: flex-start; gap: 12px; }
.pickup-how > .ds-note { flex: 1; min-width: 0; }
.pickup-how > button.ds-media--map { width: 88px; margin-top: 0; border: var(--bw-1) solid var(--color-line); }
/* グッズ一覧の、会場受取への入口 */
.goods-venue { margin-bottom: var(--space-6); }
@media (min-width: 768px) { html:not(.ds-mobile) .goods-venue { width: fit-content; min-width: 320px; } }
.venue-panel { display: none; flex-direction: column; gap: var(--space-4); }
.venue-panel.is-on { display: flex; }
/* 2列（PC）の並び */
.l-cols { display: grid; gap: var(--section-gap); }
@media (min-width: 768px) { .l-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }
/* PC で主ボタンを伸ばしすぎない */
@media (min-width: 768px) { .cta-w { max-width: 480px; } }

/* NW-02 本文 */
@media (min-width: 768px) { .nw-article { --_g: 32px !important; } }
.article { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-text-body); }
.article h2 { margin: var(--space-8) 0 var(--space-3); padding-top: var(--space-5); border-top: var(--bw-1) solid var(--color-line); font-size: 18px; color: var(--color-text); }
.article p, .article ul, .article ol { margin: 0 0 var(--space-4); }
.article ol > li + li { margin-top: var(--space-2); }
.article a { text-decoration: underline; text-underline-offset: 3px; }
.article table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-4); }
.article th, .article td { padding: var(--space-3) 0; border-bottom: var(--bw-1) solid var(--color-line); text-align: left; vertical-align: top; }
.article th { width: 96px; color: var(--color-text-sub); font-weight: var(--fw-bold); }
.size-chart { width: 100%; border-collapse: collapse; }
.size-chart th, .size-chart td { padding: 10px 8px 10px 0; border-bottom: var(--bw-1) solid var(--color-line); text-align: left; font-size: var(--fs-body-sm); white-space: nowrap; }
.size-chart th { color: var(--color-text-sub); font-weight: var(--fw-bold); }
.size-chart td { font-family: var(--font-num); }
@media (min-width: 768px) { .article { font-size: 16px; } .narrow { max-width: 760px; margin: 0 auto; } }

/* メニュー PC：右から出る幅400pxのパネル（後ろの指定を上書きするため末尾に置く） */
@media (min-width: 768px) {
  html:not(.ds-mobile) .menu__artist { min-height: 56px; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; }
  html:not(.ds-mobile) .menu__artist-name { font-size: 22px; }
  html:not(.ds-mobile) .menu__support { font-size: var(--fs-caption); }
}


/* アーティストのカバー：左に1:1の画像、右にパタパタの名前。黒地に直接置き、区切りは斜めの線1本。
   画面で使っているのは HM-01 の --home。Mobile は画像全幅＋名前を下、斜めなし。PC は左に画像、右端を斜め。
   --band は artist-band.html の default に残している。画面からは参照していない。 */
.cover { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; }
.cover__img { aspect-ratio: 1 / 1; clip-path: polygon(0 0, 100% 0, calc(100% - var(--_slant, 32px)) 100%, 0 100%); }
.cover__panel { position: relative; min-width: 0; margin: 0; padding-left: var(--space-4); display: flex; flex-direction: column; justify-content: center; }
.cover__panel::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--_slant, 32px) * -1); width: 1px; transform-origin: top left; }
.cover--band { margin-top: var(--space-4); --_slant: 24px; }
.cover--band .cover__img { width: 104px; }
.cover--band .ds-flap--lg { --flap-w: 24px; --flap-h: 34px; --flap-fs: 26px; }
.cover--home { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); --_slant: 0px; }
.cover--home .cover__img { width: 100%; }
.cover__video { opacity: 0; transition: opacity var(--dur-media) var(--ease); }
.cover__video.is-playing { opacity: 1; }
.cover--home .cover__panel { padding: 0 var(--gutter); }
.cover--home .ds-flap--lg { --flap-w: 34px; --flap-h: 46px; --flap-fs: 36px; }
@media (min-width: 768px) {
  .cover--band { margin-top: var(--space-6); --_slant: 32px; }
  .cover--band .cover__img { width: 152px; }
  .cover--band .cover__panel { padding-left: var(--space-6); }
  .cover--band .ds-flap--lg { --flap-w: 36px; --flap-h: 50px; --flap-fs: 40px; }
  .band .atabs-wrap { padding-top: var(--space-4); }
  html:not(.ds-mobile) .cover--home { grid-template-columns: min(40%, 400px) minmax(0, 1fr); gap: 0; margin-top: var(--page-top); --_slant: 56px; }
  html:not(.ds-mobile) .cover--home .cover__panel { padding: 0 0 0 var(--space-7); }
  html:not(.ds-mobile) .cover--home .ds-flap--lg { --flap-w: clamp(44px, 5vw, 72px); --flap-h: clamp(60px, 6.9vw, 98px); --flap-fs: clamp(48px, 5.5vw, 78px); --flap-gap: 5px; }
}
.cover--home + .atabs-wrap { margin-top: var(--space-5); }

/* アーティストページ：大きな名前はスクロールでそのまま消え、タブがヘッダーに付いたときだけ小さい名前が左に出る。
   --name-max を超える名前は端まで流し、そこで文字がめくれて先頭に戻る。左へは滑らない。--p は PC の余白だけ。 */
.stage { --p: 0; --name-max: 132px; }
.stage__dock { position: sticky; top: var(--h-header); z-index: 6; display: flex; flex-wrap: nowrap; align-items: center; column-gap: 0; padding: 8px var(--edge, var(--gutter)); background: var(--color-bg); }
.stage__dock.is-stuck { column-gap: 8px; border-bottom: var(--bw-1) solid var(--color-line); }
.stage__name { flex: none; display: flex; align-items: center; min-width: 0; max-width: 0; opacity: 0; overflow: hidden; transition: max-width .28s ease, opacity .28s ease; }
.stage__dock.is-stuck .stage__name { max-width: var(--name-max); opacity: 1; }
.stage__name .ds-flap { flex-wrap: nowrap; }
.stage__name .ds-flap--lg { --flap-w: 22px; --flap-h: 30px; --flap-fs: 22px; --flap-gap: 3px; }
/* 流れ自体は site.js。端で止め、左へ滑って戻さない。 */
.stage .atabs-wrap { position: static; flex: 1 1 0; min-width: 0; padding: 0; background: transparent; overflow-x: auto; scrollbar-width: none; }
.stage .atabs-wrap::-webkit-scrollbar { display: none; }
.stage .atabs-wrap > .ds-container { padding: 0; max-width: none; }
.stage .ds-tabs { width: max-content; min-width: 100%; grid-auto-columns: minmax(max-content, 1fr); }
.stage .ds-tab { padding-left: 14px; padding-right: 14px; }
.stage [data-artist-panel] { position: relative; z-index: 2; background: var(--color-bg); }
[data-artist-panel] > [data-artist-empty] { margin-top: var(--space-5); }
@media (prefers-reduced-motion: reduce) {
  .stage__name { transition: none; }
  .stage__name.is-marquee .ds-flap { transform: none; }
}
@media (min-width: 768px) {
  html:not(.ds-mobile) .stage { --name-max: 168px; }
  html:not(.ds-mobile) .stage__dock { padding-top: calc(var(--space-5) * (1 - var(--p)) + 8px * var(--p)); }
  html:not(.ds-mobile) .stage__name .ds-flap--lg { --flap-w: 28px; --flap-h: 38px; --flap-fs: 30px; --flap-gap: 3px; }
}

/* CT-05 注文完了：Mobile は 見出し→受取情報→要約→ボタン、PC は 左に見出しとボタン、右に受取情報と要約 */
.done { display: grid; gap: var(--space-6); }
.done__msg { padding-top: var(--space-5); border-top: var(--bw-1) solid var(--color-line); }
.done__status { display: flex; align-items: center; gap: var(--space-3); }
.done__fee { padding-top: var(--space-3); }
.list-num { margin: 0; padding-left: 1.4em; }
.qr-row { display: flex; gap: var(--space-4); align-items: center; }
@media (min-width: 768px) {
  .done { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "head info" "acts info" "acts sum"; column-gap: clamp(28px, 4vw, 64px); align-items: start; }
  .done__head { grid-area: head; } .done__info { grid-area: info; } .done__sum { grid-area: sum; } .done__acts { grid-area: acts; }
}

/* CT-01 カート：券は1枚（上＝商品、ミシン目、下＝金額と購入手続き）。PC はお届けの1行が収まる幅。
   下の小計・送料は合計と同じ右端。お届けの文は左のまま */
.cart-tickets { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 768px) { html:not(.ds-mobile) .cart-tickets { width: min(100%, 680px); } }
.cart-tickets .ds-ticket__part:last-child .ds-kv dd { text-align: right; }

/* CT-05 THANK YOU とスタンプ（見本の比率：タイル 58×82・文字66、スタンプは直径124・左230・上70）。
   タイルの幅 --tw が左の列の幅に合わせて縮み、スタンプの大きさと位置も --tw に比例して一緒に縮む（文字との位置関係は変わらない）。
   上限は Mobile 58px／1024px〜 80px（PC は見本の0.8倍：直径140・左336・上94 を 80px に対する比率で持つ） */
.done__head { container-type: inline-size; }
.thanks { --tw-max: 58px; --k-size: 2.138; --k-left: 3.966; --k-top: 1.207; --k-span: 6.1;
  --tw: min(var(--tw-max), calc((100cqi - 12px) / var(--k-span))); --stamp-size: calc(var(--tw) * var(--k-size)); --stamp-delay: 1.17s;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.thanks .ds-flap { flex-wrap: nowrap; --flap-w: var(--tw); --flap-h: calc(var(--tw) * 1.414); --flap-fs: calc(var(--tw) * 1.138); --flap-gap: 4px; }
.thanks__stamp { position: absolute; left: calc(var(--tw) * var(--k-left)); top: calc(var(--tw) * var(--k-top)); z-index: 3; }
@media (min-width: 1024px) { .thanks { --tw-max: 80px; --k-size: 1.75; --k-left: 4.2; --k-top: 1.175; --k-span: 6; } }

/* MY-02 注文の券：左の部分の中で「情報｜商品」。Mobile と 768〜1023 は縦に積む */
.order { gap: var(--space-4); }
.order__info { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.order__info > .ds-tag { align-self: flex-start; }
@media (min-width: 1024px) { .order { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-6); align-items: start; } }
/* MY-04 QR の下の番号 */
.qr-no { align-self: center; }
