/* Readable phone layout: full-width copy, one-column results, larger controls. */
@media (max-width:600px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 32px); }
  .header { height: auto; min-height: 130px; padding: 18px 0 10px; gap: 13px; }
  .header .brand { gap: 9px; }
  .header .brand-en { font-size: clamp(26px,7.4vw,34px); letter-spacing: .03em; }
  .header .brand-jp { font-size: 10px; }
  .header nav { grid-column: 1/-1; width: 100%; justify-content: space-between; font-size: 12px; gap: 8px; }
  .header nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 0; }
  .header .private { display: none; }

  .hero { grid-template-columns: minmax(0,1fr); gap: 24px; padding: 29px 0 35px; }
  .hero-copy { display: block; grid-column: 1; grid-row: 1; }
  .hero .eyebrow { font-size: 9px; line-height: 1.8; letter-spacing: .04em; margin: 0 0 13px; }
  .hero h1 { font-size: clamp(30px,8.2vw,40px); line-height: 1.55; letter-spacing: 0; margin: 0 0 20px; }
  .hero h1>span { display: inline; white-space: normal; }
  .hero h1 .hero-ending { display: inline-block; white-space: nowrap; }
  .hero .intro { font-size: 15px; line-height: 1.9; margin: 0 0 11px; }
  .hero .hero-note { font-size: 14px; line-height: 1.9; margin: 0; }
  .hero .hero-note br { display: initial; }
  .hero .hero-actions { margin: 21px 0 0; }
  .hero .hero-link { width: 100%; min-height: 50px; font-size: 15px; padding: 12px 20px; }
  .hero .hero-link>span { font-size: 21px; }
  .hero .hero-art.oneko-art { grid-column: 1; grid-row: 2; max-width: none; width: 100%; justify-self: center; }
  .hero .oneko-image { max-width: 180px; margin: 0 auto; }
  .hero .oneko-art figcaption { font-size: 14px; line-height: 1.85; letter-spacing: 0; margin-top: 10px; }
  .hero-edition { display: none; }

  .tool-heading,.section-heading { gap: 11px; align-items: baseline; }
  .tool-heading h2,.section-heading h2,.star-guide .section-heading h2 { font-size: 23px; letter-spacing: 0; line-height: 1.55; min-width: 0; }
  .section-no { flex-shrink: 0; }
  .input-panel,.results-panel { padding: 24px 20px; }
  .step-label { font-size: 11px; }
  .date-fields legend { font-size: 22px; }
  .date-row { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); gap: 10px; }
  .date-row label { font-size: 13px; }
  .date-row input,.date-row select,input[type=time],input[type=text],textarea { font-size: 16px; min-height: 50px; }
  .field-help,.privacy-note { font-size: 12px; line-height: 1.9; }
  .privacy-note br { display: none; }
  .options summary { font-size: 14px; min-height: 50px; gap: 6px; }
  .options summary>span,.optional { font-size: 11px; }
  .option-body>label,.checkbox,.sex-option legend,.radio-row { font-size: 13px; }
  .radio-row { gap: 10px; }
  .radio-row label { min-height: 44px; }
  .primary { font-size: 16px; min-height: 54px; }
  .sample-button { font-size: 13px; min-height: 44px; }
  .sample-button span { display: block; margin: 4px 0 0; font-size: 12px; }
  .empty { min-height: 0; padding: 10px 0; }
  .empty-symbol,.empty>.eyebrow { display: none; }
  .empty h3 { font-size: clamp(20px,6vw,25px); line-height: 1.8; letter-spacing: 0; margin-bottom: 18px; }
  .empty p:not(.eyebrow) { font-size: 14px; line-height: 1.95; }
  .empty p:not(.eyebrow) br { display: none; }
  .empty-keys { gap: 7px; margin-top: 20px; }
  .empty-keys span { font-size: 12px; padding: 3px 10px; }
  .result-top { display: block; }
  .result-top h3 { font-size: 25px; }
  .result-status { display: inline-block; font-size: 12px; margin-top: 12px; padding: 4px 10px; }
  #result-birth { font-size: 13px; }
  .stars-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .star-card { padding: 19px 18px; }
  .star-label { font-size: 14px; flex-wrap: wrap; }
  .star-label span { font-size: 10px; }
  .star-value { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 28px; line-height: 1.5; letter-spacing: 0; }
  .star-value .element { width: 24px; height: 24px; font-size: 11px; margin-left: 0; }
  .star-tag { font-size: 12px; }
  .star-description { font-size: 14px; line-height: 1.95; margin-top: 10px; }
  .read-star { font-size: 13px; min-height: 44px; margin-top: 8px; }
  .maximum-values { gap: 12px; }
  .maximum-chip { font-size: 23px; min-height: 44px; }
  .maximum-help,.direction-note,.special-note { font-size: 12px; line-height: 1.9; }
  .boundary-note,.stale-note,.error { font-size: 13px; line-height: 1.9; }
  .candidate-heading { font-size: 14px; line-height: 1.8; }
  .result-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .secondary,.profile-footer .secondary { width: 100%; justify-content: center; min-height: 50px; font-size: 14px; gap: 12px; padding: 12px; }
  .text-button,.result-social-link { font-size: 13px; min-height: 44px; justify-content: center; text-align: center; }
  .manual-copy label { font-size: 13px; line-height: 1.8; }
  .manual-copy textarea { font-size: 16px; }

  .section-lead { font-size: 14px; line-height: 1.95; }
  .section-lead br { display: none; }
  .role-grid { grid-template-columns: minmax(0,1fr); }
  .role-grid article,.role-grid article:first-child { padding: 24px 20px; border-right: 0; }
  .role-grid article>span { font-size: 10px; }
  .role-grid h3 { font-size: 25px; }
  .role-grid .role-tag { font-size: 13px; margin-bottom: 10px; }
  .role-grid p:not(.role-tag) { font-size: 14px; line-height: 1.95; }
  .star-selector { gap: 8px; }
  .star-selector button { flex-direction: column; gap: 3px; font-size: 16px; min-height: 70px; padding: 10px 5px; }
  .star-selector button>span { font-size: 10px; }
  .star-profile { padding: 25px 20px; overflow-wrap: normal; }
  #guide-context-label { font-size: 12px; }
  #guide-context { font-size: 14px; line-height: 1.95; }
  .profile-heading { gap: 13px; }
  .profile-number { font-size: 55px; }
  .profile-heading h3 { font-size: 27px; }
  .profile-en { font-size: 9px; }
  .profile-keywords { gap: 6px; }
  .profile-keywords span { font-size: 12px; padding: 3px 10px; }
  .profile-catch { font-size: 24px; line-height: 1.75; letter-spacing: 0; }
  .profile-intro,.profile-columns p,.profile-columns li { font-size: 15px; line-height: 1.95; }
  .profile-columns h4 { font-size: 16px; }
  .profile-everyday li { margin-bottom: 13px; }
  .profile-everyday li::before { top: 12px; }
  .profile-action { padding: 18px 16px; }
  .profile-action h4>span { font-size: 10px; }
  .profile-oneko>span { font-size: 10px; }
  .profile-oneko p { font-size: 17px; line-height: 1.9; }
  .profile-footer>a { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
  .social-intro,.social-description,.social-cta { font-size: 14px; line-height: 1.95; }
  .social-intro br { display: none; }
  .social-new-tab { font-size: 12px; }
  .footer p,.footer>span { font-size: 12px; }
}
@media (max-width:360px) {
  .header .brand-en { font-size: 26px; }
  .header nav { font-size: 11px; }
  .hero .oneko-image { max-width: 160px; }
  .star-profile { padding: 22px 18px; }
  .profile-number { font-size: 46px; }
  .profile-heading h3 { font-size: 25px; }
  .profile-en { font-size: 8px; letter-spacing: .04em; }
}
