/* Zodiaco Fragrante — stile pubblico */
:root {
  --notte: #070A18;
  --notte-2: #0E1430;
  --neb-a: #2A1F5C;
  --neb-b: #08615E;
  --petrolio: #08615E;
  --brace: #F06A2B;
  --stella: #F6C453;
  --ghiaccio: #B9DCE3;
  --farina: #FFFDF7;
  --fumo: #BAC4D4;
  --inchiostro: #12302F;
  --stagione: var(--ghiaccio);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0; background: var(--notte); color: var(--farina);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 17px; line-height: 1.6; font-weight: 300;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
body[data-season="estate"] { --stagione: var(--stella); }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--stella); outline-offset: 3px; border-radius: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  padding: 1em 1.8em; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--brace); color: var(--farina);
  box-shadow: 0 10px 30px -10px rgba(240, 106, 43, .7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--farina); box-shadow: inset 0 0 0 2px rgba(255, 253, 247, .35); }
.btn.small { font-size: .92rem; padding: .7em 1.2em; }

/* ---------- galassia ---------- */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(55% 45% at 80% 12%, color-mix(in srgb, var(--neb-a) 75%, transparent), transparent 72%),
    radial-gradient(48% 42% at 8% 78%, color-mix(in srgb, var(--neb-b) 55%, transparent), transparent 72%),
    radial-gradient(40% 30% at 48% 52%, color-mix(in srgb, var(--neb-a) 30%, transparent), transparent 70%),
    radial-gradient(30% 20% at 30% 20%, color-mix(in srgb, var(--neb-b) 25%, transparent), transparent 70%),
    var(--notte);
}
.sky::before, .sky::after {
  content: ""; position: absolute; inset: -50%;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 140px 80px, #fffc 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 90px 160px, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 200px 190px, #fff9 50%, transparent 51%),
    radial-gradient(1px 1px at 60px 220px, #fffa 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 230px 40px, #fff 50%, transparent 51%);
  background-size: 260px 260px;
  opacity: .7;
}
.sky::after { background-size: 410px 410px; opacity: .45; transform: rotate(17deg); animation: drift 240s linear infinite; }
@keyframes drift { to { transform: rotate(17deg) translate(-410px, 0); } }

/* ---------- ruota ---------- */
.wheel { width: 100%; height: auto; overflow: visible; }
.wheel .w-ring { fill: none; stroke: rgba(255, 253, 247, .22); stroke-width: 1; }
.wheel .w-ring-in { stroke-dasharray: 2 6; }
.wheel .w-tick { stroke: rgba(255, 253, 247, .22); stroke-width: 1; }
.wheel .w-num { fill: color-mix(in srgb, var(--stagione) 85%, white); font: 800 26px "Roboto Slab", serif; text-anchor: middle; }
.wheel .w-name { fill: var(--fumo); font: 400 11.5px "Roboto Slab", serif; text-anchor: middle; }
.wheel .wheel-rot { transform-origin: 0 0; }
.wheel.spin-slow .wheel-rot { animation: wheel 160s linear infinite; }
@keyframes wheel { to { transform: rotate(360deg); } }

/* ---------- home ---------- */
.hero {
  min-height: 100svh; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem;
  padding: 3rem clamp(1.2rem, 5vw, 5rem); max-width: 1400px; margin: 0 auto;
}
.hero h1 {
  font-size: clamp(3.2rem, 9vw, 7.8rem); line-height: .9; font-weight: 800; margin: 0 0 .3em;
  letter-spacing: -.035em;
}
.hero h1 span { display: block; font-weight: 300; letter-spacing: -.02em; color: var(--stagione); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 26ch; color: var(--fumo); margin: 0 0 2rem; }
.hero .brand { font-weight: 400; color: var(--fumo); margin: 0 0 2.4rem; display: flex; align-items: center; gap: .6em; font-size: 1.25rem; }
.hero .brand b { color: var(--farina); font-weight: 700; }
.orbit { position: relative; aspect-ratio: 1; max-width: 640px; width: 100%; justify-self: center; }
.orbit .sun {
  position: absolute; inset: 26%; border-radius: 50%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5));
}
.orbit .sun svg { width: 100%; height: 100%; display: block; animation: wheel 90s linear infinite reverse; }

.band { background: var(--farina); color: var(--inchiostro); padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 5vw, 5rem); }
.band-in { max-width: 1100px; margin: 0 auto; }
.band h2, .signs h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5em; max-width: 18ch; }
.band p.intro { font-size: 1.15rem; max-width: 56ch; margin: 0 0 3rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--petrolio); padding-top: 1.2rem; }
.steps li::before { content: counter(s); display: block; font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--petrolio); margin-bottom: .4rem; }
.steps h3 { margin: 0 0 .3em; font-size: 1.2rem; font-weight: 700; }
.steps p { margin: 0; font-size: .98rem; }

.demo { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: center; margin-top: 4rem; }
.demo .pz { width: 220px; height: 220px; }
.demo h3 { font-size: 1.6rem; margin: 0 0 .2em; }
.demo .ings { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.demo .ings li { font-size: .88rem; padding: .3em .8em; border-radius: 999px; background: #E8F1EF; color: var(--petrolio); }
.demo .ings li.neutral { background: transparent; box-shadow: inset 0 0 0 1px #C8D8D5; color: #6B8784; }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; max-width: 460px; }
.bars li { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; gap: .8rem; font-size: .95rem; }
.bars i { display: block; height: 10px; border-radius: 5px; background: #E3ECEA; position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--v); background: var(--petrolio); border-radius: 5px; transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.demo.on .bars i::after { transform: scaleX(1); }
.demo .verdict { margin-top: 1.2rem; font-size: 1.05rem; }
.demo .verdict b { font-weight: 700; color: var(--petrolio); }

.signs { padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 5vw, 5rem); max-width: 1200px; margin: 0 auto; }
.signs p.intro { color: var(--fumo); max-width: 52ch; margin: 0 0 3rem; font-size: 1.1rem; }
.sign-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; border-top: 1px solid rgba(255, 253, 247, .15); }
.sign-grid li { padding: 1.4rem 1.4rem 1.6rem 0; border-bottom: 1px solid rgba(255, 253, 247, .15); display: grid; grid-template-columns: 4.4rem 1fr; gap: .1rem 1rem; align-items: center; }
.sign-grid .cons { grid-row: span 3; width: 4.4rem; height: 4.4rem; }
.sign-grid .n { font-size: .9rem; font-weight: 800; color: var(--sb); }
.sign-grid li { --neb-b: var(--sb); }
.sign-grid h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.sign-grid p { margin: 0; color: var(--fumo); font-size: .95rem; font-style: italic; }

.close { text-align: center; padding: 5rem 1.2rem 6rem; }
.close h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; margin: 0 0 1.4rem; letter-spacing: -.02em; }
.close p { color: var(--fumo); margin: 1.6rem 0 0; font-size: .92rem; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 1.5rem; gap: 0; }
  .orbit { order: -1; max-width: 420px; margin: 0 auto -1rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .demo { grid-template-columns: 1fr; gap: 1.5rem; }
  .demo .pz { width: 180px; height: 180px; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- gioco ---------- */
.game { min-height: 100svh; display: grid; grid-template-rows: auto 1fr; padding: 1.2rem clamp(1rem, 4vw, 2rem) 2rem; max-width: 760px; margin: 0 auto; }
.game-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .92rem; color: var(--fumo); }
.game-top a { text-decoration: none; }
.progress { flex: 1; max-width: 260px; height: 4px; background: rgba(255, 253, 247, .15); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: var(--p, 0%); background: var(--stagione); transition: width .4s ease; }
.stage { display: grid; align-content: center; padding: 2rem 0; }
.q { animation: qin .45s cubic-bezier(.2, .8, .2, 1) both; }
.q.out { animation: qout .25s ease both; }
@keyframes qin { from { opacity: 0; transform: translateY(18px); } }
@keyframes qout { to { opacity: 0; transform: translateY(-12px); } }
.q .count { color: var(--stagione); font-weight: 700; margin: 0 0 .6rem; }
.q h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.12; font-weight: 700; margin: 0 0 1.6rem; letter-spacing: -.015em; }
.answers { display: grid; gap: .7rem; }
.answers button {
  font: inherit; font-size: 1.05rem; text-align: left; color: var(--farina); cursor: pointer;
  background: rgba(255, 253, 247, .06); border: 1px solid rgba(255, 253, 247, .18);
  padding: 1rem 1.2rem; border-radius: 14px; transition: background .15s, border-color .15s, transform .15s;
}
.answers button:hover { background: rgba(255, 253, 247, .11); border-color: rgba(255, 253, 247, .4); }
.answers button.chosen { background: var(--brace); border-color: var(--brace); transform: scale(.985); }
.reading { text-align: center; display: grid; justify-items: center; gap: 1.6rem; }
.reading .wheel-box { width: min(86vw, 440px); position: relative; }
.reading .sun { position: absolute; inset: 27%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
.reading .sun svg { width: 100%; height: 100%; display: block; animation: wheel 6s linear infinite; }
.reading .wheel-box::after { content: ""; position: absolute; left: 50%; top: -6px; transform: translateX(-50%); border: 10px solid transparent; border-top: 16px solid var(--brace); }
.reading p { font-size: 1.2rem; margin: 0; color: var(--fumo); }
.game .error { color: #FFB4A0; }

/* ---------- risultato ---------- */
.result { min-height: 100svh; display: grid; justify-items: center; align-content: start; gap: 1.6rem; padding: 1.4rem 1rem 3rem; }
.result-top { width: 100%; max-width: 980px; display: flex; justify-content: space-between; color: var(--fumo); font-size: .92rem; }
.result-top a { text-decoration: none; }
.result-grid { display: grid; grid-template-columns: auto minmax(0, 380px); gap: 3rem; align-items: center; max-width: 980px; }
.result-side h1 { margin: 0 0 .5em; line-height: 1; letter-spacing: -.015em; }
.result-side h1 .sei { display: block; font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 300; font-style: italic; color: var(--fumo); margin-bottom: .2em; }
.result-side h1 .nome { display: block; font-size: clamp(2.4rem, 6.5vw, 3.6rem); font-weight: 800; color: color-mix(in srgb, var(--neb-b) 75%, white); }
.result-side h2 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; font-weight: 700; }
.result-side .note { font-size: .9rem; color: var(--fumo); margin: .5rem 0 0; }
.result-side .note b { color: var(--farina); }
.result-side p { color: var(--fumo); margin: 0 0 1.4rem; }
.actions { display: grid; gap: .7rem; }
.actions .row { display: flex; gap: .6rem; flex-wrap: wrap; }
.hint { font-size: .9rem; color: var(--fumo); text-align: center; margin: 0; }
@media (max-width: 860px) { .result-grid { grid-template-columns: 1fr; gap: 1.6rem; justify-items: center; } .result-side { text-align: center; } .actions .row { justify-content: center; } }

/* overlay per uscire dal browser di Instagram */
.escape { position: fixed; inset: 0; z-index: 50; background: rgba(4, 29, 28, .94); display: none; padding: 2rem 1.4rem; text-align: center; align-content: center; justify-items: center; gap: 1.2rem; }
.escape.on { display: grid; }
.escape .arrow { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 8px); right: 18px; font-size: 2.4rem; color: var(--stella); animation: nudge 1.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translate(4px, -6px); } }
.escape h2 { margin: 0; font-size: 1.6rem; }
.escape p { margin: 0; color: var(--fumo); max-width: 30ch; }

/* ---------- carta ---------- */
.card-slot { width: min(88vw, 380px); perspective: 1400px; }
.zc { --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; --acc: color-mix(in srgb, var(--neb-b) 70%, white); --ring: var(--ghiaccio); position: relative; aspect-ratio: 5 / 7.2; cursor: pointer; }
.zc[data-season="estate"] { --ring: var(--stella); }
.zc-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip, 0deg))); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.zc.flipped { --flip: 180deg; }
.zc.flipped .zc-in { transform: rotateX(var(--rx)) rotateY(calc(180deg - var(--ry))); }
.zc-face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 22px; overflow: hidden; padding: 1.2rem 1.3rem;
  box-shadow: 0 0 0 1.5px var(--ring), 0 0 0 7px rgba(7, 10, 24, .92), 0 0 0 8px color-mix(in srgb, var(--ring) 50%, transparent), 0 40px 70px -30px rgba(0, 0, 0, .8);
}
.zc-front { background: radial-gradient(90% 55% at 85% 5%, color-mix(in srgb, var(--neb-a) 85%, transparent), transparent 75%), radial-gradient(80% 50% at 0% 100%, color-mix(in srgb, var(--neb-b) 40%, transparent), transparent 75%), var(--notte); display: grid; grid-template-rows: auto auto auto auto 1fr auto; }
.zc-back { transform: rotateY(180deg); background: radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--neb-b) 45%, transparent), transparent 70%), linear-gradient(165deg, color-mix(in srgb, var(--neb-a) 90%, black), var(--notte)); color: var(--farina); display: flex; flex-direction: column; gap: .15rem; }
.zc-sky { width: 46%; height: auto; margin: -.2rem -.3rem 0 0; }
.zc-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.zc-top > div { display: grid; gap: .35rem; justify-items: start; }
.zc-num { font-size: 2.4rem; font-weight: 800; color: var(--acc); line-height: 1; }
.zc-coll { font-size: .72rem; color: var(--fumo); }
.zc-pizza { position: relative; display: grid; place-items: center; margin: -2.2rem 0 .3rem; }
.zc-pz { width: 50%; aspect-ratio: 1; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55)); object-fit: contain; }
.zc-pz svg { width: 100%; height: 100%; display: block; }
.zc-sign { position: relative; text-align: center; margin: 0; font-size: 1.65rem; line-height: 1.1; font-weight: 800; letter-spacing: -.01em; }
.zc-motto { position: relative; text-align: center; margin: .25rem .4rem .5rem; font-size: .88rem; line-height: 1.4; font-style: italic; color: var(--fumo); min-height: 2.5em; }
.zc-stats { position: relative; list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: .28rem; align-content: start; }
.zc-stats li { display: grid; grid-template-columns: 5.6rem 1fr; gap: .6rem; align-items: center; font-size: .78rem; color: var(--fumo); }
.zc-stats i { height: 6px; border-radius: 3px; background: rgba(255, 253, 247, .1); position: relative; overflow: hidden; }
.zc-stats i::after { content: ""; position: absolute; inset: 0; width: var(--v); background: var(--acc); border-radius: 3px; transform-origin: left; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.zc-foot { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; border-top: 1px solid rgba(255, 253, 247, .16); padding-top: .55rem; font-size: .72rem; color: var(--fumo); }
.zc-foot div { display: grid; }
.zc-foot div + div { text-align: right; }
.zc-foot strong { color: var(--farina); font-size: .95rem; font-weight: 700; line-height: 1.2; }
.zc-bignum { position: absolute; right: -.08em; bottom: -.18em; font-size: 9rem; font-weight: 800; line-height: 1; color: rgba(255, 253, 247, .07); pointer-events: none; }
.zc-essence { font-size: .98rem; line-height: 1.5; margin: 0 0 .5rem; font-weight: 400; }
.zc-back h3 { font-size: .78rem; font-weight: 400; color: color-mix(in srgb, var(--acc) 85%, white); margin: .5rem 0 .1rem; }
.zc-back small { color: rgba(255, 253, 247, .6); font-size: .74rem; }
.zc-item { margin-bottom: .2rem; }
.zc-pname { margin: 0; font-weight: 700; font-size: 1.05rem; }
.zc-deal { margin: .7rem 0 0; padding: .5rem .7rem; border: 1.5px dashed color-mix(in srgb, var(--acc) 70%, transparent); border-radius: 10px; font-size: .82rem; }
.zc-deal b { color: var(--brace); font-size: 1.05rem; }
.zc-ingr { margin: 0; font-size: .82rem; line-height: 1.45; color: rgba(255, 253, 247, .85); }
.zc-id { margin-top: auto; font-size: .72rem; color: rgba(255, 253, 247, .55); }
.zc-cover { position: absolute; inset: 0; z-index: 3; overflow: hidden; background: radial-gradient(70% 50% at 50% 30%, color-mix(in srgb, var(--neb-a) 80%, transparent), transparent 75%), var(--notte); justify-items: center; display: none; place-content: center; text-align: center; gap: .4rem; }
.zc-cover-sky { width: 70%; margin: 0 auto -1rem; }
.zc-cover span { font-size: 4.4rem; font-weight: 800; color: var(--acc); line-height: 1; }
.zc-cover em { color: var(--fumo); font-style: normal; }
.zc.covered .zc-cover { display: grid; }
.zc-holo {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .55;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 42%),
    linear-gradient(115deg, transparent 30%, rgba(246, 196, 83, .35) 45%, rgba(185, 220, 227, .35) 55%, transparent 70%);
  background-size: 100% 100%, 250% 250%;
  background-position: 0 0, var(--mx) var(--my);
}
/* rivelazione */
.zc.revealing .zc-stats i::after { transform: scaleX(0); }
.zc.revealing .zc-motto { visibility: hidden; }

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

/* ---------- costellazioni ---------- */
.zc-sky, .cons { overflow: visible; }
.zc-sky .lines line, .cons .lines line, .zc-cover-sky .lines line { stroke: var(--neb-b); stroke-width: .7; stroke-opacity: .75; }
.zc-sky .glow, .cons .glow, .zc-cover-sky .glow { fill: #fff; opacity: .12; }
.zc-sky .star, .cons .star, .zc-cover-sky .star { fill: #fff; animation: twinkle 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.zc-sky .dust, .cons .dust, .zc-cover-sky .dust { fill: #fff; opacity: .4; }
@keyframes twinkle { 50% { opacity: .45; } }

/* ---------- logo e suono ---------- */
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--farina); line-height: 1; }
.logo svg { width: 1.9em; height: 1.9em; flex: none; }
.logo b { font-weight: 800; }
.logo span { font-weight: 300; }
.sound { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 14px; z-index: 40; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,253,247,.25); background: rgba(7,10,24,.55); color: var(--farina); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sound svg { width: 20px; height: 20px; }
.sound .x { display: none; }
.sound.off .x { display: block; }
.sound.off .w { display: none; }

/* ---------- regalo e condivisione (home) ---------- */
.gift { max-width: 1100px; margin: 0 auto; padding: clamp(4rem, 8vw, 6rem) clamp(1.2rem, 5vw, 5rem) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.gift h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5em; }
.gift p { color: var(--fumo); margin: 0 0 1rem; max-width: 46ch; }
.gift p b { color: var(--farina); font-weight: 700; }
@media (max-width: 860px) { .gift { grid-template-columns: 1fr; } }

/* biglietto del buono */
.ticket { --cut: 12px; position: relative; display: grid; grid-template-columns: auto 1fr; width: min(88vw, 380px); color: var(--inchiostro); filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.ticket .stub, .ticket .body { background: var(--farina); }
.ticket .stub { padding: 1.1rem 1rem; display: grid; place-content: center; text-align: center; border-radius: 16px 0 0 16px; background: var(--brace); color: var(--farina); }
.ticket .stub strong { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.ticket .stub small { font-size: .78rem; }
.ticket .body { padding: 1rem 1.1rem; border-radius: 0 16px 16px 0; border-left: 2px dashed #C7C1B2; display: grid; gap: .5rem; align-content: center; }
.ticket .body p { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--inchiostro); }
.ticket .code { font-size: 1.5rem; font-weight: 800; letter-spacing: .06em; color: var(--petrolio); }
.ticket .code.hide { filter: blur(6px); user-select: none; }
.ticket .tear { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: .65rem 1rem; background: var(--inchiostro); color: var(--farina); cursor: pointer; }
.ticket .tear:hover { background: var(--petrolio); }
.ticket .small { font-size: .78rem; color: #5F6B6A; }
.ticket.torn { animation: tear .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes tear { 0% { transform: none; } 30% { transform: translateY(6px) rotate(-1.5deg); } 60% { transform: translateY(16px) rotate(2.5deg); } 100% { transform: translateY(10px) rotate(-1deg); } }
.ticket.used .stub { background: #8A8F99; }

/* segno appena uscito sulla ruota */
.wheel g.hit .w-num { fill: var(--brace); }
.wheel g.hit .w-name { fill: var(--farina); font-weight: 700; }
.reading #readTxt { min-height: 3.2rem; }
.reading .sei { font-style: italic; font-weight: 300; color: var(--fumo); }
.reading .nome { font-weight: 800; font-size: 1.9rem; color: color-mix(in srgb, var(--neb-b) 70%, white); animation: qin .5s cubic-bezier(.2,.8,.2,1) both; display: inline-block; }
.game-top .logo, .result-top .logo { font-size: .95rem; }
.result-top { align-items: center; padding-right: 54px; }
.game-top { padding-right: 54px; }

.btn .ig { width: 1.25em; height: 1.25em; flex: none; }
