body { display: flex; flex-direction: column; min-height: 100dvh; font-size: 20px; transition: background-color .3s; }
body::after { /* faint watermark logo, like a chalkboard ghost */
  content: "Ministry"; position: fixed; left: 50%; top: 58%; translate: -50% -50%; rotate: -8deg;
  font-family: var(--chunky); font-size: min(24vw, 200px); line-height: 1; color: rgba(0,0,0,.12);
  pointer-events: none; z-index: 0; white-space: nowrap;
}
#bar { position: sticky; top: 0; z-index: 5; background: var(--bitumen); border-bottom: 3px solid var(--gold); color: var(--gold); text-align: center; font-size: 22px; text-transform: uppercase; padding: 4px 12px 0; display: flex; justify-content: center; gap: 12px; }
#bar:empty { display: none; }
#bar .pts { color: var(--cream); }
#bar .secs { color: var(--paper); min-width: 2ch; }
#app { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 14px 16px 18px; width: 100%; max-width: 760px; margin: 0 auto; }
.timerbar { margin: -14px -16px 0; }

h1 { margin: 0; font-weight: 400; font-size: 34px; text-transform: uppercase; text-align: center; line-height: 1; }
h2 { margin: 0; font-weight: 400; font-size: 24px; text-transform: uppercase; text-align: center; opacity: .9; }
.muted { opacity: .75; text-transform: uppercase; text-align: center; }
.center { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.logo { font-family: var(--chunky); font-size: 76px; line-height: .85; text-shadow: 0 .05em 0 var(--clay), 0 .1em 0 rgba(0,0,0,.25); }
.logo span { color: var(--gold); text-shadow: 0 .05em 0 #9a6a14; }
.logo small { display: block; font-family: var(--display); font-size: .32em; letter-spacing: .08em; color: var(--gold); text-shadow: none; }

label { display: block; text-transform: uppercase; font-size: 18px; margin: 0 0 4px; opacity: .85; }
.field { width: 100%; border: 0; border-radius: 6px 10px 7px 11px; background: var(--sand) var(--mottle); box-shadow: inset 0 3px 0 rgba(0,0,0,.15); color: var(--ink); font-size: 30px; padding: 10px 12px 4px; text-transform: uppercase; outline: none; }
.field::placeholder { color: rgba(0,0,0,.35); }
.field:focus { box-shadow: inset 0 3px 0 rgba(0,0,0,.15), 0 0 0 3px var(--gold); }
.field.code { text-align: center; letter-spacing: .3em; font-size: 40px; }
.check { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: 20px; }
.check input { width: 22px; height: 22px; accent-color: var(--go); }
.err { color: var(--butter); min-height: 1.1em; text-transform: uppercase; text-align: center; }
.wide { width: 100%; font-size: 32px; padding: .4em; }

/* prompt choice cards */
.offers { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.offer { position: relative; width: min(100%, 330px); min-height: 72px; background: var(--bitumen) linear-gradient(170deg, rgba(255,235,210,.08), transparent 50%); color: var(--cream); border: 0; border-radius: 3px 9px 4px 8px / 8px 3px 9px 4px; box-shadow: inset 0 -6px 10px rgba(0,0,0,.45), 0 4px 0 rgba(0,0,0,.35) !important; font-size: 32px; text-transform: uppercase; padding: 14px 18px 8px; box-shadow: 0 4px 0 rgba(0,0,0,.3); }
.offer .tag { position: absolute; left: -8px; top: -12px; font-size: 18px; }
.offer:active { transform: scale(.97); }
.offer.fresh { animation: slideUp .25s both; }

/* sentence builder */
.sentcard { position: relative; isolation: isolate; color: var(--ink); padding: 18px 14px 12px; text-align: center; font-size: 34px; text-transform: uppercase; line-height: 1.25; min-height: 96px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: .25em; }
.sentcard .blank { border-bottom: 4px solid; padding: 0 2px; cursor: pointer; }
.sentcard .blank.empty { opacity: .9; }
.sentcard .fx { border-bottom: 4px solid #aaa; cursor: pointer; padding: 0 2px; }
.cols { display: grid; gap: 10px; }
.col { border: 4px solid; border-radius: 4px; background: #3a2418; max-height: 42dvh; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 0; scrollbar-width: thin; }
.tile { position: relative; background: var(--bitumen) linear-gradient(170deg, rgba(255,235,210,.07), transparent 50%); border-radius: 3px 8px 4px 9px / 8px 3px 9px 4px; box-shadow: inset 0 -5px 8px rgba(0,0,0,.45), inset 0 2px 4px rgba(255,230,200,.06); color: var(--cream); border: 0; font-size: 26px; text-transform: uppercase; padding: 8px 6px 4px; min-height: 48px; line-height: 1; }
.tile.sel { color: var(--ink); }
.tile.sel::before { content: "✕"; position: absolute; left: 6px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; border-radius: 50%; background: var(--tile); color: var(--paper); font-family: system-ui; font-size: 13px; display: grid; place-items: center; }
.col.dim .tile:not(.sel) { opacity: .8; }
.buildrow { display: flex; gap: 10px; }
.buildrow .btn { font-size: 30px; }
.buildrow .go { flex: 1; }
.buildrow .skip { flex: 0 0 auto; padding: 0 16px; font-size: 24px; background: var(--navy-dk); }
.audbanner { background: rgba(0,0,0,.22); border-radius: 6px 10px 7px 9px; padding: 8px 12px; text-align: center; font-size: 17px; line-height: 1.3; text-transform: none; }
.audbanner b { display: block; font-size: 20px; text-transform: uppercase; color: var(--gold); }
.modebtn { font-size: 22px !important; }
.chips { display: flex; flex-wrap: wrap; gap: 6px 8px; justify-content: center; }
.chip { font-size: 22px; padding: 3px 10px 0; --r: 0deg; transform: rotate(var(--r)); }
.chip.fresh { animation: pop .3s both; }
.chip small { font-size: .65em; opacity: .7; margin-right: 4px; }

/* guessing */
.feed { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.feed .strip { font-size: 24px; text-align: center; }
.feed .strip.latest { font-size: 32px; transform: rotate(-2deg); }
.feed .strip.latest.fresh { animation: pop .35s both; --r: -2deg; }
.guessrow { display: flex; gap: 10px; align-items: stretch; }
.guessrow .btn { background: var(--navy-dk); font-size: 28px; }
.solved { background: var(--gold) var(--mottle); border-radius: 4px 9px 5px 8px; color: var(--ink); padding: 14px; text-align: center; font-size: 30px; text-transform: uppercase; transform: rotate(-2deg); }

.answer { font-size: 46px; transform: rotate(-3deg); }
.rating { display: flex; gap: 8px; width: 100%; }
.rating .btn { flex: 1; font-size: 22px; padding: .45em .2em .3em; }

.ranks { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ranks .strip { display: flex; align-items: center; gap: 10px; font-size: 30px; padding: 4px 12px 0; }
.ranks .strip b { margin-left: auto; font-weight: 400; }
.ranks .strip.me { outline: 3px solid var(--butter); }

#toast { position: fixed; left: 50%; bottom: 80px; translate: -50% 0; background: var(--coral-hot); color: #fff; text-transform: uppercase; font-size: 22px; padding: 8px 16px 4px; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 10; white-space: nowrap; }
#toast.show { opacity: 1; }

/* the sentence tablet: a hewn sandstone slab (same surface + filter as .strip) */
.sentcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: 12px 20px 14px 22px / 20px 12px 22px 14px;
  background: var(--sand);
  background-image: var(--mottle), var(--pits), var(--noise), radial-gradient(120% 140% at 30% 20%, rgba(255,245,225,.25), transparent 60%);
  box-shadow: inset 0 -8px 12px rgba(40,20,10,.2), inset 0 0 0 1px rgba(40,20,10,.2);
  filter: url(#hew-b) drop-shadow(0 6px 0 rgba(28,16,9,.5));
}

/* chisel: lets one blank of one sentence take a second word */
.btn.chisel { font-size: 22px !important; background-color: #6b5a44; }
.btn.chisel.on { background-color: var(--gold); color: var(--ink); animation: wiggle .35s 2; }
.col.open { box-shadow: 0 0 0 3px var(--gold), 0 0 18px rgba(227,181,77,.6); }
.sentcard .blank.chiseled { border-bottom-style: double; border-bottom-width: 7px; }

/* someone else already locked this prompt in */
.offer.taken { opacity: .45; text-decoration: line-through; }
.offer .takenmark { position: absolute; right: -6px; top: -10px; font-size: 16px; background: var(--coral-hot); color: #fff; padding: 2px 8px 0; border-radius: 3px; transform: rotate(6deg); text-decoration: none; }

.invite { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; font-size: 22px; text-transform: uppercase; }
.invite b { color: var(--gold); letter-spacing: .08em; font-size: 28px; font-weight: 400; }
.invite .btn { font-size: 20px; padding: .3em .9em .2em; }

/* ================= The Ministry ================= */
.mlogo { text-align: center; font-size: 54px; line-height: .9; }
.mlogo small { font-size: .4em; margin-bottom: 4px; }
.mlogo span { display: block; }
.small { font-size: 16px; }
.muted.small { opacity: .65; }

/* role cards: a clay tablet per job */
.rcards { display: flex; flex-direction: column; gap: 14px; }
.rcard { position: relative; display: block; width: 100%; text-align: left; border: 0; color: var(--ink); text-transform: none;
  background: var(--sand) var(--mottle); border-radius: 10px 16px 12px 18px / 16px 10px 18px 12px; padding: 14px 16px 12px;
  box-shadow: inset 0 -6px 10px rgba(40,20,10,.18), 0 5px 0 rgba(28,16,9,.5); font-family: system-ui, sans-serif; font-size: 17px; line-height: 1.3; }
button.rcard:active { transform: scale(.98); }
button.rcard:disabled { opacity: .6; }
.rcard .rname { font-family: var(--display); font-size: 34px; text-transform: uppercase; line-height: 1; color: #6b2f17; }
.rcard .rflavor { font-style: italic; opacity: .75; margin: 2px 0 6px; }
.rcard .rrule { font-weight: 700; font-size: 19px; margin: 4px 0; }
.rcard .rfall { font-size: 15px; opacity: .85; }
.rcard .rfall b { font-weight: 700; }
.rcard .rex { margin-top: 8px; padding: 7px 9px; border-radius: 6px; background: rgba(90,50,20,.12); font-size: 14px; display: grid; gap: 2px; }
.rcard .rex span:first-child { opacity: .7; text-decoration: line-through; text-decoration-color: rgba(120,40,20,.5); }
.rcard .rex i { font-style: normal; opacity: .5; }
.rcard .rtag { position: absolute; right: 10px; top: -10px; font-family: var(--display); text-transform: uppercase; font-size: 16px; padding: 2px 10px 0; border-radius: 4px; background: var(--coral-hot); color: #fff; transform: rotate(4deg); }
.rcard .rtag.rare { background: var(--gold); color: var(--ink); }
.rcard.uncommon { background-color: #e6c690; }
.rcard.rare { background-color: #e3b54d; }
.rcard.chosen { outline: 4px solid var(--gold); outline-offset: 3px; }
.rcard.hidden-role { background-color: #3a2a3c; color: var(--cream); }
.rcard.hidden-role .rname { color: #ff9b84; }
.rcard .rcover { margin-top: 10px; padding: 10px 12px 8px; border-radius: 8px; background: var(--sand) var(--mottle); color: var(--ink); }
.rcard .rcover .rname { font-size: 26px; color: #6b2f17; }
.rcard .rcovhead { font-family: var(--display); text-transform: uppercase; font-size: 15px; opacity: .75; }
.infilbanner { background: #3a2a3c; border: 3px solid var(--coral-hot); border-radius: 8px; padding: 10px 12px; text-align: center; font-family: system-ui, sans-serif; font-size: 16px; line-height: 1.3; }
.infilbanner b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; color: #ff9b84; }
body.infil #bar { border-bottom-color: var(--coral-hot); }

/* the reminder of your job, at the top of every writing screen */
.jobstrip { display: block; width: 100%; text-align: left; border: 0; border-radius: 6px; padding: 8px 12px 8px; background: rgba(0,0,0,.28); color: var(--cream); font-family: system-ui, sans-serif; font-size: 16px; line-height: 1.3; }
.jobstrip .jsrow { display: flex; align-items: baseline; gap: 8px; }
.jobstrip .jsrow b { font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; color: var(--gold); }
.jobstrip .more { margin-left: auto; font-size: 12px; opacity: .6; text-transform: uppercase; }
.jobstrip.infil .jsrow b { color: #ff9b84; }
.jobstrip .jsfull { display: none; margin-top: 8px; }
.jobstrip.open .jsfull { display: block; }
.jobstrip.open .jsrule, .jobstrip.open .jsfall { display: none; }

.stephead { display: flex; justify-content: space-between; text-transform: uppercase; font-size: 20px; opacity: .8; margin-top: 4px; }
/* a clay tablet holding someone's words */
.tablet { position: relative; isolation: isolate; color: var(--ink); padding: 16px 16px 12px; text-align: center; font-family: system-ui, sans-serif; font-weight: 600; font-size: 22px; line-height: 1.3; word-break: break-word; }
.tablet::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 12px 20px 14px 22px / 20px 12px 22px 14px; background: #d9b98a; background-image: var(--mottle), var(--pits), var(--noise);
  box-shadow: inset 0 -8px 12px rgba(40,20,10,.2), inset 0 0 0 1px rgba(40,20,10,.2); filter: url(#hew-b) drop-shadow(0 5px 0 rgba(28,16,9,.5)); }
.writefield { width: 100%; border: 0; border-radius: 8px 12px 9px 13px; background: var(--cream) var(--mottle); color: var(--ink); box-shadow: inset 0 3px 0 rgba(0,0,0,.15);
  font: 600 21px/1.35 system-ui, sans-serif; padding: 12px; resize: vertical; outline: none; }
.writefield:focus { box-shadow: inset 0 3px 0 rgba(0,0,0,.15), 0 0 0 3px var(--gold); }
.count { text-align: right; font-size: 15px; opacity: .6; margin-top: -8px; }
.filed { font-family: system-ui, sans-serif; font-size: 20px; text-transform: none; text-align: center; opacity: .9; max-width: 90%; }
.stamp { font-size: 46px; transform: rotate(-5deg); }

/* reveal */
.byline { display: flex; align-items: center; gap: 12px; text-align: left; }
.byline b { display: block; font-size: 30px; font-weight: 400; text-transform: uppercase; line-height: 1; }
.byline span { text-transform: uppercase; color: var(--gold); font-size: 20px; }
.rulecheck { font-family: system-ui, sans-serif; font-size: 16px; opacity: .85; max-width: 95%; }
.ballot { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.stamps { display: flex; gap: 10px; }
.stamps .btn { flex: 1; font-size: 30px; padding: .5em .2em .35em; }
.stamps .btn.on { outline: 4px solid var(--cream); outline-offset: 2px; transform: rotate(-2deg) scale(1.03); }
.stamps .btn.off { opacity: .45; }
.tierstamp { font-size: 30px; transform: rotate(-3deg); text-align: center; }
.answer { text-align: center; }

/* accuse */
.suspects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.suspect { display: flex; align-items: center; gap: 10px; border: 0; border-radius: 6px 10px 7px 11px; padding: 8px 10px 6px; background: var(--bitumen); color: var(--cream); font-size: 24px; text-transform: uppercase; box-shadow: 0 4px 0 rgba(0,0,0,.35); overflow: hidden; }
.suspect span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suspect.nobody { grid-column: 1 / -1; justify-content: center; background: var(--lapis-dk); }
.suspect.chosen { background: var(--coral-hot); color: #fff; outline: 3px solid var(--cream); }
.unmaskrow { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: rgba(0,0,0,.2); border-radius: 8px; padding: 8px 10px; }
.unmaskrow b { display: block; font-weight: 400; font-size: 26px; text-transform: uppercase; }
.unmaskrow span { font-size: 18px; text-transform: uppercase; opacity: .85; }
.unmaskrow .strip { margin-left: auto; font-size: 22px; }
.team { font-size: 22px; text-transform: uppercase; color: var(--gold); text-align: center; }
.tag.pack-proverb { background: #c9466e; } .tag.pack-idiom { background: #7a52b8; } .tag.pack-quote { background: #2f7fc9; } .tag.pack-movie { background: #d9822a; }
.offer { text-transform: none; font-family: system-ui, sans-serif; font-weight: 600; font-size: 22px; line-height: 1.25; }

/* ================= Ministry house style (phone) ================= */
body::after { content: "COO"; font-family: var(--slab); color: rgba(0,0,0,.14); font-size: min(30vw, 220px); }
h1 { font-family: var(--slab); font-size: 30px; letter-spacing: .01em; line-height: 1.05; text-shadow: 0 3px 0 rgba(0,0,0,.3); }
h2 { font-family: var(--typewriter); font-size: 20px; letter-spacing: .04em; }
.muted { font-family: var(--typewriter); text-transform: none; font-size: 17px; line-height: 1.3; }
label { font-family: var(--typewriter); font-size: 15px; letter-spacing: .08em; }
#bar { font-family: var(--typewriter); border-bottom-color: var(--brass); background: #15110d; font-size: 18px; padding: 6px 12px 4px; }
#bar .secs { font-family: var(--slab); color: var(--legal); }
.timerbar > i { background: var(--brass); }
.stephead { font-family: var(--typewriter); font-size: 15px; letter-spacing: .1em; opacity: .75; }
.mlogo { font-size: 46px; }
.field { font-family: var(--typed); font-weight: 700; text-transform: none; background: var(--paper) var(--fibre); }
.field.code { font-family: var(--slab); text-transform: uppercase; }
.rcards { gap: 18px; }

/* the reminder slip */
.jobstrip.slip { display: block; width: 100%; border: 0; font-size: 15px; padding: 9px 12px 9px 30px; }
.jobstrip .jsrow { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.jobstrip .jsrow .form { width: 100%; }
.jobstrip .jsrow b { font-size: 21px; color: #5a1f14; text-transform: uppercase; }
.jobstrip.infil .jsrow b { color: var(--carbon); }
.jobstrip .more { margin-left: auto; font-size: 11px; opacity: .55; letter-spacing: .08em; text-transform: uppercase; }
.jobstrip .jsrule { font-family: var(--typed); font-weight: 700; font-size: 15px; margin-top: 2px; }
.jobstrip .jsrule em { font-style: normal; font-family: var(--typewriter); font-weight: 400; opacity: .7; }
.jobstrip.open { clip-path: none; }
.jobstrip .jsfull .warrant { margin-top: 8px; }

/* tablets */
.tabwrap { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
.tabwrap .tabslip { font-size: 15px; z-index: 2; margin: 0 26px -12px 10px; transform: rotate(-1.2deg); }
.tabwrap .claytab { min-height: 110px; padding: 26px 20px 18px; font-size: 21px; line-height: 1.3; }
.tabwrap .claytab.small { min-height: 80px; font-size: 18px; }
.center .tabwrap { max-width: 100%; }
.writefield { font-family: var(--typed); font-weight: 700; background: var(--paper) var(--fibre), var(--rules); background-blend-mode: multiply; line-height: 28px; }
.count { font-family: var(--typewriter); }
.bigstamp { font-size: 54px; }
.rstamp.tierstamp { font-size: 24px; white-space: normal; text-align: center; max-width: 90%; }

/* phrase choices: typed index cards */
.offer { background: var(--paper) var(--fibre), var(--rules); color: var(--type-ink); font-family: var(--typed); font-weight: 700; border-radius: 2px;
  box-shadow: 0 4px 0 rgba(0,0,0,.3), 0 8px 16px rgba(0,0,0,.2) !important; padding: 18px 16px 12px; text-align: left; width: 100%; }
.offer .packstamp { position: absolute; right: 8px; top: -10px; font-size: 13px; background: rgba(244,236,214,.9); mix-blend-mode: normal; }

/* the reveal */
.byline b { font-family: var(--slab); font-size: 26px; }
.byline span { font-family: var(--typewriter); color: var(--legal); font-size: 16px; text-transform: none; }
.rulecheck { font-family: var(--typed); font-size: 15px; }
.rulecheck em { font-style: normal; font-family: var(--typewriter); opacity: .7; }
.stamps { gap: 12px; }
.stampbtn { flex: 1; border: 0; padding: 18px 6px 16px; background: var(--paper) var(--fibre); border-radius: 3px; box-shadow: 0 4px 0 rgba(0,0,0,.35); }
.stampbtn .rstamp { font-size: 22px; }
.stampbtn.on { outline: 4px solid var(--brass); outline-offset: 2px; }
.stampbtn.off { opacity: .4; }
.stampbtn:active { transform: translateY(2px); }

/* accuse */
.suspect { font-family: var(--typewriter); background: var(--paper) var(--fibre); color: var(--type-ink); border-radius: 2px; font-size: 20px; }
.suspect.chosen { background: #f1c9bd; color: var(--type-ink); outline: 3px solid var(--red-ink); }
.suspect.nobody { background: var(--carbon-lt) var(--fibre); }
.unmaskrow { background: rgba(0,0,0,.25); font-family: var(--typewriter); }
.unmaskrow b { font-family: var(--slab); font-size: 22px; }
.team { font-family: var(--typewriter); color: var(--legal); font-size: 18px; letter-spacing: .03em; }
.ranks .strip { font-family: var(--typewriter); }
.ranks .strip b { font-family: var(--slab); }
.infilbanner { background: #2f3b63 var(--fibre); border-color: var(--red-ink); font-family: var(--typed); }
.infilbanner b { font-family: var(--slab); color: #ffb3a3; font-size: 26px; }
/* fixes: paper backgrounds (a colour can only go on the last background layer) */
.jobstrip.slip { background: var(--paper) var(--fibre); color: var(--type-ink); }
.writefield, .offer { background-color: var(--paper); background-image: var(--fibre), var(--rules); color: var(--type-ink); }

/* ================= Fowl Language (phone) ================= */
.fowl-logo { align-self: center; }
.writebox { display: flex; flex-direction: column; gap: 14px; }
.airspace.short { height: 70px; }
.scroll .sheet-in label { color: #5a3a1c; opacity: .8; }
.scroll .count { color: #5a3a1c; }
.scroll .check { color: #3a2414; text-transform: none; font-family: var(--typewriter); font-size: 16px; }
.scroll .muted.small { color: #5a3a1c; }
.scroll.small .msgtext { font-size: 18px; }
.center .scroll { max-width: 100%; }

/* nothing may widen the page: a scroll shoved off to the right would make phones zoom out mid-animation */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }

.jobstrip .jsfall { font-family: var(--typed); font-size: 13px; margin-top: 3px; opacity: .8; }
.jobstrip .jsfall em { font-style: normal; font-family: var(--typewriter); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }

/* ---------- special desks ---------- */
.orderslip { display: block; margin: 0 0 10px; padding: 10px 14px; text-align: left; }
.orderslip .form { display: block; font-family: var(--typewriter); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.orderslip b { font-family: var(--typed); font-size: 17px; }
.toolhelp { font-family: var(--typewriter); font-size: 13px; color: #5a3d1c; margin: 6px 0; }
.count.over { color: #b3261e; font-weight: 700; }
.btn.blocked { filter: grayscale(.7) brightness(.85); }
.punctkeys { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.pkey { min-width: 34px; height: 36px; border-radius: 6px; border: 1px solid rgba(90,60,20,.45); background: #fff8e6; font: 700 20px var(--typed); color: #2c1a0c; }
.redactor, .tiles { display: flex; flex-wrap: wrap; gap: 7px; padding: 6px 0; }
.rword { padding: 6px 9px; border-radius: 5px; border: 1px solid rgba(90,60,20,.4); background: #fff8e6; font-family: var(--hand); font-size: 20px; color: #2c1a0c; }
.rword.on { background: #17110c; border-color: #17110c; }
.rword.pre { border: none; background: none; padding: 6px 2px; font-family: var(--hand); font-size: 20px; }
.wtile { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 7px 8px 7px 11px; border-radius: 6px; background: #fff8e6;
  border: 1px solid rgba(90,60,20,.45); box-shadow: 0 2px 0 rgba(90,60,20,.35); font-family: var(--hand); font-size: 20px; color: #2c1a0c;
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.wtile .tx { width: 22px; height: 22px; padding: 0; border: none; border-radius: 50%; background: rgba(179,38,30,.12); color: #b3261e; font: 700 15px/22px sans-serif; }
.wtile.lifting { opacity: .25; }
.wtile.ghost { position: fixed; z-index: 90; pointer-events: none; transform: rotate(-3deg) scale(1.08); box-shadow: 0 8px 14px rgba(0,0,0,.3); }
.tilebin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; padding-top: 6px; border-top: 1.5px dashed rgba(90,60,20,.35); }
.binlabel { font-family: var(--typewriter); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.wtile.binned { padding: 4px 9px; font-size: 16px; text-decoration: line-through; opacity: .7; cursor: pointer; box-shadow: none; }
.stamprow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.stamptool { padding: 4px 8px; border: 2px solid #b3261e; border-radius: 4px; background: transparent; color: #b3261e; font: 12px var(--chunky); letter-spacing: .06em; transform: rotate(-2deg); }
.warrant .wwhen { font-family: var(--typed); font-size: 14px; margin-top: 6px; text-align: left; }
.warrant .wwhen em { font-style: normal; font-family: var(--typewriter); font-size: 12px; opacity: .75; }
.warrant .wlimit { font-family: var(--typewriter); font-size: 12px; margin-top: 4px; opacity: .8; }
.orderslip { padding-left: 26px; }
.slip.notice { font-family: var(--typewriter); font-size: 14px; line-height: 1.35; text-align: left; padding: 12px 14px 12px 26px; margin-bottom: 8px; }
.grades { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gradebtn { padding: 6px 4px; border: none; background: none; }
.gradebtn .rstamp { font-size: 17px; }
.gradebtn.off { opacity: .4; }
.gradebtn.on .rstamp { transform: rotate(var(--tilt)) scale(1.08); }
.scroll.small .msgtext { font-size: 19px; }
.revintro { font-family: var(--typewriter); font-size: 14px; line-height: 1.35; color: var(--legal, #f2e08a); opacity: .9; text-align: center; margin: 4px 6px 8px; }

/* join screen: a bigger, centred title with no pigeon, a proper drop shadow and no overlap.
   ministry.css switches text shadows off everywhere with !important, so the ones we want here need it too. */
.center .fowl-logo { font-size: min(18vw, 96px) !important; }
.center .fowl-logo .fl-bird { display: none; }
.center .fowl-logo .fl-words { align-items: center; text-align: center; }
.center .fowl-logo .fl-title { line-height: .95; }
.center .fowl-logo .fl-title span { text-shadow: 0 .04em 0 var(--clay, #b56a45), 0 .08em 0 #6e3a20, 0 .12em .1em rgba(0,0,0,.4), 0 .2em .35em rgba(0,0,0,.35) !important; }
.center .fowl-logo .fl-title .fl-lang { text-shadow: 0 .04em 0 #9a6a14, 0 .08em 0 #5e3f0a, 0 .12em .1em rgba(0,0,0,.4), 0 .2em .35em rgba(0,0,0,.35) !important; }
.center .fowl-logo .fl-sub { margin-top: .9em; font-size: .17em; max-width: 22em; text-wrap: balance; text-shadow: 0 2px 0 rgba(0,0,0,.5), 0 0 .6em rgba(0,0,0,.55) !important; }
form.center label { opacity: 1; text-shadow: 0 2px 0 rgba(0,0,0,.45), 0 0 .5em rgba(0,0,0,.5) !important; }
