/* The illuminated department sign, physical counter and paper pickup slip. */
#desk {
  width: min(100%, 1490px);
  padding: clamp(20px, 2.6vw, 42px) clamp(16px, 4.7vw, 74px) clamp(30px, 5vw, 70px);
  font-family: var(--vc-sans);
}
.open-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 clamp(14px, 1.7vw, 24px);
}
.open-heading h1 {
  margin: 0;
  color: #173d78;
  font: italic 800 clamp(2.7rem, 5.8vw, 5.75rem)/.9 "Club Marquee", Impact, sans-serif;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.desk-tabs { display: flex; gap: 4px; align-items: center; }
.desk-tabs a, #sound-button {
  display: inline-flex; gap: 7px; align-items: center; justify-content: center;
  min-height: 44px; padding: 7px 12px; border: 0; color: #163655;
  background: transparent; font: 710 .9rem/1.2 var(--vc-sans); white-space: nowrap;
}
.desk-tabs a { border: 1px solid transparent; text-decoration: none; }
.desk-tabs a[aria-current="page"] { background: #f9f6e9; border-color: #bdb8a3; box-shadow: 0 2px 0 #d3d0c4; }
.desk-tabs a:hover, #sound-button:hover { text-decoration: underline; text-underline-offset: 3px; }
#sound-button svg { width: 18px; height: 18px; }
#desk[data-preview="true"] .desk-tabs { display: none; }
.desk-grid {
  grid-template-columns: minmax(0, 2.05fr) minmax(285px, .95fr);
  grid-template-areas: "counter docket";
  gap: 0;
  align-items: start;
  background: #f4eedc;
  border: 1px solid #a9a798;
  box-shadow: 0 4px 0 #d0cec1, 0 7px 12px -10px #4e4e43;
}
.main-table { min-width: 0; align-self: stretch; }
.main-table .device { height: auto; }
.main-table .playmat { border-radius: 0; }
.main-table .table-frame { position: relative; }
.main-table .transport {
  background: #fff8e4; color: #17344d;
  border-top: 3px solid #e1b52c; box-shadow: none;
}
.main-table .transport::before { content: none; }
.main-table .recipient h2 { font-family: var(--vc-sans); }
.main-table .mat-footer #finish-chip { font-family: var(--mono); }
.open-docket {
  grid-area: docket; align-self: stretch; min-width: 0;
  color: #132d47; background: #fcf8ed;
  border-inline-start: 1px dashed #a9a28d;
}
.docket-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px clamp(20px,2.05vw,34px);
  background: #173d78; color: #fff8df; border-bottom: 4px solid #f5c330;
  font: 750 .72rem/1.25 var(--mono); text-transform: uppercase; letter-spacing: .1em;
}
.docket-head svg { width: 19px; height: 19px; }
.docket-body { padding: clamp(22px,2.3vw,36px) clamp(18px,2.05vw,34px); }
.docket-body h2 {
  margin: 0; font: 775 clamp(1.7rem,2.7vw,2.9rem)/1.02 var(--vc-sans);
  letter-spacing: -.055em; text-wrap: balance;
}
#docket-copy { margin: 11px 0 20px; color: #344b59; font: 470 1rem/1.48 var(--vc-sans); }
.docket-action, #retry {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 45px; margin: 0 0 21px; padding: 10px 16px;
  border: 0; border-radius: 2px; color: #132d47; background: #ffd03d;
  font: 750 .94rem/1.2 var(--vc-sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 2px 0 #b19742;
}
.docket-action:hover, #retry:hover { background: #ffdc65; }
.docket-links { display: grid; border-top: 1px solid #989e96; }
.docket-links:not(:has(a:not([hidden]))) { display: none; }
.docket-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 46px; padding: 6px 0; color: #173650;
  font: 670 .94rem/1.25 var(--vc-sans); text-decoration: none;
}
.docket-links a::after { content: "→"; flex-shrink: 0; }
.docket-links a + a { border-top: 1px solid #d8d7c9; }
.docket-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
#desk :is(a,button):focus-visible { outline: 3px solid #2a62ae; outline-offset: 3px; }
#feedback { margin: 14px 0 0; color: #142b44; font: 650 .95rem/1.4 var(--vc-sans); }
#feedback:empty { display: none; }
#opening-error { color: #fff5bc; text-align: center; font: 600 .87rem/1.32 var(--vc-sans); margin: 0; }
#desk[data-phase="empty"] .empty-art { display: grid; place-content: center; width: 100%; height: 100%; gap: 0; }
#desk[data-phase="empty"] .empty-art .sealed-pack { display: none; }
#desk[data-phase="empty"] .empty-art span { display: none; }
#desk[data-empty-art="clear"] .empty-art span {
  display: block; position: absolute; inset: 50% 0 auto; color: #f9edc7;
  text-align: center; font: italic 800 1.18rem var(--brand);
}
#desk[data-showcase="true"] #focus-stage,
#desk[data-phase="stack"] .table-frame > #focus-stage {
  background: #eae1ca url("/assets/counter-interior.webp?v=official-logo") center 59% / cover no-repeat;
  box-shadow: inset 0 0 0 1px #172e3821;
}
#desk[data-showcase="true"] #focus-stage { height: clamp(330px, 36vw, 520px); }
#desk[data-phase="stack"] .table-frame > #focus-stage::before,
#desk[data-phase="stack"] .table-frame > #focus-stage :is(.counter-title,.counter-series) { display: none; }
#desk[data-phase="stack"] .table-frame > #focus-stage .stack-counter {
  padding: 6px 9px;
  border-inline-start: 3px solid #faca32;
  background: #17365b; color: #fff4d3;
}
#desk[data-showcase="true"] #focus-stage::before,
#desk[data-showcase="true"] #focus-stage :is(.counter-title,.counter-series,.mat-footer,#tabletop-scene) { display: none; }
#desk[data-showcase="true"] #focus-stage .empty-art { display: block; position: absolute; inset: 0; }
#desk[data-showcase="true"] #focus-stage .sealed-pack {
  position: absolute; bottom: 13%; left: 56%; display: block;
  height: 72%; width: auto; max-width: 44%; object-fit: contain;
  transform: translateX(-50%) rotate(-7deg);
  filter: drop-shadow(6px 7px 4px #302c275c);
}
.sample-pickup {
  position: absolute; z-index: 4; bottom: 11%; left: 56%; transform: translateX(-50%);
  width: 32%; height: 77%; overflow: hidden; white-space: nowrap; text-indent: 110%;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  #desk[data-showcase="true"] .sealed-pack { transition: transform 170ms ease-out; }
  #desk[data-showcase="true"] .table-frame:has(.sample-pickup:hover) #focus-stage .sealed-pack {
    transform: translate(-50%, -3px) rotate(-5deg);
  }
}
.transport #account-link { grid-column: -2/-1; grid-row: 1; align-self: center; justify-self: end; margin: 0; }
#public-credit { grid-column: 1/-1; margin: 0; font: 550 .84rem/1.4 var(--vc-sans); color: #394d62; }
#desk[data-phase="empty"] .desk-hint, #desk[data-readonly="true"] .gesture-guide { display: none; }
[data-readonly="true"] #focus-stage { pointer-events: none; }
#desk [hidden], #pull-details [hidden] { display: none!important; }
#pull-details { width: min(450px, calc(100% - 28px)); }
#pull-details h2 { font: italic 900 2rem var(--brand); letter-spacing: -.04em; }
#pull-details p { line-height: 1.5; }
#pull-source .archive-source { display: block; margin-top: 12px; }
#pull-source .archive-source-link { margin-top: 10px; }
@media (min-width:736px) {
  #desk #account-link { display: none; }
}
@media (max-width:735px) {
  #desk { padding: 20px 14px 32px; }
  .open-heading { margin-bottom: 14px; }
  .desk-tabs a, #sound-button { padding: 5px 8px; }
  .desk-grid { grid-template-columns: 1fr; grid-template-areas: "counter" "docket"; gap: 0; }
  .desk-grid > .main-table { display: block; }
  #desk[data-showcase="true"] #focus-stage { height: clamp(220px, 61vw, 355px); }
  .main-table .counter-title, .main-table .counter-series { display: none; }
  .main-table .transport { padding: 14px; }
  .open-docket { border-inline-start: 0; border-top: 1px solid #a9a798; }
  .docket-head { padding: 9px 16px; }
  .docket-body { padding: 20px 16px; }
  #docket-copy { margin-bottom: 15px; }
  #desk #wide-account-link { display: none; }
}
@media (max-width:560px) {
  .open-heading:has(#live-tab:not([hidden])) { flex-wrap: wrap; }
  .open-heading:has(#live-tab:not([hidden])) .desk-tabs { width: 100%; }
  .open-heading:has(#live-tab:not([hidden])) #sound-button { margin-left: auto; }
}
@media (max-width:460px) {
  .open-heading:not(:has(#live-tab:not([hidden]))) #personal-tab { display: none; }
}
@media (max-width:355px) {
  #sound-button span { display: none; }
  .transport #account-link { padding-inline: 9px; font-size: .82rem; }
}

/* The visitor stands at the counter. The pack, the pickup ticket and the
   membership sign occupy the same scene as the homepage window. */
#desk[data-showcase="true"] {
  position: relative;
  isolation: isolate;
}
#desk[data-showcase="true"] .open-heading { position: relative; z-index: 1; }
#desk[data-showcase="true"] .open-heading h1 {
  padding: .07em .24em .12em;
  color: #ffcf31;
  background: #15386c;
  border-top: 3px solid #f5c631;
  box-shadow: 1px 2px #a3a09a, 3px 4px 4px #17202359;
  transform: rotate(-1deg);
}
#desk[data-showcase="true"] .desk-tabs {
  padding-inline: 4px;
  background: #f5efdd;
  border: 1px solid #a39a86;
  box-shadow: 0 2px 0 #8b8779;
}
#desk[data-showcase="true"] .desk-tabs a[aria-current="page"] {
  color: #193758; background: transparent; border-color: transparent; box-shadow: none;
  text-decoration: underline; text-decoration-color: #cba52d; text-underline-offset: 4px;
}
#desk[data-showcase="true"] .desk-grid { background: transparent; border-color: transparent; box-shadow: none; }
#desk[data-showcase="true"] .table-frame > #focus-stage { background: transparent; box-shadow: none; }
#desk[data-showcase="true"] .open-docket { align-self: end; }
@media (min-width:736px) {
  #desk[data-showcase="true"]::before {
    content: ""; position: absolute; z-index: -1; inset: 0;
    background: #ebe1c9 url("/assets/counter-interior.webp?v=official-logo") center 55% / cover no-repeat;
    border-bottom: 4px solid #18365b;
  }
  #desk[data-showcase="true"] .open-docket {
    margin: 16px 0 0 clamp(12px,1.5vw,26px);
    background: #fbf5e3;
    border: 1px solid #9d9786; border-top: 0;
    box-shadow: 2px 3px #a49a83, 5px 7px 9px #30281b45;
  }
  #desk[data-showcase="true"] .main-table .transport {
    display: block; width: fit-content; max-width: 100%; padding: 10px 22px;
    border: 1px solid #a49a85; border-left: 4px solid #efbd2c;
    box-shadow: 1px 2px #9f9786, 3px 4px 4px #30281b36;
  }
  #desk[data-showcase="true"] .docket-body h2 { font-size: clamp(1.85rem,2.4vw,2.55rem); }
}
@media (max-width:735px) {
  #desk[data-showcase="true"] .main-table .table-frame::before {
    content: ""; position: absolute; z-index: -1; inset: -140px -15px 0;
    background: #ebe1c9 url("/assets/counter-interior.webp?v=official-logo") 29% bottom / cover no-repeat;
  }
  #desk[data-showcase="true"] .open-heading h1 { font-size: clamp(2rem,8.5vw,3.6rem); }
  #desk[data-showcase="true"] .main-table .transport { border-top: 1px solid #a49a85; border-left: 4px solid #efbd2c; }
  #desk[data-showcase="true"] .open-docket { margin-top: 16px; border: 1px solid #b3ad9a; }
}
