.physical-shop-tabs {
  margin-bottom: 28px;
  display: flex;
  width: fit-content;
  max-width: 100%;
}
.physical-shop-tabs button {
  min-height: 44px;
  padding: 10px 24px;
  font-size: 12px;
  white-space: nowrap;
}
.physical-shop-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 30px 0 22px;
}
.physical-shop-intro h2 {
  font: 500 clamp(23px, 2.5vw, 32px) var(--display);
  letter-spacing: -0.8px;
  margin: 9px 0;
}
.physical-shop-intro p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.physical-trial-badge {
  border: 1px solid var(--website-line-73-88-56-1, #495838);
  border-radius: 5px;
  color: var(--website-ink-211-245-154-1, #d3f59a);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 9px 12px;
  white-space: nowrap;
}
.physical-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1160px;
}
.physical-card {
  --season: #eeb5c7;
  --season-bg: #eeb5c71a;
  min-width: 0;
  border: 1px solid var(--website-line-65-70-57-1, #414639);
  border-radius: 18px;
  background: linear-gradient(150deg, var(--website-surface-36-37-31-1, #24251f), var(--website-surface-25-29-24-1, #191d18));
  overflow: hidden;
  position: relative;
}
.physical-card.physical-autumn {
  --season: #edb46a;
  --season-bg: #d88c321c;
}
.physical-card.equipped {
  border-color: var(--season);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--season) 12%, transparent);
}
.physical-card-top {
  display: flex;
  justify-content: space-between;
  padding: 22px 25px 0;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--website-ink-155-162-142-1, #9ba28e);
}
.physical-card-top span:first-child {
  color: var(--season);
}
.physical-stage {
  position: relative;
  height: 300px;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 42%, var(--season-bg, #ddb5c719), transparent 65%);
  overflow: hidden;
}
.physical-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  position: relative;
  z-index: 2;
  touch-action: pan-y;
  cursor: grab;
}
.physical-stage canvas.dragging {
  cursor: grabbing;
  touch-action: none;
}
.physical-stage:after {
  content: '';
  position: absolute;
  left: 31%;
  right: 31%;
  bottom: 12%;
  height: 14px;
  border-radius: 50%;
  background: var(--website-surface-0-0-0-0_6, #0009);
  filter: blur(9px);
  z-index: 0;
}
.physical-stage-orbit {
  position: absolute;
  width: 60%;
  height: 18%;
  border: 1px solid var(--website-line-211-245-154-0_054901960784313725, #d3f59a0e);
  border-radius: 50%;
  left: 20%;
  bottom: 6%;
  transform: rotate(-8deg);
  pointer-events: none;
}
.physical-face-now {
  position: absolute;
  right: 25px;
  top: 20px;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--website-ink-172-176-158-1, #acb09e);
  z-index: 3;
}
.physical-drag-hint {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--website-ink-105-114-96-1, #697260);
  z-index: 3;
  pointer-events: none;
}
.physical-side-controls {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin: 8px 0 17px;
}
.physical-side-controls button {
  background: transparent;
  color: var(--website-ink-174-182-162-1, #aeb6a2);
  border: 1px solid var(--website-line-59-67-51-1, #3b4333);
  border-radius: 6px;
  font: 11px var(--body);
  min-height: 36px;
  padding: 8px 16px;
  cursor: pointer;
}
.physical-side-controls button:hover,
.physical-side-controls button.selected {
  background: var(--website-surface-211-245-154-0_07058823529411765, #d3f59a12);
  border-color: var(--website-line-116-133-83-1, #748553);
  color: var(--website-ink-217-237-189-1, #d9edbd);
}
.physical-card-copy {
  padding: 15px 25px 25px;
  border-top: 1px solid var(--website-line-66-75-52-0_23921568627450981, #424b343d);
}
.physical-card-copy > .eyebrow {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--season);
}
.physical-card-copy h2 {
  font: 500 35px var(--display);
  letter-spacing: -1px;
  margin: 10px 0;
}
.physical-card-copy p {
  font-size: 12px;
  color: var(--website-ink-168-176-153-1, #a8b099);
  line-height: 1.8;
  min-height: 44px;
  max-width: 370px;
  margin: 0 0 18px;
}
.physical-motifs {
  display: flex;
  gap: 16px;
  color: var(--website-ink-132-144-120-1, #849078);
  font-size: 9px;
}
.physical-motifs span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.physical-motifs b {
  font-weight: 400;
  color: var(--website-ink-191-199-179-1, #bfc7b3);
  font-size: 11px;
}
.physical-actions {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 10px;
  margin-top: 23px;
}
.physical-actions button {
  min-height: 44px;
  justify-content: center;
  font-size: 12px;
}
.physical-shop-note {
  font-size: 11px;
  line-height: 1.8;
  color: var(--website-ink-125-138-112-1, #7d8a70);
  padding: 10px 0 0;
}
.physical-render {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: none !important;
  pointer-events: none;
  z-index: 2;
}
.physical-render[hidden] {
  display: none !important;
}
.physical-in-play > .coin {
  opacity: 0 !important;
}
.physical-in-play > .pc-render-layer {
  display: none !important;
}
.physical-in-play > .mint-render {
  z-index: 1;
}
.physical-coin-dialog {
  max-width: 670px !important;
  width: calc(100% - 32px);
}
.physical-inspector {
  --season-bg: #b6997620;
  text-align: center;
}
.physical-inspector > .eyebrow {
  justify-content: center;
  margin-top: 8px;
}
.physical-inspector h2 {
  font: 500 40px var(--display);
  letter-spacing: -1px;
  margin: 12px 0 0;
}
.physical-inspector > p {
  font-size: 13px;
  color: var(--muted);
}
.physical-inspector .physical-stage {
  height: 330px;
}
.physical-inspector .physical-motifs {
  justify-content: center;
  margin: 22px 0;
}
.physical-inspector > .flip-button {
  width: 100%;
  justify-content: center;
}
.physical-play-link {
  display: block;
  color: var(--website-ink-211-245-154-1, #d3f59a);
  font-size: 12px;
  margin: 18px 0;
}
.physical-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  font: 90px Georgia;
  color: #ebbc8d;
  text-shadow: 3px 5px #493c26;
}
@media (min-width: 1500px) {
  .physical-stage {
    height: 340px;
  }
  .physical-card-copy {
    padding: 18px 30px 28px;
  }
}
@media (max-width: 700px) {
  .physical-shop-tabs {
    display: grid;
    grid-template-columns: 0.85fr 1.45fr 1.2fr;
    width: 100%;
    margin-bottom: 22px;
    gap: 3px;
  }
  .physical-shop-tabs button {
    font-size: 10px;
    white-space: normal;
    line-height: 1.4;
    padding: 8px 5px;
  }
  .physical-shop-intro {
    align-items: flex-start;
    gap: 10px;
    margin-top: 23px;
  }
  .physical-shop-intro h2 {
    font-size: 24px;
    max-width: 210px;
  }
  .physical-shop-intro .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .physical-shop-intro p {
    font-size: 12px;
  }
  .physical-trial-badge {
    font-size: 7px;
    padding: 8px;
    letter-spacing: 0.4px;
    white-space: normal;
    max-width: 90px;
    line-height: 1.5;
  }
  .physical-shop-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .physical-stage {
    height: 280px;
  }
  .physical-card-top {
    padding: 19px 21px 0;
  }
  .physical-card-copy {
    padding: 16px 21px 21px;
  }
  .physical-card-copy h2 {
    font-size: 32px;
  }
  .physical-card-copy p {
    font-size: 12px;
    min-height: 0;
  }
  .physical-side-controls button {
    min-height: 44px;
    padding: 8px 19px;
  }
  .physical-motifs {
    gap: 13px;
    flex-wrap: wrap;
  }
  .physical-coin-dialog {
    width: calc(100% - 16px) !important;
    max-height: calc(100dvh - 24px);
    padding: 18px !important;
  }
  .physical-inspector .physical-stage {
    height: 270px;
  }
  .physical-inspector h2 {
    font-size: 32px;
  }
  .physical-inspector > .subtle {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .physical-stage-orbit {
    display: none;
  }
}

#view-coins .section-heading {
  margin-bottom: 25px;
}
.physical-shop-intro {
  margin: 23px 0 16px;
}
.physical-shop-intro p {
  margin-top: 10px;
}

.coin-stage:has(.physical-in-play) > .orbit,
.coin-stage:has(.physical-in-play) > .coin-spark {
  display: none;
}

.physical-stage.physical-sakura {
  --season-bg: #eeb5c71a;
}
.physical-stage.physical-autumn {
  --season-bg: #d88c321c;
}

.physical-fallback {
  font: 14px var(--body);
  color: var(--website-ink-178-188-166-1, #b2bca6);
  text-shadow: none;
}

/* Paired obverse/reverse presentation: one context draws both physical faces. */
.physical-stage {
  height: 360px;
  background: radial-gradient(ellipse at 50% 48%, var(--season-bg), transparent 72%);
}
.physical-stage:after {
  left: 20%;
  right: 20%;
  bottom: 13%;
  height: 19px;
  filter: blur(12px);
}
.physical-stage-orbit {
  display: none;
}
.physical-pair-front,
.physical-pair-back {
  position: absolute;
  font-size: 8px;
  letter-spacing: 1.6px;
  color: var(--season, #eab4c6);
  z-index: 3;
  pointer-events: none;
  border-bottom: 1px solid var(--website-line-186-194-170-0_18823529411764706, #bac2aa30);
  padding: 4px 7px;
}
.physical-pair-front {
  left: 18%;
  bottom: 16%;
}
.physical-pair-back {
  right: 17%;
  top: 13%;
}
.physical-autumn .physical-pair-front,
.physical-autumn .physical-pair-back {
  color: #edb46a;
}
.physical-inspector .physical-stage {
  height: 390px;
}
@media (max-width: 700px) {
  .physical-stage {
    height: 320px;
  }
  .physical-inspector .physical-stage {
    height: 330px;
  }
  .physical-pair-front {
    left: 10%;
    bottom: 17%;
  }
  .physical-pair-back {
    right: 11%;
    top: 12%;
  }
  .physical-face-now {
    right: 20px;
    top: 15px;
    font-size: 7px;
  }
}
