/* TICKET STUBS — Best Trust Choice */
:root {
  --paper: #fffdf8; --bg: #f7f4ef; --amber: #d97706; --char: #1c1917;
  --display: "Libre Baskerville", Georgia, serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--body); background: var(--bg); color: var(--char); line-height: 1.55; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: #b45309; }
.site-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem clamp(1rem, 4vw, 2rem); background: var(--char); color: var(--paper);
}
.nav-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; color: var(--paper); font-size: 1.2rem; }
.site-nav nav { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.site-nav nav a { color: rgba(247,244,239,.85); }
.hero-ticket {
  min-height: 100vh; display: grid; align-items: end; position: relative;
  background: #1c1917 center/cover no-repeat;
}
.hero-ticket::after { content:""; position:absolute; inset:0; background: linear-gradient(105deg, rgba(28,25,23,.88) 0%, rgba(28,25,23,.35) 55%, rgba(28,25,23,.7) 100%); }
.hero-ticket .copy { position: relative; z-index: 1; padding: 3.5rem clamp(1rem, 5vw, 4rem); max-width: 34rem; }
.hero-ticket .brand-xl { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.4rem); color: #fff; line-height: 1; }
.hero-ticket p { margin-top: 1rem; color: #fcd34d; font-size: 1.05rem; }
.stack { max-width: 820px; margin: 0 auto; padding: 3rem 1rem 4rem; display: grid; gap: 1.75rem; }
.stub {
  background: var(--paper); border: 1px solid rgba(28,25,23,.15);
  display: grid; grid-template-columns: 1fr 110px; position: relative;
  box-shadow: 0 12px 30px rgba(28,25,23,.08);
  animation: stubIn .6s ease both;
}
.stub::before {
  content: ""; position: absolute; left: calc(100% - 110px); top: 0; bottom: 0; width: 0;
  border-left: 2px dashed rgba(28,25,23,.28);
}
.stub-main { padding: 0; }
.stub-main img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.stub-text { padding: 1.25rem 1.35rem 1.5rem; }
.stub-text .num { font-family: var(--body); font-weight: 600; color: var(--amber); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.stub-text h2 { font-family: var(--display); font-size: clamp(1.35rem, 2.5vw, 1.85rem); margin: .35rem 0; }
.stub-text .meta { color: #57534e; font-size: .88rem; margin-bottom: .7rem; }
.stub-text p { margin-bottom: .55rem; font-size: .95rem; }
.stub-side {
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 1rem .5rem; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #57534e;
}
.barcode {
  width: 64px; height: 28px;
  background: repeating-linear-gradient(90deg, #1c1917 0 2px, transparent 2px 4px, #1c1917 4px 5px, transparent 5px 7px);
  margin-top: auto;
}
.casino-disclaimer { font-size: .8rem; color: #92400e; margin-top: .4rem; }
@keyframes stubIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.site-foot { padding: 3rem clamp(1rem,4vw,2rem); background: var(--char); color: var(--paper); }
.foot-brand { font-family: var(--display); font-size: 1.25rem; }
.meta { opacity: .75; font-size: .88rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
.foot-links a { color: #fcd34d; }
.disclaimer { font-size: .8rem; opacity: .7; max-width: 40rem; }
.page-body .page { max-width: 42rem; margin: 0 auto; padding: 3rem 1.25rem; }
.page h1 { font-family: var(--display); font-size: 2.2rem; margin-bottom: .75rem; }
.page h2 { font-family: var(--display); margin: 1.5rem 0 .5rem; }
.page p, .page li { margin-bottom: .85rem; }
.page ul { padding-left: 1.2rem; }
.form { display: grid; gap: .85rem; margin-top: 1.5rem; }
.form label { display: grid; gap: .35rem; }
.form input, .form textarea { border: 1px solid rgba(28,25,23,.25); padding: .7rem .8rem; font: inherit; background: #fff; }
.form button { justify-self: start; background: var(--amber); color: #fff; border: 0; padding: .75rem 1.25rem; font-weight: 600; cursor: pointer; }
@media (max-width: 640px) {
  .stub { grid-template-columns: 1fr; }
  .stub::before, .stub-side { display: none; }
}

/* polish-pl */
.page-body .page { max-width: min(46rem, 92vw); }
.page .lead { font-size: 1.05rem; margin-bottom: 1.25rem; opacity: .92; }
.page h2 { margin-top: 2rem; }
.deck-edge p, .node-copy p, .ticket-body p, .detail-copy p, .chapter p, .acc-panel p {
  max-width: 42rem;
}


/* foot-ticket — stub card */
.site-foot.foot-ticket { padding: 2rem 1rem 3rem; background: transparent; border-top: none; }
.foot-ticket .foot-stub {
  max-width: 36rem; margin: 0 auto; padding: 1.75rem 1.5rem 1.5rem 2rem;
  background: var(--paper, #fffdf8); color: var(--char, #1c1917);
  border: 1px dashed rgba(28,25,23,.35);
  box-shadow: 6px 6px 0 rgba(217,119,6,.15);
  position: relative;
}
.foot-ticket .foot-stub::before {
  content: ""; position: absolute; left: -.55rem; top: 1.2rem; bottom: 1.2rem; width: 12px;
  background: radial-gradient(circle at center, var(--bg, #f7f4ef) 4px, transparent 5px) 0 0 / 12px 14px;
}
.foot-ticket .foot-brand { margin-bottom: .25rem; }
.foot-ticket .foot-links { gap: .85rem; }
.foot-ticket a { color: #9a3412; }
.foot-ticket .meta { color: rgba(28,25,23,.65); }
.casino-note { margin-top: .35rem; font-size: .75rem; color: rgba(28,25,23,.55); }
