/* 手機審閱 2026-10-04：只設計600px以下；既有樣式與寬版內容不改。
   寬版唯一規則只隱藏新增的手機文字，避免改動桌機／平板閱讀內容。 */
@media (min-width: 601px) {
  [data-mobile-copy] { display: none !important; }
}
@media (max-width: 600px) {
  /* 正式中文入口：語言字級由11px增加4px；Logo與Header結構不變。 */
  .languages { gap: 0; white-space: nowrap; }
  .languages > [data-locale] { font-size: .9375rem; }
  .languages > [aria-current="true"] { color: var(--blue); }
  .languages > .language-divider { font-size: .6875rem; padding-inline: 1px; }
  [data-desktop-copy] { display: none !important; }
  [data-mobile-copy] { display: block; }

  .menu-section.section-space { padding-block: 36px; }
  .experience-section.section-space { padding-block: 40px; }
  .space-section.section-space { padding-block: 34px; }
  .friends-section.section-space { padding-block: 34px; }
  .editorial-index {
    align-items: baseline;
    margin-bottom: 24px;
    padding-top: 0;
    border-top: 0;
  }
  .editorial-index > p {
    font: 400 .625rem/1.7 Arial,sans-serif;
    letter-spacing: .16em;
    color: var(--lime);
  }
  .editorial-index > span { display: none; }
  /* 02–07整行INDEX與短線沿用同一品牌綠；短線42px、1px，在INDEX上方13px。 */
  .editorial-index {
    position: relative;
    --chapter-line-top: -13px;
  }
  .editorial-index .editorial-number { color: var(--lime); }
  .editorial-index::before, .editorial-index::after {
    content: "";
    position: absolute;
    top: var(--chapter-line-top);
    left: 0;
    height: 0;
    pointer-events: none;
    border-top: 1px solid var(--ink);
  }
  .editorial-index::before { width: 100%; }
  .editorial-index::after { width: 2.625rem; border-top-color: var(--lime); }
  :is(.menu-section,.experience-section,.space-section,.friends-section) h2.editorial-title {
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.025em;
  }
  .editorial-title .title-context {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -.015em;
    margin-bottom: 6px;
    color: var(--ink);
  }
  .editorial-title .title-focus {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.035em;
    white-space: normal;
    text-wrap: balance;
    background: none;
    padding: 0;
    margin: 0;
  }
  :is(.menu-section,.experience-section,.space-section,.friends-section) .editorial-body,
  .space-description[data-mobile-copy] > p,
  .cats-copy[data-mobile-copy] > p {
    font-size: .9375rem;
    line-height: 1.85;
    letter-spacing: 0;
    font-weight: 400;
    text-wrap: pretty;
    max-width: 100%;
  }

  /* 02：從左上起筆，焦點向右22px；角色落在選餐入口旁。 */
  .menu-section .section-intro { gap: 22px; }
  .menu-section .title-focus { margin-left: 22px; }
  .menu-description > .editorial-lead { display: none; }
  .menu-description > .editorial-body { margin-top: 0; }
  .guide-menu { margin-top: 14px; }
  .guide-menu .guide-copy { margin-right: 0; }
  .guide-menu .guide-copy > .editorial-body {
    padding-right: calc(var(--guide-height) * var(--pose-ratio) + 16px);
  }
  .guide-menu .guide-figure { bottom: -4px; }
  .guide-menu .section-action { border: 0; padding: 0; margin-top: 15px; }
  .guide-menu .section-action .guide-stage {
    font: 400 .625rem/1.7 Arial,sans-serif;
    letter-spacing: .13em;
    margin: 0;
  }
  .guide-menu .section-action .guide-stage > span { color: var(--ink); }
  .guide-menu .guide-action, .menu-section .section-tail { display: none; }

  /* 02：三欄與原圖寬度不變；同排共用自然高度，品名靠右、介紹靠左。 */
  .menu-section .postcard-grid {
    --postcard-row-gap: 25px;
    row-gap: 0;
  }
  .menu-section .menu-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 0;
  }
  .menu-section .menu-card:nth-child(n + 4) { margin-top: var(--postcard-row-gap); }
  .menu-section .menu-card > h3,
  .menu-section .menu-card > p {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding-inline: 0;
    margin-inline: 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    line-break: auto;
    text-wrap: wrap;
  }
  .menu-section .menu-card > h3 { text-align: right; }
  .menu-section .menu-card > p { text-align: left; }
  /* 保留末尾完整詞組，避免孤字；容器仍使用明信片完整寬度與自然換行。 */
  .menu-section .menu-card .menu-word { display: inline; white-space: nowrap; }
  @media (max-width: 360px) {
    .menu-section .postcard-grid { --postcard-row-gap: 22px; }
  }

  /* 03點餐／04寄信分節，沿用既有文字與流程字級。 */
  .experience-section .editorial-index { border-top: 1px solid transparent; padding-top: 13px; --chapter-line-top: 0px; }
  .experience-section .title-context { text-align: right; padding-right: 20px; }
  .experience-section .title-focus { margin-left: 8px; }
  .experience-section .letter-emphasis { font-weight: inherit; letter-spacing: inherit; }
  .order-section .experience-grid, .mail-section .experience-grid { margin-top: 22px; }
  .mail-section .experience-intro + .experience-grid { margin-top: 0; }
  .experience-intro { font-size: .9375rem; line-height: 1.85; letter-spacing: 0; margin: 22px 0 28px; text-wrap: pretty; }
  .experience-grid { gap: 30px; }
  .experience-story { padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .story-label { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 12px; gap: 12px; align-items: baseline; }
  .story-label > span { font: 400 .625rem/1.7 Arial,sans-serif; padding: 0; border: 0; }
  .story-label p { font-size: .9375rem; line-height: 1.7; letter-spacing: 0; }
  .story-label small { display: none; }
  .experience-story h3 { font-size: 1.125rem; line-height: 1.7; letter-spacing: -.015em; margin-bottom: 12px; }
  .story-title-context, .story-title-focus { display: inline; font-size: inherit; line-height: inherit; letter-spacing: inherit; margin: 0; white-space: normal; }
  .story-copy { font-size: .9375rem; line-height: 1.85; letter-spacing: 0; margin-bottom: 18px; }
  .story-copy .story-lead { font-size: inherit; line-height: inherit; font-weight: 400; letter-spacing: 0; }
  .service-description { font-size: inherit; line-height: inherit; }
  /* 04：三年說明 → 照片導引10px；導引 → 完整照片6px。 */
  .mail-section .story-copy { margin-bottom: 6px; }
  .mail-section .story-copy > .photo-guide { margin-top: 10px; }
  .story-steps { margin-top: 16px; }
  .story-steps li, .guide-mail .story-steps li { gap: 12px; padding-block: 11px; border-bottom-color: var(--line); }
  .story-steps li > span { font: 400 .625rem/1.7 Arial,sans-serif; letter-spacing: .08em; }
  .story-steps p { font-size: .9375rem; line-height: 1.75; letter-spacing: 0; }
  .story-note { font-size: .8125rem; line-height: 1.85; margin-top: 15px; text-wrap: pretty; }
  .guide-mail { margin-top: 19px; }
  .guide-mail .guide-stage { display: none; }
  .guide-mail .guide-action { font-size: .9375rem; line-height: 1.85; font-weight: 400; }

  /* 05：上句向右，主句回到左邊。正文兩段，提醒／嚮導後緊接照片。 */
  .space-section .title-context { margin-left: 24px; }
  .space-section .title-focus { margin-left: 0; }
  .space-main { gap: 22px; }
  .space-description[data-mobile-copy] > p + p { margin-top: 14px; }
  .guide-space { margin-top: 19px; }
  .guide-space .guide-copy { margin-right: 0; }
  .guide-space .editorial-note { padding-right: calc(var(--guide-height) * var(--pose-ratio) + 14px); }
  .note-label { display: block; }
  .note-label > span { font: 400 .625rem/1.7 Arial,sans-serif; letter-spacing: .13em; }
  .note-label > strong { display: none; }
  .space-reminder { font-size: .9375rem; line-height: 1.85; margin-top: 6px; text-wrap: pretty; }
  .photo-transition { margin-top: 14px; padding-right: calc(var(--guide-height) * var(--pose-ratio) + 14px); }
  .photo-transition .guide-stage { display: none; }
  .guide-space .guide-action { font-size: .9375rem; line-height: 1.85; font-weight: 400; margin-top: 0; }
  .space-gallery { margin-top: 14px; }

  /* 06：居民標題收向右下，短正文後直接出照片。 */
  .friends-section .editorial-index { margin-bottom: 22px; }
  .friends-section .title-context { margin-left: 8px; }
  .friends-section .title-focus { font-size: 1.875rem; text-align: right; padding-right: 22px; letter-spacing: -.025em; }
  .friends-section .residents-intro { gap: 22px; }
  .cats-copy[data-mobile-copy] > p + p { margin-top: 13px; }
  .cats-groups { margin-top: 20px; }
}
