/*
 * LiveUp 会員アプリ（参考: Unity 版「すぴRe:+」アプリの UI）
 * テーマは body.theme-pastel / body.theme-neon で切り替える。
 */

/* ---------- テーマ ---------- */
:root {
  --font: "Kaisei Opti", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --radius: 20px;
  --max-width: 480px;
  --gutter: 16px;
}

.theme-pastel {
  --primary: #ff7fca;
  --primary-strong: #ff5bb9;
  --accent: #6fd3e3;
  --text: #9a5f45;
  --text-soft: #b27559;
  --on-primary: #fff;
  --panel: #e8f7f7;
  --surface: #fff;
  --border: #6fd3e3;
  --muted: #b9aeb3;
  --gauge-track: #3a3040;
  --gauge-fill: linear-gradient(90deg, #6fd3e3, #ff7fca);
  --backdrop: rgba(80, 40, 60, .45);
  --bg: #f4e9f4 url("/assets/ui/bg_01-0cdbf73b.jpg") center top / 100% auto repeat-y;
}

.theme-neon {
  --primary: #f23cf2;
  --primary-strong: #ff00ff;
  --accent: #00d9e8;
  --text: #e9f7ff;
  --text-soft: #8fe9f2;
  --on-primary: #fff;
  --panel: rgba(24, 16, 48, .9);
  --surface: #1b1433;
  --border: #00d9e8;
  --muted: #6d6690;
  --gauge-track: #0b0818;
  --gauge-fill: linear-gradient(90deg, #00d9e8, #f23cf2);
  --backdrop: rgba(0, 0, 0, .6);
  --bg: #0b0818 url("/assets/shops/001-003-bg-4554b2f1.jpg") center top / cover fixed;
}

/* ---------- ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}

body.is-modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--primary-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.app {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top);
}

.page { flex: 1; padding: 0 var(--gutter) 32px; }

.empty { text-align: center; color: var(--text-soft); padding: 24px 0; margin: 0; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 8px 28px;
  border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .1s, filter .15s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { filter: grayscale(.8); opacity: .6; cursor: not-allowed; }
.btn--primary {
  background: var(--primary); color: var(--on-primary);
  box-shadow: inset 0 0 0 3px var(--primary), inset 0 0 0 5px rgba(255, 255, 255, .85);
}
.btn--sub { background: var(--surface); color: var(--primary-strong); box-shadow: inset 0 0 0 2px var(--primary); }
.btn--pill {
  flex: 1; min-height: 64px; font-size: 1.2rem;
  background: var(--primary); color: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 30%, transparent), inset 0 0 0 3px var(--primary), inset 0 0 0 6px rgba(255, 255, 255, .9);
}

/* ---------- ヘッダー / フッター ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 12px;
  padding: 12px var(--gutter);
}
.topbar__back {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.topbar__back svg { width: 30px; height: 30px; }
.topbar__title { margin: 0; font-size: 1.15rem; }

.footer { text-align: center; padding: 0 0 calc(12px + env(safe-area-inset-bottom)); color: var(--primary); }
.footer__lace {
  height: 18px; margin-bottom: 8px;
  background: url("/assets/ui/footer_line_01-1ab90b02.png") center / auto 100% repeat-x;
}
.theme-neon .footer__lace { filter: hue-rotate(160deg) brightness(.7); }
.footer__logo { width: 120px; margin: 0 auto 4px; }
.footer small { font-size: 1rem; }

/* ---------- セクション見出し（レース枠） ---------- */
.section { margin-top: 28px; }
.section-title {
  margin: 0 auto 12px; width: min(100%, 360px); aspect-ratio: 540 / 100;
  display: grid; place-items: center;
  background: url("/assets/ui/title_frame_01-0d99116d.png") center / contain no-repeat;
  font-size: 1.15rem; color: var(--text-soft); letter-spacing: .2em;
}
.theme-neon .section-title {
  background: url("/assets/shops/001-003-title-frame-b8c4f9e4.png") center / contain no-repeat;
  color: #fff; aspect-ratio: auto; padding: 10px 0;
}

.panel {
  background: var(--panel);
  border: 4px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
}

/* ---------- タイトル画面 ---------- */
.title-screen {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  padding: 32px var(--gutter);
}
.shop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; width: 100%; }
.shop-list > li { display: flex; justify-content: center; }
.shop-list__item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px; border-radius: 28px; text-decoration: none;
  background: rgba(255, 255, 255, .55); backdrop-filter: blur(2px);
  box-shadow: 0 6px 20px rgba(160, 90, 140, .18);
  transition: transform .15s;
}
.shop-list__item:active { transform: scale(.98); }
.shop-list__item--neon { width: min(100%, 280px); padding: 14px 20px; border-radius: 20px; background: #120c24; box-shadow: 0 0 0 3px #00d9e8, 0 0 18px rgba(242, 60, 242, .5); }
.shop-list__logo { width: min(100%, 320px); height: auto; }
.shop-list__item--neon .shop-list__logo { width: min(100%, 200px); }
.shop-list__name { font-size: 1.6rem; color: var(--primary-strong); padding: 24px 0; }
.shop-list__copy { color: var(--text-soft); font-size: .9rem; }
.shop-list__item--neon .shop-list__copy { color: #8fe9f2; }
.title-screen__hint {
  margin: 0; padding: 10px 40px; border-radius: 999px;
  background: var(--primary); color: #fff; letter-spacing: .1em;
  box-shadow: inset 0 0 0 3px var(--primary), inset 0 0 0 5px rgba(255, 255, 255, .85);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .55; } }

/* ---------- 会員証 ---------- */
.member-card {
  position: relative;
  display: flex; align-items: flex-end; gap: 12px;
  aspect-ratio: 540 / 330;
  padding: 7% 7% 8%;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(160deg, #54526f, #2c2b42 60%, #45445f);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
.member-card--wood     { background: url("/assets/rank/rank_wood-c540078d.png") center / 100% 100% no-repeat; box-shadow: none; }
.member-card--copper   { background: url("/assets/rank/rank_copper-efd30886.png") center / 100% 100% no-repeat; box-shadow: none; }
.member-card--silver   { background: url("/assets/rank/rank_silver-0637727b.png") center / 100% 100% no-repeat; box-shadow: none; }
.member-card--gold     { background: url("/assets/rank/rank_gold-6ace8f10.png") center / 100% 100% no-repeat; box-shadow: none; }
.member-card--platinum { background: url("/assets/rank/rank_platinum-a0285e42.png") center / 100% 100% no-repeat; box-shadow: none; }

.member-card__body { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
.member-card__fields { margin: 0; display: grid; gap: 4px; }
.member-card__fields dt { font-size: .85rem; letter-spacing: .08em; opacity: .9; }
.member-card__fields dd { margin: 0; }
.member-card__id { font-size: 1.05rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.member-card__name { font-size: 1.5rem; line-height: 1.3; overflow-wrap: anywhere; }
.member-card__rank { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.member-card__grade { font-size: .8rem; padding: 0 10px; border-radius: 999px; background: rgba(0, 0, 0, .3); }
.member-card__level { font-size: 1.1rem; }
.member-card__actions { display: flex; flex-direction: column; gap: 8px; }
.member-card__btn {
  display: grid; place-items: center; text-align: center;
  min-width: 84px; min-height: 44px; padding: 6px 12px;
  border-radius: 16px; text-decoration: none; color: #fff; font-size: .9rem; line-height: 1.4;
  background: rgba(120, 120, 120, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
}
.member-card__btn--login { min-width: 110px; min-height: 110px; font-size: 1rem; }
.member-card__btn--qr { background: var(--primary); }
.member-card .gauge { margin-top: 6px; }
.member-card .gauge__track { background: rgba(0, 0, 0, .45); }
.member-card .gauge__remain { position: static; display: block; text-align: right; margin-top: 2px; color: #fff; font-size: .75rem; }

/* ---------- ゲージ ---------- */
.gauge { position: relative; padding-top: 2px; }
.gauge__track { height: 12px; border-radius: 999px; background: var(--gauge-track); overflow: hidden; }
.gauge__fill { height: 100%; border-radius: inherit; background: var(--gauge-fill); transition: width .6s ease; }
.gauge__remain { position: absolute; right: 0; bottom: 14px; font-size: .8rem; color: var(--primary-strong); }

/* ---------- バナー ---------- */
.banner { margin-top: 20px; }
.banner__viewport { border-radius: 14px; overflow: hidden; aspect-ratio: 320 / 100; background: rgba(255, 255, 255, .4); }
.banner__slide, .banner__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner__dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.banner__dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid var(--primary); background: #fff; cursor: pointer; }
.banner__dot[aria-current="true"] { background: var(--primary); }

/* ---------- お知らせ ---------- */
.news { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.news__item {
  display: grid; gap: 2px; padding: 10px 16px;
  border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--text);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--border) 60%, transparent);
}
.news__item time { font-size: .8rem; color: var(--text-soft); }

/* ---------- キャスト一覧 ---------- */
.cast-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
.cast-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text-soft); }
.cast-card__photo { position: relative; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: #fff; }
.cast-card__img { width: 100%; height: 100%; object-fit: cover; }
.cast-card__zoom {
  position: absolute; top: 0; right: 0; width: 34%; aspect-ratio: 1;
  background: linear-gradient(45deg, transparent 50%, color-mix(in srgb, var(--primary) 70%, transparent) 50%);
}
.cast-card__zoom::after {
  content: ""; position: absolute; top: 12%; right: 12%; width: 32%; aspect-ratio: 1;
  border: 3px solid #fff; border-radius: 50%;
}
.cast-card .rank-badge { position: absolute; left: 4px; bottom: 4px; }
.cast-card__oshi {
  position: absolute; top: 6px; left: 6px; padding: 0 8px; border-radius: 999px;
  background: var(--primary); color: #fff; font-size: .75rem;
}
.cast-card__level { font-size: 1.15rem; margin-top: 4px; padding-left: 4px; }
.cast-card__name { text-align: center; font-size: 1.05rem; overflow-wrap: anywhere; }

.cast-placeholder {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(135deg, #a6ecff, #ffc4ea); color: #fff; font-size: 3rem;
}
.theme-neon .cast-placeholder { background: linear-gradient(135deg, #1b1446, #6a1c78); }

/* 親密度ランク（D〜SS） */
.rank-badge {
  display: inline-flex; align-items: center; height: 34px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25));
}
.rank-badge__heart { font-size: 1.9rem; line-height: 1; color: #ff8fc8; -webkit-text-stroke: 2px #fff; }
.rank-badge__label {
  margin-left: -8px; min-width: 32px; height: 32px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: #5bc3d4; font-size: 1.1rem; box-shadow: inset 0 0 0 3px #ff9fd3;
}
.rank-badge--c .rank-badge__label { color: #4caf7d; }
.rank-badge--b .rank-badge__label { color: #4a7fe0; }
.rank-badge--a .rank-badge__label { color: #e0493f; }
.rank-badge--s .rank-badge__label,
.rank-badge--ss .rank-badge__label { color: #d4a017; box-shadow: inset 0 0 0 3px #f2c94c; border-radius: 16px; }

/* ---------- SNS ---------- */
.sns { text-align: center; }
.sns__list { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.sns__link {
  width: 64px; height: 64px; border-radius: 6px; overflow: hidden; display: grid; place-items: center;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .15);
}
.sns__link img { width: 100%; height: 100%; object-fit: contain; }
.sns__link--x { background: #fff; }
.sns__link--youtube { background: #fff; }
.sns__link--instagram { background: #fff; padding: 10px; }
.sns__link--tiktok { background: #000; }
.sns--small { margin-top: 20px; }
.sns--small .sns__link { width: 48px; height: 48px; }
.sns__caption { margin: 0 0 8px; color: var(--text-soft); }

/* ---------- キャスト詳細 ---------- */
.cast__hero { display: flex; justify-content: center; }
.cast__main {
  width: min(100%, 320px); aspect-ratio: 3 / 4; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 6px; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}
.cast__main-img { width: 100%; height: 100%; object-fit: cover; }

.tabs { margin-top: 24px; }
.tabs__list { display: flex; justify-content: center; }
.tabs__tab {
  flex: 1; max-width: 45%; border: 0; padding: 6px 0; border-radius: 14px 14px 0 0;
  color: #fff; font-size: 1.1rem; letter-spacing: .15em; cursor: pointer; opacity: .75;
}
.tabs__tab--detail { background: #6fd3e3; }
.tabs__tab--gallery { background: #ff7fca; }
.tabs__tab[aria-selected="true"] { opacity: 1; box-shadow: inset 0 -4px 0 rgba(255, 255, 255, .6); }
.tabs__panel {
  border: 8px solid #6fd3e3; border-radius: 30px; background: var(--surface);
  padding: 24px 20px; min-height: 240px;
}
.tabs__panel--gallery { border-color: #ff7fca; }

.profile { margin: 0; display: grid; gap: 18px; }
.profile__row { display: grid; grid-template-columns: 5.2em 1fr; align-items: baseline; gap: 8px; }
.profile__row dt { color: var(--primary); font-size: 1rem; }
.profile__row dd { margin: 0; min-width: 0; }
.profile__row--gauge dd { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 10px; }
.profile__row--gauge .gauge { grid-column: 1 / -1; margin-top: 4px; }
.profile__value { font-size: 1.8rem; color: var(--primary); line-height: 1.2; }
.profile__value--name { font-size: 1.6rem; overflow-wrap: anywhere; }
.profile__text { color: var(--text); }
.profile__hint { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--text-soft); }
.profile__free { margin-top: 16px; padding-top: 12px; border-top: 2px dashed color-mix(in srgb, var(--primary) 40%, transparent); font-weight: 400; }

.oshi { margin-top: 20px; text-align: center; }
.oshi__btn {
  border: 2px solid var(--primary); border-radius: 999px; background: var(--surface); color: var(--primary-strong);
  padding: 8px 24px; font-weight: 700; cursor: pointer;
}
.oshi__btn--on { background: var(--primary); color: #fff; }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery__thumb { display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: #eee; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.reward-buttons { display: flex; gap: 16px; margin-top: 24px; }

/* ---------- モーダル（turbo-frame#modal） ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--gutter); }
.modal__backdrop { position: absolute; inset: 0; background: var(--backdrop); animation: fade .2s ease; }
.modal__panel, .sheet__panel {
  position: relative; width: min(100%, 440px); max-height: calc(100dvh - 32px); overflow: auto;
  background: var(--surface); color: var(--text);
  border: 4px solid var(--border); border-radius: 24px; padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  animation: pop .2s ease;
}
.modal__header { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
.modal__title { flex: 1; margin: 0; font-size: 1.15rem; color: var(--primary-strong); line-height: 1.4; }
.modal__close {
  flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: var(--primary); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ネイティブ <dialog> */
dialog { border: 0; padding: 0; background: transparent; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: var(--backdrop); }
.sheet[open] { display: grid; place-items: center; width: 100%; height: 100%; padding: var(--gutter); }
.sheet__note { font-size: .85rem; color: var(--text-soft); margin: 12px 0 0; }

.viewer[open] { width: 100%; height: 100%; display: grid; place-items: center; padding: var(--gutter); cursor: zoom-out; }
.viewer img { max-height: calc(100dvh - 48px); width: auto; border-radius: 8px; }
.viewer__close {
  position: fixed; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--primary); color: #fff; font-size: 1.5rem;
}

/* ---------- 報酬一覧 ---------- */
.rewards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rewards__item {
  display: grid; grid-template-columns: 4.2em 1fr auto; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 14px; background: var(--panel);
  box-shadow: inset 0 0 0 2px var(--border);
}
.rewards__item--locked { filter: grayscale(1); opacity: .55; }
.rewards__level { color: var(--primary); }
.rewards__name { overflow-wrap: anywhere; }
.rewards__status { padding: 4px 12px; border-radius: 999px; font-size: .85rem; text-decoration: none; white-space: nowrap; }
.rewards__status--get { background: var(--primary); color: #fff; }
.rewards__status--done { background: var(--muted); color: #fff; }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 16px; }
.form__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.form__actions .btn { flex: 1; min-width: 130px; white-space: nowrap; padding-inline: 16px; }
.form__error { margin: 0; min-height: 1.4em; color: #e0335b; font-size: .9rem; }

.member-id { border: 0; margin: 0; padding: 0; }
.member-id legend { margin-bottom: 8px; color: var(--text-soft); }
.member-id__fields { display: flex; align-items: center; gap: 6px; }
.member-id__fields input {
  min-width: 0; height: 52px; border-radius: 12px; border: 2px solid var(--border); background: var(--panel);
  text-align: center; font-size: 1.2rem; letter-spacing: .08em; font-variant-numeric: tabular-nums;
}
.member-id__fixed { width: 4.2em; flex: none; opacity: .7; }
.member-id__input { flex: 1; background: #fff !important; color: #333 !important; }
.member-id__input:focus, .field__input:focus { outline: 3px solid color-mix(in srgb, var(--primary) 50%, transparent); }

.field { display: grid; gap: 6px; }
.field__label { color: var(--text-soft); font-size: .9rem; }
.field__input {
  height: 52px; border-radius: 12px; border: 2px solid var(--border); padding: 0 14px;
  background: #fff; color: #333; font-size: 1.2rem; letter-spacing: .2em;
}

.toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--primary); }

.summary { margin: 0; display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: var(--panel); }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt { color: var(--text-soft); }
.summary dd { margin: 0; text-align: right; }

.menu { display: grid; gap: 12px; }
.menu form, .menu .btn { width: 100%; }
.menu form .btn { width: 100%; }

/* ---------- QR ---------- */
.qr { display: grid; justify-items: center; gap: 8px; }
.qr__frame { width: min(100%, 280px); padding: 12px; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 3px var(--border); }
.qr__code { width: 100%; height: auto; display: block; }
.qr__code-text { margin: 0; font-size: 1.2rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.qr__name { margin: 0; color: var(--text-soft); }

.scanner__view { position: relative; margin: 8px auto 0; width: min(100%, 360px); aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #000; }
.scanner__video { width: 100%; height: 100%; object-fit: cover; }
.scanner__guide {
  position: absolute; inset: 16%; border: 4px solid var(--primary); border-radius: 16px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, .35);
}
.scanner__message { text-align: center; margin: 16px 0; }

/* ---------- トースト ---------- */
.toasts {
  position: fixed; left: 0; right: 0; top: calc(12px + env(safe-area-inset-top)); z-index: 200;
  display: grid; justify-items: center; gap: 8px; pointer-events: none; padding: 0 var(--gutter);
}
.toast {
  pointer-events: auto; max-width: 440px; padding: 12px 20px; border-radius: 999px;
  background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  animation: pop .25s ease; transition: opacity .4s, transform .4s;
}
.toast--alert { background: #e0335b; }
.toast--hide { opacity: 0; transform: translateY(-10px); }

.article time { font-size: .85rem; color: var(--text-soft); }
.article p { font-weight: 400; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 連携で追加した表示 ---------- */
.cast__catch { margin: 16px 0 0; text-align: center; color: var(--primary-strong); font-size: 1.1rem; }
.cast__more { text-align: center; margin: 16px 0 0; }
.notice { text-align: center; margin-top: 24px; display: grid; gap: 12px; justify-items: center; }
.notice__title { margin: 0; font-size: 1.2rem; color: var(--primary-strong); }
.shop-list__image { width: min(100%, 200px); height: auto; border-radius: 12px; }
.field__input--text { letter-spacing: normal; font-size: 1.05rem; }
.form__note { margin: 0; font-size: .8rem; color: var(--text-soft); text-align: center; }

/* ---------- NFCチェックイン ---------- */
.tap { margin-top: 24px; display: grid; gap: 14px; justify-items: center; text-align: center; padding: 28px 16px; }
.tap__photo { width: 150px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.tap__img { width: 100%; height: 100%; object-fit: cover; }
.tap__title { margin: 0; font-size: 1.2rem; color: var(--primary-strong); line-height: 1.5; }
.tap__lead { margin: 0; }
.tap__count { margin: 0; font-size: 1.1rem; }
.tap__count strong { font-size: 2.4rem; color: var(--primary-strong); padding: 0 4px; }
.tap__note { margin: 0; font-size: .8rem; color: var(--text-soft); }
.tap--done { animation: pop .3s ease; }
.form__note--left { text-align: left; }
.member-card__checked { font-size: .75rem; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .25); }
.profile__meets { margin: 0; color: var(--text); }
.profile__meets strong { color: var(--primary); font-size: 1.4rem; padding: 0 4px; }
.tap__error { font-size: 1rem; }
