/* ABAB Core · pagina Supportaci e macchinetta del caffè.
   Layout: una colonna stretta come lo sfogatoio; la macchinetta è l'oggetto protagonista, tutto il resto sta zitto.
   Look unico e voluto: giallo segnaletico ABAB, inchiostro nero, carta. Non segue il tema chiaro/scuro. */
.abab-sup {
	--yellow: #FBDA5A;
	--yellow-deep: #D9B630;
	--ink: #1D1B16;
	--ink-2: #2E2A1F;
	--paper: #FFFBEA;
	--muted: #3A372E;
	--red: #B3241B;
	--lcd: #0E0D0A;
	--lcd-text: #FBDA5A;
	--metal: #8C877A;
	--metal-light: #C9C4B5;
	--glass: rgba(255, 251, 234, .14);
	--f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--f-body: 'Barlow', system-ui, sans-serif;
	--f-lcd: 'VT323', 'Courier New', monospace;
	color-scheme: light;
}
.abab-sup * { box-sizing: border-box; }
.abab-sup {
	margin: 0;
	background: var(--yellow);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.45;
	padding: 0;
	text-align: left;
}
.abab-sup .wrap { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.abab-sup p { margin: 0; }
.abab-sup h1, .abab-sup h2, .abab-sup h3 { margin: 0; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .95; text-wrap: balance; }
.abab-sup h1 { font-size: clamp(44px, 12vw, 64px); }
.abab-sup h2 { font-size: 32px; }
.abab-sup button { font: inherit; color: inherit; cursor: pointer; }
.abab-sup button:focus-visible, .abab-sup a:focus-visible, .abab-sup textarea:focus-visible, .abab-sup input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Testata */
.abab-sup .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--ink); padding-bottom: 12px; }
.abab-sup .logo { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: 1px; }
.abab-sup .proto { font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border: 2px dashed var(--ink); padding: 4px 8px; transform: rotate(-2deg); background: var(--paper); }
.abab-sup .hero { display: flex; flex-direction: column; gap: 14px; }
.abab-sup .lead { font-size: 18px; max-width: 34em; }
.abab-sup .ways { display: flex; gap: 10px; flex-wrap: wrap; }
.abab-sup .way { flex: 1 1 200px; display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); background: var(--paper); border: 2.5px solid var(--ink); border-radius: 6px; box-shadow: 4px 4px 0 var(--ink); padding: 10px 12px; font-family: var(--f-display); font-weight: 800; font-size: 19px; text-transform: uppercase; line-height: 1.05; }
.abab-sup .way span.n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }

.abab-sup .kicker { font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.abab-sup .section { display: flex; flex-direction: column; gap: 14px; }

/* 1 · Condividi */
.abab-sup .msgs { display: flex; flex-direction: column; gap: 12px; }
.abab-sup .msg { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 6px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.abab-sup .msg-for { font-family: var(--f-display); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; }
.abab-sup .msg-text { font-size: 16px; }
.abab-sup .msg-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.abab-sup .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 4px; background: var(--yellow); color: var(--ink); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; }
.abab-sup .btn:hover { background: var(--ink); color: var(--yellow); }
.abab-sup .btn-dark { background: var(--ink); color: var(--yellow); }
.abab-sup .btn-dark:hover { background: #000; }
.abab-sup .note { font-size: 14px; color: var(--muted); }
.abab-sup .sup-what { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 6px; padding: 14px 16px; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 8px; }
.abab-sup .sup-what p { margin: 0; }
.abab-sup .sup-what-main { font-size: 17px; line-height: 1.45; }
.abab-sup .sup-what-test { font-size: 15px; line-height: 1.45; padding-top: 8px; border-top: 2px dashed var(--ink); }

/* 2 · La macchinetta */
.abab-sup .machine-wrap { display: flex; justify-content: center; }
.abab-sup .machine {
	position: relative; width: min(100%, 420px);
	background: var(--ink); color: var(--paper);
	border-radius: 20px 20px 10px 10px;
	padding: 14px 14px 18px;
	box-shadow: 10px 10px 0 var(--yellow-deep), inset 0 0 0 3px #000;
	display: flex; flex-direction: column; gap: 12px;
}
.abab-sup .machine::after { /* piedini */
	content: ""; position: absolute; left: 22px; right: 22px; bottom: -10px; height: 10px;
	background: linear-gradient(90deg, #000 0 34px, transparent 34px calc(100% - 34px), #000 calc(100% - 34px));
	border-radius: 0 0 4px 4px;
}
.abab-sup .crown { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 2px 4px 0; }
.abab-sup .crown-logo { font-family: var(--f-display); font-weight: 800; font-size: 30px; color: var(--yellow); letter-spacing: 2px; }
.abab-sup .crown-sub { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--metal-light); text-align: right; }

.abab-sup .lcd {
	background: var(--lcd); border: 3px solid #000; border-radius: 6px;
	box-shadow: inset 0 0 18px rgba(251, 218, 90, .12);
	padding: 8px 12px; min-height: 76px;
	font-family: var(--f-lcd); color: var(--lcd-text); font-size: 25px; line-height: 1.05;
	text-shadow: 0 0 6px rgba(251, 218, 90, .45);
	display: flex; flex-direction: column; justify-content: center; gap: 2px;
	text-transform: uppercase; letter-spacing: .5px;
}
.abab-sup .lcd-2 { color: #E9C850; font-size: 22px; white-space: pre; overflow: hidden; }
.abab-sup .cursor { display: inline-block; width: .55em; animation: abab-sup-blink 1s steps(1) infinite; }
@keyframes abab-sup-blink { 50% { opacity: 0; } }

.abab-sup .menu { background: var(--paper); color: var(--ink); border-radius: 6px; border: 3px solid #000; padding: 6px; display: flex; flex-direction: column; gap: 4px; max-height: 330px; overflow-y: auto; overscroll-behavior: contain; }
.abab-sup .menu-head { display: flex; justify-content: space-between; font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 4px 6px 2px; }
.abab-sup .item {
	position: relative; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px;
	width: 100%; text-align: left; border: 2px solid transparent; border-radius: 4px; background: transparent;
	padding: 6px; min-height: 46px;
}
.abab-sup .item:hover { border-color: var(--ink); }
.abab-sup .item.is-on { background: var(--yellow); border-color: var(--ink); }
.abab-sup .key { width: 34px; height: 34px; border-radius: 5px; background: var(--ink); color: var(--yellow); display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-lcd); font-size: 22px; box-shadow: inset 0 -3px 0 #000; }
.abab-sup .item-name { font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.05; min-width: 0; }
.abab-sup .item-price { font-family: var(--f-display); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.abab-sup .item.is-out .item-name, .abab-sup .item.is-out .item-price { text-decoration: line-through; color: var(--muted); }
.abab-sup .postit {
	position: absolute; right: 54px; top: 50%; transform: translateY(-50%) rotate(-6deg);
	background: #FFF27A; color: var(--ink); border: 1px solid rgba(0,0,0,.25); box-shadow: 2px 2px 0 rgba(0,0,0,.2);
	font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; line-height: 1; padding: 5px 8px; pointer-events: none;
}

.abab-sup .plate { background: var(--ink-2); border: 2px solid #000; border-radius: 6px; padding: 10px 12px; min-height: 64px; color: var(--paper); font-size: 15px; line-height: 1.35; display: flex; flex-direction: column; gap: 8px; }
.abab-sup .plate strong { font-family: var(--f-display); font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; color: var(--yellow); }
.abab-sup .confirm-row { display: flex; gap: 8px; flex-wrap: wrap; }
.abab-sup .confirm-row .btn { min-height: 40px; font-size: 15px; }

.abab-sup .pay { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.abab-sup .slot { position: relative; width: 70px; height: 88px; border-radius: 8px; background: linear-gradient(160deg, var(--metal-light), var(--metal)); border: 2px solid #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: visible; }
.abab-sup .slot-hole { width: 8px; height: 34px; background: #000; border-radius: 4px; box-shadow: inset 0 0 0 2px #3a3a3a; }
.abab-sup .slot-label { font-family: var(--f-display); font-weight: 700; font-size: 11px; letter-spacing: .1em; color: var(--ink); }
.abab-sup .coin { position: absolute; top: -34px; left: 50%; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F7E08A, #C9A13A 60%, #8C6A1A); border: 2px solid #6b5212; display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 800; font-size: 13px; color: #4b3a0c; animation: abab-sup-coinIn .5s ease-in forwards; }
.abab-sup .coin.bill { width: 52px; height: 26px; margin-left: -26px; border-radius: 3px; background: #9FC7A6; border-color: #3E6B47; color: #1f3a25; font-size: 12px; }
.abab-sup .coin.card { width: 52px; height: 32px; margin-left: -26px; border-radius: 4px; background: linear-gradient(135deg, #2E2A1F, #000); border-color: #000; color: var(--yellow); font-size: 9px; letter-spacing: .05em; }
@keyframes abab-sup-coinIn { 0% { transform: translateY(-20px) rotate(0); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(48px) rotate(90deg) scaleX(.25); opacity: 1; } 100% { transform: translateY(56px) rotate(90deg) scaleX(.15); opacity: 0; } }
.abab-sup .pay-side { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.abab-sup .insert { min-height: 56px; border: 3px solid #000; border-radius: 6px; background: var(--yellow); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: .03em; box-shadow: inset 0 -4px 0 var(--yellow-deep); }
.abab-sup .insert:disabled { background: #6E6A5E; color: #2b2920; box-shadow: none; cursor: not-allowed; }
.abab-sup .insert:not(:disabled):active { transform: translateY(2px); box-shadow: inset 0 -2px 0 var(--yellow-deep); }
.abab-sup .sticker { align-self: flex-start; transform: rotate(-3deg); background: var(--paper); color: var(--red); border: 2px solid var(--red); font-family: var(--f-display); font-weight: 800; font-size: 12px; letter-spacing: .1em; padding: 2px 6px; text-transform: uppercase; }

.abab-sup .bay { position: relative; height: 210px; border-radius: 8px; background: radial-gradient(ellipse at 50% 30%, #3a352a, #0b0a08 70%); border: 3px solid #000; overflow: hidden; }
.abab-sup .bay.is-ready { box-shadow: inset 0 0 30px rgba(251, 218, 90, .35); }
.abab-sup .bay-label { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: 11px; letter-spacing: .14em; color: var(--metal); text-transform: uppercase; }
.abab-sup .nozzle { position: absolute; top: 0; left: 50%; width: 46px; height: 16px; margin-left: -23px; background: var(--metal); border-radius: 0 0 8px 8px; border: 2px solid #000; border-top: 0; }
.abab-sup .stream { position: absolute; top: 16px; left: 50%; width: 5px; margin-left: -2.5px; height: 0; background: #4a2c17; border-radius: 3px; opacity: 0; }
.abab-sup .stream.is-on { height: 96px; opacity: .9; transition: height .25s ease-out; }
.abab-sup .cupbox { position: absolute; left: 50%; bottom: 22px; width: 150px; height: 130px; margin-left: -75px; transform: translateY(-190px); opacity: 0; transition: transform .55s cubic-bezier(.3, 1.4, .5, 1), opacity .2s; cursor: default; }
.abab-sup .cupbox.is-in { transform: translateY(0); opacity: 1; }
.abab-sup .cupbox.is-take { cursor: pointer; }
.abab-sup .cupbox.is-gone { transform: translateY(-40px) scale(1.15); opacity: 0; transition: transform .45s ease-in, opacity .4s ease-in .1s; }
.abab-sup .cupbox svg { width: 100%; height: 100%; display: block; overflow: visible; }
.abab-sup .liquid { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.abab-sup .foam { opacity: 0; transition: opacity .6s; }
.abab-sup .foam.is-on { opacity: 1; }
.abab-sup .steam path { fill: none; stroke: rgba(255, 251, 234, .55); stroke-width: 3; stroke-linecap: round; opacity: 0; }
.abab-sup .steam.is-on path { animation: abab-sup-steam 2.4s ease-in-out infinite; }
.abab-sup .steam.is-on path:nth-child(2) { animation-delay: .8s; }
.abab-sup .steam.is-on path:nth-child(3) { animation-delay: 1.6s; }
@keyframes abab-sup-steam { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-18px); } }
.abab-sup .door {
	position: absolute; inset: 0; z-index: 3;
	background: linear-gradient(115deg, transparent 0 18%, rgba(255,255,255,.18) 18% 22%, transparent 22% 58%, rgba(255,255,255,.1) 58% 61%, transparent 61%), var(--glass);
	border-bottom: 6px solid var(--metal);
	transition: transform .8s cubic-bezier(.6, 0, .3, 1);
	display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px;
}
.abab-sup .door span { font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .16em; color: rgba(255, 251, 234, .6); text-transform: uppercase; }
.abab-sup .door.is-open { transform: translateY(-100%); }
.abab-sup .take { min-height: 52px; border: 3px solid #000; border-radius: 6px; background: var(--paper); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 20px; text-transform: uppercase; animation: abab-sup-nudge 1.4s ease-in-out infinite; }
@keyframes abab-sup-nudge { 50% { transform: translateY(-3px); } }

/* Il caffè preso */
.abab-sup .reveal { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; animation: abab-sup-pop .6s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes abab-sup-pop { from { opacity: 0; } to { opacity: 1; } }
.abab-sup .topview { width: min(100%, 320px); aspect-ratio: 1; max-width: 100%; }
.abab-sup .topview svg { width: 100%; height: 100%; display: block; }
.abab-sup .art-text { opacity: 0; animation: abab-sup-write 1.4s ease-out .5s forwards; }
.abab-sup .art-text.second { animation-delay: 1.3s; }
@keyframes abab-sup-write { from { opacity: 0; } to { opacity: 1; } }
.abab-sup .art-spin { transform-origin: 150px 150px; }
@keyframes abab-sup-settle { from { transform: rotate(-40deg); } to { transform: rotate(0); } }
.abab-sup .reveal h2 { font-size: 34px; }
.abab-sup .thanks-small { font-size: 16px; color: var(--muted); max-width: 30em; }

/* Condivisione del gesto */
.abab-sup .why { width: 100%; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 6px; box-shadow: 5px 5px 0 var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.abab-sup .why-title { font-family: var(--f-display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.abab-sup .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.abab-sup .chip { border: 2px solid var(--ink); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 15px; line-height: 1.25; text-align: left; min-height: 40px; }
.abab-sup .chip.is-on { background: var(--ink); color: var(--yellow); }
.abab-sup .why textarea { width: 100%; border: 2px solid var(--ink); border-radius: 4px; padding: 10px; font: inherit; font-size: 16px; min-height: 64px; resize: vertical; background: #fff; color: var(--ink); }
.abab-sup .counter { font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.abab-sup .story { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.abab-sup .story img { width: min(100%, 260px); border: 2.5px solid var(--ink); border-radius: 8px; box-shadow: 5px 5px 0 var(--ink); }
.abab-sup .again { background: transparent; border: 0; text-decoration: underline; font-size: 16px; min-height: 44px; }
.abab-sup .status { font-size: 14px; font-weight: 600; min-height: 1.2em; }

.abab-sup footer { border-top: 3px solid var(--ink); padding-top: 14px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }

@media (prefers-reduced-motion: reduce) {
	.abab-sup *, .abab-sup *::before, .abab-sup *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Il tema del sito stila tutti i bottoni (bordo, colore, sfondo al passaggio): qui si riprende il controllo. */
.abab-sup button { text-transform: none; letter-spacing: normal; font-weight: inherit; line-height: inherit; }
.abab-sup button.item, .abab-sup button.item:hover, .abab-sup button.item:focus { background: transparent; color: var(--ink); border-radius: 4px; padding: 6px; font: inherit; }
.abab-sup button.item.is-on, .abab-sup button.item.is-on:hover, .abab-sup button.item.is-on:focus { background: var(--yellow); color: var(--ink); }
.abab-sup button.item:hover { border-color: var(--ink); }
.abab-sup button.item:disabled { cursor: default; }
.abab-sup button.insert, .abab-sup button.insert:hover, .abab-sup button.insert:focus { background: var(--yellow); color: var(--ink); border: 3px solid #000; border-radius: 6px; padding: 0 10px; font-family: var(--f-display); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: .03em; }
.abab-sup button.insert:disabled, .abab-sup button.insert:disabled:hover { background: #6E6A5E; color: #2b2920; }
.abab-sup button.take, .abab-sup button.take:hover, .abab-sup button.take:focus { background: var(--paper); color: var(--ink); border: 3px solid #000; border-radius: 6px; font-family: var(--f-display); font-weight: 800; font-size: 20px; text-transform: uppercase; padding: 0 10px; }
.abab-sup button.btn, .abab-sup a.btn { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 4px; padding: 0 14px; font-family: var(--f-display); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.abab-sup button.btn:hover, .abab-sup a.btn:hover, .abab-sup button.btn:focus-visible { background: var(--ink); color: var(--yellow); }
.abab-sup button.btn-dark, .abab-sup a.btn-dark { background: var(--ink); color: var(--yellow); }
.abab-sup button.btn-dark:hover, .abab-sup a.btn-dark:hover { background: #000; color: var(--yellow); }
.abab-sup button.chip, .abab-sup button.chip:hover, .abab-sup button.chip:focus { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; font-family: var(--f-body); font-size: 15px; }
.abab-sup button.chip.is-on, .abab-sup button.chip.is-on:hover { background: var(--ink); color: var(--yellow); }
.abab-sup button.again, .abab-sup button.again:hover, .abab-sup button.again:focus { background: transparent; color: var(--ink); border: 0; text-decoration: underline; padding: 0 6px; }
.abab-sup a.way, .abab-sup a.way:hover { color: var(--ink); text-decoration: none; }
.abab-sup a.way:hover { background: #fff; }
.abab-sup h1, .abab-sup h2 { color: var(--ink); }
.abab-sup .demo-badge { align-self: center; transform: rotate(-2deg); background: var(--paper); color: var(--ink); border: 2px dashed var(--yellow); font-family: var(--f-display); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; }
.abab-sup .story-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.abab-sup .crown { flex-wrap: wrap; }
.abab-sup .pay-note { font-size: 13px; color: var(--metal-light); }

/* Messaggi regionali */
.abab-sup .region { display: flex; flex-direction: column; gap: 6px; background: var(--ink); color: var(--paper); border-radius: 6px; padding: 12px 14px; }
.abab-sup .region-label { font-family: var(--f-display); font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; color: var(--yellow); }
.abab-sup .region-select { width: 100%; min-height: 46px; border: 2px solid var(--yellow); border-radius: 4px; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16px; padding: 0 10px; }
.abab-sup .region-note { font-size: 13px; color: var(--metal-light); }
.abab-sup .region-note .region-mail { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.abab-sup .seg { display: flex; flex-wrap: wrap; gap: 0; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; align-self: flex-start; }
.abab-sup .seg-btn { min-height: 38px; padding: 0 14px; border: 0; border-right: 2px solid var(--ink); background: #fff; color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.abab-sup .seg-btn:last-child { border-right: 0; }
.abab-sup .seg-btn.is-on { background: var(--ink); color: var(--yellow); }
.abab-sup .msg-note { font-size: 13px; color: var(--muted); font-style: italic; }
.abab-sup button.seg-btn, .abab-sup button.seg-btn:hover, .abab-sup button.seg-btn:focus { background: #fff; color: var(--ink); border: 0; border-right: 2px solid var(--ink); border-radius: 0; padding: 0 14px; font-family: var(--f-display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.abab-sup button.seg-btn:last-child { border-right: 0; }
.abab-sup button.seg-btn.is-on, .abab-sup button.seg-btn.is-on:hover { background: var(--ink); color: var(--yellow); }

.abab-sup .why-input { width: 100%; min-height: 46px; border: 2px solid var(--ink); border-radius: 4px; padding: 0 12px; font-family: var(--f-body); font-size: 16px; background: #fff; color: var(--ink); }
.abab-sup .why-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.abab-sup .toast { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--yellow); font-family: var(--f-display); font-weight: 800; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; box-shadow: 3px 3px 0 rgba(0,0,0,.2); opacity: 0; }
.abab-sup .toast.is-on { animation: abab-sup-toast 1.8s ease forwards; }
@keyframes abab-sup-toast { 0% { opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
.abab-sup .story-hint { text-align: center; max-width: 30em; }
.abab-sup a.again { color: var(--ink); display: inline-flex; align-items: center; }
.abab-sup a.again, .abab-sup a.again:hover { color: var(--ink); text-decoration: underline; font-size: 16px; min-height: 44px; }

/* 1.9.3 · i motivi lunghi vanno a capo invece di uscire dal riquadro */
.abab-sup .chip, .abab-sup button.chip { white-space: normal; max-width: 100%; height: auto; overflow-wrap: anywhere; text-align: left; line-height: 1.25; }
.abab-sup .why, .abab-sup .why * { box-sizing: border-box; }
.abab-sup .sup-rm { margin-top: 10px; font-size: 16px; }
.abab-sup .sup-rm a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
