[hidden]{display:none!important}
.is-hero{max-width:640px}
.is-card{padding:clamp(20px,4vw,28px)}
.is-card-heading{display:flex;flex-wrap:wrap-reverse;align-items:start;justify-content:space-between;gap:var(--space-3) var(--space-4);margin-bottom:var(--space-5)}
.is-limit{padding:var(--space-2) var(--space-2);background:var(--surface-muted);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--muted);font-size:var(--text-xs);font-weight:800;letter-spacing:.09em;white-space:nowrap;font-variant-numeric:tabular-nums}
form{display:grid;gap:var(--space-4);margin-top:var(--space-1)}
#dropzone{min-height:220px;display:grid;place-items:center;align-content:center;gap:var(--space-2);border:1px dashed var(--line);border-radius:var(--radius-lg);background:var(--surface-muted);cursor:pointer;text-align:center;transition:border-color .2s ease,background-color .2s ease}
#dropzone.over{border-color:var(--coral);background:var(--coral-tint-2)}@media(hover:hover){#dropzone:hover{border-color:var(--coral);background:var(--coral-tint-2)}}
#dropzone.loading{pointer-events:none;opacity:.55}
.dropzone-mark{display:grid;place-items:center;width:44px;height:44px;margin-bottom:var(--space-1);border-radius:50%;background:var(--coral-tint);color:var(--coral-dark)}
.dropzone-mark svg{width:20px}
#dropzone strong{font-size:var(--text-base);color:var(--text-strong)}
.dropzone-copy{color:var(--muted);font-size:var(--text-md)}
.formats{margin-top:2px;color:var(--muted-2);font-size:var(--text-xs);font-weight:800;letter-spacing:.1em}
.selected-file{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-muted)}
.image-preview{width:56px;height:56px;flex:none;overflow:hidden;border-radius:var(--radius-md);background:var(--line-soft)}
.image-preview img,.image-preview video{width:100%;height:100%;object-fit:cover}
.selected-file>div:nth-child(2){display:grid;gap:2px;min-width:0}
.selected-file strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-strong)}
.selected-file span{color:var(--muted);font-size:var(--text-sm);font-variant-numeric:tabular-nums}
.selected-file button{position:relative;display:grid;place-items:center;width:32px;height:32px;margin-left:auto;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--muted);font-size:var(--text-xl);cursor:pointer}

.expiry{display:grid;gap:var(--space-2);margin:0;padding:0;border:0}
.expiry legend{margin-bottom:var(--space-2);padding:0;color:var(--text-strong);font-size:var(--text-md);font-weight:600}
.choices{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.choice{display:inline-flex;align-items:center;gap:var(--space-2);min-height:44px;padding:0 var(--space-3);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);color:var(--text);font-size:var(--text-md);cursor:pointer}
.choice:has(input:checked){border-color:var(--coral);background:var(--coral-tint-2);color:var(--text-strong)}
.choice input{margin:0;accent-color:var(--coral)}

.upload-button{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 var(--space-2) 0 var(--space-4);border:0;border-radius:var(--radius-md);background:var(--coral);color:var(--on-coral);font:inherit;font-weight:700;text-decoration:none;cursor:pointer;transition:background-color .2s}
@media(hover:hover){.upload-button:hover{background:var(--coral-dark)}}
.upload-button b{display:grid;place-items:center;width:36px;height:36px;border-radius:var(--radius-sm);background:#ffffff2b;font-size:var(--text-lg)}
.upload-button:disabled{cursor:wait;opacity:.6}
.data-flow{margin:0;color:var(--muted);font-size:var(--text-sm);line-height:1.55}
.data-flow a,.share-cta a,.info-section a{color:var(--coral-dark);font-weight:600}
.progress-wrap{display:grid;gap:var(--space-2);margin-top:var(--space-4);color:var(--muted);font-size:var(--text-xs);font-weight:800;letter-spacing:.1em}
.progress-wrap progress{width:100%;height:6px;overflow:hidden;border:0;border-radius:99px;background:var(--line-soft);accent-color:var(--coral);appearance:none}
.progress-wrap progress::-webkit-progress-bar{background:var(--line-soft)}
.progress-wrap progress::-webkit-progress-value{background:var(--coral)}
.progress-wrap progress::-moz-progress-bar{background:var(--coral)}
.status{min-height:1.4rem;margin:var(--space-2) 0 0;color:var(--muted);font-size:var(--text-md);line-height:1.5}
.status.notice{color:var(--text)}
.status.success{color:var(--success)}
.status.error{color:var(--error)}

.result-card{display:grid;gap:var(--space-4)}
.result-card .is-card-heading{margin-bottom:var(--space-1)}
.result-card:focus{outline:none}
.link-field{display:grid;gap:var(--space-2)}
.link-field label{color:var(--text-strong);font-size:var(--text-sm);font-weight:600}
.link-field>div{display:flex;gap:var(--space-2)}
.link-field input{flex:1;min-width:0;min-height:44px;padding:0 var(--space-3);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text);font:inherit;font-size:var(--text-md);font-variant-numeric:tabular-nums}
.link-field .button{flex:none;min-height:44px}
.manage-box{display:grid;gap:var(--space-2);padding:var(--space-4);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-muted)}
.manage-box h3{margin:0;font-size:var(--text-base);color:var(--text-strong)}
.danger-button{justify-self:start;min-height:44px;padding:0 var(--space-4);border:1px solid var(--error);border-radius:var(--radius-md);background:var(--error);color:var(--paper);font:inherit;font-weight:700;cursor:pointer}
.danger-button:disabled{cursor:wait;opacity:.6}
#upload-another{justify-self:start}
.manage-card{display:grid;gap:var(--space-2);margin-bottom:var(--space-5)}
.manage-card h2{margin:0}
.manage-target{margin:0;overflow-wrap:anywhere;color:var(--text-strong);font-size:var(--text-md);font-variant-numeric:tabular-nums}

.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:var(--space-5);overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--line)}
.trust-grid div{padding:var(--space-4);background:var(--surface)}
.trust-grid span{color:var(--coral);font-size:var(--text-xs);font-weight:800;letter-spacing:.1em}
.trust-grid h3{margin:var(--space-2) 0 var(--space-2);font-size:var(--text-md);letter-spacing:-.02em;color:var(--text-strong)}
.trust-grid p,.fine-print{margin:0;color:var(--muted);font-size:var(--text-xs);line-height:1.55}
.fine-print{max-width:44rem}
main>.fine-print{margin:var(--space-4) var(--space-1) 0}

.info-section{margin-top:var(--space-8);max-width:44rem}
.info-section h2{margin:0 0 var(--space-2);font-size:var(--text-lg);color:var(--text-strong)}
.info-section p,.info-section li{color:var(--text);font-size:var(--text-md);line-height:1.6}
.info-section ul{margin:0 0 var(--space-3);padding-left:var(--space-5)}
.faq details{border-top:1px solid var(--line)}
.faq details:last-of-type{border-bottom:1px solid var(--line)}
.faq summary{display:flex;align-items:center;min-height:48px;padding:var(--space-2) 0;color:var(--text-strong);font-weight:600;cursor:pointer}
.faq details p{margin:0 0 var(--space-4)}

.share-view{display:grid;gap:var(--space-5)}
.share-figure{display:grid;place-items:center;aspect-ratio:4/3;max-height:70vh;margin:0;overflow:hidden;border-radius:var(--radius-lg);background:var(--surface-muted);border:1px solid var(--line)}
.share-figure img,.share-figure video{width:100%;height:100%;object-fit:contain}
.share-figure video{background:#000}
.share-meta h1{margin:var(--space-1) 0 var(--space-2);font-size:clamp(1.4rem,3vw,1.8rem)}
.share-facts{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-4);margin:0 0 var(--space-4);color:var(--muted);font-size:var(--text-sm);font-variant-numeric:tabular-nums}
.share-actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.share-actions .upload-button{gap:var(--space-4)}
.share-actions .button{min-height:52px}
.report-box{margin-top:var(--space-5);padding:0 var(--space-4);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface)}
.report-box summary{display:flex;align-items:center;min-height:48px;color:var(--text-strong);font-weight:600;cursor:pointer}
.report-box form{padding-bottom:var(--space-4)}
.report-box fieldset{display:grid;gap:var(--space-2);margin:0;padding:0;border:0}
.report-box legend{margin-bottom:var(--space-2);padding:0;color:var(--text);font-size:var(--text-md)}
.report-box .choice{min-height:40px}
.report-box .button{justify-self:start}
.share-cta{margin:var(--space-5) var(--space-1) 0;font-size:var(--text-md)}

@media(max-width:620px){
  .trust-grid{grid-template-columns:1fr}
  .trust-grid div{padding:var(--space-4)}
  .link-field>div{flex-direction:column}
  .link-field .button{align-self:start}
}

.breadcrumb{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:0 0 calc(var(--space-2) * -1);color:var(--muted);font-size:var(--text-sm)}
.breadcrumb a{color:var(--muted)}
.breadcrumb [aria-current]{color:var(--text-strong)}
.facts table{width:100%;border-collapse:collapse;margin:0 0 var(--space-2);font-size:var(--text-md)}
.facts th,.facts td{padding:var(--space-2) var(--space-3) var(--space-2) 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.facts th{width:40%;color:var(--muted);font-weight:600}
.facts td{color:var(--text-strong)}
.related ul{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:0;padding:0;list-style:none}
.related a{display:inline-flex;align-items:center;min-height:44px;padding:0 var(--space-4);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);color:var(--text-strong);font-size:var(--text-md);font-weight:600;text-decoration:none}
@media(hover:hover){.related a:hover{border-color:var(--coral)}}
.choice.is-disabled{opacity:.45;cursor:not-allowed}

.selected-file button::before{content:"";position:absolute;inset:-6px}
