/* the how-to panel is paper now: printer/paper.css (loaded by printer/paper.js) */
@keyframes title-glitch {
  0%, 86%, 100% { text-shadow: none; translate: 0 0; }
  87% { text-shadow: -2px 0 #00eadb, 2px 0 #ff49cf; translate: 1px 0; }
  88% { text-shadow: 2px 0 #00eadb, -2px 0 #ff49cf; translate: -1px 0; }
  89% { text-shadow: -1px 0 #00eadb, 1px 0 #ff49cf; translate: 0 0; }
  90% { text-shadow: none; }
}
/* ===== the ticket block: spots + the two steps up front, a rainbow rim that flows, the title glitches now and then ===== */
body.hudskin .product.hud-panel::before { background: linear-gradient(90deg, #ff453a, #ff9f0a, #ffe900, #64ff00, #00eadb, #008cff, #ff49cf, #ff453a) 0 0 / 200% 100%; opacity: 1; animation: hype-rim 3s linear infinite; }
body.hudskin .product.hud-panel { box-shadow: var(--hud-shadow), 0 0 26px -6px rgba(255, 73, 207, 0.5), 0 0 34px -10px rgba(0, 234, 219, 0.5) !important; }
body.hudskin .product-title { animation: title-glitch 5.5s steps(1) infinite; }
body.hudskin .product-spots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin: 9px 0 0; }
body.hudskin .product-spots[hidden] { display: none; }
body.hudskin .product-spot { --c: #ffe900; display: grid; gap: 2px; padding: 6px 7px 7px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
body.hudskin .product-spot[data-k="gtd"] { --c: #00eadb; }
body.hudskin .product-spot[data-k="fcfs"] { --c: #64ff00; }
body.hudskin .product-spot .ps-k { font: 400 8px/1 var(--hud-label); letter-spacing: 0.05em; text-transform: uppercase; color: var(--c); }
body.hudskin .product-spot b { font: 700 18px/1 var(--hud-font); color: var(--hud-ink); font-variant-numeric: tabular-nums; }
body.hudskin .product-spot .ps-of { font: 500 10px/1 var(--hud-font); color: var(--hud-muted); }
body.hudskin .product-steps { list-style: none; margin: 9px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: step; }
body.hudskin .product-steps li { counter-increment: step; display: grid; grid-template-columns: 18px 1fr auto; gap: 7px; align-items: center; font: 600 13.5px/1.25 var(--hud-font); color: var(--hud-ink); }
body.hudskin .product-steps li::before { content: counter(step); display: grid; place-items: center; width: 18px; height: 18px; font: 700 11px/1 var(--hud-font); color: #101722; background: #ffe900; box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.25); }
body.hudskin .product-steps li b { min-width: 24px; font: 700 15px/1 var(--hud-font); color: #ffe900; text-align: right; text-shadow: 0 0 8px rgba(255, 233, 0, 0.5); }
body.hudskin .product-rules { display: block; width: 100%; margin: 8px 0 0; padding: 4px 0 0; border: 0; background: none; color: var(--hud-accent); font: 600 12.5px/1.2 var(--hud-font); text-align: center; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body.hudskin .product-rules:hover { color: #fff; }
body.hudskin.member .product-steps { display: none; }
@media (max-width: 760px) {
  body.hudskin .product-spots { margin-top: 7px; }
  body.hudskin .product-spot { padding: 4px 6px 5px; }
  body.hudskin .product-spot b { font-size: 15px; }
  body.hudskin .product-steps { display: none; }
  body.hudskin .product-rules { grid-column: 1 / -1; margin-top: 2px; }   /* auto row: under the member link when there is one */
}
/* the door: the same flowing rim, the way in is the first thing people see */
body.hudskin .door-card.hud-panel::before { background: linear-gradient(90deg, #ff453a, #ff9f0a, #ffe900, #64ff00, #00eadb, #008cff, #ff49cf, #ff453a) 0 0 / 200% 100%; opacity: 1; animation: hype-rim 3s linear infinite; }
body.hudskin .door-rules { display: inline-block; margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--hud-accent); font: 600 12.5px/1.2 var(--hud-font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
body.hudskin .door-rules:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  body.hudskin .product.hud-panel::before, body.hudskin .door-card.hud-panel::before, body.hudskin .product-title { animation: none; }
}

/* the Weirdlist docs, one tap from every notice (owner 16/10: "sempre um linkzinho para acessar o doc") */
body.hudskin .door-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0; }
body.hudskin .wl-doc { color: var(--hud-accent); font: 600 12.5px/1.2 var(--hud-font); text-decoration: underline; text-underline-offset: 3px; }
body.hudskin .wl-doc:hover { color: #fff; }
body.hudskin .door-doc { margin-top: 6px; }
body.hudskin .product-doc { display: block; margin: 4px 0 0; text-align: center; }
