/* A small, purely navigational entry; no sale or payment state lives here. */
#box.box-workbench > .sec-head.hl-box-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}
#box .hl-box-heading-copy { min-width: 0; }
#box .hl-box-heading-copy p { max-width: 60ch; margin-bottom: 0; }
#box .hl-limited-shop-entry {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  width: 286px;
  max-width: 100%;
  min-height: 88px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 14px 18px;
  border: 2px solid #617767;
  border-radius: 0;
  color: #234239;
  background: #e5edcf;
  box-shadow: inset 0 0 0 3px #fff7d7, inset 0 0 0 5px #b8c695, 0 4px 0 #748966;
  clip-path: polygon(6px 0,calc(100% - 6px) 0,calc(100% - 6px) 4px,100% 4px,100% calc(100% - 4px),calc(100% - 6px) calc(100% - 4px),calc(100% - 6px) 100%,6px 100%,6px calc(100% - 4px),0 calc(100% - 4px),0 4px,6px 4px);
  text-align: left;
  text-decoration: none;
  transition: background-color .12s steps(2,end), transform .1s steps(2,end);
}
#box .hl-limited-shop-entry::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 12px;
  top: 9px;
  width: 4px;
  height: 4px;
  pointer-events: none;
  background: #fff6b7;
  box-shadow: 12px 0 #8ddac5, 24px 0 #ae95d3, 36px 0 #e8b9ce, 220px 58px #8ddac5, 208px 58px #ae95d3, 196px 58px #e8b9ce;
  animation: hl-shop-prism-flow 4s steps(4,end) infinite;
}
#box .hl-limited-shop-entry::after {
  content: '';
  position: absolute;
  inset: 8px auto 8px -40px;
  width: 12px;
  pointer-events: none;
  background: #fffbe938;
  box-shadow: 12px 8px #fffbe922, -12px -8px #fffbe922;
  animation: hl-shop-prism-shine 7s steps(18,end) infinite;
}
#box .hl-limited-shop-entry:hover {
  border-color: #526e54;
  background: #dbeab9;
  box-shadow: inset 0 0 0 3px #fff9d8, inset 0 0 0 5px #abc183, 0 6px 0 #68805a;
  transform: translateY(-2px);
}
#box .hl-limited-shop-entry:focus-visible {
  outline: 3px solid #61519a;
  outline-offset: -7px;
  background: #f2efd1;
}
#box .hl-limited-shop-entry:active { transform: translateY(2px); background: #cfdfa9; }
#box .hl-shop-entry-gem {
  display: block;
  width: 52px;
  height: 52px;
  image-rendering: pixelated;
  filter: drop-shadow(0 3px 0 #70806b40);
}
#box .hl-shop-entry-text { min-width: 0; }
#box .hl-shop-entry-text strong {
  display: block;
  font-family: var(--hl-font, system-ui, sans-serif);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .02em;
  white-space: nowrap;
}
#box .hl-shop-entry-text small {
  display: block;
  margin-top: 6px;
  color: #637657;
  font-family: var(--hl-font, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .04em;
}
#box .hl-shop-entry-arrow { width: 20px; height: 20px; color: #6c8058; }
#box .hl-shop-entry-text [data-shop-lang="ja"] strong { font-size: 17px; }
#box .hl-shop-entry-text [data-shop-lang] { display: none; }
html:lang(zh) #box .hl-shop-entry-text [data-shop-lang="zh"],
html:lang(ja) #box .hl-shop-entry-text [data-shop-lang="ja"],
html:not(:lang(zh)):not(:lang(ja)) #box .hl-shop-entry-text [data-shop-lang="en"] { display: block; }
@keyframes hl-shop-prism-flow { 0%,100% { opacity:.4; } 50% { opacity:1; transform:translateX(4px); } }
@keyframes hl-shop-prism-shine {
  0%, 40% { left: -40px; }
  76%, 100% { left: 145%; }
}
@media (max-width: 760px) {
  #box.box-workbench > .sec-head.hl-box-heading { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  #box .hl-limited-shop-entry {
    width: 100%;
    min-height: 72px;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    padding: 12px 16px;
    border-radius: 0;
  }
  #box .hl-shop-entry-gem { width: 42px; height: 42px; }
  #box .hl-shop-entry-text strong { font-size: 18px; }
  #box .hl-shop-entry-text small { margin-top: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  #box .hl-limited-shop-entry { transition: none; }
  #box .hl-limited-shop-entry::before,
  #box .hl-limited-shop-entry::after { animation: none; }
  #box .hl-limited-shop-entry::after { display: none; }
  #box .hl-limited-shop-entry:hover { transform: none; }
}
