.bolaonesha-app {
	--bn-ink: #050505;
	--bn-paper: #ffffff;
	--bn-green: #a6e800;
	--bn-green-dark: #8fca00;
	--bn-green-soft: #f6ffe4;
	--bn-lime: #b7ff00;
	--bn-danger: #d92d20;
	--bn-danger-soft: #fff0ee;
	--bn-muted: rgba(5, 5, 5, 0.68);
	--bn-faint: #9b9b96;
	--bn-border: rgba(5, 5, 5, 0.14);
	--bn-ease: cubic-bezier(0.23, 1, 0.32, 1);

	/* legacy tokens usados pelo modo raspadinha/bolão */
	--bn-bg: #f8f6f0;
	--bn-card: #ffffff;
	--bn-text: var(--bn-ink);
	--bn-accent: #d4a853;
	--bn-accent-bg: #fdf4e3;
	--bn-green-bg: #e8f5ee;
	--bn-red: #8c1e1e;
	--bn-red-bg: #fce8e8;
	--bn-ticket-paper: #fefcf5;
	--bn-ticket-border: #d4c9a8;
	--bn-ticket-lines: #e8e0c8;

	width: 100%;
	color: var(--bn-ink);
	font-family: Inter, Roboto, "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
}

.bolaonesha-app,
.bolaonesha-app * {
	box-sizing: border-box;
}

.bolaonesha-app [hidden] {
	display: none !important;
}

.bolaonesha-app button,
.bolaonesha-app input,
.bolaonesha-app select {
	font: inherit;
}

.bolaonesha-app button {
	letter-spacing: 0;
}

/* ========== Novo layout de checkout ========== */

.bolaonesha-app .bolaonesha-checkout {
	position: relative;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
	align-items: center;
	gap: clamp(36px, 6vw, 72px);
	padding: clamp(24px, 4vw, 44px) 0;
}

.bolaonesha-app .bolaonesha-checkout.is-complete {
	grid-template-columns: 1fr;
	align-items: start;
	min-width: min(620px, calc(100vw - 32px));
}

.bolaonesha-app .bolaonesha-checkout.is-complete .bolaonesha-intro,
.bolaonesha-app .bolaonesha-checkout.is-complete .bolaonesha-form-board {
	display: none;
}

.bolaonesha-app .bolaonesha-intro {
	animation: bolaonesha-rise 520ms var(--bn-ease) both;
}

.bolaonesha-app .bolaonesha-kicker {
	width: fit-content;
	margin: 0 0 36px;
	padding: 9px 12px;
	border: 3px solid var(--bn-ink);
	background: var(--bn-green);
	color: var(--bn-ink);
	box-shadow: 6px 6px 0 var(--bn-ink);
	font-size: 13px;
	font-weight: 950;
	text-transform: uppercase;
}

.bolaonesha-app .bolaonesha-headline {
	max-width: 580px;
	margin: 0;
	color: var(--bn-ink);
	font-family: "Arial Black", Inter, Arial, sans-serif;
	font-size: clamp(38px, 5.2vw, 68px);
	line-height: 0.92;
	font-weight: 950;
	text-transform: uppercase;
	overflow-wrap: normal;
	text-wrap: balance;
	word-break: keep-all;
}

.bolaonesha-app .bolaonesha-headline-nowrap {
	white-space: nowrap;
}

.bolaonesha-app .bolaonesha-intro-copy {
	max-width: 500px;
	margin: 24px 0 0;
	color: var(--bn-muted);
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.45;
	font-weight: 850;
}

.bolaonesha-app .bolaonesha-flow {
	position: relative;
	width: 100%;
	animation: bolaonesha-rise 520ms var(--bn-ease) 80ms both;
}

.bolaonesha-app .bolaonesha-form-board {
	position: relative;
	width: 100%;
	padding: clamp(24px, 4vw, 34px);
	border: 4px solid var(--bn-ink);
	background: #fff;
	box-shadow:
		10px 10px 0 var(--bn-ink),
		20px 20px 0 var(--bn-lime);
}

.bolaonesha-app .bolaonesha-step-meter {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
}

.bolaonesha-app .bolaonesha-step-meter-count {
	padding: 5px 8px;
	border: 3px solid var(--bn-ink);
	background: var(--bn-green);
	color: var(--bn-ink);
	box-shadow: 4px 4px 0 var(--bn-ink);
	font-size: 12px;
	line-height: 1;
	font-weight: 950;
}

.bolaonesha-app .bolaonesha-step-meter-rail {
	height: 10px;
	border: 3px solid var(--bn-ink);
	background: #fff;
	box-shadow: 4px 4px 0 var(--bn-ink);
	overflow: hidden;
}

.bolaonesha-app .bolaonesha-step-meter-fill {
	display: block;
	height: 100%;
	background: var(--bn-green);
}

.bolaonesha-app .bolaonesha-step-meter-fill.is-half {
	width: 50%;
}

.bolaonesha-app .bolaonesha-step-meter-fill.is-full {
	width: 100%;
}

.bolaonesha-app .bolaonesha-step-panel {
	display: none;
}

.bolaonesha-app .bolaonesha-step-panel.is-active {
	display: block;
	animation: bolaonesha-slide-in 260ms var(--bn-ease) both;
}

.bolaonesha-app .bolaonesha-field {
	display: grid;
	gap: 12px;
}

.bolaonesha-app .bolaonesha-field.is-order-field {
	gap: 0;
}

.bolaonesha-app .bolaonesha-field-heading {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	gap: 10px;
}

.bolaonesha-app .bolaonesha-field.is-order-field .bolaonesha-field-heading {
	position: relative;
	z-index: 6;
	margin: 0 0 -18px 12px;
}

.bolaonesha-app .bolaonesha-field-label {
	width: fit-content;
	padding: 7px 10px;
	border: 3px solid var(--bn-ink);
	background: var(--bn-green);
	color: var(--bn-ink);
	box-shadow: 5px 5px 0 var(--bn-ink);
	font-size: 13px;
	font-weight: 950;
	text-transform: uppercase;
}

.bolaonesha-app .bolaonesha-order-shortcut {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	aspect-ratio: 1 / 1;
	border: 3px solid var(--bn-ink);
	background: #fff;
	color: var(--bn-ink);
	box-shadow: 5px 5px 0 var(--bn-ink);
	font-size: 20px;
	line-height: 1;
	font-weight: 950;
	text-decoration: none;
	transition:
		transform 220ms var(--bn-ease),
		box-shadow 220ms var(--bn-ease),
		background 220ms var(--bn-ease),
		color 220ms var(--bn-ease);
}

.bolaonesha-app .bolaonesha-order-shortcut::after {
	content: attr(data-tooltip);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	width: max-content;
	max-width: 210px;
	padding: 7px 9px;
	border: 3px solid var(--bn-ink);
	background: #fff;
	color: var(--bn-ink);
	box-shadow: 4px 4px 0 var(--bn-ink);
	font-size: 12px;
	line-height: 1.15;
	font-weight: 950;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(-50%) translateY(5px);
	transition:
		opacity 160ms var(--bn-ease),
		transform 160ms var(--bn-ease);
	z-index: 10;
}

.bolaonesha-app .bolaonesha-order-shortcut:hover,
.bolaonesha-app .bolaonesha-order-shortcut:focus-visible {
	background: var(--bn-green);
	color: var(--bn-ink);
	transform: translate(-2px, -2px);
	box-shadow: 7px 7px 0 var(--bn-ink);
	outline: none;
}

.bolaonesha-app .bolaonesha-order-shortcut:hover::after,
.bolaonesha-app .bolaonesha-order-shortcut:focus-visible::after {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.bolaonesha-app .bolaonesha-input-shell {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	align-items: stretch;
	gap: 12px;
	padding: 14px;
	border: 4px solid var(--bn-ink);
	background: #fff;
	box-shadow: 6px 6px 0 var(--bn-ink);
	transition:
		transform 220ms var(--bn-ease),
		box-shadow 220ms var(--bn-ease);
}

.bolaonesha-app .bolaonesha-field.is-order-field .bolaonesha-input-shell {
	padding-top: 26px;
}

.bolaonesha-app .bolaonesha-input-shell:focus-within {
	transform: translate(-3px, -3px);
	box-shadow:
		9px 9px 0 var(--bn-ink),
		15px 15px 0 var(--bn-lime);
}

.bolaonesha-app .bolaonesha-field.has-error .bolaonesha-input-shell {
	background: var(--bn-danger-soft);
	box-shadow:
		8px 8px 0 var(--bn-ink),
		14px 14px 0 var(--bn-danger);
}

.bolaonesha-app .bolaonesha-field.has-error .bolaonesha-field-label,
.bolaonesha-app .bolaonesha-field.has-error .bolaonesha-field-icon {
	background: var(--bn-danger);
	color: #fff;
}

.bolaonesha-app .bolaonesha-field-icon {
	display: grid;
	place-items: center;
	min-width: 0;
	border: 3px solid var(--bn-ink);
	background: var(--bn-green);
	color: var(--bn-ink);
	font-size: 28px;
	line-height: 1;
	font-weight: 950;
}

.bolaonesha-app .bolaonesha-input-search {
	width: 100%;
	min-width: 0;
	height: 58px;
	padding: 0 16px;
	border: 3px solid var(--bn-ink);
	border-radius: 0;
	outline: none;
	background: #fff;
	color: var(--bn-ink);
	font-size: 18px;
	font-weight: 900;
	letter-spacing: 0;
}

.bolaonesha-app .bolaonesha-field.is-locked .bolaonesha-input-search {
	background: #f6f6f6;
	color: #555;
	cursor: not-allowed;
}

.bolaonesha-app .bolaonesha-input-search::placeholder {
	color: rgba(5, 5, 5, 0.52);
	font-weight: 950;
}

.bolaonesha-app .bolaonesha-input-wrap {
	position: relative;
	min-width: 0;
}

.bolaonesha-app .bolaonesha-order-input {
	font-family: "Arial Black", Inter, Arial, sans-serif;
	font-size: 24px;
	font-weight: 950;
	text-transform: uppercase;
}

.bolaonesha-app .bolaonesha-fake-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	min-width: 0;
	padding: 0 16px;
	color: rgba(5, 5, 5, 0.48);
	font-family: "Arial Black", Inter, Arial, sans-serif;
	font-size: 24px;
	font-weight: 950;
	line-height: 1;
	pointer-events: none;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
}

.bolaonesha-app .bolaonesha-fake-placeholder::after {
	content: "";
	width: 6px;
	height: 1.1em;
	margin-left: 0;
	background: var(--bn-green);
	animation: bolaonesha-blink 760ms steps(1) infinite;
}

.bolaonesha-app .bolaonesha-input-wrap.is-active .bolaonesha-fake-placeholder {
	display: none;
}

.bolaonesha-app .bolaonesha-helper {
	min-height: 20px;
	margin: 14px 0 0;
	color: var(--bn-muted);
	font-size: 14px;
	line-height: 1.35;
	font-weight: 850;
}

.bolaonesha-app .bolaonesha-helper.is-error {
	color: var(--bn-danger);
}

.bolaonesha-app .bolaonesha-helper a {
	color: var(--bn-danger);
	font-weight: 950;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.bolaonesha-app .bolaonesha-helper:empty {
	display: none;
}

.bolaonesha-app .bolaonesha-continue-button {
	width: 100%;
	margin-top: 24px;
	padding: 17px 20px;
	border: 4px solid var(--bn-ink);
	border-radius: 0;
	background: var(--bn-green);
	color: var(--bn-ink);
	box-shadow: 6px 6px 0 var(--bn-ink);
	font-size: 18px;
	font-weight: 950;
	text-transform: uppercase;
	cursor: pointer;
	transition:
		transform 220ms var(--bn-ease),
		box-shadow 220ms var(--bn-ease),
		background 220ms var(--bn-ease),
		border-color 220ms var(--bn-ease),
		color 220ms var(--bn-ease);
}

.bolaonesha-app .bolaonesha-step-panel:not(.is-email-step) .bolaonesha-continue-button {
	background: #e0dedd;
	color: #888;
	border-color: #b8b7b2;
	box-shadow: 6px 6px 0 #b8b7b2;
}

.bolaonesha-app .bolaonesha-continue-button:hover:not(:disabled),
.bolaonesha-app .bolaonesha-continue-button:focus-visible:not(:disabled) {
	background: var(--bn-green-dark);
	transform: translate(-3px, -3px);
	box-shadow: 9px 9px 0 var(--bn-ink);
	outline: none;
}

.bolaonesha-app .bolaonesha-step-panel:not(.is-email-step) .bolaonesha-continue-button:hover:not(:disabled),
.bolaonesha-app .bolaonesha-step-panel:not(.is-email-step) .bolaonesha-continue-button:focus-visible:not(:disabled) {
	background: #d0cecd;
	box-shadow: 9px 9px 0 #b8b7b2;
}

.bolaonesha-app .bolaonesha-continue-button:active:not(:disabled) {
	transform: translate(2px, 2px);
	box-shadow: 5px 5px 0 var(--bn-ink);
}

.bolaonesha-app .bolaonesha-step-panel:not(.is-email-step) .bolaonesha-continue-button:active:not(:disabled) {
	box-shadow: 5px 5px 0 #b8b7b2;
}

.bolaonesha-app .bolaonesha-continue-button:disabled {
	cursor: wait;
	background: var(--bn-green-dark);
	transform: translate(2px, 2px);
	box-shadow: 4px 4px 0 var(--bn-ink);
	opacity: 0.94;
}

.bolaonesha-app .bolaonesha-step-panel:not(.is-email-step) .bolaonesha-continue-button:disabled {
	background: #d0cecd;
	box-shadow: 4px 4px 0 #b8b7b2;
}

.bolaonesha-app .bolaonesha-continue-button.is-locked:disabled {
	cursor: not-allowed;
	background: #fff;
	color: var(--bn-ink);
	opacity: 1;
	transform: none;
	box-shadow: 4px 4px 0 var(--bn-ink);
}

.bolaonesha-app .bolaonesha-continue-button.is-loading::after {
	content: "";
	display: inline-block;
	width: 0.75em;
	height: 0.75em;
	margin-left: 10px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: -0.1em;
	animation: bolaonesha-spin 680ms linear infinite;
}

.bolaonesha-app .bolaonesha-eligibility {
	margin: 0 0 28px;
	border: 4px solid var(--bn-ink);
	background: var(--bn-green-soft);
	box-shadow: 6px 6px 0 var(--bn-ink);
}

.bolaonesha-app .bolaonesha-eligibility-inner {
	padding: 20px;
}

.bolaonesha-app .bolaonesha-eligibility small {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 8px;
	border: 2px solid var(--bn-ink);
	background: var(--bn-green);
	color: var(--bn-ink);
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
}

.bolaonesha-app .bolaonesha-eligibility strong {
	display: block;
	margin-bottom: 8px;
	color: var(--bn-ink);
	font-size: clamp(18px, 2vw, 23px);
	line-height: 1.05;
	font-weight: 950;
	white-space: nowrap;
}

.bolaonesha-app .bolaonesha-eligibility span {
	display: block;
	color: var(--bn-muted);
	font-size: 15px;
	font-weight: 850;
}

/* Email step – estado inativo (sem email digitado) */
.bolaonesha-app .is-email-step .bolaonesha-eligibility {
	background: #fff;
	transition:
		background 220ms var(--bn-ease),
		border-color 220ms var(--bn-ease),
		box-shadow 220ms var(--bn-ease);
}

.bolaonesha-app .is-email-step .bolaonesha-eligibility small {
	background: var(--bn-ink);
	border-color: var(--bn-ink);
	color: #fff;
	transition:
		background 220ms var(--bn-ease),
		border-color 220ms var(--bn-ease),
		color 220ms var(--bn-ease);
}

.bolaonesha-app .is-email-step .bolaonesha-eligibility strong {
	transition: color 220ms var(--bn-ease);
}

.bolaonesha-app .is-email-step .bolaonesha-eligibility span {
	transition: color 220ms var(--bn-ease);
}

.bolaonesha-app .is-email-step .bolaonesha-continue-button {
	background: #e0dedd;
	color: #888;
	border-color: #b8b7b2;
	box-shadow: 6px 6px 0 #b8b7b2;
	transition:
		transform 220ms var(--bn-ease),
		box-shadow 220ms var(--bn-ease),
		background 220ms var(--bn-ease),
		border-color 220ms var(--bn-ease),
		color 220ms var(--bn-ease);
}

.bolaonesha-app .is-email-step .bolaonesha-continue-button:hover:not(:disabled),
.bolaonesha-app .is-email-step .bolaonesha-continue-button:focus-visible:not(:disabled) {
	background: #d0cecd;
	transform: translate(-3px, -3px);
	box-shadow: 9px 9px 0 #b8b7b2;
	outline: none;
}

/* Email step – estado ativo (email digitado) */
.bolaonesha-app .is-email-step.has-email .bolaonesha-eligibility {
	background: var(--bn-green-soft);
	border-color: var(--bn-ink);
	box-shadow: 6px 6px 0 var(--bn-ink);
}

.bolaonesha-app .is-email-step.has-email .bolaonesha-eligibility small {
	background: var(--bn-green);
	border-color: var(--bn-ink);
	color: var(--bn-ink);
}

.bolaonesha-app .is-email-step.has-email .bolaonesha-eligibility strong {
	color: var(--bn-ink);
}

.bolaonesha-app .is-email-step.has-email .bolaonesha-eligibility span {
	color: var(--bn-muted);
}

.bolaonesha-app .is-email-step.has-email .bolaonesha-continue-button {
	background: var(--bn-green);
	color: var(--bn-ink);
	border-color: var(--bn-ink);
	box-shadow: 6px 6px 0 var(--bn-ink);
}

.bolaonesha-app .is-email-step.has-email .bolaonesha-continue-button:hover:not(:disabled),
.bolaonesha-app .is-email-step.has-email .bolaonesha-continue-button:focus-visible:not(:disabled) {
	background: var(--bn-green-dark);
	transform: translate(-3px, -3px);
	box-shadow: 9px 9px 0 var(--bn-ink);
	outline: none;
}

.bolaonesha-app .bolaonesha-step-panel:not(.is-email-step).has-order .bolaonesha-continue-button {
	background: var(--bn-green);
	color: var(--bn-ink);
	border-color: var(--bn-ink);
	box-shadow: 6px 6px 0 var(--bn-ink);
}

.bolaonesha-app .bolaonesha-step-panel:not(.is-email-step).has-order .bolaonesha-continue-button:hover:not(:disabled),
.bolaonesha-app .bolaonesha-step-panel:not(.is-email-step).has-order .bolaonesha-continue-button:focus-visible:not(:disabled) {
	background: var(--bn-green-dark);
	transform: translate(-3px, -3px);
	box-shadow: 9px 9px 0 var(--bn-ink);
	outline: none;
}

.bolaonesha-app .bolaonesha-step-panel:not(.is-email-step).has-order .bolaonesha-continue-button:active:not(:disabled) {
	transform: translate(2px, 2px);
	box-shadow: 5px 5px 0 var(--bn-ink);
}

.bolaonesha-app .bolaonesha-step-panel:not(.is-email-step).has-order .bolaonesha-continue-button:disabled {
	background: var(--bn-green-dark);
	box-shadow: 4px 4px 0 var(--bn-ink);
}

.bolaonesha-app .bolaonesha-turnstile-frame {
	width: 100%;
	min-height: 74px;
	margin-top: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bolaonesha-app .bolaonesha-turnstile-frame:empty {
	display: none;
}

.bolaonesha-app .bolaonesha-turnstile-frame iframe {
	width: 100% !important;
	max-width: 100% !important;
}

/* Notice global */

.bolaonesha-app .bolaonesha-notice {
	margin: 16px 0 0;
	padding: 12px 14px;
	border: 3px solid var(--bn-ink);
	background: var(--bn-paper);
	color: var(--bn-ink);
	box-shadow: 5px 5px 0 var(--bn-ink);
	font-size: 13px;
	font-weight: 850;
	text-align: center;
}

.bolaonesha-app .bolaonesha-notice.is-error {
	background: var(--bn-danger-soft);
	color: var(--bn-danger);
}

.bolaonesha-app .bolaonesha-notice.is-success {
	background: var(--bn-green-soft);
	color: var(--bn-ink);
}

.bolaonesha-app .bolaonesha-notice.is-info {
	background: #fffbe8;
	color: var(--bn-ink);
	border-color: var(--bn-ink);
}

/* Reset button — "← Resgatar outro pedido" só no modo completo */

.bolaonesha-app .bolaonesha-reset-btn {
	display: none;
}

.bolaonesha-app .bolaonesha-checkout.is-complete .bolaonesha-reset-btn {
	display: inline-flex;
	position: absolute;
	top: 0;
	left: 50%;
	padding: 10px 14px;
	border: 4px solid var(--bn-ink);
	background: #fff;
	color: var(--bn-ink);
	box-shadow: 5px 5px 0 var(--bn-ink);
	font-size: 13px;
	font-weight: 950;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transform: translateX(-50%);
	transition:
		transform 220ms var(--bn-ease),
		box-shadow 220ms var(--bn-ease),
		background 220ms var(--bn-ease);
	z-index: 2;
}

.bolaonesha-app .bolaonesha-checkout.is-complete .bolaonesha-reset-btn:hover,
.bolaonesha-app .bolaonesha-checkout.is-complete .bolaonesha-reset-btn:focus-visible {
	background: var(--bn-green);
	color: var(--bn-ink);
	transform: translateX(-50%) translate(-2px, -2px);
	box-shadow: 7px 7px 0 var(--bn-ink);
	outline: none;
}

/* Stage (aparece só no modo completo) */

.bolaonesha-app .bolaonesha-stage {
	width: 100%;
}

.bolaonesha-app .bolaonesha-checkout:not(.is-complete) .bolaonesha-stage:empty {
	display: none;
}

.bolaonesha-app .bolaonesha-checkout.is-complete .bolaonesha-stage {
	padding-top: 64px;
}

/* Locked panel (rate-limit) */

.bolaonesha-app .bolaonesha-locked-panel {
	display: grid;
	gap: 14px;
	padding: clamp(24px, 4vw, 34px);
	border: 4px solid var(--bn-ink);
	background: var(--bn-danger-soft);
	box-shadow:
		8px 8px 0 var(--bn-ink),
		16px 16px 0 var(--bn-danger);
	outline: none;
}

.bolaonesha-app .bolaonesha-locked-badge {
	width: fit-content;
	padding: 6px 10px;
	border: 3px solid var(--bn-ink);
	background: var(--bn-danger);
	color: #fff;
	box-shadow: 4px 4px 0 var(--bn-ink);
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
}

.bolaonesha-app .bolaonesha-locked-title {
	margin: 0;
	color: var(--bn-ink);
	font-family: "Arial Black", Inter, Arial, sans-serif;
	font-size: clamp(26px, 4.2vw, 38px);
	line-height: 0.95;
	font-weight: 950;
	text-transform: uppercase;
}

.bolaonesha-app .bolaonesha-locked-copy {
	margin: 0 0 6px;
	color: var(--bn-muted);
	font-size: clamp(14px, 1.6vw, 16px);
	line-height: 1.4;
	font-weight: 850;
}

/* ========== Botão compartilhado (ticket submit do bolão, resume panel) ========== */

.bolaonesha-app .bolaonesha-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 11px 18px;
	border: 1px solid var(--bn-ink);
	border-radius: 8px;
	background: var(--bn-ink);
	color: #fff;
	cursor: pointer;
	font-weight: 800;
	text-decoration: none;
	transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.bolaonesha-app .bolaonesha-button:hover:not(:disabled) {
	background: #33332f;
	transform: translateY(-1px);
}

.bolaonesha-app .bolaonesha-button:active:not(:disabled) {
	transform: scale(0.99);
}

.bolaonesha-app .bolaonesha-button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
	transform: none;
}

.bolaonesha-app .bolaonesha-button-green {
	border-color: #22c55e;
	background: #22c55e;
}

.bolaonesha-app .bolaonesha-button-green:hover:not(:disabled) {
	background: #16a34a;
}

.bolaonesha-app .bolaonesha-hint {
	margin: 0;
	color: var(--bn-faint);
	font-size: 12px;
}

/* Busy / skeleton (resume, turnstile loading) */

.bolaonesha-app .bolaonesha-busy {
	display: grid;
	gap: 8px;
	margin-top: 12px;
	color: var(--bn-muted);
	font-size: 12px;
}

.bolaonesha-app .bolaonesha-busy-label {
	font-weight: 700;
}

.bolaonesha-app .bolaonesha-skeleton {
	display: block;
	height: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, #ece7dc 0%, #fffaf0 48%, #ece7dc 100%);
	background-size: 200% 100%;
	animation: bolaonesha-skeleton 1.1s linear infinite;
}

.bolaonesha-app .bolaonesha-skeleton.is-short {
	width: 68%;
}

/* ========== Raspadinha stack + ticket + bolão (inalterado) ========== */

.bolaonesha-app .bolaonesha-play {
	width: 100%;
}

.bolaonesha-app .bolaonesha-stack-wrap {
	width: 100%;
}

.bolaonesha-app .bolaonesha-counter {
	margin-bottom: 14px;
	color: var(--bn-faint);
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.bolaonesha-app .bolaonesha-counter.is-closed {
	padding: 12px 14px;
	border: 3px solid var(--bn-ink);
	background: #fffbe8;
	color: var(--bn-ink);
	box-shadow: 5px 5px 0 var(--bn-ink);
	font-size: 13px;
	font-weight: 850;
}

.bolaonesha-app .bolaonesha-stack {
	position: relative;
	width: 100%;
	max-width: min(760px, 100%);
	margin: 0 auto 10px;
	aspect-ratio: 1229 / 642;
}

.bolaonesha-app .bolaonesha-card-slot {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	aspect-ratio: 1229 / 642;
	will-change: transform, opacity;
}

.bolaonesha-app .bolaonesha-ticket {
	--bn-ticket-stub-width: clamp(6.5rem, 22%, 9.5rem);
	--bn-ticket-hole-radius: 0.38rem;
	--bn-ticket-hole-period: 0.95rem;
	--bn-ticket-radius: 16px;

	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	aspect-ratio: 12 / 5;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--bn-ink);
	font-family: "Archivo", "Helvetica Neue", system-ui, sans-serif;
	font-feature-settings: "ss01", "cv11";
	filter: drop-shadow(0 18px 22px rgba(18, 22, 12, 0.28));
	isolation: isolate;
	will-change: transform, opacity;
}

.bolaonesha-app .bolaonesha-ticket.is-closed {
	filter: drop-shadow(0 6px 10px rgba(18, 22, 12, 0.08)) saturate(0) brightness(1.07);
	pointer-events: none;
	transition: filter 0.4s ease;
	cursor: not-allowed;
}

.bolaonesha-app .bolaonesha-card-slot.is-dummy {
	background: transparent;
	box-shadow: none;
	border-radius: 18px;
}

.bolaonesha-app .bolaonesha-dummy-ticket {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
	filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

/* Skeleton brutalista entre raspadinhas — só aparece após threshold (220ms).
 * Estrutura: header (chip + dots), 3 slots com hachura deslizante,
 * footer (label + barra de progresso indeterminada). Mantém a proporção
 * e o footprint do card-slot original, então não mexe no layout. */
.bolaonesha-app .bolaonesha-card-loading {
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: clamp(8px, 1.4vw, 14px);
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: clamp(12px, 2.4vw, 22px) clamp(14px, 2.6vw, 24px);
	border: 4px solid #050505;
	background: #ffffff;
	box-shadow: 6px 6px 0 #b7ff00;
	color: #050505;
	font-family: "Arial Black", Inter, Roboto, "Segoe UI", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: -0.005em;
}

.bolaonesha-app .bolaonesha-card-loading-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 0;
}

.bolaonesha-app .bolaonesha-card-loading-chip {
	display: inline-block;
	padding: 4px 10px;
	border: 2px solid #050505;
	background: #050505;
	color: #a6e800;
	font-size: clamp(10px, 1.1vw, 12px);
	font-weight: 950;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.bolaonesha-app .bolaonesha-card-loading-dots {
	display: inline-flex;
	gap: 4px;
	flex-shrink: 0;
}
.bolaonesha-app .bolaonesha-card-loading-dots > span {
	width: 8px;
	height: 8px;
	background: #050505;
	animation: bolaonesha-loading-blink 0.9s linear infinite;
}
.bolaonesha-app .bolaonesha-card-loading-dots > span:nth-child(2) { animation-delay: 0.18s; }
.bolaonesha-app .bolaonesha-card-loading-dots > span:nth-child(3) { animation-delay: 0.36s; }

.bolaonesha-app .bolaonesha-card-loading-slots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(8px, 1.5vw, 14px);
	min-height: 0;
}

.bolaonesha-app .bolaonesha-card-loading-slot {
	display: block;
	height: 100%;
	border: 3px solid #050505;
	box-sizing: border-box;
	background-color: #dcd7ce;
	background-image: repeating-linear-gradient(135deg, #dcd7ce 0 8px, #9c9486 8px 9px);
	background-size: 200% 200%;
	animation: bolaonesha-loading-hatch 1.6s linear infinite;
}
.bolaonesha-app .bolaonesha-card-loading-slot:nth-child(2) { animation-delay: 0.18s; }
.bolaonesha-app .bolaonesha-card-loading-slot:nth-child(3) { animation-delay: 0.36s; }

.bolaonesha-app .bolaonesha-card-loading-foot {
	display: flex;
	align-items: center;
	gap: clamp(10px, 1.6vw, 14px);
}

.bolaonesha-app .bolaonesha-card-loading-label {
	font-size: clamp(10px, 1.2vw, 12px);
	font-weight: 950;
	letter-spacing: 0.06em;
	white-space: nowrap;
	color: #050505;
}

.bolaonesha-app .bolaonesha-card-loading-progress {
	flex: 1;
	height: 10px;
	border: 3px solid #050505;
	background: #ffffff;
	position: relative;
	overflow: hidden;
}
.bolaonesha-app .bolaonesha-card-loading-progress::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 35%;
	background: #050505;
	animation: bolaonesha-loading-march 1.2s linear infinite;
}

@keyframes bolaonesha-loading-blink {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.25; }
}

@keyframes bolaonesha-loading-hatch {
	from { background-position: 0 0; }
	to   { background-position: 200% 0; }
}

@keyframes bolaonesha-loading-march {
	0%   { transform: translateX(-100%); }
	100% { transform: translateX(285%); }
}

@media (prefers-reduced-motion: reduce) {
	.bolaonesha-app .bolaonesha-card-loading-dots > span,
	.bolaonesha-app .bolaonesha-card-loading-slot,
	.bolaonesha-app .bolaonesha-card-loading-progress::after {
		animation: none !important;
	}
}

.bolaonesha-app .bolaonesha-card-error {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 18px;
	border: 1px solid #f5b8b8;
	border-radius: 18px;
	background: var(--bn-red-bg);
	color: var(--bn-red);
	font-size: 13px;
	text-align: center;
}

.bolaonesha-app .bolaonesha-ticket-shell {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: stretch;
}

.bolaonesha-app .bolaonesha-ticket-main,
.bolaonesha-app .bolaonesha-ticket-stub {
	display: grid;
	grid-template-rows: auto 1fr;
}

.bolaonesha-app .bolaonesha-ticket-main {
	flex: 0 0 calc(100% - var(--bn-ticket-stub-width));
	width: calc(100% - var(--bn-ticket-stub-width));
	border-radius: var(--bn-ticket-radius) 0 0 var(--bn-ticket-radius);
	-webkit-mask-image: radial-gradient(circle var(--bn-ticket-hole-radius) at 100% 50%, transparent 98%, black 100%);
	mask-image: radial-gradient(circle var(--bn-ticket-hole-radius) at 100% 50%, transparent 98%, black 100%);
	-webkit-mask-size: 100% var(--bn-ticket-hole-period);
	mask-size: 100% var(--bn-ticket-hole-period);
	-webkit-mask-repeat: repeat-y;
	mask-repeat: repeat-y;
	-webkit-mask-position: 0 calc(var(--bn-ticket-hole-period) / 2);
	mask-position: 0 calc(var(--bn-ticket-hole-period) / 2);
	transition: transform 0.42s cubic-bezier(0.22, 0.84, 0.24, 1), border-radius 0.28s ease;
}

.bolaonesha-app .bolaonesha-ticket-stub {
	flex: 0 0 var(--bn-ticket-stub-width);
	width: var(--bn-ticket-stub-width);
	min-width: 0;
	border-radius: 0 var(--bn-ticket-radius) var(--bn-ticket-radius) 0;
	transform-origin: left 24%;
	-webkit-mask-image: radial-gradient(circle var(--bn-ticket-hole-radius) at 0% 50%, transparent 98%, black 100%);
	mask-image: radial-gradient(circle var(--bn-ticket-hole-radius) at 0% 50%, transparent 98%, black 100%);
	-webkit-mask-size: 100% var(--bn-ticket-hole-period);
	mask-size: 100% var(--bn-ticket-hole-period);
	-webkit-mask-repeat: repeat-y;
	mask-repeat: repeat-y;
	-webkit-mask-position: 0 calc(var(--bn-ticket-hole-period) / 2);
	mask-position: 0 calc(var(--bn-ticket-hole-period) / 2);
	transition: transform 0.22s ease, filter 0.22s ease;
}

.bolaonesha-app .bolaonesha-ticket-brand-row {
	background: var(--bn-lime);
	padding: 0.7rem 0.95rem;
	border-radius: var(--bn-ticket-radius) 0 0 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.7rem;
	flex-wrap: wrap;
	min-height: 2rem;
}

.bolaonesha-app .bolaonesha-ticket-brand {
	margin: 0;
	font-family: "Archivo Black", "Archivo", sans-serif;
	font-weight: 900;
	font-size: clamp(1.05rem, 2.4vw, 1.45rem);
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: var(--bn-ink);
}

.bolaonesha-app .bolaonesha-ticket-brand span {
	font-family: "Archivo", sans-serif;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--bn-ink);
}

.bolaonesha-app .bolaonesha-ticket-orderid {
	display: grid;
	justify-items: end;
	gap: 0.15rem;
	padding: 0.3rem 0.55rem 0.35rem;
	border: 1.5px solid var(--bn-ink);
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.58);
	box-shadow: 2px 2px 0 var(--bn-ink);
	line-height: 1;
	text-align: right;
	white-space: nowrap;
}

.bolaonesha-app .bolaonesha-ticket-orderid-label {
	font-family: "Space Mono", ui-monospace, monospace;
	font-size: 0.5rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bn-faint);
}

.bolaonesha-app .bolaonesha-ticket-orderid-code {
	font-family: "Space Mono", ui-monospace, monospace;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--bn-ink);
}

.bolaonesha-app .bolaonesha-ticket-content {
	background: #e7e9e3;
	padding: 0.85rem 0.95rem 0.95rem;
	border-radius: 0 0 0 var(--bn-ticket-radius);
	display: grid;
	align-content: center;
}

.bolaonesha-app .bolaonesha-ticket-bet-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem 1.2rem;
	align-items: start;
}

.bolaonesha-app .bolaonesha-ticket-bet {
	min-width: 0;
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 0.5rem;
	text-align: center;
}

.bolaonesha-app .bolaonesha-ticket-bet-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.3rem;
	font-family: "Archivo Black", "Archivo", sans-serif;
	font-size: clamp(0.68rem, 1.4vw, 0.82rem);
	font-weight: 900;
	letter-spacing: 0.02em;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--bn-ink);
}

.bolaonesha-app .bolaonesha-ticket-bet-input,
.bolaonesha-app .bolaonesha-ticket-bet-select-input {
	box-sizing: border-box;
	border: 2.5px solid var(--bn-ink);
	border-radius: 8px;
	background: #ffffff;
	color: var(--bn-ink);
	outline: 0;
	font-family: inherit;
	transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.bolaonesha-app .bolaonesha-ticket-bet-input:focus,
.bolaonesha-app .bolaonesha-ticket-bet-select-input:focus {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--bn-ink);
	background: #fbffea;
}

.bolaonesha-app .bolaonesha-ticket-bet-input {
	width: 5rem;
	height: 2.7rem;
	padding: 0;
	box-shadow: 4px 4px 0 var(--bn-ink);
	font-family: "Archivo Black", "Archivo", sans-serif;
	font-size: 1.35rem;
	font-weight: 900;
	text-align: center;
	letter-spacing: -0.02em;
}

.bolaonesha-app .bolaonesha-ticket-bet-input::placeholder {
	color: #a6ac98;
	font-weight: 900;
}

.bolaonesha-app .bolaonesha-ticket-bet-hint {
	max-width: 11rem;
	margin: 0;
	font-family: "Archivo", system-ui, sans-serif;
	font-size: 0.68rem;
	line-height: 1.35;
	color: var(--bn-faint);
	text-align: center;
	text-wrap: balance;
}

.bolaonesha-app .bolaonesha-ticket-bet-hint.is-locked {
	color: var(--bn-danger);
	font-weight: 700;
}

.bolaonesha-app .bolaonesha-ticket-bet-input.is-locked,
.bolaonesha-app .bolaonesha-ticket-bet-select-input.is-locked {
	opacity: 0.55;
	cursor: not-allowed;
	border-color: var(--bn-faint);
	background: #f4f4f0;
}

.bolaonesha-app .bolaonesha-ticket-bet-select {
	position: relative;
	display: block;
	width: min(100%, 13rem);
}

.bolaonesha-app .bolaonesha-ticket-bet-select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.9rem;
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2.5px solid var(--bn-ink);
	border-bottom: 2.5px solid var(--bn-ink);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.bolaonesha-app .bolaonesha-ticket-bet-select-input {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	height: 2.7rem;
	padding: 0 2.4rem 0 0.85rem;
	box-shadow: 4px 4px 0 var(--bn-ink);
	font-size: 0.9rem;
	font-weight: 800;
	cursor: pointer;
	text-overflow: ellipsis;
}

.bolaonesha-app .bolaonesha-ticket-stub-header {
	background: var(--bn-lime);
	border-radius: 0 var(--bn-ticket-radius) 0 0;
	padding: 0.7rem 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
}

.bolaonesha-app .bolaonesha-ticket-stub-logo {
	width: 3rem;
	height: 2.1rem;
	display: block;
	flex-shrink: 0;
}

.bolaonesha-app .bolaonesha-ticket-stub-logo svg {
	width: 100%;
	height: 100%;
	display: block;
}

.bolaonesha-app .bolaonesha-ticket-stub-body {
	background: #eef1e5;
	border-radius: 0 0 var(--bn-ticket-radius) 0;
	padding: 0.65rem 0.55rem 0.85rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

.bolaonesha-app .bolaonesha-ticket-stub-number {
	text-align: center;
	text-transform: uppercase;
	display: grid;
	gap: 0.1rem;
}

.bolaonesha-app .bolaonesha-ticket-stub-number-value {
	margin: 0;
	font-family: "Archivo Black", "Archivo", sans-serif;
	font-size: 1.5rem;
	line-height: 0.9;
	letter-spacing: -0.05em;
	color: var(--bn-ink);
	font-variant-numeric: tabular-nums;
}

.bolaonesha-app .bolaonesha-ticket-stub-number-label {
	font-family: "Space Mono", ui-monospace, monospace;
	font-size: 0.5rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	color: var(--bn-faint);
}

.bolaonesha-app .bolaonesha-ticket-stub-summary {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	display: grid;
	gap: 0.15rem;
	padding: 0.3rem 0.1rem;
	border-top: 1.5px dashed rgba(5, 5, 5, 0.22);
	border-bottom: 1.5px dashed rgba(5, 5, 5, 0.22);
	font-family: "Space Mono", ui-monospace, monospace;
	font-size: 0.5rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.25;
	color: var(--bn-ink);
	overflow: hidden;
}

.bolaonesha-app .bolaonesha-ticket-stub-summary-row {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.25rem;
	overflow-wrap: anywhere;
	min-width: 0;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bolaonesha-app .bolaonesha-ticket-stub-summary-row b {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bolaonesha-app .bolaonesha-ticket-stub-summary-row em {
	font-style: normal;
	font-weight: 700;
	color: var(--bn-faint);
}

.bolaonesha-app .bolaonesha-ticket-stub-summary-row em::after {
	content: " |";
	color: rgba(5, 5, 5, 0.3);
	margin-left: 0.1rem;
}

.bolaonesha-app .bolaonesha-ticket-stub-summary-row b {
	font-weight: 700;
	color: var(--bn-ink);
	font-variant-numeric: tabular-nums;
}

.bolaonesha-app .bolaonesha-ticket-stub-serial {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.3rem;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.bolaonesha-app .bolaonesha-ticket-stub-barcode {
	display: none;
}

.bolaonesha-app .bolaonesha-ticket-stub-datamatrix {
	display: block;
	width: 100%;
	max-width: min(5rem, 100%);
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	background: transparent;
	mix-blend-mode: multiply;
}

.bolaonesha-app .bolaonesha-ticket-stub-datamatrix svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: var(--bn-ink);
}

.bolaonesha-app .bolaonesha-ticket-stub-code {
	font-family: "Space Mono", ui-monospace, monospace;
	font-size: 0.52rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--bn-faint);
	text-align: center;
	white-space: nowrap;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bolaonesha-app .bolaonesha-ticket-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--bn-ticket-radius);
	background: rgba(246, 247, 238, 0.7);
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.bolaonesha-app .bolaonesha-ticket-overlay span {
	color: var(--bn-faint);
	font-family: "Archivo Black", "Archivo", sans-serif;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bolaonesha-app .bolaonesha-ticket.is-primed .bolaonesha-ticket-stub {
	filter: drop-shadow(-6px 4px 0 rgba(189, 255, 31, 0.5));
	transform: translateX(0.32rem) rotate(1.7deg);
	animation: bolaonesha-ticket-grab-shake 0.2s linear 2;
}

.bolaonesha-app .bolaonesha-ticket.is-torn .bolaonesha-ticket-main {
	animation: bolaonesha-ticket-left-recoil 0.75s cubic-bezier(0.2, 0.82, 0.26, 1) forwards;
}

.bolaonesha-app .bolaonesha-ticket.is-torn .bolaonesha-ticket-stub {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	animation: bolaonesha-ticket-stub-fall 1s cubic-bezier(0.2, 0.82, 0.26, 1) forwards;
}

.bolaonesha-app .bolaonesha-ticket.is-torn .bolaonesha-ticket-bet-input,
.bolaonesha-app .bolaonesha-ticket.is-torn .bolaonesha-ticket-bet-select-input {
	pointer-events: none;
	border-color: transparent !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #0f1a06;
	transition:
		border-color 0.35s ease 0.35s,
		background-color 0.35s ease 0.35s,
		box-shadow 0.35s ease 0.35s,
		font-family 0s linear 0.45s,
		font-size 0s linear 0.45s,
		transform 0.45s cubic-bezier(0.2, 0.82, 0.26, 1) 0.35s;
}

.bolaonesha-app .bolaonesha-ticket.is-torn .bolaonesha-ticket-bet-input {
	font-family: "Caveat", "Archivo", cursive;
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: 0;
	height: auto;
	padding: 0;
	transform: rotate(-3deg);
}

.bolaonesha-app .bolaonesha-ticket.is-torn .bolaonesha-ticket-bet-select-input {
	appearance: none;
	-webkit-appearance: none;
	font-family: "Caveat", "Archivo", cursive;
	font-size: 1.5rem;
	font-weight: 700;
	padding: 0;
	text-align: center;
	text-align-last: center;
	height: auto;
	transform: rotate(-1.5deg);
}

.bolaonesha-app .bolaonesha-ticket.is-torn .bolaonesha-ticket-bet-select::after {
	display: none;
}

.bolaonesha-app .bolaonesha-ticket.is-torn .bolaonesha-ticket-bet-hint {
	opacity: 0;
	transition: opacity 0.25s ease;
}

@keyframes bolaonesha-ticket-grab-shake {
	0%   { transform: translateX(0.32rem) rotate(1.7deg); }
	30%  { transform: translateX(0.2rem)  rotate(1deg); }
	60%  { transform: translateX(0.4rem)  rotate(2.1deg); }
	100% { transform: translateX(0.32rem) rotate(1.7deg); }
}

@keyframes bolaonesha-ticket-left-recoil {
	0%   { transform: translateX(0); }
	18%  { transform: translateX(-0.3rem); }
	32%  { transform: translateX(-0.3rem); }
	100% { transform: translateX(calc(var(--bn-ticket-stub-width) / 2)); }
}

@keyframes bolaonesha-ticket-stub-fall {
	0%   { transform: translateX(0.32rem) rotate(1.7deg); opacity: 1; }
	16%  { transform: translate(0.8rem, 0.6rem) rotate(7deg); opacity: 1; }
	100% { transform: translate(2.6rem, 110vh) rotate(22deg); opacity: 0; }
}

.bolaonesha-app .bolaonesha-win-overlay {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 18px;
	border-radius: 18px;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	text-align: center;
}

.bolaonesha-app .bolaonesha-win-overlay strong {
	color: #4ade80;
	font-size: 15px;
}

.bolaonesha-app .bolaonesha-win-kicker {
	color: rgba(255, 255, 255, 0.72);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.bolaonesha-app .bolaonesha-resume-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px 18px;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(15, 20, 30, 0.94), rgba(7, 9, 15, 0.94));
	color: #d7dbe3;
	text-align: center;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
	min-height: 160px;
}

.bolaonesha-app .bolaonesha-resume-label {
	font-size: 18px;
	font-weight: 700;
	color: #b1ff45;
	letter-spacing: 0.02em;
}

/* Slot de fluxo para o botão Resgatar (fora do card-slot absoluto) */
.bolaonesha-app .bolaonesha-redeem-slot {
	display: flex;
	justify-content: center;
	width: 100%;
	min-height: 0;
}

.bolaonesha-app .bolaonesha-redeem-slot.is-redeemable .bolaonesha-redeem {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

/* Botão info "Se você acertar..." — alinhado à direita na bolao-area */

.bolaonesha-app .bolaonesha-bolao-area {
	width: 100%;
	margin: 10px auto 20px;
	display: grid;
	justify-items: center;
	gap: 0.7rem;
	animation: bolaonesha-fade-in 0.3s ease;
}

.bolaonesha-app .bolaonesha-ticket-submit {
	position: relative;
	z-index: 5;
	min-width: min(17rem, 100%);
	max-width: 22rem;
	width: 100%;
	border: 3px solid var(--bn-ink);
	padding: 0.95rem 1.4rem;
	background: var(--bn-lime);
	color: var(--bn-ink);
	border-radius: 0;
	font-family: "Archivo Black", "Archivo", sans-serif;
	font-size: 0.9rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 8px 8px 0 var(--bn-ink);
	transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.18s ease, background 0.14s ease;
}

.bolaonesha-app .bolaonesha-ticket-submit:hover:not(:disabled) {
	transform: translate(-2px, -2px);
	box-shadow: 10px 10px 0 var(--bn-ink);
	background: #c7ff3d;
}

.bolaonesha-app .bolaonesha-ticket-submit:active:not(:disabled) {
	transform: translate(3px, 3px);
	box-shadow: 5px 5px 0 var(--bn-ink);
}

.bolaonesha-app .bolaonesha-ticket-submit:disabled {
	cursor: not-allowed;
	background: #fff;
	color: var(--bn-ink);
	box-shadow: 4px 4px 0 var(--bn-ink);
	opacity: 1;
	transform: none;
}

.bolaonesha-app .bolaonesha-urna-label {
	margin-top: 2px;
	color: var(--bn-faint);
	font-family: "Space Mono", ui-monospace, monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-align: center;
	text-transform: uppercase;
	transition: opacity 0.35s ease;
}

.bolaonesha-app .bolaonesha-bolao-area.is-torn .bolaonesha-ticket-submit,
.bolaonesha-app .bolaonesha-bolao-area.is-torn .bolaonesha-urna-label {
	opacity: 0;
	pointer-events: none;
}

.bolaonesha-app .bolaonesha-bolao-area.is-collapsed {
	display: none;
}

.bolaonesha-app .bolaonesha-feedback {
	margin-top: 18px;
	padding: 14px 16px;
	border: 1px solid var(--bn-border);
	border-radius: 8px;
	background: var(--bn-card);
}

.bolaonesha-app .bolaonesha-feedback-title {
	margin-bottom: 8px;
	color: var(--bn-muted);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.bolaonesha-app .bolaonesha-feedback-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--bn-border);
	color: var(--bn-muted);
	font-size: 13px;
}

.bolaonesha-app .bolaonesha-feedback-row:last-child {
	border-bottom: 0;
}

.bolaonesha-app .bolaonesha-feedback-row strong {
	color: var(--bn-text);
	font-size: 13px;
	text-align: right;
}

.bolaonesha-app .bolaonesha-feedback-row.is-bonus strong {
	color: #1e4d8c;
}

.bolaonesha-app .bolaonesha-results {
	width: 100%;
	margin-top: 12px;
}

.bolaonesha-app .bolaonesha-log-title {
	margin-bottom: 8px;
	color: var(--bn-faint);
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
}

.bolaonesha-app .bolaonesha-log-empty {
	color: var(--bn-faint);
	font-size: 12px;
	font-style: italic;
	text-align: center;
}

.bolaonesha-app .bolaonesha-log-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	padding: 8px 10px;
	border: 2px solid var(--bn-ink);
	border-radius: 0;
	background: var(--bn-card);
	box-shadow: 3px 3px 0 var(--bn-ink);
	font-size: 13px;
	animation: bolaonesha-fade-in 0.25s ease;
}

.bolaonesha-app .bolaonesha-log-num {
	color: var(--bn-faint);
	font-size: 11px;
	font-weight: 900;
}

.bolaonesha-app .bolaonesha-log-tier {
	color: var(--bn-muted);
	font-size: 11px;
}

.bolaonesha-app .bolaonesha-log-drop {
	margin-left: auto;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 900;
	white-space: nowrap;
}

.bolaonesha-app .bolaonesha-log-drop.is-win {
	background: var(--bn-green-bg);
	color: #2d6a4f;
}

.bolaonesha-app .bolaonesha-log-drop.is-miss {
	background: #f0ede6;
	color: var(--bn-faint);
}

.bolaonesha-app .bolaonesha-code {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	padding-top: 6px;
	border-top: 1px solid var(--bn-border);
}

.bolaonesha-app .bolaonesha-code code {
	padding: 2px 6px;
	border-radius: 0;
	background: #f0ede6;
	color: var(--bn-text);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px;
	border: 1px solid var(--bn-ink);
}

.bolaonesha-app .bolaonesha-copy {
	min-height: 28px;
	padding: 3px 9px;
	border: 2px solid var(--bn-ink);
	border-radius: 0;
	background: var(--bn-card);
	color: var(--bn-ink);
	cursor: pointer;
	font-size: 12px;
	font-weight: 900;
	box-shadow: 2px 2px 0 var(--bn-ink);
	transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.bolaonesha-app .bolaonesha-copy:hover {
	transform: translate(-1px, -1px);
	box-shadow: 3px 3px 0 var(--bn-ink);
}

.bolaonesha-app .bolaonesha-copy:active {
	transform: translate(1px, 1px);
	box-shadow: 1px 1px 0 var(--bn-ink);
}

.bolaonesha-app .bolaonesha-copy:focus {
	outline: 2px solid var(--bn-ink);
	outline-offset: 2px;
}

.bolaonesha-app .bolaonesha-prize-panel {
	display: grid;
	gap: 16px;
	width: 100%;
	padding: 28px 24px;
	border: 3px solid var(--bn-ink);
	border-radius: 0;
	background: var(--bn-lime);
	box-shadow: 8px 8px 0 var(--bn-ink);
	text-align: center;
	animation: bolaonesha-fade-in 0.3s ease;
}

.bolaonesha-app .bolaonesha-prize-kicker {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--bn-ink);
}

.bolaonesha-app .bolaonesha-prize-label {
	font-family: "Archivo Black", "Archivo", sans-serif;
	font-size: clamp(1.3rem, 4vw, 2rem);
	font-weight: 900;
	color: var(--bn-ink);
	line-height: 1.1;
}

.bolaonesha-app .bolaonesha-prize-code-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 16px;
	border: 2px solid var(--bn-ink);
	border-radius: 0;
	background: var(--bn-paper);
}

.bolaonesha-app .bolaonesha-prize-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--bn-ink);
	user-select: all;
}

.bolaonesha-app .bolaonesha-prize-continue {
	width: 100%;
	padding: 0.75rem 1.2rem;
	border: 2px solid var(--bn-ink);
	border-radius: 0;
	background: var(--bn-ink);
	color: var(--bn-lime);
	font-family: "Archivo Black", "Archivo", sans-serif;
	font-size: 0.85rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
	transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.bolaonesha-app .bolaonesha-prize-continue:hover {
	transform: translate(-1px, -1px);
	box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.3);
}

.bolaonesha-app .bolaonesha-prize-continue:active {
	transform: translate(1px, 1px);
	box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.bolaonesha-app .bolaonesha-registered {
	display: grid;
	gap: 2px;
	margin-top: 16px;
	padding: 14px 16px;
	border: 1px solid #a8d5bc;
	border-radius: 8px;
	background: var(--bn-green-bg);
	color: #2d6a4f;
	text-align: center;
	animation: bolaonesha-shake 0.35s ease;
}

.bolaonesha-app .bolaonesha-registered strong {
	font-size: 16px;
}

.bolaonesha-app .bolaonesha-registered span {
	font-size: 13px;
}

@keyframes bolaonesha-rise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bolaonesha-slide-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bolaonesha-blink {
	0%,
	49% {
		opacity: 1;
	}
	50%,
	100% {
		opacity: 0;
	}
}

@keyframes bolaonesha-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes bolaonesha-skeleton {
	from {
		background-position: 200% 0;
	}
	to {
		background-position: -200% 0;
	}
}

@keyframes bolaonesha-fade-in {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes bolaonesha-shake {
	0%,
	100% {
		transform: none;
	}
	25% {
		transform: translateX(-4px) rotate(-1deg);
	}
	75% {
		transform: translateX(4px) rotate(1deg);
	}
}

@media (max-width: 820px) {
	.bolaonesha-app .bolaonesha-checkout {
		grid-template-columns: 1fr;
		gap: 38px;
		align-items: start;
	}

	.bolaonesha-app .bolaonesha-kicker {
		margin-bottom: 28px;
	}

	.bolaonesha-app .bolaonesha-form-board {
		box-shadow:
			10px 10px 0 var(--bn-ink),
			18px 18px 0 var(--bn-lime);
	}
}

@media (max-width: 520px) {
	.bolaonesha-app .bolaonesha-form-board {
		padding: 24px 16px;
	}

	.bolaonesha-app .bolaonesha-input-shell {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 8px;
		padding: 10px;
	}

	.bolaonesha-app .bolaonesha-field-icon,
	.bolaonesha-app .bolaonesha-input-search {
		height: 50px;
	}

	.bolaonesha-app .bolaonesha-input-search {
		padding: 0 10px;
		font-size: 15px;
	}

	.bolaonesha-app .bolaonesha-order-input {
		font-size: 21px;
	}

	.bolaonesha-app .bolaonesha-fake-placeholder {
		padding: 0 10px;
		font-size: 21px;
	}

	.bolaonesha-app .bolaonesha-eligibility strong {
		font-size: 17px;
	}

	.bolaonesha-app .bolaonesha-turnstile-frame {
		min-height: 70px;
	}

	.bolaonesha-app .bolaonesha-ticket {
		--bn-ticket-stub-width: clamp(5.5rem, 22%, 7rem);
		--bn-ticket-hole-period: 0.82rem;
	}

	.bolaonesha-app .bolaonesha-ticket-brand-row {
		padding: 0.55rem 0.7rem;
		gap: 0.5rem;
	}

	.bolaonesha-app .bolaonesha-ticket-content {
		padding: 0.55rem 0.6rem 0.7rem;
	}

	.bolaonesha-app .bolaonesha-ticket-bet-grid {
		gap: 0.55rem 0.7rem;
	}

	.bolaonesha-app .bolaonesha-ticket-bet {
		gap: 0.35rem;
	}

	.bolaonesha-app .bolaonesha-ticket-bet-label {
		font-size: 0.62rem;
		letter-spacing: 0.01em;
	}

	.bolaonesha-app .bolaonesha-ticket-bet-input {
		width: 4.25rem;
		height: 2.75rem;
		font-size: 1.15rem;
		box-shadow: 3px 3px 0 var(--bn-ink);
	}

	.bolaonesha-app .bolaonesha-ticket-bet-select-input {
		height: 2.75rem;
		font-size: 0.82rem;
		padding: 0 1.9rem 0 0.65rem;
		box-shadow: 3px 3px 0 var(--bn-ink);
	}

	.bolaonesha-app .bolaonesha-ticket-bet-hint {
		max-width: 9rem;
		font-size: 0.6rem;
		line-height: 1.25;
	}

	.bolaonesha-app .bolaonesha-ticket-orderid {
		padding: 0.22rem 0.45rem 0.28rem;
		box-shadow: 1.5px 1.5px 0 var(--bn-ink);
	}

	.bolaonesha-app .bolaonesha-ticket-orderid-label {
		font-size: 0.44rem;
		letter-spacing: 0.16em;
	}

	.bolaonesha-app .bolaonesha-ticket-orderid-code {
		font-size: 0.62rem;
	}

	.bolaonesha-app .bolaonesha-ticket-stub-header {
		padding: 0.5rem 0.3rem;
	}

	.bolaonesha-app .bolaonesha-ticket-stub-body {
		padding: 0.5rem 0.3rem 0.6rem;
		gap: 0.4rem;
	}

	.bolaonesha-app .bolaonesha-ticket-stub-logo {
		width: 2.4rem;
		height: 1.7rem;
	}

	.bolaonesha-app .bolaonesha-ticket-stub-number-value {
		font-size: 1.15rem;
	}

	.bolaonesha-app .bolaonesha-ticket-stub-number-label {
		font-size: 0.6rem;
		letter-spacing: 0.16em;
	}

	.bolaonesha-app .bolaonesha-ticket-stub-summary {
		display: none;
	}

	.bolaonesha-app .bolaonesha-ticket-stub-body {
		gap: 0.45rem;
		padding: 0.55rem 0.3rem 0.7rem;
	}

	.bolaonesha-app .bolaonesha-ticket-stub-serial {
		flex: 1 1 auto;
		justify-content: center;
		gap: 0.25rem;
	}

	.bolaonesha-app .bolaonesha-ticket-stub-datamatrix {
		max-width: min(4.2rem, 100%);
	}

	.bolaonesha-app .bolaonesha-ticket-stub-code {
		font-size: 0.6rem;
		letter-spacing: 0.04em;
	}

	.bolaonesha-app .bolaonesha-ticket-submit {
		padding: 0.85rem 1rem;
		box-shadow: 6px 6px 0 var(--bn-ink);
	}

	.bolaonesha-app .bolaonesha-ticket-submit:hover:not(:disabled) {
		box-shadow: 8px 8px 0 var(--bn-ink);
	}

	.bolaonesha-app .bolaonesha-ticket-submit:active:not(:disabled) {
		box-shadow: 4px 4px 0 var(--bn-ink);
	}
}

@media (max-width: 360px) {
	.bolaonesha-app .bolaonesha-input-shell {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 8px;
		padding: 10px;
	}

	.bolaonesha-app .bolaonesha-field-icon,
	.bolaonesha-app .bolaonesha-input-search {
		height: 48px;
	}

	.bolaonesha-app .bolaonesha-input-search {
		font-size: 14px;
	}

	.bolaonesha-app .bolaonesha-order-input {
		font-size: 19px;
	}

	.bolaonesha-app .bolaonesha-fake-placeholder {
		font-size: 19px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bolaonesha-app *,
	.bolaonesha-app *::before,
	.bolaonesha-app *::after {
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 1ms !important;
	}
}

.bolaonesha-log-item.is-publi .bolaonesha-log-publi-chip {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #282828;
	color: #ffd34a;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.05em;
}

.bolaonesha-publi-ilustrativo {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px dashed #bbb;
	color: #6a6257;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.bolaonesha-publi-counter-notice {
	margin: 6px 0 0;
	font-size: 0.78rem;
	line-height: 1.35;
	color: #6a6257;
	text-align: center;
	letter-spacing: 0.01em;
}

.bolaonesha-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 20px);
    z-index: 9999;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(24, 24, 24, 0.95);
    color: #ffd34a;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease, transform .24s ease;
}

.bolaonesha-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
