/* Peel Out skin: a hand-made jungle expedition look over style.css (which it follows).
   Banana cream and carved wood by day, firefly jungle by night. Fonts: Lilita One (display) and Nunito (text),
   both SIL OFL 1.1, self-hosted in ../fonts. Only colours, type, frames and motion live here; layout stays in style.css. */
@font-face { font-family: "Lilita One"; font-display: swap; src: url(../fonts/lilita-one-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-display: swap; font-weight: 200 1000; src: url(../fonts/nunito-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-display: swap; font-weight: 200 1000; src: url(../fonts/nunito-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --po-display: "Lilita One", "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --po-text: "Nunito", "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --h-sans: var(--po-text);
  --bg: #FBF2D5; --panel: #FFFCF1; --panel-2: #F5E9C6; --line: #E4D19F; --text: #2C2412; --muted: #6F6442;
  --accent: #E8761A; --accent-ink: #FFFFFF; --banana: #FFD23F; --banana-edge: #C38E06;
  --leaf: #2F8F4E; --leaf-edge: #1F6A37; --leaf-ink: #FFFFFF;
  --wood: #9A6633; --wood-2: #6E4520; --wood-hi: #C58C4E;
  --cta: #FFD23F; --cta-edge: #C38E06; --cta-ink: #3A2A00;
  --t1: #8C8F80; --t2: #2E9B4E; --t3: #2F7FD0; --t4: #8C4FD6; --t5: #D2600F; --t6: #D99A06;
  --po-glow: rgba(255, 210, 63, .55);
  --po-leaves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='%232F8F4E' fill-opacity='.07'%3E%3Cpath d='M30 60c20-30 60-30 70-10-25 0-50 10-70 10z'/%3E%3Cpath d='M150 30c10 25 0 55-25 60 10-20 15-40 25-60z'/%3E%3Cpath d='M120 170c25-15 60-5 65 15-25-8-45-10-65-15z'/%3E%3Cpath d='M20 175c5-25 30-40 50-30-20 8-35 18-50 30z'/%3E%3C/g%3E%3Cg fill='%23D99A06' fill-opacity='.08'%3E%3Cpath d='M180 110c2 12 12 20 26 18-4 6-14 9-22 4-7-4-7-14-4-22z'/%3E%3Cpath d='M70 110c2 12 12 20 26 18-4 6-14 9-22 4-7-4-7-14-4-22z'/%3E%3C/g%3E%3C/svg%3E");
}
:root[data-theme="dark"] {
  --bg: #0D1712; --panel: #15231B; --panel-2: #1B2D23; --line: #2D4637; --text: #F4EFD9; --muted: #A9B79F;
  --accent: #F5A04A; --accent-ink: #1A1408; --banana: #FFD54A; --banana-edge: #C99510;
  --leaf: #4FC077; --leaf-edge: #2C8A4D; --leaf-ink: #0B1A10;
  --wood: #6B4524; --wood-2: #3F2812; --wood-hi: #8E6034;
  --cta: #FFD54A; --cta-edge: #B38209; --cta-ink: #2A1E00;
  --t1: #A3AB9E; --t2: #5BD486; --t3: #6FB2FF; --t4: #C092FF; --t5: #FF9A4D; --t6: #FFC94A;
  --po-glow: rgba(255, 213, 74, .35);
  --po-leaves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='%237BE0A0' fill-opacity='.05'%3E%3Cpath d='M30 60c20-30 60-30 70-10-25 0-50 10-70 10z'/%3E%3Cpath d='M150 30c10 25 0 55-25 60 10-20 15-40 25-60z'/%3E%3Cpath d='M120 170c25-15 60-5 65 15-25-8-45-10-65-15z'/%3E%3Cpath d='M20 175c5-25 30-40 50-30-20 8-35 18-50 30z'/%3E%3C/g%3E%3Cg fill='%23FFD54A' fill-opacity='.10'%3E%3Ccircle cx='60' cy='120' r='1.6'/%3E%3Ccircle cx='170' cy='80' r='1.3'/%3E%3Ccircle cx='110' cy='30' r='1.1'/%3E%3Ccircle cx='190' cy='190' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}
:root { --h-bg: var(--panel-2); --h-panel: var(--panel); --h-panel2: var(--panel-2); --h-line: var(--line); --h-text: var(--text); --h-muted: var(--muted); }

body { font-family: var(--po-text); background-color: var(--bg); background-image: var(--po-leaves), radial-gradient(ellipse at 50% -10%, color-mix(in srgb, var(--banana) 22%, transparent), transparent 60%); background-attachment: fixed, fixed; font-feature-settings: "lnum"; }

/* header: the logo in the display face, menu buttons as little wooden tiles */
.hbrand .by { font-family: var(--po-text); font-weight: 800; color: var(--wood); }
:root[data-theme="dark"] .hbrand .by { color: var(--wood-hi); }
.hbrand .logo { font-family: var(--po-display); font-weight: 400; letter-spacing: .01em; text-shadow: 0 2px 0 color-mix(in srgb, var(--banana-edge) 35%, transparent); }
.hicon { background: var(--panel); border: 1.5px solid var(--line); box-shadow: 0 3px 0 var(--line); transition: transform .15s var(--h-spring), box-shadow .15s, background .2s; }
.hicon:hover { background: var(--panel-2); }
.hicon:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }

/* daily / practice: a carved two-way switch */
.modes { background: linear-gradient(var(--wood), var(--wood-2)); border: 0; padding: 5px; border-radius: 16px; box-shadow: inset 0 1px 0 var(--wood-hi), 0 4px 0 var(--wood-2), 0 10px 18px -14px rgba(0,0,0,.6); }
.mode { color: color-mix(in srgb, #FFF4D6 75%, transparent); font-family: var(--po-text); font-weight: 700; border-radius: 11px; }
.mode b { color: #FFF4D6; font-family: var(--po-display); font-weight: 400; letter-spacing: .02em; font-size: 1.02rem; }
.mode.on { background: var(--panel); box-shadow: 0 2px 0 var(--line); color: var(--muted); }
.mode.on b { color: var(--accent); }

/* the chase, framed in wood */
.scene-wrap { border-radius: 22px; box-shadow: 0 0 0 4px var(--wood), 0 0 0 7px var(--wood-2), 0 0 0 8px color-mix(in srgb, var(--wood-hi) 60%, transparent), 0 22px 34px -20px rgba(40, 24, 6, .65); margin: 8px 8px 0; width: calc(100% - 16px); }
.scene-wrap::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25), inset 0 -18px 30px -24px rgba(0,0,0,.45); }
.hud > span { font-family: var(--po-display); font-weight: 400; letter-spacing: .02em; font-size: 14px; color: var(--text); background: color-mix(in srgb, var(--panel) 90%, transparent); border: 1.5px solid color-mix(in srgb, var(--wood) 45%, transparent); box-shadow: 0 2px 0 color-mix(in srgb, var(--wood-2) 45%, transparent); backdrop-filter: blur(2px); }
.hud .hclock { font-family: var(--po-display); font-size: 22px; letter-spacing: .03em; padding: 2px 12px 1px; }
.hud .hclock.low { border-color: transparent; box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad) 35%, transparent), 0 2px 0 rgba(0,0,0,.25); }
.cd { font-family: var(--po-display); font-weight: 400; font-size: 72px; color: var(--banana); -webkit-text-stroke: 3px var(--wood-2); paint-order: stroke fill; text-shadow: 0 5px 0 var(--wood-2), 0 0 30px rgba(0,0,0,.35); }
.spop b { font-family: var(--po-display); font-weight: 400; font-size: 34px; letter-spacing: .02em; -webkit-text-stroke: 2px var(--panel); paint-order: stroke fill; text-shadow: 0 3px 0 rgba(0,0,0,.18); }
.spop span { font-family: var(--po-text); font-weight: 900; box-shadow: 0 2px 0 rgba(0,0,0,.2); }

/* the peel meter: a striped banana bar in a wooden groove */
.meter { margin: 14px 10px 0; gap: 10px; }
.meter-ico svg { width: 24px; height: 24px; filter: drop-shadow(0 2px 0 color-mix(in srgb, var(--banana-edge) 50%, transparent)); }
.meter-track { height: 14px; background: var(--panel-2); box-shadow: inset 0 2px 3px rgba(60, 35, 5, .25), 0 0 0 2px color-mix(in srgb, var(--wood) 55%, transparent); }
.meter-fill { background: repeating-linear-gradient(-45deg, rgba(255,255,255,.22) 0 6px, transparent 6px 12px), linear-gradient(90deg, var(--banana), #FFB52E 60%, var(--accent)); box-shadow: 0 0 10px var(--po-glow); }
.meter-lbl { font-family: var(--po-display); font-weight: 400; letter-spacing: .08em; font-size: 12px; color: var(--wood); }
:root[data-theme="dark"] .meter-lbl { color: var(--wood-hi); }

/* the question: a signboard */
.qcard { margin: 16px 0 0; padding: 14px 16px 16px; background: var(--panel); border: 1.5px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line), 0 16px 28px -22px rgba(60, 35, 5, .5); position: relative; }
.qmeta { display: inline-block; font-family: var(--po-text); font-weight: 900; font-size: 11px; letter-spacing: .14em; color: var(--cta-ink); background: var(--banana); border-radius: 99px; padding: 4px 10px 3px; box-shadow: 0 2px 0 var(--banana-edge); }
.qtext { margin-top: 10px; font-family: var(--po-display); font-weight: 400; letter-spacing: .005em; font-size: clamp(25px, 6.2vw, 36px); line-height: 1.08; color: var(--text); }

/* the answer box */
.ans { gap: 10px; margin-top: 14px; }
.ans input { height: 58px; border-radius: 18px; border: 2.5px solid var(--line); background: var(--panel); font: 800 19px/1 var(--po-text); box-shadow: inset 0 2px 0 rgba(60, 35, 5, .06), 0 3px 0 var(--line); transition: border-color .15s, box-shadow .15s; }
.ans input:focus { border-color: var(--banana-edge); box-shadow: 0 0 0 4px var(--po-glow), 0 3px 0 var(--banana-edge); }
.ans .go { width: 58px; height: 58px; border-radius: 18px; background: var(--leaf); color: var(--leaf-ink); box-shadow: 0 4px 0 var(--leaf-edge), inset 0 1px 0 rgba(255,255,255,.3); transition: transform .1s, box-shadow .1s; }
.ans .go:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--leaf-edge); }
.ans .skip { height: 58px; border-radius: 18px; border: 2px solid var(--line); background: var(--panel-2); font-family: var(--po-display); font-weight: 400; letter-spacing: .03em; font-size: 16px; box-shadow: 0 3px 0 var(--line); }
.ans .skip:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.fb { font-weight: 700; margin: 8px 6px 0; }
.fb.good { font-family: var(--po-display); font-weight: 400; letter-spacing: .02em; font-size: 1.02rem; }

/* big buttons: chunky and pressable */
.hcta { font-family: var(--po-display); font-weight: 400; letter-spacing: .03em; font-size: 19px; border-radius: 18px; transition: transform .1s, box-shadow .1s, filter .2s; }
.hcta:hover { transform: none; filter: brightness(1.04); }
.startbox .hcta, .dlg .hcta, .hsum .hbtns .hcta:not(.ghost) { background: var(--cta); color: var(--cta-ink); box-shadow: 0 5px 0 var(--cta-edge), 0 14px 22px -14px rgba(120, 80, 0, .7), inset 0 1px 0 rgba(255,255,255,.5); }
.startbox .hcta:active, .dlg .hcta:active, .hsum .hbtns .hcta:not(.ghost):active { transform: translateY(4px); box-shadow: 0 1px 0 var(--cta-edge); }
.hcta.ghost { background: var(--panel); color: var(--text); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.hcta.ghost:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.fine { font-weight: 600; }

/* answer rows: a coloured spine per banana, tier chips with a little banana */
.log li, .rows li { border: 1.5px solid var(--line); border-left: 6px solid var(--tc, var(--line)); border-radius: 14px; padding: 7px 12px; box-shadow: 0 2px 0 var(--line); }
.log li:has(.t1), .rows li:has(.t1) { --tc: var(--t1); } .log li:has(.t2), .rows li:has(.t2) { --tc: var(--t2); }
.log li:has(.t3), .rows li:has(.t3) { --tc: var(--t3); } .log li:has(.t4), .rows li:has(.t4) { --tc: var(--t4); }
.log li:has(.t5), .rows li:has(.t5) { --tc: var(--t5); } .log li:has(.t6), .rows li:has(.t6) { --tc: var(--t6); }
.log li:has(.t6), .rows li:has(.t6) { background: linear-gradient(100deg, color-mix(in srgb, var(--t6) 16%, var(--panel)), var(--panel) 70%); }
.la { font-weight: 800; }
.t { font-family: var(--po-text); font-weight: 900; font-size: 11px; display: inline-flex; align-items: center; gap: 4px; box-shadow: 0 2px 0 color-mix(in srgb, var(--tc) 55%, #000 20%); }
.t:not(.t0)::before { content: ""; width: 11px; height: 11px; flex: none; background: currentColor; -webkit-mask: var(--po-ban) center / contain no-repeat; mask: var(--po-ban) center / contain no-repeat; }
.t0 { box-shadow: none; }
:root { --po-ban: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7c1 8 7 13 16 11-2.5 2.5-7 4-11 1.5C5.5 17 3 12 4 7z'/%3E%3Cpath d='M3 7.5 2.5 4.5 4.5 4z'/%3E%3C/svg%3E"); }

/* the end card: a banana-striped crate lid, the score in big banana type */
.hsum { border: 2px solid var(--line); border-radius: 26px; box-shadow: 0 6px 0 var(--line), 0 26px 50px -28px rgba(60, 35, 5, .6); background: var(--panel); position: relative; overflow: hidden; padding-top: 28px; }
.hsum::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--banana) 0 12px, var(--banana-edge) 12px 24px); }
.hsum .eyebrow { font-family: var(--po-text); font-weight: 900; color: var(--wood); }
:root[data-theme="dark"] .hsum .eyebrow { color: var(--wood-hi); }
.hsum .big { font-family: var(--po-display); font-weight: 400; letter-spacing: .01em; background: linear-gradient(180deg, #FFDB5C, #F2A114 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; filter: drop-shadow(0 3px 0 color-mix(in srgb, var(--wood-2) 60%, transparent)); }
.hsum .big small { -webkit-text-fill-color: var(--muted); font-family: var(--po-text); font-weight: 800; }
.hsum .verdict { font-family: var(--po-display); font-style: normal; font-weight: 400; letter-spacing: .01em; font-size: 22px; }
.hsum .sub { font-weight: 700; }
.hsum .hstats > * { border-radius: 14px; }
.rarest { font-weight: 600; }
.hlink { font-family: var(--po-text); font-weight: 800; }

/* every answer: same parts, friendlier type */
.every details { border: 1.5px solid var(--line); }
.every summary .eq { font-family: var(--po-display); font-weight: 400; letter-spacing: .01em; font-size: 1.05rem; }
.every .asearch { font-family: var(--po-text); font-weight: 700; border-width: 2px; border-radius: 14px; }
.every .asearch:focus { border-color: var(--banana-edge); box-shadow: 0 0 0 3px var(--po-glow); }
.every .achip { font-family: var(--po-text); font-weight: 900; }
.every .arow { font-weight: 600; }
.dispute { font-family: var(--po-text); font-weight: 800; }

/* side note, dialogs and stats */
.note { border: 1.5px solid var(--line); border-radius: 20px; box-shadow: 0 3px 0 var(--line); font-weight: 600; }
.dlg { border: 2px solid var(--line); border-radius: 26px; box-shadow: 0 8px 0 var(--line), 0 30px 60px -20px rgba(0,0,0,.5); padding-top: 26px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }   /* was overflow: hidden: on a phone the help ran past the screen with no way to reach "Let's run" */
.dlg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--banana) 0 12px, var(--banana-edge) 12px 24px); }
.dlg h2 { font-family: var(--po-display); font-weight: 400; letter-spacing: .01em; font-size: 1.9rem; }
.dlg p { font-weight: 600; }
.stats div { border: 1.5px solid var(--line); box-shadow: 0 2px 0 var(--line); }
.stats dd { font-family: var(--po-display); font-weight: 400; font-size: 1.6rem; }
.foot { font-weight: 700; }

@media (max-width: 420px) { .qcard { padding: 12px 13px 14px; } .scene-wrap { margin: 6px 6px 0; width: calc(100% - 12px); } .cd { font-size: 60px; } }
@media (prefers-reduced-motion: reduce) {
  .hicon, .ans .go, .ans input, .hcta { transition: none; }
}

/* the banana guide (How to play) and the note under a rare find */
.dlg .bananas { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 7px; }
.dlg .bananas li { display: grid; grid-template-columns: 128px 1fr; gap: 10px; align-items: start; color: var(--muted); font-weight: 600; font-size: .92rem; line-height: 1.35; }
.dlg .bananas .t { grid-area: auto; grid-column: 1; justify-self: start; margin: 0; }
.dlg .bananas li > span:not(.t) { grid-column: 2; }
@media (max-width: 420px) { .dlg .bananas li { grid-template-columns: 1fr; gap: 3px; } .dlg .bananas li > span:not(.t) { grid-column: 1; } }
.rarest small.about { display: block; margin-top: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--t6) 12%, var(--panel)); border: 1px dashed color-mix(in srgb, var(--t6) 55%, transparent); }

/* Challenge: strikes as banana hearts, room standings as little wooden tags, the lobby as a crate */
.hud .hclock.strikes { font-family: var(--po-display); font-size: 18px; letter-spacing: .08em; color: var(--bad); }
.strip-h, .rb-lbl { font-family: var(--po-text); font-weight: 900; color: var(--wood); }
:root[data-theme="dark"] .strip-h, :root[data-theme="dark"] .rb-lbl { color: var(--wood-hi); }
.rs { border: 1.5px solid var(--line); border-radius: 14px; box-shadow: 0 2px 0 var(--line); font-weight: 700; }
.rs-r { font-family: var(--po-display); font-weight: 400; color: var(--wood); }
:root[data-theme="dark"] .rs-r { color: var(--wood-hi); }
.rs.me { border-color: var(--banana-edge); box-shadow: 0 2px 0 var(--banana-edge), 0 0 0 3px var(--po-glow); }
.roombox { border: 1.5px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line); position: relative; overflow: hidden; padding-top: 18px; }
.roombox::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--leaf) 0 10px, var(--leaf-edge) 10px 20px); }
.rb-h { font-family: var(--po-display); font-weight: 400; letter-spacing: .01em; font-size: 1.35rem; }
.rb-in { border-width: 2.5px; font-family: var(--po-text); font-weight: 800; box-shadow: 0 3px 0 var(--line); }
.rb-in:focus { border-color: var(--banana-edge); box-shadow: 0 0 0 4px var(--po-glow), 0 3px 0 var(--banana-edge); }
.rb-code { font-family: var(--po-display); font-weight: 400; letter-spacing: .3em; }
.rb-big { font-family: var(--po-display); font-weight: 400; letter-spacing: .22em; font-size: 52px; color: var(--text); text-shadow: 0 3px 0 var(--line); }
.roombox .hcta:not(.ghost) { background: var(--leaf); color: var(--leaf-ink); box-shadow: 0 4px 0 var(--leaf-edge); }
.roombox .hcta:not(.ghost):active { transform: translateY(3px); box-shadow: 0 1px 0 var(--leaf-edge); }
.roombox .hcta.ghost { border-width: 2px; box-shadow: 0 3px 0 var(--line); }
.rb-members li { font-weight: 700; border: 1.5px solid var(--line); }
.rb-members li.me { border-color: var(--banana-edge); }
.modes:has(> :nth-child(3)) .mode { padding-left: 4px; padding-right: 4px; }

/* autocorrect suggestion: "Did you mean …? Press Enter to use it" */
.fb.hint { color: var(--text); font-weight: 800; }
.lede{font-style:italic;opacity:.82;line-height:1.55}
