:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --panel-soft: #f0f2f7;
  --line: #e1e4ec;
  --line-strong: #d2d7e4;
  --text: #10131d;
  --muted: #747987;
  --muted-strong: #575d6c;
  --accent: #4f68f0;
  --accent-strong: #2f4fd8;
  --mint: #13a998;
  --danger: #cf3b3b;
  --shadow: 0 18px 50px rgba(24, 31, 52, 0.09);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 84% 4%, rgba(19, 169, 152, 0.12), transparent 30%),
    radial-gradient(circle at 8% 16%, rgba(245, 185, 78, 0.13), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 42%, #f1f3f7 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

button,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  width: min(100%, 450px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 22px 150px;
}

.view {
  min-height: calc(100vh - 180px);
}

.view.is-active {
  animation: view-in 0.18s ease both;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
}

.page-head {
  padding-top: 24px;
}

.page-head h1,
.topbar h1 {
  margin: 0;
  color: #05070d;
  font-weight: 780;
  line-height: 1;
}

.page-head h1 {
  font-size: 46px;
}

.topbar h1 {
  font-size: clamp(46px, 12vw, 62px);
  line-height: 0.92;
}

.page-head p,
.topbar p {
  margin: 12px 0 0;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.35;
}

.credit-badge {
  flex: 0 0 auto;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(19, 169, 152, 0.12);
  color: #08786c;
  font-size: 13px;
  font-weight: 800;
}

.credit-badge.is-empty {
  background: rgba(207, 59, 59, 0.1);
  color: var(--danger);
}

.upload-box {
  margin-top: 34px;
}

.upload-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 82px;
  gap: 12px;
  border: 1.5px dashed #d2d7e4;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.56);
  color: #454b5f;
  font-size: 18px;
  font-weight: 750;
}

.upload-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}

.image-preview-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.image-preview-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: #e8ebf2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-item button {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 19, 29, 0.74);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
}

.prompt-panel {
  min-height: 258px;
  margin-top: 18px;
  padding: 28px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(246, 247, 250, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.prompt-panel textarea {
  width: 100%;
  min-height: 168px;
  padding: 0;
  resize: none;
  border: 0;
  outline: none;
  background: transparent;
  color: #232633;
  font-size: 19px;
  line-height: 1.7;
}

.prompt-panel textarea::placeholder {
  color: #9ba1ad;
}

.prompt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 9px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #30384d;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(29, 36, 58, 0.08);
}

.pill-button span {
  color: var(--accent);
  font-size: 21px;
}

#charCount {
  color: var(--muted);
  font-size: 13px;
}

.section-block {
  margin-top: 32px;
}

.section-block h2,
.section-title h2 {
  margin: 0;
  color: #0e1018;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.section-title span {
  color: var(--muted-strong);
  font-size: 14px;
}

.style-list {
  display: grid;
  grid-auto-columns: 100px;
  grid-auto-flow: column;
  gap: 14px;
  margin-top: 16px;
  padding: 0 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.style-list::-webkit-scrollbar {
  display: none;
}

.style-card {
  display: grid;
  width: 100px;
  gap: 10px;
  background: transparent;
  color: #646a79;
  text-align: center;
}

.style-card span:last-child {
  overflow: hidden;
  min-height: 22px;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.style-thumb {
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: #eceff5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.style-card.is-selected .style-thumb {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.style-card.is-selected span:last-child {
  color: #11131c;
}

.style-hint {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  color: #535b6b;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.no-style {
  border: 1.5px dashed #9299aa;
  background: rgba(255, 255, 255, 0.55);
  color: var(--accent);
  font-size: 50px;
  line-height: 1;
}

.realistic {
  background:
    radial-gradient(circle at 54% 35%, #e8c0a9 0 17%, transparent 18%),
    radial-gradient(circle at 45% 31%, #31303c 0 2%, transparent 3%),
    radial-gradient(circle at 59% 31%, #31303c 0 2%, transparent 3%),
    linear-gradient(135deg, #583a30 0 28%, #bc7b61 29% 43%, #f4d2bd 44% 63%, #31465e 64% 100%);
}

.oil {
  background:
    radial-gradient(circle at 52% 50%, #d69437 0 23%, transparent 24%),
    radial-gradient(circle at 46% 42%, #f1c56b 0 9%, transparent 10%),
    linear-gradient(135deg, #5a361a 0%, #ad6d2c 35%, #f5dba7 60%, #634a2b 100%);
}

.anime {
  background:
    radial-gradient(circle at 71% 19%, #fff 0 8%, transparent 9%),
    linear-gradient(135deg, transparent 0 46%, rgba(37, 76, 125, 0.86) 47% 50%, transparent 51%),
    radial-gradient(circle at 52% 54%, #f0c6b1 0 16%, transparent 17%),
    linear-gradient(180deg, #72c7ff 0 48%, #e9f6ff 49% 100%);
}

.cinematic {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent 48%, rgba(0, 0, 0, 0.4)),
    radial-gradient(circle at 65% 39%, #f6cd6f 0 12%, transparent 13%),
    linear-gradient(135deg, #18334e 0%, #54746d 46%, #d8a35b 100%);
}

.watercolor {
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.75) 0 12%, transparent 13%),
    radial-gradient(circle at 66% 64%, rgba(116, 178, 217, 0.85) 0 18%, transparent 19%),
    linear-gradient(135deg, #f7d8dc, #b9dfe5 52%, #f3edbd);
}

.chinese {
  background:
    radial-gradient(circle at 70% 24%, #f5c45b 0 10%, transparent 11%),
    linear-gradient(145deg, transparent 0 48%, rgba(42, 77, 53, 0.88) 49% 53%, transparent 54%),
    linear-gradient(135deg, #f1eee3, #c94a45 58%, #263f32);
}

.pixel {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 25%, transparent 25% 50%, rgba(255, 255, 255, 0.22) 50% 75%, transparent 75%),
    linear-gradient(0deg, #26364d 25%, #6bc3bf 25% 50%, #f1cf72 50% 75%, #d86c65 75%);
  background-size: 28px 28px, 100% 100%;
}

.clay {
  background:
    radial-gradient(circle at 51% 43%, #f4b5a4 0 24%, transparent 25%),
    radial-gradient(circle at 41% 35%, #4c3945 0 3%, transparent 4%),
    radial-gradient(circle at 59% 35%, #4c3945 0 3%, transparent 4%),
    linear-gradient(135deg, #dbe2e1, #eeb47f 64%, #8fb9aa);
}

.cyberpunk {
  background:
    linear-gradient(90deg, rgba(29, 230, 218, 0.8) 0 2px, transparent 2px 18px),
    linear-gradient(0deg, rgba(248, 53, 167, 0.75) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #12152c, #3b1f65 48%, #0ac5c8);
}

.sketch {
  background:
    linear-gradient(135deg, transparent 0 45%, #3c3d45 46% 47%, transparent 48%),
    linear-gradient(45deg, transparent 0 41%, rgba(60, 61, 69, 0.7) 42% 43%, transparent 44%),
    linear-gradient(135deg, #f6f2ea, #d4d5dc);
}

.product {
  background:
    radial-gradient(circle at 50% 47%, #ffffff 0 22%, transparent 23%),
    radial-gradient(circle at 50% 52%, #5f6bff 0 27%, transparent 28%),
    linear-gradient(135deg, #f1f3f8, #b7c1d7);
}

.logo {
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 28%, transparent 29%),
    conic-gradient(from 40deg, #4f68f0, #13a998, #f4b34a, #e05771, #4f68f0);
}

.segmented,
.count-group {
  display: grid;
  margin-top: 16px;
  border-radius: 24px;
  background: #eef1f7;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.74),
    0 14px 34px rgba(29, 32, 55, 0.04);
}

.segmented {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 72px;
  padding: 7px;
}

.segmented button,
.count-group button {
  min-width: 0;
  border-radius: 20px;
  background: transparent;
  color: #4c5363;
  font-size: 18px;
  font-weight: 780;
}

.segmented button.is-selected,
.count-group button.is-selected {
  background: #ffffff;
  color: #080a10;
  box-shadow: 0 12px 24px rgba(35, 38, 64, 0.08);
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}

.section-block.compact {
  min-width: 0;
  margin-top: 0;
}

.count-group {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 76px;
  padding: 8px;
}

.count-group button {
  font-size: 20px;
}

.count-group button.is-selected {
  background: var(--accent);
  color: #ffffff;
}

.result-panel,
.history-panel {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.64);
}

.works-empty {
  display: grid;
  min-height: 220px;
  margin-top: 28px;
  place-items: center;
  gap: 8px;
  padding: 26px;
  border: 1px dashed #d5dae6;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  text-align: center;
}

.works-empty strong {
  color: #191c27;
  font-size: 22px;
}

.works-empty span {
  max-width: 230px;
  font-size: 14px;
  line-height: 1.5;
}

.history-list,
.template-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.template-list button,
.history-list button {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  border-radius: 20px;
  background: #eef1f7;
  color: #151923;
  font-weight: 780;
  text-align: left;
}

.history-list button {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 76px;
}

.history-thumb {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #dde4f4, #f6d7c6, #99c4bc);
}

.history-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-meta {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.history-meta strong,
.history-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-meta strong {
  color: #171a24;
  font-size: 15px;
}

.history-meta span {
  color: var(--muted);
  font-size: 12px;
}

.user-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.66);
}

.avatar {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #4f68f0, #13a998);
  color: #ffffff;
  font-size: 30px;
  font-weight: 850;
}

.user-meta {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
}

.user-meta strong {
  color: #10131d;
  font-size: 22px;
}

.profile-auth-trigger {
  justify-self: start;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.profile-auth-trigger:not(:disabled):active {
  opacity: 0.68;
}

.profile-auth-trigger:disabled {
  cursor: default;
}

.user-meta span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.stats-grid div {
  display: grid;
  min-height: 84px;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.stats-grid strong {
  color: #11131c;
  font-size: 20px;
  font-weight: 850;
}

.stats-grid span {
  color: var(--muted);
  font-size: 12px;
}

.profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.profile-actions button {
  min-height: 54px;
  border-radius: 18px;
  background: #10131d;
  color: #ffffff;
  font-size: 16px;
  font-weight: 850;
}

.profile-actions button + button {
  background: #eef1f7;
  color: #232633;
}

.logout-button {
  width: 100%;
  min-height: 54px;
  margin-top: 16px;
  border-radius: 18px;
  background: #eef1f7;
  color: #232633;
  font-size: 16px;
  font-weight: 800;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.result-header h2 {
  margin: 0;
  font-size: 22px;
}

.result-header span {
  color: var(--muted);
  font-size: 13px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.empty-state {
  display: grid;
  min-height: 132px;
  grid-column: 1 / -1;
  place-items: center;
  border: 1px dashed #dadfe8;
  border-radius: 20px;
  color: #8b91a0;
  font-size: 14px;
  text-align: center;
}

.result-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.8), transparent 18%),
    linear-gradient(135deg, #dfe7ff, #f4d6b5 50%, #81b7c8);
}

.result-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-card::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #313746;
  content: attr(data-label);
  font-size: 11px;
  font-weight: 760;
}

.bottom-safe {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  width: min(100%, 450px);
  margin: 0 auto;
  padding: 10px 22px max(14px, env(safe-area-inset-bottom));
  gap: 10px;
  background: linear-gradient(180deg, rgba(247, 248, 251, 0), rgba(247, 248, 251, 0.96) 18%);
  pointer-events: none;
}

.generate-button,
.bottom-nav {
  pointer-events: auto;
}

.generate-button {
  width: 100%;
  min-height: 56px;
  border-radius: 20px;
  background: #10131d;
  color: #ffffff;
  font-size: 18px;
  font-weight: 850;
  box-shadow: 0 18px 38px rgba(16, 19, 29, 0.18);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.generate-button.is-hidden {
  height: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.generate-button:disabled {
  background: #b4bac8;
  color: #ffffff;
  cursor: wait;
}

.bottom-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 70px;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.bottom-nav button {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  gap: 2px;
  border-radius: 22px;
  background: transparent;
  color: #606878;
}

.bottom-nav span {
  font-size: 24px;
  line-height: 1;
}

.bottom-nav b {
  overflow: hidden;
  max-width: 100%;
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-nav button.is-active {
  color: var(--accent-strong);
  background: rgba(79, 104, 240, 0.1);
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(16, 19, 29, 0.28);
  backdrop-filter: blur(16px);
}

.auth-card {
  position: relative;
  width: min(100%, 390px);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 70px rgba(16, 19, 29, 0.22);
}

.auth-head h2 {
  margin: 0;
  color: #060812;
  font-size: 36px;
  font-weight: 850;
  line-height: 1;
}

.auth-head p {
  margin: 10px 0 0;
  color: var(--muted-strong);
  font-size: 15px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  min-height: 48px;
  margin-top: 20px;
  padding: 5px;
  border-radius: 16px;
  background: #eef1f7;
}

.auth-tabs button {
  border-radius: 12px;
  background: transparent;
  color: #4c5363;
  font-weight: 820;
}

.auth-tabs button.is-selected {
  background: #ffffff;
  color: #10131d;
  box-shadow: 0 10px 22px rgba(29, 36, 58, 0.08);
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form label span {
  color: #30384d;
  font-size: 13px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 17px;
  outline: none;
  background: #f8f9fc;
  color: #10131d;
  font: inherit;
}

.auth-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 104, 240, 0.12);
}

.auth-feedback {
  min-height: 42px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f8f9fc;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.auth-feedback[data-type="success"] {
  border-color: rgba(19, 169, 152, 0.24);
  background: rgba(19, 169, 152, 0.1);
  color: #08786c;
}

.auth-feedback[data-type="error"] {
  border-color: rgba(207, 59, 59, 0.22);
  background: rgba(207, 59, 59, 0.08);
  color: var(--danger);
}

.auth-form > button {
  min-height: 56px;
  margin-top: 6px;
  border-radius: 18px;
  background: #10131d;
  color: #ffffff;
  font-size: 17px;
  font-weight: 850;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
  align-items: end;
}

.code-row > button {
  min-height: 54px;
  border-radius: 17px;
  background: #eef1f7;
  color: #232633;
  font-size: 14px;
  font-weight: 850;
}

.code-row > button:disabled,
.auth-form > button:disabled {
  opacity: 0.56;
  cursor: wait;
}

.auth-switch {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border-radius: 16px;
  background: transparent;
  color: var(--accent-strong);
  font-weight: 800;
}

.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #eef1f7;
  color: #4c5363;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.auth-close:active {
  background: #e1e5ef;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 164px;
  left: 22px;
  z-index: 20;
  width: min(calc(100% - 44px), 406px);
  margin: 0 auto;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(16, 19, 29, 0.92);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 18px 38px rgba(16, 19, 29, 0.22);
}

@media (max-width: 360px) {
  .app-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .style-list {
    grid-auto-columns: 88px;
  }

  .style-card,
  .style-thumb {
    width: 88px;
  }

  .style-thumb {
    height: 88px;
  }

  .segmented button {
    font-size: 15px;
  }
}
