#app .awning h1, #game-title-bar h1 {
	font-family: var(--display);
	color: var(--ink);
	background: var(--paper)
}
.ch-arm, .ch-forearm {
	transform-box: fill-box
}
.b-icon .ic, .badge .b-icon .ic, .bubble li svg, .star-line .ic {
	width: 26px;
	height: 26px
}
.bubble, .tray {
	position: relative
}
:root {

--body:'Nunito', Arial, 'Helvetica Neue', sans-serif;
--awn-stripe:#FFE069;
--awn-gap:#FFFFFF;
--awn-rail:#FBCB45;
--awn-edge:#E4B25A;
--awn-band:30px;
--awn-sw:26px;
--awn-shadow:0 5px 5px -4px rgba(122,86,28,.28)
}
#app .awning h1, #game-title-bar h1 {
	font-size: clamp(20px, 5.6vw, 28px);
	margin: 0
}
#app, #brandSlot {
	max-width: var(--app-max, 520px)
}
#app .awning h1, .awning h1 {
	box-shadow: 0 4px 0 var(--wood)
}
.card h3, .drawer h3, .r-amt .r-label, .sum-stat .s-lab {
	text-transform: uppercase
}
#confetti, .denom-btn .d-label, .denom-btn svg, .drag-ghost, .tray-empty-hint, .tray:before {
	pointer-events: none;
	pointer-events: none
}
.fs-btn, button {
	cursor: pointer
}
.timer-track, body.maximized {
	overflow: hidden
}
body.maximized #scene-game.active, body.maximized #scene-menu.active, body.maximized .scene.active {
	max-width: var(--fs-max);
	margin-left: auto;
	margin-right: auto
}
:root {
--radius:18px;
--app-max:520px;
--display:'Baloo 2', 'Arial Black', Arial, sans-serif
}
#game-title-bar h1 {
	border: 4px solid var(--wood);
	display: inline-flex;
	align-items: center
}
[tabindex]:focus-visible, button:focus-visible {
outline:3px solid var(--navy);
outline-offset:2px
}
.r-amt .r-value, .sum-stat .s-num, strong {
	font-weight: 800
}
.role-tag, h1 {
	font-weight: 600
}
#app .awning h1 .ic, .awning h1 .ic {
	width: 1.05em;
	height: 1.05em;
	vertical-align: -.12em;
	color: var(--wood)
}
.badge-shelf h3 .ic, .chip-stars .ic, .ic-star, .mode-standard .mc-emoji-wrap .ic, [data-mode=standard] .mc-emoji-wrap .ic {
	color: var(--gold)
}
.bubble li .i-price, .mode-card .mc-best, .mode-learner .mc-emoji-wrap .ic, [data-mode=learner] .mc-emoji-wrap .ic {
	color: var(--leaf-deep)
}
.chip-streak, .chip-streak .ic, .mode-entrepreneur .mc-emoji-wrap .ic, [data-mode=entrepreneur] .mc-emoji-wrap .ic {
	color: var(--berry-dark)
}
.badge, .menu-blurb, .mode-card p, .role-tag {
	color: var(--ink-soft)
}
.star-line .ic {
	color: var(--gold)
}
#app .awning, .awning {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 -12px 12px;
	padding: 14px 10px 18px;
	background: repeating-linear-gradient(90deg, var(--sun) 0 34px, var(--paper) 34px 68px);
	border-bottom: 6px solid var(--gold);
	border-radius: 0 0 22px 22px;
	box-shadow: 0 4px 0 rgba(51,51,51,.1)
}
#app .awning h1 {
	border: 4px solid var(--wood);
	border-radius: 14px;
	padding: 6px 16px;
	letter-spacing: .5px
}
.btn-berry {
	background: var(--berry-dark);
	box-shadow: 0 5px 0 #8e2323
}
.badge-shelf, .mode-card {
	background: var(--paper)
}
.btn-berry:active {
	box-shadow: 0 1px 0 #8e2323
}
.btn-small {
	font-size: 14px;
	padding: 9px 14px;
	min-height: 44px
}
.mode-card {
	display: flex;
	align-items: center;
	border: 4px solid transparent;
	border-radius: var(--radius)
}
.mode-card .mc-emoji-wrap {
	flex: 0 0 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px
}
.badge .b-icon, .rush-row {
	align-items: center;
	display: flex
}
.mode-learner {
	border-color: var(--sun)
}
.mode-learner .mc-emoji-wrap {
	background: var(--sun)
}
.mode-card.mode-standard, .mode-standard {
	border-color: var(--sky)
}
.mode-card.mode-standard .mc-emoji-wrap, .mode-standard .mc-emoji-wrap {
	background: var(--sky)
}
.mode-card.mode-entrepreneur, .mode-entrepreneur {
	border-color: var(--leaf)
}
.mode-card.mode-entrepreneur .mc-emoji-wrap, .mode-entrepreneur .mc-emoji-wrap {
	background: #c8e6c9
}
.rush-row {
	gap: 10px;
	border: 2px dashed var(--gold)
}
.badge-shelf {
	border-radius: var(--radius);
	padding: 12px 14px;
	box-shadow: 0 5px 0 rgba(51,51,51,.12)
}
.hud .chip, .role-tag {
	border-radius: 999px;
	background: var(--paper);
	font-family: var(--display)
}
.badge-row, .badge-shelf {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center
}
.badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: inherit
}
.badge .b-icon {
	justify-content: center;
	font-size: 26px
}
.hud {
	display: flex;
	align-items: center;
	flex-wrap: wrap
}
.hud .chip {
	font-size: 15px;
	padding: 7px 12px;
	box-shadow: 0 3px 0 rgba(51,51,51,.12)
}
.customer-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px
}
.role-tag {
	font-size: 11px;
	letter-spacing: 1px;
	padding: 5px 9px 1px;
	box-shadow: 0 2px 0 rgba(51,51,51,.14);
	white-space: nowrap
}
.customer-row {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 118px
}
.customer-figure {
	flex: 0 0 96px;
	height: 118px;
	transition: transform .25s
}
.customer-figure.walk-in {
	animation: .45s walkIn
}
@keyframes walkIn {
from {
transform:translateX(-130%)
}
to {
	transform: translateX(0)
}
}
.customer-figure.walk-out {
	animation: .4s forwards walkOut
}
@keyframes walkOut {
to {
transform:translateX(160%);
opacity:0
}
}
.ch-arm {
	transform-origin: 50% 5%
}
.ch-forearm {
	transform-origin: 50% 0
}
.customer-figure.waving .ch-arm {
	animation: .8s ease-in-out waveUpper
}
.customer-figure.waving .ch-forearm {
	animation: .8s ease-in-out waveLower
}
@keyframes waveUpper {
0%, 100% {
transform:rotate(0)
}
18%, 82% {
transform:rotate(-30deg)
}
}
@keyframes waveLower {
0%, 100% {
transform:rotate(0)
}
18%, 82% {
transform:rotate(-115deg)
}
34%, 66% {
transform:rotate(-100deg)
}
50% {
transform:rotate(-130deg)
}
}
.bubble {
	flex: 1;
	background: var(--paper);
	border: 3px solid var(--sky);
	border-radius: 16px;
	padding: 10px 12px;
	box-shadow: 0 5px 0 #5ba0ce
}
.bubble:before {
	content: "";
	position: absolute;
	left: -24px;
	top: 50%;
	transform: translateY(-50%);
	border: 12px solid transparent;
	border-right-color: var(--sky)
}
.bubble .b-say {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 6px
}
.bubble ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px
}
.bubble li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px
}
.bubble li svg {
	flex: 0 0 26px
}
.bubble li .i-price {
	margin-left: auto;
	font-family: var(--display);
	font-size: 16px
}
.register {
	background: var(--navy);
	border-radius: var(--radius);
	padding: 12px 14px;
	color: var(--paper);
	box-shadow: 0 5px 0 #0d3b66
}
.register .r-task {
	font-family: var(--display);
	font-size: 15px;
	margin: 0 0 6px;
	text-align: center
}
.register .r-amounts {
	display: flex;
	gap: 10px;
	justify-content: center;
	flex-wrap: wrap
}
.r-amt {
	background: #0d3b66;
	border-radius: 12px;
	padding: 6px 14px;
	text-align: center;
	min-width: 120px
}
.r-amt .r-label {
	font-size: 15px;
	letter-spacing: 1px;
	opacity: .85
}
.r-amt .r-value {
	font-family: var(--display);
	font-size: 26px;
	color: var(--sun)
}
.denom-break, .timer-track {
	display: none
}
.tray-empty-hint, .tray-footer {
	display: flex;
	position: absolute
}
.timer-track.on {
	display: block
}
.timer-fill {
	width: 100%;
	background: var(--sun)
}
.timer-fill.low {
	background: var(--berry)
}
.tray {
	background: linear-gradient(#ead6ac, #d9be8a);
	border: 3px solid #bc8a4e;
	border-radius: var(--radius);
	min-height: 164px;
	padding: 12px;
	box-shadow: 0 5px 0 #9a6b33
}
.tray:before {
	content: "";
	position: absolute;
	inset: 9px;
	border-radius: 12px;
	background: rgba(110,72,30,.1);
	box-shadow: inset 0 2px 7px rgba(95,55,18,.26)
}
.tray.drag-over {
	outline: 4px dashed var(--sun);
	outline-offset: -6px
}
.tray .btn-ghost {
	box-shadow: 0 3px 0 #a9824a
}
.tray .btn-ghost:active {
	box-shadow: 0 1px 0 #a9824a;
	transform: translateY(2px)
}
.tray-coins {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	min-height: 62px;
	padding-bottom: 52px
}
.tray-coin {
	border: 0;
	background: 0 0;
	padding: 2px;
	border-radius: 50%;
	line-height: 0;
	animation: .18s popIn
}
.drawer, .tray-total {
	background: var(--paper)
}
.tray-coin svg {
	display: block;
	filter: drop-shadow(0 2px 1px rgba(51,51,51,.3))
}
@keyframes popIn {
from {
transform:scale(.4)
}
to {
	transform: scale(1)
}
}
.tray-footer {
	left: 17px;
	right: 12px;
	bottom: 17px;
	align-items: center;
	gap: 8px
}
.tray-total {
	font-family: var(--display);
	font-size: 15px;
	border-radius: 999px;
	padding: 4px 12px;
	box-shadow: 0 2px 0 rgba(51,51,51,.18)
}
.drawer, .summary-card {
	box-shadow: 0 5px 0 rgba(51,51,51,.12)
}
.tray-total.hidden-total {
	letter-spacing: 2px;
	color: var(--ink-soft)
}
.tray-footer .btn-small:not([hidden]) {
	min-height: 0;
	height: 32px;
	padding: 0 25px;
	display: inline-flex;
	align-items: center;
	gap: 5px
}
.tray-empty-hint {
	inset: 0 0 50px 0;
	align-items: center;
	justify-content: center;
	color: #523a12;
	font-size: 16px;
	font-weight: 700
}
#confetti, .modal-veil {
	inset: 0;
	inset: 0
}
.drawer {
	border-radius: var(--radius);
	padding: 12px
}
.card h3, .drawer h3 {
	font-family: var(--display);
	font-size: 13px;
	margin: 0 0 8px;
	color: var(--ink-soft);
	letter-spacing: 1px;
	text-align: center
}
#game-title-bar h1, .awning h1 {
	letter-spacing: .5px;
	font-family: var(--display)
}
.drawer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px
}
.denom-btn, .modal-veil.open, .scene.active, .sum-stats, .tip-box {
	display: flex
}
.denom-btn {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-height: 74px;
	border: 2px solid #eee;
	border-radius: 14px;
	background: #fcfbf4;
	padding: 6px 2px;
	touch-action: pan-y
}
.denom-btn:active, .sum-stat, body {
	background: var(--cream)
}
.denom-btn svg {
	max-width: 100%;
	height: auto
}
.denom-btn .d-label {
	font-size: 15px;
	font-weight: 700;
	color: var(--ink-soft)
}
.denom-btn.hint-pulse {
	animation: .8s infinite hintPulse;
	border-color: var(--gold)
}
@keyframes hintPulse {
0%, 100% {
box-shadow:0 0 0 0 rgba(255,215,0,0)
}
50% {
box-shadow:0 0 0 8px rgba(255,215,0,.45)
}
}
.label-large .d-label {
	font-size: 13px;
	color: var(--ink)
}
.summary-card {
	background: var(--paper);
	border-radius: var(--radius);
	padding: 18px;
	text-align: center
}
.summary-card h2 {
	font-family: var(--display);
	font-size: 24px;
	margin: 0 0 4px
}
.star-line {
	font-size: 30px;
	letter-spacing: 3px;
	margin: 8px 0
}
.sum-stats {
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 10px 0
}
.sum-stat .s-lab {
	color: var(--ink-soft)
}
.tip-box {
	background: #fff3cd;
	border: 2px dashed var(--gold);
	border-radius: 14px;
	padding: 14px;
	font-size: 16px;
	text-align: left;
	gap: 8px;
	align-items: flex-start;
	margin: 15px 0
}
.new-badge-line {
	font-weight: 700;
	color: var(--berry-dark);
	margin: 6px 0 0;
	font-size: 15px
}
.modal-veil {
	position: fixed;
	background: rgba(51,51,51,.55);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	z-index: 80
}
#game-title-bar h1, .awning h1, .modal {
	background: var(--paper)
}
.modal {
	display: block;
	position: relative;
	border-radius: var(--radius);
	max-width: 420px;
	width: 100%;
	padding: 18px;
	box-shadow: 0 8px 0 rgba(0,0,0,.25)
}
.modal h2 {
	font-family: var(--display);
	font-size: 18px;
	margin: 0 0 8px;
	text-align: center
}
.demo-stage {
	min-height: 120px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	justify-content: center
}
.demo-line {
	font-family: var(--display);
	font-size: 20px
}
.demo-coin-row {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: center;
	min-height: 56px;
	align-items: center
}
.demo-coin-row svg {
	animation: .25s popIn
}
.demo-note {
	font-size: 16px;
	color: var(--ink-soft);
	text-align: center;
	margin: 4px 0 10px
}
.btn-ghost.focus, .btn-ghost:focus, .btn-ghost:hover, .fs-btn, body {
	color: var(--ink)
}
.modal .actions {
	margin-top: 8px
}
#confetti {
	position: fixed;
	z-index: 90
}
@media (min-width:430px) {
.drawer-grid {
	gap: 10px
}
.denom-btn {
	min-height: 82px
}
}
.icon-btn .ic, .rush-row input {
	width: 22px;
	height: 22px
}
#app:fullscreen #scene-game.active, #app:fullscreen #scene-menu.active {
max-width:var(--fs-max);
margin-left:auto;
margin-right:auto
}
#app:-webkit-full-screen #scene-game.active, #app:-webkit-full-screen #scene-menu.active {
max-width:var(--fs-max);
margin-left:auto;
margin-right:auto
}
#game-title-bar h1 .ic {
	margin-top: 5px;
	width: 1.05em;
	height: 1.05em;
	color: var(--wood)
}
:root {
--radius:18px;
--display:'Baloo 2', 'Arial Black', Arial, sans-serif
}
* {
	box-sizing: border-box
}
html {
	scrollbar-gutter: stable;
	overflow-y: scroll
}
body {
	margin: 0;
	font-family: var(--body);
	line-height: 1.4;
	background-image: radial-gradient(125% 90% at 50% -8%, #fffef6 0, #fffaea 40%, var(--cream) 74%);
	background-attachment: fixed
}
button {
	font-family: inherit
}
.ic {
	width: 1.15em;
	height: 1.15em;
	display: inline-block;
	vertical-align: -.2em;
	flex: none;
	color: inherit;
	fill: currentColor
}
.awning h1, .badge-shelf h3, .icon-btn .ic, .mc-age {
	color: var(--ink)
}
.btn .ic {
	width: 1.05em;
	height: 1.05em;
	vertical-align: -.14em
}
.mode-card .mc-emoji-wrap .ic {
	width: 30px;
	height: 30px
}
.f-emoji .ic {
	width: 28px;
	height: 28px
}
.mc-age {
	display: block;
	font-family: var(--display);
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 6px;
	line-height: 1.1
}
.actions, .badge, .gtb-tab, .mode-card {
	display: flex
}
button:focus-visible, input:focus-visible {
outline:3px solid var(--navy);
outline-offset:2px
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap
}
#app, #game-title-bar, .gtb-tab, .stage {
	position: relative
}
#brandSlot {
	margin: 0 auto;
	padding: 4px 12px 0;
	min-height: 0
}
.badge {
	flex-direction: column;
	align-items: center;
	color: var(--ink-soft)
}
@media (min-width:760px) {
:root {
--app-max:740px
}
.drawer-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center
}
.drawer-grid .denom-btn {
	flex: 0 0 calc(16.66% - 9px)
}
.drawer-grid .denom-break {
	display: block;
	flex-basis: 100%;
	height: 0
}
}
@media (min-width:960px) {
:root {
--app-max:900px
}
#scene-menu, #scene-summary {
	max-width: 880px;
	margin-left: auto;
	margin-right: auto
}
#scene-menu.active {
	max-width: 880px;
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, 1fr);
	grid-template-areas: "blurb blurb blurb" "lrn std ent" "rush rush rush" "badges badges badges"
}
#scene-menu .menu-blurb {
	grid-area: blurb
}
#scene-menu .mode-learner {
	grid-area: lrn
}
#scene-menu .mode-standard {
	grid-area: std
}
#scene-menu .mode-entrepreneur {
	grid-area: ent
}
#scene-menu .rush-row {
	grid-area: rush
}
#scene-menu .badge-shelf {
	grid-area: badges
}
#scene-menu .mode-card {
	flex-direction: column;
	text-align: center;
	align-items: center
}
#scene-game.active {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas: "hud      hud" "customer price" "tray     tray" "drawer   drawer" "feedback feedback" "actions  actions";
	align-items: start;
	gap: 18px 10px
}
#scene-game .hud {
	grid-area: hud
}
#scene-game .customer-row {
	grid-area: customer;
	align-self: stretch
}
#scene-game .customer-col {
	align-self: center
}
#scene-game .register {
	grid-area: price;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center
}
#scene-game .tray {
	grid-area: tray
}
#scene-game .drawer {
	grid-area: drawer
}
#scene-game .feedback {
	grid-area: feedback;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto
}
#scene-game .actions {
	grid-area: actions;
	justify-content: center
}
#scene-game .actions .btn {
	flex: 0 1 280px
}
#scene-game .register .r-task {
	font-size: 17px;
	margin-bottom: 10px
}
#scene-game .register .r-amounts {
	gap: 14px
}
#scene-game .register .r-amt {
	flex: 1 1 0;
	min-width: 150px;
	padding: 12px 20px
}
#scene-game .register .r-amt .r-value {
	font-size: 36px
}
}
.badge-shelf h3, .btn, h2, h3 {
	font-weight: 700
}
.awning h1 {
	border: 4px solid var(--wood)
}
#scene-menu .card h3, .badge-shelf h3 {
	text-transform: none;
	letter-spacing: 0
}
:focus-visible {
outline:3px solid var(--navy);
outline-offset:2px
}
.awn-stripes {
background:repeating-linear-gradient(90deg, var(--awn-stripe) 0 var(--awn-sw), var(--awn-gap) var(--awn-sw) calc(var(--awn-sw)*2));
	background-attachment: fixed
}
#game-title-bar::before, .gtb-tab {
background:repeating-linear-gradient(90deg, var(--awn-stripe) 0 var(--awn-sw), var(--awn-gap) var(--awn-sw) calc(var(--awn-sw)*2));
	box-shadow: var(--awn-shadow)
}
#game-title-bar {
	margin: 0 0 16px;
	background: 0 0
}
#game-title-bar::before {
	content: "";
	display: block;
	height: var(--awn-band);
	background-attachment: fixed;
	border-top: 2px solid var(--awn-edge);
	border-bottom: 3px solid var(--awn-rail)
}
.gtb-tab {
--awn-overlap:26px;
--awn-fillet:12px;
	z-index: 1;
	width: 35vw;
	min-width: fit-content;
	max-width: 92vw;
margin:calc(var(--awn-overlap) * -1) auto 0;
	padding: 11px 18px 14px;
	background-attachment: fixed;
	border: none;
	border-bottom: 3px solid var(--awn-rail);
	border-radius: 0 0 22px 22px;
	align-items: center;
	justify-content: center
}
.gtb-tab::after, .gtb-tab::before {
	content: "";
	position: absolute;
	top: var(--awn-overlap);
	width: var(--awn-fillet);
	height: var(--awn-fillet)
}
.gtb-tab::before {
left:calc(var(--awn-fillet) * -1);
	background: radial-gradient(circle at bottom left, transparent var(--awn-fillet), var(--awn-rail) calc(var(--awn-fillet) + .5px))
}
.gtb-tab::after {
right:calc(var(--awn-fillet) * -1);
	background: radial-gradient(circle at bottom right, transparent var(--awn-fillet), var(--awn-rail) calc(var(--awn-fillet) + .5px))
}
#game-title-bar h1 {
	position: relative;
	color: var(--ink);
	border: 2px solid #e4b25a;
	border-radius: 16px;
	padding: 6px 18px;
	box-shadow: 0 3px 0 rgba(110,72,30,.22);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap
}
.actions {
	gap: 10px
}
.actions .btn, .hud .spacer {
	flex: 1
}
.badge-shelf h3 {
	font-family: var(--display);
	font-family: var(--display);
	font-size: 19px;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px
}
:root {
--app-max:520px;
--fs-max:1100px
}
#app {
	max-width: var(--app-max);
	width: 100%;
	margin: 0 auto;
	padding: 10px 12px 24px
}
.awning h1 {
	font-family: var(--display);
	font-size: clamp(19px, 5.2vw, 27px);
	margin: 0;
	border: 4px solid var(--wood);
	border-radius: 14px;
	padding: 6px 16px;
	letter-spacing: .4px
}
.scene {
	display: none;
	flex-direction: column;
	gap: 12px
}
.btn {

	transition: transform .06s, box-shadow .06s
}
.btn:active {
	transform: translateY(4px);
	box-shadow: 0 1px 0 #143d26
}
.btn[disabled] {
	opacity: .45;
	cursor: default;
	transform: none
}
.btn-sky {
	background: var(--navy);
	box-shadow: 0 5px 0 #0d3b66
}
.btn-ghost, .icon-btn {
	background: var(--paper)
}
.btn-sky:active {
	box-shadow: 0 1px 0 #0d3b66
}
.btn-ghost {
	color: var(--ink);
	box-shadow: 0 5px 0 #d7cfae;
	border: 2px solid #e8dfbd;
	font-size: 15px
}
.btn-ghost:active {
	box-shadow: 0 1px 0 #d7cfae
}
.icon-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	box-shadow: 0 3px 0 rgba(51,51,51,.15);
	font-size: 19px;
	line-height: 1
}
.card, .mode-card {
	background: var(--paper);
	padding: 14px;
	box-shadow: 0 5px 0 rgba(51,51,51,.12)
}
.icon-btn:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 rgba(51,51,51,.15)
}
.card {
	border-radius: var(--radius)
}
.card h2 {
	font-family: var(--display);
	font-size: 22px;
	margin: 0 0 8px
}
#scene-menu .card h3, .mode-card h2 {
	font-size: 19px;
	font-family: var(--display)
}
.mode-card {
	align-items: center;
	gap: 14px;
	width: 100%;
	text-align: left;
	border: 4px solid var(--sun);
	border-radius: var(--radius);
	transition: transform .06s
}
#scene-menu .card h3, .rush-row {
	font-weight: 700;
	gap: 8px;
	display: flex
}
.badge, .badge .b-name, .menu-blurb, .menu-foot, .new-badge, .play-card, .sum-stat, .sum-sub, .sum-title {
	text-align: center
}
.mode-card:active {
	transform: translateY(3px)
}
.mode-card .mc-emoji-wrap {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--sun)
}
.mode-card h2 {
	margin: 0
}
.mode-card .mc-best {
	font-size: 15px;
	color: var(--leaf-deep);
	font-weight: 700;
	margin-top: 6px;
	display: block
}
.rush-row {
	align-items: center;
	margin-top: 10px;
	background: #fff3cd;
	border: 2px dashed var(--gold);
	border-radius: 14px;
	padding: 10px 12px;
	font-size: 15px
}
.rush-row input {
	accent-color: var(--leaf-dark)
}
#scene-menu .card h3 {
	text-align: left;
	color: var(--ink);
	align-items: center;
	margin: 0 0 8px
}
.badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: var(--ink-soft);
	background: 0 0;
	border-radius: 0;
	padding: 0;
	min-width: 0;
	white-space: normal;
	font-weight: 400;
	line-height: inherit
}
.badge .b-icon, .hud {
	align-items: center;
	display: flex
}
.chip, .play-card {
	background: var(--paper)
}
.badge.earned {
	color: var(--ink);
	font-weight: 700
}
.badge .b-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	justify-content: center;
	background: #eee;
	filter: grayscale(1);
	opacity: .55;
	border: 3px solid #ddd
}
.badge.earned .b-icon {
	background: var(--sun);
	filter: none;
	opacity: 1;
	border-color: var(--gold)
}
.badge .b-name {
	font-size: 11px
}
.hud {
	gap: 8px
}
.chip {
	font-family: var(--display);
	font-size: 13px;
	border-radius: 999px;
	padding: 8px 13px;
	box-shadow: 0 3px 0 rgba(51,51,51,.12)
}
.chip-stars {
	color: #806000
}
.play-card {
	border: 4px solid var(--sun);
	border-radius: 20px;
	padding: 26px 14px 18px;
	box-shadow: 0 6px 0 rgba(51,51,51,.14);
	transition: transform .35s, opacity .35s
}
.play-card.sorted {
	animation: .35s cardPop
}
@keyframes cardPop {
0%, 100% {
transform:scale(1)
}
45% {
transform:scale(.95)
}
}
.play-card .pc-art {
	height: 132px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative
}
.play-card .pc-art svg {
	width: 132px;
	height: 132px
}
.play-card .pc-art:before {
	content: "";
	position: absolute;
	bottom: 6px;
	left: 50%;
	transform: translateX(-50%);
	width: 88px;
	height: 16px;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(51,51,51,.16) 0%, transparent 72%)
}
.play-card h2 {
	font-family: var(--display);
	font-size: 18px;
	margin: 8px 0 4px
}
.play-card .pc-text {
	font-size: 15.5px;
	line-height: 1.45;
	margin: 0;
	min-height: 44px
}
.timer-track {
	height: 12px;
	border-radius: 999px;
	background: #eee7cb;
	margin-top: 10px
}
.timer-fill {
	height: 100%;
	border-radius: 999px;
	background: var(--navy);
	transition: width .2s linear
}
.timer-fill.low {
	background: var(--berry-dark)
}
.bins {
	display: flex;
	gap: 20px 14px
}
.bin {
	flex: 1;
	border: 0;
	border-radius: 20px;
	padding: 10px 8px 12px;
	min-height: 128px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	transition: transform .12s, box-shadow .12s
}
.bin svg {
	width: 84px;
	height: 64px
}
.bin .bin-word {
	font-family: var(--display);
	font-size: 19px;
	letter-spacing: 1px;
	color: var(--paper)
}
.bin .bin-sub {
	font-size: 15px;
	font-weight: 700;
	color: var(--paper);
	opacity: .95
}
.bin-need {
	background: var(--leaf-deep);
	box-shadow: 0 6px 0 #143d26
}
.bin-need:active {
	transform: translateY(4px);
	box-shadow: 0 2px 0 #143d26
}
.bin-want {
	background: var(--navy);
	box-shadow: 0 6px 0 #0d3b66
}
.bin-want:active {
	transform: translateY(4px);
	box-shadow: 0 2px 0 #0d3b66
}
.bin.drop-hot {
	transform: scale(1.05)
}
.bin.gulp {
	animation: .4s gulp
}
@keyframes gulp {
0%, 100% {
transform:scale(1)
}
40% {
transform:scale(1.12)
}
}
.bin[disabled] {
	opacity: .55
}
.feedback {
	border-radius: 16px;
	padding: 12px 14px;
	font-size: 16px;
	line-height: 1.45;
	display: none;
	align-items: flex-start;
	gap: 10px;
	margin-top: 6px
}
.feedback.show {
	display: flex;
	animation: .25s pop
}
@keyframes pop {
0% {
transform:scale(.92);
opacity:0
}
100% {
transform:scale(1);
opacity:1
}
}
.feedback .f-emoji {
	font-size: 26px;
	line-height: 1
}
.feedback .f-title {
	font-family: var(--display);
	font-size: 18px;
	display: block;
	margin-bottom: 2px
}
.sum-stat .s-num, .sum-title {
	font-family: var(--display);
	font-size: 22px
}
.feedback.good {
	background: #c8e6c9;
	color: var(--leaf-deep)
}
.feedback.try {
	background: #fff3cd;
	color: #6f5700
}
.feedback.think {
	background: #e8f1fa;
	color: var(--navy)
}
.sum-stats {
	display: flex;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap
}
.sum-stat {
	background: var(--cream);
	border-radius: 14px;
	padding: 10px 16px;
	min-width: 86px
}
.sum-stat .s-num {
	color: var(--leaf-deep)
}
.sum-stat .s-lab {
	font-size: 11px;
	color: var(--ink-soft);
	letter-spacing: 1px
}
.sum-title {
	margin: 0
}
.sum-sub {
	color: var(--ink);
	font-size: 16px;
	margin: 4px 0 0
}
.dinner {
	background: #e8f1fa;
	border: 3px dashed var(--navy);
	border-radius: 16px;
	padding: 12px 14px;
	margin: 15px 0
}
.dinner h3 {
	color: var(--navy);
	margin: 0 0 4px
}
.dinner p {
	margin: 0;
	font-size: 15px;
	line-height: 1.45
}
.new-badge {
	font-size: 14px;
	color: var(--berry-dark);
	font-weight: 700;
	margin: 0
}
.menu-blurb, h3 {
	font-size: 20px
}
.fs-btn, .menu-blurb, .mode-card p {
	color: var(--ink)
}
.drag-ghost {
	filter: drop-shadow(0 4px 4px rgba(51,51,51,.35));
	position: fixed;
	z-index: 60;
	width: 120px;
	opacity: .9;
	filter: drop-shadow(0 6px 8px rgba(0,0,0,.25))
}
@media (prefers-reduced-motion:reduce) {
*, :after, :before {
	animation-duration: .01ms!important;
	transition-duration: .01ms!important
}
}
@media (min-width:760px) {
:root {
--app-max:740px
}
}
@media (min-width:960px) {
#scene-play.active, #scene-summary {
	margin-left: auto;
	margin-right: auto
}
:root {
--app-max:900px
}
#scene-summary {
	max-width: 600px
}
#scene-menu.active {
	max-width: 880px;
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, 1fr);
	grid-template-areas: "blurb blurb blurb" "lrn std ent" "rush rush rush" "badges badges badges"
}
#scene-menu .menu-blurb {
	grid-area: blurb
}
#scene-menu [data-mode=learner] {
	grid-area: lrn
}
#scene-menu [data-mode=standard] {
	grid-area: std
}
#scene-menu [data-mode=entrepreneur] {
	grid-area: ent
}
#scene-menu .rush-row {
	grid-area: rush
}
#scene-menu .card {
	grid-area: badges
}
#scene-menu .mode-card {
	flex-direction: column;
	text-align: center;
	align-items: center
}
#scene-play.active {
max-width:calc(var(--app-max) * .88)
}
}
.fs-btn {
	position: fixed;
	right: 12px;
	bottom: 12px;
	z-index: 50;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--paper, #fff);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(51,51,51,.28)
}
.fs-btn:active {
	box-shadow: 0 2px 8px rgba(51,51,51,.28);
	transform: translateY(1px)
}
.fs-btn .ic {
	width: 22px;
	height: 22px;
	display: block
}
@media (max-width:759px) {
#app {
	padding-bottom: 72px
}
}
body.maximized #app {
	inset: 0;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background: var(--cream);
	background-image: radial-gradient(circle at 12% 8%, rgba(255,228,77,.35) 0 90px, transparent 91px), radial-gradient(circle at 88% 14%, rgba(135,206,235,.3) 0 70px, transparent 71px);
	position: fixed;
	inset: 0;
	max-width: none;
	margin: 0;
	z-index: 9999;
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background: var(--cream)
}
#app:fullscreen {
overscroll-behavior:contain;
background:var(--cream);
background-image:radial-gradient(circle at 12% 8%, rgba(255,228,77,.35) 0 90px, transparent 91px), radial-gradient(circle at 88% 14%, rgba(135,206,235,.3) 0 70px, transparent 71px);
max-width:none;
width:100vw;
min-height:100vh;
min-height:100dvh;
margin:0;
overflow-y:auto;
overflow-x:hidden;
overscroll-behavior:contain;
background:var(--cream)
}
#app:-webkit-full-screen {
overflow:auto;
background:var(--cream);
max-width:none;
width:100vw;
min-height:100vh;
margin:0;
overflow-y:auto;
overflow-x:hidden;
background:var(--cream)
}
#app:fullscreen .scene.active {
max-width:var(--fs-max);
margin-left:auto;
margin-right:auto
}
#app:-webkit-full-screen .scene.active {
max-width:var(--fs-max);
margin-left:auto;
margin-right:auto
}
.menu-blurb {
	margin: 0 5px 20px;
	font-weight: 600
}
.badge-shelf, .menu-foot {
	margin-top: 15px
}
.mode-card p {
	margin: 0;
	font-size: 16px
}
.btn.focus, .btn:focus, .btn:hover {
	color: var(--cream);
	text-decoration: none
}
.badge {
	gap: 10px;
	width: 72px;
	font-size: 15px
}
.show {
	display: flex!important
}
.role-tag, h1 {
	font-weight: 700;
}
.scene {
	gap: 20px 22px;
}

/* Desktop-only UI zoom (was inline zoom:1.2 on <main id="app">). Touch devices excluded:
   zoom fights viewport media queries and pre-17.4 Safari mishandles position:fixed
   inside a zoomed subtree. */
@media (hover: hover) and (pointer: fine) {
main#app {
	zoom: 1.2;
}
}
/* Card is the drag handle: without this iOS claims vertical drags for page scrolling
   and fires pointercancel mid-drag (stuck ghost). */
.play-card {
	touch-action: none
}
/* Keep the fixed fullscreen button clear of the iPhone home-indicator swipe zone
   in standalone (Add to Home Screen) mode. env() resolves to 0 everywhere else. */
.fs-btn {
	right: calc(12px + env(safe-area-inset-right));
	bottom: calc(12px + env(safe-area-inset-bottom))
}
