/* Public-page presentation. Keep data, validation, routing and hidden states intact. */
@media screen {
 .page-head { padding-block: 32px; background: linear-gradient(115deg,var(--hero-bg),var(--page)); }
 .page-head .h-page { max-width: 30ch; line-height: 1.16; text-wrap: balance; }
 .page-head .h-page:lang(hi) { line-height: 1.4; }
 .page-head .lede { max-width: 68ch; line-height: 1.65; }
 main :is(.panel,.list-box,.verdict,.trows,.rail-card,.sheet) { box-shadow: none; border-radius: 14px; }
 main :is(.panel,.list-box,.verdict,.sheet) { border-color: var(--rule); }
 .page-grid { gap: 32px; }
 .page-aside .panel { padding: 20px; }
 .tools-page .trows a { padding: 20px; gap: 16px; }
 .tools-page .trows a:hover { background: var(--raised); }
 .tools-page .trows b { font-size: 1rem; }
 .tools-page .trows small { line-height: 1.6; }
 .search :is(.search-field,button), .dob input, .pt select,
 .pt input[type="number"], .pt input[type="text"], .opt span { border-radius: 10px; }
 .search button { min-height: 48px; background: var(--brand-fill); color: var(--on-brand); box-shadow: none; }
 .search button:hover { background: var(--brand-fill-2); transform: none; box-shadow: none; }
 .verify-search { align-items: flex-end; gap: 12px; }
 .verify-search .search-field { flex: 1; min-width: 0; }
 .verify-search button { align-self: flex-end; }
 .verify-search textarea { font-size: 1rem; line-height: 1.6; }
 .empty-art-box { border-style: solid; padding: 32px 24px; }
 .empty-art-box .empty-h { line-height: 1.35; }
 .empty-art-box > p { max-width: 48ch; margin-inline: auto; }
 .pub-states { gap: 0 32px; }
 .pub-states li { padding-block: 12px; }
 .pub-states .st-count { font-variant-numeric: tabular-nums; }
 .prose { line-height: 1.75; }
 .prose :is(p,li) { overflow-wrap: anywhere; }
 .pt-drop { border-radius: 12px; background: var(--raised); }
 .pt-spec, .age-out { border-radius: 10px; }
 .pt-form .private { line-height: 1.6; }
 .opt span { min-height: 48px; }
 .setup-act { gap: 12px; }
 .setup-hint, .setup-fine { line-height: 1.6; }
 .sr-pill { white-space: normal; overflow: visible; }
 main :is(.search button,.ghost):focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
 @media (min-width:760px) and (max-width:1023px) {
  .page-head { padding-block: 28px; }
  .pt { gap: 20px; }
 }
 @media (max-width:759px) {
  .page-head { padding-block: 24px; }
  .page-head .h-page { font-size: clamp(1.625rem,6.8vw,2rem); max-width: 26ch; }
  .page-head .lede { font-size: .9375rem; margin-top: 10px; }
  .page-grid { gap: 20px; }
  .tools-page .trows a { padding: 16px; gap: 12px; }
  .empty-art-box { padding: 24px 16px; }
  .verify-search { flex-wrap: wrap; }
  .verify-search .search-field { flex-basis: 100%; }
  .verify-search button { width: 100%; }
  .pt-form.panel, .age-form.panel { padding: 18px; }
  .opt span { padding: 12px; }
  .sr-jump-in { padding-block: 8px; }
 }
 @media (max-width:359px) {
  .page-head .h-page { font-size: 1.625rem; }
  .dob { gap: 8px; }
  .dob input { padding-inline: 8px; }
  .pt-form.panel, .age-form.panel { padding: 16px; }
 }
 @media (prefers-reduced-motion:reduce) {
  .search button, .opt span, .trows a { transition: none; }
 }
}

/* Keep brand and utilities on one row at 320px, including the longer English switch. */
@media screen and (max-width:359px) {
 .top .brand { gap: 5px; }
 .top .brand .logo { width: 24px; height: 24px; }
 .top .brand-name { font-size: .875rem; }
 .top .top-act { gap: 2px; }
 .top .me-btn, .top .srch-btn { min-width: 44px; width: 44px; }
 .top .lang-switch { padding-inline: 5px; font-size: .8125rem; }
}
.empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.empty-actions .btn { min-height: 44px; }
