/* Self-contained claim UI: no fonts, images, libraries or remote requests. */
.claim-main, .claim-demo {
  --claim-paper: #fffdf7;
  --claim-ink: #29231e;
  --claim-muted: #6a6056;
  --claim-line: #d8c9b3;
  --claim-red: #962c2f;
  --claim-green: #396751;
  --claim-serif: "Noto Serif CJK SC", "Noto Serif SC", "SimSun-ExtB", "SimSun", "STSong", serif;
  color: var(--claim-ink);
  font: 14px/1.55 var(--font-sans-cn, "Microsoft YaHei", sans-serif);
}
.claim-main *, .claim-demo * { box-sizing: border-box; }
.claim-main [hidden], .claim-demo [hidden] { display: none !important; }
.claim-main h1, .claim-main h2, .claim-main h3, .claim-demo h2, .claim-demo h3 { margin: 0; color: var(--claim-ink); }
.claim-main h1 { font: 700 clamp(22px, 3vw, 30px)/1.4 var(--claim-serif); }
.claim-main h2 { font-size: 20px; line-height: 1.4; }
.claim-main h3 { font-size: 15px; }
.claim-main p, .claim-demo p { margin: 0; }
.claim-main a, .claim-demo a { color: var(--claim-red); }
.claim-page .claim-page-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 40px; background: #fffdf7; border-bottom: 2px solid #bd9b69; }
.claim-brand { display: flex; flex-direction: column; text-decoration: none; color: #29231e; }
.claim-brand strong { font: 700 24px/1.4 "SimSun-ExtB", "SimSun", serif; }
.claim-brand small { color: #6a6056; font-size: 13px; }
.claim-header-home { color: #6a6056; font-size: 13px; }
.claim-main { position: relative; width: min(100% - 40px, 1050px); margin: 32px auto 48px; }
.claim-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.claim-mode-actions, .claim-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.claim-mode-actions { justify-content: flex-end; }
.claim-label { display: inline-block; color: var(--claim-red); font-size: 12px; font-weight: 700; letter-spacing: .035em; }
.claim-eyebrow { color: var(--claim-muted); font-size: 12px; letter-spacing: .08em; }
.claim-muted { color: var(--claim-muted); font-size: 13px; overflow-wrap: anywhere; }
.claim-notice { padding: 12px 16px; background: #f1e7d5; border-left: 3px solid #a9804c; font-size: 13px; line-height: 1.6; }
.claim-warning { padding: 12px 16px; margin: 12px 0 !important; color: #82262b; background: #fff2ee; border: 1px solid #d7a59b; border-radius: 6px; overflow-wrap: anywhere; }
.claim-status { min-height: 24px; margin: 12px 0 !important; color: var(--claim-green); font-size: 13px; overflow-wrap: anywhere; }
.claim-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 9px 16px; border: 1px solid var(--claim-red, #962c2f); border-radius: 5px; color: #fffdf7 !important; background: var(--claim-red, #962c2f); font: 500 13px/1.4 var(--font-sans-cn, "Microsoft YaHei", sans-serif); text-decoration: none; cursor: pointer; transition: background .18s, box-shadow .18s; }
.claim-button:hover:not(:disabled) { background: #792023; box-shadow: 0 2px 6px #291e1518; }
.claim-button--quiet { background: var(--claim-paper, #fffdf7); color: var(--claim-ink, #29231e) !important; border-color: var(--claim-line, #d8c9b3); }
.claim-button--quiet:hover:not(:disabled) { background: #f2e8d8; }
.claim-button:disabled { opacity: .5; cursor: not-allowed; }
.claim-main :focus-visible, .claim-demo :focus-visible { outline: 3px solid #3a766e; outline-offset: 3px; }
.claim-main :is(input[type=search], input[type=email], input[type=text]) { width: 100%; min-width: 0; min-height: 42px; border: 1px solid #b9a58c; border-radius: 5px; background: #fffefa; color: var(--claim-ink); padding: 10px 12px; font: inherit; }
.claim-main input:disabled { opacity: .65; cursor: not-allowed; }
.claim-main input[type=checkbox], .claim-main input[type=radio] { width: 16px; height: 16px; accent-color: var(--claim-red); flex: 0 0 16px; }
.claim-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 18px; padding: 0; }
.claim-steps li { border-bottom: 2px solid var(--claim-line); color: var(--claim-muted); padding: 8px 0; }
.claim-steps li[aria-current=step] { color: var(--claim-red); border-color: var(--claim-red); font-weight: 700; }
.claim-steps span { margin-right: 8px; font-family: monospace; }
.claim-profile { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border: 1px solid var(--claim-line); background: #f7f0e5; border-radius: 6px; }
.claim-profile h2 { font-size: 16px; }
.claim-profile > div { min-width: 0; }
.claim-panel { padding: 24px; background: var(--claim-paper); border: 1px solid var(--claim-line); border-radius: 9px; box-shadow: 0 5px 25px #402b1609; }
.claim-panel > h2 + p { margin-top: 8px; }
.claim-search-form { display: grid; gap: 8px; margin: 20px 0; }
.claim-search-form label, .claim-form > label { font-weight: 600; }
.claim-input-row { display: flex; align-items: stretch; gap: 8px; }
.claim-input-row .claim-button { flex: 0 0 auto; }
.claim-candidates { display: grid; gap: 12px; }
.claim-candidate { padding: 16px; border: 1px solid var(--claim-line); border-radius: 6px; display: grid; gap: 7px; }
.claim-candidate .claim-button { justify-self: start; margin-top: 3px; }
.claim-candidate--proposed { border-color: #b78347; box-shadow: inset 3px 0 #b78347; }
.claim-works-list { display: grid; gap: 18px; margin: 24px 0; }
.claim-work { min-width: 0; padding: 12px 16px 16px; border: 1px solid var(--claim-line); border-radius: 6px; }
.claim-work legend { padding: 0 6px; font-weight: 700; overflow-wrap: anywhere; }
.claim-work p + p { margin-top: 4px; }
.claim-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.claim-choice { display: flex; align-items: center; gap: 7px; padding: 8px 10px; background: #f6f1e7; border: 1px solid var(--claim-line); border-radius: 5px; cursor: pointer; font-size: 13px; }
.claim-choice:has(input:checked) { border-color: var(--claim-red); background: #f8e9e3; }
.claim-mono { font-family: Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; }
.claim-verify-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 24px; }
.claim-form { display: grid; gap: 9px; margin-bottom: 18px; }
.claim-form > .claim-button { justify-self: start; }
.claim-scope { padding: 20px; background: #f6f0e5; border-radius: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.claim-ack { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; cursor: pointer; }
.claim-ack input { margin-top: 3px; }
.claim-inbox { margin: 16px 0; padding: 14px; background: #edf5ee; border: 1px dashed #75977e; border-radius: 5px; overflow-wrap: anywhere; }
.claim-code-digits { color: #22583d; font: 700 24px/1.8 Consolas, monospace; letter-spacing: .16em; white-space: nowrap; }
.claim-certificate-paper { position: relative; max-width: 690px; margin: 0 auto 24px; padding: 28px; background: #fffdf4; border: 2px solid #ba975d; box-shadow: inset 0 0 0 5px #fffdf4, inset 0 0 0 6px #d8c3a0; display: grid; gap: 9px; }
.claim-certificate-title { font: 700 32px/1.4 var(--claim-serif) !important; letter-spacing: .12em; color: var(--claim-red) !important; }
.claim-certificate-works { margin: 8px 0; padding-left: 20px; }
.claim-certificate-works li { padding: 4px 0; overflow-wrap: anywhere; }
.claim-stamp { position: relative; width: 100px; height: 108px; display: grid; place-items: center; margin: 10px 0 4px auto; isolation: isolate; }
.claim-seal { position: relative; z-index: 1; display: block; width: 76px; padding: 7px; border: 3px double currentColor; border-radius: 3px; background: #fff9eecc; color: #a22c30; font: 700 25px/1.15 var(--claim-serif); text-align: center; overflow-wrap: anywhere; word-break: break-all; letter-spacing: .12em; transform: rotate(-7deg); animation: claim-stamp-drop 1s cubic-bezier(.3,.02,.63,1) both; }
.claim-ink { position: absolute; width: 76px; height: 76px; border-radius: 38%; box-shadow: 0 0 14px 3px #ad252521; border: 1px solid #ae343453; background: radial-gradient(ellipse, #c44c3623 0%, #af281b0a 58%, transparent 75%); animation: claim-ink-spread 1.1s .55s both; }
.claim-page-footer { position: relative; padding: 18px; text-align: center; color: #6a6056; border-top: 1px solid #d8c9b3; font-size: 12px; }
.claim-sr { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; margin: -1px !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* The dialog is a viewport, not a scrolling page. Each frame is one small scene. */
html.claim-demo-open, html.claim-demo-open body { overflow: hidden; overscroll-behavior: none; }
dialog.claim-demo { position: fixed; inset: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: #f5efe4; overflow: hidden; }
dialog.claim-demo:not([open]) { display: none; }
dialog.claim-demo::backdrop { background: #1e171bea; }
.claim-demo-shell { height: 100%; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; padding: max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); gap: 10px; }
.claim-demo-head { display: flex; align-items: center; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--claim-line); }
.claim-demo-head h2 { font: 700 18px/1.4 var(--claim-serif); }
.claim-demo-head > .claim-button { min-width: 52px; }
.claim-demo-brand { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; padding-right: 14px; border-right: 1px solid var(--claim-line); color: var(--claim-ink) !important; text-decoration: none; }
.claim-demo-logo { display: grid; place-content: center; width: 42px; height: 42px; border-radius: 5px; background: linear-gradient(135deg, #b5313a, #861c23); box-shadow: inset 0 0 0 3px #861c23, inset 0 0 0 4.5px #fffdf7d9, 0 3px 8px #8b1d2430; color: #fffdf7; font: 700 14px/1.08 var(--claim-serif); letter-spacing: .06em; text-align: center; transform: rotate(-4deg); }
.claim-demo-logo > span { display: block; }
.claim-demo-wordmark { display: grid; line-height: 1.2; }
.claim-demo-wordmark strong { font: 700 17px/1.25 var(--claim-serif); letter-spacing: .1em; }
.claim-demo-wordmark small { color: var(--claim-muted); font-size: 11px; letter-spacing: .03em; }
.claim-demo-nav { display: flex; gap: 6px; margin-left: auto; }
.claim-demo-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 5px 13px; border: 1px solid #c9b899; border-radius: 999px; background: #fffdf7; color: var(--claim-ink) !important; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .18s, border-color .18s; }
.claim-demo-chip:hover { background: #f2e8d8; border-color: var(--claim-red); }
.claim-demo-chip::before { content: ''; width: 15px; height: 15px; flex: 0 0 15px; background: no-repeat center / contain; }
.claim-demo-chip[data-icon=scholar]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23962c2f' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='8' r='4'/%3E%3Cpath d='M3 21v-1a7 7 0 0 1 10-6.3'/%3E%3Ccircle cx='17' cy='17' r='3'/%3E%3Cpath d='m19.2 19.2 2.3 2.3'/%3E%3C/svg%3E"); }
.claim-demo-chip[data-icon=paper]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23962c2f' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 3h9l5 5v13H5z'/%3E%3Cpath d='M14 3v5h5M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.claim-demo-steps { display: flex; justify-content: center; gap: clamp(14px, 5vw, 80px); padding: 0; margin: 0; list-style: none; font-size: 13px; color: var(--claim-muted); }
.claim-demo-steps li { padding: 3px 0 6px; border-bottom: 2px solid transparent; }
.claim-demo-steps li[aria-current=step] { color: var(--claim-red); border-color: var(--claim-red); font-weight: 700; }
dialog.claim-demo .claim-demo-stage { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; position: relative; width: 100%; max-width: none; min-width: 0; min-height: 0; margin: 0; padding: 6px 10px !important; overflow: visible; }
.claim-demo-fit { grid-area: 1 / 1; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(20px, 4vw, 64px); width: min(100%, 980px); min-width: 0; transform: scale(var(--claim-scene-scale, 1)); transform-origin: center; }
.claim-demo-copy { display: grid; align-content: center; gap: 16px; min-width: 0; }
.claim-demo-copy h3 { font: 700 clamp(23px, 3vw, 34px)/1.35 var(--claim-serif); }
.claim-demo-copy > p { font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.claim-demo-copy > .claim-eyebrow { color: var(--claim-red); font-size: 12px; }
.claim-demo-copy > .claim-demo-material { padding: 10px 12px; border-left: 2px solid #b99967; background: #eae0cc80; font-size: 13px; }
.claim-demo-art { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; min-width: 0; padding: 24px; background: #fffdf7; border: 1px solid #c9b899; border-radius: 8px; box-shadow: 0 12px 36px #3926190b; animation: claim-scene-in .4s ease-out both; }
.claim-demo-art h3 { font: 700 20px/1.5 var(--claim-serif); }
.claim-demo-art > .claim-button { align-self: flex-start; }
.claim-demo-field { padding: 12px; border: 1px solid #b7a486; border-radius: 5px; background: #fffcf4; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.claim-demo-field > span { color: var(--claim-muted); font-size: 13px; }
.claim-demo-domain { overflow-wrap: anywhere; font-size: 13px; }
.claim-demo-note { color: var(--claim-muted); font-size: 13px; overflow-wrap: anywhere; }
.claim-demo-mini-card { padding: 12px; background: #f9f2e6; border: 1px solid #b99361; border-radius: 5px; display: grid; gap: 5px; }
.claim-demo-other { color: var(--claim-muted); border: 1px dashed #d8c9b3; padding: 9px; border-radius: 4px; font-size: 13px; }
.claim-demo-options { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.claim-demo-options .claim-button { padding-inline: 10px; }
.claim-demo-choice { display: inline-flex; align-items: center; padding: 8px 10px; min-height: 37px; border: 1px solid #d8c9b3; border-radius: 5px; font-size: 13px; color: var(--claim-muted); }
/* A real arrow mouse pointer glides in, clicks, and leaves a ripple at its tip. */
.claim-demo-target { position: relative; overflow: visible; animation: claim-target-press 1.5s .3s both; }
.claim-demo-target::after { content: ''; position: absolute; left: 64%; top: 46%; z-index: 2; width: 32px; height: 32px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2.5v16.8l4.3-4 2.8 6.4 2.9-1.3-2.8-6.3h5.9z' fill='%23fff' stroke='%2329231e' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; filter: drop-shadow(0 2px 2px #0006); transform-origin: 7px 3px; animation: claim-pointer-move 1.5s .3s both; pointer-events: none; }
.claim-demo-target::before { content: ''; position: absolute; left: calc(64% - 11px); top: calc(46% - 15px); z-index: 1; width: 36px; height: 36px; border: 2px solid #fffdf7; border-radius: 50%; background: #c8a06555; box-shadow: 0 0 0 2px #a67c4280; opacity: 0; animation: claim-pointer-ripple 1.5s .3s both; pointer-events: none; }
.claim-type { background-image: linear-gradient(#b18a52, #b18a52); background-repeat: no-repeat; background-position: left bottom; background-size: 100% 2px; animation: claim-type-line 1.1s steps(6) both; }
.claim-demo-match { animation: claim-match 1.2s .2s both; }
.claim-demo-mail { align-self: center; padding: 12px 18px; background: #f4e6cb; border: 1px solid #be9e65; border-radius: 3px; font-size: 13px; animation: claim-mail-send 1.2s .3s both; }
.claim-demo-code { font: 700 38px/1.5 Consolas, monospace; letter-spacing: .22em; color: #396751; align-self: flex-start; }
.claim-demo-check { padding: 10px; color: #315b47; background: #eaf2e9; border-left: 3px solid #5a8165; font-size: 13px; animation: claim-match .9s .15s both; }
.claim-demo-paper { border: 2px solid #b5925e; border-radius: 0; box-shadow: inset 0 0 0 4px #fffdf7, inset 0 0 0 5px #d8c3a0, 0 12px 32px #3926190b; gap: 8px; padding-right: 116px; min-height: 215px; }
.claim-demo-paper .claim-stamp { position: absolute; right: 12px; top: 50%; transform: translateY(-35%); margin: 0; }
.claim-demo-paper .claim-certificate-title { font-size: 26px !important; white-space: nowrap; }
.claim-demo-foot { display: grid; justify-content: stretch; align-items: normal; gap: 10px; width: 100%; margin: 0; padding: 0; border: 0; color: inherit; font: inherit; }
.claim-demo-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.claim-demo-controls .claim-button { min-height: 38px; padding: 8px 14px; }
.claim-demo-position { font: 12px/1.4 Consolas, monospace; color: var(--claim-muted); min-width: 42px; text-align: center; }
.claim-demo-disclaimer { text-align: center; font-size: 12px; color: var(--claim-muted); line-height: 1.5; overflow-wrap: anywhere; }
.claim-demo-progress { height: 2px; width: min(100%, 980px); margin: 0 auto; background: #dccbb1; }
.claim-demo-progress > span { display: block; width: 100%; height: 100%; transform-origin: left; background: #9d4b42; animation: claim-progress var(--claim-frame-duration, 7500ms) linear both; }
.claim-demo[data-playing=false] .claim-demo-progress > span { animation-play-state: paused; }
.claim-demo[data-motion-paused=true] :is(.claim-demo-art, .claim-type, .claim-demo-match, .claim-demo-target, .claim-demo-mail, .claim-demo-check, .claim-seal, .claim-ink), .claim-demo[data-motion-paused=true] .claim-demo-target::after, .claim-demo[data-motion-paused=true] .claim-demo-target::before { animation-play-state: paused; }

@keyframes claim-scene-in { from { opacity: .65; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes claim-type-line { from { background-size: 0% 2px; } to { background-size: 100% 2px; } }
@keyframes claim-match { 0% { box-shadow: 0 0 0 0 #9a343100; } 55% { box-shadow: 0 0 0 4px #9a343126; } 100% { box-shadow: 0 0 0 1px #9a343138; } }
@keyframes claim-target-press { 0%, 52%, 100% { transform: scale(1); } 62% { transform: scale(.96); background: #712126; } }
@keyframes claim-pointer-move { 0% { opacity: 0; transform: translate(54px, 40px); } 12% { opacity: 1; } 50% { transform: translate(0, 0) scale(1); } 60% { transform: translate(0, 0) scale(.8); } 72%, 100% { opacity: 1; transform: translate(0, 0) scale(1); } }
@keyframes claim-pointer-ripple { 0%, 56% { opacity: 0; transform: scale(.3); } 64% { opacity: 1; } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes claim-mail-send { from { opacity: .3; transform: translateX(-10px) rotate(-2deg); } to { opacity: 1; transform: translateX(0) rotate(0); } }
@keyframes claim-stamp-drop { 0% { opacity: 0; transform: translateY(-26px) scale(1.17) rotate(-11deg); } 30% { opacity: 1; } 58% { transform: translateY(2px) scale(.94) rotate(-7deg); } 72% { transform: translateY(-3px) scale(1.01) rotate(-7deg); } 100% { opacity: 1; transform: translateY(0) scale(1) rotate(-7deg); } }
@keyframes claim-ink-spread { 0% { opacity: 0; transform: scale(.7); } 45% { opacity: .85; } 100% { opacity: .65; transform: scale(1.12); } }
@keyframes claim-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 700px) {
  .claim-main { width: min(100% - 24px, 1050px); margin-top: 22px; }
  .claim-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .claim-mode-actions { justify-content: flex-start; }
  .claim-verify-grid { grid-template-columns: 1fr; gap: 14px; }
  .claim-panel { padding: 18px; }
  .claim-profile { align-items: flex-start; flex-direction: column; }
  .claim-steps { gap: 8px; font-size: 13px; }
  .claim-steps span { margin-right: 4px; }
}
@media (max-width: 640px) {
  .claim-demo-shell { padding: max(10px, env(safe-area-inset-top)) 14px max(10px, env(safe-area-inset-bottom)); gap: 8px; }
  .claim-demo-head { gap: 10px; padding-bottom: 8px; flex-wrap: wrap; }
  .claim-demo-head h2 { font-size: 16px; }
  .claim-demo-head .claim-label { font-size: 11px; }
  .claim-demo-head > .claim-button { min-height: 32px; padding: 5px 10px; margin-left: auto; }
  .claim-demo-brand { padding-right: 0; border-right: 0; gap: 7px; }
  .claim-demo-logo { width: 34px; height: 34px; font-size: 11px; }
  .claim-demo-wordmark { display: none; }
  .claim-demo-nav { order: 5; flex-basis: 100%; margin-left: 0; }
  .claim-demo-chip { min-height: 30px; padding: 4px 11px; font-size: 12px; }
  .claim-demo-steps { gap: 14px; font-size: 12px; }
  .claim-demo-fit { grid-template-columns: 1fr; gap: 18px; width: min(100%, 430px); }
  .claim-demo-copy { gap: 9px; }
  .claim-demo-copy h3 { font-size: 25px; }
  .claim-demo-copy > p { font-size: 14px; line-height: 1.5; }
  .claim-demo-copy > .claim-eyebrow { font-size: 12px; }
  .claim-demo-copy > .claim-demo-material { font-size: 13px; padding: 8px 10px; }
  .claim-demo-art { padding: 18px; gap: 12px; }
  .claim-demo-paper { min-height: 200px; padding-right: 102px; }
  .claim-demo-paper .claim-certificate-title { font-size: 24px !important; }
  .claim-demo-paper .claim-stamp { right: 2px; }
  .claim-demo-controls { gap: 6px; }
  .claim-demo-controls .claim-button { padding: 7px 9px; min-height: 36px; font-size: 13px; }
  .claim-demo-position { min-width: 35px; }
  .claim-demo-foot { gap: 8px; }
}
/* Short desktops / landscape phones keep two columns, not clipped stacked scenes. */
@media (max-height: 540px) and (min-width: 641px) {
  .claim-demo-shell { padding-block: 8px; gap: 5px; }
  .claim-demo-head { padding-bottom: 5px; }
  .claim-demo-head h2 { font-size: 16px; }
  .claim-demo-head > .claim-button { min-height: 29px; padding: 4px 12px; }
  .claim-demo-logo { width: 30px; height: 30px; font-size: 10px; }
  .claim-demo-wordmark small { display: none; }
  .claim-demo-chip { min-height: 28px; padding: 3px 10px; }
  .claim-demo-steps li { padding: 1px 0 3px; }
  .claim-demo-fit { gap: 26px; max-width: 1100px; }
  .claim-demo-copy { gap: 7px; }
  .claim-demo-copy h3 { font-size: 22px; }
  .claim-demo-copy > p { font-size: 13px; line-height: 1.45; }
  .claim-demo-copy > .claim-eyebrow { font-size: 11px; }
  .claim-demo-copy > .claim-demo-material { padding: 6px 9px; font-size: 13px; }
  .claim-demo-art { padding: 12px 16px; gap: 7px; }
  .claim-demo-art h3 { font-size: 17px; }
  .claim-demo-art .claim-button, .claim-demo-choice { min-height: 30px; padding: 5px 10px; }
  .claim-demo-field, .claim-demo-mini-card { padding: 7px 10px; }
  .claim-demo-other { padding: 6px 10px; }
  .claim-demo-mail, .claim-demo-check { padding: 7px 10px; }
  .claim-demo-code { font-size: 28px; }
  .claim-demo-paper { min-height: 145px; padding-right: 110px; }
  .claim-demo-paper .claim-certificate-title { font-size: 23px !important; }
  .claim-demo-controls .claim-button { min-height: 30px; padding: 5px 12px; }
  .claim-demo-foot { gap: 5px; }
}
@media (max-height: 540px) and (min-width: 480px) and (max-width: 640px) {
  .claim-demo-fit { grid-template-columns: 1fr 1.1fr; width: 100%; gap: 16px; }
  .claim-demo-copy { gap: 6px; }
  .claim-demo-copy h3 { font-size: 20px; }
  .claim-demo-copy > p { font-size: 13px; line-height: 1.4; }
  .claim-demo-art { padding: 10px; gap: 7px; }
  .claim-demo-art h3 { font-size: 16px; }
  .claim-demo-field, .claim-demo-mini-card { padding: 7px; }
  .claim-demo-paper { padding-right: 10px; padding-bottom: 84px; }
  .claim-demo-paper .claim-stamp { top: auto; right: 4px; bottom: -3px; transform: scale(.72); transform-origin: bottom right; }
  .claim-demo-head { padding-bottom: 4px; }
  .claim-demo-shell, .claim-demo-foot { gap: 4px; }
}
@media (max-width: 380px) {
  .claim-panel { padding: 14px; }
  .claim-choices { gap: 6px; }
  .claim-choice { padding: 7px; }
  .claim-input-row { flex-wrap: wrap; }
  .claim-input-row .claim-button { width: 100%; }
  .claim-demo-shell { padding-inline: 9px; }
  .claim-demo-head { column-gap: 6px; }
  .claim-demo-head h2 { font-size: 15px; }
  .claim-demo-controls .claim-button { padding-inline: 6px; }
  .claim-demo-position { flex-basis: 100%; }
  .claim-demo-paper { padding-right: 83px; }
  .claim-demo-paper .claim-certificate-title { font-size: 21px !important; }
  .claim-demo-paper .claim-stamp { right: -5px; transform: translateY(-35%) scale(.85); }
}
