* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #14100c; overflow: hidden; }
body { font-family: "Patrick Hand", "Comic Sans MS", "Chalkboard SE", sans-serif; color: #1d1510; user-select: none; -webkit-user-select: none; }
#stage { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; overflow: hidden; }
#c { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; }
.hidden { display: none !important; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, .vb, .big, .label, .masthead, #hud, .tag, #sizHud { font-family: "Bangers", Impact, "Arial Black", sans-serif; letter-spacing: 1px; }

/* HUD */
#hud { position: absolute; left: 0; top: 0; width: 1280px; height: 44px; background: #24405e; color: #f2d12e; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-bottom: 4px solid #1d1510; font-size: 22px; gap: 10px; }
#hud span { margin-right: 18px; }
.hud-l, .hud-r { display: flex; align-items: center; white-space: nowrap; }
.pa { flex: 1; overflow: hidden; white-space: nowrap; color: #fff; font-family: "Patrick Hand", sans-serif; font-size: 18px; letter-spacing: 0; text-align: center; }
.pa.on { color: #ffe680; }
.mini { background: #f2d12e; color: #1d1510; border: 3px solid #1d1510; border-radius: 6px; font-family: "Bangers", Impact, sans-serif; font-size: 18px; padding: 1px 10px; margin-left: 6px; }

/* Dialogue */
#dialog { position: absolute; left: 392px; top: 50px; width: 880px; height: 148px; background: #fffbea; border: 4px solid #1d1510; border-radius: 10px; box-shadow: 4px 4px 0 #1d1510; padding: 4px 10px; display: flex; flex-direction: column; }
.dhead { font-size: 22px; display: flex; gap: 10px; align-items: center; }
.tag { font-size: 15px; background: #f2d12e; border: 2px solid #1d1510; border-radius: 5px; padding: 0 6px; }
.tag.ret { background: #8fd0f0; }
#dLog { flex: 1; overflow-y: auto; font-size: 19px; line-height: 1.15; padding-right: 4px; }
#dLog p { margin: 1px 0; }
#dLog .you { color: #24405e; }
#dLog .note { color: #6a4a2a; font-style: italic; }
#dLog .bribe { color: #7a2a9a; font-weight: bold; }
#dQs { display: flex; gap: 6px; flex-wrap: wrap; min-height: 28px; }
.q { background: #24405e; color: #fff; border: 2px solid #1d1510; border-radius: 14px; font-size: 16px; padding: 1px 10px; }
.q:hover { background: #3a6a9a; }

#hint { position: absolute; left: 392px; top: 556px; width: 880px; text-align: center; font-size: 16px; color: #3a3028; pointer-events: none; }

/* Bottom bar */
#bottom { position: absolute; left: 0; top: 584px; width: 1280px; height: 136px; background: #3a3028; border-top: 4px solid #1d1510; display: flex; gap: 10px; padding: 6px 10px; }
.label { color: #f2d12e; font-size: 18px; margin-bottom: 2px; }
.kit { width: 600px; }
#tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.tool { background: #fffbea; border: 3px solid #1d1510; border-radius: 8px; font-size: 16px; padding: 2px 4px; height: 46px; line-height: 1.05; display: flex; align-items: center; gap: 4px; text-align: left; }
.tool .ic { font-size: 22px; }
.tool:hover:not(:disabled) { background: #f2d12e; }
.tool:disabled { opacity: .35; cursor: default; }
.tool.used { background: #cfc6b4; }
.tool.danger { border-color: #c0392b; background: #f8d8d0; }
.mid { width: 170px; color: #fff; }
#patience { font-size: 26px; letter-spacing: 2px; }
#carry { font-size: 15px; color: #ddd; line-height: 1.1; margin-top: 4px; }
.verdicts { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vb { border: 4px solid #1d1510; border-radius: 10px; font-size: 22px; color: #fff; box-shadow: 3px 3px 0 #1d1510; text-shadow: 2px 2px 0 #1d1510; }
.vb:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #1d1510; }
.vb:disabled { opacity: .4; cursor: default; }
.vb.small { font-size: 20px; padding: 4px 14px; }
.green { background: #3a9a4a; } .orange { background: #e0802a; } .red { background: #c0392b; } .purple { background: #8a3ab0; }
.green:hover:not(:disabled) { background: #4ab45a; } .orange:hover:not(:disabled) { background: #f0902a; } .red:hover:not(:disabled) { background: #d84a3a; } .purple:hover { background: #a04ac8; }

/* Write-up slip */
#slip { position: absolute; left: 470px; top: 210px; width: 340px; background: #f8c8d8; border: 4px solid #1d1510; box-shadow: 5px 5px 0 #1d1510; padding: 10px 14px; font-size: 19px; transform: rotate(-3deg); animation: slipIn .35s ease-out; pointer-events: none; }
#slip.good { background: #d0f0c0; transform: rotate(2deg); }
#slip h3 { margin: 0 0 4px; font-size: 26px; }
@keyframes slipIn { from { transform: translateY(-60px) rotate(-12deg); opacity: 0; } }

/* Sizzle HUD */
#sizHud { position: absolute; left: 0; top: 0; width: 1280px; height: 54px; display: flex; justify-content: space-between; align-items: center; padding: 0 14px; background: #24405e; border-bottom: 4px solid #1d1510; color: #f2d12e; font-size: 26px; }
#sizHud span { margin-right: 22px; }

/* Screens */
.screen { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 16, 12, .55); }
#title { background: transparent; align-items: flex-start; justify-content: flex-start; }
.title-wrap { margin: 40px 0 0 70px; width: 600px; }
h1 { font-size: 104px; margin: 0; line-height: .9; color: #f2d12e; -webkit-text-stroke: 4px #1d1510; text-shadow: 6px 6px 0 #1d1510; transform: rotate(-3deg); }
h1 small { font-size: 62px; color: #fff; }
.tagline { font-size: 26px; color: #fff; text-shadow: 2px 2px 0 #1d1510; margin: 16px 0 18px; }
.menu { display: flex; flex-direction: column; gap: 10px; width: 340px; }
.menu button, .paper button { background: #f2d12e; border: 4px solid #1d1510; border-radius: 10px; font-size: 22px; padding: 6px; box-shadow: 4px 4px 0 #1d1510; font-family: "Bangers", Impact, sans-serif; letter-spacing: 1px; }
.menu button:hover, .paper button:hover { background: #ffe14e; }
button.big { font-size: 28px; }
.warn { font-size: 16px; color: #f2e0c0; text-shadow: 1px 1px 0 #000; margin-top: 18px; width: 520px; }

.paper { background: #fffbea; border: 5px solid #1d1510; border-radius: 6px; box-shadow: 8px 8px 0 #1d1510; padding: 18px 28px; width: 760px; max-height: 660px; font-size: 21px; transform: rotate(-.6deg); }
.paper.scroll { overflow-y: auto; }
.paper h2 { font-size: 44px; margin: 0 0 6px; }
.paper h3 { font-size: 26px; margin: 4px 0; }
.paper ul, .paper ol { margin: 6px 0 12px; padding-left: 26px; }
.paper li { margin-bottom: 4px; }
.paper .small { font-size: 15px; }
.paper button { margin-top: 8px; padding: 6px 26px; }
.small-paper { width: 440px; }
.small-paper label { display: flex; justify-content: space-between; margin-top: 10px; }
.memo { background: #fdf6d8; overflow-y: auto; padding-top: 12px; }
#mRules li.old { font-size: 17px; color: #5a4a3a; margin-bottom: 1px; }
.memo p { margin: 6px 0; }
#mGo { position: sticky; bottom: 0; }
.memo-head { font-family: "Bangers", Impact, sans-serif; font-size: 20px; border-bottom: 3px dashed #1d1510; padding-bottom: 4px; margin-bottom: 4px; }
.memo-head span { font-size: 15px; }
#mRules li.new { background: #ffe680; font-weight: bold; }
.ps { font-style: italic; color: #6a4a2a; }
.news { background: #efe8d6; font-family: Georgia, "Times New Roman", serif; }
.masthead { font-size: 54px; text-align: center; border-bottom: 4px double #1d1510; }
.dateline { text-align: center; font-size: 15px; margin-bottom: 8px; }
.headline { font-family: "Bangers", Impact, sans-serif; font-size: 30px; line-height: 1.05; margin: 10px 0; letter-spacing: .5px; }
.headline.small { font-size: 22px; color: #3a3028; }
.rp { display: flex; gap: 10px; align-items: baseline; border-bottom: 2px dashed #bfb39a; padding: 4px 0; }
.rp .mark { font-family: "Bangers", Impact, sans-serif; font-size: 22px; min-width: 34px; }
.rp .ok { color: #2a8a3a; } .rp .bad { color: #c0392b; }
.rp .who { font-weight: bold; min-width: 140px; }
.rp .wu { color: #c0392b; font-size: 18px; display: block; }
.ledger .row { display: flex; justify-content: space-between; font-size: 22px; }
.ledger .row.neg { color: #c0392b; }
.ledger label.row { cursor: pointer; }
.ledger label.row.dis { opacity: .5; cursor: default; }
.total { font-family: "Bangers", Impact, sans-serif; font-size: 32px; border-top: 3px solid #1d1510; margin-top: 6px; padding-top: 4px; display: flex; justify-content: space-between; }

#szNah { position: absolute; left: 848px; top: 414px; font-size: 30px; padding: 8px 24px; z-index: 3; }
#mRules li.special, #rList li.special { list-style: none; margin-left: -22px; background: #ffe14e; border: 3px solid #1d1510; padding: 4px 8px; margin-bottom: 6px; font-weight: bold; }
.tend { font-size: 20px; color: #24405e; margin: 6px 0 0; }
.grade { font-size: 22px; background: #fff3c0; border: 3px solid #1d1510; padding: 8px 12px; }
#mRules { padding-bottom: 56px; }

.yest { background: #fde0d8; border-left: 6px solid #c0392b; padding: 4px 10px; font-size: 18px; margin: 6px 0; }
.yest:empty, .tease:empty { display: none; }
.paper ul.tease { list-style: none; padding-left: 0; margin: 4px 0 8px; font-size: 18px; color: #24405e; font-weight: bold; }
.q.craig { background: #e8b020; color: #1d1510; }
