[data-rebus-deck] {
  --rebus-paper: #faf0dc;
  --rebus-ink: #241a18;
  --rebus-green: #4c5d2f;
  --rebus-brick: #9e321f;
}
[data-rebus-deck] .game-shell {
  padding: clamp(16px, 3.6vw, 48px) 0 52px;
  background: url("/assets/riddle-desk-paper.webp") center top / 670px auto, #f5e8cf;
}
[data-rebus-deck] .game-layout { display: block; }
[data-rebus-deck] .game-aside {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  margin-top: 24px;
}
[data-rebus-deck] .game-panel {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  align-items: start;
  gap: clamp(18px, 4vw, 52px);
  padding: clamp(14px, 3.5vw, 50px);
  padding-top: 15px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
[data-rebus-deck] .game-panel::before { display: none; }
.rebus-deck-sheet .rebus-completion {
  display: none;
  position: static;
  width: auto;
  margin: 0 clamp(12px, 3vw, 30px) 12px;
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid #9d7751;
  border-radius: 10px 7px 12px 8px;
  background: #f4e5c7 url("/assets/riddle-desk-paper.webp") center top / 590px auto;
  color: var(--rebus-ink);
  box-shadow: 1px 4px 8px #51371e30;
  transform: none;
}
.rebus-deck-sheet .rebus-completion.is-visible {
  display: block;
  animation: rebus-completion-in 240ms ease-out both;
}
.rebus-completion p { color: inherit; }
.rebus-completion .completion-actions { grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); }
.rebus-completion .completion-actions a {
  min-height: 44px;
  padding-block: 8px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}
@keyframes rebus-completion-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rebus-deck-sheet .rebus-completion.is-visible { animation: none; }
}
.force-reduced-motion .rebus-deck-sheet .rebus-completion.is-visible { animation: none; }
.rebus-deck-masthead { position: relative; padding-top: clamp(10px, 3vw, 42px); }
.rebus-deck-masthead a { color: #3c4a29; font-weight: 700; }
.rebus-deck-masthead h1 {
  color: #17211d;
  margin: 12px 0 0;
  font: 700 clamp(2.25rem, 5.7vw, 5.35rem)/.99 var(--font-editorial);
  letter-spacing: -.045em;
}
.rebus-deck-masthead h1::after {
  content: "";
  display: block;
  height: .14em;
  width: 73%;
  margin-top: .2em;
  border-radius: 50% 100% 20% 22%;
  background: #778248;
  transform: rotate(-2deg);
}
.rebus-deck-masthead img {
  display: block;
  margin: 8px 0 0;
  width: min(100%, 350px);
  height: auto;
  pointer-events: none;
}
.rebus-deck-play {
  position: relative;
  min-width: 0;
  padding: clamp(12px, 2vw, 25px);
  border: 1px solid #9d6d43;
  border-radius: 20px 24px 14px 17px;
  background: url("/assets/office-rebus-cork.webp") center / cover, #c69459;
  box-shadow: inset 0 0 0 5px #e4bd83, 3px 8px 14px #51371e38;
}
.rebus-deck-play::before {
  content: "";
  position: absolute;
  inset: -7px 36% auto;
  height: 20px;
  background: #a93b25;
  clip-path: polygon(1% 8%, 100% 0, 97% 27%, 100% 37%, 97% 64%, 100% 89%, 0 100%, 3% 70%, 0 58%, 4% 32%);
  transform: rotate(-2deg);
  z-index: 2;
  pointer-events: none;
}
.rebus-deck-play .game-toolbar,
[data-rebus-deck] .rebus-deck-play .game-board-wrap {
  background: url("/assets/riddle-desk-paper.webp") center top / 590px auto, var(--rebus-paper);
  border: 0;
  padding: 12px clamp(12px, 3vw, 30px);
}
.rebus-deck-play .game-toolbar { display: block; margin: 0; padding-top: 25px; border-radius: 15px 12px 0 0; }
[data-rebus-deck] .rebus-deck-play .game-board-wrap {
  border-radius: 0 0 15px 19px;
  overflow: visible;
  padding-top: 8px;
}
.rebus-deck-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 0; }
.rebus-deck-controls .tool-btn {
  min-height: 44px;
  padding: 0 4px;
  color: var(--rebus-ink);
  background: #fff8ec75;
  border-color: #79664a;
  font-weight: 700;
}
.rebus-deck-controls svg { width: 16px; height: 16px; flex: none; }
.rebus-deck-controls .tool-btn[aria-pressed="true"] { color: #253514; background: #e5e6bf; border-color: #596b34; }
.rebus-deck-controls .tool-btn:disabled { opacity: .62; cursor: default; }
.rebus-deck-play .rebus-card {
  padding: 6px 0 12px;
  color: var(--rebus-ink);
  background: none;
  border: 0;
  box-shadow: none;
}
.rebus-deck-play [hidden] { display: none !important; }
.rebus-deck-play .rebus-count {
  margin: 8px 0;
  color: #594a34;
  text-align: center;
  font: italic 1rem var(--font-editorial);
}
.rebus-deck-play .rebus-display {
  min-height: clamp(92px, 14vw, 178px);
  margin-bottom: 10px;
  padding: 10px 0;
  border: 0;
  background: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #1f2018;
  font: 700 clamp(1.65rem, 5.3vw, 4.2rem)/1.08 var(--font-editorial);
}
.rebus-deck-play .rebus-display::after {
  content: "";
  align-self: end;
  width: 41%;
  height: 5px;
  border-radius: 100% 50% 35% 22%;
  background: #7e8a4b;
  transform: rotate(-2deg);
}
.rebus-deck-play .riddle-answer-row { gap: 10px; }
.rebus-deck-play .riddle-answer-row input { min-height: 48px; min-width: 0; border: 1px solid #79664a; background: #fff9ee; color: var(--rebus-ink); }
.rebus-deck-play .btn-primary {
  min-height: 44px;
  background: var(--rebus-brick);
  color: #fff9eb;
  box-shadow: 0 3px 0 #6a2118;
  font: 700 1.12rem var(--font-editorial);
}
.rebus-deck-play .rebus-card-tools, .rebus-deck-play .rebus-clue-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 10px;
}
.rebus-deck-play .rebus-card-tools .btn {
  min-height: 44px;
  border: 0;
  background: none;
  padding: 0 4px;
  box-shadow: none;
  color: var(--rebus-ink);
  text-decoration: underline;
  text-underline-offset: .23em;
  font: 700 1.05rem var(--font-editorial);
}
.rebus-deck-play .answer-area.is-visible {
  position: relative;
  padding: 16px 16px 12px;
  margin: 12px 0 0;
  background: url("/assets/riddle-desk-paper.webp") center / 590px auto, #e4e6bd;
  background-blend-mode: multiply;
  border-color: #a7ad70;
  border-radius: 5px 11px 4px 9px;
  color: #263018;
  box-shadow: 2px 4px 0 #71643c42;
}
.rebus-deck-play .is-solved .answer-area.is-visible { animation: rebus-slip-in .3s cubic-bezier(.18,.74,.26,1.12) both; }
.rebus-deck-play .answer-area strong { display: block; font: italic 700 clamp(1.4rem, 4.1vw, 2.15rem)/1.1 var(--font-editorial); }
.rebus-deck-play .answer-area p { margin: 5px 0 0; }
.rebus-deck-play .rebus-solved-stamp { display: none; }
.rebus-deck-play .is-solved .rebus-solved-stamp {
  display: block;
  float: right;
  padding: 1px 8px;
  margin: 0 0 5px 6px;
  border: 2px solid currentColor;
  border-radius: 48%;
  font: 700 .95rem var(--font-editorial);
  color: var(--rebus-green);
  transform: rotate(-11deg);
}
.rebus-deck-play .riddle-feedback.is-correct { margin: 0; }
.rebus-deck-utilities { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.rebus-deck-utilities .toolbar-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rebus-deck-utilities a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #394526;
  text-decoration: underline;
  text-underline-offset: .17em;
}
.rebus-deck-utilities .tool-btn { width: auto; min-height: 44px; }
@keyframes rebus-slip-in {
  from { opacity: .45; transform: translateY(-10px) rotate(-1.7deg); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 850px) {
  [data-rebus-deck] .game-panel { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .rebus-deck-masthead { padding: 0 112px 0 0; min-height: 110px; }
  .rebus-deck-masthead h1 { margin-top: 5px; font-size: clamp(2.2rem, 6.5vw, 3.55rem); }
  .rebus-deck-masthead img { width: clamp(95px, 21vw, 150px); position: absolute; right: 0; bottom: 1px; }
}
@media (max-width: 535px) {
  .rebus-deck-masthead { padding-right: 96px; }
  .rebus-deck-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rebus-deck-play .riddle-answer-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rebus-deck-play .is-solved .answer-area.is-visible { animation: none; }
}
.force-reduced-motion .rebus-deck-play .is-solved .answer-area.is-visible { animation: none; }



.rebus-deck-sheet {
  position: relative;
  isolation: isolate;
  padding-bottom: 6px;
}
.rebus-deck-sheet::before,
.rebus-deck-sheet::after {
  position: absolute;
  inset: -2px -5px -2px;
  content: "";
  z-index: -1;
  pointer-events: none;
  background: url("/assets/riddle-desk-paper.webp") center top / 590px auto, var(--rebus-paper);
  clip-path: polygon(0% 1%, 8% 0%, 15% 1%, 23% 0%, 35% 1%, 49% 0%, 61% 1%, 75% 0%, 86% 1%, 95% 0%, 99% 2%, 100% 14%, 99% 26%, 100% 39%, 99% 53%, 100% 67%, 99% 80%, 100% 93%, 98% 98%, 90% 99%, 79% 98%, 68% 100%, 56% 99%, 45% 100%, 33% 98%, 21% 100%, 12% 98%, 4% 100%, 1% 97%, 0% 85%, 1% 75%, 0% 61%, 1% 48%, 0% 34%, 1% 20%, 0% 10%);
}
.rebus-deck-sheet::after {
  z-index: -2;
  transform: rotate(-1.3deg) translateY(5px);
  filter: sepia(.32) brightness(.91);
}
[data-rebus-deck] .rebus-deck-sheet :is(.game-board-wrap, .game-toolbar) { background: none; }
.rebus-deck-play .game-toolbar > .rebus-deck-controls:first-child { display: grid; border-bottom: 0; padding-bottom: 0; }
.rebus-deck-play .rebus-clue-actions:not(:has(button:not([hidden]))) { display: none; }
.rebus-deck-print { text-align: center; }
.rebus-deck-print a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding-inline: 8px;
  color: var(--rebus-ink);
  text-decoration: underline;
  text-underline-offset: .19em;
  font-weight: 700;
}
@media (max-width: 535px) {
  .rebus-deck-play .game-toolbar { padding-top: 16px; }
  .rebus-deck-play .rebus-display { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .rebus-deck-play .rebus-card { padding-bottom: 3px; }
}

.rebus-deck-play .rebus-card { container-type: inline-size; }
.rebus-deck-play .rebus-phrase { white-space: pre; }
.rebus-deck-play .rebus-phrase-wide {
  font: 700 clamp(1.05rem, 7.55cqi, 3.25rem)/1.12 "Courier New", monospace;
}
.rebus-deck-play .rebus-phrase-indented {
  font-family: "Courier New", monospace;
  text-align: left;
}

.rebus-deck-play .rebus-phrase-spaced {
  width: min(94%, 620px);
  display: flex;
  justify-content: space-between;
  gap: clamp(28px, 12cqi, 104px);
  white-space: normal;
}
.rebus-deck-play .rebus-phrase-spaced > span { white-space: nowrap; }

[data-rebus-deck="travel"] {
  --rebus-brick: #922d22;
  --rebus-ink: #2d211c;
  --rebus-green: #425940;
}
[data-rebus-deck="travel"] .game-shell {
  background:
    linear-gradient(146deg, #c4c7a759, transparent 53%),
    url("/assets/riddle-desk-paper.webp") center top / 690px auto, #f5e7cd;
}
[data-rebus-deck="travel"] .rebus-deck-masthead h1 {
  max-width: 9ch;
  color: #26372c;
}
[data-rebus-deck="travel"] .rebus-deck-masthead h1::after {
  background: #8e4b35;
  transform: rotate(-3deg);
}
[data-rebus-deck="travel"] .rebus-deck-play {
  border-color: #4d2c22;
  border-radius: 13px 35px 24px 12px;
  background: linear-gradient(135deg, #5a3125, #905537 48%, #623729 78%, #50271d);
  padding-inline-start: clamp(18px, 2.9vw, 42px);
  box-shadow: inset 0 0 0 5px #603720, inset 0 0 0 7px #b48561, 5px 8px 17px #39271d42;
}
[data-rebus-deck="travel"] .rebus-deck-play::before {
  inset: 30% auto 30% 9px;
  height: auto;
  width: 5px;
  border-block: 1px solid #b98d64;
  background: repeating-linear-gradient(#b98d64 0 3px,transparent 3px 9px);
  clip-path: none;
  transform: none;
}
[data-rebus-deck="travel"] .rebus-deck-sheet::after {
  transform: rotate(.85deg) translate(5px, 6px);
}
[data-rebus-deck="travel"] .answer-area.is-visible {
  margin-inline: 10px;
  padding-inline-start: 43px;
  border-radius: 21px 5px 5px 21px;
  border: 1px solid #839575;
  background-color: #dbe2c1;
}
[data-rebus-deck="travel"] .answer-area.is-visible::before {
  content: "";
  position: absolute;
  inset: calc(50% - 5px) auto auto 12px;
  width: 10px;
  height: 10px;
  border: 2px solid #997447;
  border-radius: 50%;
  background: #554431;
}
[data-rebus-deck="travel"] .rebus-phrase-spaced { font-size: clamp(1.22rem, 10.6cqi, 4rem); }
[data-rebus-deck="travel"] .rebus-phrase-spaced-long { font-size: clamp(1.1rem, 8.45cqi, 3.75rem); }
[data-rebus-deck="travel"] .rebus-phrase-wide { font-size: clamp(.97rem, 6.6cqi, 3.1rem); }

.rebus-deck-play .rebus-phrase-separated {
  display: inline-flex;
  gap: clamp(17px, 8.5cqi, 45px);
  white-space: normal;
  font-size: clamp(1.18rem, 10cqi, 3.7rem);
}
.rebus-deck-play .rebus-phrase-separated > span { white-space: nowrap; }
.rebus-deck-play .rebus-phrase-separated.rebus-phrase-spaced-long { font-size: clamp(1.08rem, 8.08cqi, 3.3rem); }

[data-rebus-deck="easy"] { --rebus-brick: #a23b25; --rebus-green: #526641; }
[data-rebus-deck="easy"] .game-shell {
  background:
    linear-gradient(156deg,#dedfbd80,transparent 70%),
    url("/assets/riddle-desk-paper.webp") center top / 690px auto, #f4e9d7;
}
[data-rebus-deck="easy"] .rebus-deck-play {
  background: linear-gradient(155deg,#bf9b69,#835432);
  padding-inline-start: clamp(22px, 3vw, 44px);
  border-color: #a7794e;
  border-radius: 12px 28px 20px 12px;
  box-shadow: inset 0 0 0 4px #d4b17b, 6px 9px 15px #50371d3b;
}
[data-rebus-deck="easy"] .rebus-deck-play::before {
  inset: 21px auto 21px 6px;
  height: auto;
  width: 28px;
  background: radial-gradient(ellipse 13px 6px at center,transparent 53%,#64401e 57%,#d7aa66 68%,#805829 82%,transparent 86%) 0 0 / 28px 38px repeat-y;
  clip-path: none;
  transform: none;
}
[data-rebus-deck="easy"] .rebus-deck-sheet::after {
  transform: translate(5px, 6px) rotate(-1deg);
  filter: sepia(.36) brightness(.86);
}
[data-rebus-deck="easy"] .rebus-deck-sheet::before {
  background: repeating-linear-gradient(0deg,transparent 0 27px,#93764421 28px 29px), url("/assets/riddle-desk-paper.webp") center top / 590px auto, #fff3d8;
}
[data-rebus-deck="easy"] .rebus-display::after { background: #738354; }

[data-rebus-deck="hard"] {
  --rebus-brick: #97372b;
  --rebus-ink: #27251e;
  --rebus-green: #47552b;
}
[data-rebus-deck="hard"] .game-shell {
  background:
    radial-gradient(ellipse at 23% 60%,#c9a15c62,transparent 65%),
    url("/assets/riddle-desk-paper.webp") center top / 690px auto, #efe1c5;
}
[data-rebus-deck="hard"] .rebus-deck-play {
  border: 2px solid #725333;
  background: url("/assets/office-rebus-cork.webp") center / cover, #986b49;
  box-shadow: inset 0 0 0 5px #af8654, 4px 9px 15px #402d2045;
}
[data-rebus-deck="hard"] .rebus-deck-masthead h1 { color: #24322a; }
[data-rebus-deck="hard"] .rebus-deck-masthead h1::after { background: #617045; }
.rebus-deck-play .rebus-lined-clue {
  display: grid;
  width: min(100%, 465px);
  gap: .15em;
  color: #241c15;
  font: 800 clamp(1.27rem, 9.3cqi, 3.6rem)/1.05 var(--font-editorial);
  text-align: center;
}
.rebus-horizontal-rule {
  display: block;
  width: 100%;
  min-height: 2px;
  height: .063em;
  background: currentColor;
  border-radius: 999px;
}
.rebus-display:has(.rebus-lined-clue)::after { visibility: hidden; }

@media (max-width: 535px) {
  [data-rebus-deck="easy"] .rebus-deck-play::before { width: 20px; background-size: 20px 38px; }
  [data-rebus-deck="hard"] .rebus-lined-clue { font-size: clamp(1.15rem, 8.1cqi, 2rem); }
}

[data-rebus-deck="answers"] {
  --rebus-brick: #852e31;
  --rebus-ink: #341d13;
  --rebus-green: #48562c;
}
[data-rebus-deck="answers"] .rebus-deck-masthead h1 { color: #362217; }
[data-rebus-deck="answers"] .rebus-deck-masthead h1::after { background: var(--rebus-brick); }
[data-rebus-deck="answers"] .rebus-deck-play {
  background: #d8b889 url("/assets/riddle-desk-paper.webp") center / 570px;
  box-shadow: inset 0 0 0 5px #e5c792, 4px 7px 13px #59422346;
}
[data-rebus-deck="answers"] .rebus-deck-masthead p { max-width: 32ch; margin: .65em 0 .4em; color: var(--rebus-ink); }
.rebus-answer-jump { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.rebus-answer-key {
  scroll-margin-top: 80px;
  background: #faeed8 url("/assets/riddle-desk-paper.webp") center / 680px;
  color: #331f14;
}
.rebus-answer-key h2 { font: 760 clamp(1.9rem,4.7vw,3.1rem)/1 var(--font-editorial); margin: 10px 0 8px; }
.rebus-answer-key .container { max-width: 940px; }
.rebus-key-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; align-items: start; }
.rebus-key-grid details { background: #fff5e1; border: 1px solid #a88e64; border-radius: 10px 6px 12px 8px; box-shadow: 2px 3px #69492020; }
.rebus-key-grid summary { padding: 10px 14px; cursor: pointer; min-height: 44px; font-weight: 750; }
.rebus-key-grid details[open] { background: #edf0d2; border-color: #7c8958; }
.rebus-key-clue { display: block; margin: 7px 0 0; white-space: pre; text-align: center; font: 700 clamp(.79rem,3.75vw,1.15rem)/1.15 "Courier New",monospace; }
.rebus-key-explanation { margin-inline: 12px; padding: 9px 0 12px; border-top: 1px solid #b6b98e; }
.rebus-key-explanation strong { font-family: var(--font-editorial); font-size: 1.18rem; }
.rebus-key-explanation p { margin: 3px 0 0; line-height: 1.4; }
.rebus-key-play:not([hidden]) { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }
.rebus-key-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 9px; }
.rebus-key-actions .btn-primary { background: #852e31; color: white; border-color: #852e31; }
.rebus-key-guides { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 14px; padding-top: 5px; border-top: 1px solid #ac9c77; }
.rebus-key-guides a { display: inline-flex; align-items: center; min-height: 44px; color: #314837; }
@media (max-width: 640px) {
  .rebus-key-grid { grid-template-columns: minmax(0,1fr); }
  [data-rebus-deck="answers"] .rebus-deck-masthead p { font-size: .86rem; }
}
@media print { .rebus-key-actions, .rebus-answer-jump { display: none; } }
[data-rebus-deck="answers"] .rebus-deck-masthead .page-eyebrow { display: none; }
[data-rebus-deck="answers"] .rebus-deck-play .rebus-phrase-wide { font-size: clamp(.96rem,6.6cqi,2.9rem); }
@media (max-width: 720px) {
  [data-rebus-deck="answers"] .rebus-deck-masthead { padding: 0; }
  [data-rebus-deck="answers"] .rebus-deck-masthead h1 {
    max-width: calc(100% - 80px);
    font-size: clamp(1.84rem,7.7vw,3rem);
  }
  [data-rebus-deck="answers"] .rebus-deck-masthead p { margin-top: .5em; }
  [data-rebus-deck="answers"] .rebus-deck-masthead > img { width: 93px; inset: 20px 0 auto auto; }
}
[data-rebus-deck="answers"] .rebus-deck-masthead .title-sticker { display: none; }
@media (min-width: 900px) {
  [data-rebus-deck="answers"] .game-panel {
    max-width: 1010px;
    margin-inline: auto;
    padding: 0 clamp(20px,4vw,52px) 16px;
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
  }
  [data-rebus-deck="answers"] .rebus-deck-masthead { min-height: 220px; padding: 8px 34% 0 0; }
  [data-rebus-deck="answers"] .rebus-deck-masthead h1 { font-size: clamp(2.6rem,4.25vw,4.25rem); }
  [data-rebus-deck="answers"] .rebus-deck-masthead > img {
    position: absolute;
    inset: -35px 0 auto auto;
    width: min(33%,300px);
  }
  [data-rebus-deck="answers"] .rebus-deck-play { width: min(100%,820px); margin-inline: auto; }
  [data-rebus-deck="answers"] .rebus-deck-play .rebus-display { min-height: 112px; }
}
@media (min-width: 900px) {
  [data-rebus-deck="answers"] .game-shell { padding-top: 26px; }
  [data-rebus-deck="answers"] .rebus-deck-masthead p { max-width: 57ch; margin-bottom: .18em; }
}

.rebus-deck-play .rebus-boxed-clue {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  gap: clamp(8px, 5cqi, 28px);
  font-size: clamp(1.22rem, 10.2cqi, 4.15rem);
  line-height: 1.08;
  white-space: nowrap;
}
.rebus-deck-play .rebus-boxed-word {
  padding: .14em .24em .22em;
  border: max(1px, .035em) solid currentColor;
  border-radius: 2% 0 1% 0;
  letter-spacing: .12em;
}
[data-rebus-deck] .rebus-deck-play .rebus-phrase[style] {
  font-size: min(1em, calc(108cqi / var(--rebus-characters)));
  letter-spacing: .035em;
}
[data-rebus-deck] .rebus-deck-play .rebus-phrase-wide[style] {
  font-size: min(3.25rem, 7.5cqi, calc(144cqi / var(--rebus-characters)));
  letter-spacing: normal;
}
[data-rebus-deck="office"] {
  --rebus-brick: #a23723;
  --rebus-green: #53632e;
}
@media (min-width: 1000px) {
  [data-rebus-deck="office"] .rebus-deck-masthead h1 { font-size: clamp(3rem,4.65vw,4.4rem); }
}
[data-rebus-deck="office"] .rebus-deck-masthead img {
  width: min(100%, 390px);
  margin-top: 14px;
}
[data-rebus-deck="office"] .rebus-deck-play {
  border-color: #865b39;
  box-shadow: inset 0 0 0 6px #be8e57, 4px 7px 14px #51371e38;
  background-image: linear-gradient(#65432333,#65432333),url("/assets/office-rebus-cork.webp");
}
[data-rebus-deck="food"] { --rebus-brick: #9a3e29; --rebus-green: #536530; }
[data-rebus-deck="food"] .rebus-deck-play {
  background: linear-gradient(#75432930,#75432930),url("/assets/riddle-desk-paper.webp") center / 590px auto,#c98f61;
  border-color: #a97452;
}
[data-rebus-deck="sayings"] { --rebus-brick: #84362c; --rebus-green: #52643b; }
[data-rebus-deck="sayings"] .rebus-deck-play {
  background: linear-gradient(#606f4459,#606f4459),url("/assets/riddle-desk-paper.webp") center / 590px auto,#a8a46c;
  border-color: #667342;
  box-shadow: inset 0 0 0 5px #d1c69e, 3px 8px 14px #51371e38;
}
@media (max-width: 850px) {
  [data-rebus-deck="office"] .rebus-deck-masthead img { width: min(30%, 145px); }
  [data-rebus-deck="office"] .rebus-deck-play {
    padding: 9px;
    box-shadow: inset 0 0 0 2px #c09a66, 3px 6px 10px #51371e30;
  }
}

.rebus-paper-options { max-width: 100%; }
.rebus-paper-options summary {
  cursor: pointer;
  min-height: 44px;
  list-style-position: inside;
}
.rebus-paper-options summary:not(.btn) {
  display: inline-block;
  padding: 10px 6px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.rebus-paper-options summary:not(.btn)::after {
  margin-inline-start: .4em;
  content: "▾";
}
.rebus-paper-options .rebus-paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-block: 2px 8px;
}
.rebus-paper-options .rebus-paper-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  font-weight: 700;
}
.rebus-deck-print .rebus-paper-links { justify-content: center; }
