/* Shared touch and bilingual presentation, without device-specific business logic. */
html[lang="ko"] { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif; }
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3, html[lang="ko"] p { word-break: keep-all; overflow-wrap: anywhere; }
.language-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid #dedfd6; background: #fffefa; border-radius: 9px; flex-shrink: 0; }
.language-switch button, .language-switch a { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 9px; border-radius: 6px; color: #697063; font-size: 12px; line-height: 1.2; white-space: nowrap; }
.language-switch [aria-pressed="true"], .language-switch [aria-current="true"] { background: #49624e; color: #fff; font-weight: 650; }
.connection-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; padding: 11px 14px; margin-bottom: 18px; border: 1px solid #e2e6d9; border-radius: 11px; background: #f1f4eb; color: #49624e; font-size: 12px; }
.connection-banner #connection-status { flex: 1; min-width: 150px; }
.connection-banner.error { background: #fff2e8; border-color: #f0d7c0; color: #874a29; }
.connection-banner .text-button { font-size: 12px; padding: 4px 0; }
.moderation-status { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 5px; font-size: 11px; color: #765b24; background: #f7ecd4; }
.moderation-status.rejected { color: #984333; background: #fce8e2; }
.moderation-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); margin-top: 18px; }
.moderation-actions .button { font-size: 12px; min-height: 40px; }
.server-note { margin: 15px 0; font-size: 12px; line-height: 1.8; color: #687261; }
.request-card .need-status.in-progress { background: #edf0fc; color: #535b91; }
#load-more { margin-top: 18px; min-height: 44px; }
.reply-admin { display: inline-block; margin-left: 5px; padding: 1px 5px; border-radius: 4px; background: #e7eee0; color: #49624e; font-size: 10px; }

/* Comments stay grouped by conversation with a single readable reply indent. */
.discussion-heading { margin-bottom: 20px; }
.discussion-heading h3 { margin-bottom: 6px; }
.discussion-heading > p { margin: 0; color: var(--muted, #687261); font-size: 12px; line-height: 1.8; }
.comment-thread { padding: 15px 0; border-bottom: 1px solid #e9eddf; }
.comment-thread:first-child { padding-top: 0; }
.comment-thread .comment { border: 0; padding-bottom: 0; }
.comment-thread .comment.is-reply { margin: 12px 0 0 33px; padding: 8px 0 0 14px; border-left: 2px solid #e3e9d9; }
.comment.is-reply .author-avatar { width: 27px; height: 27px; min-width: 27px; font-size: 10px; }
.comment-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.comment-heading time { color: #7b8575; font-size: 11px; }
.comment-context { margin-top: 5px; color: #7b8575; font-size: 12px; overflow-wrap: anywhere; }
.comment-context > span { color: #596e49; }
.comment-body .comment-reply-button { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; margin-top: 3px; padding: 5px 8px; border: 0; border-radius: 6px; background: transparent; color: #6b785a; font-size: 12px; cursor: pointer; }
.comment-reply-button .icon { width: 14px; height: 14px; }
.comment-reply-button:hover { background: #eff3e7; color: #3f552d; }
.comment-reply-button:focus-visible { outline: 2px solid #b94724; outline-offset: 2px; }
.comment-empty { padding: 20px 16px; border-radius: 9px; background: #f6f7f0; color: #687261; font-size: 13px; line-height: 1.9; }
.comment-form { padding-top: 20px; border-top: 1px solid #e5eadb; }
.reply-composer-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.reply-composer-heading h4 { margin: 0; font-size: 15px; }
.reply-composer-heading > span { color: #7b8575; font-size: 12px; }
.reply-target { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; padding: 10px 12px; border-radius: 8px; background: #eff3e7; color: #687261; font-size: 12px; line-height: 1.7; }
.reply-target > span { min-width: 0; overflow-wrap: anywhere; }
.reply-target strong { color: #4a623c; font-weight: 600; }
.reply-target .text-button { flex-shrink: 0; min-height: 32px; }
.comment-form > .form-field { margin-top: 14px; }
.comment-form input:disabled, .comment-form textarea:disabled { opacity: .65; cursor: not-allowed; }
@media (max-width: 600px) {
  .comment-thread .comment.is-reply { margin-left: 17px; padding-left: 10px; }
  .comment.is-reply { gap: 8px; }
  .reply-target { gap: 8px; padding: 9px 10px; }
}
.site-header .header-nav { gap: 18px; }
.account-button { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 8px 9px; border-radius: 8px; color: #4b6450; font-size: 12px; font-weight: 650; white-space: nowrap; }
.account-button:hover { background: #eef1e6; }
.account-button .icon { width: 18px; height: 18px; }
.account-modal { width: min(560px,calc(100% - 24px)); }
.account-modal .modal-body { padding-top: 0; }
.account-intro { display: flex; gap: 14px; align-items: center; margin: 2px 0 24px; }
.account-avatar { width: 55px; height: 55px; border-radius: 19px; flex-shrink: 0; background: #eceddd; color: #536952; display: grid; place-items: center; font-size: 24px; }
.account-intro h3 { margin: 0 0 5px; font-size: 20px; }
.account-intro p { margin: 0; color: #7b8073; font-size: 13px; }
.account-steps { display: flex; gap: 8px; margin: 0 0 26px; padding: 14px 0; border-block: 1px solid var(--line,#e5e1d7); list-style: none; }
.account-steps li { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 1; font-size: 12px; color: #96978e; }
.account-steps span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; border: 1px solid #dddcd2; font-size: 11px; }
.account-steps .current { color: #d76d43; font-weight: 650; }
.account-steps .current span { background: #fbede4; border-color: #eed0ba; }
.account-steps .complete { color: #486850; }
.account-steps .complete span { background: #e5eddf; border-color: #becdb4; }
.account-section { margin: 0 0 25px; }
.account-section h3 { font-size: 16px; margin: 0 0 7px; }
.account-section p { font-size: 12px; line-height: 1.85; color: #7a7e72; margin: 5px 0 15px; }
.account-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.provider-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.provider-button { display: flex; align-items: center; text-align: left; gap: 10px; padding: 14px 12px; min-height: 70px; background: #fffdf7; border: 1px solid #dfdfd2; border-radius: 12px; color: #4c5f4b; font-size: 12px; line-height: 1.6; }
.provider-button small { display: block; font-size: 10px; color: #84867c; font-weight: 400; }
.provider-mark { display: grid; place-items: center; background: #e1efdc; color: #4c7f40; width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; font-weight: 750; }
.alipay .provider-mark { background: #dfedf6; color: #447ca0; }
.kakao .provider-mark { background: #f8eaa6; color: #4f4524; }
.provider-button:disabled { opacity: .72; cursor: not-allowed; }
.verification-tabs { display: flex; margin: 16px 0 0; gap: 3px; padding: 4px; border-radius: 10px; background: #eeeede; }
.verification-tabs button { flex: 1; padding: 10px; min-height: 40px; border-radius: 7px; color: #727b67; font-size: 13px; }
.verification-tabs [aria-pressed="true"] { background: #fffdf7; color: #435d44; box-shadow: 0 2px 5px #45492b0c; font-weight: 650; }
.verification-panel { border: 1px solid #e4e4d7; padding: 20px 17px 16px; margin-top: 11px; border-radius: 12px; background: #fcfbf5; }
.verification-panel strong { color: #56664e; font-size: 14px; }
.verification-panel .button { font-size: 13px; margin-top: 3px; }
.button:disabled { opacity: .58; cursor: not-allowed; }
.account-notice,.compose-gate { padding: 13px 15px; border-radius: 10px; background: #f2f1e3; color: #6b6b4e; font-size: 12px; line-height: 1.8; margin: 14px 0; }
.account-notice p,.compose-gate p { margin: 4px 0; }
.compose-gate { margin-top: 0; }
.compose-gate .text-button { margin-top: 5px; font-size: 12px; }
.account-privacy { font-size: 11px; line-height: 1.85; color: #858476; margin: 16px 0 20px; }
.account-footer { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line,#e5e1d7); }
.account-footer .text-button { font-size: 12px; }
.moderation-status.verified { background: #e4eedf; color: #4b6c46; }
@media (max-width: 1250px) { .site-header .header-actions .button.secondary { display: none; } .site-header .header-inner { gap: 18px; } }
@media (max-width: 780px) {
  .site-header .header-actions { gap: 8px; }
  .language-switch button, .language-switch a { min-height: 34px; padding: 6px 8px; font-size: 11px; }
  input, textarea, select { font-size: 16px; }
  .modal-shell { padding-bottom: max(20px,env(safe-area-inset-bottom)); }
  .mobile-nav { padding-bottom: env(safe-area-inset-bottom); min-height: calc(62px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .editorial-page { padding-bottom: env(safe-area-inset-bottom); }
  .mobile-nav button { min-height: 56px; }
  .post-open, .tag-button, .region-chip, .country-tab, .feed-tab { min-height: 40px; }
  .connection-banner { padding: 10px 12px; }
  html[lang="ko"] .brand-copy > span { font-size: 9px; }
  html[lang="ko"] .hero-main h1 { line-height: 1.35; font-size: 32px; }
}
@media (max-width: 480px) {
  .site-header .header-actions > .button.primary { display: none; }
  .editorial-page .header-actions > .button.primary { display: none; }
  .brand-copy strong { font-size: 16px; }
  .brand-mark { width: 31px; height: 34px; }
  .header-inner { padding-left: 14px; padding-right: 14px; }
  .language-switch button, .language-switch a { padding-left: 7px; padding-right: 7px; }
  html[lang="ko"] .mobile-nav button { font-size: 10px; }
  .account-button { padding: 7px 2px; font-size: 11px; }
  .account-button .icon { display: none; }
  .site-header .header-inner { gap: 9px; }
  .provider-grid { gap: 8px; }
  .provider-button { padding: 12px 9px; gap: 7px; }
  .account-steps li { font-size: 10px; gap: 5px; }
  .account-intro h3 { font-size: 18px; }
}
