@font-face {
  font-family: "DC Ticket";
  src: url("ticket-title.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
.site-content__center[data-test-ready] { width: 100%; }
@media (min-width: 768px) {
  .site-layout--landing .site-content__center[data-test-ready] { padding-bottom: 1rem; }
}
.dc-headline { display: inline-grid; vertical-align: top; }
.dc-headline > *, .dc-invite-slot > * { grid-area: 1 / 1; }
.dc-headline > :last-child, #dc-odhaleni { visibility: hidden; }
.dc-revealed .dc-headline > :last-child, .dc-revealed #dc-odhaleni { visibility: visible; }
.dc-revealed .dc-headline > :first-child, .dc-revealed .dc-invite-slot > a { visibility: hidden; }
.dc-invite-slot { display: grid; justify-items: center; align-items: start; }
.dc-invite-slot > a { width: fit-content; }
#dc-odhaleni { width: min(100%, 28rem); }
.dc-test-text {
  max-width: 24rem; margin: 0 auto .85rem;
  color: #f1ede5; font: 500 clamp(1rem, 2vw, 1.17rem)/1.28 Rajdhani, sans-serif;
  letter-spacing: normal; text-transform: none; text-wrap: balance;
}
.dc-ticket {
  --ink: #281b07;
  position: relative; isolation: isolate; container-type: inline-size;
  padding: .77rem clamp(.8rem, 4%, 1.35rem) .7rem;
  color: var(--ink);
  background-color: #e2b957;
  background-image:
    repeating-linear-gradient(2deg, transparent 0 2px, #684f1810 2.5px, transparent 3px),
    radial-gradient(ellipse at 16% 82%, #fff6b080, transparent 45%),
    linear-gradient(108deg, #b98c34, #f5dc85 14%, #c69e45 34%, #e6c269 53%, #f7e5a0 72%, #c39b40 89%, #e1bb62);
  mask: conic-gradient(from 45deg at left, #000 0 90deg, transparent 0) left / 6px 12px repeat-y,
        conic-gradient(from 225deg at right, #000 0 90deg, transparent 0) right / 6px 12px repeat-y,
        linear-gradient(#000 0 0) center / calc(100% - 11px) 100% no-repeat;
  text-shadow: 0 1px #fff1b766;
}
.dc-ticket::before {
  content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, #fff6c47a 47%, transparent 61%);
  background-size: 280% 100%; background-position: 100% 0; opacity: 0;
}
.dc-ticket-print { position: relative; }
.dc-ticket-brand { display: flex; align-items: center; gap: .7rem; font: 700 clamp(.8rem, 4.5cqi, 1.15rem)/1 Rajdhani, sans-serif; }
.dc-ticket-brand::before, .dc-ticket-brand::after { content: ''; flex: 1; border-top: 1.5px solid var(--ink); }
.dc-ticket-name {
  display: block; margin: .025em 0 .08em; color: #211704;
  font: 400 clamp(1.9rem, 15cqi, 4.25rem)/1.09 "DC Ticket", Georgia, serif;
  letter-spacing: -.055em; word-spacing: .06em; white-space: nowrap;
}
.dc-ticket-seal {
  position: absolute; z-index: -1; top: 12%; left: 5%; width: 17%; aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%; border: 3px double #8a621c;
  color: #ae852b; opacity: .52; transform: rotate(-13deg);
  box-shadow: 1px 1px 0 #fff3ab, inset 1px 1px 0 #fff3ab;
  background: repeating-conic-gradient(#b2904544 0 3deg, transparent 3deg 8deg);
}
.site-content__center .dc-ticket-mark {
  display: block; width: 75%; height: 75%; object-fit: contain;
  filter: grayscale(1) sepia(1) contrast(.85); mix-blend-mode: multiply;
}
.dc-ticket-details {
  display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: .3rem;
  border-block: 1.5px solid var(--ink); padding: .18rem 0;
  font: 700 clamp(.75rem, 4.3cqi, 1.12rem)/1 Rajdhani, sans-serif; letter-spacing: 0;
}
.dc-ticket-details > span { display: grid; gap: .17rem; }
.dc-ticket-details small { font: 700 clamp(.51rem, 2.5cqi, .66rem)/1 Rajdhani, sans-serif; letter-spacing: .075em; text-transform: uppercase; }
.dc-ticket .dc-test-invite {
  display: inline-flex; align-items: center; justify-content: center; gap: .36rem;
  min-height: 44px; padding: .4rem clamp(.45rem, 2.3cqi, .75rem);
  background: #2d210d; color: #fff1b9; text-shadow: none; text-decoration: none;
  font: 700 clamp(.9rem, 4cqi, 1.1rem)/1 Rajdhani, sans-serif; letter-spacing: normal; text-transform: none;
  animation: none !important;
}
.dc-test-invite svg { width: 1.3em; height: 1em; flex: none; }
.dc-test-invite:hover, .dc-test-invite:focus-visible { color: white; background: #493514; }
.dc-test-invite:focus-visible { outline: 2px solid #30220a; outline-offset: 2px; }
#footer .dc-clue-icon { display: grid; width: 1em; height: 1em; place-items: center; }
.dc-clue-icon > * { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain; }
.dc-clue-gem { opacity: 0; transform: scale(.64); }
[aria-expanded="true"] > .dc-clue-icon svg { opacity: 0; transform: scale(.64); }
[aria-expanded="true"] > .dc-clue-icon .dc-clue-gem { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .dc-clue-icon > * { transition: opacity .2s ease, transform .28s ease-out; }
  .dc-leaving .dc-headline > :first-child,
  .site-content__center.dc-leaving > .dc-invite-slot > a {
    animation: dcLeave .42s cubic-bezier(.4,0,.8,.55) both;
  }
  .dc-revealed .dc-headline > :last-child { animation: dcReturn .62s cubic-bezier(.16,1,.3,1) both; }
  .dc-revealed .dc-test-text { animation: dcReturn .62s .045s cubic-bezier(.16,1,.3,1) both; }
  .dc-revealed .dc-ticket { animation: dcPrint .76s .12s cubic-bezier(.16,1,.3,1) both; }
  .dc-revealed .dc-ticket::before { animation: dcFoil .95s .3s ease-out both; }
  @keyframes dcLeave { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-20px); } }
  @keyframes dcReturn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  @keyframes dcPrint { from { opacity: 0; transform: translateY(29px); } to { opacity: 1; transform: none; } }
  @keyframes dcFoil { 0% { background-position: 100% 0; opacity: 0; } 25%,70% { opacity: .8; } 100% { background-position: 0 0; opacity: 0; } }
}
