:root {
  --bg: #0b0b0a;
  --panel: rgba(21, 18, 13, 0.84);
  --panel-solid: #15120d;
  --gold: #d2a84a;
  --gold-bright: #f3d27a;
  --copper: #a36b2c;
  --text: #f4ead2;
  --muted: #9c927d;
  --line: rgba(210, 168, 74, 0.22);
  --danger: #d56b52;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

.app-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 11, 10, 0.08), rgba(11, 11, 10, 0.74) 62%, #0b0b0a 100%),
    url("./assets/hero-selected-coins-bg.jpg") center / cover no-repeat;
}

.screen {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow-y: auto;
  padding: calc(18px + env(safe-area-inset-top)) 18px calc(142px + env(safe-area-inset-bottom));
}

.home-view {
  min-height: calc(100vh - 136px);
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding-top: clamp(20px, 6.2vh, 48px);
}

.brand-mark {
  width: 82px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(243, 210, 122, 0.46);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 244, 188, 0.88), rgba(210, 168, 74, 0.9) 42%, rgba(98, 63, 20, 0.96) 76%),
    #d2a84a;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.52), 0 0 28px rgba(210, 168, 74, 0.24);
  color: #21190c;
  font-weight: 900;
  font-size: 21px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  position: relative;
  isolation: isolate;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(44, 30, 12, 0.36);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 239, 182, 0.2);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 23px;
  height: 7px;
  right: -11px;
  bottom: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5f3c13, #d2a84a);
  transform: rotate(43deg);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.42);
}

.brand-mark .icon {
  width: 40px;
  height: 40px;
  color: #21190c;
}

.brand-mark span:not(.icon),
.home-medal span,
.scan-coin span,
.result-coin span {
  transform: translateY(1px);
}

.brand-mark span:not(.icon),
.home-medal,
.scan-coin,
.result-coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.brand-mark i,
.home-medal i,
.scan-coin i,
.result-coin i {
  width: 1px;
  height: 22px;
  border-radius: 999px;
  background: rgba(37, 24, 8, 0.72);
  box-shadow: 1px 0 rgba(255, 238, 172, 0.28);
}

.hero-copy {
  display: grid;
  gap: 8px;
  margin-top: -2px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(30px, 8.4vw, 46px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 326px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.38;
}

.primary {
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #171107;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 48%, #9b692b);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 236, 166, 0.24) inset;
  font-weight: 780;
  position: relative;
  overflow: hidden;
}

.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.32) 38%, transparent 58%);
  transform: translateX(-120%);
  animation: button-shine 5.8s ease-in-out infinite;
}

@keyframes button-shine {
  0%, 62% { transform: translateX(-120%); }
  76%, 100% { transform: translateX(120%); }
}

.primary .icon,
.secondary .icon {
  width: 21px;
  height: 21px;
}

.primary:active,
.secondary:active,
.tab:active {
  transform: translateY(1px);
}

.upload-panel {
  width: min(100%, 380px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.capture-panel {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.capture-panel p {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.capture-start {
  grid-column: 1 / -1;
  min-height: 52px;
}

.photo-slot {
  min-height: 104px;
  border: 1px solid rgba(210, 168, 74, 0.22);
  border-radius: 8px;
  padding: 10px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: var(--text);
  background: rgba(10, 9, 7, 0.56);
  backdrop-filter: blur(16px);
}

.photo-slot.filled {
  border-color: rgba(243, 210, 122, 0.58);
  background: rgba(210, 168, 74, 0.12);
}

.photo-slot strong,
.photo-slot em {
  display: block;
}

.photo-slot strong {
  color: var(--gold-bright);
  font-size: 13px;
}

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

.photo-preview {
  width: 52px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #24190b;
  background: radial-gradient(circle at 34% 24%, #fff1b7, #d2a84a 44%, #714616 82%);
  box-shadow: inset 0 0 0 3px rgba(47, 30, 9, 0.22);
}

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

.photo-preview .icon {
  width: 24px;
  height: 24px;
}

.mode-switch {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mode-card {
  min-height: 70px;
  border: 1px solid rgba(210, 168, 74, 0.22);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  align-content: center;
  gap: 5px;
  text-align: left;
  color: var(--text);
  background: rgba(10, 9, 7, 0.58);
  backdrop-filter: blur(16px);
}

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

.mode-card strong {
  color: var(--gold-bright);
}

.mode-card.active {
  border-color: rgba(243, 210, 122, 0.58);
  background: rgba(210, 168, 74, 0.14);
  box-shadow: 0 0 0 1px rgba(243, 210, 122, 0.1) inset;
}

.photo-guide {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 0;
}

.guide-item {
  min-height: 68px;
  border: 1px solid rgba(210, 168, 74, 0.2);
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 8px 5px;
  background: rgba(10, 9, 7, 0.5);
  backdrop-filter: blur(14px);
  color: var(--muted);
  font-size: 11px;
}

.guide-item .icon {
  width: 20px;
  height: 20px;
  color: var(--gold-bright);
}

.secondary {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(21, 18, 13, 0.72);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.page-view {
  display: grid;
  gap: 18px;
}

.page-header {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.page-header h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.page-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.card-grid {
  display: grid;
  gap: 12px;
}

.coin-card,
.info-card,
.market-card,
.profile-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

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

.coin-card {
  min-height: 178px;
  padding: 12px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

.coin-thumb {
  width: min(86px, 34vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 28%, #f4dea0, #bb873c 45%, #5c3818 80%),
    var(--gold);
  box-shadow: inset 0 0 0 4px rgba(38, 25, 10, 0.28);
}

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

.collection-hint {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.coin-card h3,
.market-card h3,
.info-card h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0;
}

.coin-card p,
.market-card p,
.info-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.coin-card p {
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.tag {
  border: 1px solid rgba(210, 168, 74, 0.24);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--gold-bright);
  background: rgba(210, 168, 74, 0.08);
  font-size: 13px;
}

.info-card,
.market-card,
.profile-row {
  padding: 14px;
}

.market-card {
  display: grid;
  gap: 8px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.price-line strong {
  color: var(--text);
}

.profile-row {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-row span {
  color: var(--muted);
}

.collection-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.collection-summary div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 4px;
  background: var(--panel);
}

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

.collection-summary strong {
  color: var(--gold-bright);
  font-size: 20px;
}

.tabbar {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  height: 78px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.22fr 1fr 1fr;
  align-items: end;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(210, 168, 74, 0.2);
  border-radius: 26px;
  background: rgba(9, 8, 7, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.5);
}

.tab {
  height: 58px;
  border: 0;
  border-radius: 18px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
}

.tab .icon {
  width: 22px;
  height: 22px;
}

.tab.active {
  color: var(--gold-bright);
}

.tab-home {
  height: 70px;
  margin-top: -18px;
}

.home-medal {
  width: 54px;
  aspect-ratio: 1;
  display: flex;
  place-items: center;
  border-radius: 50%;
  color: #21190c;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 50%, #8d5e25);
  box-shadow: 0 10px 30px rgba(210, 168, 74, 0.28);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.home-medal i {
  height: 18px;
}

.home-medal .icon {
  width: 30px;
  height: 30px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: end;
}

.capture-modal {
  align-items: center;
  padding: 18px;
}

.analysis-overlay[hidden] {
  display: none;
}

.analysis-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 4, 3, 0.72);
  backdrop-filter: blur(12px);
}

.analysis-card {
  width: min(100%, 330px);
  border: 1px solid rgba(210, 168, 74, 0.28);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  justify-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #1b160f, #0f0d0a);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
  text-align: center;
}

.analysis-card h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.scan-coin,
.result-coin {
  width: 82px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #24190b;
  background: radial-gradient(circle at 34% 24%, #fff1b7, #d2a84a 44%, #714616 82%);
  box-shadow: inset 0 0 0 5px rgba(47, 30, 9, 0.22), 0 0 30px rgba(210, 168, 74, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: 0;
  font-size: 21px;
}

.scan-coin {
  position: relative;
}

.scan-coin::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  height: 2px;
  background: rgba(243, 210, 122, 0.85);
  box-shadow: 0 0 18px rgba(243, 210, 122, 0.82);
  animation: scan 1.8s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { top: 18px; }
  50% { top: 62px; }
}

.scan-lines {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  animation: pulse-line 1.4s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.36; transform: scaleX(0.72); }
  50% { opacity: 1; transform: scaleX(1); }
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
}

.result-card {
  position: relative;
  margin: 0;
  max-height: min(84vh, 680px);
  overflow: auto;
  border-radius: 26px 26px 0 0;
  border: 1px solid rgba(210, 168, 74, 0.26);
  padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
  background: #15120d;
  box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.58);
}

.capture-card {
  position: relative;
  width: min(100%, 372px);
  max-height: min(82vh, 620px);
  overflow: auto;
  margin: 0 auto;
  border: 1px solid rgba(210, 168, 74, 0.28);
  border-radius: 18px;
  padding: 20px 16px 16px;
  background:
    linear-gradient(180deg, rgba(31, 25, 16, 0.96), rgba(13, 11, 8, 0.98)),
    var(--panel-solid);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(243, 210, 122, 0.06) inset;
}

.capture-card h2 {
  margin: 0 44px 16px 0;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0;
}

.capture-card .capture-panel {
  width: 100%;
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.eyebrow {
  margin: 0 44px 8px 0;
  color: var(--gold-bright);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-card h2 {
  margin: 0 44px 16px 0;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-title {
  margin: 16px 0 10px;
  font-size: 15px;
  color: var(--gold-bright);
}

.result-hero {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.result-coin {
  width: 64px;
}

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

.result-hero strong {
  display: block;
  margin-top: 3px;
  color: var(--gold-bright);
}

.meter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meter {
  width: 72px;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.meter i {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--copper), var(--gold-bright));
}

.confidence,
.summary-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.confidence {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.confidence span,
.summary-grid span {
  color: var(--muted);
}

.confidence strong,
.summary-grid strong {
  color: var(--gold-bright);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.summary-grid > div {
  display: grid;
  gap: 5px;
}

.candidate-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.candidate-card {
  min-height: 68px;
  border: 1px solid rgba(210, 168, 74, 0.18);
  border-radius: 8px;
  padding: 10px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.candidate-card strong {
  display: block;
  font-size: 14px;
}

.candidate-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.candidate-card > span {
  color: var(--gold-bright);
  font-weight: 800;
}

.candidate-coin {
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 24%, #fff1b7, #d2a84a 44%, #714616 82%);
  box-shadow: inset 0 0 0 3px rgba(47, 30, 9, 0.22);
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 8px;
}

.detail-list dt {
  color: var(--muted);
}

.detail-list dd {
  margin: 0;
  text-align: right;
}

.note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.missing-box {
  border: 1px solid rgba(210, 168, 74, 0.18);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  background: rgba(210, 168, 74, 0.06);
}

.missing-box strong {
  display: block;
  margin-bottom: 8px;
}

.missing-box div,
.price-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.missing-box span {
  border: 1px solid rgba(210, 168, 74, 0.22);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--gold-bright);
  font-size: 12px;
}

.price-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
}

.price-tiers div {
  border: 1px solid rgba(210, 168, 74, 0.18);
  border-radius: 8px;
  padding: 10px 8px;
  display: grid;
  gap: 3px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

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

.price-tiers strong {
  color: var(--text);
}

.price-tiers .locked strong {
  color: var(--gold-bright);
}

.pro-upsell,
.listing-box {
  border: 1px solid rgba(243, 210, 122, 0.24);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  display: grid;
  gap: 5px;
  background: linear-gradient(135deg, rgba(210, 168, 74, 0.12), rgba(255, 255, 255, 0.03));
}

.pro-upsell strong,
.listing-box strong {
  color: var(--gold-bright);
}

.pro-upsell span,
.listing-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.actions.triple {
  grid-template-columns: 1fr 1fr 1fr;
}

.small {
  min-height: 48px;
}

.icon {
  display: inline-block;
  color: currentColor;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-coin { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Cpath d='M8.5 8.5l7 7'/%3E%3Cpath d='M15.5 8.5l-7 7'/%3E%3C/svg%3E"); }
.icon-camera { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.5 4l1.6 2H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.9l1.6-2h5z'/%3E%3Ccircle cx='12' cy='12.5' r='3.5'/%3E%3C/svg%3E"); }
.icon-upload { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 8l5-5 5 5'/%3E%3Cpath d='M5 15v4h14v-4'/%3E%3C/svg%3E"); }
.icon-album { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='3' width='15' height='18' rx='2'/%3E%3Cpath d='M8 7h7'/%3E%3Ccircle cx='10' cy='13' r='2'/%3E%3Ccircle cx='15' cy='13' r='2'/%3E%3C/svg%3E"); }
.icon-catalog { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h13v18H6a2 2 0 0 1-2-1.5z'/%3E%3Cpath d='M8 7h7'/%3E%3Cpath d='M8 11h7'/%3E%3C/svg%3E"); }
.icon-market { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M7 16V9'/%3E%3Cpath d='M12 16V5'/%3E%3Cpath d='M17 16v-4'/%3E%3Cpath d='M5 9h4'/%3E%3Cpath d='M10 5h4'/%3E%3Cpath d='M15 12h4'/%3E%3C/svg%3E"); }
.icon-profile { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.8-4 4.4-6 8-6s6.2 2 8 6'/%3E%3C/svg%3E"); }
.icon-ruler { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 17L17 4l3 3L7 20l-3-3z'/%3E%3Cpath d='M12 9l3 3'/%3E%3Cpath d='M9 12l2 2'/%3E%3C/svg%3E"); }
.icon-edge { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='12' cy='7' rx='7' ry='3'/%3E%3Cpath d='M5 7v8c0 1.7 3.1 3 7 3s7-1.3 7-3V7'/%3E%3Cpath d='M5 11c0 1.7 3.1 3 7 3s7-1.3 7-3'/%3E%3C/svg%3E"); }

@media (min-width: 560px) {
  body {
    display: grid;
    place-items: center;
  }

  .app-shell {
    width: min(420px, 100vw);
    max-height: 900px;
    border-inline: 1px solid rgba(210, 168, 74, 0.18);
  }
}
