.tabbar, .buybar { display: none; }
.button.disabled { opacity: .55; pointer-events: none; }

@media (max-width: 860px) {
  .detail { align-items: stretch; }
}

@media (max-width: 700px) {
  input, textarea, select { font-size: 16px; }
  body.shop { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.shop:has(.buybar) { padding-bottom: calc(132px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; color: var(--soft); text-decoration: none; font-size: .68rem; font-weight: 600; border-radius: 10px; }
  .tabbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.on { color: var(--brand-dark); }
  .tabbar a.on svg { stroke-width: 2.2; }
  .buybar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 29; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(70, 40, 120, .08); padding: 10px 14px; }
  .buybar-info { display: flex; flex-direction: column; line-height: 1.2; }
  .buybar-info small { font-size: .74rem; }
  .buybar .price { font-size: 1.25rem; }
  .buybar .button { padding: 12px 22px; border-radius: 999px; white-space: nowrap; }
  .buybar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .media-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .media-actions .button.primary { display: none; }
  .media-actions > * { width: 100%; }
  .stage { width: 100%; }
  .back { margin-bottom: 10px; }
  .hero { padding: 22px 18px 20px; gap: 14px; }
  .hero-badge { order: -1; justify-items: start; }
  .hero-logo { width: 88px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 0 30px rgba(168, 85, 247, .6); animation: none; }
  .hero-tags { display: none; }
  .hero h1 { font-size: 2.3rem; margin-bottom: 2px; }
  .hero-sub { font-size: .95rem; letter-spacing: .1em; margin-bottom: 8px; }
  .tagline { font-size: .9rem; margin-bottom: 16px; }
  .hero::after { top: 22px; right: 18px; }
  .colophon { padding: 32px 0 24px; }
  .masthead .actions .button.small { padding: 7px 12px; }
  .ticket h1 { font-size: 1.15rem; }
  .progress li { font-size: .7rem; }
  .bank dd { gap: 6px; }
  .bank .mono dd span { font-size: .98rem; }
}

@media (max-width: 700px) {
  .tier-tabs { grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
  .tier-tabs a { flex-direction: row; justify-content: center; align-items: center; gap: 4px; padding: 9px 4px; border: 0; border-radius: 999px; background: none; box-shadow: none; }
  .tier-tabs a:hover { transform: none; box-shadow: none; }
  .tier-tabs .tt-icon, .tier-tabs small { display: none; }
  .tier-tabs b { font-size: .92rem; }
  .tier-tabs em { margin: 0; font-size: .78rem; font-weight: 700; }
  .tier-tabs a.on, .tier-tabs a.premium.on, .tier-tabs a.basic.on { background: var(--brand); border: 0; box-shadow: 0 4px 12px rgba(139, 63, 224, .3); }
  .tier-tabs a.on b, .tier-tabs a.on em { color: #fff; }
  .finder { gap: 6px; }
  .result-count { margin: 2px 0 10px; }
}
