/* Website header and subscribe call to action on the static rules pages. Mirrors .ppt-header and .ppt-cta-band in
   src/styles.css. The ids and `all: revert` keep each game's own rules styles out. */
@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Permanent+Marker&family=Special+Elite&family=Caveat:wght@700&display=swap");
#pptc-header, #pptc-header *, #pptc-cta, #pptc-cta * { all: revert; box-sizing: border-box; }
#pptc-header, #pptc-cta { display: block; position: relative; z-index: 10; grid-column: 1 / -1; flex: 0 0 100%; width: 100%; clear: both; color: #2a2c2e; background: #f4eedb; font-family: "Courier Prime", "Courier New", monospace; line-height: 1.5; }
#pptc-header a, #pptc-cta a { color: inherit; text-decoration: none; }

#pptc-header { height: 76px; padding: 0 max(24px, calc((100% - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 2px dashed #2a2c2e; }
#pptc-header .pptc-brand { display: flex; align-items: center; gap: 12px; font: 400 15px "Special Elite", monospace; letter-spacing: .06em; }
#pptc-header .pptc-brand img { width: 44px; height: 44px; object-fit: contain; transform: rotate(-8deg); }
#pptc-header nav { display: flex; align-items: center; gap: 28px; font: 400 14px "Special Elite", monospace; text-transform: uppercase; }
#pptc-header nav a:hover { text-decoration: underline wavy #e8602c 2px; text-underline-offset: 6px; }
#pptc-header nav .pptc-games { padding: 9px 14px; border: 2px solid #2a2c2e; border-radius: 3px; transform: rotate(-2deg); }
#pptc-header nav .pptc-games:hover { background: #e8602c; border-color: #e8602c; color: #f4eedb; text-decoration: none; }

#pptc-cta { padding: 70px max(24px, calc((100% - 820px) / 2)); text-align: center; background: #f7d94c; border-top: 2px dashed #2a2c2e; }
#pptc-cta .pptc-price { display: inline-block; margin: 0; padding: 8px 16px; border: 3px solid #c23b2a; border-radius: 3px; color: #c23b2a; font: 400 18px "Special Elite", monospace; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-3deg); }
#pptc-cta h2 { margin: 14px 0; font: 400 clamp(38px, 5vw, 64px)/1.1 "Permanent Marker", "Comic Sans MS", cursive; }
#pptc-cta p:not(.pptc-price) { margin: 0 auto 22px; max-width: 560px; font-size: 17px; line-height: 1.7; }
#pptc-cta p.pptc-annual { font-weight: 700; }
#pptc-cta .pptc-button { display: inline-block; padding: 15px 22px; border: 2px solid #2a2c2e; border-radius: 3px; background: #2a2c2e; color: #f4eedb; font: 400 15px "Special Elite", monospace; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
#pptc-cta .pptc-button:hover:not(:disabled) { background: #e8602c; border-color: #e8602c; }
#pptc-cta .pptc-button:disabled { opacity: .6; cursor: wait; }
#pptc-cta [hidden] { display: none; }
#pptc-cta p.pptc-thanks { margin: 0 auto; font: 700 22px/1.2 "Caveat", cursive; }
#pptc-cta p.pptc-more { margin: 26px auto 0; font-size: 15px; }
#pptc-cta .pptc-more a { text-decoration: underline; }

@media (max-width: 900px) { #pptc-header nav a:not(.pptc-games) { display: none; } }
@media (max-width: 600px) { #pptc-header { height: 64px; padding: 0 14px; } #pptc-header .pptc-brand b { display: none; } }
@media print { #pptc-header, #pptc-cta { display: none !important; } }
