:root {
  --ink: #111111;
  --muted: #777777;
  --line: #e8e8e8;
  --paper: #ffffff;
  --card: #ffffff;
  --champagne: #111111;
  --soft: #f6f6f6;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 14px 92px;
}

.hero {
  min-height: 214px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(0, 0, 0, .96), rgba(26, 26, 26, .96));
  box-shadow: 0 18px 38px rgba(0, 0, 0, .14);
}

.hero[hidden] {
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 52%, rgba(255, 255, 255, .14) 52% 53%, transparent 53%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 62px);
  pointer-events: none;
}

.hero-meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  letter-spacing: 0;
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.eyebrow {
  color: #ffffff;
  font-size: 13px;
}

h1 {
  margin: 8px 0;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 650;
}

.brand-logo {
  display: block;
  width: min(224px, 100%);
  height: auto;
  margin: 0 auto 12px;
}

p {
  margin: 0;
  line-height: 1.55;
}

.hero p {
  max-width: 310px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.hero-usage {
  margin-top: 16px;
  padding: 5px 14px;
  color: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 4px;
  background: rgba(255, 255, 255, .06);
  font-size: 12px;
  line-height: 1.3;
}

.tabs {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(430px, 100%);
  height: 64px;
  margin: 0 auto;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -10px 24px rgba(0, 0, 0, .06);
  backdrop-filter: blur(12px);
}

.today-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.week-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
  width: 100%;
  max-width: 100%;
  margin: 12px 0 12px;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 0 24px 2px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.week-tabs::-webkit-scrollbar {
  display: none;
}

.week-tabs {
  scrollbar-width: none;
}

.week-tabs button {
  flex: 0 0 auto;
  scroll-snap-align: start;
  height: 34px;
  padding: 0 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 13px;
}

.week-tabs button.active {
  color: #ffffff;
  border-color: #111111;
  background: #111111;
}

.week-tabs button:disabled {
  color: #b8b8b8;
  background: #f6f6f6;
  cursor: not-allowed;
  opacity: 1;
}

.week-day-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.week-day-card > strong {
  text-align: center;
  font-size: 16px;
}

.week-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.today-extra-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.today-result-title {
  display: block;
  text-align: center;
  font-size: 16px;
}

button,
.photo-btn {
  position: relative;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
}

button:disabled,
.photo-btn.is-loading {
  cursor: wait;
  opacity: .78;
}

.locked {
  opacity: .56;
  cursor: not-allowed;
}

input:disabled,
select:disabled {
  color: #999;
  background: #f7f7f7;
}

.is-loading {
  pointer-events: none;
}

.is-loading::after {
  content: "";
  width: 13px;
  height: 13px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

.login-action.is-loading::after,
.tab.is-loading::after,
.cloth-actions button.is-loading::after {
  position: absolute;
  right: 8px;
  margin-left: 0;
}

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

.login-card {
  display: grid;
  grid-template-columns: 44px 1fr 64px;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #111111;
  color: #ffffff;
  text-align: center;
  line-height: 44px;
  font-size: 15px;
  font-weight: 700;
}

.avatar.empty {
  background: #111111;
}

.login-copy {
  min-width: 0;
}

.login-copy strong,
.login-copy span {
  display: block;
}

.login-copy strong {
  font-size: 15px;
  font-weight: 650;
}

.login-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.phone-input {
  width: 100%;
  height: 34px;
  min-height: 34px;
  margin-top: 8px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8f8f8;
  color: var(--ink);
  font-size: 14px;
}

.login-action,
.login-ghost {
  height: 34px;
  color: #fff;
  background: #111111;
  font-size: 13px;
}

.login-ghost {
  color: var(--muted);
  border: 1px solid var(--line);
  background: #ffffff;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 52px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  line-height: 1.1;
}

.tab.active {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.tab-icon {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  transform: scale(1.14);
  transform-origin: center;
}

.tab-img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.tab-icon::before,
.tab-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  border-color: currentColor;
}

.tab-icon-today::before {
  left: 4px;
  top: 3px;
  width: 14px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.tab-icon-today::after {
  left: 7px;
  top: 7px;
  width: 8px;
  height: 2px;
  border-top: 2px solid currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.tab-icon-home::before {
  left: 4px;
  top: 8px;
  width: 14px;
  height: 11px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px;
}

.tab-icon-home::after {
  left: 5px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.tab-icon-closet::before {
  left: 3px;
  top: 6px;
  width: 16px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.tab-icon-closet::after {
  left: 7px;
  top: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.tab-icon-bag::before {
  left: 3px;
  top: 7px;
  width: 16px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.tab-icon-bag::after {
  left: 7px;
  top: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.tab-icon-profile::before {
  left: 7px;
  top: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tab-icon-profile::after {
  left: 4px;
  top: 13px;
  width: 14px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 9px 9px 3px 3px;
}

.tab-icon-user::before {
  left: 7px;
  top: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tab-icon-user::after {
  left: 4px;
  top: 13px;
  width: 14px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 9px 9px 3px 3px;
}

.tab-icon-star::before {
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 92%, 50% 70%, 21% 92%, 32% 57%, 2% 35%, 39% 35%);
}

.panel {
  display: none;
}

.panel.active {
  display: block;
  margin-top: 16px;
}

.intro,
.result,
label,
.cloth-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: none;
}

.intro,
.result {
  padding: 17px;
  margin-bottom: 12px;
}

.intro strong,
.result strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 650;
}

.intro p,
.reason {
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

label {
  display: block;
  min-width: 0;
  padding: 13px 13px 11px;
  color: var(--muted);
  font-size: 12px;
}

label.wide {
  grid-column: 1 / 3;
}

input,
select {
  width: 100%;
  min-height: 34px;
  margin-top: 7px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 15px;
}

input::placeholder {
  color: #aaaaaa;
}

.primary,
.secondary,
.photo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin: 12px 0;
  text-align: center;
  font-weight: 650;
}

.primary {
  color: #fff;
  background: #111111;
  box-shadow: none;
}

.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #ffffff;
}

.photo-btn {
  color: #fff;
  background: #111111;
}

.edit-preview {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.edit-preview img {
  width: 64px;
  height: 76px;
  border-radius: 7px;
  object-fit: cover;
  background: var(--soft);
}

.edit-preview strong,
.edit-preview span {
  display: block;
}

.edit-preview strong {
  font-size: 14px;
}

.edit-preview span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.closet-list {
  display: grid;
  gap: 9px;
}

.closet-categories {
  display: flex;
  gap: 8px;
  margin: 8px 0 10px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.closet-categories::-webkit-scrollbar {
  display: none;
}

.closet-categories button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 13px;
}

.closet-categories em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}

.closet-categories button.active {
  color: #ffffff;
  border-color: #111111;
  background: #111111;
}

.closet-categories button.active em {
  color: #ffffff;
}

.empty-tip {
  padding: 22px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  font-size: 13px;
}

.cloth-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px;
  cursor: pointer;
}

.thumb {
  width: 68px;
  height: 68px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, #f6f6f6, #e9e9e9);
  object-fit: cover;
}

.cloth-card b,
.cloth-card span,
.result span {
  display: block;
}

.cloth-card b {
  margin-bottom: 4px;
  font-weight: 650;
}

.cloth-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cloth-actions {
  display: flex;
  gap: 8px;
  margin-top: 9px;
}

.cloth-actions button {
  height: 28px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 12px;
}

.cloth-actions button:last-child {
  color: #111111;
  background: #f5f5f5;
}

.result {
  display: grid;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
}

.outfit-products {
  display: grid;
  gap: 12px;
  margin: 8px 0 12px;
}

.product-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.product-card img {
  width: 92px;
  height: 112px;
  border-radius: 7px;
  object-fit: cover;
  background: var(--soft);
}

.product-card small,
.product-card b,
.product-card em,
.product-card p {
  display: block;
}

.product-card small {
  color: var(--champagne);
  font-size: 11px;
  font-style: normal;
}

.product-card b {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 650;
}

.product-card em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.product-card p {
  margin-top: 7px;
  color: #4d4943;
  font-size: 13px;
  line-height: 1.45;
}

#aiAnalysisText {
  display: block;
  margin: 10px 0 8px;
  line-height: 1.75;
}

.analysis-body {
  padding-top: 4px;
}

.outfit-reason {
  display: block;
  margin: 8px 0 10px;
  line-height: 1.7;
}

.outfit-extra {
  display: block;
  margin-top: 6px;
  line-height: 1.7;
}

.today-extra-actions.outfit-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  line-height: normal;
}

.today-extra-actions.outfit-extra .primary {
  min-width: 0;
  height: 48px;
  padding: 0 8px;
  font-size: 14px;
}

.editor-upload-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.editor-upload-actions .photo-btn {
  min-width: 0;
  margin: 0;
  padding: 0 8px;
  text-align: center;
}

.action-button-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

.primary,
.secondary,
.photo-btn {
  gap: 8px;
}

.ai-disclaimer {
  display: block;
  margin-top: 12px;
  color: #999999;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.recommend-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin: 16px 0 0;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: #111111;
  font-weight: 650;
  text-align: center;
}

.profile-account {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 120px;
  margin: 0 0 12px;
  padding: 22px 18px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
}

.profile-account img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f0f0f4;
  object-fit: cover;
}

.profile-account strong,
.profile-account span {
  display: block;
}

.profile-account strong {
  font-size: 26px;
  font-weight: 500;
}

.profile-account span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.profile-stats-card,
.delete-account-card {
  display: grid;
  gap: 13px;
  margin: 12px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.profile-stats-card > strong,
.delete-account-card > strong {
  font-size: 17px;
  font-weight: 650;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.profile-stats-grid span {
  display: grid;
  gap: 7px;
  min-height: 72px;
  padding: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}

.profile-stats-grid b {
  color: var(--ink);
  font-size: 22px;
  font-weight: 650;
}

.delete-account-card p {
  color: #555555;
  font-size: 14px;
  line-height: 1.7;
}

.delete-account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.privacy-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.privacy-card > strong {
  text-align: center;
  font-size: 18px;
  font-weight: 650;
}

.privacy-card > span {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

#privacyContent,
#agreementContent {
  color: #333333;
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-wrap;
}

#privacyContent,
#agreementContent {
  display: block;
}

.profile-list {
  margin: 0 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.profile-list button {
  display: grid;
  grid-template-columns: 27px 1fr 14px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 61px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #ffffff;
  text-align: left;
}

.profile-list button:last-child {
  border-bottom: 0;
}

.profile-list b {
  font-size: 16px;
  font-weight: 500;
}

.profile-list i {
  width: 8px;
  height: 8px;
  border-top: 2px solid #b7bbc3;
  border-right: 2px solid #b7bbc3;
  transform: rotate(45deg);
}

.profile-menu-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  color: #111;
}

.profile-menu-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.profile-menu-icon::before,
.profile-menu-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  border-color: currentColor;
}

.profile-menu-plus::before,
.profile-menu-card::before {
  left: 2px;
  top: 3px;
  width: 18px;
  height: 16px;
  border: 2px solid currentColor;
}

.profile-menu-plus::after {
  left: 7px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.profile-menu-yen::before {
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.profile-menu-yen::after {
  left: 7px;
  top: 6px;
  width: 8px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.profile-menu-pin::before {
  left: 5px;
  top: 2px;
  width: 13px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 10px 0;
  transform: rotate(-45deg);
}

.profile-menu-bell::before {
  left: 4px;
  top: 4px;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 4px 4px;
}

.profile-menu-wechat::before {
  left: 2px;
  top: 6px;
  width: 12px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.profile-menu-wechat::after {
  left: 10px;
  top: 7px;
  width: 11px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #fff;
}

.profile-menu-shield::before {
  left: 4px;
  top: 2px;
  width: 15px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px 5px 8px 8px;
}

.profile-menu-logout::before {
  left: 3px;
  top: 4px;
  width: 12px;
  height: 15px;
  border: 2px solid currentColor;
  border-right: 0;
}

.profile-menu-logout::after {
  left: 9px;
  top: 9px;
  width: 10px;
  border-top: 2px solid currentColor;
}

.profile-menu-calendar::before {
  left: 3px;
  top: 4px;
  width: 16px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.profile-menu-calendar::after {
  left: 6px;
  top: 8px;
  width: 10px;
  border-top: 2px solid currentColor;
  box-shadow: 0 4px 0 currentColor;
}

.profile-form {
  margin-top: 12px;
}

.phone-bind-card {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.phone-bind-card strong,
.phone-bind-card span {
  display: block;
}

.phone-bind-card strong {
  font-size: 16px;
}

.phone-bind-card span,
.phone-bind-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.profile-code-row {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 8px;
  align-items: end;
}

.profile-code-row button {
  height: 44px;
  color: #ffffff;
  background: #111111;
  font-size: 13px;
}

.subpage-head {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  min-height: 52px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.subpage-head button {
  height: 36px;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}

.subpage-head strong {
  text-align: center;
  font-size: 18px;
  font-weight: 650;
}

.recent-outfits-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.recent-outfits-card > strong {
  display: block;
  margin-bottom: 14px;
}

.recent-outfit-list {
  display: grid;
  gap: 14px;
}

.recent-outfit-card {
  margin-top: 0;
}

.recent-time {
  display: block;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.recent-outfit-note {
  margin: 16px 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.batch-review {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

.batch-review > strong,
.batch-review > span {
  display: block;
}

.batch-review > strong {
  font-size: 15px;
  font-weight: 650;
}

.batch-review > span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.batch-item {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.batch-item-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.batch-item-head img {
  width: 64px;
  height: 76px;
  border-radius: 7px;
  object-fit: cover;
  background: var(--soft);
}

.batch-item-head .ghost-btn {
  justify-self: end;
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: #ffffff;
}

.back-to-top {
  position: fixed;
  right: max(26px, calc((100vw - 430px) / 2 + 24px));
  bottom: 92px;
  z-index: 80;
  display: inline-flex;
  width: 47px;
  height: 47px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  color: #101010;
  background: transparent;
  box-shadow: none;
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top img,
.back-to-top-default {
  width: 27px;
  height: 27px;
  object-fit: contain;
  font-size: 29px;
  line-height: 27px;
}

.back-to-top .button-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 520px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    overflow-x: hidden;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .code-row,
  .profile-code-row {
    grid-template-columns: minmax(0, 1fr) minmax(118px, 38%);
  }

  .code-row > *,
  .profile-code-row > * {
    min-width: 0;
  }

  .back-to-top {
    right: 24px;
    bottom: 86px;
    width: 43px;
    height: 43px;
  }
}
