.icon-button {
  min-width: 52px;
  min-height: 42px;
  padding: 6px 10px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  background: #fff;
  border: 1.5px solid var(--color-primary);
  border-radius: 8px;
}
.hero-section { padding: 4px 0 2px; text-align: center; }
.hero-kicker { margin-bottom: 10px; color: var(--color-secondary); font-size: 15px; font-weight: 800; }
.hero-title { max-width: 420px; margin: 0 auto 22px; color: var(--color-text); font-size: clamp(27px, 7.5vw, 34px); line-height: 1.45; letter-spacing: .015em; }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 24px; }
.feature-item { display: grid; min-width: 0; place-items: center; gap: 8px; padding: 12px 4px; color: var(--color-text); font-size: 13px; font-weight: 700; line-height: 1.35; }
.feature-icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--color-primary); border: 2px solid currentColor; border-radius: 50%; }
.feature-icon svg { width: 27px; height: 27px; stroke: currentColor; }
.inline-icon { display: inline-block; flex: 0 0 auto; width: 22px; height: 22px; stroke: currentColor; }
.home-actions { display: grid; gap: 10px; margin-top: 16px; }
.media-list { display: grid; gap: 10px; }
.media-item { display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; border: 1px solid var(--color-border); border-radius: 10px; }
.media-preview { width: 72px; height: 72px; object-fit: cover; background: #e7ece9; border-radius: 8px; }
.media-meta { min-width: 0; flex: 1; }
.media-meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-drop { text-align: center; border-style: dashed !important; border-width: 2px !important; }
.file-drop input { max-width: 100%; font-size: 16px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(152px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 32px); padding: 12px 18px; color: #fff; text-align: center; background: var(--color-secondary); border-radius: 8px; box-shadow: var(--shadow-card); transform: translateX(-50%); }
.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(13, 43, 69, .6); }
.modal { width: min(480px, 100%); max-height: 90dvh; padding: 22px; overflow: auto; background: #fff; border-radius: var(--radius-card); box-shadow: 0 16px 40px rgba(13,43,69,.2); }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.status { display: inline-block; padding: 4px 10px; color: var(--color-secondary); font-size: 14px; font-weight: 800; background: #edf2f5; border-radius: 999px; }
.tool-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-ready { padding: 14px; background: var(--color-success-bg); border: 1px solid var(--color-success); border-radius: var(--radius-input); }
.share-ready strong { display: block; margin-bottom: 5px; color: var(--color-primary); }
.qr-code-panel { display: grid; justify-items: center; gap: 14px; text-align: center; }
.qr-code-canvas { display: block; width: min(100%, 360px); height: auto; background: #fff; border: 10px solid #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(13,43,69,.15); image-rendering: pixelated; }
.qr-share-card { aspect-ratio: 3 / 4; object-fit: contain; image-rendering: auto; }
.qr-code-actions { width: 100%; justify-content: center; }
.share-guide { width: 100%; margin: 0; padding: 12px 14px; color: var(--color-text); text-align: left; background: #eef8f0; border: 1px solid #b8d9c0; border-radius: var(--radius-input); }
.line-share-button { background: #06c755; border-color: #06a947; }
.line-share-button:hover { background: #05b84e; }
.warning-text { color: var(--color-danger); font-weight: 800; }
.success-mark { display: grid; width: 64px; height: 64px; margin: 0 auto 16px; place-items: center; color: #fff; font-size: 34px; line-height: 1; background: var(--color-success); border-radius: 50%; }
.settings-nav { display: flex; gap: 8px; padding: 3px 3px 12px; overflow: auto; }
.settings-nav button { white-space: nowrap; }
details summary { color: var(--color-primary); font-weight: 800; cursor: pointer; }
details[open] summary { margin-bottom: 10px; }

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