/* Family-level translation of the approved Phase 4A TARGET. */

/* People lists */
body.koirea-ui2-phase4b .ui2b-people-summary { min-width: 92px; min-height: 54px; padding: 8px 13px; display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 8px; border: 1px solid var(--ui2b-line); border-radius: 14px; background: #fff; }
body.koirea-ui2-phase4b .ui2b-people-summary > svg { grid-row: 1 / 3; }
body.koirea-ui2-phase4b .ui2b-people-summary span { color: var(--ui2b-muted); font-size: 10px; line-height: 1.1; }
body.koirea-ui2-phase4b .ui2b-people-summary strong { line-height: 1.1; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-people-empty {
  width: 100%;
  max-width: none;
  min-height: 218px;
  margin: 0;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(190px, 220px);
  grid-template-rows: auto auto;
  gap: 6px 18px;
  align-content: center;
  align-items: center;
  justify-items: stretch;
  text-align: left;
  border: 1px solid var(--ui2b-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--ui2b-shadow);
}

body.koirea-member-web.koirea-ui2-phase4b .ui2b-people-empty .empty-icon { grid-column: 1; grid-row: 1 / 3; align-self: start; width: 48px; height: 48px; display: grid; place-items: center; color: var(--ui2b-primary); background: #fff7f9; border-radius: 14px; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-people-empty .empty-icon svg { width: 24px; height: 24px; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-people-empty h2 { grid-column: 2; grid-row: 1; align-self: end; text-align: left; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-people-empty p { grid-column: 2; grid-row: 2; align-self: start; text-align: left; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-people-empty .empty-actions { width: 100%; grid-column: 3; grid-row: 1 / 3; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-people-empty .empty-actions .button { width: 100%; }
body.koirea-ui2-phase4b .v105-social-tabs { width: fit-content; max-width: 100%; margin: 0 0 16px; padding: 4px; display: flex; gap: 3px; overflow-x: auto; border: 1px solid var(--ui2b-line); border-radius: 14px; background: #fff; }
body.koirea-ui2-phase4b .v105-social-tabs a { min-width: 120px; min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: #536078; font-size: 13px; font-weight: 800; white-space: nowrap; }
body.koirea-ui2-phase4b .v105-social-tabs a.is-active { color: var(--ui2b-primary); background: #fff0f4; }
body.koirea-ui2-phase4b .native-profile-grid.v128c-social-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
body.koirea-ui2-phase4b .native-person-card.v128c-social-row {
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--ui2b-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(55, 38, 29, .04);
}
body.koirea-member-web.koirea-ui2-phase4b .native-person-card.v128c-social-row { grid-template-rows: auto auto; }
body.koirea-ui2-phase4b .v128c-social-photo { position: relative; width: 108px; height: 132px; overflow: hidden; border-radius: 11px; background: #eee9e5; }
body.koirea-ui2-phase4b .v128c-social-photo > img { width: 100%; height: 100%; display: block; object-fit: cover; }
body.koirea-ui2-phase4b .v128c-social-main { min-width: 0; display: flex; flex-direction: column; }
body.koirea-ui2-phase4b .v128c-social-main h2 { margin: 0; font-size: 18px; }
body.koirea-ui2-phase4b .v128c-social-main .muted { margin: 2px 0 5px; color: var(--ui2b-muted); font-size: 12px; }
body.koirea-ui2-phase4b .v128c-social-main .native-catch { margin: 0; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 12px; }
body.v00100-ui.is-logged-in.koirea-member-web.koirea-ui2-phase4b .native-person-card.v128c-social-row .v128c-social-actions { grid-column: 1 / -1; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.koirea-member-web.koirea-ui2-phase4b .v128c-social-actions > * { min-width: 0; margin: 0; }
body.koirea-member-web.koirea-ui2-phase4b .v128c-social-actions :where(a,button) { width: 100%; }
body.koirea-member-web.koirea-ui2-phase4b .v128c-social-actions.is-age-read-only > a { grid-column: 1 / -1; }
body.koirea-ui2-phase4b.page-likes-received .v128c-social-row.is-age-read-only .mini-profile-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  max-height: none !important;
  overflow: visible !important;
  gap: 6px;
}
body.koirea-ui2-phase4b.page-likes-received #likes-age-notice {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-radius: 14px;
}
body.koirea-ui2-phase4b.page-likes-received #likes-age-notice > div { min-width: 0; }
@media (max-width: 900px) {
  body.koirea-ui2-phase4b.page-likes-received #likes-age-notice { grid-template-columns: minmax(0, 1fr); }
  body.koirea-ui2-phase4b.page-likes-received #likes-age-notice > .button { width: 100%; }
}

/* Footprints */
body.koirea-ui2-phase4b .v670-footprint-tabs { margin: 0 0 16px; padding: 5px; display: flex; gap: 4px; width: fit-content; max-width: 100%; border: 1px solid var(--ui2b-line); border-radius: 14px; background: #fff; }
body.koirea-ui2-phase4b .v670-footprint-tabs a { min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 9px; font-weight: 800; white-space: nowrap; }
body.koirea-ui2-phase4b .v670-footprint-tabs a[aria-selected="true"] { color: var(--ui2b-primary); background: #fff0f4; }
body.koirea-ui2-phase4b .v670-footprint-section[hidden] { display: none !important; }
body.koirea-ui2-phase4b .v670-footprint-section { margin-bottom: 18px; border: 1px solid var(--ui2b-line); border-radius: 20px; background: #fff; box-shadow: var(--ui2b-shadow); overflow: hidden; }
body.koirea-ui2-phase4b .v670-footprint-section-head { padding: 18px 20px 14px; border-bottom: 1px solid var(--ui2b-line); }
body.koirea-ui2-phase4b .v670-footprint-section-head h2 { margin: 0; }
body.koirea-member-web.koirea-ui2-phase4b .v670-footprint-section .ui2b-people-empty {
  min-height: 184px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.koirea-ui2-phase4b .v127-footprint-row { min-height: 118px; margin: 0; padding: 14px 18px; display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 0; border-bottom: 1px solid var(--ui2b-line); border-radius: 0; background: #fff; box-shadow: none; }
body.koirea-ui2-phase4b .v127-footprint-row:last-child { border-bottom: 0; }
body.koirea-ui2-phase4b .v127-footprint-photo { width: 74px; height: 90px; overflow: hidden; border-radius: 10px; }
body.koirea-ui2-phase4b .v127-footprint-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Notifications */
body.koirea-ui2-phase4b :where(.v915-notification-list,.notification-list) { overflow: hidden; border: 1px solid var(--ui2b-line); border-radius: 20px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b .ui2b-notification-summary { min-width: 88px; min-height: 54px; padding: 8px 13px; display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 8px; border: 1px solid var(--ui2b-line); border-radius: 14px; background: #fff; }
body.koirea-ui2-phase4b .ui2b-notification-summary > svg { grid-row: 1 / 3; }
body.koirea-ui2-phase4b .ui2b-notification-summary span { color: var(--ui2b-muted); font-size: 10px; line-height: 1.1; }
body.koirea-ui2-phase4b .ui2b-notification-summary strong { line-height: 1.1; }
body.koirea-ui2-phase4b :where(.v915-notification-card,.notification-row) { min-height: 82px; margin: 0; padding: 14px 18px; display: grid; grid-template-columns: 44px minmax(0,1fr) auto auto; align-items: center; gap: 14px; border: 0; border-bottom: 1px solid var(--ui2b-line); border-radius: 0; box-shadow: none; }
body.koirea-ui2-phase4b :where(.v915-notification-card,.notification-row):last-child { border-bottom: 0; }
body.koirea-ui2-phase4b .v915-notification-card.is-unread { background: #fff9fa; box-shadow: inset 3px 0 var(--ui2b-primary); }
body.koirea-ui2-phase4b .ui2b-notification-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--ui2b-primary); background: #fff0f4; }
body.koirea-ui2-phase4b .ui2b-notification-copy { min-width: 0; }
body.koirea-ui2-phase4b .ui2b-notification-copy strong,
body.koirea-ui2-phase4b .ui2b-notification-copy p { display: block; margin: 0; }
body.koirea-ui2-phase4b .ui2b-notification-copy p { margin-top: 4px; color: var(--ui2b-muted); }
body.koirea-ui2-phase4b .v915-notification-card time { color: var(--ui2b-subtle); font-size: 11px; white-space: nowrap; }
body.koirea-ui2-phase4b .v915-notification-card form { margin: 0; justify-self: end; }
/* The legacy .v915-notification-card span rule must not offset button labels. */
body.koirea-ui2-phase4b .ui2b-notification-action > span { margin-bottom: 0; }

/* Tweets: retain the approved compact feed rhythm while keeping its live actions. */
body.koirea-ui2-phase4b.page-tweets :is(.v807-tweets-head,.v807-tweet-compose,.v807-my-tweets,.v807-tweet-list,.ui2b-tweet-notice,.native-empty) { width: min(1000px,100%); margin-left: auto; margin-right: auto; }
body.koirea-ui2-phase4b.page-tweets .v807-tweets-head { margin-bottom: 14px; padding: 0; border: 0; background: transparent; box-shadow: none; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-eyebrow { margin: 0 0 4px; color: var(--ui2b-muted); font-size: 12px; }
body.koirea-ui2-phase4b.page-tweets .v807-tweets-head .koirea-page-header__title { margin: 0; }
body.koirea-ui2-phase4b.page-tweets .v807-tweets-head .koirea-page-header__description { margin: 3px 0 0; font-size: 13px; line-height: 1.5 !important; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-summary { min-width: 92px; min-height: 48px; padding: 7px 11px; display: grid; grid-template-columns: 20px 1fr; grid-template-rows: auto auto; align-items: center; border: 1px solid var(--ui2b-line); border-radius: 14px; background: #fff; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-summary > span { grid-row: 1 / 3; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-summary small { color: var(--ui2b-muted); line-height: 1.1; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-summary strong { line-height: 1.1; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-notice { margin-bottom: 16px; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-notice .koirea-official-rules { margin: 0; padding: 11px 13px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 3px 10px; border: 1px solid #cbddef; border-radius: 14px; color: #315374; background: #f3f9ff; box-shadow: none; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-notice .koirea-official-rules__head { display: flex; flex-direction: row; align-items: center; gap: 9px; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-notice .koirea-official-rules__icon { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-notice .koirea-official-rules__badge { display: none; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-notice .koirea-official-rules h2 { margin: 0; color: var(--ui2b-ink); font-size: 14px; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-notice .koirea-official-rules > p { grid-column: 1 / -1; margin: 0 0 0 34px; font-size: 12px; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-notice .koirea-official-rules__toggle { grid-column: 2; grid-row: 1; margin: 0; min-height: 28px; padding: 0 4px; border: 0; color: #315374; background: transparent; font-size: 11px; font-weight: 800; white-space: nowrap; cursor: pointer; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-notice .koirea-official-rules__details { grid-column: 1 / -1; }
body.koirea-ui2-phase4b.page-tweets :is(.v807-tweet-compose,.v807-my-tweets) { margin-top: 0; margin-bottom: 16px; padding: 20px; border: 1px solid var(--ui2b-line); border-radius: 20px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-compose h2 { margin: 0 0 10px; font-size: 14px; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-compose form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-compose-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; }
body.koirea-ui2-phase4b.page-tweets .ui2b-tweet-compose-head h2 { margin: 0; flex: 0 0 auto; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-compose :is(textarea,.member-web-tweet-preview) { grid-column: 1 / -1; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-compose textarea { min-height: 130px; height: 130px; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-compose > form > button { min-width: 112px; justify-self: end; }
body.koirea-ui2-phase4b.page-tweets .v135-tweet-file-picker { min-width: 0; min-height: 44px; padding: 0; display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 8px; border: 0; background: transparent; color: var(--ui2b-muted); font-size: 12px; }
body.koirea-ui2-phase4b.page-tweets .v135-tweet-file-picker [data-tweet-image-name] { min-width: 0; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-list:not(.compact) { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; overflow: hidden; border: 1px solid var(--ui2b-line); border-radius: 16px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-list.compact { display: grid; gap: 0; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-list :is(.v807-tweet-card,.ui2b-tweet-entry) { min-height: 0; padding: 14px 18px; display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 13px; border: 0; border-bottom: 1px solid var(--ui2b-line); border-radius: 0; background: #fff; box-shadow: none; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-list :is(.v807-tweet-card,.ui2b-tweet-entry):last-child { border-bottom: 0; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-list .v807-tweet-card.is-mine { display: block; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-author img { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-body { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-meta { grid-column: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-meta span { color: var(--ui2b-muted); font-size: 11px; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-meta time { margin-left: 8px; white-space: nowrap; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-body > p { grid-column: 1; margin: 5px 0; color: #526078; white-space: normal; overflow-wrap: anywhere; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-image { grid-column: 1 / -1; width: min(640px,100%); max-height: 430px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #eee9e5; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions { grid-column: 2; grid-row: 1 / 3; margin: 0; display: flex; align-items: center; gap: 7px; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions form { margin: 0; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions :where(a,button) { min-width: 44px; min-height: 44px; padding: 0 10px; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions .ui2b-tweet-like-label { display: none; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions > form:first-child button { width: 44px; padding: 0; }
body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions > a,
body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions > form:not(:first-child) button { width: 44px; padding: 0; }

/* Points */
body.koirea-ui2-phase4b .v639-balance-card { min-width: 210px; padding: 11px 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 10px; border: 1px solid var(--ui2b-line); border-radius: 14px; color: var(--ui2b-ink); background: #fff; box-shadow: none; }
body.koirea-ui2-phase4b .v639-balance-card > span { font-size: 11px; opacity: .84; }
body.koirea-ui2-phase4b .v639-balance-card > strong { font-size: 26px; }
body.koirea-ui2-phase4b .v639-balance-card .v899-point-breakdown-mini { grid-column: 1 / -1; display: flex; gap: 10px; font-size: 10px; }
body.koirea-ui2-phase4b .v639-balance-card a { grid-column: 1 / -1; margin-top: 5px; color: var(--ui2b-ink); }
body.koirea-ui2-phase4b .ui2b-points-tabs { width: fit-content; margin: 0 0 16px; padding: 4px; display: flex; gap: 3px; border: 1px solid var(--ui2b-line); border-radius: 14px; background: #fff; }
body.koirea-ui2-phase4b .ui2b-points-tabs a { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 10px; color: #536078; font-size: 13px; font-weight: 800; }
body.koirea-ui2-phase4b .ui2b-points-tabs a[aria-current="page"] { color: var(--ui2b-primary); background: #fff0f4; }
body.koirea-ui2-phase4b .ui2b-points-dashboard { margin-bottom: 16px; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,1fr); gap: 16px; }
body.koirea-ui2-phase4b .ui2b-current-balance { min-height: 160px; padding: 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; border-radius: 20px; color: #fff; background: #d9365d; box-shadow: 0 10px 28px rgba(217,54,93,.16); }
body.koirea-ui2-phase4b .ui2b-current-balance::after { content: ""; position: absolute; width: 180px; height: 180px; right: -40px; bottom: -70px; border: 24px solid rgba(255,255,255,.1); border-radius: 50%; }
body.koirea-ui2-phase4b .ui2b-current-balance span { font-size: 12px; font-weight: 800; }
body.koirea-ui2-phase4b .ui2b-current-balance strong { margin: 6px 0; font-size: 38px; line-height: 1; }
body.koirea-ui2-phase4b .ui2b-current-balance small { position: relative; z-index: 1; }
body.koirea-ui2-phase4b .ui2b-mission-summary { min-height: 160px; padding: 20px; border: 1px solid var(--ui2b-line); border-radius: 20px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b .ui2b-mission-summary h2 { margin: 0; font-size: 18px; }
body.koirea-ui2-phase4b .ui2b-mission-summary p { margin: 6px 0 12px; color: var(--ui2b-muted); font-size: 12px; }
body.koirea-ui2-phase4b .ui2b-mission-summary div { display: flex; justify-content: space-between; gap: 12px; }
body.koirea-ui2-phase4b .ui2b-mission-summary div span { color: var(--ui2b-muted); font-size: 11px; }
body.koirea-ui2-phase4b .ui2b-mission-summary a { margin-top: 10px; display: inline-flex; align-items: center; gap: 4px; color: var(--ui2b-primary); font-size: 12px; font-weight: 800; }
body.koirea-ui2-phase4b :where(.v899-point-type-card,.v798-beta-points-card,.v725-point-rate-card,.v915-point-consumption-user,.v727-purchase-section,.v725-fee-table-section,.v639-point-history,.v639-point-panels) { margin-bottom: 16px; padding: 20px; border: 1px solid var(--ui2b-line); border-radius: 20px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b .v725-point-rate-card { display: block; }
body.koirea-ui2-phase4b .v725-point-rate-card > strong { display: block; margin-bottom: 6px; font-size: 20px; }
body.koirea-ui2-phase4b .v725-point-rate-card > span { color: var(--ui2b-muted); }
body.koirea-ui2-phase4b .v899-point-type-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body.koirea-ui2-phase4b .v899-point-type-card article { padding: 14px; display: grid; gap: 3px; border: 1px solid var(--ui2b-line); border-radius: 12px; }
body.koirea-ui2-phase4b .v899-point-type-card article em { color: var(--ui2b-primary); font-size: 22px; font-style: normal; font-weight: 850; }
body.koirea-ui2-phase4b .v899-point-type-card > p { grid-column: 1 / -1; margin: 0; color: var(--ui2b-muted); font-size: 12px; }
body.koirea-ui2-phase4b .v915-consumption-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
body.koirea-ui2-phase4b .v915-consumption-grid article { padding: 14px; border: 1px solid var(--ui2b-line); border-radius: 12px; }
body.koirea-ui2-phase4b .v915-consumption-grid :where(strong,small) { display: block; }
body.koirea-ui2-phase4b .v915-consumption-grid small { margin-top: 3px; color: var(--ui2b-muted); }
body.koirea-ui2-phase4b .v727-purchase-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
body.koirea-ui2-phase4b .v729-purchase-plan-card { padding: 18px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--ui2b-line); border-radius: 14px; background: #fff; }
body.koirea-ui2-phase4b .v729-purchase-plan-card.is-campaign,
body.koirea-ui2-phase4b .v729-purchase-plan-card.is-first-trial { border-color: var(--ui2b-primary); box-shadow: 0 8px 22px rgba(217,54,93,.09); }
body.koirea-ui2-phase4b .v729-purchase-plan-card > strong { font-size: 24px; }
body.koirea-ui2-phase4b .v729-purchase-plan-card > small { color: var(--ui2b-muted); }
body.koirea-ui2-phase4b.page-points .v729-purchase-plan-card > small {
  display: block; min-height: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: var(--ui2b-muted); font-size: 12px;
}
body.koirea-ui2-phase4b.page-points .v729-purchase-plan-card .v744-discount-badge {
  border: 0; background: var(--ui2b-primary); color: #fff; box-shadow: none;
}
body.koirea-ui2-phase4b .v729-purchase-plan-card form { margin-top: auto; }
body.koirea-ui2-phase4b .v725-fee-table-wrap { overflow-x: auto; }
body.koirea-ui2-phase4b .v725-fee-table { width: 100%; border-collapse: collapse; }
body.koirea-ui2-phase4b .v725-fee-table :where(th,td) { padding: 11px 12px; border-bottom: 1px solid var(--ui2b-line); text-align: left; }
body.koirea-ui2-phase4b .v00073-history-card { min-height: 62px; padding: 12px 0; display: grid; grid-template-columns: 90px 70px minmax(0,1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--ui2b-line); }
/* Points follow-up: one neutral functional icon and the approved coral accent. */
body.koirea-ui2-phase4b.page-points .v639-point-panels .eyebrow,
body.koirea-ui2-phase4b.page-points .v00073-history-head .eyebrow {
  display: block; width: auto; min-height: 0 !important;
  margin: 0 0 8px !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important;
  color: var(--ui2b-ink); font-size: 12px; font-weight: 800;
}
body.koirea-ui2-phase4b.page-points .v639-point-panels article > strong { color: var(--ui2b-primary); }
body.koirea-ui2-phase4b.page-points .v00073-point-history { background: #fff; }
body.koirea-ui2-phase4b.page-points .v00073-point-history::before,
body.koirea-ui2-phase4b.page-points .v00073-point-history::after { content: none; }
body.koirea-ui2-phase4b.page-points .v00073-history-symbol {
  width: 48px !important; height: 48px !important; flex: 0 0 48px !important;
  border-radius: 12px !important; background: #f4f6f9;
  color: var(--ui2b-ink); box-shadow: none; transform: none;
}
body.koirea-ui2-phase4b.page-points .v00073-history-symbol svg { width: 24px; height: 24px; }
body.koirea-ui2-phase4b.page-points .v00073-history-pagination { position: relative; z-index: 1; }
body.koirea-ui2-phase4b.page-points .v00073-history-pagination > span { padding: 8px 0; }
body.koirea-ui2-phase4b :where(.v667-point-balance,.v721-point-balance,.points-balance-card) { padding: 22px; overflow: hidden; border-radius: 20px; color: #fff; background: linear-gradient(135deg,#d9365d,#bf294c); box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b :where(.v667-point-balance,.v721-point-balance,.points-balance-card) strong { font-size: 34px; }
body.koirea-ui2-phase4b :where(.v667-point-grid,.v721-point-grid,.point-plan-grid) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
body.koirea-ui2-phase4b :where(.v667-point-card,.v721-point-card,.point-plan-card) { padding: 18px; border: 1px solid var(--ui2b-line); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(55,38,29,.04); }

/* Point checkout confirmation: the same Value Family as /points. */
body.koirea-ui2-phase4b .ui2b-checkout-page { width: min(960px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 56px; }
body.koirea-ui2-phase4b .ui2b-checkout-head { margin-bottom: 20px; }
body.koirea-ui2-phase4b .ui2b-checkout-label { margin: 0 0 7px; color: var(--ui2b-primary); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
body.koirea-ui2-phase4b .ui2b-checkout-head h1 { margin: 0; color: var(--ui2b-ink); font-size: clamp(28px, 3vw, 36px); line-height: 1.3; }
body.koirea-ui2-phase4b .ui2b-checkout-head > p:last-child { max-width: 660px; margin: 8px 0 0; color: var(--ui2b-muted); font-size: 14px; line-height: 1.7; }
body.koirea-ui2-phase4b .ui2b-checkout-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: start; gap: 16px; }
body.koirea-ui2-phase4b .ui2b-checkout-summary,
body.koirea-ui2-phase4b .ui2b-checkout-payment { min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--ui2b-line); border-radius: 20px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b .ui2b-checkout-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.koirea-ui2-phase4b .ui2b-checkout-summary > div { min-width: 0; padding: 15px; display: grid; align-content: start; gap: 5px; border: 1px solid var(--ui2b-line); border-radius: 13px; background: #fff; }
body.koirea-ui2-phase4b .ui2b-checkout-summary > .ui2b-checkout-price { border-color: #f3cad4; background: #fff9fa; }
body.koirea-ui2-phase4b .ui2b-checkout-summary > .ui2b-checkout-points { background: #fafbff; }
body.koirea-ui2-phase4b .ui2b-checkout-summary span { color: var(--ui2b-muted); font-size: 12px; font-weight: 800; }
body.koirea-ui2-phase4b .ui2b-checkout-summary strong { min-width: 0; color: var(--ui2b-ink); font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
body.koirea-ui2-phase4b .ui2b-checkout-summary :where(.ui2b-checkout-price,.ui2b-checkout-points) strong { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; }
body.koirea-ui2-phase4b .ui2b-checkout-summary .ui2b-checkout-price strong { color: var(--ui2b-primary); }
body.koirea-ui2-phase4b .ui2b-checkout-summary strong small { margin-left: 3px; color: inherit; font-size: 14px; font-weight: 800; white-space: nowrap; }
body.koirea-ui2-phase4b .ui2b-checkout-summary del { display: block; margin: 1px 0 4px; color: var(--ui2b-muted); font-size: 13px; font-weight: 600; text-decoration-thickness: 1px; }
body.koirea-ui2-phase4b .ui2b-checkout-summary .ui2b-checkout-amount { color: inherit; font-size: inherit; font-weight: inherit; white-space: nowrap; }
body.koirea-ui2-phase4b .ui2b-checkout-payment.is-ready,
body.koirea-ui2-phase4b .ui2b-checkout-payment.is-pending { border-color: var(--ui2b-line); background: #fff; }
body.koirea-ui2-phase4b .ui2b-checkout-payment-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
body.koirea-ui2-phase4b .ui2b-checkout-payment-head span { display: block; color: var(--ui2b-muted); font-size: 11px; font-weight: 800; }
body.koirea-ui2-phase4b .ui2b-checkout-payment-head h2 { margin: 3px 0 0; color: var(--ui2b-ink); font-size: 19px; line-height: 1.4; }
body.koirea-ui2-phase4b .ui2b-checkout-state { padding: 5px 8px; border: 1px solid #c8d9d4; border-radius: 8px; color: #235f4d; background: #f6fbf9; font-size: 11px; line-height: 1.4; white-space: nowrap; }
body.koirea-ui2-phase4b .ui2b-checkout-payment.is-pending .ui2b-checkout-state { border-color: #e6d7bd; color: #785829; background: #fffcf6; }
body.koirea-ui2-phase4b .ui2b-checkout-payment dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
body.koirea-ui2-phase4b .ui2b-checkout-payment dl > div { min-width: 0; padding: 12px; border: 1px solid var(--ui2b-line); border-radius: 11px; background: #faf9f8; }
body.koirea-ui2-phase4b .ui2b-checkout-payment dt { color: var(--ui2b-muted); font-size: 11px; font-weight: 800; }
body.koirea-ui2-phase4b .ui2b-checkout-payment dd { margin: 4px 0 0; color: var(--ui2b-ink); font-size: 14px; font-weight: 800; overflow-wrap: anywhere; word-break: normal; }
body.koirea-ui2-phase4b .ui2b-checkout-note { margin: 0 0 14px; color: var(--ui2b-muted); font-size: 13px; line-height: 1.65; }
body.koirea-ui2-phase4b .ui2b-checkout-confirm-form { margin: 0 0 9px; }
body.koirea-ui2-phase4b .ui2b-checkout-confirm-form .button,
body.koirea-ui2-phase4b .ui2b-checkout-back { width: 100%; min-height: 48px; }
body.koirea-ui2-phase4b .ui2b-checkout-return { margin-top: 16px; padding: 13px 0 0; border: 0; border-top: 1px solid var(--ui2b-line); border-radius: 0; background: transparent; }
body.koirea-ui2-phase4b .ui2b-checkout-return span { color: var(--ui2b-muted); }
body.koirea-ui2-phase4b .ui2b-checkout-return a { color: var(--ui2b-primary); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  body.koirea-ui2-phase4b .ui2b-checkout-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body.koirea-ui2-phase4b .ui2b-checkout-page { width: calc(100% - 24px); padding: 16px 0 38px; }
  body.koirea-ui2-phase4b .ui2b-checkout-head { margin-bottom: 14px; }
  body.koirea-ui2-phase4b .ui2b-checkout-head h1 { font-size: 26px; }
  body.koirea-ui2-phase4b .ui2b-checkout-layout { gap: 12px; }
  body.koirea-ui2-phase4b .ui2b-checkout-summary,
  body.koirea-ui2-phase4b .ui2b-checkout-payment { padding: 14px; border-radius: 16px; }
  body.koirea-ui2-phase4b .ui2b-checkout-summary > div { padding: 12px; }
  body.koirea-ui2-phase4b .ui2b-checkout-summary > .ui2b-checkout-detail { grid-column: 1 / -1; }
  body.koirea-ui2-phase4b .ui2b-checkout-summary :where(.ui2b-checkout-price,.ui2b-checkout-points) strong { font-size: 25px; }
  body.koirea-ui2-phase4b .ui2b-checkout-payment dl { grid-template-columns: minmax(0, 1fr); }
}

/* Recruitment: list, create and mine share one compact hierarchy. */
body.koirea-ui2-phase4b .v667-recruit-head { margin-bottom: 12px; align-items: center; }
body.koirea-ui2-phase4b .v667-recruit-head p:not(.v667-recruit-eyebrow) { margin-top: 3px; font-size: 13px; }
body.koirea-ui2-phase4b .v667-recruit-head-actions { display: flex; gap: 8px; }
body.koirea-ui2-phase4b .ui2b-recruit-summary { min-height: 44px; padding: 7px 11px; display: flex; align-items: center; gap: 6px; border: 1px solid var(--ui2b-line); border-radius: 12px; background: #fff; white-space: nowrap; }
body.koirea-ui2-phase4b .ui2b-recruit-summary > svg { width: 17px; height: 17px; color: var(--ui2b-primary); }
body.koirea-ui2-phase4b .ui2b-recruit-summary span { color: var(--ui2b-muted); font-size: 11px; }
body.koirea-ui2-phase4b .ui2b-recruit-summary strong { color: var(--ui2b-ink); font-size: 13px; }
body.koirea-ui2-phase4b .ui2b-recruit-tabs { width: fit-content; max-width: 100%; margin: 0 0 12px; padding: 4px; display: flex; gap: 3px; overflow-x: auto; border: 1px solid var(--ui2b-line); border-radius: 14px; background: #fff; }
body.koirea-ui2-phase4b .ui2b-recruit-tabs a { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; color: #536078; font-size: 13px; font-weight: 800; white-space: nowrap; }
body.koirea-ui2-phase4b .ui2b-recruit-tabs a[aria-current="page"] { color: var(--ui2b-primary); background: #fff0f4; }
body.koirea-ui2-phase4b .ui2b-recruit-tabs a span { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 10px; color: var(--ui2b-ink); background: #f2efed; font-size: 10px; }
body.koirea-ui2-phase4b .ui2b-recruit-mode-switch { margin: 0 0 12px; display: flex; justify-content: flex-end; }
body.koirea-ui2-phase4b .ui2b-recruit-mode-switch a { font-size: 12px; }
body.koirea-ui2-phase4b .ui2b-recruit-categories { margin: 0 0 12px; padding: 5px; display: flex; gap: 4px; overflow-x: auto; border: 1px solid var(--ui2b-line); border-radius: 14px; background: #fff; scrollbar-width: none; }
body.koirea-ui2-phase4b .ui2b-recruit-categories a { min-width: 86px; min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: #586174; font-size: 12px; font-weight: 800; white-space: nowrap; }
body.koirea-ui2-phase4b .ui2b-recruit-categories a[aria-current="page"] { color: #fff; background: var(--ui2b-primary); box-shadow: 0 4px 10px rgba(217,54,93,.18); }
body.koirea-ui2-phase4b .ui2b-adult-banner { margin: 0 0 14px; padding: 13px 15px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid #dccfd3; border-left: 3px solid #7a5260; border-radius: 14px; background: #fff; }
body.koirea-ui2-phase4b .v667-recruit-compose,
body.koirea-ui2-phase4b .v667-my-recruits,
body.koirea-ui2-phase4b .v667-recruit-filter { margin-bottom: 14px; padding: 10px 16px; border: 1px solid var(--ui2b-line); border-radius: 16px; background: #fff; box-shadow: var(--ui2b-shadow); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
body.koirea-ui2-phase4b .v726-recruit-region-current { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
body.koirea-ui2-phase4b .v726-recruit-region-current span,
body.koirea-ui2-phase4b .v726-recruit-region-current small { color: var(--ui2b-muted); font-size: 11px; }
body.koirea-ui2-phase4b .v667-recruit-filter form { display: none; align-items: end; gap: 8px; }
body.koirea-ui2-phase4b .v667-recruit-filter form > div { min-width: 160px; }
body.koirea-ui2-phase4b .v667-recruit-compose { display: grid; grid-template-columns: .76fr 1.24fr; gap: 22px; }
body.koirea-ui2-phase4b .ui2b-recruit-compose-intro { min-width: 0; }
body.koirea-ui2-phase4b .ui2b-recruit-compose-intro h2 { margin: 0 0 6px; }
body.koirea-ui2-phase4b .ui2b-recruit-compose-intro > p { margin: 8px 0; line-height: 1.5; }
body.koirea-ui2-phase4b .ui2b-recruit-compose-intro .v721-rule-chips { margin-top: 10px; }
body.koirea-ui2-phase4b .v667-recruit-compose form { display: grid; gap: 10px; }
body.koirea-ui2-phase4b .v667-recruit-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body.koirea-ui2-phase4b .v667-recruit-list { display: grid; gap: 14px; }
body.koirea-ui2-phase4b .v667-recruit-card { min-width: 0; overflow: hidden; display: grid; grid-template-columns: 58px minmax(0,1fr); grid-template-areas: "media content"; gap: 16px; border: 1px solid var(--ui2b-line); border-radius: 16px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b .v667-recruit-author { grid-area: media; align-self: start; min-height: 0; width: 58px; height: 58px; overflow: hidden; border-radius: 50%; }
body.koirea-ui2-phase4b .v667-recruit-author img { width: 100%; height: 100%; display: block; object-fit: cover; }
body.koirea-ui2-phase4b .v667-recruit-body { grid-area: content; min-width: 0; padding: 0; }
body.koirea-ui2-phase4b .v667-recruit-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
body.koirea-ui2-phase4b .v667-recruit-title h2 { margin: 5px 0 8px; font-size: 18px; line-height: 1.4; }
body.koirea-ui2-phase4b .v725-recruit-lock { max-width: 100%; }
body.koirea-ui2-phase4b .v725-recruit-lock strong,
body.koirea-ui2-phase4b .v725-recruit-lock span { overflow-wrap: anywhere; }
body.koirea-ui2-phase4b .v667-recruit-text { color: var(--ui2b-muted); }
body.koirea-ui2-phase4b .v667-recruit-meta { margin-top: 13px; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 14px; border-top: 1px solid var(--ui2b-line); color: #475168; font-size: 12px; }
body.koirea-ui2-phase4b .v667-recruit-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
body.koirea-ui2-phase4b .v667-recruit-actions form { margin: 0; }
body.koirea-ui2-phase4b .v667-recruit-actions :where(a,button)[data-button-role] { min-height: 42px; }
body.koirea-ui2-phase4b .v667-my-recruits { display: block; }
body.koirea-ui2-phase4b .v667-my-recruits h2 { margin: 0 0 12px; font-size: 19px; }
body.koirea-ui2-phase4b .v667-recruit-mini-list { display: grid; gap: 10px; }
body.koirea-ui2-phase4b .v667-recruit-mini-list .ui2b-recruit-mine-row { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; align-items: start; padding: 15px; border: 1px solid var(--ui2b-line); border-radius: 12px; }
body.koirea-ui2-phase4b .ui2b-recruit-mine-info { min-width: 0; overflow-wrap: anywhere; }
body.koirea-ui2-phase4b .ui2b-recruit-mine-info strong { color: var(--ui2b-ink); font-size: 16px; }
body.koirea-ui2-phase4b .ui2b-recruit-mine-info :where(span,small) { line-height: 1.5; }
body.koirea-ui2-phase4b .ui2b-recruit-mine-actions { min-width: 0; width: 100%; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
body.koirea-ui2-phase4b .ui2b-recruit-mine-actions > form { margin: 0; }
body.koirea-ui2-phase4b .ui2b-recruit-mine-actions button[data-button-role] { min-height: 44px; }
body.koirea-ui2-phase4b .v127-recruit-edit { flex: 0 1 auto; min-width: 0; max-width: 100%; border-color: var(--ui2b-line); border-radius: 10px; }
body.koirea-ui2-phase4b .v127-recruit-edit[open] { flex-basis: 100%; }
body.koirea-ui2-phase4b .v127-recruit-edit summary { min-height: 44px; padding: 10px 16px; display: flex; align-items: center; cursor: pointer; }
body.koirea-ui2-phase4b .v127-recruit-edit form { min-width: 0; padding: 2px 14px 14px; }
body.koirea-ui2-phase4b .v127-recruit-edit label { min-width: 0; display: grid; gap: 5px; }
body.koirea-ui2-phase4b .v127-recruit-edit :where(input,select,textarea) { min-width: 0; max-width: 100%; }
body.koirea-ui2-phase4b .v807-adult-badge { display: inline-flex; padding: 2px 7px; border-radius: 10px; color: #684854; background: #f6edf0; font-size: 10px; font-style: normal; font-weight: 800; }

/* Utility families */
body.koirea-ui2-phase4b :where(.settings-list,.v127-block-list,.v127-hidden-list,.contact-card,.report-card,.invite-card) { overflow: hidden; border: 1px solid var(--ui2b-line); border-radius: 20px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b .ui2b-page-action { min-height: 44px; padding-inline: 14px; }
body.koirea-ui2-phase4b :where(.v42-page-head,.v806-contact-hero,.v932-invite-head) { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
body.koirea-ui2-phase4b :where(.v42-page-head,.v806-contact-hero,.v932-invite-head) h1 { margin: 0; font-size: clamp(26px,3vw,36px); color: var(--ui2b-ink); }
body.koirea-ui2-phase4b :where(.v42-page-head,.v806-contact-hero,.v932-invite-head) .eyebrow { margin: 0 0 4px; color: var(--ui2b-primary); font-weight: 800; }
body.koirea-ui2-phase4b .v42-inbox-list,
body.koirea-ui2-phase4b .v787-message-list { overflow: hidden; border: 1px solid var(--ui2b-line); border-radius: 20px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b .v42-inbox-item,
body.koirea-ui2-phase4b .message-row-card { min-height: 92px; padding: 14px 18px; display: grid; grid-template-columns: 64px minmax(0,1fr) auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--ui2b-line); }
body.koirea-ui2-phase4b .v42-inbox-item:last-child,
body.koirea-ui2-phase4b .message-row-card:last-child { border-bottom: 0; }
body.koirea-ui2-phase4b .v42-inbox-photo,
body.koirea-ui2-phase4b .message-row-photo { width: 64px; height: 72px; overflow: hidden; border-radius: 10px; }
body.koirea-ui2-phase4b :where(.v42-inbox-photo,.message-row-photo) img { width: 100%; height: 100%; object-fit: cover; }
body.koirea-ui2-phase4b .v806-contact-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; align-items: start; }
body.koirea-ui2-phase4b .v806-contact-form,
body.koirea-ui2-phase4b .v806-contact-side,
body.koirea-ui2-phase4b .native-form-card,
body.koirea-ui2-phase4b .v960-identity-card,
body.koirea-ui2-phase4b .v932-invite-reward-card,
body.koirea-ui2-phase4b .v932-invite-code-card,
body.koirea-ui2-phase4b .v932-invite-history { padding: 20px; border: 1px solid var(--ui2b-line); border-radius: 20px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b .v806-contact-form { display: grid; gap: 14px; }
body.koirea-ui2-phase4b .v806-contact-hero { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; }
body :where(.v806-contact-hero) .ui2-contact-eyebrow { display: block; width: auto; margin: 0 0 8px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #d9365d; font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1.4; }
body.koirea-ui2-phase4b .v806-contact-hero h1 { white-space: normal; overflow-wrap: anywhere; line-height: 1.3; }
body.koirea-ui2-phase4b .v806-contact-hero > div:first-child { min-width: 0; }
body.koirea-ui2-phase4b .ui2-contact-category-disclosure { min-width: 0; }
body.koirea-ui2-phase4b .ui2-contact-category-disclosure > summary { display: none; }
body.koirea-ui2-phase4b .ui2-contact-category-disclosure > fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
body.koirea-ui2-phase4b .ui2-contact-category-legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.koirea-ui2-phase4b .ui2-contact-message-field { display: grid; gap: 8px; min-width: 0; }
body.koirea-ui2-phase4b .ui2-contact-message-field textarea { width: 100%; min-width: 0; }
body.koirea-ui2-phase4b .v79-contact-error-ref code { max-width: 100%; overflow-wrap: anywhere; }
body.koirea-ui2-phase4b .v806-contact-type-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
body.koirea-ui2-phase4b .v806-contact-type-grid label { min-height: 44px; padding: 10px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--ui2b-line-strong); border-radius: 10px; background: #fff; }
body.koirea-ui2-phase4b .v806-contact-type-grid label.is-selected { border-color: var(--ui2b-primary); color: var(--ui2b-primary); background: #fff0f4; }
body.koirea-ui2-phase4b .v806-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body.koirea-contact-guest .ui2-contact-category-disclosure > summary { display: none; }
body.koirea-contact-guest .v806-contact-hero h1 { white-space: normal; overflow-wrap: anywhere; }
body.koirea-contact-guest .v806-contact-hero > div:first-child { min-width: 0; }
body.koirea-contact-guest .ui2-contact-category-disclosure > fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
body.koirea-contact-guest .ui2-contact-category-legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.koirea-contact-guest .ui2-contact-message-field { display: grid; gap: 8px; }
body.koirea-contact-guest .v79-contact-error-ref code { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 1024px) {
  body.koirea-ui2-phase4b .v806-contact-hero,
  body.koirea-ui2-phase4b .v806-contact-layout { display: grid; grid-template-columns: minmax(0,1fr); }
}
body.koirea-ui2-phase4b .v43-safety-shell { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,460px); gap: 24px; align-items: start; padding: 18px 0; }
body.koirea-ui2-phase4b .v960-identity-shell { display: grid; gap: 20px; align-items: start; }
body.koirea-ui2-phase4b .v960-identity-copy {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.koirea-ui2-phase4b .v960-identity-copy h1 { margin-bottom: 10px; }
body.koirea-ui2-phase4b .v960-identity-copy > .muted { max-width: 46ch; line-height: 1.75; }
body.koirea-ui2-phase4b .v960-identity-status {
  min-width: 0;
  margin-top: 20px;
  border: 1px solid var(--ui2b-line);
  border-left: 4px solid var(--ui2b-primary);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--ui2b-shadow);
}
body.koirea-ui2-phase4b .v960-identity-status:is(.approved,.pending,.rejected) { border-left-width: 4px; }
body.koirea-ui2-phase4b .v960-identity-status small { display: block; overflow-wrap: anywhere; line-height: 1.65; }
body.koirea-ui2-phase4b .v960-identity-card { min-width: 0; }
body.koirea-ui2-phase4b .v960-identity-list {
  overflow: hidden;
  border: 1px solid var(--ui2b-line);
  border-radius: 14px;
  background: #fff;
}
body.koirea-ui2-phase4b .v960-identity-list > li {
  margin: 0;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid var(--ui2b-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.koirea-ui2-phase4b .v960-identity-list > li:last-child { border-bottom: 0; }
body.koirea-ui2-phase4b .v960-identity-list span { line-height: 1.55; }
body.koirea-ui2-phase4b .v960-identity-form { min-width: 0; }
body.koirea-ui2-phase4b .v960-identity-form label { min-width: 0; }
body.koirea-ui2-phase4b .v960-identity-form input[type="file"] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: var(--ui2b-muted);
  font: inherit;
  font-size: 13px;
  text-overflow: ellipsis;
}
body.koirea-ui2-phase4b .v960-identity-form input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 8px 12px;
  border: 1px solid var(--ui2b-line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ui2b-ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
body.koirea-ui2-phase4b .v960-identity-form input[type="file"]:focus-visible { outline: 3px solid var(--ui2b-primary); outline-offset: 2px; }
body.koirea-ui2-phase4b .v43-safety-copy { min-width: 0; display: block; margin: 0; }
body.koirea-ui2-phase4b .v43-safety-copy .eyebrow { margin: 0 0 4px; color: var(--ui2b-primary); font-weight: 800; }
body.koirea-ui2-phase4b .v43-safety-copy h1 { margin: 6px 0 8px; font-size: clamp(30px,3vw,38px); line-height: 1.2; letter-spacing: -.04em; color: var(--ui2b-ink); }
body.koirea-ui2-phase4b .v43-safety-copy > .muted { max-width: 560px; margin: 0; line-height: 1.8; }
body.koirea-ui2-phase4b .v43-target-card { width: 100%; padding: 14px; display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: center; gap: 12px; border: 1px solid var(--ui2b-line); border-radius: 14px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b .v43-target-card img,
body.koirea-ui2-phase4b .v43-target-card .photo-placeholder { width: 72px; height: 72px; object-fit: cover; border-radius: 9px; }
/* Safety / protection family: scoped to its four route components. */
body.koirea-ui2-phase4b .ui2-safety-page-head { max-width: 980px; margin: 10px auto 22px; }
body.koirea-ui2-phase4b .ui2-safety-page-head .muted { max-width: 64ch; margin: 8px 0 0; line-height: 1.75; }
body.koirea-ui2-phase4b .ui2-blocks-empty { width: min(980px,100%); min-height: 260px; margin: 0 auto 44px; padding: 28px; border: 1px solid var(--ui2b-line); border-radius: 20px; background: #fff; box-shadow: var(--ui2b-shadow); }
body.koirea-ui2-phase4b .ui2-blocks-empty .empty-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff4f5; color: var(--ui2b-primary); }
body.koirea-ui2-phase4b .ui2-blocks-empty h2 { margin: 4px 0 0; font-size: clamp(20px,2vw,24px); }
body.koirea-ui2-phase4b .ui2-blocks-empty .muted { max-width: 58ch; margin: 0; line-height: 1.7; }
body.koirea-ui2-phase4b .ui2-blocks-empty .empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
body.koirea-ui2-phase4b .ui2-blocks-list { max-width: 980px; margin: 0 auto 44px; }
body.koirea-ui2-phase4b .ui2-blocks-item { grid-template-columns: 60px minmax(0,1fr) auto; min-height: 84px; }
body.koirea-ui2-phase4b .ui2-blocks-item .v42-inbox-photo { width: 60px; height: 60px; }
body.koirea-ui2-phase4b .ui2-blocks-member { min-width: 0; }
body.koirea-ui2-phase4b .ui2-blocks-member h2 { margin: 0 0 3px; font-size: 16px; }
body.koirea-ui2-phase4b .ui2-blocks-member .muted { margin: 0; color: var(--ui2b-muted); font-size: 12px; line-height: 1.5; }
body.koirea-ui2-phase4b .ui2-blocks-item form { margin: 0; }
body.koirea-ui2-phase4b .v43-safety-copy h1 { margin-top: 0; }
body.koirea-ui2-phase4b .ui2-report-target { margin-top: 20px; box-shadow: none; }
body.koirea-ui2-phase4b .ui2-report-target > div { display: grid; gap: 3px; min-width: 0; }
body.koirea-ui2-phase4b .ui2-report-target .ui2-report-target-label { color: var(--ui2b-primary); font-size: 11px; font-weight: 800; letter-spacing: .03em; }
body.koirea-ui2-phase4b .ui2-report-target span,
body.koirea-ui2-phase4b .ui2-report-target small { color: var(--ui2b-muted); line-height: 1.55; }
body.koirea-ui2-phase4b .v43-safety-shell .native-form-card form { display: grid; gap: 10px; }
body.koirea-ui2-phase4b .v43-safety-shell .native-form-card label { margin: 4px 0 0; font-weight: 800; }
body.koirea-ui2-phase4b .v43-safety-shell .native-form-card :is(select,textarea) { width: 100%; min-width: 0; }
body.koirea-ui2-phase4b .v43-safety-shell .native-form-card textarea { min-height: 164px; resize: vertical; }
body.koirea-ui2-phase4b .v43-safety-shell .native-form-card [data-button-role] { width: 100%; }
body.koirea-ui2-phase4b .v932-invite-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
body.koirea-ui2-phase4b .v932-invite-code-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }

@media (max-width: 1024px) {
  body.koirea-ui2-phase4b .native-profile-grid.v128c-social-list { grid-template-columns: 1fr; }
  body.koirea-ui2-phase4b .v667-recruit-card { grid-template-columns: 58px minmax(0,1fr); }
  body.koirea-ui2-phase4b :where(.v667-point-grid,.v721-point-grid,.point-plan-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
  body.koirea-member-web.koirea-ui2-phase4b.page-footprints .ui2b-web-main { padding-bottom: 20px; }
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-people-empty { min-height: 0; padding: 18px; grid-template-columns: 44px minmax(0, 1fr); gap: 5px 12px; }
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-people-empty .empty-icon { width: 44px; height: 44px; }
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-people-empty .empty-actions { grid-column: 1 / -1; grid-row: 3; margin-top: 10px; }
  body.koirea-member-web.koirea-ui2-phase4b .v670-footprint-section .ui2b-people-empty { padding: 18px 16px; }
  body.v00100-ui.is-logged-in.koirea-member-web.koirea-ui2-phase4b .native-person-card.v128c-social-row .v128c-social-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.koirea-member-web.koirea-ui2-phase4b .v128c-social-actions > :last-child { grid-column: 1 / -1; }
  body.koirea-ui2-phase4b .v915-notification-card { padding: 14px 12px; grid-template-columns: 40px minmax(0,1fr) auto; gap: 8px 10px; }
  body.koirea-ui2-phase4b .ui2b-notification-icon { width: 40px; height: 40px; }
  body.koirea-ui2-phase4b .v915-notification-card .ui2b-notification-icon { grid-column: 1; grid-row: 1 / 3; align-self: start; }
  body.koirea-ui2-phase4b .v915-notification-card .ui2b-notification-copy { grid-column: 2 / -1; grid-row: 1; }
  body.koirea-ui2-phase4b .v915-notification-card time { grid-column: 2; grid-row: 2; }
  body.koirea-ui2-phase4b .v915-notification-card form { grid-column: 3; grid-row: 2; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweets-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 10px; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweets-head .koirea-page-header__icon { display: none; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweets-head .koirea-page-header__main { min-width: 0; padding-top: 0; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweets-head .koirea-page-header__title { white-space: nowrap; }
  body.koirea-ui2-phase4b.page-tweets.koirea-member-web .v807-tweets-head .koirea-page-header__description,
  body.koirea-ui2-phase4b.page-tweets.koirea-app-body .v807-tweets-head .koirea-page-header__description { display: block; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweets-head .ui2b-tweet-summary { min-width: 72px; padding-inline: 8px; grid-template-columns: 20px 1fr; }
  body.koirea-ui2-phase4b .native-person-card.v128c-social-row { grid-template-columns: 86px minmax(0,1fr); padding: 12px; gap: 12px; }
  body.koirea-ui2-phase4b .v128c-social-photo { width: 86px; height: 108px; }
  body.koirea-ui2-phase4b .v128c-social-actions { grid-column: 1 / -1; }
  body.koirea-ui2-phase4b .v127-footprint-row { grid-template-columns: 64px minmax(0,1fr); padding: 12px; }
  body.koirea-ui2-phase4b .v127-footprint-photo { width: 64px; height: 78px; }
  body.koirea-ui2-phase4b .v127-footprint-action { grid-column: 1 / -1; }
  body.koirea-ui2-phase4b .v127-footprint-action a { width: 100%; }
  body.koirea-ui2-phase4b.page-tweets :is(.v807-tweet-compose,.v807-my-tweets) { padding: 14px; border-radius: 16px; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-compose form { grid-template-columns: minmax(0,1fr); }
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-compose textarea,
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-compose .member-web-tweet-preview { grid-column: 1 / -1; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-compose > form > button { width: 100%; min-width: 0; grid-column: 1 / -1; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-list :is(.v807-tweet-card,.ui2b-tweet-entry) { padding: 12px; grid-template-columns: 42px minmax(0,1fr); gap: 10px; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-author img { width: 42px; height: 42px; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-body { display: block; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-meta { align-items: flex-start; flex-direction: column; gap: 0; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions > a,
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions > form,
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions > form > button { width: 100%; }
  body.koirea-ui2-phase4b.page-tweets.koirea-member-web .v807-tweet-actions > a,
  body.koirea-ui2-phase4b.page-tweets.koirea-member-web .v807-tweet-actions > form > button,
  body.koirea-ui2-phase4b.page-tweets.koirea-app-body .v807-tweet-actions > a,
  body.koirea-ui2-phase4b.page-tweets.koirea-app-body .v807-tweet-actions > form > button { width: 100%; padding-inline: 0; gap: 0; }
  body.koirea-ui2-phase4b.page-tweets .v807-tweet-actions svg { width: 21px; height: 21px; }
  body.koirea-ui2-phase4b .v667-recruit-head { align-items: flex-start; flex-direction: row; gap: 8px; }
  body.koirea-ui2-phase4b .v667-recruit-head h1 { font-size: 27px; }
  body.koirea-ui2-phase4b .ui2b-recruit-summary { align-self: center; }
  body.koirea-ui2-phase4b .v667-recruit-compose { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
  body.koirea-ui2-phase4b .ui2b-recruit-compose-intro .v721-rule-chips { display: none; }
  body.koirea-ui2-phase4b .ui2b-recruit-tabs { width: 100%; }
  body.koirea-ui2-phase4b .ui2b-recruit-tabs a { flex: 1 0 auto; padding-inline: 12px; }
  body.koirea-ui2-phase4b .ui2b-recruit-categories { display: none; }
  body.koirea-ui2-phase4b .v667-recruit-filter { padding: 12px; align-items: stretch; flex-direction: column; gap: 7px; }
  body.koirea-ui2-phase4b .v726-recruit-region-current small { display: none; }
  body.koirea-ui2-phase4b .v667-recruit-filter form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; }
  body.koirea-ui2-phase4b .v667-recruit-filter form > div { flex: 1; min-width: 0; }
  body.koirea-ui2-phase4b .v667-recruit-filter form > button { width: auto; min-width: 104px; align-self: end; }
  body.koirea-ui2-phase4b .v667-recruit-form-grid { grid-template-columns: 1fr; }
  body.koirea-ui2-phase4b .v667-recruit-card { grid-template-columns: 78px minmax(0,1fr); grid-template-areas: none; gap: 0 12px; padding: 12px; }
  body.koirea-ui2-phase4b .v667-recruit-author { grid-area: auto; grid-column: 1; grid-row: 1; min-height: 0; width: 78px; height: 78px; overflow: hidden; border-radius: 10px; }
  body.koirea-ui2-phase4b .v667-recruit-body { display: contents; }
  body.koirea-ui2-phase4b .v667-recruit-title { grid-column: 2; grid-row: 1; min-width: 0; align-self: center; }
  body.koirea-ui2-phase4b .v667-recruit-title h2 { margin: 4px 0 0; font-size: 16px; }
  body.koirea-ui2-phase4b .v667-recruit-text,
  body.koirea-ui2-phase4b .v725-recruit-lock,
  body.koirea-ui2-phase4b .v667-recruit-meta,
  body.koirea-ui2-phase4b .v667-recruit-actions { grid-column: 1 / -1; min-width: 0; }
  body.koirea-ui2-phase4b .v725-recruit-lock { margin-top: 11px; }
  body.koirea-ui2-phase4b .v667-recruit-meta { margin-top: 10px; }
  body.koirea-ui2-phase4b .v667-recruit-actions { margin-top: 10px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.koirea-ui2-phase4b .v667-recruit-actions > * { min-width: 0; }
  body.koirea-ui2-phase4b .v667-recruit-actions :where(a,button)[data-button-role] { width: 100%; min-width: 0; padding-inline: 7px; }
  body.koirea-ui2-phase4b .v667-my-recruits { padding: 13px; }
  body.koirea-ui2-phase4b .v667-recruit-mini-list .ui2b-recruit-mine-row { padding: 12px; }
  body.koirea-ui2-phase4b .v127-recruit-edit[open] form { gap: 8px; }
  body.koirea-ui2-phase4b :where(.v667-point-grid,.v721-point-grid,.point-plan-grid) { grid-template-columns: 1fr; }
  body.koirea-ui2-phase4b .v639-balance-card { min-width: 0; width: 100%; }
  body.koirea-ui2-phase4b .ui2b-points-dashboard { grid-template-columns: 1fr; }
  body.koirea-ui2-phase4b .ui2b-current-balance { min-height: 138px; padding: 20px; }
  body.koirea-ui2-phase4b .v899-point-type-card,
  body.koirea-ui2-phase4b .v915-consumption-grid,
  body.koirea-ui2-phase4b .v727-purchase-grid { grid-template-columns: 1fr; }
  body.koirea-ui2-phase4b .v00073-history-card { grid-template-columns: 70px minmax(0,1fr) auto; }
  body.koirea-ui2-phase4b .v00073-history-icon { display: none; }
  body.koirea-ui2-phase4b .v42-inbox-item,
  body.koirea-ui2-phase4b .message-row-card { grid-template-columns: 56px minmax(0,1fr); padding: 12px; }
  body.koirea-ui2-phase4b .message-row-card > form,
  body.koirea-ui2-phase4b .v42-inbox-item > form { grid-column: 1 / -1; }
  body.koirea-ui2-phase4b .v806-contact-layout { grid-template-columns: 1fr; }
  body.koirea-ui2-phase4b .v806-contact-hero { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; align-items: stretch; margin-block: 12px; }
  body.koirea-ui2-phase4b .v806-contact-hero > div:first-child { padding: 16px 18px; }
  body.koirea-ui2-phase4b .v806-contact-hero h1 { white-space: normal; overflow-wrap: anywhere; font-size: clamp(22px,6vw,28px); line-height: 1.35; }
  body.koirea-ui2-phase4b .v806-contact-hero p { margin-bottom: 0; line-height: 1.6; }
  body.koirea-ui2-phase4b .v806-beta-coop-card { padding: 12px 16px; gap: 3px; }
  body.koirea-ui2-phase4b .v806-beta-coop-card span { font-size: 12px; line-height: 1.55; }
  body.koirea-ui2-phase4b .v806-contact-form { padding: 16px; gap: 14px; }
  body.koirea-ui2-phase4b .ui2-contact-category-disclosure { border: 1px solid var(--ui2b-line-strong); border-radius: 12px; background: #fff; }
  body.koirea-ui2-phase4b .ui2-contact-category-disclosure > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 12px; cursor: pointer; list-style: none; color: var(--ui2b-ink); }
  body.koirea-ui2-phase4b .ui2-contact-category-disclosure > summary::-webkit-details-marker { display: none; }
  body.koirea-ui2-phase4b .ui2-contact-category-disclosure > summary:focus-visible { outline: 3px solid var(--ui2b-primary); outline-offset: 2px; }
  body.koirea-ui2-phase4b .ui2-contact-category-disclosure > summary strong { margin-left: auto; color: var(--ui2b-primary); white-space: nowrap; }
  body.koirea-ui2-phase4b .ui2-contact-category-change { color: var(--ui2b-ink); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
  body.koirea-ui2-phase4b .ui2-contact-category-disclosure[open] > summary { border-bottom: 1px solid var(--ui2b-line); }
  body.koirea-ui2-phase4b .ui2-contact-category-disclosure > fieldset { padding: 10px; }
  body.koirea-ui2-phase4b .v43-safety-shell { grid-template-columns: minmax(0,1fr); gap: 14px; padding: 4px 0 18px; }
  body.koirea-ui2-phase4b .v43-safety-copy h1 { font-size: 30px; }
  body.koirea-ui2-phase4b .v43-safety-copy > .muted { font-size: 14px; line-height: 1.7; }
  body.koirea-ui2-phase4b .v43-target-card { grid-template-columns: 60px minmax(0,1fr); margin-top: 14px; padding: 12px; }
  body.koirea-ui2-phase4b .v43-target-card img,
  body.koirea-ui2-phase4b .v43-target-card .photo-placeholder { width: 60px; height: 60px; }
  body.koirea-ui2-phase4b .ui2-safety-page-head { margin: 4px 0 14px; }
  body.koirea-ui2-phase4b .ui2-blocks-empty { min-height: 0; padding: 20px 17px; }
  body.koirea-ui2-phase4b .ui2-blocks-empty .empty-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.koirea-ui2-phase4b .ui2-blocks-empty .empty-actions .button { width: 100%; min-width: 0; }
  body.koirea-ui2-phase4b .ui2-blocks-item { grid-template-columns: 54px minmax(0,1fr) auto; gap: 10px; }
  body.koirea-ui2-phase4b .ui2-blocks-item .v42-inbox-photo { width: 54px; height: 54px; }
  body.koirea-ui2-phase4b .ui2-blocks-item > form { grid-column: 2 / -1; }
  body.koirea-ui2-phase4b .ui2-blocks-item > form .button { min-height: 40px; width: auto; }
  body.koirea-ui2-phase4b .v806-contact-type-grid,
  body.koirea-ui2-phase4b .v806-form-grid,
  body.koirea-ui2-phase4b .v932-invite-stats,
  body.koirea-ui2-phase4b .v932-invite-code-grid { grid-template-columns: 1fr; }
  body.koirea-ui2-phase4b .v806-contact-type-grid { grid-template-columns: minmax(0,1fr); }
  body.koirea-contact-guest .ui2-contact-category-disclosure { min-width: 0; border: 1px solid #d9c6bc; border-radius: 12px; background: #fff; }
  body.koirea-contact-guest .ui2-contact-category-disclosure > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 12px; cursor: pointer; list-style: none; }
  body.koirea-contact-guest .ui2-contact-category-disclosure > summary::-webkit-details-marker { display: none; }
  body.koirea-contact-guest .ui2-contact-category-disclosure > summary:focus-visible { outline: 3px solid #d9365d; outline-offset: 2px; }
  body.koirea-contact-guest .ui2-contact-category-disclosure > summary strong { margin-left: auto; color: #d9365d; white-space: nowrap; }
  body.koirea-contact-guest .ui2-contact-category-change { font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
  body.koirea-contact-guest .ui2-contact-category-disclosure[open] > summary { border-bottom: 1px solid #e8d7ce; }
  body.koirea-contact-guest .ui2-contact-category-disclosure > fieldset { padding: 10px; }
}

/* Hidden conversations: approved utility TARGET, scoped to the Web route. */
body.koirea-member-web.koirea-ui2-phase4b:is(.page-conversations-hidden,.page-messages-hidden) .ui2b-hidden-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 18px;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-head__copy { min-width: 0; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-eyebrow {
  margin: 0 0 5px;
  color: #536078;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-title {
  margin: 0;
  color: var(--ui2b-ink);
  font-size: clamp(26px,3vw,36px);
  font-weight: 800;
  line-height: 1.25;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-head .muted {
  margin: 7px 0 0;
  color: var(--ui2b-muted);
  font-size: 13px;
  line-height: 1.55;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-count {
  flex: 0 0 auto;
  min-width: 88px;
  min-height: 50px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--ui2b-line);
  border-radius: 14px;
  background: #fff;
  color: var(--ui2b-ink);
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-count svg { width: 18px; height: 18px; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-count span { display: grid; color: var(--ui2b-muted); font-size: 10px; line-height: 1.2; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-count strong { color: var(--ui2b-ink); font-size: 14px; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-tabs {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 4px;
  display: flex;
  gap: 3px;
  border: 1px solid var(--ui2b-line);
  border-radius: 14px;
  background: #fff;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-tabs a {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  color: #536078;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-tabs a[aria-current="page"] { color: var(--ui2b-primary); background: #fff0f4; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-tabs a span {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #f2efed;
  color: var(--ui2b-ink);
  font-size: 11px;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-back {
  width: fit-content;
  min-height: 44px;
  margin: 16px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #536078;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-back svg { width: 18px; height: 18px; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list {
  width: 100%;
  margin: 0;
  display: grid;
  gap: 10px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list .message-row-card {
  min-height: 78px;
  padding: 12px 16px;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 16px;
  border: 1px solid var(--ui2b-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--ui2b-shadow);
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list .message-row-main {
  min-width: 0;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 12px;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list .message-row-photo {
  width: 48px;
  height: 48px;
  aspect-ratio: 1;
  border-radius: 50%;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list .message-row-body strong { color: var(--ui2b-ink); font-size: 14px; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list .message-row-body small,
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list .message-row-body > span { color: var(--ui2b-muted); font-size: 12px; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list form { width: fit-content; margin: 0; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list .v98-conversation-action-button {
  min-height: 44px;
  padding-inline: 14px;
}
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-empty { width: 100%; margin: 0; min-height: 250px; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-empty .button { min-height: 44px; }
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-tabs a:focus-visible,
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-back:focus-visible,
body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list a:focus-visible { outline: 3px solid rgba(217,54,93,.35); outline-offset: 2px; }

@media (max-width: 760px) {
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-head { margin: 4px 0 14px; align-items: flex-start; }
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-title { font-size: 25px; }
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-head .muted { font-size: 12px; }
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-count { min-width: 72px; min-height: 44px; padding: 6px 8px; }
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-tabs { width: 100%; }
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-tabs a { flex: 1 1 0; min-width: 0; padding-inline: 4px; gap: 4px; font-size: 11px; }
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list .message-row-card { grid-template-columns: minmax(0,1fr); gap: 7px; padding: 13px 16px; }
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-list .message-row-card > form { grid-column: 1; padding-left: 60px; }
  body.koirea-member-web.koirea-ui2-phase4b .ui2b-hidden-empty { min-height: 250px; padding: 24px 16px; }
}

/* Recruitment, likes and footprints share one page-heading and tab owner. */
body.koirea-ui2-phase4b .ui2-member-activity-header {
  width: 100%;
  min-height: 132px;
  margin: 0 0 12px !important;
  padding: 23px 26px !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--ui2b-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--ui2b-shadow);
  text-align: left;
}
body.koirea-ui2-phase4b .ui2-member-activity-header .koirea-page-header__main { min-width: 0; flex: 1 1 250px; }
body.koirea-ui2-phase4b .ui2-member-activity-header .koirea-page-header__eyebrow { margin: 0 0 5px; color: var(--ui2b-primary); font-size: 11px; font-weight: 850; }
body.koirea-ui2-phase4b .ui2-member-activity-header .koirea-page-header__title { margin: 0 0 6px; color: var(--ui2b-ink); font-size: clamp(25px, 2.5vw, 31px); line-height: 1.2; }
body.koirea-ui2-phase4b .ui2-member-activity-header .koirea-page-header__description { max-width: 590px; margin: 0; color: var(--ui2b-muted); font-size: 13px; line-height: 1.55; }
body.koirea-ui2-phase4b .ui2-member-activity-header__summary { min-height: 50px; padding: 8px 13px; display: grid; grid-template-columns: 22px auto; grid-template-rows: auto auto; align-items: center; column-gap: 9px; border: 1px solid var(--ui2b-line); border-radius: 13px; background: #fffdfb; }
body.koirea-ui2-phase4b .ui2-member-activity-header__summary svg { grid-row: 1 / 3; width: 20px; height: 20px; }
body.koirea-ui2-phase4b .ui2-member-activity-header__summary span { color: var(--ui2b-muted); font-size: 10px; }
body.koirea-ui2-phase4b .ui2-member-activity-header__summary strong { color: var(--ui2b-ink); font-size: 15px; line-height: 1.1; }
body.koirea-ui2-phase4b .ui2-member-activity-tabs {
  width: 100%;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 5px;
  display: flex;
  gap: 4px;
  border: 1px solid var(--ui2b-line);
  border-radius: 15px;
  background: #fff;
  overflow-x: auto;
}
body.koirea-ui2-phase4b .ui2-member-activity-tabs a {
  min-width: 0;
  min-height: 43px;
  padding: 8px 12px;
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  color: #536078;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
body.koirea-ui2-phase4b .ui2-member-activity-tabs a:is([aria-current="page"], [aria-selected="true"]) { color: var(--ui2b-primary); background: #fff0f4; }
body.koirea-ui2-phase4b .ui2-member-activity-tabs a:focus-visible { outline: 3px solid rgba(217,54,93,.35); outline-offset: 2px; }
body.koirea-ui2-phase4b .ui2-member-activity-tabs a span,
body.koirea-ui2-phase4b .ui2-member-activity-tabs a strong { font-size: 11px; }

@media (max-width: 760px) {
  body.koirea-ui2-phase4b .ui2-member-activity-header { min-height: 0; padding: 17px 18px !important; gap: 10px; }
  body.koirea-ui2-phase4b .ui2-member-activity-header .koirea-page-header__main { flex-basis: 100%; }
  body.koirea-ui2-phase4b .ui2-member-activity-header .koirea-page-header__title { font-size: 24px; }
  body.koirea-ui2-phase4b .ui2-member-activity-header .koirea-page-header__description { font-size: 12px; }
  body.koirea-ui2-phase4b .ui2-member-activity-header__summary { min-height: 40px; padding: 6px 9px; }
  body.koirea-ui2-phase4b .ui2-member-activity-tabs a { padding-inline: 5px; font-size: 11px; }
}
