/* App-wide final polish for secondary pages. The already-approved primary pages are intentionally excluded. */

.mobile-screen {
  --app-control-height: 44px;
  --app-control-radius: 10px;
  --app-section-gap: 10px;
}

/* Authentication */
.mobile-screen.auth-page-v2 {
  color: var(--ink);
  background: #fff;
}

.mobile-screen.auth-page-v2 .mobile-status,
.mobile-screen.auth-page-v2 .mobile-status-surface {
  color: var(--ink);
  background: #fff;
}

.mobile-screen.auth-page-v2 > main {
  height: calc(100% - 31px);
  box-sizing: border-box;
  padding: 46px 24px 24px;
  overflow-y: auto;
}

.auth-brand-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
}

.mobile-screen.auth-page-v2 .auth-mark,
.mobile-screen.auth-page-v2 .single-shop-auth-logo {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  margin: 0;
  border: 0;
  border-radius: 14px !important;
  color: #fff;
  background: var(--brand);
  box-shadow: none;
  object-fit: cover;
}

.auth-brand-lockup > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.auth-brand-lockup b {
  color: var(--ink);
  font: 700 15px var(--font-display);
  letter-spacing: .03em;
}

.auth-brand-lockup small {
  color: var(--muted);
  font: 500 8px var(--font-mono);
  letter-spacing: .12em;
}

.auth-intro {
  margin-top: 48px;
}

.auth-intro > span {
  color: var(--brand);
  font: 600 8px var(--font-mono);
  letter-spacing: .12em;
}

.mobile-screen.auth-page-v2 h1 {
  margin: 9px 0 7px;
  color: var(--ink);
  font-size: 25px;
  letter-spacing: -.03em;
}

.mobile-screen.auth-page-v2 .auth-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.auth-form {
  margin-top: 30px;
}

.mobile-screen.auth-page-v2 .auth-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 15px;
  color: var(--ink-2);
  font-size: 10px;
}

.auth-field {
  display: grid;
  height: 46px;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: var(--surface-2);
}

.mobile-screen.auth-page-v2 .auth-form .auth-field {
  grid-template-columns: 24px minmax(0, 1fr);
}

.mobile-screen.auth-page-v2 .auth-field input {
  width: 100%;
  height: 46px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  text-align: left;
}

.auth-code-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 102px;
  gap: 8px;
}

.mobile-screen.auth-page-v2 .auth-form .auth-code-field {
  grid-template-columns: minmax(0, 1fr) 102px;
  gap: 8px;
}

.mobile-screen.auth-page-v2 .auth-code-field > button {
  border: 0;
  border-radius: 10px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 11px;
  font-weight: 700;
}

.auth-agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
  padding: 0;
  text-align: left;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 9px;
  line-height: 1.55;
}

.auth-agreement i {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  box-sizing: border-box;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: #fff;
  font-style: normal;
}

.auth-agreement i.active {
  border-color: var(--brand);
  background: var(--brand);
}

.auth-agreement b {
  color: var(--brand);
  font-weight: 600;
}

.mobile-screen.auth-page-v2 .auth-submit {
  height: 46px;
  margin-top: 18px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  box-shadow: none;
}

.mobile-screen.auth-page-v2 .auth-switch {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
}

.mobile-screen.auth-page-v2 .auth-switch button {
  padding: 5px 2px;
  border: 0;
  color: var(--brand);
  background: transparent;
  font-size: 10px;
  font-weight: 700;
}

/* Privacy and notification preferences */
.mobile-screen .preference-page-v2 {
  padding: 0 0 24px;
  background: var(--paper);
}

.mobile-screen .preference-hero {
  padding: 27px 18px 24px;
  border-radius: 0 !important;
  background: #fff;
}

.preference-hero > span {
  color: var(--brand);
  font: 600 8px var(--font-mono);
  letter-spacing: .12em;
}

.preference-hero h2 {
  margin: 9px 0 7px;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -.02em;
}

.preference-hero p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.mobile-screen .preference-list {
  margin-top: 10px;
  padding: 0 16px;
  border-radius: 0 !important;
  background: #fff;
}

.preference-row {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 66px;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 14px;
  padding: 0;
  text-align: left;
  border: 0;
  background: transparent;
}

.preference-row + .preference-row::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: '';
}

.preference-row > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.preference-row b {
  color: var(--ink);
  font-size: 12px;
}

.preference-row small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.preference-switch {
  position: relative;
  display: block;
  width: 38px;
  height: 22px;
  justify-self: end;
  border-radius: 12px;
  background: #dfe4e1;
  transition: background .18s ease;
}

.preference-switch em {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(17,38,28,.14);
  transition: transform .18s ease;
}

.preference-switch.active { background: var(--brand); }
.preference-switch.active em { transform: translateX(16px); }

.mobile-screen .preference-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  margin: 10px 0 0;
  padding: 15px 16px;
  border: 0;
  border-radius: 0 !important;
  background: var(--brand-soft);
}

.preference-note > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: var(--brand);
  background: rgba(255,255,255,.7);
}

.preference-note h3 {
  margin: 0 0 4px;
  font-size: 11px;
}

.preference-note p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.preference-link {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 16px;
  border: 0;
  color: var(--ink-2);
  background: #fff;
  font-size: 10px;
}

/* Remaining secondary pages: flatter sections, consistent controls, restrained boundaries. */
.mobile-screen :where(
  .product-list-page,
  .collection-page,
  .mobile-order-list,
  .confirm-scroll,
  .order-detail-scroll,
  .coupon-page,
  .points-page,
  .points-mall-page,
  .activity-page,
  .address-list-page,
  .reviews-page,
  .feedback-page-proto,
  .settings-page,
  .result-page,
  .logistics-page,
  .form-page,
  .review-detail-page,
  .profile-edit-page,
  .about-page,
  .activity-products-page,
  .points-product-page,
  .campaign-detail-page .mobile-scroll,
  .group-select-page,
  .refund-detail-page
) {
  color: var(--ink);
  background: var(--paper);
}

.mobile-screen :where(
  .product-list-page,
  .collection-page,
  .secondary-page,
  .points-page,
  .points-mall-page,
  .activity-page,
  .activity-products-page,
  .address-list-page,
  .reviews-page
) {
  background: #fff;
}

/* Lists use row dividers; section changes use a single quiet spacer, never both. */
.mobile-screen .address-list-page {
  height: calc(100% - 31px - 48px - 61px);
  box-sizing: border-box;
}

.mobile-screen .address-list-page article:last-child {
  border-bottom: 0;
}

.mobile-screen .address-list-page footer {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 0;
}

.mobile-screen .address-create-bar {
  padding: 9px 16px;
}

.mobile-screen .points-records {
  margin: 0;
  padding: 14px 16px 0;
  border: 0;
  border-top: 8px solid var(--paper);
}

.mobile-screen .points-records > .points-record-title {
  min-height: 40px;
  padding: 0 0 8px;
  border: 0;
}

.mobile-screen .points-records > div:not(.points-record-title) {
  padding: 12px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.mobile-screen .points-records > div:last-child {
  border-bottom: 0;
}

.mobile-screen .address-delete-action {
  color: var(--price);
}

.mobile-screen .address-edit-page {
  height: calc(100% - 31px - 48px - 62px);
  box-sizing: border-box;
  padding: 0 0 16px;
  background: #fff;
}

.mobile-screen .address-edit-page > label {
  gap: 7px;
  margin: 14px 16px 0;
}

.mobile-screen .address-edit-page > label + label {
  margin-top: 16px;
}

.mobile-screen .address-edit-page .field-required {
  margin-right: 3px;
  color: var(--price);
  font-style: normal;
}

.mobile-screen .address-edit-page .switch-row {
  display: flex !important;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  margin: 20px 16px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.mobile-screen .address-default-checkbox {
  position: relative;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: #fff;
  background: #fff;
}

.mobile-screen .address-default-checkbox.active {
  border-color: var(--brand);
  background: var(--brand);
}

.mobile-screen :where(.form-page input, .form-page select, .form-page textarea, .feedback-page-proto input, .feedback-page-proto textarea) {
  border: 0;
  border-radius: 9px;
  background: var(--surface-2);
  box-shadow: none;
}

.mobile-screen .form-submit,
.mobile-screen .feedback-submit,
.mobile-screen .single-bottom-action button,
.mobile-screen .confirm-submit-bar > button,
.mobile-screen .order-detail-actions .primary {
  height: var(--app-control-height);
  border-radius: var(--app-control-radius);
  box-shadow: none;
}

.mobile-screen .activity-tabs {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.mobile-screen .activity-tabs button {
  color: var(--muted);
  background: transparent;
}

.mobile-screen .activity-tabs button.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.mobile-screen .activity-tabs button small { color: inherit; opacity: .72; }

.mobile-screen .logistics-preview {
  margin-top: 10px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.mobile-screen .coupon-center-page {
  padding-top: 0;
}

.mobile-screen .coupon-center-note {
  margin: 0 0 10px;
  padding: 16px;
  border-radius: 0 !important;
  color: var(--ink);
  background: var(--brand-soft);
}

.mobile-screen .coupon-center-note b {
  color: var(--brand);
}

.mobile-screen .coupon-center-note span {
  color: var(--muted);
}

.mobile-screen .review-filter button,
.mobile-screen .points-mall-tabs button {
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
}

.mobile-screen .review-filter button.active,
.mobile-screen .points-mall-tabs button.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.mobile-screen .feedback-upload button,
.mobile-screen .upload-grid button {
  border-color: var(--line-strong);
  border-radius: 10px;
  background: var(--surface-2);
}

.mobile-screen .form-page > .form-submit,
.mobile-screen .profile-edit-page > .form-submit {
  width: calc(100% - 32px);
  margin-right: 16px;
  margin-left: 16px;
}

.mobile-screen .settings-page > button,
.mobile-screen .about-page > button {
  border-color: var(--line);
  background: #fff;
}

.mobile-screen .settings-page .logout-button {
  border: 0;
  color: var(--danger);
  background: #fff;
}

.mobile-screen .about-page {
  padding-right: 20px;
  padding-left: 20px;
  background: #fff;
}

.mobile-screen .about-page > p {
  max-width: 310px;
  font-size: 10px;
}

.mobile-screen .about-page > div,
.mobile-screen .about-page > button {
  min-height: 48px;
  font-size: 10px;
}

.mobile-screen .legal-page {
  padding: 10px 0 24px;
  background: var(--paper);
}

.mobile-screen .legal-page section {
  padding: 18px 16px 22px;
  background: #fff;
}

.mobile-screen .legal-page section + section { margin-top: 10px; }
.mobile-screen .legal-page h2 { margin: 0; color: var(--ink); font-size: 17px; }
.mobile-screen .legal-page p { margin: 12px 0 0; color: var(--ink-2); font-size: 11px; line-height: 1.9; white-space: pre-wrap; }

.mobile-screen .result-page {
  background: #fff;
}

.mobile-screen .result-icon {
  border-radius: 50% !important;
  box-shadow: none;
}

.mobile-screen .result-page > button:not(.primary) {
  border: 0;
  color: var(--brand);
  background: var(--brand-soft);
}

/* Payment result: one calm layout for success, processing, cancel and failure. */
.mobile-screen .pay-result-v2 {
  height: calc(100% - 31px - 48px - 62px);
  box-sizing: border-box;
  overflow-y: auto;
  background: #fff;
}

.mobile-screen .pay-result-hero {
  display: flex;
  min-height: 242px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 34px 28px 30px;
  text-align: center;
}

.mobile-screen .pay-result-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 20px;
  color: var(--brand);
  background: var(--brand-soft);
}

.mobile-screen .pay-result-icon.processing { color: var(--warning); background: var(--warning-soft); }
.mobile-screen .pay-result-icon.neutral { color: var(--muted); background: var(--surface-2); }
.mobile-screen .pay-result-icon.failed { color: var(--danger); background: var(--danger-soft); }
.mobile-screen .pay-result-hero h1 { margin: 18px 0 0; color: var(--ink); font-size: 20px; }
.mobile-screen .pay-result-hero p { max-width: 250px; margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }

.mobile-screen .pay-result-info {
  padding: 16px;
  border-top: 10px solid var(--paper);
  background: #fff;
}

.mobile-screen .pay-result-info > div {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
}

.mobile-screen .pay-result-info b { overflow: hidden; color: var(--ink-2); font-weight: 500; text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .pay-result-info strong { color: var(--price); font-size: 17px; }
.mobile-screen .pay-processing-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 14px 16px 0; padding: 10px; border-radius: 9px; color: var(--muted); background: var(--surface-2); font-size: 9px; }
.mobile-screen .pay-processing-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 0 4px var(--warning-soft); animation: prototypePulse 1.4s infinite; }

@keyframes prototypePulse {
  0%, 100% { opacity: .45; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1); }
}

.mobile-screen .pay-result-actions {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: 62px;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  box-sizing: border-box;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.98);
  box-shadow: 0 -8px 24px rgba(18,38,29,.035);
}

.mobile-screen .pay-result-actions button { height: 42px; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--ink-2); background: #fff; font-size: 11px; font-weight: 600; }
.mobile-screen .pay-result-actions button.primary { color: #fff; border-color: var(--brand); background: var(--brand); }

/* Logistics: flat summary, real order context and a quiet tracking timeline. */
.mobile-screen .logistics-page-v2 { padding: 0 0 22px; background: var(--paper); }
.mobile-screen .logistics-page-v2 > section { color: var(--ink); border: 0; border-radius: 0 !important; background: #fff; }
.mobile-screen .logistics-summary-v2 { display: grid; min-height: 86px; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 15px 16px; }
.mobile-screen .logistics-summary-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: var(--brand); background: var(--brand-soft); }
.mobile-screen .logistics-summary-v2 > div { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.mobile-screen .logistics-summary-v2 > div > b { color: var(--ink); font-size: 13px; }
.mobile-screen .logistics-summary-v2 > div > span { display: flex; min-width: 0; align-items: center; gap: 7px; }
.mobile-screen .logistics-summary-v2 em { overflow: hidden; color: var(--muted); font-size: 9px; font-style: normal; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .logistics-summary-v2 button { padding: 0; border: 0; color: var(--brand); background: transparent; font-size: 9px; }
.mobile-screen .logistics-summary-v2 > .status-ticket { color: var(--brand); background: var(--brand-soft); font-size: 8px; }
.mobile-screen .logistics-order-v2 { display: grid; min-height: 82px; grid-template-columns: 104px minmax(0, 1fr) 20px; align-items: center; gap: 10px; margin-top: 10px; padding: 13px 16px; }
.mobile-screen .logistics-order-v2 > div { position: relative; display: flex; width: 104px; align-items: center; flex-direction: row; gap: 0; }
.mobile-screen .logistics-order-v2 .product-art { width: 54px; height: 54px; flex: 0 0 54px; border: 2px solid #fff; border-radius: 9px; }
.mobile-screen .logistics-order-v2 .product-art + .product-art { margin-left: -18px; }
.mobile-screen .logistics-order-v2 > div > span { display: grid; width: 24px; height: 24px; place-items: center; margin-left: -8px; color: var(--muted); border: 2px solid #fff; border-radius: 8px; background: var(--surface-2); font-size: 8px; }
.mobile-screen .logistics-order-v2 p { display: flex; min-width: 0; flex-direction: column; gap: 5px; margin: 0; }
.mobile-screen .logistics-order-v2 p b,
.mobile-screen .logistics-order-v2 p small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .logistics-order-v2 p b { color: var(--ink); font-size: 10px; }
.mobile-screen .logistics-order-v2 p small { color: var(--muted); font-size: 8px; }
.mobile-screen .logistics-order-v2 > button { display: grid; width: 20px; height: 28px; place-items: center; padding: 0; border: 0; color: var(--muted); background: transparent; }
.mobile-screen .logistics-page-v2 > .logistics-timeline-v2 { display: block; margin-top: 10px; padding: 15px 16px 18px; }
.mobile-screen .logistics-timeline-v2 > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobile-screen .logistics-timeline-v2 h2 { margin: 0; color: var(--ink); font-size: 14px; }
.mobile-screen .logistics-timeline-v2 > header span { color: var(--muted); font-size: 8px; }
.mobile-screen .logistics-timeline-v2 article { padding: 0; border: 0; border-radius: 0; background: #fff; }
.mobile-screen .logistics-timeline-v2 article > div { position: relative; display: grid; min-height: 66px; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; }
.mobile-screen .logistics-timeline-v2 article > div::before { position: absolute; top: 11px; bottom: -4px; left: 5px; width: 1px; background: var(--line); content: ''; }
.mobile-screen .logistics-timeline-v2 article > div:last-child::before { display: none; }
.mobile-screen .logistics-timeline-v2 article i { position: relative; z-index: 1; width: 10px; height: 10px; box-sizing: border-box; border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; }
.mobile-screen .logistics-timeline-v2 article .active i { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.mobile-screen .logistics-timeline-v2 article span { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.mobile-screen .logistics-timeline-v2 article b { color: var(--ink-2); font-size: 10px; line-height: 1.55; }
.mobile-screen .logistics-timeline-v2 article small { color: var(--muted); font-size: 8px; }
.mobile-screen .logistics-state-v2 { display: flex; min-height: 100%; box-sizing: border-box; align-items: center; justify-content: center; flex-direction: column; padding: 42px 28px 72px; text-align: center; background: #fff; }
.mobile-screen .logistics-state-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; color: var(--brand); background: var(--brand-soft); }
.mobile-screen .logistics-state-v2 b { margin-top: 16px; color: var(--ink); font-size: 15px; }
.mobile-screen .logistics-state-v2 span:not(.logistics-state-icon) { max-width: 240px; margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.65; }
.mobile-screen .logistics-state-v2 button { min-width: 100px; height: 36px; margin-top: 20px; border: 0; border-radius: 9px; color: #fff; background: var(--brand); font-size: 10px; }
.mobile-screen .logistics-loading-v2 > i { width: 28px; height: 28px; border: 3px solid var(--brand-soft); border-top-color: var(--brand); border-radius: 50%; animation: logisticsSpin .8s linear infinite; }

@keyframes logisticsSpin { to { transform: rotate(360deg); } }

.mobile-screen :where(.address-list-page article, .mobile-order-card, .activity-card, .points-product-list article, .activity-products-page article, .review-full-item) {
  box-shadow: none;
}

.mobile-screen .collection-page .product-card {
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0 !important;
}

.mobile-screen :where(.collection-favorite-action, .collection-history-action) {
  display: grid;
  position: absolute;
  top: 7px;
  right: 7px;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--brand);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 7px rgba(18, 38, 29, .08);
}

.mobile-screen .collection-history-action { color: var(--muted); }

.mobile-screen .history-toolbar {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
}

.mobile-screen .history-toolbar button {
  padding: 6px 0 6px 14px;
  border: 0;
  color: var(--brand);
  background: transparent;
  font-size: 10px;
  font-weight: 600;
}

.mobile-screen .collection-empty { min-height: 420px; }

.mobile-screen .history-clear-sheet { padding: 10px 18px 20px; }
.mobile-screen .history-clear-sheet h2 { margin: 7px 0 7px; font-size: 17px; text-align: center; }
.mobile-screen .history-clear-sheet p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }
.mobile-screen .history-clear-sheet > div:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mobile-screen .history-clear-sheet > div:last-child button { height: 42px; border: 0; border-radius: 9px; color: var(--ink); background: var(--surface-2); font-size: 12px; font-weight: 600; }
.mobile-screen .history-clear-sheet > div:last-child button.danger { color: #fff; background: var(--danger); }

.mobile-screen .product-card-sub {
  display: block;
  min-width: 0;
  max-width: calc(100% - 20px);
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mobile-screen .detail-gallery > .product-art {
  transform: none;
}

.mobile-screen .detail-side-actions {
  top: auto;
  right: 14px;
  bottom: 12px;
  flex-direction: row;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 5px 18px rgba(18, 38, 29, .14);
  backdrop-filter: blur(8px);
}

.mobile-screen .detail-side-actions button {
  width: 32px;
  height: 32px;
  background: transparent;
  box-shadow: none;
}

.mobile-screen .detail-side-actions button.is-favorite {
  background: var(--price-soft);
}

.mobile-screen.product-detail > .mobile-status {
  position: relative;
  z-index: 7;
  background: transparent;
  pointer-events: none;
}

.mobile-screen.product-detail > .detail-floatbar {
  z-index: 10;
}

.mobile-screen .product-detail-nav-surface {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 0;
  left: 0;
  height: 79px;
  opacity: 0;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 4px 16px rgba(18, 38, 29, .05);
  pointer-events: none;
  transition: opacity .2s ease;
}

.mobile-screen .product-detail-nav-surface.visible {
  opacity: 1;
}

.mobile-screen .product-section-tabs {
  position: absolute;
  z-index: 9;
  top: 79px;
  right: 0;
  left: 0;
  display: grid;
  height: 44px;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity .2s ease, transform .2s ease;
}

.mobile-screen .product-section-tabs.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-screen .product-section-tabs button {
  position: relative;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
}

.mobile-screen .product-section-tabs button.active {
  color: var(--brand);
  font-weight: 700;
}

.mobile-screen .product-section-tabs button.active::after {
  position: absolute;
  right: 33%;
  bottom: 0;
  left: 33%;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  content: '';
}

.mobile-screen.product-detail .detail-scroll-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 67px;
  left: 0;
  height: auto;
  padding-bottom: 20px;
}

.mobile-screen.product-detail .detail-gallery {
  margin-top: 0;
}

.mobile-screen :where(.coupon-card, .coupon-select-card, .random-group, .group-option) {
  border-color: var(--line);
  box-shadow: none;
}

.mobile-screen .coupon-page-v2 { padding: 10px 12px 22px; }
.mobile-screen .owned-coupon-page { height: calc(100% - 31px - 48px - 40px - 68px); }

.mobile-screen .coupon-center-entry {
  display: grid;
  width: calc(100% - 24px);
  height: 48px;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  margin: 10px 12px;
  padding: 0 11px;
  text-align: left;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: var(--brand-soft);
}

.mobile-screen .coupon-center-entry-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; color: #fff; background: var(--brand); }
.mobile-screen .coupon-center-entry > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.mobile-screen .coupon-center-entry b { overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .coupon-center-entry small { color: var(--muted); font-size: 8px; }
.mobile-screen .coupon-center-entry > .icon { justify-self: end; color: var(--muted); }

.mobile-screen .points-page-with-entry {
  height: calc(100% - 31px - 48px - 68px);
}

.mobile-screen .product-spec-sheet {
  padding-bottom: 46px;
}

.mobile-screen .review-item > .review-user {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
}

.mobile-screen .review-item > p,
.mobile-screen .review-item-images {
  margin-left: 48px;
}

.mobile-screen .review-item-images {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.mobile-screen .review-item-images button {
  width: 64px;
  height: 64px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--surface-2);
}

.mobile-screen .review-item-images .product-art {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.mobile-screen .review-thread-preview {
  display: block;
  margin: 12px 0 0 48px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-2);
}

.mobile-screen .review-thread-preview p {
  margin: 0;
  color: var(--ink-2);
  font-size: 11px !important;
  line-height: 1.6;
}

.mobile-screen .review-thread-preview p + p {
  margin-top: 5px;
}

.mobile-screen .review-thread-preview p b {
  color: var(--brand);
  font-size: inherit !important;
}

.mobile-screen .review-thread-preview p span {
  color: inherit;
  font-size: inherit !important;
}

.mobile-screen .review-thread-preview > button {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 7px;
  padding: 0;
  border: 0;
  color: var(--brand);
  background: transparent;
  font-size: 11px !important;
  font-weight: 700;
}

.mobile-screen .rich-text-prototype {
  overflow: hidden;
  color: var(--ink);
  background: #fff;
}

.mobile-screen .rich-text-prototype .product-art {
  width: 100%;
  height: 220px;
  border-radius: 0;
}

.mobile-screen .rich-text-prototype h3 {
  margin: 18px 0 8px;
  font-size: 16px;
}

.mobile-screen .rich-text-prototype p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.mobile-screen .rich-text-prototype .rich-text-detail-art {
  margin-top: 4px;
}

/* Product reviews: one summary hierarchy, calm filters and aligned review content. */
.mobile-screen .reviews-page-v2 {
  padding-bottom: 20px;
  background: #fff;
}

.mobile-screen .review-summary-v2 {
  display: grid;
  min-height: 104px;
  grid-template-columns: 1.25fr 1fr 1fr;
  align-items: center;
  padding: 18px 16px;
  border-bottom: 8px solid var(--paper);
  background: #fff;
}

.mobile-screen .review-rate,
.mobile-screen .review-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-screen .review-rate {
  align-items: flex-start;
}

.mobile-screen .review-rate b {
  color: var(--brand);
  font: 700 30px var(--font-display);
  line-height: 1;
}

.mobile-screen .review-rate b small {
  margin-left: 1px;
  color: inherit;
  font-size: 13px !important;
}

.mobile-screen .review-rate span,
.mobile-screen .review-stat small {
  color: var(--muted);
  font-size: 11px !important;
}

.mobile-screen .review-stat strong {
  color: var(--ink);
  font: 700 17px var(--font-mono);
}

.mobile-screen .review-filter-v2 {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.mobile-screen .review-filter-v2 button {
  min-width: 64px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 17px;
  color: var(--muted);
  background: var(--surface-2);
}

.mobile-screen .review-filter-v2 button.active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 700;
}

.mobile-screen .review-list-v2 {
  background: #fff;
}

.mobile-screen .review-full-item-v2 {
  position: relative;
  padding: 16px;
  border: 0;
}

.mobile-screen .review-full-item-v2::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 64px;
  height: 1px;
  background: var(--line);
  content: '';
}

.mobile-screen .review-full-item-v2:last-child::after {
  display: none;
}

.mobile-screen .review-full-item-v2 header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.mobile-screen .review-full-item-v2 header b {
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mobile-screen .review-full-item-v2 header time {
  color: var(--muted);
  font-size: 11px;
}

.mobile-screen .review-full-item-v2 .stars,
.mobile-screen .review-full-item-v2 > p,
.mobile-screen .review-full-item-v2 .review-image-row,
.mobile-screen .review-full-item-v2 > small {
  margin-left: 48px;
}

.mobile-screen .review-full-item-v2 .stars {
  margin-top: 10px;
  margin-bottom: 0;
  color: #c98b2e;
  font-size: 13px !important;
  letter-spacing: 1px;
}

.mobile-screen .review-full-item-v2 > p {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--ink-2);
  font-size: 13px !important;
  line-height: 1.65;
}

.mobile-screen .review-full-item-v2 .review-image-row {
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 0;
}

.mobile-screen .review-full-item-v2 .review-image-row button {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-2);
}

.mobile-screen .review-full-item-v2 .review-image-row .product-art {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.mobile-screen .review-full-item-v2 > small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px !important;
}

.mobile-screen .review-full-item-v2 .review-thread-full {
  margin: 12px 0 0 48px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-2);
}

.mobile-screen .review-thread-full > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 9px 11px;
}

.mobile-screen .review-thread-full > div + div {
  border-top: 1px solid var(--line);
}

.mobile-screen .review-thread-full > div.buyer {
  background: rgba(232, 242, 237, .55);
}

.mobile-screen .review-thread-full p {
  margin: 0;
  color: var(--ink-2);
  font-size: 11px !important;
  line-height: 1.55;
}

.mobile-screen .review-thread-full p b {
  color: var(--brand);
  font-size: inherit !important;
}

.mobile-screen .review-thread-full p span {
  color: inherit;
  font-size: inherit !important;
}

.mobile-screen .review-thread-full time {
  align-self: start;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.mobile-screen .coupon-card-v2 {
  display: grid;
  min-height: 116px;
  grid-template-columns: 80px minmax(0, 1fr) 64px;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px !important;
  background: #fff;
}

.mobile-screen .coupon-card-v2::before { display: none; }
.mobile-screen .coupon-card-v2.is-disabled { opacity: .68; filter: none; }

.mobile-screen .coupon-card-v2 .coupon-value {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 12px 8px;
  border-right: 1px dashed #e5d6d1;
  background: var(--price-soft);
}

.mobile-screen .coupon-card-v2 .coupon-value b { color: var(--price); font-size: 22px !important; }
.mobile-screen .coupon-card-v2 .coupon-value span { color: #9a5a4e; text-align: center; }

.mobile-screen .coupon-card-v2 .coupon-copy {
  display: flex;
  min-width: 0;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 11px 0;
}

.mobile-screen .coupon-title-line { display: flex; min-width: 0; align-items: center; gap: 6px; }
.mobile-screen .coupon-title-line b { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .coupon-title-line em { flex: 0 0 auto; padding: 2px 5px; border-radius: 4px; color: var(--brand); background: var(--brand-soft); font-size: 8px; font-style: normal; }
.mobile-screen .coupon-shop { display: flex; min-width: 0; align-items: center; gap: 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .coupon-tag-line { display: flex; min-height: 16px; align-items: center; gap: 5px; }
.mobile-screen .coupon-tag-line i { padding: 2px 5px; border-radius: 4px; color: var(--warning); background: var(--warning-soft); font-size: 8px; font-style: normal; }
.mobile-screen .coupon-tag-line small { color: var(--muted); font-size: 9px !important; }

.mobile-screen .coupon-card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 10px;
}

.mobile-screen .coupon-card-action button {
  width: 58px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--price);
  border-radius: 15px;
  color: var(--price);
  background: #fff;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.mobile-screen .coupon-card-action button:disabled { color: var(--muted); border-color: var(--line); background: var(--surface-2); }

.mobile-screen .coupon-center-note-v2 {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 13px 14px;
  border-radius: 10px !important;
  background: var(--brand-soft);
}

.mobile-screen .coupon-center-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: #fff !important; background: var(--brand); }
.mobile-screen .coupon-center-note-v2 > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.mobile-screen .coupon-center-note-v2 b { color: var(--ink); font-size: 13px; }
.mobile-screen .coupon-center-note-v2 small { color: var(--muted); font-size: 9px; }

.mobile-screen .coupon-range-tabs {
  display: flex;
  gap: 7px;
  margin: 0 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mobile-screen .coupon-range-tabs::-webkit-scrollbar { display: none; }
.mobile-screen .coupon-range-tabs button { flex: 0 0 auto; height: 30px; padding: 0 11px; border: 0; border-radius: 15px; color: var(--muted); background: var(--surface-2); font-size: 9px; }
.mobile-screen .coupon-range-tabs button.active { color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.mobile-screen .order-list-v2 { background: var(--paper); }

.mobile-screen .empty-state-v2 {
  grid-column: 1 / -1;
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
  padding: 38px 28px;
  text-align: center;
  background: #fff;
}

.mobile-screen .empty-state-v2.is-fill { min-height: calc(100% - 10px); padding-bottom: 76px; }
.mobile-screen .empty-state-v2.is-compact { min-height: 180px; padding: 28px 20px; }

.mobile-screen .empty-state-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 19px;
  color: var(--brand);
  background: var(--brand-soft);
}

.mobile-screen .empty-state-v2.is-compact .empty-state-icon { width: 50px; height: 50px; border-radius: 15px; }
.mobile-screen .empty-state-v2 > b { margin-top: 18px; color: var(--ink); font-size: 16px; }
.mobile-screen .empty-state-v2.is-compact > b { margin-top: 14px; font-size: 13px; }
.mobile-screen .empty-state-v2 > p { max-width: 260px; margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.mobile-screen .empty-state-v2 > button { min-width: 112px; height: 38px; margin-top: 22px; padding: 0 20px; border: 0; border-radius: 9px; color: #fff; background: var(--brand); font-size: 11px; font-weight: 600; }

.mobile-screen .order-card-v2 {
  margin: 10px 0 0;
  padding: 0 !important;
  border: 0;
  background: #fff;
}

.mobile-screen .order-card-head {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.mobile-screen .order-card-shop { display: flex; min-width: 0; align-items: center; gap: 7px; }
.mobile-screen .order-card-shop .icon { color: var(--brand); }
.mobile-screen .order-card-shop b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.mobile-screen .order-card-meta {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: var(--muted);
  font-size: 9px;
}

.mobile-screen .order-product-list { margin-top: 2px; }

.mobile-screen .order-product-row {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 98px;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  text-align: left;
  border: 0;
  background: #fff;
}

.mobile-screen .order-product-row + .order-product-row::before {
  position: absolute;
  top: 0;
  right: 16px;
  left: 103px;
  height: 1px;
  background: var(--line);
  content: '';
}

.mobile-screen .order-product-row .product-art { width: 76px; height: 76px; border-radius: 9px; }
.mobile-screen .order-product-row > span { display: flex; min-width: 0; align-self: stretch; justify-content: center; flex-direction: column; gap: 6px; }
.mobile-screen .order-product-row b { overflow: hidden; font-size: 12px !important; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .order-product-row small { overflow: hidden; color: var(--muted); font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .order-product-row em { display: flex; align-items: center; justify-content: space-between; color: var(--price); font-style: normal; }
.mobile-screen .order-product-row strong { font-size: 14px; }
.mobile-screen .order-product-row i { color: var(--muted); font-size: 9px; font-style: normal; }

.mobile-screen .order-card-summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 16px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 9px;
  flex-wrap: wrap;
}

.mobile-screen .order-card-summary .saving { color: var(--price); }
.mobile-screen .order-card-summary b { color: var(--ink); font-size: 12px !important; }

.mobile-screen .order-card-footer {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 16px 12px;
}

.mobile-screen .order-card-footer > span { flex: 0 0 auto; color: var(--muted); font-size: 8px !important; }
.mobile-screen .order-card-footer > div { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.mobile-screen .order-card-footer button { height: 28px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink-2); background: #fff; font-size: 9px; white-space: nowrap; }
.mobile-screen .order-card-footer button.primary { color: #fff; border-color: var(--brand); background: var(--brand); }

/* Order detail: flat white sections separated by whitespace. */
.mobile-screen .order-detail-v2 { padding: 0 0 72px; background: var(--paper); }

.mobile-screen .order-status-v2 {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 19px 16px 21px;
  background: #fff;
}

.mobile-screen .order-status-v2 > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 12px; color: var(--brand); background: var(--brand-soft); }
.mobile-screen .order-status-v2 small { color: var(--muted); font-size: 9px; }
.mobile-screen .order-status-v2 h2 { margin: 3px 0 4px; color: var(--ink); font-size: 18px; }
.mobile-screen .order-status-v2 p { margin: 0; color: var(--muted); font-size: 10px; }

.mobile-screen .order-detail-section {
  margin-top: 10px;
  padding: 15px 16px 17px;
  background: #fff;
}

.mobile-screen .order-section-title { display: flex; min-height: 28px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mobile-screen .order-section-title h2 { margin: 0; color: var(--ink); font-size: 14px; }
.mobile-screen .order-section-title > span { display: flex; min-width: 0; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; }

.mobile-screen .logistics-section-v2 { padding: 12px 16px; }
.mobile-screen .logistics-section-v2 > button { display: grid; width: 100%; min-height: 72px; grid-template-columns: 34px minmax(0, 1fr) 18px; align-items: center; gap: 10px; padding: 10px 12px; text-align: left; border: 0; border-radius: 10px; background: var(--brand-soft); }
.mobile-screen .logistics-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: var(--brand); background: rgba(255,255,255,.72); }
.mobile-screen .logistics-section-v2 > button > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.mobile-screen .logistics-section-v2 small,
.mobile-screen .logistics-section-v2 em { color: var(--muted); font-size: 8px; font-style: normal; }
.mobile-screen .logistics-section-v2 b { overflow: hidden; color: var(--ink); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .logistics-section-v2 > button > .icon { justify-self: end; color: var(--muted); }

.mobile-screen .order-address-v2 { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 9px; }
.mobile-screen .order-address-v2 > .icon { margin-top: 1px; color: var(--brand); }
.mobile-screen .order-address-v2 b { color: var(--ink); font-size: 12px; }
.mobile-screen .order-address-v2 p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

.mobile-screen .order-product-v2 { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 11px; }
.mobile-screen .order-product-v2 .product-art { width: 82px; height: 82px; border-radius: 9px; }
.mobile-screen .order-product-v2 > div { display: flex; min-width: 0; align-self: stretch; justify-content: center; flex-direction: column; gap: 7px; }
.mobile-screen .order-product-v2 b { overflow: hidden; color: var(--ink); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .order-product-v2 span { color: var(--muted); font-size: 9px; }
.mobile-screen .order-product-v2 > div > div { display: flex; align-items: center; justify-content: space-between; }
.mobile-screen .order-product-v2 strong { color: var(--price); font-size: 16px; }
.mobile-screen .order-product-v2 small { color: var(--muted); font-size: 9px; }

.mobile-screen .order-timeline-v2 > div { position: relative; display: grid; min-height: 38px; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: start; color: var(--muted); font-size: 9px; }
.mobile-screen .order-timeline-v2 > div::before { position: absolute; top: 11px; bottom: -4px; left: 4px; width: 1px; background: var(--line); content: ''; }
.mobile-screen .order-timeline-v2 > div:last-child::before { display: none; }
.mobile-screen .order-timeline-v2 i { position: relative; z-index: 1; width: 9px; height: 9px; margin-top: 1px; border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; }
.mobile-screen .order-timeline-v2 .active i { border-color: var(--brand); background: var(--brand); }
.mobile-screen .order-timeline-v2 .active b { color: var(--ink); }

.mobile-screen .order-key-values { display: flex; flex-direction: column; gap: 13px; }
.mobile-screen .order-key-values > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 10px; }
.mobile-screen .order-key-values b { overflow: hidden; color: var(--ink-2); font-weight: 500; text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .order-key-values .total { padding-top: 2px; }
.mobile-screen .order-key-values .total strong { color: var(--price); font-size: 17px; }
.mobile-screen .order-key-values .order-actual-payment { padding-top: 11px; border-top: 1px solid var(--line); }
.mobile-screen .order-number-copy { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 8px; }
.mobile-screen .order-number-copy b { min-width: 0; }
.mobile-screen .order-number-copy button { flex: 0 0 auto; padding: 0; color: var(--brand); border: 0; background: transparent; font-size: 9px; }

.mobile-screen .order-detail-v2 + .order-detail-actions { height: 62px; padding: 9px 12px; border-top: 1px solid var(--line); }
.mobile-screen .order-detail-v2 + .order-detail-actions button { min-width: 0; height: 42px; margin: 0; padding: 0 14px; border-radius: 9px; }

.mobile-screen .single-bottom-action,
.mobile-screen .confirm-submit-bar,
.mobile-screen .order-detail-actions {
  background: rgba(255,255,255,.98);
  box-shadow: 0 -8px 24px rgba(18,38,29,.035);
}

/* Refund application: real order summary, separated reason and evidence fields. */
.mobile-screen .refund-apply-v2 { padding: 0 0 72px; background: var(--paper); }
.mobile-screen .refund-order-summary { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 11px; padding: 15px 16px; background: #fff; }
.mobile-screen .refund-order-summary .product-art { width: 76px; height: 76px; border-radius: 9px; }
.mobile-screen .refund-order-summary > div { display: flex; min-width: 0; justify-content: center; flex-direction: column; gap: 6px; }
.mobile-screen .refund-order-summary b,
.mobile-screen .refund-order-summary span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .refund-order-summary b { color: var(--ink); font-size: 12px; }
.mobile-screen .refund-order-summary span,
.mobile-screen .refund-order-summary small { color: var(--muted); font-size: 9px; }
.mobile-screen .refund-order-summary p { display: flex; align-items: center; justify-content: space-between; margin: 0; }
.mobile-screen .refund-order-summary strong { color: var(--price); font-size: 12px; }
.mobile-screen .refund-form-section { margin-top: 10px; padding: 15px 16px 17px; background: #fff; }
.mobile-screen .refund-form-section h2 { margin: 0 0 8px; color: var(--ink); font-size: 14px; }
.mobile-screen .refund-static-row,
.mobile-screen .refund-select-row { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 10px; }
.mobile-screen .refund-static-row { border-bottom: 1px solid var(--line); }
.mobile-screen .refund-static-row b { color: var(--ink); font-weight: 500; }
.mobile-screen .refund-select-row em { color: var(--price); font-style: normal; }
.mobile-screen button.refund-select-row { width: 100%; padding: 0; text-align: left; border: 0; background: transparent; }
.mobile-screen .refund-select-row > span:last-child { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 4px; overflow: hidden; color: var(--ink); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.mobile-screen .refund-select-row > span:last-child.placeholder { color: var(--muted); }
.mobile-screen .refund-select-row > span:last-child .icon { color: var(--muted); }
.mobile-screen .refund-field-head { display: flex; align-items: baseline; justify-content: space-between; }
.mobile-screen .refund-field-head b { color: var(--ink-2); font-size: 11px; }
.mobile-screen .refund-field-head small { color: var(--muted); font-size: 8px; }
.mobile-screen .refund-textarea-shell { position: relative; margin-top: 9px; }
.mobile-screen .refund-textarea-shell textarea { width: 100%; min-height: 104px; box-sizing: border-box; padding: 10px 10px 23px; border: 0; border-radius: 9px; color: var(--ink-2); background: var(--surface-2); resize: none; font-size: 10px; line-height: 1.6; }
.mobile-screen .refund-textarea-shell > small { position: absolute; right: 9px; bottom: 7px; color: var(--muted); font-size: 8px; }
.mobile-screen .refund-evidence-head { margin-top: 16px; }
.mobile-screen .refund-evidence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 9px; }
.mobile-screen .refund-evidence-grid > button { position: relative; height: 66px; overflow: hidden; padding: 0; border: 0; border-radius: 9px; background: var(--surface-2); }
.mobile-screen .refund-evidence-grid .product-art { width: 100%; height: 100%; border-radius: 0; }
.mobile-screen .refund-evidence-grid i { position: absolute; top: 3px; right: 3px; display: grid; width: 17px; height: 17px; place-items: center; color: #fff; border-radius: 50%; background: rgba(16,31,24,.64); font-size: 11px; font-style: normal; }
.mobile-screen .refund-evidence-grid > .refund-evidence-add { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: var(--brand); border: 1px dashed var(--line-strong); font-size: 8px; }
.mobile-screen .refund-submit-placeholder { height: 10px; }
.mobile-screen .refund-submit-bar { height: 62px; padding: 9px 12px; }
.mobile-screen .refund-submit-bar button { height: 42px; border-radius: 9px; }
.mobile-screen .refund-page-state-v2 { display: flex; height: calc(100% - 31px - 48px); box-sizing: border-box; align-items: center; justify-content: center; flex-direction: column; padding: 42px 28px 72px; text-align: center; background: #fff; }
.mobile-screen .refund-page-state-v2 > i { width: 28px; height: 28px; border: 3px solid var(--brand-soft); border-top-color: var(--brand); border-radius: 50%; animation: logisticsSpin .8s linear infinite; }
.mobile-screen .refund-state-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; color: var(--brand); background: var(--brand-soft); }
.mobile-screen .refund-page-state-v2 b { margin-top: 16px; color: var(--ink); font-size: 15px; }
.mobile-screen .refund-page-state-v2 > span:not(.refund-state-icon) { margin-top: 7px; color: var(--muted); font-size: 9px; }
.mobile-screen .refund-page-state-v2 button { min-width: 100px; height: 36px; margin-top: 20px; border: 0; border-radius: 9px; color: #fff; background: var(--brand); font-size: 10px; }
.mobile-screen .refund-reason-sheet { max-height: 76%; padding-bottom: 14px; }
.mobile-screen .refund-reason-sheet > header { display: flex; align-items: center; justify-content: space-between; padding: 5px 16px 10px; }
.mobile-screen .refund-reason-sheet > header h2 { margin: 0; color: var(--ink); font-size: 15px; }
.mobile-screen .refund-reason-sheet > header button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: var(--surface-2); font-size: 16px; }
.mobile-screen .refund-reason-options { max-height: 350px; overflow-y: auto; padding: 0 16px; }
.mobile-screen .refund-reason-options > button { display: flex; width: 100%; min-height: 43px; align-items: center; justify-content: space-between; padding: 0; text-align: left; border: 0; border-bottom: 1px solid var(--line); color: var(--ink-2); background: #fff; font-size: 10px; }
.mobile-screen .refund-reason-options > button:last-child { border-bottom: 0; }
.mobile-screen .refund-reason-options > button.active { color: var(--brand); font-weight: 600; }
.mobile-screen .refund-reason-options .icon { color: var(--brand); }

/* Refund detail: real status events with flat white sections. */
.mobile-screen .refund-detail-v2 { height: calc(100% - 31px - 48px); padding: 0 0 22px; background: var(--paper); }
.mobile-screen .refund-status-v2 { display: grid; min-height: 126px; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 13px; box-sizing: border-box; padding: 19px 16px 21px; background: #fff; }
.mobile-screen .refund-status-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; color: var(--warning); background: var(--warning-soft); }
.mobile-screen .refund-status-icon.processing { color: var(--brand); background: var(--brand-soft); }
.mobile-screen .refund-status-icon.success { color: var(--brand); background: var(--brand-soft); }
.mobile-screen .refund-status-icon.rejected,
.mobile-screen .refund-status-icon.failed { color: var(--danger); background: var(--danger-soft); }
.mobile-screen .refund-status-v2 > div { display: flex; min-width: 0; flex-direction: column; }
.mobile-screen .refund-status-v2 small { color: var(--muted); font-size: 8px; }
.mobile-screen .refund-status-v2 h1 { margin: 4px 0 5px; color: var(--ink); font-size: 18px; }
.mobile-screen .refund-status-v2 p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.mobile-screen .refund-amount-v2 { display: flex; min-height: 50px; align-items: center; justify-content: space-between; margin-top: 10px; padding: 0 16px; background: #fff; }
.mobile-screen .refund-amount-v2 span { color: var(--muted); font-size: 9px; }
.mobile-screen .refund-amount-v2 b { color: var(--price); font-size: 18px; }
.mobile-screen .refund-time-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 16px 0; padding: 10px; border-radius: 9px; color: var(--muted); background: #fff; font-size: 9px; }
.mobile-screen .refund-time-note .icon { color: var(--warning); }
.mobile-screen .refund-progress-v2,
.mobile-screen .refund-info-v2,
.mobile-screen .refund-evidence-v2 { margin-top: 10px; padding: 15px 16px 18px; background: #fff; }
.mobile-screen .refund-progress-v2 > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.mobile-screen :where(.refund-progress-v2, .refund-info-v2, .refund-evidence-v2) h2 { margin: 0; color: var(--ink); font-size: 14px; }
.mobile-screen .refund-progress-v2 > header span { color: var(--muted); font-size: 8px; }
.mobile-screen .refund-progress-v2 article > div { position: relative; display: grid; min-height: 70px; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; }
.mobile-screen .refund-progress-v2 article > div::before { position: absolute; top: 11px; bottom: -4px; left: 5px; width: 1px; background: var(--line); content: ''; }
.mobile-screen .refund-progress-v2 article > div:last-child::before { display: none; }
.mobile-screen .refund-progress-v2 article i { position: relative; z-index: 1; width: 10px; height: 10px; box-sizing: border-box; border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; }
.mobile-screen .refund-progress-v2 article .active i { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.mobile-screen .refund-progress-v2 article span { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.mobile-screen .refund-progress-v2 article b { color: var(--ink-2); font-size: 10px; }
.mobile-screen .refund-progress-v2 article em { color: var(--muted); font-size: 9px; font-style: normal; line-height: 1.5; }
.mobile-screen .refund-progress-v2 article small { color: var(--muted); font-size: 8px; }
.mobile-screen .refund-info-v2 > h2 { margin-bottom: 10px; }
.mobile-screen .refund-info-v2 > div { display: flex; min-height: 36px; align-items: baseline; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 9px; }
.mobile-screen .refund-info-v2 > div b { max-width: 68%; color: var(--ink-2); font-size: 9px; font-weight: 500; line-height: 1.55; text-align: right; }
.mobile-screen .refund-evidence-v2 { border: 0; }
.mobile-screen .refund-evidence-v2 > div { display: flex; gap: 8px; margin-top: 11px; }
.mobile-screen .refund-evidence-v2 .product-art { width: 66px; height: 66px; border-radius: 9px; }
.mobile-screen .refund-detail-page-end { height: 10px; background: var(--paper); }
.mobile-screen .refund-detail-action-space { height: 58px; }
.mobile-screen .refund-detail-action { height: 62px; padding: 9px 12px; }
.mobile-screen .refund-detail-action button { height: 42px; border-radius: 9px; }
.mobile-screen .refund-detail-evidence { margin-top: 10px; padding: 15px 16px 17px; background: #fff; }
.mobile-screen .refund-detail-evidence h2 { margin: 0 0 10px; color: var(--ink); font-size: 14px; }
.mobile-screen .refund-detail-evidence > div { display: flex; gap: 8px; }
.mobile-screen .refund-detail-evidence .product-art { width: 66px; height: 66px; border-radius: 9px; }

/* Feedback mirrors the production fields and platform handling workflow. */
.mobile-screen .feedback-page-v2 { padding: 0 0 24px; background: var(--paper); }
.mobile-screen .feedback-page-v2 .feedback-compose { padding: 16px; border: 0; border-radius: 0 !important; background: #fff; }
.feedback-compose > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.feedback-compose > header h2 { margin: 0; color: var(--ink); font-size: 15px; }
.feedback-compose > header p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.feedback-textarea-shell { position: relative; margin-top: 14px; }
.mobile-screen .feedback-textarea-shell textarea { width: 100%; min-height: 116px; box-sizing: border-box; padding: 11px 11px 24px; border: 0; border-radius: 10px; color: var(--ink-2); background: var(--surface-2); resize: none; font-size: 10px; line-height: 1.6; }
.feedback-textarea-shell > small { position: absolute; right: 10px; bottom: 8px; color: var(--muted-2); font: 8px var(--font-mono); }
.feedback-field-head { display: flex; align-items: baseline; justify-content: space-between; margin-top: 15px; }
.feedback-field-head b, .feedback-contact > span { color: var(--ink-2); font-size: 10px; font-weight: 500; }
.feedback-field-head span, .feedback-contact small { color: var(--muted); font-size: 8px; }
.feedback-upload-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.feedback-image-item, .feedback-image-add { position: relative; height: 66px; overflow: hidden; padding: 0; border: 1px dashed var(--line-strong); border-radius: 9px; background: var(--surface-2); }
.feedback-image-item { border-style: solid; }
.feedback-image-item .product-art { width: 100%; height: 100%; border-radius: 0; }
.feedback-image-item i { position: absolute; top: 3px; right: 3px; display: grid; width: 17px; height: 17px; place-items: center; color: #fff; border-radius: 50%; background: rgba(16,31,24,.64); font-size: 11px; font-style: normal; }
.feedback-image-add { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: var(--brand); font-size: 8px; }
.feedback-contact { display: flex; flex-direction: column; gap: 7px; margin-top: 15px; }
.mobile-screen .feedback-contact input { width: 100%; height: 42px; box-sizing: border-box; padding: 0 11px; border: 0; border-radius: 9px; color: var(--ink-2); background: var(--surface-2); font-size: 10px; }
.mobile-screen .feedback-page-v2 .feedback-submit { width: 100%; height: 44px; margin-top: 18px; border: 0; border-radius: 10px; color: #fff; background: var(--brand); font-size: 11px; font-weight: 700; }
.feedback-history-head { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 14px 16px 10px; background: #fff; }
.feedback-history-head h3 { margin: 0; color: var(--ink); font-size: 13px; }
.feedback-history-head span { color: var(--muted); font-size: 8px; }
.mobile-screen .feedback-history-list { padding: 0; border: 0; border-radius: 0 !important; background: #fff; }
.feedback-record-v2 { padding: 15px 16px; border-bottom: 1px solid var(--line); }
.feedback-record-v2 > header { display: flex; align-items: center; justify-content: space-between; }
.feedback-record-v2 time { color: var(--muted-2); font: 8px var(--font-mono); }
.feedback-record-v2 > p { margin: 10px 0 0; color: var(--ink-2); font-size: 10px; line-height: 1.6; }
.feedback-history-images { display: flex; gap: 7px; margin-top: 10px; }
.feedback-history-images .product-art { width: 58px; height: 58px; border-radius: 8px; }
.feedback-reply { display: flex; flex-direction: column; gap: 5px; margin-top: 11px; padding: 10px; border-radius: 8px; background: var(--brand-soft); }
.feedback-reply b { color: var(--brand); font-size: 9px; }
.feedback-reply span { color: var(--ink-2); font-size: 9px; line-height: 1.55; }
.feedback-reply time { align-self: flex-end; }

.mobile-screen .app-topbar > button.wordmark { margin: 0; padding: 0; border: 0; color: inherit; text-align: left; background: transparent; }

.mobile-screen .order-review-tabs { display: grid; height: 36px; grid-template-columns: repeat(2, 1fr); background: #fff; }
.mobile-screen .order-review-tabs button { position: relative; border: 0; color: var(--muted); background: transparent; font-size: 10px; }
.mobile-screen .order-review-tabs button.active { color: var(--brand); font-weight: 700; }
.mobile-screen .order-review-tabs button.active::after { position: absolute; right: 38%; bottom: 0; left: 38%; height: 2px; border-radius: 1px; background: var(--brand); content: ''; }
.mobile-screen .mobile-order-list.has-review-tabs { height: calc(100% - 31px - 48px - 40px - 36px); }
.mobile-screen .order-tabs { justify-content: space-evenly; padding-inline: 0; }
.mobile-screen .order-tabs button { min-width: 0; flex: 0 0 auto; padding-inline: 0; white-space: nowrap; }

/* Review publishing: flat white sections separated by quiet canvas gaps. */
.mobile-screen .review-publish-page { height: calc(100% - 31px - 48px); box-sizing: border-box; padding: 0 0 86px; background: var(--paper); }
.review-publish-item { margin-bottom: 8px; padding: 0 16px 17px; background: #fff; }
.review-publish-product { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 11px; padding: 15px 0 13px; }
.review-publish-product .product-art { width: 72px; height: 64px; border-radius: 10px; }
.review-publish-product > div { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.review-publish-product b { overflow: hidden; color: var(--ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.review-publish-product span { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.review-publish-rating { display: grid; min-height: 42px; grid-template-columns: 66px minmax(0, 1fr) 54px; align-items: center; }
.review-publish-rating > span { color: var(--ink-2); font-size: 11px; }
.review-publish-rating > b { color: var(--muted); font-size: 9px; font-weight: 500; text-align: right; }
.review-star-control { display: flex; align-items: center; gap: 2px; }
.review-star-control button { width: 26px; height: 30px; padding: 0; border: 0; color: #d2d8d4; background: transparent; font-size: 21px; line-height: 30px; }
.review-star-control button.active { color: #d29a39; }
.review-publish-content { position: relative; margin-top: 6px; }
.mobile-screen .review-publish-content textarea { width: 100%; min-height: 104px; box-sizing: border-box; padding: 12px 12px 25px; border: 0; border-radius: 10px; color: var(--ink-2); background: var(--surface-2); resize: none; font-size: 10px; line-height: 1.6; }
.review-publish-content > small { position: absolute; right: 11px; bottom: 8px; color: var(--muted-2); font: 8px var(--font-mono); }
.review-publish-images { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.review-uploaded-image, .review-image-add { position: relative; height: 68px; overflow: hidden; padding: 0; border: 0; border-radius: 10px; background: var(--surface-2); }
.review-uploaded-image .product-art { width: 100%; height: 100%; border-radius: 0; }
.review-uploaded-image i { position: absolute; top: 4px; right: 4px; display: grid; width: 18px; height: 18px; place-items: center; color: #fff; border-radius: 50%; background: rgba(15,29,22,.66); font-size: 12px; font-style: normal; }
.review-image-add { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; color: var(--brand); }
.review-image-add span { font-size: 8px; }
.review-image-add small { color: var(--muted); font: 7px var(--font-mono); }
.review-image-add:disabled { opacity: .62; }
.review-shop-rating { padding: 15px 16px 18px; background: #fff; }
.review-shop-rating > header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.review-shop-rating h2 { margin: 0; color: var(--ink); font-size: 14px; }
.review-shop-rating header span { color: var(--muted); font-size: 8px; }
.review-shop-rating-row { display: grid; min-height: 46px; grid-template-columns: 66px minmax(0, 1fr) 42px; align-items: center; }
.review-shop-rating-row > span { color: var(--ink-2); font-size: 10px; }
.review-shop-rating-row > b { color: var(--muted); font-size: 9px; font-weight: 500; text-align: right; }
.review-anonymous-row { display: flex; width: 100%; min-height: 58px; align-items: center; justify-content: space-between; margin-top: 6px; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); text-align: left; background: transparent; }
.review-anonymous-row > span { display: flex; flex-direction: column; gap: 5px; }
.review-anonymous-row b { color: var(--ink); font-size: 11px; }
.review-anonymous-row small { color: var(--muted); font-size: 8px; }
.review-anonymous-row > i { position: relative; width: 38px; height: 22px; flex: 0 0 38px; border-radius: 11px; background: #d7ddda; transition: background .16s ease; }
.review-anonymous-row > i em { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .16s ease; }
.review-anonymous-row > i.active { background: var(--brand); }
.review-anonymous-row > i.active em { transform: translateX(16px); }
.review-publish-placeholder { height: 8px; }
.mobile-screen .review-publish-bar { padding: 9px 12px 12px; }
.mobile-screen .review-publish-bar button { height: 44px; border-radius: 10px; font-size: 12px; }
.mobile-screen .review-publish-bar button:disabled { color: #fff; background: #aebdb5; opacity: 1; }
