:root {
  color-scheme: light;
  --paper: #f8f6ef;
  --ink: #24241e;
  --muted: #625e51;
  --line: #ded9ca;
  --card: #fffdf6;
  --lime: #e2ed80;
  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font: 16px/1.45 "DM Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #405ac8; outline-offset: 3px; }
.wrap { width: min(1224px, calc(100% - 96px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); background: #fcfbf4; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 53px; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 29px/.95 var(--display); letter-spacing: -.065em; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3px; padding: 5px; width: 26px; height: 26px; border-radius: 7px; background: var(--lime); border: 1px solid var(--ink); transform: rotate(-6deg); }
.brand-mark i { background: var(--ink); border-radius: 2px; }
.brand-mark i:last-child { border-radius: 50%; }
.nav { display: flex; align-items: center; align-self: stretch; gap: 28px; }
.nav a { display: inline-flex; align-items: center; padding: 0 1px; font-size: 14px; font-weight: 700; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current] { box-shadow: inset 0 -2px var(--ink); }

h1, h2, h3 { font-family: var(--display); line-height: 1.06; letter-spacing: -.045em; }
.page-title { margin: 7px 0 9px; font-size: clamp(39px, 3.65vw, 51px); font-weight: 800; }
.play-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr); gap: clamp(16px, 2.2vw, 30px); align-items: start; }
.player { min-width: 0; border: 1px solid var(--ink); border-radius: 17px; background: #24251f; overflow: clip; box-shadow: 0 4px 0 #ddd8c8; }
.fullscreen { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 11px; border: 0; border-radius: 7px; color: var(--ink); background: var(--lime); font-size: 13px; font-weight: 700; white-space: nowrap; }
.fullscreen:hover { background: #f3fbab; }
.fullscreen:focus-visible { outline-color: #f8f6ef; }
.screen-icon { width: 13px; height: 13px; display: inline-block; background:
  linear-gradient(currentColor,currentColor) top left / 5px 2px,
  linear-gradient(currentColor,currentColor) top left / 2px 5px,
  linear-gradient(currentColor,currentColor) top right / 5px 2px,
  linear-gradient(currentColor,currentColor) top right / 2px 5px,
  linear-gradient(currentColor,currentColor) bottom left / 5px 2px,
  linear-gradient(currentColor,currentColor) bottom left / 2px 5px,
  linear-gradient(currentColor,currentColor) bottom right / 5px 2px,
  linear-gradient(currentColor,currentColor) bottom right / 2px 5px;
  background-repeat: no-repeat;
}
.stage { --frame-height: 640px; position: relative; height: var(--frame-height); display: grid; justify-items: center; align-items: center; padding: 0; background-color: #f4e2c7; background-image: repeating-linear-gradient(0deg,#d9965c0e 0 21px,transparent 21px 42px),repeating-linear-gradient(90deg,#cb98541a 0 21px,transparent 21px 42px); }
.stage iframe { position: absolute; inset: 0; display: block; width: min(100%,425px) !important; height: var(--frame-height) !important; margin-inline: auto; border: 0; background: #f5e3c9; }
.stage[data-current-game="picnic-sudoku"] { --frame-height: 548px; }
.stage[data-current-game^="funzzle-"] { --frame-height: 900px; background: #f3f0e6; }
.stage[data-current-game^="funzzle-"] iframe { width: min(100%,560px) !important; }
.stage[data-current-game="chaosword-mini"] { --frame-height: 1640px; background: #f3f0e6; }
.stage[data-current-game="wordloom-quartets"] { --frame-height: 650px; background: #f3f0e6; }
.loader { display: none; position: absolute; inset: 0; place-content: center; place-items: center; gap: 10px; }
.primary { border: 1px solid var(--ink); border-radius: 7px; font-weight: 700; padding: 8px 13px; background: var(--lime); }
.stage[data-gf-state="loading"] .loader { display: grid; }
.stage[data-gf-state="loading"] iframe { opacity: 0; }
.loader span { width: 24px; height: 24px; border: 3px solid #b2a889; border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .loader span { animation: none; } }
.stage-tools { display: none; }
.stage:fullscreen, .stage.fullscreen-fallback { display: block; overflow: auto; background: #292820; }
.stage:-webkit-full-screen { display: block; overflow: auto; background: #292820; }
.stage.fullscreen-fallback { position: fixed; z-index: 10; inset: 0; height: 100dvh; }
.stage:fullscreen .stage-tools, .stage.fullscreen-fallback .stage-tools { display: flex; }
.stage:-webkit-full-screen .stage-tools { display: flex; }
.stage-tools { position:absolute; top:max(8px,env(safe-area-inset-top)); right:auto; bottom:auto; left:50%; z-index:4; justify-content:center; align-items:center; width:44px; min-height:44px; height:44px; padding:0; transform:translateX(-50%); background:transparent; transition:opacity 160ms ease; }
.stage:fullscreen iframe, .stage.fullscreen-fallback iframe { position: static !important; }
.stage:-webkit-full-screen iframe { position: static !important; }

.rail-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 13px; }
.rail-heading h2 { margin: 0; font-size: 25px; }
.small-link { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #aaa392; }
.small-link:hover { text-decoration-color: currentColor; }
.suggestions { display: grid; gap: 11px; }
.suggestion { display: grid; width: 100%; grid-template-columns: 100px minmax(0,1fr) 24px; gap: 13px; align-items: center; padding: 7px 12px 7px 7px; text-align: left; border-radius: 13px; border: 1px solid var(--line); background: var(--card); }
.suggestion:hover { border-color: #5e5b46; background: #fffef9; }
.suggestion strong { display: block; font: 750 20px/1.12 var(--display); letter-spacing: -.035em; }
.suggestion small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.arrow { color: #514f43; justify-self: end; font-size: 22px; }
.art { position: relative; display: grid; place-items: center; overflow: hidden; width: 100%; min-height: 84px; border-radius: 7px; isolation: isolate; }
.art::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(#24241e1b 1px, transparent 1.5px) 0 0 / 10px 10px; }
.art-bridges { background: #abc4fe; color: #222e57; }
.little-bridges { display: grid; position: relative; grid-template-columns: repeat(2, 23px); gap: 11px 19px; transform: rotate(-9deg); }
.little-bridges::before { content: ""; position: absolute; left: 10px; top: 10px; right: 10px; bottom: 10px; border: 2px solid #283b73; border-left-width: 4px; }
.little-bridges i { display: grid; place-items: center; position: relative; width: 23px; height: 23px; border-radius: 50%; background: #f9f7e9; border: 1.5px solid; font: 800 12px var(--display); font-style: normal; box-shadow: 0 2px 0 #293c71; }
.art-stars { color: #3b4b20; background: #dce88b; }
.little-stars, .little-ships { display: grid; grid-template-columns: repeat(3, 17px); grid-auto-rows: 16px; transform: rotate(9deg); border: 1.5px solid currentColor; border-radius: 4px; box-shadow: 2px 3px 0 currentColor; overflow: hidden; }
.little-stars i, .little-ships i i { display: grid; place-items: center; border: 1px solid #3c382c31; background: #fcf6df; font: normal 12px/1 var(--display); }
.little-stars i:nth-child(3n+1) { background: #b1c769; }
.little-stars i:nth-child(4n+3) { background: #e9ad77; }
.art-ships { color: #452b3c; background: #efb0be; }
.little-ships { transform: rotate(-10deg); }
.little-ships i { background: #f9d8db; }
.little-ships i:nth-child(4), .little-ships i:nth-child(5), .little-ships i:nth-child(9) { background: #9d5c78; }
.browse-rail { display: grid; gap: 12px; margin-top: 17px; padding: 16px; border-radius: 13px; background: #ebe8db; }
.browse-rail h2 { margin: 0; font-size: 20px; }
.rail-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.rail-filters a { padding: 4px 9px; border: 1px solid #c8c2b1; border-radius: 6px; background: #f9f7ee; font-size: 12px; font-weight: 700; }
.rail-filters a:hover { border-color: var(--ink); }

.shelf { margin-block: 35px 25px; scroll-margin-top: 17px; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.shelf h2 { margin: 0; font-size: 32px; }
.site-footer { padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .play-layout { grid-template-columns: minmax(0,1.7fr) minmax(238px,1fr); }
  .suggestion { grid-template-columns: 76px minmax(0,1fr) 16px; gap: 9px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { min-height: 51px; }
  .brand { font-size: 25px; gap: 7px; }
  .brand-mark { width: 23px; height: 23px; padding: 4px; }
  .nav { gap: 12px; }
  .nav a { font-size: 12px; }
  .page-title { margin: 11px 0 10px; font-size: 37px; }
  .play-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .player { border-radius: 13px; }
  .fullscreen { min-height: 40px; padding-inline: 9px; }
  .rail-heading h2 { font-size: 23px; }
  .suggestion { grid-template-columns: 84px minmax(0,1fr) 20px; }
  .art { min-height: 64px; }
  .shelf { margin-block: 27px 22px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 16px); }
  .stage[data-current-game="picnic-sudoku"] { --frame-height: 590px; }
  .stage[data-current-game="chaosword-mini"] { --frame-height: 1780px; }
}
input, textarea { font: inherit; color: inherit; }
.skip { position: fixed; z-index: 6; top: 8px; left: 8px; padding: 8px 12px; background: var(--card); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-footer > div, .site-footer nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 13px; }
.site-footer a:hover, .prose a, .breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.footer-brand { font-size: 21px; }
.muted, .lead { color: var(--muted); }
.breadcrumb { display: flex; gap: 10px; margin-top: 15px; font-size: 13px; }
.guide-links, .directory-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.directory-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.directory-card, .guide-links a { padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.directory-card { display: flex; justify-content: space-between; align-items: center; gap: 7px; }
.directory-card:hover, .guide-links a:hover { border-color: #5e5b46; }
.directory-card small, .guide-links span { display: block; color: var(--muted); margin-top: 2px; }
.guide-links span { font-size: 14px; }
.directory-filters { margin-block: 15px; }
.directory-section { margin-top: 25px; }
.directory-section h2 { margin: 0 0 9px; font-size: 23px; }
.directory-filters a[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--card); }
.recent-list { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.recent-list a { display: block; padding: 5px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--card); font-size: 13px; }
.recent-list a:hover { border-color: var(--ink); }
.section { margin-block: 28px; }
.prose, .comments { max-width: 780px; }
.prose h2 { margin-top: 1.4em; }
.prose table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; background: var(--card); }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px; text-align: left; }
.comments form { display: grid; gap: 9px; justify-items: start; }
.comments label, .comments input, .comments textarea { display: block; max-width: 100%; }
.comments input, .comments textarea { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; }
.comments textarea { width: min(65vw,450px); }
.comments button { border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px; background: var(--card); }
.comment { border-top: 1px solid var(--line); padding-block: 10px; }
@media (max-width: 700px) {
  .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-links { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .directory-grid { grid-template-columns: 1fr; }
}


/* Games Like Krillion */
.krillion-topic .page-title { margin: 10px 0 6px; }
.topic-intro { margin: 0 0 20px; color: var(--muted); }
.topic-play-layout { grid-template-columns: minmax(0, 1fr) minmax(222px, 260px); }
.topic-guide {
  --grid-line: #be92592b;
  --guide-paper: #f5ead5;
  padding: 16px;
  border: 1px solid #dbcca9;
  border-radius: 15px;
  background-color: var(--guide-paper);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 21px 21px;
  background-position: center top;
}
.topic-guide h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 1px 0 13px;
  font-size: 27px;
}
.topic-guide ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.topic-guide li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d9cbaa;
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 1px 0 #d9cbaa;
}
.topic-guide li strong { display: block; margin-bottom: 2px; font-size: 14px; line-height: 1.3; }
.topic-guide li .guide-description { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.guide-icon {
  display: grid;
  position: relative;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #485424;
  border: 1px solid #c5cd91;
  border-radius: 8px;
  background: #eaf0c1;
}
.guide-icon::before, .guide-icon::after { content: ""; position: absolute; }
.guide-book { width: 34px; height: 34px; color: #f8f6ef; background: var(--ink); border-color: var(--ink); }
.guide-book::before { width: 15px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; }
.guide-book::after { height: 11px; border-left: 1.5px solid currentColor; }
.guide-calendar::before { width: 14px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; }
.guide-calendar::after {
  top: 12px;
  width: 12px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 4px 0 -0.2px currentColor;
}
.guide-clock { color: #7b4b2b; background: #f5dcc0; border-color: #e3bf9d; }
.guide-clock::before { width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 50%; }
.guide-clock::after { top: 10px; left: 14px; width: 5px; height: 6px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; }
.guide-reward { color: #544572; background: #e9e2f3; border-color: #d2c5e4; }
.guide-reward::before { width: 10px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px; transform: rotate(45deg); }
.guide-reward::after { width: 4px; height: 4px; background: currentColor; transform: rotate(45deg); }
.stage[data-current-game="clueffy"] { --frame-height: 570px; background: #0b1022; }
.stage[data-current-game="clueffy"] iframe { width: 100% !important; background: #0b1022; }
.stage[data-current-game="clueffy"]:fullscreen iframe,
.stage[data-current-game="clueffy"].fullscreen-fallback iframe { height: 100dvh !important; }
@media (max-width: 720px) {
  .topic-play-layout { grid-template-columns: minmax(0, 1fr); }
  .topic-intro { margin-bottom: 14px; font-size: 14px; }
  .stage[data-current-game="clueffy"] { --frame-height: 575px; }
  .topic-guide { padding: 17px; }
}.skip:not(:focus) { clip-path: inset(50%); }

.topic-wordmark {
  color: #414b21;
  background: linear-gradient(105deg, #e9edb9, #dce58b) no-repeat 0 93% / 100% .28em;
}
.topic-wordmark-spark {
  position: relative;
  display: inline-block;
  width: .64em;
  height: .64em;
  margin-inline-start: .13em;
  vertical-align: .21em;
  color: #8e9a48;
}
.topic-wordmark-spark::before,
.topic-wordmark-spark::after {
  position: absolute;
  content: "";
  background: currentColor;
  clip-path: polygon(50% 0, 62% 37%, 100% 50%, 62% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
}
.topic-wordmark-spark::before { top: .10em; left: 0; width: .35em; height: .35em; }
.topic-wordmark-spark::after { top: 0; left: .37em; width: .20em; height: .20em; color: #b09a63; }
.topic-intro .clueffy-emphasis { color: #333a20; font-weight: 700; }
.topic-intro .rare-emphasis {
  padding: 0 .2em;
  border-radius: .16em;
  background: #eef0d4;
  color: #414b21;
  font-weight: 700;
}
.topic-reading-mark {
  color: #454025;
  text-decoration: underline;
  text-decoration-color: #d6c699;
  text-decoration-thickness: .12em;
  text-underline-offset: .19em;
  text-decoration-skip-ink: auto;
}
@media (max-width: 480px) { .topic-wordmark-spark { display: none; } }

.topic-side { min-width: 0; position: relative; }
.topic-actions { display: grid; gap: 7px; width: max-content; margin-top: 10px; }
.topic-action {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  padding: 0;
  border: 1px solid #d9cbaa;
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 1px 0 #ddd8c8;
  color: var(--ink);
}
.topic-action:hover { background: #f2edda; }
.topic-action[aria-pressed="true"] { background: #eaf0c1; border-color: #b5bd84; }
.topic-action-icon {
  position: relative;
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 6px;
  background: #eaf0c1;
  color: #485424;
}
.topic-icon-heart { font: 700 18px/1 "Segoe UI Symbol", "Segoe UI", sans-serif; }
.topic-icon-share { background: #e9e2f3; color: #544572; }
.topic-icon-share::before, .topic-icon-share::after { position: absolute; content: ""; }
.topic-icon-share::before {
  inset: 7px 6px 5px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(currentColor,currentColor) center top / 1.5px 7px no-repeat;
}
.topic-icon-share::after {
  top: 5px;
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 1.5px 0 0 1.5px;
  transform: rotate(45deg);
}
.topic-action-feedback {
  position: absolute;
  z-index: 1;
  color: var(--ink);
  background: var(--card);
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
}
.topic-action-feedback:empty { display: none; }
.topic-action-feedback { bottom: 0; left: 51px; }
@media (min-width: 721px) {
  .topic-side { display: flex; align-self: stretch; flex-direction: column; gap: 10px; }
  .topic-actions { margin-top: auto; }
}
@media (max-width: 720px) { .topic-action { width: 44px; height: 44px; } }


/* Homepage guide card illustrations */
.suggestion:has(.guide-cover) {
  grid-template-columns: 66px minmax(0, 1fr) 16px;
  gap: 10px;
}
.guide-cover { min-height: 62px; border: 1px solid rgb(49 45 39 / 13%); }
.guide-cover > span { position: absolute; }
.guide-cover--dive { background: #acc7e8; }
.guide-cover--dive::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 29px;
  left: 6px;
  bottom: 9px;
  background: repeating-linear-gradient(180deg, #29496a 0 1px, transparent 1px 6px);
  opacity: .65;
}
.guide-dive-beam {
  width: 29px;
  height: 27px;
  right: -2px;
  top: 25px;
  background: linear-gradient(90deg, #fff4bc 14%, rgb(255 244 188 / 18%) 100%);
  clip-path: polygon(0 26%, 100% 4%, 100% 100%);
  transform: rotate(12deg);
}
.guide-submarine {
  left: 14px;
  top: 25px;
  width: 35px;
  height: 17px;
  border: 2px solid #2d4260;
  border-radius: 54% 52% 51% 53%;
  background: #f4cc79;
  box-shadow: inset 0 -3px #d89d55, -4px 1px 0 -1px #2d4260;
  transform: rotate(13deg);
}
.guide-submarine::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 11px;
  width: 8px;
  height: 8px;
  border-block-start: 2px solid #2d4260;
  border-inline-start: 2px solid #2d4260;
  border-start-start-radius: 3px;
}
.guide-submarine::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 4px;
  width: 7px;
  height: 7px;
  border: 1px solid #2d4260;
  border-radius: 50%;
  background: #c6dceb;
}
.guide-dive-bubbles {
  top: 16px;
  right: 10px;
  width: 4px;
  height: 4px;
  border: 1px solid #53728e;
  border-radius: 50%;
  box-shadow: -5px -5px 0 -1px #53728e, 4px -6px 0 -1px #53728e;
}
.guide-cover--volcano { background: #edbbc2; }
.guide-volcano-smoke {
  top: 11px;
  left: 29px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff0dd;
  box-shadow: 6px -4px 0 .5px #fff0dd, 12px -5px 0 -1px #fff0dd, -4px 4px 0 -1px #fff0dd;
}
.guide-volcano {
  left: 10px;
  right: 8px;
  bottom: 14px;
  height: 29px;
  background: #5f3544;
  clip-path: polygon(0 100%, 30% 42%, 40% 11%, 59% 11%, 72% 49%, 100% 100%);
}
.guide-volcano::before {
  content: "";
  position: absolute;
  inset: 4px 3px 2px;
  background: linear-gradient(121deg, #bc6e64 0 52%, #8f4a55 53% 100%);
  clip-path: polygon(0 100%, 30% 42%, 41% 11%, 58% 11%, 72% 49%, 100% 100%);
}
.guide-volcano::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 37%;
  width: 31%;
  height: 19px;
  background: #f7ac6d;
  clip-path: polygon(6% 0, 64% 0, 100% 66%, 76% 85%, 45% 38%, 61% 100%, 38% 87%, 24% 39%, 0 68%);
}
.guide-volcano-progress {
  left: 13px;
  bottom: 6px;
  width: 35px;
  height: 5px;
  background: radial-gradient(circle, #764656 1.35px, transparent 1.6px) center / 5px 5px repeat-x;
}


/* Approved homepage refresh, scoped to the homepage. */
body.home-refresh{color-scheme:light;--paper:#f8f6ef;--card:#fffdf7;--ink:#272b22;--muted:#636456;--line:#dedecf;--lime:#e2ed80;--green:#edf0db;--display:"Bricolage Grotesque","Segoe UI",sans-serif;--body:"DM Sans","Segoe UI",sans-serif;font:16px/1.6 var(--body)}
.home-refresh *{box-sizing:border-box}
.home-refresh [hidden]{display:none!important}
html:has(> body.home-refresh){scroll-behavior:smooth;scroll-padding-top:24px}
body.home-refresh{margin:0;background:var(--paper);color:var(--ink)}
.home-refresh ::selection{background:var(--lime);color:var(--ink)}
.home-refresh a{color:inherit}
.home-refresh button,.home-refresh input,.home-refresh textarea{font:inherit;color:inherit}
.home-refresh button{cursor:pointer}
.home-refresh a,.home-refresh button,.home-refresh input,.home-refresh textarea,.home-refresh summary{-webkit-tap-highlight-color:transparent}
.home-refresh a:focus-visible,.home-refresh button:focus-visible,.home-refresh input:focus-visible,.home-refresh textarea:focus-visible,.home-refresh summary:focus-visible{outline:3px solid #59682c;outline-offset:4px}
.home-refresh svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.home-refresh .wrap{width:min(1224px,calc(100% - 80px));margin-inline:auto}
.home-refresh h1,.home-refresh h2,.home-refresh h3{font-family:var(--display);font-weight:750;letter-spacing:-.035em;line-height:1.12;text-wrap:balance}
.home-refresh p{margin:0 0 16px}
.home-refresh .muted{color:var(--muted)}
.home-refresh .skip{position:absolute;top:-100px;left:16px;padding:8px 14px;background:var(--ink);color:var(--card);z-index:10}
.home-refresh .skip:focus{top:8px}
.home-refresh .site-header{border-bottom:1px solid var(--line);background:#fcfbf5}
.home-refresh .header-inner{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.home-refresh .brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font:800 28px/1 var(--display);letter-spacing:-.04em}
.home-refresh .brand-mark{display:grid;grid-template-columns:repeat(2,1fr);gap:3px;padding:5px;width:27px;height:27px;border:1px solid var(--ink);border-radius:8px;background:var(--lime);transform:rotate(-7deg)}
.home-refresh .brand-mark i{background:var(--ink);border-radius:2px}
.home-refresh .brand-mark i:last-child{border-radius:50%}
.home-refresh .nav{display:flex;gap:30px;align-self:stretch}
.home-refresh .nav a{display:flex;align-items:center;min-height:44px;text-decoration:none;font-size:14px;font-weight:700;color:var(--muted);position:relative}
.home-refresh .nav a:hover{color:var(--ink)}
.home-refresh .nav a[aria-current]{color:var(--ink)}
.home-refresh .nav a[aria-current]:after{content:"";position:absolute;bottom:14px;left:0;right:0;height:2px;background:var(--ink)}
.home-refresh .page-intro{margin:22px 0 20px;display:flex;align-items:end;justify-content:space-between;gap:24px}
.home-refresh .page-intro h1{font-size:clamp(38px,4vw,50px);margin:0;letter-spacing:-.04em}
.home-refresh .page-intro p{margin:8px 0 0;color:var(--muted);font-size:16px}
.home-refresh .heading-spark{display:inline-flex;vertical-align:top;color:#7d8d3b;margin:0 0 0 4px}
.home-refresh .heading-spark svg{width:23px;height:27px;stroke-width:1.4}
.home-refresh .play-layout{display:grid;grid-template-columns:minmax(0,1fr) 296px;gap:28px;align-items:stretch}
.home-refresh .player{height:570px;min-width:0;position:relative;overflow:hidden;border-radius:16px;background:#0b1022;box-shadow:0 5px 13px -7px #31362d66}
.home-refresh .player iframe{display:block;width:100%;height:100%;border:0;background:#0b1022}
.home-refresh .game-loading{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:15px;color:#f8f6ef;background:#0b1022}
.home-refresh .game-loading svg{width:30px;height:30px;animation:home-spin 1.4s linear infinite}
.home-refresh .game-loading span{font-size:14px}
.home-refresh .game-recovery{margin:12px 0 0}
.home-refresh .game-recovery a{color:inherit}
.home-refresh .side{display:flex;flex-direction:column;min-width:0}
.home-refresh .rail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:1px 0 14px}
.home-refresh .rail-heading h2{margin:0;font-size:25px;letter-spacing:-.035em}
.home-refresh .rail-heading>a{font-size:13px;text-underline-offset:4px;text-decoration-color:#b6b7a5;padding:8px 0}
.home-refresh .suggestions{display:grid;gap:12px}
.home-refresh .suggestion{display:grid;grid-template-columns:72px minmax(0,1fr) 12px;align-items:center;gap:12px;padding:10px;background:var(--card);border:1px solid var(--line);border-radius:14px;text-decoration:none;transition:background .18s,border-color .18s}
.home-refresh .suggestion:hover{background:#fffefb;border-color:#969e75}
.home-refresh .suggestion strong{font:750 19px/1.15 var(--display);letter-spacing:-.025em;display:block}
.home-refresh .suggestion small{font-size:12px;line-height:1.5;display:block;color:var(--muted);margin-top:5px}
.home-refresh .suggestion>.arrow{width:15px;height:18px}
.home-refresh .art{position:relative;overflow:hidden;border-radius:10px;width:72px;height:76px;isolation:isolate}
.home-refresh .art:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(#24241e1b 1px,transparent 1.5px) 0 0/10px 10px}
.home-refresh .guide-cover>span{position:absolute}
.home-refresh .guide-cover--dive{background:#acc7e8}
.home-refresh .guide-cover--dive:after{content:"";position:absolute;width:6px;height:29px;left:6px;bottom:9px;background:repeating-linear-gradient(180deg,#29496a 0 1px,transparent 1px 6px);opacity:.65}
.home-refresh .guide-dive-beam{width:29px;height:27px;right:-2px;top:25px;background:linear-gradient(90deg,#fff4bc 14%,rgb(255 244 188 / 18%) 100%);clip-path:polygon(0 26%,100% 4%,100% 100%);transform:rotate(12deg)}
.home-refresh .guide-submarine{left:17px;top:31px;width:35px;height:17px;border:2px solid #2d4260;border-radius:54% 52% 51% 53%;background:#f4cc79;box-shadow:inset 0 -3px #d89d55,-4px 1px 0 -1px #2d4260;transform:rotate(13deg)}
.home-refresh .guide-submarine:before{content:"";position:absolute;top:-9px;left:11px;width:8px;height:8px;border-block-start:2px solid #2d4260;border-inline-start:2px solid #2d4260;border-start-start-radius:3px}
.home-refresh .guide-submarine:after{content:"";position:absolute;top:3px;right:4px;width:7px;height:7px;border:1px solid #2d4260;border-radius:50%;background:#c6dceb}
.home-refresh .guide-dive-bubbles{top:16px;right:10px;width:4px;height:4px;border:1px solid #53728e;border-radius:50%;box-shadow:-5px -5px 0 -1px #53728e,4px -6px 0 -1px #53728e}
.home-refresh .guide-cover--volcano{background:#edbbc2}
.home-refresh .guide-volcano-smoke{top:16px;left:32px;width:7px;height:7px;border-radius:50%;background:#fff0dd;box-shadow:6px -4px 0 .5px #fff0dd,12px -5px 0 -1px #fff0dd,-4px 4px 0 -1px #fff0dd}
.home-refresh .guide-volcano{left:10px;right:8px;bottom:17px;height:33px;background:#5f3544;clip-path:polygon(0 100%,30% 42%,40% 11%,59% 11%,72% 49%,100% 100%)}
.home-refresh .guide-volcano:before{content:"";position:absolute;inset:4px 3px 2px;background:linear-gradient(121deg,#bc6e64 0 52%,#8f4a55 53% 100%);clip-path:polygon(0 100%,30% 42%,41% 11%,58% 11%,72% 49%,100% 100%)}
.home-refresh .guide-volcano:after{content:"";position:absolute;top:1px;left:37%;width:31%;height:19px;background:#f7ac6d;clip-path:polygon(6% 0,64% 0,100% 66%,76% 85%,45% 38%,61% 100%,38% 87%,24% 39%,0 68%)}
.home-refresh .guide-volcano-progress{left:18px;bottom:7px;width:35px;height:5px;background:radial-gradient(circle,#764656 1.35px,transparent 1.6px) center/5px 5px repeat-x}
.home-refresh .topic-actions{margin-top:auto;display:grid;gap:8px;position:relative;width:max-content;padding-top:20px}
.home-refresh .topic-action{width:44px;height:44px;padding:0;border:1px solid #d9d8c5;border-radius:12px;background:var(--card);display:grid;place-items:center}
.home-refresh .topic-action svg{width:23px;height:23px;padding:2px;border-radius:6px;box-sizing:content-box;background:#eaf0c1;color:#50602c}
.home-refresh .topic-action:last-of-type svg{background:#e9e2f3;color:#645279}
.home-refresh .topic-action:hover{background:#f0efdF}
.home-refresh .topic-action[aria-pressed=true]{border-color:#818f45;background:#eaf0c1}
.home-refresh .topic-action[aria-pressed=true] svg{fill:#cfdd85}
.home-refresh .action-feedback{position:absolute;left:54px;bottom:0;min-width:170px;font-size:13px;color:#49502e}
.home-refresh .action-feedback:empty{display:none}
.home-refresh .recent{display:flex;gap:14px;align-items:center;flex-wrap:wrap;min-height:66px;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.home-refresh .recent-title{display:flex;align-items:center;gap:8px;color:#50553d;font-size:13px;font-weight:600;margin:0}
.home-refresh .recent svg{width:16px;height:16px}
.home-refresh .recent ul{margin:0;padding:0;list-style:none;display:flex;gap:8px;flex-wrap:wrap}
.home-refresh .recent a{display:inline-flex;align-items:center;min-height:36px;font-weight:600;text-underline-offset:4px}
.home-refresh .recent p{margin:0}
.home-refresh .editorial{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:76px;padding:62px 0 58px}
.home-refresh .editorial h2{font-size:36px;max-width:380px;margin:0 0 20px}
.home-refresh .editorial>div>p{max-width:49ch;color:var(--muted);font-size:16px;line-height:1.75}
.home-refresh .text-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-weight:700;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#a6ac7d;font-size:14px}
.home-refresh .text-link svg{width:17px;height:17px}
.home-refresh .today-note{position:relative;padding:28px 30px 24px;background:#eeefdf;border-radius:16px;align-self:start}
.home-refresh .today-note:before{content:"";position:absolute;top:-7px;left:32px;height:15px;width:60px;background:#d6dfa1bb;transform:rotate(-4deg);border-radius:1px}
.home-refresh .note-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.home-refresh .note-heading svg{color:#68763c}
.home-refresh .note-heading h3{font-size:26px;margin:0}
.home-refresh .today-note p{font-size:15px;line-height:1.7;color:#50583d;margin-bottom:16px}
.home-refresh .facts{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;margin:0;padding:14px 0 0;border-top:1px solid #d0d4b8;font-size:12px;color:#46522c}
.home-refresh .facts li{display:flex;align-items:center;gap:6px}
.home-refresh .facts svg{width:16px;height:16px}
.home-refresh .daily-explainer{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:70px;border-radius:16px;background:#eee6da;padding:38px 42px;position:relative}
.home-refresh .daily-explainer h2{font-size:29px;margin:0 0 16px}
.home-refresh .daily-explainer p{font-size:15px;line-height:1.75;max-width:58ch;margin:0;color:#645644}
.home-refresh .daily-explainer dl{margin:0;display:grid;gap:0}
.home-refresh .daily-explainer dl>div{display:grid;grid-template-columns:25px minmax(0,1fr);gap:12px;padding:13px 0;border-bottom:1px solid #d7cdbc}
.home-refresh .daily-explainer dl>div:first-child{padding-top:0}
.home-refresh .daily-explainer dl>div:last-child{padding-bottom:0;border:0}
.home-refresh .daily-explainer svg{color:#806844;width:21px;height:21px;margin-top:2px}
.home-refresh .daily-explainer dt{font-size:14px;font-weight:700}
.home-refresh .daily-explainer dd{font-size:13px;color:#645644;margin:3px 0 0;line-height:1.55}
.home-refresh .faq-section{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:70px;padding:66px 0 60px}
.home-refresh .section-intro h2{font-size:32px;margin:0 0 14px}
.home-refresh .section-intro p{font-size:15px;line-height:1.7;max-width:30ch;color:var(--muted)}
.home-refresh .section-intro .text-link{margin-top:5px}
.home-refresh .faq-list{border-top:1px solid #cacdb8}
.home-refresh .faq-list details{border-bottom:1px solid var(--line)}
.home-refresh summary{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:65px;padding:16px 0;cursor:pointer;list-style:none;font-size:16px;font-weight:600}
.home-refresh summary::-webkit-details-marker{display:none}
.home-refresh summary svg{width:18px;height:18px;color:#7b8458;transition:transform .18s}
.home-refresh details[open] summary svg{transform:rotate(45deg)}
.home-refresh .faq-answer{padding:0 36px 22px 0;font-size:15px;color:var(--muted);line-height:1.75;max-width:70ch}
.home-refresh .faq-answer p{margin:0}
.home-refresh .faq-answer a{text-underline-offset:3px;text-decoration-color:#b6b89f}
.home-refresh .conversation{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr);gap:70px;border-top:1px solid var(--line);padding:40px 0 64px}
.home-refresh .comment-form{display:grid;gap:18px}
.home-refresh .comment-form label{display:block;font-weight:600;font-size:13px;margin-bottom:7px}
.home-refresh .comment-form input,.home-refresh .comment-form textarea{display:block;width:100%;border:1px solid #cdd0bd;border-radius:10px;background:#fffdf8;padding:11px 14px;min-height:46px;caret-color:#6b7d26}
.home-refresh .comment-form textarea{height:120px;resize:vertical;min-height:120px}
.home-refresh .comment-form input::placeholder,.home-refresh .comment-form textarea::placeholder{color:#6b6f5e;opacity:1;font-size:14px}
.home-refresh .comment-form .name-field{max-width:280px}
.home-refresh .form-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px}
.home-refresh .form-bottom p{font-size:12px;color:var(--muted);margin:0;max-width:35ch}
.home-refresh .primary-button{display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:10px 19px;background:var(--lime);border:1px solid #b4c262;border-radius:10px;font-size:14px;font-weight:700;white-space:nowrap}
.home-refresh .primary-button:hover{background:#d7e574}
.home-refresh .primary-button svg{width:16px;height:16px}
.home-refresh .form-status{font-size:13px;color:#48552b;margin:0}
.home-refresh .preview-caption{font-size:12px;color:#6b6c5f;margin:0}
.home-refresh .footer{background:#eeeee2;border-top:1px solid var(--line);padding:30px 0}
.home-refresh .footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}
.home-refresh .footer .brand{font-size:24px}
.home-refresh .footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:5px 22px;font-size:13px;color:#5c604d}
.home-refresh .footer nav a{display:flex;align-items:center;min-height:44px;text-decoration:none}
.home-refresh .footer nav a:hover{text-decoration:underline;text-underline-offset:4px}
.home-refresh .footer-sub{font-size:12px;color:#5e644c;margin:10px 0 0}
.home-refresh .icon-defs{position:absolute;width:0;height:0;overflow:hidden}
@keyframes home-spin{to{transform:rotate(360deg)}
}
@media(min-width:1500px){.home-refresh .wrap{max-width:1280px}
.home-refresh .play-layout{grid-template-columns:minmax(0,1fr) 310px}
.home-refresh .player{height:600px}
}
@media(max-width:1050px){.home-refresh .wrap{width:calc(100% - 48px)}
.home-refresh .play-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}
.home-refresh .suggestion{grid-template-columns:62px minmax(0,1fr);gap:10px}
.home-refresh .suggestion>.arrow{display:none}
.home-refresh .art{width:62px;height:72px}
.home-refresh .suggestion strong{font-size:18px}
.home-refresh .rail-heading h2{font-size:23px}
.home-refresh .rail-heading>a{font-size:12px}
.home-refresh .editorial{gap:40px}
.home-refresh .daily-explainer{gap:35px;padding:32px}
.home-refresh .faq-section,.home-refresh .conversation{gap:40px}
}
@media(max-width:760px){.home-refresh .wrap{width:calc(100% - 32px)}
.home-refresh .header-inner{min-height:60px;gap:16px}
.home-refresh .brand{font-size:25px;gap:8px}
.home-refresh .brand-mark{width:25px;height:25px;padding:4px;gap:3px}
.home-refresh .nav{gap:18px}
.home-refresh .nav a{font-size:12px}
.home-refresh .nav a[aria-current]:after{bottom:12px}
.home-refresh .page-intro{margin:22px 0 16px}
.home-refresh .page-intro h1{font-size:39px}
.home-refresh .page-intro p{font-size:14px;line-height:1.6;max-width:32ch}
.home-refresh .heading-spark svg{width:19px;height:22px}
.home-refresh .play-layout{grid-template-columns:1fr;gap:24px}
.home-refresh .player{height:575px;border-radius:13px}
.home-refresh .rail-heading{margin-bottom:12px}
.home-refresh .rail-heading h2{font-size:25px}
.home-refresh .rail-heading>a{font-size:13px}
.home-refresh .suggestion{grid-template-columns:72px minmax(0,1fr) 18px;gap:14px;padding:10px}
.home-refresh .suggestion strong{font-size:20px}
.home-refresh .suggestion small{font-size:13px}
.home-refresh .suggestion>.arrow{display:block}
.home-refresh .art{width:72px;height:76px}
.home-refresh .topic-actions{padding-top:20px;margin-top:0}
.home-refresh .recent{padding:20px 0;gap:8px 14px;margin-top:20px;min-height:0;font-size:12px}
.home-refresh .recent-title{font-size:12px}
.home-refresh .editorial{grid-template-columns:1fr;gap:24px;padding:38px 0}
.home-refresh .editorial h2{font-size:32px;max-width:330px;margin-bottom:16px}
.home-refresh .editorial>div>p{font-size:15px;max-width:62ch;margin-bottom:12px}
.home-refresh .today-note{padding:24px}
.home-refresh .note-heading h3{font-size:25px}
.home-refresh .facts{gap:8px 14px}
.home-refresh .daily-explainer{grid-template-columns:1fr;gap:24px;padding:26px 24px}
.home-refresh .daily-explainer h2{font-size:28px;max-width:240px}
.home-refresh .daily-explainer p{font-size:14px}
.home-refresh .daily-explainer dl>div{grid-template-columns:22px minmax(0,1fr);padding:15px 0;gap:12px}
.home-refresh .daily-explainer dl>div:first-child{padding-top:0}
.home-refresh .faq-section{grid-template-columns:1fr;gap:22px;padding:40px 0}
.home-refresh .section-intro h2{font-size:29px;margin-bottom:10px}
.home-refresh .section-intro p{max-width:40ch;font-size:14px;margin-bottom:0}
.home-refresh .section-intro .text-link{margin-top:8px}
.home-refresh .faq-list summary{font-size:15px;min-height:64px;gap:12px}
.home-refresh .faq-answer{font-size:14px;padding-right:24px}
.home-refresh .conversation{grid-template-columns:1fr;gap:24px;padding:32px 0 40px}
.home-refresh .comment-form .name-field{max-width:none}
.home-refresh .form-bottom{align-items:start;flex-direction:column-reverse;gap:12px}
.home-refresh .form-bottom p{max-width:none}
.home-refresh .primary-button{min-width:160px;justify-content:center}
.home-refresh .footer{padding:25px 0}
.home-refresh .footer-inner{align-items:start;flex-direction:column;gap:16px}
.home-refresh .footer nav{gap:0 24px}
.home-refresh .footer-sub{margin-top:14px}
}
@media(prefers-reduced-motion:reduce){html:has(> body.home-refresh){scroll-behavior:auto}
.home-refresh *,.home-refresh *:before,.home-refresh *:after{animation:none!important;transition:none!important}
}

  
.home-refresh .player .stage { height:100%; background:#0b1022; }
.home-refresh .player { border:0; }
.home-refresh .nav { align-items:stretch; }
.home-refresh .nav a[aria-current] { box-shadow:none; }
.home-refresh .editorial p a { text-decoration:underline; text-underline-offset:3px; }
.home-refresh .player .stage iframe { width:100%!important; height:100%!important; }
.home-refresh .player .loader { background:#0b1022; color:#f8f6ef; }
.home-refresh .player .loader span { border-color:#64724a; border-top-color:#e2ed80; }
.home-refresh .recent-list a { padding:0; border:0; background:transparent; border-radius:0; }
.home-refresh .recent { line-height:1.6; }
.home-refresh .home-comment-list { margin-top:26px; }
.home-refresh .home-comment-list[data-gf-empty] { display:none; }
.home-refresh .comment { padding:22px 0; border-color:var(--line); }
.home-refresh .comment header { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; font-size:14px; }
.home-refresh .comment time { font-size:12px; color:var(--muted); }
.home-refresh .comment p { white-space:pre-wrap; overflow-wrap:anywhere; margin:10px 0 0; font-size:15px; }
.home-refresh .comment [data-gf-c-owner] { font-size:12px; font-weight:600; color:#4e5c2c; }
.home-refresh .comment button, .home-refresh [data-gf-reply-cancel] { min-height:44px; padding:8px 12px; background:var(--card); border:1px solid var(--line); border-radius:8px; font-size:13px; }
.home-refresh [data-gf-c-replies] { margin-left:22px; }
.home-refresh .reply-context { display:flex; align-items:center; gap:14px; flex-wrap:wrap; font-size:13px; }
.home-refresh .reply-context:has([data-gf-reply-to]:empty) { display:none; }
.home-refresh .comment-form [data-gf-comment-msg]:empty { display:none; }
.home-refresh .comment-form button:disabled { cursor:wait; opacity:.65; }
.home-refresh [data-gf-share-msg]:empty { display:none; }

/* Authorized Kabloom embed: original game, no host overlays or toolbar. */
.stage[data-current-game="kabloom"]{--frame-height:clamp(360px,calc(100svh - 220px),570px);background:#191128}
.home-refresh .player:has(.stage[data-current-game="kabloom"]){height:clamp(360px,calc(100svh - 220px),570px)}
.stage[data-current-game="kabloom"] iframe{width:100%!important;background:#191128}
.kabloom-credit{margin:10px 2px 0;font-size:13px;line-height:1.5;color:var(--muted)}
.kabloom-credit a{color:var(--ink);font-weight:600;text-underline-offset:3px}
@media(max-width:700px){.stage[data-current-game="kabloom"]{--frame-height:clamp(360px,calc(100svh - 200px),575px)}.home-refresh .player:has(.stage[data-current-game="kabloom"]){height:clamp(360px,calc(100svh - 200px),575px)}}


/* Approved whole-site UI, 2026-11-26. */
/* Review-only UI proposal. Apply through GFS after owner review. */
body.all-refresh{--paper:#f8f6ef;--card:#fffdf7;--ink:#272b22;--muted:#636456;--line:#dedecf;--lime:#e2ed80;--green:#edf0db;--display:"Bricolage Grotesque","Segoe UI",sans-serif;--body:"DM Sans","Segoe UI",sans-serif;font:16px/1.65 var(--body);background:var(--paper);color:var(--ink);min-height:100svh;display:flex;flex-direction:column}
.all-refresh>main{flex:1}.all-refresh .wrap{width:min(1224px,calc(100% - 80px));margin-inline:auto}.all-refresh svg.ui-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.all-refresh a:focus-visible,.all-refresh button:focus-visible,.all-refresh summary:focus-visible,.all-refresh input:focus-visible,.all-refresh textarea:focus-visible{outline:3px solid #59682c;outline-offset:4px}.all-refresh ::selection{background:var(--lime)}
.all-refresh .site-header{background:#fcfbf5;border-bottom:1px solid var(--line)}.all-refresh .header-inner{min-height:64px}.all-refresh .brand{font-size:28px;letter-spacing:-.04em;gap:10px}.all-refresh .brand-mark{width:27px;height:27px;border-radius:8px}.all-refresh .nav{gap:30px;align-items:stretch}.all-refresh .nav a{min-height:44px;font-size:14px;position:relative;box-shadow:none}.all-refresh .nav a[aria-current]:after{content:"";position:absolute;height:2px;left:0;right:0;bottom:14px;background:var(--ink)}
.all-refresh .ui-footer{margin-top:64px;background:#eeeee2;border-top:1px solid var(--line);padding:30px 0}.all-refresh .ui-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.all-refresh .ui-footer .brand{font-size:24px}.all-refresh .ui-footer nav{display:flex;flex-wrap:wrap;gap:0 24px;font-size:13px;color:#5c604d}.all-refresh .ui-footer nav a{display:flex;align-items:center;min-height:44px}.all-refresh .ui-footer nav a:hover{text-decoration:underline;text-underline-offset:4px}.all-refresh .ui-footer p{font-size:12px;margin:8px 0 0;color:#5e644c}
.inner-refresh .breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:13px;margin:27px 0 0;color:var(--muted)}.inner-refresh .breadcrumb a{min-height:28px;display:inline-flex;align-items:center;text-decoration:underline;text-decoration-color:#c0c4ad;text-underline-offset:4px}.inner-refresh h1,.inner-refresh h2,.inner-refresh h3{font-family:var(--display);font-weight:750;letter-spacing:-.035em;line-height:1.15;text-wrap:balance}.inner-refresh .page-title{font-size:clamp(36px,4vw,52px);margin:15px 0 12px}.inner-refresh .lead{font-size:17px;line-height:1.7;color:var(--muted);max-width:65ch;margin:0}
.ui-page-hero{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:48px;align-items:center;padding:12px 0 36px;border-bottom:1px solid var(--line);margin-bottom:34px}.ui-page-hero .lead{max-width:64ch}.ui-hero-art{height:158px;display:grid;place-items:center;position:relative;background-color:#eff0df;background-image:linear-gradient(#d9ddc1 1px,transparent 1px),linear-gradient(90deg,#d9ddc1 1px,transparent 1px);background-size:21px 21px;border-radius:56% 44% 42% 58% / 53% 45% 55% 47%;isolation:isolate}.ui-hero-art svg{width:170px;height:135px;overflow:visible}.ui-title-icon{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:#edf0db;border:1px solid #d5dabe;margin-right:12px;color:#566531}.ui-section-title{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 18px}.ui-section-title h2{display:flex;align-items:center;font-size:27px;margin:0}.ui-section-title>a{font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.directory-refresh .directory-section,.category-refresh .directory-section{margin:0 0 34px}.directory-refresh .directory-grid,.category-refresh .directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.directory-refresh .directory-card,.category-refresh .directory-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 144px;align-items:center;gap:20px;padding:24px;min-height:205px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:0 3px 0 #e9e6da;overflow:hidden;text-decoration:none}.directory-refresh .directory-card:hover,.category-refresh .directory-card:hover{border-color:#a7b475;box-shadow:0 4px 0 #e0e4c9}.directory-refresh .directory-card strong,.category-refresh .directory-card strong{display:block;font-family:var(--display);font-size:28px;line-height:1.12;letter-spacing:-.035em;color:var(--ink)}.directory-refresh .directory-card small,.category-refresh .directory-card small{display:block;font-size:14px;line-height:1.6;color:var(--muted);margin-top:10px;max-width:28ch}.ui-card-link{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;margin-top:19px;color:#4e5c2c}.ui-card-link .ui-icon{width:17px;height:17px}.ui-game-art{display:block;position:relative;width:144px;height:144px;background:#eee8d9;border-radius:13px;overflow:hidden}.ui-game-art>.guide-cover{position:absolute;left:50%;top:50%;width:72px;height:76px;min-height:0;transform:translate(-50%,-50%) scale(1.62);border:0;border-radius:12px}.ui-game-art--dive{background:#e2eaf2}.ui-game-art--volcano{background:#f3e2df}.ui-game-art--featured{display:grid;place-items:center;background:#edf0db}.ui-game-art--featured>svg{width:112px;height:112px}.directory-refresh .directory-section:first-of-type .directory-grid{grid-template-columns:1fr}.directory-refresh .directory-section:first-of-type .directory-card{min-height:154px;background:#edf0db;grid-template-columns:minmax(0,1fr) 144px}.directory-refresh .directory-section:first-of-type .directory-card strong{font-size:30px}.directory-refresh .directory-section:first-of-type .ui-game-art{height:112px}.directory-refresh .directory-section:first-of-type .directory-card small{max-width:none}.directory-refresh .shelf{margin-top:0;border-top:1px solid var(--line);padding-top:22px;max-width:none;font-size:15px;color:var(--muted)}
.topic-refresh .krillion-topic .page-title{margin:15px 0 10px}.topic-refresh .topic-intro{font-size:16px;line-height:1.65;margin:0 0 22px;color:var(--muted)}.topic-refresh .topic-play-layout{grid-template-columns:minmax(0,1fr) 278px;column-gap:28px}.topic-refresh .topic-guide{background-color:#f3ead8;background-size:21px 21px;border:1px solid #ddd0ad;border-radius:15px;padding:17px}.topic-refresh .topic-guide h2{font-size:27px}.topic-refresh .topic-guide li{padding:11px 10px;border-color:#d8ceb3;border-radius:10px}.topic-refresh .topic-guide li strong{font-size:14px}.topic-refresh .topic-guide .guide-description{font-size:13px;line-height:1.5}.topic-refresh .player{border:0;border-radius:16px;box-shadow:0 4px 0 #e3dfcf}.topic-refresh .topic-action{border-color:#d8dcc7;background:#fffdf7}.topic-refresh .topic-action[aria-pressed=true]{border-color:#aab774;background:#eaf0c1}
.ui-reading-grid{display:grid;grid-template-columns:214px minmax(0,1fr);gap:62px;margin-top:62px;padding-top:38px;border-top:1px solid var(--line)}.ui-reading-grid .shelf.prose{margin:0;padding:0;max-width:790px;border:0}.ui-toc{align-self:start;position:sticky;top:28px;font-size:13px}.ui-toc details{border:0;background:none;padding:0}.ui-toc summary{display:flex;align-items:center;gap:9px;list-style:none;font-size:14px;font-weight:700;margin-bottom:14px}.ui-toc summary::-webkit-details-marker{display:none}.ui-toc ol{list-style:none;margin:0;padding:0;border-left:1px solid #d8dec6}.ui-toc li{margin:0}.ui-toc li a{display:block;padding:9px 0 9px 17px;color:var(--muted);line-height:1.5;text-decoration:none}.ui-toc li a:hover{color:var(--ink);background:#edf0db;border-left:2px solid #7f9048;margin-left:-1px;padding-left:16px}.ui-toc>.ui-back-link{display:inline-flex;align-items:center;gap:8px;margin-top:22px;font-size:13px;font-weight:600;min-height:44px;text-underline-offset:4px;text-decoration:underline}
.inner-refresh .prose{font-size:16px;line-height:1.85;color:#45483d}.inner-refresh .prose p{max-width:74ch;margin:0 0 19px}.inner-refresh .prose a{color:#46572a;text-decoration:underline;text-decoration-color:#aeb98f;text-underline-offset:4px}.inner-refresh .prose strong{color:var(--ink)}.inner-refresh .prose h2{font-size:29px;line-height:1.2;color:var(--ink);margin:38px 0 18px;scroll-margin-top:28px}.inner-refresh .prose h2:first-child{margin-top:0}.inner-refresh .prose h3{font-size:21px;color:var(--ink);margin:28px 0 11px;scroll-margin-top:28px}.ui-heading-icon{display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:9px;background:#edf0db;border:1px solid #d8dec4;color:#596833;margin-right:11px;vertical-align:middle}.ui-heading-icon .ui-icon{width:18px;height:18px}.ui-reading-section{padding-bottom:16px;border-bottom:1px solid #e2e3d8;margin-bottom:28px}.ui-reading-section:last-child{border:0}.ui-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:12px;margin:26px 0 34px;background:var(--card)}.ui-table-wrap table{margin:0;width:100%;border:0;border-collapse:collapse;font-size:14px;line-height:1.6}.ui-table-wrap th,.ui-table-wrap td{text-align:left;vertical-align:top;padding:15px 17px;border:0;border-bottom:1px solid var(--line)}.ui-table-wrap th{background:#edf0db;font-weight:700;color:#3d492d}.ui-table-wrap td:first-child{font-weight:600;min-width:135px}.ui-table-wrap tr:last-child td{border-bottom:0}.ui-table-wrap td+td{border-left:1px solid #e7e7db}.ui-table-wrap th:first-child{width:25%}
.inner-refresh .comments{display:grid;grid-template-columns:214px minmax(0,1fr);column-gap:62px;border-top:1px solid var(--line);margin-top:42px;padding-top:32px}.inner-refresh .comments>h2{font-size:29px;margin:0}.inner-refresh .comments>form{max-width:790px}.inner-refresh .comments [data-gf-comments]{grid-column:2}.inner-refresh [data-gf-comment-form]{display:grid;gap:16px}.inner-refresh [data-gf-comment-form] label{display:grid;gap:7px;font-size:13px;font-weight:600;line-height:1.5}.inner-refresh [data-gf-comment-form] input,.inner-refresh [data-gf-comment-form] textarea{display:block;width:100%;border:1px solid #cdd0bd;border-radius:10px;background:#fffdf8;padding:11px 14px;min-height:46px;font:15px/1.6 var(--body);color:var(--ink)}.inner-refresh [data-gf-comment-form] input{max-width:320px}.inner-refresh [data-gf-comment-form] textarea{min-height:120px;resize:vertical}.inner-refresh [data-gf-comment-form] button[type=submit]{justify-self:start;min-height:46px;padding:10px 21px;border:1px solid #b4c262;border-radius:10px;background:var(--lime);font-size:14px;font-weight:700}.inner-refresh [data-gf-comment-msg]:empty{display:none}.inner-refresh [data-gf-comment-form] button:disabled{opacity:.65;cursor:wait}
.ui-info-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:48px;align-items:start;margin-top:4px}.ui-info-content{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:34px 38px;min-width:0}.info-refresh .article,.contact-refresh .article{max-width:none;margin:0;padding:0}.ui-info-content>p:first-child{font-size:18px;line-height:1.8}.ui-info-content h2{font-size:24px!important;margin-top:28px!important}.ui-info-content h2:first-child{margin-top:0!important}.ui-info-content p:last-child{margin-bottom:0}.ui-info-aside{padding-top:4px}.ui-info-aside h2{font-size:17px;margin:0 0 14px;display:flex;align-items:center;gap:9px}.ui-info-aside nav{display:grid;gap:3px;border-top:1px solid var(--line);padding-top:10px}.ui-info-aside nav a{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:9px 12px;border-radius:8px;font-size:14px;color:var(--muted)}.ui-info-aside nav a[aria-current]{background:#e9edcf;color:#3f5026;font-weight:700}.ui-info-aside nav a:hover{background:#edf0db}.ui-info-aside nav .ui-icon{width:16px;height:16px}.ui-info-note{display:flex;align-items:flex-start;gap:11px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px;font-size:13px;color:var(--muted);line-height:1.7}.ui-info-note p{margin:0}.ui-contact-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:58px;align-items:start}.ui-contact-copy>p{font-size:16px}.ui-contact-panel{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:30px 34px;box-shadow:0 4px 0 #e9e6da}.ui-contact-panel>h2{display:flex;align-items:center;gap:12px;font-size:27px;margin:0 0 24px}.contact-refresh .comments{display:block;margin:0;padding:0;border:0}.contact-refresh [data-gf-comment-form] input{max-width:none}.contact-refresh [data-gf-comment-form] textarea{min-height:165px}.ui-contact-note{display:flex;align-items:flex-start;gap:12px;margin-top:25px;padding:19px 20px;background:#edf0db;border-radius:12px;color:#566146;font-size:14px}.ui-contact-note p{margin:0}
@media(min-width:761px){.topic-refresh .topic-play-layout,.home-refresh.all-refresh .play-layout{grid-template-rows:auto auto;row-gap:0}.topic-refresh .topic-play-layout>div:first-child,.topic-refresh .topic-side,.home-refresh.all-refresh .play-layout>div:first-child,.home-refresh.all-refresh .side{display:contents}.topic-refresh .player,.home-refresh.all-refresh .player{grid-column:1;grid-row:1;align-self:start}.topic-refresh .kabloom-credit,.home-refresh.all-refresh .kabloom-credit{grid-column:1;grid-row:2;margin:10px 2px 0}.topic-refresh .topic-guide,.home-refresh.all-refresh #guides{grid-column:2;grid-row:1;align-self:start}.topic-refresh .topic-actions,.home-refresh.all-refresh .topic-actions{grid-column:2;grid-row:1;align-self:end;margin:0;padding:0}.topic-refresh .topic-action-feedback{position:static;grid-column:2;grid-row:2;margin-top:10px;justify-self:start}}
@media(max-width:1000px){.all-refresh .wrap{width:calc(100% - 48px)}.ui-page-hero{gap:30px;grid-template-columns:minmax(0,1fr) 180px}.ui-reading-grid,.inner-refresh .comments{grid-template-columns:185px minmax(0,1fr);gap:30px}.topic-refresh .topic-play-layout{grid-template-columns:minmax(0,1fr) 250px;column-gap:22px}.directory-refresh .directory-card,.category-refresh .directory-card{grid-template-columns:minmax(0,1fr) 112px;padding:21px;gap:16px}.ui-game-art{width:112px;height:132px}.directory-refresh .directory-card strong,.category-refresh .directory-card strong{font-size:25px}.ui-info-layout{grid-template-columns:minmax(0,1fr) 230px;gap:28px}.ui-contact-layout{gap:32px}}
@media(max-width:760px){.all-refresh .wrap{width:calc(100% - 32px)}.all-refresh .header-inner{min-height:60px;gap:14px}.all-refresh .brand{font-size:25px;gap:8px}.all-refresh .brand-mark{width:25px;height:25px;padding:4px}.all-refresh .nav{gap:17px}.all-refresh .nav a{font-size:12px}.all-refresh .nav a[aria-current]:after{bottom:12px}.all-refresh .ui-footer{margin-top:40px;padding:25px 0}.all-refresh .ui-footer-inner{align-items:start;flex-direction:column;gap:13px}.all-refresh .ui-footer nav{gap:0 21px}.inner-refresh .breadcrumb{margin-top:17px;font-size:12px}.inner-refresh .page-title{font-size:36px;margin:12px 0}.inner-refresh .lead{font-size:15px;line-height:1.7}.ui-page-hero{grid-template-columns:1fr;gap:0;padding:8px 0 25px;margin-bottom:26px;position:relative}.ui-hero-art{display:none}.ui-section-title{align-items:start;gap:10px;margin-bottom:14px}.ui-section-title h2{font-size:25px}.ui-title-icon{width:34px;height:34px;border-radius:9px;margin-right:9px}.ui-section-title>a{font-size:12px;white-space:nowrap;min-height:36px}.directory-refresh .directory-grid,.category-refresh .directory-grid{grid-template-columns:1fr;gap:16px}.directory-refresh .directory-card,.category-refresh .directory-card{grid-template-columns:minmax(0,1fr) 108px;gap:15px;min-height:190px;padding:20px}.directory-refresh .directory-card strong,.category-refresh .directory-card strong{font-size:26px}.directory-refresh .directory-card small,.category-refresh .directory-card small{font-size:13px}.ui-game-art{width:108px;height:132px}.directory-refresh .directory-section:first-of-type .directory-card{grid-template-columns:minmax(0,1fr) 95px;min-height:154px}.directory-refresh .directory-section:first-of-type .directory-card strong{font-size:25px}.directory-refresh .directory-section:first-of-type .ui-game-art{width:95px}.directory-refresh .directory-section,.category-refresh .directory-section{margin-bottom:27px}.topic-refresh .krillion-topic .page-title{font-size:35px;margin:12px 0 10px}.topic-refresh .topic-intro{font-size:14px;line-height:1.65;margin-bottom:18px}.topic-refresh .topic-play-layout,.home-refresh.all-refresh .play-layout{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:16px 12px}.topic-refresh .topic-play-layout>div:first-child,.topic-refresh .topic-side,.home-refresh.all-refresh .play-layout>div:first-child,.home-refresh.all-refresh .side{display:contents}.topic-refresh .player,.home-refresh.all-refresh .player{grid-column:1/-1;grid-row:1;min-width:0}.topic-refresh .kabloom-credit,.home-refresh.all-refresh .kabloom-credit{grid-column:1;grid-row:2;margin:0 2px;align-self:start;line-height:44px;font-size:12px}.topic-refresh .topic-actions,.home-refresh.all-refresh .topic-actions{grid-column:2;grid-row:2;align-self:start;justify-self:end;display:flex;flex-direction:row;flex-wrap:nowrap;width:max-content;padding:0;margin:0;gap:8px}.topic-refresh .topic-action,.home-refresh.all-refresh .topic-action{width:44px;height:44px;flex:0 0 44px}.topic-refresh .topic-guide,.home-refresh.all-refresh #guides{grid-column:1/-1;grid-row:3}.topic-refresh .topic-action-feedback{position:static;grid-column:1/-1;grid-row:4;justify-self:end;max-width:100%;margin:0}.topic-refresh .topic-guide h2{font-size:27px}.ui-reading-grid{grid-template-columns:1fr;gap:26px;margin-top:36px;padding-top:25px}.ui-toc{position:static}.ui-toc details{border:1px solid var(--line);border-radius:11px;background:#eeeee2;padding:15px 17px}.ui-toc summary{cursor:pointer;margin:0;justify-content:flex-start;min-height:24px}.ui-toc summary:after{content:"+";margin-left:auto;font-size:22px;font-weight:400}.ui-toc details[open] summary{margin-bottom:10px}.ui-toc details[open] summary:after{content:"−"}.ui-toc>.ui-back-link{display:none}.inner-refresh .prose{font-size:15px;line-height:1.85}.inner-refresh .prose h2{font-size:26px;margin-top:30px}.inner-refresh .prose h3{font-size:20px}.ui-heading-icon{width:29px;height:29px;margin-right:8px;vertical-align:baseline}.ui-reading-section{padding-bottom:9px;margin-bottom:23px}.ui-table-wrap{margin:22px 0 26px}.ui-table-wrap th,.ui-table-wrap td{padding:11px 12px;font-size:13px;min-width:140px}.inner-refresh .comments{display:block;margin-top:29px;padding-top:24px}.inner-refresh .comments>h2{font-size:27px;margin-bottom:20px}.inner-refresh [data-gf-comment-form] input{max-width:none}.inner-refresh .comments [data-gf-comments]{margin-top:25px}.ui-info-layout,.ui-contact-layout{grid-template-columns:1fr;gap:27px}.ui-info-content{padding:24px 23px;border-radius:13px}.ui-info-content>p:first-child{font-size:16px}.ui-info-aside{padding-top:0}.ui-info-aside nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.ui-info-aside h2{font-size:16px}.ui-info-note{margin-top:16px;padding-top:16px}.ui-contact-panel{padding:25px 22px}.ui-contact-panel>h2{font-size:25px}.ui-contact-copy>p{font-size:15px}.ui-contact-note{margin-top:20px;font-size:13px;padding:17px}.contact-refresh [data-gf-comment-form] textarea{min-height:150px}}
@media(max-width:360px){.all-refresh .nav{gap:12px}.all-refresh .brand{font-size:23px}.all-refresh .wrap{width:calc(100% - 28px)}.directory-refresh .directory-card,.category-refresh .directory-card{grid-template-columns:minmax(0,1fr) 85px;padding:17px;gap:10px}.ui-game-art{width:85px;height:120px}.ui-game-art>.guide-cover{transform:translate(-50%,-50%) scale(1.3)}.directory-refresh .directory-card strong,.category-refresh .directory-card strong{font-size:24px}.inner-refresh .page-title{font-size:33px}}
.inner-refresh [data-gf-comment-form] label{width:100%;justify-self:stretch;grid-column:1;margin:0}.inner-refresh [data-gf-comment-form]{grid-template-columns:minmax(0,1fr);align-items:start}.inner-refresh .prose .ui-info-aside h2{font-size:17px;margin:0 0 14px}.inner-refresh .ui-info-aside nav a{text-decoration:none}.inner-refresh .prose .ui-contact-panel>h2{font-size:27px;margin:0 0 24px}.home-refresh.all-refresh .ui-footer{margin-top:0}.ui-reading-grid,.ui-reading-grid>*{min-width:0}.ui-table-wrap{min-width:0;width:100%}
@media(prefers-reduced-motion:reduce){.all-refresh *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.topic-refresh .shelf.prose>h2:not(:first-child){border-top:1px solid #e2e3d8;padding-top:28px;margin-top:38px}.topic-refresh .shelf.prose>h2:first-child{margin-top:0}.ui-game-art--featured>svg{height:112px}


/* Cosmillion: the established topic UI with a full-width original game. */
.cosmillion-topic .stage[data-current-game="cosmillion"]{--frame-height:clamp(520px,calc(100svh - 228px),680px);background:#f5f0e4}
.cosmillion-topic .stage[data-current-game="cosmillion"] iframe{width:100%!important;background:#f5f0e4}
@media(max-width:760px){.cosmillion-topic .stage[data-current-game="cosmillion"]{--frame-height:clamp(520px,calc(100svh - 250px),620px)}}


.size-it-up-topic .stage[data-current-game="size-it-up"] { --frame-height:720px; background:#f5f0e4; }
.size-it-up-topic .stage[data-current-game="size-it-up"] iframe { width:100%!important; background:#f5f0e4; }
.size-it-up-topic .kabloom-credit a { text-decoration:underline; }


.noillirk-topic .stage[data-current-game="noillirk"] { --frame-height:clamp(660px,calc(100svh - 150px),840px); background:#071119; }
.noillirk-topic .stage[data-current-game="noillirk"] iframe { width:100%!important; background:#071119; }
.noillirk-topic .kabloom-credit a { text-decoration:underline; }
@media (max-width:760px) { .noillirk-topic .stage[data-current-game="noillirk"] { --frame-height:720px; } }

/* Approved 2026-12-01 homepage. Scoped to the homepage and its footer. */
.home-refresh:has(.home-approved) {
  --home-paper: #faf3e4;
  --home-surface: #fcf6e9;
  --home-line: #d9d0ad;
  --home-olive: #54581f;
  background: var(--home-paper) url("https://img.dailyster.com/s_3w4p4y0e5l444h/home-paper.109cdade48.jpg") repeat;
  color: #25251e;
}

.home-refresh:has(.home-approved) .site-header {
  background: transparent;
  border-bottom-color: var(--home-line);
}

.home-refresh:has(.home-approved) .wrap {
  width: min(1440px, calc(100% - clamp(28px, 5.2vw, 80px)));
  max-width: none;
}

.home-refresh:has(.home-approved) .header-inner {
  min-height: clamp(47px, 5.55vw, 66px);
}

.home-approved {
  --home-gap: clamp(13px, 1.6vw, 25px);
  --home-icon: clamp(36px, 4.3vw, 48px);
  --home-thumb: clamp(44px, 5.8vw, 67px);
  --home-line: #d9d0ad;
  --home-olive: #54581f;
}

.home-refresh .home-approved .page-intro {
  display: block;
  margin: clamp(12px, 1.5vw, 24px) 0 clamp(18px, 2.1vw, 28px);
}

.home-refresh .home-approved .page-intro h1 {
  font: 800 clamp(34px, 4.2vw, 58px)/1 var(--display);
  letter-spacing: -.045em;
}

.home-refresh .home-approved .page-intro p {
  margin: 4px 0 0;
  font-size: clamp(13px, 1.45vw, 17px);
}

.home-play-grid {
  --home-rail-reach: clamp(0px, 1.7vw, 16px);
  display: grid;
  grid-template-columns: minmax(0, 601fr) minmax(0, 207fr);
  margin-inline-end: calc(-1 * var(--home-rail-reach));
  column-gap: var(--home-gap);
  row-gap: 0;
  align-items: start;
}

.home-refresh .home-approved .home-player {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  isolation: isolate;
  border-radius: clamp(9px, 1.15vw, 16px);
  box-shadow: none;
}

.home-refresh .home-approved .home-player .stage {
  position: absolute;
  inset: 0;
  height: 100%;
  background: #0b1022;
}

.home-refresh .home-approved .home-player .stage iframe {
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.home-refresh .home-approved .home-player .stage:fullscreen,
.home-refresh .home-approved .home-player .stage.fullscreen-fallback {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  z-index: 30;
}

.home-refresh .home-approved .home-player:has(.fullscreen-fallback) {
  isolation: auto;
  overflow: visible;
}

.home-refresh:has(.home-approved .fullscreen-fallback) { overflow: hidden; }

.home-refresh .home-approved .home-player .stage:fullscreen iframe,
.home-refresh .home-approved .home-player .stage.fullscreen-fallback iframe { position: absolute !important; }



.home-approved .home-play-actions {
  grid-area: 2 / 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 10px 0 14px;
}

.home-current-game, .home-action-buttons { display: flex; align-items: center; gap: 10px; }
.home-current-game { min-width: 0; }
.home-current-game strong { font: 800 clamp(16px, 2.05vw, 25px)/1.1 var(--display); }
.home-game-credit { margin: 3px 0 0; font-size: 12px; }
.home-game-credit a { text-decoration: underline; }
.home-current-game img, .home-recent img { width: var(--home-icon); height: var(--home-icon); object-fit: cover; border-radius: 8px; }

.home-approved button svg, .home-next svg, .home-recent svg, .home-card-arrow svg, .home-daily h2 svg, .home-faq summary svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.home-action-buttons { position: relative; gap: clamp(5px, .75vw, 10px); flex-wrap: wrap; }
.home-action-buttons button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid #dfd3b9;
  border-radius: 8px;
  background: #fbf4e8;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 700;
}
.home-action-buttons button:hover, .home-action-buttons button[aria-pressed="true"] { background: #e9eab9; }
.home-action-buttons button[aria-pressed="true"] svg { fill: #9caa59; }
.home-share-feedback { position: absolute; inset: 100% 0 auto auto; width: max-content; font-size: 12px; color: var(--home-olive); }

.home-next { grid-area: 1 / 2; position: relative; align-self: stretch; min-width: 0; min-height: 0; }
.home-next-scroll {
  position: absolute;
  inset: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #969864 transparent;
  border: 1px solid #e1d6be;
  border-radius: 11px;
  background: #fbf4e6;
}
.home-next-heading {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fbf4e6;
  margin: 0 8px;
  padding: 5px 0;
  min-height: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--home-line);
}
.home-next-heading h2, .home-recent h2, .home-next-heading a { display: flex; align-items: center; gap: 5px; }
.home-next-heading h2 { margin: 0; font: 800 clamp(14px, 1.55vw, 22px)/1.1 var(--display); }
.home-next-heading h2 svg { background: #edebc4; color: var(--home-olive); border-radius: 5px; box-sizing: content-box; padding: 3px; }
.home-next-heading a { flex-shrink: 0; font-size: clamp(10px, 1.2vw, 14px); font-weight: 700; color: var(--home-olive); }
.home-next-heading a svg { width: 12px; }
.home-next-list { margin: 0; padding: 0 8px; list-style: none; }
.home-next-list li + li { border-top: 1px solid var(--home-line); }
.home-next-list li > a {
  display: grid;
  grid-template-columns: var(--home-thumb) minmax(0, 1fr) 17px;
  align-items: center;
  gap: clamp(6px, 1vw, 13px);
  min-height: clamp(67px, 9.1vw, 113px);
  padding: 8px 0;
}
.home-next-list li > a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.home-next-list img { width: var(--home-thumb); height: var(--home-thumb); object-fit: cover; border-radius: 7px; }
.home-next-list strong { display: block; font: 800 clamp(13px, 1.55vw, 21px)/1.12 var(--display); }
.home-next-list small { display: block; margin-top: 3px; color: #535346; font-size: clamp(10px, 1.24vw, 15px); line-height: 1.3; }
.home-card-arrow { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #eee9bd; color: #535626; }
.home-card-arrow svg { width: 12px; height: 12px; }

.home-recent {
  grid-area: 3 / 1 / 4 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-inline-end: var(--home-rail-reach);
  gap: 8px clamp(12px, 3vw, 36px);
  border-block: 1px solid var(--home-line);
  padding: 8px 0;
}
.home-recent h2 { margin: 0; padding-right: clamp(9px, 2.4vw, 30px); font: 800 clamp(15px, 2vw, 23px)/1.2 var(--display); border-right: 1px solid var(--home-line); }
.home-recent h2 svg { width: 20px; height: 20px; }
.home-recent p { margin: 0; color: var(--muted); font-size: 13px; }
.home-recent ul { display: flex; flex-wrap: wrap; align-items: center; flex: 1; gap: 8px clamp(12px, 5vw, 70px); margin: 0; padding: 0; list-style: none; }
.home-recent li { font: 750 clamp(13px, 1.55vw, 18px)/1.2 var(--display); }
.home-recent li a { display: inline-flex; align-items: center; gap: 8px; min-height: var(--home-icon); }
.home-recent li a:hover { text-decoration: underline; }

.home-reading h2, .home-conversation h2 { margin: 0; font: 800 clamp(22px, 2.8vw, 39px)/1.1 var(--display); letter-spacing: -.025em; }

.home-reading { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(22px, 4.2vw, 60px); padding: clamp(21px, 2.8vw, 39px) 0; border-bottom: 1px solid var(--home-line); }
.home-daily { position: relative; padding: clamp(13px, 2.25vw, 32px); border-radius: 16px; background: #eeedc9; }
.home-daily::before { content: ""; position: absolute; width: 40px; height: 12px; top: -6px; left: 19px; background: #cdd98c; opacity: .65; transform: rotate(-8deg); }
.home-daily h2 { display: flex; align-items: center; gap: 8px; }
.home-daily h2 svg { color: var(--home-olive); }
.home-daily p { margin: 9px 0; font-size: clamp(13px, 1.42vw, 17px); line-height: 1.35; }
.home-daily-details { display: flex; align-items: center; gap: 10px; }
.home-daily-details img { width: clamp(76px, 11.75vw, 142px); height: auto; border-radius: 10px; }
.home-daily-details ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: clamp(12px, 1.4vw, 16px); }
.home-daily-details li { display: grid; grid-template-columns: 13px 1fr; align-items: start; gap: 7px; }
.home-daily-details li::before { content: "✓"; display: grid; place-items: center; width: 13px; height: 13px; margin-top: 2px; border-radius: 2px; background: #626c29; color: #fffefa; font-size: 12px; line-height: 1; }
.home-faq { padding-top: 7px; }
.home-faq h2 { margin-bottom: 10px; }
.home-faq details { border-bottom: 1px solid var(--home-line); }
.home-refresh .home-approved .home-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 0; padding: clamp(8px, 1.15vw, 16px) 0; list-style: none; cursor: pointer; font-weight: 750; font-size: clamp(13px, 1.5vw, 17px); line-height: 1.35; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq details[open] summary svg { transform: rotate(180deg); }
.home-faq-answer p { margin: 0 0 12px; font-size: 14px; }
.home-faq-answer a { text-decoration: underline; }

.home-conversation { display: grid; grid-template-columns: minmax(0, .81fr) minmax(0, 1fr); gap: clamp(12px, 2.5vw, 30px); padding: clamp(18px, 2.2vw, 32px) 0; }
.home-conversation p { margin: 7px 0 0; color: var(--muted); font-size: clamp(13px, 1.4vw, 16px); }
.home-comment-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px 12px; }
.home-comment-form textarea, .home-comment-form input { width: 100%; min-width: 0; padding: 10px; background: #fbf5e9; border: 1px solid #d6ccb9; border-radius: 8px; font: inherit; color: inherit; }
.home-comment-form textarea { min-height: 54px; height: 54px; line-height: 1.4; resize: vertical; }
.home-comment-form .primary-button { min-height: 36px; background: #d9df91; color: #292b1b; padding: 7px 14px; }
.home-comment-form .reply-context, .home-comment-form .home-form-note, .home-comment-form .form-status { grid-column: 1 / -1; }
.home-comment-form .home-form-note, .home-comment-form .form-status { font-size: 12px; line-height: 1.3; margin: 0; }
.home-comment-form .home-comment-name { grid-column: 1; display: none; }
.home-comment-form:focus-within .home-comment-name, .home-comment-form:has(textarea:not(:placeholder-shown)) .home-comment-name { display: block; }
.home-visually-hidden { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.home-refresh:has(.home-approved) .ui-footer {
  position: relative;
  isolation: isolate;
  margin: 0;
  border-top-color: var(--home-line);
  background: transparent;
  padding: 14px 0 clamp(64px, 7.1vw, 115px);
}
.home-refresh:has(.home-approved) .ui-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: clamp(56px, 10.8vw, 160px);
  background: url("https://img.dailyster.com/s_3w4p4y0e5l444h/home-forest.ea409f4e35.png") center bottom / 100% auto no-repeat;
  pointer-events: none;
}
.home-refresh:has(.home-approved) .ui-footer-inner { justify-content: flex-start; gap: clamp(16px, 4vw, 54px); }
.home-refresh:has(.home-approved) .ui-footer nav a[href="/#recently-played"], .home-refresh:has(.home-approved) .ui-footer > .wrap > p { display: none; }

@media (max-width: 760px) {
  .home-play-grid { --home-rail-reach: 0px; grid-template-columns: minmax(0, 1fr); }
  .home-refresh .home-approved .home-player { height: clamp(470px, calc(100svh - 160px), 575px); aspect-ratio: auto; }
  .home-approved .home-play-actions { grid-row: 2; }
  .home-recent { grid-area: 3 / 1; }
  .home-next { grid-area: 4 / 1; margin-top: 17px; }
  .home-next-scroll { position: static; overflow: visible; }
  .home-next-heading { position: static; }
  .home-next-list li > a { min-height: 58px; }
  .home-action-buttons button { min-width: 42px; min-height: 42px; }
  .home-action-buttons button span { display: none; }
  .home-reading, .home-conversation { grid-template-columns: minmax(0, 1fr); }
  .home-refresh:has(.home-approved) .ui-footer::after { background-size: auto 100%; }
}
.home-recent ul { min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.home-recent li { flex: 0 0 auto; }
@media (max-width: 760px) { .home-recent ul { flex-basis: 100%; } }


.home-daily-details { align-items: start; }
.home-daily-details details, .home-daily-details ul { min-width: 0; }
.home-refresh .home-approved .home-daily-details summary { min-height: 0; display: block; padding: 0; line-height: 1.4; font-size: clamp(12px, 1.4vw, 16px); cursor: pointer; list-style: none; }
.home-daily-details summary::-webkit-details-marker { display: none; }
.home-daily-details summary:hover, .home-daily-details summary:focus-visible { text-decoration: underline; }
.home-daily-details details p { margin: 5px 0 9px; font-size: 13px; }
.home-daily-details details a { text-decoration: underline; }

/* Approved catalog and Krillion topic. Paper and forest reuse the homepage assets. */
.all-refresh:has(.catalog-approved,.topic-approved,.information-approved) {
  --section-ink: #24251e;
  --section-muted: #555747;
  --section-olive: #505723;
  --section-line: #dfd3bb;
  --section-highlight: #ecebcd;
  --section-card: #fdf7eb;
  background: #faf3e4 url("https://img.dailyster.com/s_3w4p4y0e5l444h/home-paper.109cdade48.jpg") repeat;
  color: var(--section-ink);
}
.all-refresh:has(.catalog-approved,.topic-approved,.information-approved) .wrap {
  width: min(1440px, calc(100% - clamp(28px, 5.2vw, 80px)));
  max-width: none;
}
.all-refresh:has(.catalog-approved,.topic-approved,.information-approved) .site-header { background: transparent; border-bottom-color: var(--section-line); }
.all-refresh:has(.catalog-approved,.topic-approved,.information-approved) .header-inner { min-height: clamp(47px, 5.55vw, 66px); }
.all-refresh:has(.catalog-approved,.topic-approved,.information-approved) .ui-footer {
  position: relative;
  isolation: isolate;
  margin: 0;
  border-top-color: var(--section-line);
  background: transparent;
  padding: 14px 0 clamp(64px, 7.1vw, 115px);
}
.all-refresh:has(.catalog-approved,.topic-approved,.information-approved) .ui-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: clamp(56px, 10.8vw, 160px);
  background: url("https://img.dailyster.com/s_3w4p4y0e5l444h/home-forest.ea409f4e35.png") center bottom / 100% auto no-repeat;
  pointer-events: none;
}
.all-refresh:has(.catalog-approved,.topic-approved,.information-approved) .ui-footer-inner { justify-content: flex-start; gap: clamp(16px, 4vw, 54px); }
.all-refresh:has(.catalog-approved,.topic-approved,.information-approved) .ui-footer nav a[href="/#recently-played"],
.all-refresh:has(.catalog-approved,.topic-approved,.information-approved) .ui-footer > .wrap > p { display: none; }

.catalog-approved, .topic-approved { --section-gap: clamp(13px, 1.8vw, 27px); }
.all-refresh .catalog-approved .approved-crumb, .all-refresh .topic-approved .breadcrumb { margin: 12px 0; font-size: 13px; }
.catalog-approved .approved-title { padding: 1px 0 10px; }
.catalog-approved .approved-title h1,
.all-refresh .topic-approved .page-title { margin: 2px 0 7px; font: 800 clamp(33px, 4.6vw, 58px)/1.05 var(--display); letter-spacing: -.045em; }
.catalog-approved .approved-title p, .all-refresh .topic-approved .topic-intro { margin: 0; color: var(--section-muted); font-size: clamp(14px, 1.63vw, 18px); line-height: 1.45; }

.approved-categories { border-bottom: 1px solid var(--section-line); padding: 16px 0 20px; }
.approved-categories h2 { margin: 0 0 8px; font: 800 18px/1.15 var(--display); }
.approved-categories > span, .approved-categories > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid var(--section-line);
  border-radius: 8px;
  background: var(--section-card);
  color: var(--section-olive);
  font-weight: 750;
  font-size: 13px;
}
.approved-categories > span { background: var(--section-highlight); margin-right: 5px; }
.catalog-back { margin: 14px 0 0; padding-bottom: 13px; border-bottom: 1px solid var(--section-line); }
.catalog-back a, .approved-catalog-note > a { color: var(--section-olive); font-size: 14px; font-weight: 750; }
.catalog-approved a:hover .approved-card-text strong, .catalog-back a:hover,
.approved-catalog-note > a:hover, .approved-more-text summary:hover { text-decoration: underline; text-underline-offset: 4px; }

.approved-catalog-section { margin-top: clamp(20px, 2.95vw, 44px); }
.approved-catalog-section > h2, .approved-faq > h2, .approved-topic-comments h2 {
  margin: 0 0 8px;
  font: 800 clamp(23px, 3vw, 35px)/1.12 var(--display);
  letter-spacing: -.022em;
}
.approved-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px var(--section-gap); list-style: none; padding: 0; margin: 0; }
.approved-cards > li { min-width: 0; }
.approved-cards-wide { grid-template-columns: minmax(0, 1fr); }
.approved-card {
  min-height: clamp(100px, 12vw, 147px);
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1.62fr) 23px;
  align-items: center;
  gap: clamp(8px, 1.6vw, 18px);
  padding: 8px;
  border: 1px solid var(--section-line);
  border-radius: 12px;
  background: var(--section-card);
}
.approved-cards-wide .approved-card { grid-template-columns: minmax(0, 23%) minmax(0, 1fr) 23px; }
.approved-card img, .approved-feature-card img { display: block; width: 100%; height: auto; border-radius: 8px; }
.approved-card img { aspect-ratio: 2 / 1; object-fit: cover; }
.approved-card-text { min-width: 0; }
.approved-card-text strong { display: block; font: 800 clamp(16px, 2.05vw, 23px)/1.16 var(--display); }
.approved-card-text > span { display: block; margin-top: 4px; font-size: clamp(12px, 1.42vw, 16px); line-height: 1.42; color: var(--section-muted); }
.approved-arrow { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--section-highlight); color: var(--section-olive); font-size: 13px; }

.approved-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 30.5%) minmax(0, 1fr);
  gap: clamp(11px, 3vw, 35px);
  align-items: center;
  padding: 10px;
  border: 1px solid var(--section-line);
  border-radius: 13px;
  background: var(--section-card);
}
.approved-feature-card h3 { margin: 0 0 3px; font: 800 clamp(21px, 3.5vw, 43px)/1.1 var(--display); }
.approved-feature-card p { font-size: clamp(13px, 1.55vw, 16px); margin: 0 0 14px; color: var(--section-muted); }
.approved-play-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 8px;
  background: var(--section-highlight);
  color: var(--section-olive);
  font-weight: 750;
  font-size: 14px;
}
.approved-catalog-section:has(.approved-cards a[href="/games/trivia/games-like-krillion"]):last-child { border-top: 1px solid var(--section-line); padding-top: 16px; }
.approved-catalog-note { margin: clamp(20px, 2.8vw, 37px) 0; padding: 13px 16px; border-radius: 13px; background: var(--section-highlight); }
.approved-catalog-note h2 { margin: 0 0 4px; font: 800 clamp(18px, 2.4vw, 26px)/1.16 var(--display); }
.approved-catalog-note > p { margin: 0 0 4px; font-size: clamp(13px, 1.5vw, 16px); line-height: 1.45; }
.approved-more-text { margin-top: 6px; }
.all-refresh .catalog-approved .approved-more-text summary { padding: 2px 0; min-height: 0; color: var(--section-olive); font-weight: 700; font-size: 13px; cursor: pointer; }
.approved-more-text .prose { margin: 8px 0 0; }
.approved-faq { margin-bottom: clamp(22px, 3vw, 38px); }
.approved-faq details, .approved-topic-faq details { border-bottom: 1px solid var(--section-line); }
.all-refresh .catalog-approved .approved-faq summary,
.all-refresh .topic-approved .approved-topic-faq summary { cursor: pointer; padding: 9px 11px; min-height: 0; line-height: 1.4; font-weight: 750; font-size: clamp(14px, 1.66vw, 17px); }
.approved-faq details[open], .approved-topic-faq details[open] { background: #f1e8d4; border-radius: 8px 8px 0 0; }
.approved-faq details p, .all-refresh .topic-approved .approved-topic-faq details p { margin: 0; padding: 0 11px 11px; font-size: clamp(13px, 1.45vw, 16px); line-height: 1.45; }

.all-refresh .topic-approved .topic-intro { margin-bottom: 14px; }
.approved-topic-play {
  display: grid;
  grid-template-columns: minmax(0, 601fr) minmax(0, 207fr);
  column-gap: 13px;
  row-gap: 0;
  align-items: start;
}
.all-refresh .topic-approved .approved-topic-player {
  grid-area: 1 / 1;
  position: relative;
  aspect-ratio: 5 / 3;
  height: auto;
  width: 100%;
  isolation: isolate;
  border-radius: 10px;
  box-shadow: none;
}
.all-refresh .topic-approved .approved-topic-player .stage { position: absolute; inset: 0; height: 100%; }
.all-refresh .topic-approved .approved-topic-player iframe { width: 100% !important; height: 100% !important; }
.topic-approved .approved-topic-player .loader { color: var(--section-card); }
.all-refresh .topic-approved .approved-topic-player .stage:fullscreen,
.all-refresh .topic-approved .approved-topic-player .stage.fullscreen-fallback { position: fixed; inset: 0; width: 100%; height: 100dvh; overflow: hidden; z-index: 30; }
.all-refresh .topic-approved .approved-topic-player:has(.fullscreen-fallback) { isolation: auto; overflow: visible; }
.all-refresh:has(.topic-approved .fullscreen-fallback) { overflow: hidden; }
.all-refresh .topic-approved .approved-topic-player .stage:fullscreen iframe,
.all-refresh .topic-approved .approved-topic-player .stage.fullscreen-fallback iframe { position: absolute !important; inset: 0; }


.all-refresh .topic-approved .topic-guide {
  grid-area: 1 / 2 / 3 / 3;
  align-self: start;
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  background-color: #f5ecd6;
  border-color: var(--section-line);
}
.all-refresh .topic-approved .topic-guide h2 { font-size: clamp(18px, 2.35vw, 28px); margin: 0 0 11px; }
.all-refresh .topic-approved .topic-guide ol { display: grid; gap: 8px; margin: 0; padding: 0; }
.all-refresh .topic-approved .topic-guide li { padding: 9px; gap: 8px; border-color: var(--section-line); background: var(--section-card); }
.all-refresh .topic-approved .topic-guide li strong { font-size: clamp(13px, 1.55vw, 17px); }
.all-refresh .topic-approved .topic-guide li .guide-description { font-size: clamp(12px, 1.35vw, 15px); }

.approved-topic-actions { grid-area: 2 / 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px 12px; padding: 10px 0 13px; }
.approved-topic-current, .approved-topic-controls { display: flex; align-items: center; gap: 9px; }
.approved-topic-current strong { font: 800 clamp(16px, 2.1vw, 25px)/1.1 var(--display); }
.approved-topic-current img { width: 36px; height: 36px; border-radius: 8px; }
.approved-topic-controls { position: relative; gap: 5px; flex-wrap: wrap; }
.approved-topic-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 34px; padding: 6px 8px; background: var(--section-card); border: 1px solid var(--section-line); border-radius: 8px; font-size: 13px; font-weight: 750; }
.approved-topic-controls button:hover, .approved-topic-controls button[aria-pressed="true"] { background: var(--section-highlight); }
.approved-topic-controls svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.approved-topic-controls button[aria-pressed="true"] svg { fill: #a6a760; }
.approved-topic-feedback { position: absolute; inset: 100% 0 auto auto; width: max-content; color: var(--section-olive); font-size: 12px; }

.all-refresh .topic-approved .approved-topic-reading {
  grid-template-columns: minmax(0, 601fr) minmax(0, 207fr);
  gap: var(--section-gap);
  padding-top: clamp(18px, 2.95vw, 35px);
  margin-top: 8px;
  border-top: 1px solid var(--section-line);
}
.all-refresh .topic-approved .approved-topic-reading article { grid-area: 1 / 1; min-width: 0; }
.all-refresh .topic-approved .approved-topic-reading > .ui-toc { grid-area: 1 / 2; position: sticky; top: 15px; align-self: start; }
.all-refresh .topic-approved .ui-toc details { padding: 13px; background: var(--section-highlight); border: 1px solid var(--section-line); border-radius: 10px; }
.all-refresh .topic-approved .ui-toc li a { color: var(--section-olive); }
.all-refresh .topic-approved .prose { color: var(--section-ink); }
.all-refresh .topic-approved .prose h2 { margin-top: 25px; color: var(--section-ink); }
.all-refresh .topic-approved .prose > h2:first-child { margin-top: 0; }
.all-refresh .topic-approved .prose table th { background: var(--section-highlight); }
.all-refresh .topic-approved .prose td, .all-refresh .topic-approved .prose th { overflow-wrap: anywhere; }
.approved-topic-faq summary { font-family: "DM Sans", sans-serif; }
.approved-topic-comments { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.2fr); gap: var(--section-gap); border-top: 1px solid var(--section-line); padding: 22px 0; margin-top: 22px; }
.approved-topic-comments > div > p { margin: 5px 0 0; font-size: 14px; color: var(--section-muted); }
.inner-refresh .topic-approved .approved-topic-comment-form { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; align-items: center; }
.inner-refresh .topic-approved .approved-topic-comment-form .home-visually-hidden { width: 1px; height: 1px; }
.approved-topic-comment-form textarea, .approved-topic-comment-form input {
  min-width: 0; width: 100%; padding: 9px; background: var(--section-card); border: 1px solid var(--section-line); border-radius: 8px; font: inherit; color: inherit;
}
.inner-refresh .topic-approved .approved-topic-comment-form textarea { min-height: 54px; line-height: 1.4; }
.approved-topic-comment-form .primary-button { min-height: 36px; background: #d9df91; color: #292b1b; padding: 7px 14px; }
.approved-topic-comment-name { display: none; grid-column: 1; }
.approved-topic-comment-form:focus-within .approved-topic-comment-name,
.approved-topic-comment-form:has(textarea:not(:placeholder-shown)) .approved-topic-comment-name { display: block; }
.approved-topic-comment-form > p { grid-column: 1 / -1; color: var(--section-muted); font-size: 12px; margin: 0; }

@media (max-width: 760px) {
  .approved-cards { grid-template-columns: minmax(0, 1fr); }
  .approved-cards-wide .approved-card { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1.62fr) 23px; }
  .approved-feature-card { grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); }
  .approved-topic-play { grid-template-columns: minmax(0, 1fr); }
  .all-refresh .topic-approved .approved-topic-player { height: clamp(470px, calc(100svh - 160px), 575px); aspect-ratio: auto; }
  .approved-topic-actions { grid-area: 2 / 1; }
  .all-refresh .topic-approved .topic-guide { grid-area: 3 / 1; }
  .approved-topic-controls button { min-height: 42px; min-width: 42px; }
  .approved-topic-controls button span { display: none; }
  .all-refresh .topic-approved .approved-topic-reading, .approved-topic-comments { grid-template-columns: minmax(0, 1fr); }
  .all-refresh .topic-approved .approved-topic-reading > .ui-toc { grid-area: 1 / 1; position: static; }
  .all-refresh .topic-approved .approved-topic-reading article { grid-area: 2 / 1; }
  .all-refresh .topic-approved .prose table { display: table; table-layout: fixed; width: 100%; }
  .all-refresh .topic-approved .prose table th, .all-refresh .topic-approved .prose table td { min-width: 0; padding: 8px; }
  .all-refresh:has(.catalog-approved,.topic-approved,.information-approved) .ui-footer::after { background-size: auto 100%; }
}


/* The Meowdoku board and the publisher footer share the player height. */
.all-refresh .meowdoku-topic .meowdoku-player {
  height: clamp(510px, 69svh, 650px);
  aspect-ratio: auto;
}
@media (max-width: 760px) {
  .all-refresh .meowdoku-topic .meowdoku-player { height: clamp(500px, calc(100svh - 145px), 640px); }
}


/* Keep the four trivia players' normal heights when leaving fullscreen. */
.topic-refresh .topic-play-layout .stage:fullscreen,
.topic-refresh .topic-play-layout .stage.fullscreen-fallback {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  z-index: 30;
}
.topic-refresh .topic-play-layout .stage.fullscreen-fallback { position: fixed; inset: 0; }
.topic-refresh .topic-play-layout .player:has(.stage.fullscreen-fallback) { overflow: visible; isolation: auto; }
.topic-refresh:has(.topic-play-layout .stage.fullscreen-fallback) { overflow: hidden; }

.topic-refresh .topic-play-layout .stage:is(:fullscreen, .fullscreen-fallback) > iframe {
  position: static !important;
  flex: 1 1 0;
  min-height: 0;
  width: 100% !important;
  height: auto !important;
}
@media (max-width: 760px) {
  .topic-refresh .topic-play-layout { grid-template-columns: minmax(0, 1fr) max-content; }
}

/* Whole-site consistency: approved topic controls, variable-height games and information pages. */
.all-refresh .topic-approved .unified-topic-player {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
  align-self: start;
  border-radius: 10px;
  box-shadow: none;
}
.all-refresh .topic-approved .unified-topic-player .stage:is(:fullscreen,.fullscreen-fallback) {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  z-index: 30;
}
.all-refresh .topic-approved .unified-topic-player:has(.fullscreen-fallback) { overflow: visible; isolation: auto; }

.all-refresh .topic-approved .unified-topic-player .stage:is(:fullscreen,.fullscreen-fallback) > iframe {
  position: static !important;
  flex: 1 1 0;
  min-height: 0;
  width: 100% !important;
  height: auto !important;
}
.unified-topic-player .loader { color: var(--section-ink); }
.unified-topic-player .stage[data-current-game="kabloom"] .loader,
.unified-topic-player .stage[data-current-game="noillirk"] .loader { color: #fdf7eb; }
.unified-topic-player .stage[data-current-game="kabloom"] .loader span,
.unified-topic-player .stage[data-current-game="noillirk"] .loader span { border-color: #64724a; border-top-color: #e2ed80; }
.approved-topic-current { min-width: 0; flex: 1 1 130px; }
.approved-topic-current > div { min-width: 0; }
.approved-topic-current img { flex: none; object-fit: cover; }
.approved-topic-current .publisher-credit { max-width: 30ch; margin: 3px 0 0; font: 400 12px/1.35 "DM Sans",sans-serif; color: var(--section-muted); }
.publisher-credit a { text-decoration: underline; text-underline-offset: 3px; }
.approved-topic-controls { flex: none; }
.inner-refresh .topic-approved .approved-topic-comment-form textarea { height: 54px; resize: vertical; }
.inner-refresh .topic-approved .approved-topic-comment-form button[type="submit"],
.home-refresh .home-approved .home-comment-form button[type="submit"],
.contact-refresh .information-approved button[type="submit"] { background: #d9df91; color: #292b1b; }
@media (max-width:760px) {
  .approved-topic-current .publisher-credit { max-width: 22ch; }
}

.all-refresh:has(.information-approved) { --card: var(--section-card); --line: var(--section-line); --muted: var(--section-muted); --ink: var(--section-ink); }
.all-refresh .information-approved .breadcrumb { margin: 12px 0; font-size: 13px; }
.all-refresh .information-approved .page-title { margin: 2px 0 7px; font: 800 clamp(33px,4.6vw,58px)/1.05 var(--display); letter-spacing: -.045em; }
.information-approved .ui-page-hero { padding-top: 1px; border-color: var(--section-line); }
.information-approved .ui-page-hero .lead { color: var(--section-muted); font-size: clamp(14px,1.63vw,18px); line-height: 1.5; }
.information-approved .ui-info-content,
.information-approved .ui-contact-panel { background: var(--section-card); border-color: var(--section-line); border-radius: 12px; box-shadow: none; }
.information-approved .ui-info-content > :is(p,ul,ol) { max-width: 75ch; }
.information-approved .ui-info-aside nav a[aria-current],
.information-approved .ui-contact-note { background: var(--section-highlight); color: var(--section-olive); }
.information-approved .ui-info-aside nav a:hover { background: #f1e8d4; }
.information-approved .ui-info-layout,
.information-approved .ui-contact-layout { margin-bottom: clamp(24px,3vw,44px); }
.information-approved .ui-hero-art { background-color: #ecebcd; }
.all-refresh :is(.home-action-buttons,.approved-topic-controls) button {
  min-height: 36px;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid #dfd3bb;
  border-radius: 8px;
  background: #fdf7eb;
  font-size: 13px;
  font-weight: 750;
}
.all-refresh :is(.home-action-buttons,.approved-topic-controls) { gap: 5px; }
.all-refresh :is(.home-action-buttons,.approved-topic-controls) button:hover,
.all-refresh :is(.home-action-buttons,.approved-topic-controls) button[aria-pressed="true"] { background: #ecebcd; }
.all-refresh :is(.home-action-buttons,.approved-topic-controls) svg { width: 15px; height: 15px; }
@media (max-width:760px) {
  .all-refresh :is(.home-action-buttons,.approved-topic-controls) button { min-width: 42px; min-height: 42px; }
}

/* Consistent compact forms, including line-height and focus states. */
.all-refresh :is(.home-comment-form,.approved-topic-comment-form) button[type="submit"] {
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid #ccd27f;
  border-radius: 8px;
  font: 700 14px/1.4 "DM Sans",sans-serif;
}
.all-refresh :is(.home-comment-form,.approved-topic-comment-form) button[type="submit"]:hover { background: #e3e8a5; }
.approved-topic-current > div > strong { display: block; }

/* Deep Signal reuses the approved topic layout and keeps its native controls visible. */
.unkrillion-topic .stage[data-current-game="deep-signal"] { --frame-height: clamp(740px,calc(100svh - 170px),900px); background:#061321; }
.unkrillion-topic .stage[data-current-game="deep-signal"] iframe { width:100% !important; background:#061321; }
.unkrillion-topic .stage[data-current-game="deep-signal"] .loader { color:#fdf7eb; }
@media (max-width:760px) {
  .unkrillion-topic .stage[data-current-game="deep-signal"] { --frame-height:clamp(680px,calc(100svh - 120px),800px); }
}

/* The approved layout adapts only to this game; long result screens keep native scrolling. */
.home-refresh .home-approved .home-player:has(.stage[data-current-game="krillion-cc"]),
.all-refresh .topic-approved .approved-topic-player:has(.stage[data-current-game="krillion-cc"]) {
  height: var(--krillion-player-height, 640px);
  aspect-ratio: auto;
}
.stage[data-current-game="krillion-cc"],
.stage[data-current-game="krillion-cc"] iframe { background: #071522; }
.stage[data-current-game="krillion-cc"] iframe { width: 100% !important; }


/* Paint Swirl uses its own responsive mixing desk; keep its full control width. */
.fortillion-topic .stage[data-current-game="fortillion-crowdict"] { --frame-height:clamp(640px,calc(100svh - 200px),780px); background:#173b30; }
.fortillion-topic .stage[data-current-game="fortillion-crowdict"] iframe { width:100% !important; background:#173b30; }
@media(max-width:760px) { .fortillion-topic .stage[data-current-game="fortillion-crowdict"] { --frame-height:clamp(640px,calc(100svh - 160px),760px); } }
.paint-swirl-topic .stage[data-current-game="paint-swirl-game"] { --frame-height:clamp(540px,calc(100svh - 220px),640px); background:#f8f5ed; }
.paint-swirl-topic .stage[data-current-game="paint-swirl-game"] iframe { width:100% !important; background:#f8f5ed; }
@media(max-width:760px) { .paint-swirl-topic .stage[data-current-game="paint-swirl-game"] { --frame-height:clamp(560px,calc(100svh - 180px),660px); } }



/* Approved comment composer: message first, optional name and action in one toolbar. */
.all-refresh form.comment-composer { position:relative; display:block; min-width:0; margin:0; }
.all-refresh form.comment-composer .composer-card { padding:14px; border:1px solid #d6ccb9; border-radius:12px; background:#fffdf8; }
.all-refresh form.comment-composer .composer-label { display:block; width:auto; margin:0 0 7px; font-size:15px; font-weight:750; line-height:1.4; }
.all-refresh form.comment-composer textarea { display:block; box-sizing:border-box; width:100%; max-width:100%; min-width:0; height:88px; min-height:88px; margin:0; padding:12px; resize:vertical; border:1px solid #cdd0bd; border-radius:9px; background:#fffdf8; color:var(--ink); font:400 15px/1.5 "DM Sans",sans-serif; }
.all-refresh form.comment-composer .composer-toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px; margin-top:10px; padding-top:10px; border-top:1px solid #d6ccb9; }
.all-refresh form.comment-composer .composer-name { display:flex; align-items:center; gap:9px; box-sizing:border-box; width:100%; max-width:none; min-width:0; height:44px; margin:0; padding:0 11px; border:1px solid #cdd0bd; border-radius:8px; background:#fffdf8; font-weight:400; }
.all-refresh form.comment-composer .composer-name > svg { width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.all-refresh form.comment-composer .composer-name input { display:block; box-sizing:border-box; width:100%; max-width:none; min-width:0; height:42px; min-height:0; margin:0; padding:0; border:0; border-radius:0; background:transparent; color:var(--ink); font:400 14px/1.4 "DM Sans",sans-serif; outline:0; box-shadow:none; }
.all-refresh form.comment-composer .composer-submit { display:inline-flex; width:100%; align-items:center; justify-content:center; gap:9px; box-sizing:border-box; min-width:158px; height:44px; min-height:44px; margin:0; padding:0 16px; border:1px solid #ccd27f; border-radius:8px; background:#d9df91; color:#292b1b; font:750 14px/1.3 "DM Sans",sans-serif; white-space:nowrap; cursor:pointer; }
.all-refresh form.comment-composer .composer-submit svg { width:22px; height:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.all-refresh form.comment-composer .composer-submit:hover { background:#e3e8a5; }
.all-refresh form.comment-composer .composer-submit:disabled { cursor:wait; opacity:.65; }
.all-refresh form.comment-composer .composer-note,
.all-refresh form.comment-composer .composer-status { margin:10px 0 0; color:var(--muted); font:400 12px/1.5 "DM Sans",sans-serif; overflow-wrap:anywhere; }
.all-refresh form.comment-composer .composer-status:empty { display:none; }
.all-refresh form.comment-composer .composer-reply { display:none; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-bottom:12px; font-size:13px; }
.all-refresh form.comment-composer .composer-reply:has([data-gf-reply-to]:not([hidden])) { display:flex; }
.all-refresh form.comment-composer .composer-cancel { min-height:36px; padding:6px 10px; border:1px solid #cdd0bd; border-radius:8px; background:#fffdf8; color:inherit; font:650 13px/1.4 "DM Sans",sans-serif; cursor:pointer; }
.all-refresh form.comment-composer textarea:focus-visible,
.all-refresh form.comment-composer button:focus-visible,
.all-refresh form.comment-composer .composer-name:focus-within { outline:2px solid #59682c; outline-offset:2px; }
.all-refresh form.comment-composer .composer-name input:focus-visible { outline:0; }
.all-refresh .ui-toc > a.ui-back-link { display:flex; box-sizing:border-box; align-items:center; justify-content:center; width:100%; min-height:44px; margin:12px 0 0; padding:9px 12px; border:1px solid #8a9548; border-radius:8px; background:#f7f5e8; color:var(--ink); font-weight:700; line-height:1.35; text-align:center; text-decoration:none; }
.all-refresh .ui-toc > a.ui-back-link:hover { background:#ecebcd; }
@media(max-width:760px) {
  .all-refresh form.comment-composer .composer-card { padding:12px; }
  .all-refresh form.comment-composer textarea { height:88px; min-height:88px; font-size:16px; padding:10px; }
  .all-refresh form.comment-composer .composer-toolbar { grid-template-columns:minmax(0,1fr) auto; gap:10px; margin-top:10px; padding-top:10px; }
  .all-refresh form.comment-composer .composer-name { max-width:none; padding:0 8px; gap:6px; }
  .all-refresh form.comment-composer .composer-name > svg { width:18px; height:18px; }
  .all-refresh form.comment-composer .composer-name input { font-size:16px; }
  .all-refresh form.comment-composer .composer-submit { min-width:142px; padding:0 10px; gap:6px; font-size:13px; }
  .all-refresh form.comment-composer .composer-submit svg { width:19px; height:19px; }
}
@media(max-width:359px) {
  .all-refresh form.comment-composer .composer-card { padding:12px; }
  .all-refresh form.comment-composer .composer-toolbar { gap:8px; }
  .all-refresh form.comment-composer .composer-name { padding:0 8px; }
  .all-refresh form.comment-composer .composer-name > svg { display:none; }
  .all-refresh form.comment-composer .composer-submit { min-width:112px; padding:0 8px; gap:5px; font-size:13px; }
  .all-refresh form.comment-composer .composer-submit svg { display:none; }
}

/* Approved fullscreen exit: centered icon, no toolbar, desktop edge reveal. */
.stage-tools .fullscreen { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; width:44px; min-width:44px; height:44px; min-height:44px; margin:0; padding:0; border:1px solid rgba(214,204,185,.8); border-radius:12px; color:#24241e; background:rgba(255,253,248,.82); cursor:pointer; }
.stage-tools .fullscreen:hover { background:rgba(255,253,248,.97); }
.stage-tools .fullscreen svg { display:block; width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.stage.exit-control-hidden .stage-tools { opacity:0; pointer-events:none; }
.stage.exit-control-hidden .stage-tools:has(:focus-visible) { opacity:1; pointer-events:auto; }
.fullscreen-exit-reveal { display:none; position:absolute; top:0; left:50%; z-index:3; width:144px; height:8px; transform:translateX(-50%); background:transparent; }
.stage:is(:fullscreen,.fullscreen-fallback) .fullscreen-exit-reveal { display:block; }
.stage:-webkit-full-screen .fullscreen-exit-reveal { display:block; }
@media (hover:none), (pointer:coarse) {
  .stage.exit-control-hidden .stage-tools { opacity:1; pointer-events:auto; }
  .fullscreen-exit-reveal { pointer-events:none; }
}
@media (prefers-reduced-motion:reduce) { .stage-tools { transition:none; } }
