/* Rizzo’s Club — interfaccia 2026. Solo presentazione: dati e flussi restano nell’app. */
/* Qui: colori, pezzi di base, ingresso, registrazione, tessera del profilo, pannelli della gestione.
   Il telaio e i pezzi comuni delle pagine (intestazione, schede, righe, moduli) stanno in club.css. */
:root {
  --surface: #f5f4f0;
  --surface-raised: #fff;
  --ink: #162237;
  --ink-soft: #606b7a;
  --gold: #b59456;
  --gold-light: #ead9b0;
  --oro: #816129;
  --oro-hover: #dcc58f;
  --scheda: #fff;
  --filetto: rgba(22, 34, 55, .12);
  --filetto-chiaro: rgba(22, 34, 55, .14);
  --shadow: 0 8px 30px rgba(22, 34, 55, .035);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
html { background: var(--surface); scroll-padding-top: 24px; }
body {
  padding: 0;
  background: radial-gradient(ellipse at 85% 0%, #ebe7dd 0, transparent 48%), var(--surface);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
button, input, select, textarea { font-family: var(--sans); }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3 { color: var(--ink); font-family: var(--sans); letter-spacing: -.035em; }
h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 650; }
h2 { font-size: 22px; font-weight: 650; }
p { color: var(--ink-soft); line-height: 1.65; }
a.link, .spunta a { color: #795922; text-underline-offset: 3px; }
::selection { color: var(--ink); background: #ead9b0; }
:focus-visible { outline: 3px solid #947130; outline-offset: 4px; }
.app { max-width: 1040px; padding: calc(30px + env(safe-area-inset-top)) 28px calc(122px + env(safe-area-inset-bottom)); }
.pagina { max-width: 520px; padding: calc(44px + env(safe-area-inset-top)) 24px calc(52px + env(safe-area-inset-bottom)); }

.brand-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-symbol { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid rgba(181, 148, 86, .48); border-radius: 50%; color: #7f632f; font: italic 29px var(--serif); background: linear-gradient(140deg, #fffdf7, #e9dfcb); box-shadow: 0 3px 8px #16223708; }
.brand-symbol > span { font-size: 17px; margin-left: -2px; margin-top: 10px; }

.brand-caption { display: block; color: #737a84; font-size: 9px; letter-spacing: .19em; line-height: 1.6; margin-top: 4px; text-transform: uppercase; }
.header-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 10px 15px; border: 1px solid rgba(22,34,55,.09); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.7); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-action svg { width: 15px; height: 15px; }
.eyebrow, .occhiello { display: block; color: #7f632f; font-size: 10px; font-weight: 650; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }

.profile-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: start; gap: 32px; }
.profile-main, .profile-side { min-width: 0; }
/* La tessera ha una superficie blu con riflessi oro: nessuna immagine remota. */
.member-pass { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; width: 100%; min-height: 278px; overflow: hidden; border: 1px solid #ffffff26; border-radius: 28px; padding: 26px 28px 24px; background: radial-gradient(ellipse at 115% -20%, #b69b6950, transparent 55%), radial-gradient(ellipse at -10% 110%, #5d7ba54d, transparent 65%), linear-gradient(122deg, #20314a, #0c162c 66%, #19283d); box-shadow: 0 23px 38px -17px #17284465, inset 0 1px 0 #ffffff17; color: #f5f0e8; text-align: left; font-family: var(--sans); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.member-pass::before { content: ""; position: absolute; z-index: -1; width: 330px; height: 330px; top: -150px; right: -175px; border: 1px solid #d5be8430; border-radius: 50%; box-shadow: 0 0 0 36px #c7af7910, 0 0 0 72px #c7af790c, 0 0 0 108px #c7af7909, 0 0 0 144px #c7af7905; pointer-events: none; }
.member-pass::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(118deg, transparent 16%, #ffffff09 44%, transparent 45%, #ffffff02 73%, transparent); pointer-events: none; }
.pass-top, .pass-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pass-top { align-items: flex-start; }
.pass-monogram { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d9c28d88; color: #e8d7af; font: italic 28px var(--serif); }
.pass-mark { padding-top: 4px; color: #e9d9b4; font-family: var(--serif); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.pass-mark small { display: block; margin-top: 7px; color: #c1bdba; font: 8px var(--sans); letter-spacing: .21em; }
.pass-number { margin: 24px 0 22px; }
.pass-number small { display: block; margin-bottom: 3px; color: #c0c5cf; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.pass-number strong { display: block; color: #ecdbb4; font: 400 clamp(46px, 6vw, 64px)/1.06 var(--serif); letter-spacing: .045em; }
.pass-bottom { align-items: flex-end; }
.pass-holder { min-width: 0; font-size: 13px; font-weight: 500; letter-spacing: .025em; overflow-wrap: anywhere; }
.pass-holder small { display: block; color: #b8c0ce; font-size: 8px; letter-spacing: .15em; margin-bottom: 6px; text-transform: uppercase; }
.pass-since { display: block; margin-top: 7px; color: #c3c8d1; font-size: 9px; line-height: 1.6; font-weight: 400; letter-spacing: 0; }
.pass-since small, .pass-since span { display: block; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.pass-since strong { color: #ede7dd; font-weight: 500; }
.pass-open { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; flex: none; border: 1px solid #e7d4a932; border-radius: 50%; color: #e9d7af; }
.pass-open svg { width: 16px; height: 16px; }
.pass-caption { margin: 15px 0 0; text-align: center; color: #727b88; font-size: 11px; }
/* Dati personali, raggruppati come una schermata Impostazioni. */
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 14px; }
.section-heading h2 { margin: 0; font-size: 19px; font-weight: 650; letter-spacing: -.025em; }
.section-heading span { color: #76808e; font-size: 11px; }
.dati { margin-top: 0; padding: 4px 20px; background: var(--surface-raised); border: 1px solid #16223707; border-radius: 23px; box-shadow: var(--shadow); }
.dati > div { align-items: center; gap: 14px; min-height: 62px; padding: 14px 0; border-color: #1622370c; font-size: 13px; }
.dati > div:last-child { border-bottom: 0; }
.dati span:first-child, .dati .data-label { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; max-width: 45%; color: #677282; font-size: 11px; line-height: 1.5; letter-spacing: 0; text-transform: none; padding-top: 0; }
.dati .data-label svg { width: 16px; height: 16px; flex: none; color: #8a94a2; }
.dati span:last-child, .dati .data-value { min-width: 0; color: var(--ink); font-size: 12px; line-height: 1.6; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.profile-actions { margin-top: 14px; }
.btn { min-height: 50px; border-radius: 15px; padding: 16px 20px; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.btn > svg { width: 18px; height: 18px; vertical-align: middle; margin-left: 9px; }
.btn-oro { background: linear-gradient(115deg, #e2c994, #d7ba7f); color: #242c37; box-shadow: inset 0 1px 0 #ffffff60, 0 4px 12px #9d79381a; }
.btn-oro:hover { background: linear-gradient(115deg, #ecd7ae, #ddc48e); }
.btn-vuoto { background: rgba(255,255,255,.66); color: var(--ink); border: 1px solid #16223714; }
.btn-vuoto:hover { background: #fff; }
.btn:active, .header-action:active { transform: scale(.985); }
.btn[disabled] { transform: none; opacity: .5; }
.profile-actions > .btn-vuoto { margin-top: 0; }
.admin-entry { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 20px; padding: 17px 18px; color: var(--ink); background: #eae9e5; border: 1px solid #16223705; border-radius: 19px; text-decoration: none; transition: background .18s ease; }
.admin-entry:hover { background: #e2e2de; }
.action-icon { display: grid; place-items: center; width: 35px; height: 35px; flex: none; border-radius: 11px; color: #596373; background: #fff9; }
.action-icon svg { width: 18px; height: 18px; }
.action-copy { min-width: 0; flex: 1; font-size: 12px; font-weight: 600; }
.action-copy strong { display: block; font-size: 12px; font-weight: 600; }
.action-copy small, .action-copy > span { display: block; margin-top: 4px; color: #68727f; font-size: 10px; line-height: 1.45; font-weight: 400; }
.action-arrow { display: flex; color: #77808c; flex: none; }
.action-arrow svg { width: 16px; height: 16px; }
.logout-link { display: block; width: max-content; margin: 18px auto 0; padding: 12px 24px; color: #6d7784; font-size: 12px; text-decoration: none; }
.logout-link:hover { color: var(--ink); }
/* Area amministratore. */

.schede { flex-wrap: wrap; gap: 5px; overflow: visible; border: 1px solid #16223707; background: #eae9e4; border-radius: 18px; padding: 6px; margin: 0 0 28px; }
.schede button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 11px 13px; min-height: 42px; color: #646e7c; font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; transition: background .18s ease, color .18s ease; }
.schede button.on { color: var(--ink); background: #fff; box-shadow: 0 2px 5px #1622370b; }
.schede button:not(.on):hover { color: var(--ink); background: #ffffff60; }
.tab-count { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 1px 5px; border-radius: 7px; background: #d8c9a947; color: #725627; font-size: 10px; font-variant-numeric: tabular-nums; }
.admin-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.admin-view-title { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -.025em; }
.admin-topline p, .admin-topline span { margin: 0; color: #747d89; font-size: 11px; }
.dashboard-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-bottom: 29px; }
.metric-hero, .dashboard-summary { position: relative; overflow: hidden; min-width: 0; border-radius: 25px; padding: 25px 27px; }
.revenue-card { background: radial-gradient(ellipse at 105% 10%, #bfaa7860, transparent 55%), linear-gradient(115deg, #21324b, #101c33); color: #f6f0e7; box-shadow: 0 15px 24px -18px #162237a0; }
.revenue-card::after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid #ddc59125; border-radius: 50%; right: -60px; top: -67px; box-shadow: 0 0 0 24px #ddc59109, 0 0 0 50px #ddc59106; pointer-events: none; }
.members-card { background: linear-gradient(115deg, #efe6d3, #e7d7b3); border: 1px solid #af8e5523; color: var(--ink); }
.summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: inherit; font-size: 12px; line-height: 1.4; font-weight: 500; }
.metric-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: none; border: 1px solid #ffffff1a; border-radius: 11px; background: #ffffff0b; color: #e4d0a8; }
.metric-icon svg { width: 17px; height: 17px; }
.members-card .metric-icon { background: #ffffff45; border-color: #a387551f; color: #7c6439; }
.summary-value { display: block; margin: 20px 0 8px; color: inherit; font-size: clamp(34px, 4.5vw, 47px); font-weight: 550; line-height: 1.15; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.summary-foot { display: block; margin: 0; color: #c0c5cc; font-size: 11px; line-height: 1.6; }
.members-card .summary-foot { color: #74654d; }
.metrics-label { margin: 0 2px 13px; color: #616c7c; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .1em; }
.metrics-label h2 { font-size: 18px; text-transform: none; }
.numeri { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 0 0 20px; }
.numeri .stat-card { min-width: 0; padding: 19px 18px 17px; border: 1px solid #16223708; border-radius: 21px; background: #fff; box-shadow: var(--shadow); }
.numeri .stat-card:last-child { grid-column: span 2; }
.numeri .stat-card.att { border-color: #b5945660; background: #fcf9f2; }
.numeri .stat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; padding: 0; }
.numeri .stat-icon { display: flex; border: 0; padding: 0; color: #8a94a1; }
.stat-icon svg { width: 17px; height: 17px; }
.numeri .stat-label { color: #677181; font-size: 10px; font-weight: 500; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.numeri strong { color: var(--ink); margin: 18px 0 6px; font-family: var(--sans); font-size: 29px; font-weight: 550; line-height: 1.15; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.numeri .stat-note { display: block; color: #78818d; font-size: 9px; line-height: 1.45; text-transform: none; letter-spacing: 0; }
.admin-note { display: flex; gap: 10px; padding: 16px 18px; border: 1px solid #1622370b; border-radius: 17px; background: #eeede8; color: #6c7684; font-size: 11px; line-height: 1.7; }
.admin-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.admin-note p { margin: 0; color: inherit; }
/* Le altre pagine condividono gli stessi componenti. */
.voce, .riga-reg { background: #fff; color: var(--ink); border: 1px solid #1622370b; border-radius: 21px; padding: 22px; box-shadow: var(--shadow); overflow-wrap: anywhere; }
.voce .occhiello { color: #816129; }
.voce h3 { font-family: var(--sans); font-size: 20px; font-weight: 600; }
.voce p { color: var(--ink-soft); }
.nota { color: #6e7885; line-height: 1.65; }
.spunta { color: var(--ink-soft); }
.demo { color: var(--ink-soft); border-radius: 15px; }
.errore { color: #a13b35; }
.pill { color: #7b602f; background: #eee7d7; border: 0; border-radius: 999px; padding: 6px 10px; font-size: 10px; letter-spacing: .015em; text-transform: none; }
.riga-reg { line-height: 1.7; }
.riga-reg > div { min-width: 0; }
.riga-reg strong { color: var(--ink); }
label { color: #596576; font-size: 11px; font-weight: 500; letter-spacing: .025em; text-transform: none; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=date], input[type=datetime-local], input[type=password], select, .cerca {
  color-scheme: light; -webkit-text-fill-color: var(--ink); color: var(--ink); background: #f6f6f3; border: 1px solid #16223714; border-radius: 12px; padding: 13px 14px; font-size: 16px; min-height: 48px; transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, select:focus { border-color: #a98a50; box-shadow: 0 0 0 3px #b5945618; outline: none; }
input::placeholder { color: #7f8791; -webkit-text-fill-color: #7f8791; }
input:-webkit-autofill { -webkit-text-fill-color: var(--ink); caret-color: var(--ink); }
select option { color: var(--ink); background: #fff; }
.cerca { width: 100%; margin-bottom: 17px; }

.tessera { max-width: 460px; margin: 0 auto 22px; border-radius: 27px; padding: 28px; background: linear-gradient(130deg, #ede0bc, #d7b974 62%, #bda162); box-shadow: 0 18px 35px -17px #16223760; }
.tessera::before { inset: 10px; border-radius: 19px; }
.t-num { color: #f6efdf; background: #17263d; border-radius: 7px; padding: 5px 8px; font-family: var(--sans); font-size: 11px; }
.t-marchio { font-size: 14px; letter-spacing: .16em; }
.t-nome { color: #162237; font-family: var(--sans); font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.t-dati, .t-piede { color: #3f454c; }
.t-qr { padding: 12px; background: #fffaf0; border-radius: 15px; margin-top: 22px; margin-bottom: 13px; }
.esito { border-radius: 24px; }
.esito.ok { background: #f2ead8; border-color: #b99b5d; }
.esito.no { background: #f8e8e4; border-color: #ba7770; }
.esito .grande { font-family: var(--sans); font-weight: 600; font-size: 28px; }
table { display: block; overflow-x: auto; max-width: 100%; background: #fff; border-radius: 17px; padding: 6px 10px; }
th, td { padding: 13px 10px; }
th { color: #6a7481; font-size: 9px; letter-spacing: .06em; }
td { color: var(--ink); }
.carica { color: #697483; opacity: 1; font-size: 14px; }
/* Il modulo autonomo carica il proprio CSS dopo questo file: la specificità
   resta confinata al club, senza modificare il modulo sui siti dei brand. */
#modulo.re, #modulo .re, .app .re {
  --re-testo: #162237; --re-accento: #80602c; --re-su-accento: #fffaf1; --re-filetto: #16223718; --re-errore: #a13b35;
  color: var(--ink); max-width: none;
}
#modulo.re h2, #modulo .re h2, .app .re h2 { color: var(--ink); font-size: 27px; font-weight: 650; letter-spacing: -.035em; }
#modulo.re p, #modulo .re p, .app .re p { color: var(--ink-soft); opacity: 1; }
#modulo.re .occ, .app .re .occ { color: #816129; font-size: 10px; font-weight: 600; letter-spacing: .15em; }
#modulo.re label.c, .app .re label.c { color: #5f6a7a; opacity: 1; font-size: 11px; text-transform: none; letter-spacing: .01em; margin: 20px 0 8px; }
#modulo.re input[type=text], #modulo.re input[type=email], #modulo.re input[type=password], #modulo.re input[type=tel], #modulo.re input[type=date], #modulo.re select {
  border: 1px solid #16223716; border-radius: 12px; color: var(--ink); -webkit-text-fill-color: var(--ink); background: #fff; min-height: 49px; padding: 13px 14px; font-size: 16px;
}
#modulo.re input:focus, #modulo.re select:focus { border-color: #a98a50; box-shadow: 0 0 0 3px #b5945618; }
#modulo.re input::placeholder { color: #7e8794; -webkit-text-fill-color: #7e8794; opacity: 1; }
#modulo.re .b, #modulo .re .b, .app .re .b { min-height: 49px; border-radius: 14px; padding: 15px 18px; font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; transition: background .18s ease, transform .18s ease; }
#modulo.re .b1, #modulo .re .b1, .app .re .b1 { background: #1b2a41; color: #fffaf1; box-shadow: 0 4px 12px #16223712; }
#modulo.re .b1:hover, #modulo .re .b1:hover, .app .re .b1:hover { background: #2d3d55; }
#modulo.re .b2, #modulo .re .b2, .app .re .b2 { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #1622371a; }
#modulo.re .b:active, .app .re .b:active { transform: scale(.985); }
#modulo.re .riq, #modulo .re .riq, .app .re .riq { padding: 23px; border: 1px solid #16223709; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.app #notifiche.re .riq { margin-top: 23px !important; background: linear-gradient(120deg, #eee9de, #f5f0e4); border-color: #b5945626; }
.app #notifiche.re .riq > p > strong { display: inline-block; color: var(--ink); font-size: 17px; letter-spacing: -.02em; font-weight: 650; margin-bottom: 4px; }
.app #notifiche.re .piccola { font-size: 12px; line-height: 1.7; opacity: 1 !important; }
.app #notifiche.re .b1 { min-height: 46px; margin-top: 7px; background: #1c2b41; }
#modulo.re .piccola { opacity: 1; color: #6e7885; }
#modulo.re .file { border-radius: 17px; background: #fff; padding: 17px; }
#modulo.re .dove { padding: 13px; border-radius: 15px; background: #ebeae6; }
#modulo.re .dove img { width: 100px; }
#modulo.re .stato { color: #755a2b; background: #eee7d7; border: 0; border-radius: 999px; font-size: 10px; text-transform: none; letter-spacing: .01em; }
#modulo.re .livelli div { border-radius: 14px; border-color: #16223717; }
#modulo.re .livelli div.on { background: #f4eedf; border-color: #a98a5050; }
#modulo.re .livelli strong { font-size: 10px; letter-spacing: .025em; text-transform: none; }
#modulo.re .sp label { color: #596576; }
/* Benvenuto. */
.pagina.welcome { position: relative; max-width: 640px; justify-content: center; align-items: center; padding-top: calc(48px + env(safe-area-inset-top)); text-align: center; }
.welcome-orbit { position: relative; display: grid; place-items: center; width: 220px; height: 220px; flex: none; margin: 0 auto 35px; border: 1px solid #b5945621; border-radius: 50%; background: radial-gradient(circle, #e5d6b830, transparent 68%); }
.welcome-orbit::before { content: ""; position: absolute; inset: 24px; border: 1px solid #b594562c; border-radius: 50%; }
.welcome-orbit::after { content: ""; position: absolute; width: 7px; height: 7px; right: 17px; top: 42px; background: #c1a165; border-radius: 50%; box-shadow: 0 0 0 5px #b5945610; }
.welcome-emblem { display: flex; align-items: center; justify-content: center; width: 112px; height: 112px; color: #e6d2a1; background: radial-gradient(ellipse at 110% 0, #8e795e80, transparent 65%), #17263d; border-radius: 33px; border: 1px solid #253851; box-shadow: 0 23px 33px -16px #16223760, inset 0 1px 0 #ffffff20; font: italic 74px var(--serif); transform: rotate(-8deg); }
.welcome-emblem > span { font-size: 46px; margin-left: -5px; margin-top: 29px; }
.welcome-kicker { color: #816129; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; margin-bottom: 14px; }
.welcome-title { color: var(--ink); font-size: clamp(43px, 8vw, 66px); font-weight: 650; line-height: 1.04; letter-spacing: -.06em; margin: 0 0 22px; }
.welcome-title em { font-family: var(--serif); font-weight: 400; color: #8c703b; }
.welcome-copy { max-width: 370px; margin: 0 auto 27px; color: #667181; font-size: 15px; line-height: 1.75; }
.welcome .btn { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 360px; min-height: 55px; border-radius: 17px; }
.welcome .btn > svg { flex: none; margin-left: 0; }
.welcome .btn-oro { background: #1c2b42; color: #fffaf2; box-shadow: 0 10px 22px -10px #16223760; }
.welcome .btn-oro:hover { background: #2d3e56; }
.welcome-features { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 24px 0 0; color: #707a87; font-size: 11px; }
.welcome-features span { display: inline-flex; align-items: center; gap: 5px; }
.welcome-features svg { width: 14px; height: 14px; color: #8f7544; }
.welcome-footnote { max-width: 350px; margin: 34px auto 0; color: #78818c; font-size: 11px; line-height: 1.7; }
.marchio { color: var(--ink); }
@media (hover: hover) {
.member-pass:hover { transform: translateY(-3px); box-shadow: 0 27px 42px -17px #17284475, inset 0 1px 0 #ffffff17; }
}
@media (max-width: 819px) {
.app { max-width: 550px; padding-right: 22px; padding-left: 22px; }

.profile-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }

.member-pass { min-height: 262px; }
.profile-side { padding-bottom: 3px; }

.numeri { grid-template-columns: repeat(3, minmax(0, 1fr)); }

}
@media (max-width: 540px) {
.app { padding-top: calc(22px + env(safe-area-inset-top)); }

.header-action { padding: 10px 12px; font-size: 11px; }

.member-pass { min-height: 242px; padding: 23px 24px; border-radius: 25px; }
.pass-number { margin: 22px 0 20px; }
.pass-number strong { font-size: 54px; }
.pass-holder { font-size: 12px; }
.profile-layout { gap: 29px; }
.dati { padding-right: 17px; padding-left: 17px; }
.dati > div { min-height: 60px; }
.dati span:first-child { font-size: 12px; }
.dati span:last-child { font-size: 13px; }

.admin-app .schede { padding: 5px; gap: 4px; margin-bottom: 24px; border-radius: 17px; }
.admin-app .schede button { flex: 1 1 auto; padding: 10px 10px; font-size: 10px; }
.admin-topline { align-items: flex-start; }
.admin-topline span, .admin-topline p { max-width: 40%; text-align: right; font-size: 10px; }
.dashboard-top { gap: 11px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 26px; }
.metric-hero, .dashboard-summary { padding: 18px; min-height: 173px; border-radius: 22px; }
.summary-heading { align-items: flex-start; gap: 6px; font-size: 11px; }
.metric-icon { width: 27px; height: 27px; border-radius: 9px; }
.metric-icon svg { width: 15px; height: 15px; }
.summary-value { margin: 22px 0 7px; font-size: 31px; }
.summary-foot { font-size: 10px; }
.numeri { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.numeri .stat-card { padding: 17px; border-radius: 21px; min-height: 126px; }
.numeri .stat-label { font-size: 11px; }
.numeri strong { font-size: 30px; margin-top: 17px; }
.numeri .stat-note { font-size: 9px; }
.admin-note { padding: 15px; }
.voce, .riga-reg { padding: 19px; }
.tessera .t-marchio { font-size: 12px; }
.welcome-orbit { width: 200px; height: 200px; margin-bottom: 30px; }
.welcome-emblem { width: 102px; height: 102px; border-radius: 30px; font-size: 67px; }
}
@media (max-width: 359px) {
.app { padding-right: 16px; padding-left: 16px; }
.brand-lockup { gap: 9px; }
.brand-symbol { width: 36px; height: 36px; flex-basis: 36px; font-size: 25px; }

.brand-caption { font-size: 8px; letter-spacing: .13em; }
.header-action { padding-right: 10px; padding-left: 10px; }

.member-pass { min-height: 223px; padding: 20px; }
.pass-mark { font-size: 11px; }
.pass-number strong { font-size: 48px; }
.pass-since { font-size: 8px; }
.pass-holder { font-size: 11px; }
.dati { padding: 3px 14px; }
.dati > div { gap: 10px; }
.dati .data-label { gap: 7px; }
.dati .data-label svg { width: 14px; height: 14px; }
.dati span:first-child { max-width: 40%; font-size: 11px; }
.dati span:last-child { font-size: 12px; }
.metric-hero, .dashboard-summary { padding: 15px; min-height: 160px; }
.summary-heading { font-size: 10px; }
.summary-value { font-size: 27px; }
.summary-heading .metric-icon { display: none; }
.numeri .stat-card { padding: 15px; }
.numeri .stat-label { font-size: 10px; }
.admin-app .schede button { padding-right: 9px; padding-left: 9px; }
.app #notifiche.re .riq { padding: 19px; }

.pagina { padding-right: 20px; padding-left: 20px; }
#modulo.re .dove { flex-direction: column; align-items: flex-start; }
.tessera { padding: 22px; }
.tessera .t-marchio { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
.member-pass:hover, .btn:active, .header-action:active, #modulo.re .b:active, .app .re .b:active { transform: none; }
}
/* Rizzo’s Work nell'admin — 5 ottobre 2026 */
.work-heading { margin-top: 6px; }
.work-heading .link { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; }
.work-heading .link svg { width: 14px; height: 14px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0 0 26px; }
.work-card { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; min-height: 72px; padding: 15px 16px; text-align: left; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid #16223708; border-radius: 19px; box-shadow: var(--shadow); cursor: pointer; font: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.work-card:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -14px #16223750; }
.work-card:focus-visible { outline: 2px solid #19273d; outline-offset: 3px; }
.work-card .action-icon { color: #816129; background: #f1eee6; }
.work-rapido { margin-bottom: 30px; }
.work-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 12px; }
.work-bar .btn { width: auto; min-height: 40px; margin: 0; padding: 10px 16px; }
.work-bar strong { flex: 1; min-width: 0; font-size: 15px; font-weight: 650; }
.work-bar .link { font-size: 11px; white-space: nowrap; }
.work-frame { display: block; width: 100%; height: min(78vh, 920px); min-height: 520px; border: 1px solid #1622370d; border-radius: 22px; background: #fff; }
#work-lista[hidden], #work-vista[hidden] { display: none !important; }
@media (max-width: 560px) {
.work-grid { grid-template-columns: 1fr; }
.work-frame { height: 74vh; min-height: 460px; border-radius: 18px; }
}
/* Spazi personali e area del re — 5 ottobre 2026 */

.king-shortcuts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 30px}.king-shortcuts a {display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:20px;padding:23px;background:#19273d;color:#edd8ae;text-decoration:none;font-weight:600;font-size:14px;}.king-shortcuts svg {width:21px;height:21px;flex-shrink:0;}
.protected-document iframe {display:block;width:100%;height:calc(100dvh - 210px);min-height:560px;border:1px solid #deddd6;border-radius:20px;background:white;}.protected-document iframe[hidden] {display:none;}.admin-app:has(.protected-document) {max-width:1500px;}.admin-view-title {line-height:1.2;}
@media(max-width:700px) {.king-shortcuts {grid-template-columns:1fr}.king-shortcuts a {padding:19px 22px}.protected-document iframe {height:calc(100dvh - 240px);min-height:480px;}}

/* Controllo all’ingresso (16 ottobre): il verde e il rosso si leggono da lontano */
.esito.ok { background: #e3f1e5; border-color: #3d8a4f; }
.esito.ok .grande { color: #23663a; font-size: 34px; letter-spacing: .02em; }
.esito.no .grande { color: #9b2c22; }
.segno-esito { font-size: 64px; line-height: 1; color: #9b2c22; margin-bottom: 8px; }
