/* AKARI Video Lab — アカウント（lab-account.html）  ※パスレーン所有
 * base.css のトークン・ボタン・ナビ・フッターに揃える。パスのカードは共通部品（pass-card.css）。
 * 状態の出し分け: <html data-acct="lifetime|member"> と [data-show="lifetime|member"]（head のスクリプトが最初に決める）
 */

html[data-acct="member"] [data-show="lifetime"],
html[data-acct="lifetime"] [data-show="member"] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--orange); color: #140a00; font-weight: 700; transform: translateY(-160%); transition: transform 0.3s var(--ease-out); }
.skip:focus { transform: none; }
.acc-main { overflow-x: clip; }
.page-account h1, .page-account h2, .page-account h3, .acc-sub, .acc-lead, .acc-note, .acc-howto, .acc-item__name {
  word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere;
}
.btn svg { width: 17px; height: 17px; }

/* ── Lab 文脈のナビ ── */
.nav--lab .nav__brand span { white-space: nowrap; }
.lab-tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin-left: -2px; border-radius: 6px;
  font: 700 11px/1 var(--font-en); letter-spacing: 0.06em; color: #160b00; background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 138, 0, 0.35);
}
.acc-me {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 236, 214, 0.04); font-size: 13px; font-weight: 700; color: var(--text);
  transition: border-color 0.3s;
}
.acc-me:hover { border-color: var(--orange); }
.acc-me b { font-family: var(--font-en); font-weight: 700; letter-spacing: 0.02em; }
.acc-me__t > span { font-family: var(--font-en); }
html[data-acct="member"] .acc-me__t > span { font-family: var(--font-jp); }
.acc-me__card {
  width: 34px; height: 22px; border-radius: 4px; flex: none;
  background: linear-gradient(118deg, #cfcdc9, #f3f2ef 22%, #b8b5b0 50%, #e4e2de 76%, #b1aea9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 16px -4px rgba(255, 138, 0, 0.5);
  position: relative;
}
.acc-me__card::before { content: ""; position: absolute; left: 5px; top: 7px; width: 8px; height: 6px; border-radius: 1.5px; background: linear-gradient(135deg, #f3dfa6, #c49446); }
html[data-acct="member"] .acc-me__card { background: none; box-shadow: none; border: 1.5px dashed rgba(255, 236, 214, 0.4); }
html[data-acct="member"] .acc-me__card::before { display: none; }

/* ── ヒーロー（パス）── */
.acc-hero { position: relative; overflow: clip; padding: calc(var(--nav-h) + clamp(28px, 5vw, 64px)) 0 clamp(36px, 5vw, 64px); }
.acc-hero__bg { position: absolute; inset: 0; pointer-events: none; }
/* 上からカードに落ちるスポットライト */
.acc-hero__beam {
  position: absolute; left: 28%; top: -10%; width: 60%; height: 110%; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 226, 190, 0.1), rgba(255, 226, 190, 0.02) 70%, transparent);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); mask-image: linear-gradient(180deg, #000 30%, transparent 92%);
  filter: blur(12px);
}
.acc-hero__glow {
  position: absolute; left: 28%; top: 58%; width: min(78vw, 980px); aspect-ratio: 1.4; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 138, 0, 0.18), rgba(255, 90, 31, 0.05) 55%, transparent 75%);
}
.acc-hero--member .acc-hero__glow { background: radial-gradient(closest-side, rgba(255, 236, 214, 0.06), transparent 70%); }
.acc-hero__lines {
  position: absolute; inset: 0; opacity: 0.45;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(50% 60% at 28% 50%, #000, transparent 80%); mask-image: radial-gradient(50% 60% at 28% 50%, #000, transparent 80%);
}
.acc-hero__grid { position: relative;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(28px, 5vw, 80px); align-items: center; }

.acc-stage { position: relative; display: grid; place-items: center; padding: clamp(18px, 3vw, 40px) 0 clamp(40px, 5vw, 70px); }
.acc-stage__floor {
  position: absolute; left: 10%; right: 10%; bottom: 4%; height: 18%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 150, 50, 0.22), rgba(255, 138, 0, 0.05) 60%, transparent);
  filter: blur(6px);
}
.acc-stage .pass-card { margin-inline: auto; }
.acc-card-flip { display: block; width: 100%; text-align: inherit; border-radius: 20px; cursor: pointer; }
.acc-card-flip:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
.acc-card-flip .pass-card[hidden] { display: none; }
.acc-card-details { width: min(100%, 440px); margin-top: 18px; padding: 22px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--ink-2); }
.acc-card-details[hidden] { display: none; }
.acc-card-details__title { font-size: 17px; font-weight: 800; }
.acc-card-details dl { display: grid; gap: 10px; margin-top: 18px; }
.acc-card-details dl > div { min-width: 0; padding-top: 10px; border-top: 1px solid var(--line); }
.acc-card-details dt { font-size: 12px; color: var(--muted); }
.acc-card-details dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 700; }

.acc-hero__text { min-width: 0; }
.acc-title { margin-top: 18px; }
.acc-title__k { display: block; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 700; color: var(--text-2); letter-spacing: 0.04em; }
.acc-title__no { display: flex; align-items: baseline; gap: 0.18em; margin-top: 6px; font-family: var(--font-en); line-height: 0.9; }
.acc-title__no small { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 600; color: var(--orange-2); letter-spacing: 0; }
.acc-title__no b {
  font-size: clamp(5rem, 10vw, 9rem); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 0%, #ece9e4 38%, #b9b4ad 62%, #e2dfda 78%, #948f88 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 30px rgba(255, 138, 0, 0.18));
}
.acc-title--member { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.2; }
.acc-who { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.acc-who__name { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.acc-founder {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: #1a0c00; background: linear-gradient(180deg, #ffb45a, #ff8a00);
}
.acc-founder[hidden] { display: none; }
.acc-lead { margin-top: 16px; font-size: var(--fs-lead); color: var(--text-2); line-height: 1.85; }
.acc-chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.acc-chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); }
.acc-chip--ok { color: var(--ok); border-color: rgba(123, 216, 143, 0.35); }
.acc-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.acc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* 事実の帯 */
.acc-facts {
  margin: clamp(28px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 236, 214, 0.03), rgba(255, 236, 214, 0.01));
}
.acc-fact { padding: 20px 24px 22px; min-width: 0; }
.acc-fact + .acc-fact { border-left: 1px solid var(--line); }
.acc-fact dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }
.acc-fact dd { margin: 8px 0 0; display: grid; gap: 4px; }
.acc-fact__big { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 900; letter-spacing: 0.02em; color: var(--text); }
.acc-fact__big b { font-family: var(--font-en); font-weight: 800; }
.acc-fact__ok { color: var(--ok); }
.acc-fact small { font-size: 12.5px; color: var(--muted); }
.acc-fact small[hidden] { display: none; }

/* 残席（無料会員） */
.acc-seats { margin-top: 24px; padding: 20px 22px; border-radius: var(--radius-lg); border: 1px solid rgba(255, 138, 0, 0.28); background: linear-gradient(170deg, rgba(255, 138, 0, 0.08), rgba(255, 138, 0, 0.01) 50%), var(--ink-2); max-width: 30rem; }
.acc-seats__k { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--orange-2); }
.acc-seats__at { color: var(--muted); letter-spacing: 0.04em; }
.acc-seats__n { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.acc-seats__n b { font-family: var(--font-en); font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.acc-seats__n > span { font-weight: 900; }
.acc-seats__n small { color: var(--muted); font-family: var(--font-en); font-size: 13px; }
.acc-meter { position: relative; height: 8px; margin-top: 14px; border-radius: 99px; background: rgba(255, 236, 214, 0.07); overflow: hidden; }
.acc-meter__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, #ff5a1f, #ff8a00 60%, #ffb45a); box-shadow: 0 0 14px rgba(255, 138, 0, 0.6); }
.acc-meter i { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 1%); width: 2px; margin-left: -1px; background: var(--ink); }
.acc-seats__note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* ── 本体 ── */
.acc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: clamp(20px, 3vw, 36px); align-items: start; padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.acc-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--orange-2); text-transform: uppercase; }
.acc-k--sub { margin: 26px 0 12px; color: var(--muted); }
.acc-h2 { margin-top: 10px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.acc-h3 { margin-top: 8px; font-size: 1.2rem; }
.acc-sub { margin-top: 12px; color: var(--text-2); line-height: 1.85; font-size: 14.5px; }
.acc-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-2); font-weight: 700; font-size: 14px; }
.acc-link svg { width: 16px; height: 16px; flex: none; transition: transform 0.4s var(--ease-out); }
.acc-link:hover svg:last-child { transform: translateX(4px); }

.acc-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-bottom: 22px; }
.acc-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.acc-seg button {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 700; color: var(--text-2); transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.acc-seg button span { font-family: var(--font-en); font-size: 11.5px; font-weight: 600; color: var(--muted); }
.acc-seg button:hover { color: var(--text); border-color: var(--text-2); }
.acc-seg button[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.acc-seg button[aria-pressed="true"] span { color: rgba(11, 9, 8, 0.55); }
html[data-acct="member"] .acc-seg [data-paid-filter] { display: none; }

.acc-empty {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 18px;
  padding: 18px 20px; border-radius: var(--radius); border: 1.5px dashed rgba(255, 236, 214, 0.2); color: var(--text-2);
}
.acc-empty > svg { width: 26px; height: 26px; color: var(--muted); }
.acc-empty p { display: grid; gap: 2px; font-size: 13.5px; }
.acc-empty b { color: var(--text); font-size: 15px; }

.acc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.acc-item {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-2); transition: border-color 0.3s, transform 0.5s var(--ease-out);
}
.acc-item:hover { border-color: var(--line-2); transform: translateY(-2px); }
.acc-item__thumb { position: relative; aspect-ratio: 16 / 10; background: #0f0d0c; overflow: hidden; }
.acc-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.acc-item--telop .acc-item__thumb img, .acc-item--sound .acc-item__thumb img { object-fit: contain; }
.acc-item--telop .acc-item__thumb { background: radial-gradient(80% 90% at 50% 50%, #2a2320, #0f0d0c); }
.acc-item--telop .acc-item__thumb img { padding: 10% 6%; }
.acc-item--sound .acc-item__thumb img { padding: 10%; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.6)); }
.acc-item--sound .acc-item__thumb { background: radial-gradient(70% 80% at 50% 45%, #2a2019, #0f0d0c); }
.acc-badge {
  position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px;
  font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.03em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.acc-badge--pass { color: #1d0e02; background: linear-gradient(118deg, #d9d7d3, #f6f5f2 40%, #bdb9b3); }
.acc-badge--free { color: var(--text); background: rgba(11, 9, 8, 0.7); border: 1px solid var(--line-2); font-family: var(--font-jp); }
.acc-item__body { display: grid; gap: 6px; padding: 12px 12px 4px; min-width: 0; }
.acc-item__name { font-size: 13.5px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.acc-item__meta { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 11.5px; color: var(--muted); }
.acc-item__meta code { font-size: 11px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.acc-item__meta span { flex: none; }
.acc-item__acts { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 10px 12px 12px; margin-top: auto; }
.acc-act {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 9px;
  font-size: 12.5px; font-weight: 700; border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 236, 214, 0.03);
  transition: border-color 0.3s, background 0.3s, color 0.3s; white-space: nowrap;
}
.acc-act svg { width: 14px; height: 14px; flex: none; }
.acc-act:hover { border-color: var(--orange); }
.acc-act--use { background: rgba(255, 138, 0, 0.12); border-color: rgba(255, 138, 0, 0.4); color: var(--orange-2); }
.acc-act--use:hover { background: var(--orange); color: #140a00; }
.acc-act.is-done { color: var(--ok); border-color: rgba(123, 216, 143, 0.45); }
.acc-sec__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.acc-sec__foot [hidden] { display: none; }

/* サイドのカード */
.acc-side { display: grid; gap: 14px; }
.acc-card { padding: 22px 22px 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--ink-2); }
.acc-card__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.acc-device { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line); }
.acc-device__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 236, 214, 0.05); color: var(--text-2); }
.acc-device__ico svg { width: 22px; height: 22px; }
.acc-device__name { font-weight: 700; font-size: 14.5px; }
.acc-device__meta { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; color: var(--muted); margin-top: 2px; }
.acc-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.acc-pill span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.acc-pill--ok { color: var(--ok); background: rgba(123, 216, 143, 0.1); }
.acc-quota { margin-top: 12px; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); }
.acc-quota__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.acc-quota__t { font-size: 13.5px; font-weight: 700; }
.acc-quota__n { display: flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--muted); }
.acc-quota__n b { font-size: 13.5px; color: var(--text); }
.acc-quota__dots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 10px; }
.acc-quota__dots i { height: 6px; border-radius: 99px; background: rgba(255, 236, 214, 0.1); }
.acc-quota__dots i.is-used { background: var(--orange); box-shadow: 0 0 10px rgba(255, 138, 0, 0.5); }
.acc-quota__note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.acc-howto { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.acc-receipts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.acc-rcpt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line); }
.acc-rcpt__ico svg { width: 20px; height: 20px; color: var(--muted); }
.acc-rcpt__name { font-weight: 700; font-size: 14px; }
.acc-rcpt__meta { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 11.5px; color: var(--muted); font-family: var(--font-en); }
.acc-rcpt__amt { font-family: var(--font-en); font-weight: 700; font-size: 14px; }
.acc-rcpt__dl { font-size: 12.5px; font-weight: 700; color: var(--orange-2); padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255, 138, 0, 0.35); }
.acc-rcpt__dl:hover { background: rgba(255, 138, 0, 0.12); }
.acc-none { margin-top: 12px; padding: 14px; border-radius: var(--radius); border: 1.5px dashed rgba(255, 236, 214, 0.16); font-size: 13.5px; color: var(--muted); text-align: center; }
.acc-mail { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14.5px; }
.acc-mail svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.acc-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ── 素材ビューアへ ── */
.acc-viewer { padding-bottom: clamp(56px, 7vw, 100px); }
.acc-viewer__box {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px;
  padding: clamp(26px, 4vw, 52px); border-radius: 28px; border: 1px solid rgba(255, 138, 0, 0.25);
  background: radial-gradient(70% 90% at 100% 50%, rgba(255, 138, 0, 0.14), transparent 70%), linear-gradient(160deg, #17120f, #0e0b09);
}
.acc-viewer__text .btn { margin-top: 24px; }
.acc-viewer__art { position: relative; height: clamp(220px, 24vw, 300px); perspective: 1200px; }
.acc-art__tile {
  position: absolute; width: 46%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); background: #0f0d0c;
  transform: rotateY(-18deg) rotateX(8deg) translateZ(var(--z, 0px)); left: var(--l); top: var(--t);
}
.acc-art__tile img { width: 100%; height: 100%; object-fit: cover; }
.acc-art__tile--telop img { object-fit: contain; padding: 8% 5%; }
.acc-art__knob {
  position: absolute; right: 2%; bottom: 4%; width: 44%; padding: 12px 14px; border-radius: 12px; background: rgba(20, 17, 15, 0.92); border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.9); transform: rotateY(-18deg) rotateX(8deg) translateZ(60px); display: grid; gap: 8px;
}
.acc-art__knob p { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); }
.acc-art__knob p b { color: var(--orange-2); font-weight: 500; }
.acc-art__knob i { display: block; height: 4px; border-radius: 9px; background: rgba(255, 236, 214, 0.12); position: relative; }
.acc-art__knob i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: inherit; background: var(--orange); }
.acc-art__id { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; color: var(--text); padding: 6px 8px; border-radius: 7px; background: var(--ink-3); border: 1px solid var(--line); }

/* ── 困ったとき ── */
.acc-help { border-top: 1px solid var(--line); padding-block: 40px; }
.acc-help__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.acc-help__t { font-size: 1.1rem; }
.acc-help__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── アプリで使う（ダイアログ）── */
.acc-use {
  width: min(100% - 32px, 480px); padding: 0; border-radius: 22px; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--text);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9);
}
.acc-use::backdrop { background: rgba(5, 4, 3, 0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.acc-use[open] { animation: useIn 0.45s var(--ease-out); }
@keyframes useIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.acc-use__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 18px 16px; border-bottom: 1px solid var(--line); }
.acc-use__thumb { width: 96px; height: 60px; border-radius: 10px; object-fit: cover; background: #0f0d0c; border: 1px solid var(--line); }
.acc-use__thumb.is-contain { object-fit: contain; padding: 6px; }
.acc-use__t { margin-top: 4px; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acc-use__id code { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--text-2); }
.acc-use__x { align-self: start; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--text-2); }
.acc-use__x svg { width: 16px; height: 16px; }
.acc-use__x:hover { color: var(--text); border-color: var(--orange); }
.acc-use__steps { list-style: none; margin: 0; padding: 16px 18px 4px; display: grid; gap: 8px; }
.acc-use__steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.acc-use__steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none; background: var(--orange); color: #140a00; font-family: var(--font-en); font-size: 13px; }
.acc-use__ai { margin: 14px 18px 0; padding: 14px; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--line); }
.acc-use__k { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.acc-use__k svg { width: 16px; height: 16px; color: var(--orange-2); }
.acc-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 10px 10px 10px 14px; border-radius: 10px; background: var(--ink); border: 1px solid var(--line); }
.acc-code span { font-size: 13.5px; font-weight: 700; overflow-wrap: anywhere; }
.acc-copy { flex: none; height: 30px; padding: 0 12px; border-radius: 8px; font-size: 12px; font-weight: 700; border: 1px solid var(--line-2); }
.acc-copy:hover { border-color: var(--orange); }
.acc-use__note { padding: 12px 18px 18px; font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ── デモ切り替え（本番では消す）── */
.page-account .footer { padding-bottom: 96px; }
.acc-toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; padding: 10px 18px; border-radius: 999px; background: var(--text); color: var(--ink); font-weight: 700; font-size: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out); white-space: nowrap; }
.acc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 入場（html.js のときだけ。reduced では base.css が全部止める） */
html.js .acc-hero .acc-stage { animation: accStageIn 1.3s var(--ease-out) both; }
html.js .acc-hero__text > * { animation: accUp 0.9s var(--ease-out) both; }
html.js .acc-hero__text > *:nth-child(2) { animation-delay: 80ms; }
html.js .acc-hero__text > *:nth-child(3) { animation-delay: 140ms; }
html.js .acc-hero__text > *:nth-child(4) { animation-delay: 200ms; }
html.js .acc-hero__text > *:nth-child(5) { animation-delay: 260ms; }
html.js .acc-hero__text > *:nth-child(6) { animation-delay: 320ms; }
html.js .acc-facts { animation: accUp 0.9s var(--ease-out) 0.35s both; }
@keyframes accStageIn { from { opacity: 0; transform: translate3d(0, 40px, 0) scale(0.96); } }
@keyframes accUp { from { opacity: 0; transform: translate3d(0, 20px, 0); } }
/* 登場演出を自動で出すときは、ページ側の入場を止める（演出と重ねない） */
html.acc-revealing .acc-hero .acc-stage, html.acc-revealing .acc-hero__text > *, html.acc-revealing .acc-facts { animation: none; }

/* ── レスポンシブ ── */
@media (max-width: 1080px) {
  .acc-body { grid-template-columns: minmax(0, 1fr); }
  .acc-side { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 900px) {
  .acc-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .acc-hero__beam, .acc-hero__glow { left: 50%; }
  .acc-hero__glow { top: 30%; }
  .acc-hero__lines { -webkit-mask-image: radial-gradient(60% 40% at 50% 30%, #000, transparent 80%); mask-image: radial-gradient(60% 40% at 50% 30%, #000, transparent 80%); }
  .acc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc-fact:nth-child(3) { border-left: 0; }
  .acc-fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .acc-viewer__box { grid-template-columns: minmax(0, 1fr); }
  .nav--lab .acc-me { order: -1; }
}
@media (max-width: 560px) {
  .acc-hero { padding-top: calc(var(--nav-h) + 8px); }
  .acc-stage { padding: 14px 0 34px; }
  .acc-title__no b { font-size: clamp(4.2rem, 22vw, 5.6rem); }
  .acc-cta { display: grid; grid-template-columns: 1fr 1fr; }
  .acc-cta .btn { padding: 0 14px; }
  .acc-cta .btn--primary { grid-column: 1 / -1; }
  .acc-hero--member .acc-cta .btn { grid-column: 1 / -1; }
  .acc-fact { padding: 16px; }
  .acc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .acc-item__body { padding: 10px 10px 2px; }
  .acc-item__name { font-size: 12.5px; }
  .acc-item__acts { grid-template-columns: 1fr; padding: 8px 10px 10px; }
  .acc-act { height: 32px; font-size: 12px; }
  .acc-empty { grid-template-columns: auto minmax(0, 1fr); }
  .acc-empty .acc-link { grid-column: 1 / -1; }
  .acc-side { grid-template-columns: minmax(0, 1fr); }
  .acc-rcpt { grid-template-columns: auto minmax(0, 1fr) auto; }
  .acc-rcpt__dl { grid-column: 2 / -1; justify-self: start; }
  .acc-viewer__art { height: 200px; }
  .acc-me { padding: 0 10px 0 6px; height: 36px; }
  .acc-me__card { width: 28px; height: 18px; }
  .acc-me__card::before { left: 4px; top: 6px; width: 6px; height: 5px; }
  .acc-art__knob { width: 50%; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .acc-hero .acc-stage, html.js .acc-hero__text > *, html.js .acc-facts, .acc-use[open] { animation: none; }
}

/* カードに刻む名前を自分で変える（メイン追記 2026-09-27） */
.acc-who__edit {
  height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 12px; font-weight: 700; color: var(--text-2); letter-spacing: 0.04em;
  transition: border-color 0.3s, color 0.3s;
}
.acc-who__edit:hover, .acc-who__edit[aria-expanded="true"] { border-color: var(--orange); color: var(--text); }
.acc-name { margin-top: 14px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(255, 236, 214, 0.03); max-width: 520px; }
.acc-name[hidden] { display: none; }
.acc-name__label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--orange-2); margin-bottom: 10px; }
.acc-name__row { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-name__input {
  flex: 1 1 220px; min-width: 0; height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--ink); color: var(--text);
  font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase;
}
.acc-name__input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.acc-name__hint { margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--muted); }

/* 未ログイン（メイン追記 2026-09-27）: html[data-acct="guest"] のときは案内だけ */
html:not([data-acct="guest"]) [data-show="guest"] { display: none !important; }
html[data-acct="guest"] [data-show="lifetime"], html[data-acct="guest"] [data-show="member"] { display: none !important; }
html[data-acct="guest"] .acc-main > :not(.acc-guest) { display: none !important; }
.acc-guest { display: grid; justify-items: center; text-align: center; gap: 14px; min-height: calc(100vh - var(--nav-h)); align-content: center; padding: calc(var(--nav-h) + 40px) var(--gutter) 80px; }
.acc-guest__icon { width: 104px; margin-bottom: 14px; }
.acc-guest__title { font-size: clamp(30px, 5vw, 48px); }
.acc-guest__lead { color: var(--text-2); line-height: 1.9; }
.acc-guest__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.acc-guest__list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--muted); }
.acc-guest__list li::before { content: "✓ "; color: var(--orange); }
