/* The plain pages (Privacy, Terms, Refunds, Pricing): a cream sheet of paper on the wooden table.
   Loaded after table.css; the page scrolls with the phone's own scroll. */
html, body { height: auto; min-height: 100%; overflow: visible; user-select: text; -webkit-user-select: text; }
.info { position: relative; z-index: 5; max-width: 680px; margin: 0 auto; padding: 18px 16px 40px; }
.info .top { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 14px;
  color: #fff4e0; text-decoration: none; text-shadow: 0 2px 4px rgba(0,0,0,.4); font-size: 28px; }
.info .top .logo { width: 44px; height: 44px; }
.paper { background: #f4ead8; color: #3b2412; border: 6px solid #4a2f18; border-radius: 22px; padding: 22px 22px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45); font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.paper h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 32px; line-height: 1.2; margin: 0 0 6px; color: #3b2412; }
.paper h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 22px; margin: 22px 0 6px; color: #4a2f18; }
.paper p, .paper ul { margin: 8px 0; }
.paper ul { padding-left: 22px; }
.paper li { margin: 4px 0; }
.paper a { color: #2e6b45; font-weight: 700; }
.paper .lead { font-size: 20px; }
.paper .note { font-size: 15px; color: #6b4a2c; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; margin: 16px 0 6px; }
.plan { background: #fff8ec; border: 3px solid #8a6240; border-radius: 18px; padding: 16px 16px 14px; display: flex; flex-direction: column; }
.plan.full { border-color: #2e7d4a; background: #f3f8ef; }
.plan h2 { margin: 0 0 4px; }
.plan .price { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: 40px; line-height: 1.1; color: #2e6b45; margin: 4px 0 0; }
.plan .price small { font-size: 18px; font-weight: 600; color: #6b4a2c; }
.plan .was { font-size: 17px; color: #6b4a2c; margin: 2px 0 6px; }
.plan .was s { color: #8a6240; }
/* $60 at full size with a slash through it */
.plan .price s.old { color: #8a6240; text-decoration: none; position: relative; margin-right: 6px; }
.plan .price s.old::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; border-top: 3px solid #b3402a; transform: rotate(-20deg); }
/* Monthly and Yearly share one spot, so the box keeps its size when you switch */
.billBox { display: grid; }
.billBox > div { grid-area: 1 / 1; }
.billBox > [hidden] { display: block; visibility: hidden; }
.plan.full { position: relative; }
.plan .planBtn.plain { background: #fff8ec; color: #3b2412; border: 3px solid #8a6240; padding: 9px; }
.plan .planBtn.plain:hover { background: #f1e5cf; }
/* Monthly / Yearly */
.billSwitch { display: flex; width: max-content; max-width: 100%; margin: 14px auto 0; background: #e6d6ba; border-radius: 999px; padding: 4px; }
.billSwitch button { border: 0; background: none; font: inherit; font-weight: 800; font-size: 17px; color: #6b4a2c; padding: 8px 20px; border-radius: 999px; cursor: pointer; }
.billSwitch button.on { background: #2e7d4a; color: #fff; }
.plan .launch { position: absolute; top: 14px; right: 14px; background: #f4d58a; color: #3b2412; font-size: 14px; font-weight: 800; border-radius: 999px; padding: 2px 10px; }
.plan ul { flex: 1; }
.plan .planBtn { display: block; text-align: center; text-decoration: none; font-size: 20px; font-weight: 800; padding: 12px; border-radius: 14px;
  background: #2e7d4a; color: #fff; margin-top: 8px; }
.plan .planBtn:hover { background: #276b3f; }

/* the links along the bottom */
.infoLinks { text-align: center; margin: 18px 0 0; font-size: 17px; }
.infoLinks a { color: #fff4e0; text-decoration: none; margin: 0 8px; display: inline-block; padding: 4px 0; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.infoLinks a[aria-current] { color: #f4d58a; text-decoration: underline; }
.infoLinks .home { display: block; margin: 6px auto 0; font-weight: 700; }

/* a narrow phone, or a squeezed window: less padding, so the plans keep their room */
@media (max-width: 380px) {
  .info { padding: 12px 10px 30px; }
  .info .top { font-size: 22px; }
  .info .top .logo { width: 34px; height: 34px; }
  .paper { padding: 16px 14px 14px; border-width: 4px; }
  .paper h1 { font-size: 28px; }
  .plan { padding: 12px 12px 12px; }
  .plan .price { font-size: 34px; }
  .plan .planBtn { font-size: 18px; }
  .billSwitch button { padding: 8px 16px; }
}

/* game pages (/games/hearts …): how to play, quick facts, the how-to video, a Play button */
.crumbs { font-size: 15px; color: #6b4a2c; margin: 0 0 6px; }
.crumbs a { font-weight: 600; }
.facts { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 17px; }
.facts th, .facts td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #dccbae; vertical-align: top; }
.facts th { width: 40%; color: #6b4a2c; font-weight: 700; }
.paper ol { margin: 8px 0; padding-left: 26px; }
.howVideo { margin: 14px 0; }
.howVideo video { width: 100%; border-radius: 14px; background: #2b2118; display: block; }
.howVideo figcaption { font-size: 15px; color: #6b4a2c; margin-top: 4px; }
.playBtn { display: block; text-align: center; text-decoration: none; font-size: 20px; font-weight: 800; padding: 13px; border-radius: 14px;
  background: #2e7d4a; color: #fff !important; margin: 14px 0; }
.playBtn:hover { background: #276a3f; }
.playBtn small { display: block; font-size: 15px; font-weight: 600; opacity: .9; }
.gameList { list-style: none; padding-left: 0 !important; }
.gameList li { margin: 10px 0; }
.gameList a { font-size: 20px; }
.gameList .pl { color: #6b4a2c; font-size: 16px; }
.freeTag { background: #2e7d4a; color: #fff; font-size: 13px; font-weight: 800; padding: 1px 8px; border-radius: 99px; vertical-align: 2px; }

/* the Ideas page: one short form */
.ideaForm { margin-top: 14px; }
.ideaForm[hidden], .ideaRow[hidden] { display: none; }
.ideaKinds { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.ideaKinds legend, .ideaRow > span { font-weight: 700; color: #4a2f18; padding: 0; margin-bottom: 6px; display: block; }
.ideaRow > span small { font-weight: 600; font-size: 15px; color: #6b4a2c; }
.ideaKinds label { cursor: pointer; }
.ideaKinds input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ideaKinds label span { display: block; padding: 10px 16px; border-radius: 999px; background: #fff8ec; border: 3px solid #8a6240; font-weight: 700; }
.ideaKinds input:checked + span { background: #2e7d4a; border-color: #2e7d4a; color: #fff; }
.ideaKinds input:focus-visible + span { outline: 3px solid #f4d58a; outline-offset: 2px; }
.ideaRow { display: block; margin: 0 0 14px; }
.ideaRow select, .ideaRow textarea, .ideaRow input { display: block; width: 100%; font: inherit; font-size: 18px; color: #3b2412; background: #fff8ec;
  border: 3px solid #8a6240; border-radius: 14px; padding: 10px 12px; }
.ideaRow textarea { resize: vertical; min-height: 130px; line-height: 1.4; }
.ideaRow select:focus, .ideaRow textarea:focus, .ideaRow input:focus { outline: 3px solid #f4d58a; outline-offset: 1px; border-color: #2e7d4a; }
.ideaTrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ideaErr { color: #b3402a; font-weight: 700; min-height: 0; margin: 0 0 8px; }
.ideaErr:empty { display: none; }
.ideaSend { display: block; width: 100%; font: inherit; font-size: 20px; font-weight: 800; padding: 13px; border: 0; border-radius: 14px; background: #2e7d4a; color: #fff; cursor: pointer; }
.ideaSend:hover { background: #276b3f; }
.ideaSend:disabled { opacity: .6; cursor: default; }
.ideaSend.plain { background: #fff8ec; color: #3b2412; border: 3px solid #8a6240; }
.ideaThanks { text-align: center; padding: 10px 0 4px; }
.ideaThanks[hidden] { display: none; }
.copyLine { text-align: center; margin: 10px 0 0; font-size: 13px; color: #fff4e0; opacity: .7; text-shadow: 0 1px 3px rgba(0,0,0,.5); }

.credits { font-size: 13px; opacity: .75; margin-top: 22px; }
