.yemap {
  --ym-ink: #211d2d;
  --ym-muted: #595465;
  --ym-line: #dedbe4;
  --ym-action: #423097;
  color: var(--ym-ink);
  font: inherit;
  min-width: 0;
}
.yemap *, .yemap *::before { box-sizing: border-box; }
.yemap .yemap-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; margin-bottom: 1rem; }
.yemap .yemap-title { font: inherit; font-weight: 720; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -.025em; margin: 0; }
.yemap button, .yemap select { color: inherit; font: inherit; }
.yemap button { width: auto; min-width: 0; margin: 0; cursor: pointer; text-align: center; box-shadow: none; }
.yemap button:disabled { opacity: .45; cursor: default; }
.yemap button:focus-visible, .yemap select:focus-visible { outline: 3px solid #6247be; outline-offset: 2px; }
.yemap .yemap-quantity { display: inline-flex; align-items: center; border: 1px solid var(--ym-line); border-radius: 7px; background: white; }
.yemap .yemap-quantity button { width: 2.5rem; height: 2.5rem; padding: 0; border: none; border-radius: 7px; background: transparent; color: var(--ym-ink); font-size: 1.3rem; }
.yemap .yemap-quantity output { padding: 0 .3rem; font-size: .93rem; font-weight: 650; min-width: 4rem; text-align: center; font-variant-numeric: tabular-nums; }
.yemap-layout { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(15rem,1fr); gap: clamp(.9rem,2vw,1.75rem); align-items: start; }
.yemap-canvas { min-width: 0; position: relative; padding: .4rem .25rem .5rem; border: 1px solid var(--ym-line); border-radius: .9rem; background: #f8f7fa; }
.yemap-viewport { width: 100%; aspect-ratio: 4872/4141; overflow: auto; overscroll-behavior: contain; }
.yemap .yemap-stadium { display: block; width: var(--ye-map-width, 100%); height: auto; max-width: none; }
.yemap-stadium text { pointer-events: none; }
.yemap-cell { cursor: pointer; outline: none; }
.yemap-cell[aria-pressed=true] path, .yemap-cell:focus-visible path { stroke: #41354a; stroke-width: 18px; stroke-linejoin: round; }
@media (hover: hover) { .yemap-cell:hover path { stroke: #514461; stroke-width: 14px; } }
.yemap-zoom-controls { position: absolute; bottom: .45rem; inset-inline-start: .45rem; display: flex; flex-direction: column; gap: .2rem; }
.yemap .yemap-zoom-controls button { width: 2.5rem; min-height: 2.5rem; padding: 0; border: 1px solid var(--ym-line); border-radius: .45rem; background: #fff; color: var(--ym-ink); font-size: 1.35rem; }
.yemap-controls { min-width: 0; }
.yemap-chips, .yemap-other { display: flex; flex-wrap: wrap; gap: .4rem; }
.yemap-other:not(:empty) { margin-top: .55rem; }
.yemap .yemap-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .65rem; min-height: 2.3rem; background: white; color: var(--ym-ink); border: 1px solid var(--ym-line); border-radius: .5rem; line-height: 1.2; font-size: .84rem; font-weight: 570; }
.yemap-chip i { width: .8rem; height: .8rem; border: 1px solid #0002; border-radius: 3px; }
.yemap .yemap-chip[aria-pressed=true], .yemap .yemap-chip:hover { border-color: #564663; background: #f7f4fa; }
.yemap-detail { margin-top: 1rem; border-top: 1px solid var(--ym-line); padding-top: .9rem; }
.yemap .yemap-selection { font-size: 1.1rem; line-height: 1.25; margin: 0 0 .5rem; }
.yemap :is(.yemap-unit,.yemap-hint) { margin: .35rem 0 .65rem; font-size: .92rem; color: var(--ym-muted); line-height: 1.4; }
.yemap .yemap-purchase { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; justify-content: space-between; }
.yemap-total { display: grid; }
.yemap-total span { font-size: .81rem; color: var(--ym-muted); }
.yemap-total strong { font-size: 1.15rem; }
.yemap :is(.yemap-buy,.yemap-ask) { min-height: 2.65rem; border: 1px solid var(--ym-action); border-radius: .5rem; padding: .6rem .85rem; background: var(--ym-action); color: white; font-size: .93rem; font-weight: 650; line-height: 1.25; }
.yemap .yemap-ask { background: white; color: var(--ym-action); }
.yemap .yemap-purchase + .yemap-ask { margin-top: .7rem; }
.yemap .yemap-offer { display: block; width: 100%; padding: .6rem; background: white; border: 1px solid var(--ym-line); border-radius: .4rem; }
@media (max-width: 740px) {
  .yemap-layout { grid-template-columns: minmax(0,1fr); }
  .yemap-controls { display: contents; }
  .yemap-chips { order: -1; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding: .2rem .15rem .45rem; }
  .yemap .yemap-chip { flex: 0 0 auto; min-height: 2.75rem; padding: .4rem .55rem; gap: .35rem; }
  .yemap .yemap-zoom-controls button { width: 2.5rem; min-height: 2.5rem; background: #fff; }
  .yemap-detail { margin-top: 0; padding-top: .75rem; }
}
.yemap-chip-rate { color: var(--ym-muted); font-size: .72rem; font-weight: 500; }
.yemap-chip-rate:empty { display: none; }
