.delivery-preview { max-width: 1096px; margin: 0 auto; padding: 10px 0 0; color: #697079; font-size: 11px; letter-spacing: .5px; }
.session-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid #c8cbc7; padding: 12px 16px; margin-bottom: 20px; background: #fffdf6; font-size: 12px; line-height: 1.8; }
.text-link { cursor: pointer; border: 0; background: none; padding: 6px 0; color: #637964; font: inherit; text-decoration: underline; text-underline-offset: 4px; }
.session-bar .text-link { flex-shrink: 0; }
.code-form { max-width: 340px; display: grid; gap: 10px; margin-top: 10px; }
.code-form label { color: #172638; font-size: 13px; font-weight: 650; }
.code-form input { width: 100%; min-width: 0; padding: 14px; border: 1px solid #9ba79f; border-radius: 2px; background: #fff; font: 16px Arial, sans-serif; letter-spacing: 1px; color: #172638; }
.code-form input:focus-visible { outline: 3px solid #637964; outline-offset: 3px; }
.code-form .code-note { color: #697079; font-size: 11px; line-height: 1.9; margin: 0; }
.delivery-message { color: #637964; line-height: 1.9; font-size: 13px; overflow-wrap: anywhere; }
.delivery-message:empty { display: none; }
.delivery-message.is-error { color: #a73c25; }
.notice { border-left: 3px solid #bc9b62; background: #ece8dc; padding: 12px 16px; color: #56616c; line-height: 1.9; font-size: 12px; margin: 0 0 20px; }
.history-section { margin: 34px 0; }
.history-list { border-top: 1px solid #c8cbc7; }
.history-item { width: 100%; display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 19px 16px; border: 0; border-bottom: 1px solid #c8cbc7; background: #fffdf6; color: #172638; text-align: left; cursor: pointer; font: inherit; }
.history-item:hover { background: #ece8dc; }
.history-item strong { display: block; font-size: 17px; }
.history-item small { display: block; font-size: 11px; color: #697079; margin-top: 4px; }
.history-item > span:last-child { flex-shrink: 0; color: #637964; font-size: 12px; }
.delivery-review { max-width: 760px; padding: 44px; margin: 30px auto 80px; border: 1px solid #c8cbc7; border-top: 4px solid #172638; background: #fffdf6; }
.delivery-review h1 { font-family: "Kaiti SC", "STKaiti", serif; font-size: clamp(28px, 5vw, 40px); margin: 20px 0; }
.delivery-review > p { line-height: 2; color: #697079; }
.copy-confirm { margin: 20px 0; padding: 20px; background: #ece8dc; border: 1px solid #bc9b62; line-height: 1.9; }
.copy-confirm[hidden] { display: none; }
.copy-confirm .btn { margin: 8px 10px 0 0; }
.review-link { display: block; margin: 18px auto 0; }
.options .option:disabled { opacity: 1; cursor: default; }
.btn:disabled, .history-item:disabled { cursor: default; opacity: .55; }
.admin-link { font-size: 11px; flex-shrink: 0; }
.error-card p { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .delivery-preview { padding: 10px 20px 0; font-size: 10px; }
  .session-bar { align-items: flex-start; padding: 10px 12px; gap: 10px; font-size: 11px; }
  .code-form { max-width: 100%; }
  .delivery-review { margin-top: 12px; padding: 25px 20px; }
  .history-item { padding: 16px 12px; gap: 10px; }
  .history-item > span:last-child { font-size: 11px; }
  body[data-theme="ninja"] .comic-cover .hero-copy { padding-bottom: 26px; }
  body[data-theme="ninja"] .result-actions { gap: 10px; }
  .result-actions .btn { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.card-download a,.card-download button{border:0;background:transparent;color:inherit;font-size:13px;letter-spacing:normal;padding:7px 9px;min-height:40px;text-decoration:underline;text-underline-offset:4px}.card-download a{display:inline-flex;align-items:center}.card-download p{font-size:11px;line-height:1.8;color:inherit;letter-spacing:normal;overflow-wrap:anywhere}.share-url{display:block;width:100%;padding:10px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit}.hero-illustration picture{display:block;width:100%}
