/* Web shop furniture. The purchase cabinet keeps its own portrait materials and controls. */
.store-nav, .store-mast, .store-station-label {display:none}
.store-sr {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.store-tools {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px}
.store-tools label {min-width:0}
.store-tools :is(input,select) {width:100%;max-width:100%;height:42px;min-height:42px;padding:0 13px;border:1px solid #a9beb2;border-radius:9px;background:#f8fbf6;color:#123632;font:inherit;font-size:14px}
.store-tools select {padding-right:6px}
.store-tools label:has([data-station-filter]) {max-width:min(100%,250px)}
.store-tools [data-station-filter] {color:#fff;background:#0c393c;border-color:#0c393c}
.store-search {flex:1 1 150px;max-width:310px}
.store-sort {margin-left:auto}
.catalog-placeholder {background:#0c393c url("shop-kiosk/ticket-front.webp") center / auto 70% no-repeat}
#filter-empty {padding:36px;text-align:center;border:1px dashed #829e90;border-radius:12px}
@media (max-width:767px) {
  .machine-shop .cabinet.store-catalog {width:100%;height:100dvh}
  .store-catalog:not(:has([data-all-stations])) .store-tools {display:none}
  .store-catalog .store-search {display:none}
  .store-catalog .store-tools {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:18px}
  .store-tools label:has([data-station-filter]) {max-width:none}
  .store-tools select {height:44px;color-scheme:dark;color:#effaf4;background:#103b40;border-color:#48716d}
  .store-catalog #end-note:not(:empty) {margin-bottom:12px;padding:8px 10px;border-left:3px solid #e5be77;background:#18383a;color:#ffe3ad}
  .machine-shop .store-catalog #catalog .catalog-overlay {
    display:flex;flex-flow:row wrap;align-content:center;align-items:center;
    justify-content:flex-start;gap:5px 10px;padding:12px;
  }
  .store-catalog #catalog .catalog-caption {display:contents}
  .store-catalog #catalog :is(.viewer-price-row,[data-product-title],.viewer-counts) {flex-basis:100%;margin:0}
  .store-catalog #catalog .catalog-caption .price-plate {
    margin:0;padding:5px 7px;gap:4px;flex-wrap:wrap;
    font:700 .86rem/1.25 "Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  }
  .machine-shop .store-catalog #catalog .catalog-entry {margin-left:auto;max-width:100%;align-self:center}
  .machine-shop .store-catalog #catalog .entry-actions button {flex-wrap:nowrap;white-space:nowrap}
}

@media (min-width:768px) {
  body.machine-shop:has(.store-nav) {
    --shop-ink:#123632;--shop-muted:#47645a;--shop-paper:#f8fbf6;--shop-canvas:#eaf0eb;--shop-rim:#a9beb2;
    --shop-cabinet:#0c393c;--shop-lime:#daf577;
    --shop-font:"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  }
  body.machine-shop:has(.cabinet:is(.store-catalog,.store-stations,.member-scene,.standby)) {
    background:radial-gradient(#aac2b362 .7px,transparent 1px) 0 0/6px 6px,var(--shop-canvas);
  }
  .machine-shop .cabinet:is(.store-catalog,.store-stations,.member-scene,.standby) {
    width:min(100%,960px);height:100dvh;max-height:none;background:var(--shop-canvas);color:var(--shop-ink);
    box-shadow:none;--display:var(--shop-font);font:400 15px/1.5 var(--shop-font);
  }
  :is(.store-catalog,.store-stations,.member-scene,.standby) .store-nav {
    display:flex;align-items:center;flex:none;gap:20px;min-height:60px;margin:20px 24px 0;padding:0 66px 0 20px;
    border-radius:12px;color:#f8fbf6;background:var(--shop-cabinet);
    box-shadow:inset 0 1px #588178,0 2px 0 #b8cdc0;
  }
  .store-nav a {display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;font-size:13px;font-weight:500}
  .store-nav a:is(:hover,[aria-current]) {color:#daf577}
  .store-nav .store-brand {gap:8px;margin-right:24px;font-size:19px}
  .store-brand img {width:110px;height:36px;object-fit:contain}
  .store-user-links {display:flex;align-items:center;gap:16px;margin-left:auto}
  .machine-shop :is(.store-catalog,.store-stations,.member-scene,.standby) .drawer-page > button.drawer-key:not(#pages button) {
    left:auto;right:32px;top:28px;border:1px solid #567c73;border-radius:8px;box-shadow:none;background:#174349;
  }
  .machine-shop :is(.store-catalog,.store-stations,.member-scene) .screen {
    padding:24px 24px 64px;scrollbar-color:#91aa9c transparent;scrollbar-gutter:auto;
  }
  .store-catalog .fascia,.store-catalog .catalog-station-heading {display:none}
  .store-mast {position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:20px;
    min-height:142px;padding:18px 5%;margin-bottom:12px;border:1px solid #497c6a;border-radius:14px;overflow:hidden;
    background:var(--shop-cabinet) url("shop-kiosk/board-field.webp") center 36% / cover}
  .store-mast > div {min-width:210px;max-width:70%;padding:12px 20px;border-radius:10px;background:#0c393cef;color:#f8fbf6}
  .store-mast h1 {font:700 34px/1.25 var(--shop-font);letter-spacing:-.055em}
  .store-mast p {margin:8px 0 0;color:#a1ebce;font-size:13px}
  .store-mast img {width:142px;height:88px;object-fit:contain;transform:rotate(8deg);filter:drop-shadow(3px 7px 0 #001f2466)}
  .store-tools {margin:0 0 22px;padding:2px 0}
  .machine-shop .store-catalog #catalog {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
  .machine-shop .store-catalog #catalog .product {
    display:flex;flex-direction:column;min-height:0;padding:0;border:1px solid var(--shop-rim);
    background:var(--shop-paper);color:var(--shop-ink);border-radius:14px;box-shadow:0 2px 0 #c3d2c6;overflow:hidden;
  }
  .machine-shop .store-catalog #catalog .catalog-art {
    display:block;position:static;flex:none;width:100%;height:auto;aspect-ratio:2.8;padding:7px;
    background-color:var(--shop-cabinet);object-fit:contain;object-position:center;
  }
  .machine-shop .store-catalog #catalog .catalog-overlay {
    flex:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;align-items:center;
    grid-template-rows:auto auto 1fr auto;column-gap:8px;row-gap:7px;padding:14px 16px;background:none;
  }
  .store-catalog #catalog .catalog-caption {display:contents;text-shadow:none}
  .store-catalog #catalog .viewer-price-row,.store-catalog #catalog .catalog-caption h2,.store-catalog #catalog .viewer-counts {grid-column:1/-1}
  .store-catalog #catalog .viewer-price-row {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
  .store-station-label {display:inline;color:var(--shop-muted);font-size:12px;font-weight:500}
  .store-catalog #catalog .poster-format {font:500 11px/1.4 var(--shop-font);color:#366452;background:#e3eee2;border:0;padding:1px 6px}
  .machine-shop .store-catalog #catalog .catalog-caption h2 {margin:0;color:var(--shop-ink);font:650 19px/1.4 var(--shop-font);text-shadow:none}
  .store-catalog #catalog .viewer-counts {align-self:start;margin:0 0 3px;padding-bottom:12px;border-bottom:1px solid #cddbd1;color:var(--shop-muted);text-shadow:none;font-size:13px}
  .store-catalog #catalog .viewer-counts b {font:650 16px/1.3 var(--shop-font);font-variant-numeric:tabular-nums}
  .store-catalog #catalog [data-remaining] {color:#066746}
  .store-catalog #catalog [data-grades] {color:#804600}
  .store-catalog #catalog .catalog-caption .price-plate {margin:0;padding:0;gap:6px;box-shadow:none;border:0;background:none;flex-wrap:wrap;width:auto}
  .store-catalog #catalog .price-plate del {border:0;padding:0;font-size:12px;font-weight:400}
  .store-catalog #catalog .price-plate [data-price-label] {font-size:11px;font-weight:500}
  .store-catalog #catalog .price-plate strong {font-size:19px;font-weight:700}
  .machine-shop .store-catalog #catalog .catalog-entry {align-self:end;max-width:12rem;text-align:right}
  .store-catalog #catalog .catalog-entry :is(.state,small) {color:var(--shop-muted);text-shadow:none;font-size:12px}
  .store-catalog #catalog .entry-actions {justify-content:end}
  .machine-shop .store-catalog #catalog .entry-actions button {min-height:42px;padding:6px 12px;border:1px solid #b7d563;background:var(--shop-lime);box-shadow:0 2px 0 #a8bc84;font:650 13px/1.25 var(--shop-font)}
  .store-catalog #catalog .entry-actions .entry-label {font-size:11px}
  .store-catalog .screen :is(#errors,[role=alert]) {color:#882f28}
  .store-catalog #end-note:not(:empty) {padding:12px;background:#d3e5da;border-radius:8px;margin-bottom:12px}
  .store-catalog .empty {color:#23483c;background:#deeae0;border:1px dashed #95b09e;box-shadow:none}
  .store-catalog .empty p {color:inherit}
  .store-stations .fascia,.member-scene .fascia {
    min-height:84px;display:flex;align-items:end;justify-content:flex-start;padding:12px 24px 0;background:none;
  }
  .store-stations .fascia h1,.member-scene .fascia h1 {color:var(--shop-ink);font:700 30px/1.25 var(--shop-font);padding:0}
  .machine-shop :is(.store-stations,.member-scene) .fascia .return-key {right:24px;bottom:0;left:auto;background:#d7e5db;border:1px solid var(--shop-rim);border-radius:10px;color:var(--shop-ink)}
  .store-stations .machine-list {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .store-stations .machine-key strong {font:650 19px/1.4 var(--shop-font)}
  .member-scene {color-scheme:light}
  .member-scene .member-content {width:min(100%,760px);margin-inline:auto;gap:16px}
  .member-scene .sheet {color:var(--shop-ink);background:var(--shop-paper);border:1px solid var(--shop-rim);border-radius:12px;box-shadow:0 2px 0 #c3d2c6;padding:22px}
  .member-scene :is(h2,legend),.member-scene label:not(.check) {color:var(--shop-ink);font-family:var(--shop-font);font-weight:600}
  .member-scene :is(small,.account-data dt,.social-method-heading) {color:var(--shop-muted)}
  .member-scene :is(.sheet a,summary,.profile-card strong,.member-tools a,.social-retry a) {color:#10664b}
  .member-scene .sheet .award-face :is(small,strong) {color:#eef9f4}
  .member-scene .sheet .award-face label {color:#eef9f4}
  .member-scene .member-links {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .member-scene .member-links a {background:var(--shop-paper);color:var(--shop-ink);border-color:var(--shop-rim);font-weight:500}
  .member-scene .feedback {color:#effff7}
  .member-scene .account-data dd {overflow-wrap:anywhere}
  .member-scene .member-tools a:focus-visible,.store-nav a:focus-visible,.store-tools :focus-visible {outline:3px solid #b58422;outline-offset:2px}
  .member-scene .postcode-dialog {color-scheme:dark}
  .member-scene .postcode-dialog h2 {color:#effff7}
  /* CSS entrance also works in browsers without cross-document view transitions. */
  @media(prefers-reduced-motion:no-preference) {
    .machine-shop .cabinet:has(#board),.store-catalog .screen {animation:enter-purchase .28s ease-out both}
    @keyframes enter-purchase {from{opacity:0;transform:translateY(6px) scale(.99)}to{opacity:1;transform:none}}
  }
}
