.ves-demo{box-sizing:border-box;width:100%;max-width:1200px;margin:24px auto;background:#111;color:#fff;padding:clamp(12px,3vw,32px);border-radius:14px;font-size:16px;line-height:1.5}.ves-demo *{box-sizing:border-box}.ves-demo article{background:#202020;padding:clamp(12px,2vw,24px);margin:20px 0;border-radius:12px}.ves-demo h2,.ves-demo h3,.ves-demo h4{color:#fff;margin:12px 0;font-size:24px}.ves-demo h4{font-size:20px}.ves-demo p{color:#eee;font-size:16px}.ves-demo .ves-hero{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.ves-demo .ves-photo img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;margin:auto}.ves-demo .ves-price{font-size:32px;font-weight:700}.ves-demo progress{width:100%;accent-color:#cf0025}.ves-demo .ves-legend,.ves-demo .ves-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0}.ves-demo .ves-legend span:before{content:'';display:inline-block;width:14px;height:14px;margin-right:6px;border-radius:3px;background:#363636}.ves-demo .ves-legend span:nth-child(2):before,.ves-demo button.ves-selected{background:#cf0025}.ves-demo .ves-legend span:nth-child(3):before{background:#16803c}.ves-demo .ves-legend span:nth-child(4):before,.ves-demo button.ves-held{background:#a85a06}.ves-demo .ves-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(58px,1fr));gap:6px}.ves-demo button{background:#363636;color:#fff;border:0;border-radius:6px;padding:10px;cursor:pointer;font-size:14px;min-height:40px}.ves-demo button:disabled{opacity:.65;cursor:default}.ves-demo .ves-reserve,.ves-demo .ves-random{background:#cf0025}.ves-demo input{background:#fff;color:#111;width:100px;padding:8px;border-radius:5px}.ves-demo .ves-summary{overflow-wrap:anywhere}.ves-demo .ves-timer{color:#fbbf24}@media(max-width:767px){.ves-demo .ves-hero{grid-template-columns:1fr}.ves-demo .ves-grid{grid-template-columns:repeat(auto-fit,minmax(48px,1fr))}.ves-demo .ves-controls{gap:8px}}

.ves-demo .ves-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,1fr) minmax(0,1fr);align-items:end;gap:10px}.ves-demo .ves-tools label{display:flex;flex-direction:column;gap:6px;margin:0;font-size:14px;font-weight:600}.ves-demo .ves-tools input,.ves-demo .ves-tools button{width:100%;height:46px;min-height:46px;margin:0!important;box-sizing:border-box;border-radius:8px}.ves-demo .ves-tools input{background:#181818;color:#fff;border:1px solid #555}.ves-demo .ves-tools button{padding:6px;font-size:13px;line-height:1.2}.ves-demo .ves-conflict:empty{display:none}.ves-demo .ves-conflict{background:#302414;border:1px solid #a16207;border-left:4px solid #fbbf24;border-radius:10px;padding:16px;margin:16px 0;display:flex;flex-wrap:wrap;gap:10px}.ves-demo .ves-conflict p{flex:0 0 100%;color:#fde68a;margin:0 0 4px;font-weight:600}.ves-demo .ves-conflict p:before{content:"⚠ Número indisponível";display:block;color:#fbbf24;font-size:18px;margin-bottom:8px}.ves-demo .ves-conflict button:first-of-type{background:#a85a06}.ves-demo .ves-conflict button{flex:1 1 140px;margin:0}.ves-demo .ves-expand summary{list-style:none;cursor:pointer;background:#cf0025;color:#fff;border-radius:8px;padding:13px;text-align:center;font-weight:700;margin:16px 0}.ves-demo .ves-expand summary::-webkit-details-marker{display:none}.ves-demo .ves-expand summary:after{content:" +"}.ves-demo .ves-expand[open] summary:after{content:" −"}.ves-demo .ves-grid button{margin:0!important;min-width:0}.ves-demo .ves-summary{padding:12px;background:#151515;border-radius:8px;margin:12px 0}.ves-demo .ves-tools button:focus-visible,.ves-demo .ves-grid button:focus-visible{outline:2px solid #fbbf24;outline-offset:2px}@media(max-width:600px){.ves-demo .ves-tools{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}.ves-demo .ves-tools button{font-size:12px}.ves-demo .ves-conflict{padding:12px}}
.ves-demo .ves-summary{padding:20px;border:1px solid #393939;border-radius:14px;background:#111;margin-top:20px}.ves-demo .ves-ticket-header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:18px;margin-bottom:16px}.ves-demo .ves-count{background:#cf0025;border-radius:30px;padding:4px 12px;font-weight:700}.ves-demo .ves-tickets{display:flex;flex-wrap:wrap;gap:10px}.ves-demo .ves-ticket{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:76px;min-height:88px;padding:22px 10px 10px;background:#cf0025;color:white;border-radius:9px;animation:ves-ticket-in .16s ease-out}.ves-demo .ves-ticket-held{background:#a85a06}.ves-demo .ves-ticket strong{font-size:24px;line-height:1.2;font-variant-numeric:tabular-nums}.ves-demo .ves-ticket small{font-size:10px;letter-spacing:1px}.ves-demo button.ves-remove{position:absolute;right:3px;top:3px;padding:0;width:26px;height:26px;min-height:26px;line-height:1;background:#0003;border-radius:50%;font-size:20px;margin:0}.ves-demo .ves-hint{display:block;color:#bbb;margin-top:10px}.ves-demo .ves-totals{background:#202020;padding:14px;border-radius:10px;margin-top:16px}.ves-demo .ves-total-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0}.ves-demo .ves-total-row span{color:#ccc}.ves-demo .ves-total-row:last-child{border-top:1px solid #444;margin-top:8px;padding-top:12px}.ves-demo .ves-total-row:last-child strong{color:#4ade80;font-size:24px;white-space:nowrap}.ves-demo .ves-reservation-note{text-align:center;color:#fbbf24;font-size:14px;margin:14px 0 0}.ves-demo .ves-actions{display:flex;flex-direction:column-reverse;align-items:stretch;gap:8px}.ves-demo .ves-actions button{width:100%;min-height:46px;margin:0}.ves-demo .ves-grid button{transition:background .15s,transform .15s}.ves-demo .ves-grid button:active{transform:scale(.94)}@keyframes ves-ticket-in{from{opacity:.5;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.ves-demo .ves-ticket{animation:none}.ves-demo .ves-grid button{transition:none}}@media(max-width:600px){.ves-demo .ves-summary{padding:12px}.ves-demo .ves-ticket{min-width:64px}.ves-demo .ves-total-row{font-size:13px}.ves-demo .ves-total-row:last-child strong{font-size:20px}}

.ves-demo .ves-tickets{display:grid;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:6px}.ves-demo .ves-ticket{min-width:0;min-height:40px;height:40px;padding:0 19px 0 3px;border-radius:6px}.ves-demo .ves-ticket-held{padding:0}.ves-demo .ves-ticket strong{font-size:14px;line-height:1.2;letter-spacing:0}.ves-demo button.ves-remove{width:18px;height:24px;min-height:24px;right:1px;top:8px;font-size:16px;background:transparent}.ves-demo .ves-empty{grid-column:1/-1}.ves-demo .ves-summary{padding:12px}.ves-demo .ves-ticket-header{margin-bottom:10px}.ves-demo .ves-totals{margin-top:10px;padding:10px}@media(max-width:767px){.ves-demo .ves-tickets{grid-template-columns:repeat(auto-fill,minmax(48px,1fr))}}

.ves-demo .ves-tickets{display:flex;flex-wrap:wrap;gap:4px}.ves-demo .ves-ticket{box-sizing:border-box;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;padding:0;border-radius:4px;display:grid;place-items:center;position:relative}.ves-demo .ves-ticket strong{font-size:15px;line-height:1;margin:0;text-align:center}.ves-demo button.ves-remove{position:absolute;top:1px;right:1px;width:12px;height:12px;min-height:12px;min-width:0;padding:0;margin:0;line-height:12px;font-size:12px;border-radius:0;background:transparent}.ves-demo .ves-empty{width:100%}

.ves-demo .ves-rule-footer{display:flex;gap:8px;border-top:1px solid #333;padding:12px 0 0;margin-top:14px;color:#aaa;font-size:12px;line-height:1.5}.ves-demo .ves-rule-open{background:none!important;border:0!important;color:#ccc!important;text-decoration:underline;padding:0!important;font-size:12px;cursor:pointer}.ves-demo .ves-rule-dialog{position:fixed;inset:0;margin:auto;width:min(560px,92vw);max-height:85vh;overflow:auto;box-sizing:border-box;background:#111;color:#eee;border:1px solid #444;border-radius:14px;padding:20px;z-index:99999}.ves-rule-dialog::backdrop{background:#000b}.ves-demo .ves-rule-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.ves-demo .ves-rule-close{font-size:24px;line-height:1;padding:6px 12px}.ves-demo .ves-simulator{background:#202020;border-radius:10px;padding:14px;display:grid;gap:10px}.ves-demo .ves-sim-input{display:block;width:100%;box-sizing:border-box;background:#111;color:#fff;border:1px solid #555;padding:10px;border-radius:6px}.ves-demo .ves-sim-digits{display:flex;justify-content:center;gap:5px}.ves-demo .ves-sim-digits span{display:grid;place-items:center;width:40px;height:44px;background:#363636;border-radius:6px;font-size:22px}.ves-demo .ves-sim-digits .ves-sim-active{background:#16803c;color:white}.ves-demo .ves-sim-output{text-align:center;color:#4ade80;font-weight:bold}.ves-demo .ves-rule-dialog a{color:#ccc;text-decoration:underline}.ves-demo .ves-simulator small{color:#aaa}

.ves-demo .ves-rule-dialog{width:min(960px,96vw);max-width:96vw;max-height:90vh;max-height:90dvh;padding:0 24px 24px;overflow:auto;overscroll-behavior:contain}.ves-demo .ves-rule-head{position:sticky;top:0;background:#111;z-index:2;padding:16px 0;border-bottom:1px solid #444;margin-bottom:16px}.ves-demo .ves-rule-head h3{margin:0;font-size:20px;line-height:1.3}.ves-demo .ves-rule-close{flex-shrink:0}.ves-demo .ves-rule-full section{margin:0 0 18px;padding:0;background:none;border:0}.ves-demo .ves-rule-full h4{font-size:16px;margin:0 0 8px;color:#eee}.ves-demo .ves-rule-full p{font-size:15px;line-height:1.65;margin:0 0 8px;color:#ccc}@media(max-width:600px){.ves-demo .ves-rule-dialog{padding:0 14px 18px}.ves-demo .ves-rule-head h3{font-size:16px}.ves-demo .ves-rule-full p{font-size:14px}}

.ves-demo .ves-rule-footer{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start;gap:10px;margin:16px 0 0;padding:14px 16px;background:#111;border:1px solid #333;border-radius:8px;text-align:left;line-height:1.55}.ves-demo .ves-rule-icon{font-size:14px;line-height:1.5;color:#aaa}.ves-demo .ves-rule-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.ves-demo .ves-rule-copy p{font-size:12px;line-height:1.55;color:#bcbcbc;margin:0!important;padding:0!important;overflow-wrap:break-word}.ves-demo button.ves-rule-open{display:inline-block;width:auto;min-height:0;height:auto;margin:0!important;padding:0!important;line-height:1.5;text-align:left;white-space:normal;font-size:12px}@media(max-width:600px){.ves-demo .ves-rule-footer{padding:12px;gap:8px}}
.ves-ident-dialog{background:#111;color:#fff;border:1px solid #444;border-radius:12px;padding:20px;width:min(440px,90vw)}.ves-ident-form{display:grid;gap:12px}.ves-ident-form label{display:grid;gap:6px}.ves-ident-form input:not([type=checkbox]){width:100%;box-sizing:border-box;padding:10px;background:#222;color:#fff;border:1px solid #555;border-radius:5px}.ves-ident-form label:has(input[type=checkbox]){display:flex;align-items:center}.ves-receipt:not([hidden]){display:grid;gap:10px;padding:14px;border:1px solid #444;border-radius:8px;overflow-wrap:anywhere}.ves-ident-dialog::backdrop{background:#000a}
/* Isolate the identification dialog from theme dialog and input defaults. */
.ves-demo dialog.ves-ident-dialog{position:fixed!important;inset:0!important;margin:auto!important;box-sizing:border-box;width:min(460px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);overflow:auto;padding:24px;z-index:99999;transform:none!important;float:none!important}
.ves-demo .ves-ident-form{display:grid;gap:16px;margin:0}.ves-demo .ves-ident-form h3{margin:0 0 4px;font-size:21px}.ves-demo .ves-ident-form label:has(input[type=checkbox]){display:flex;justify-content:flex-start;align-items:center;gap:10px;margin:0;text-align:left}.ves-demo .ves-ident-form input[type=checkbox]{appearance:auto;width:18px!important;height:18px!important;min-width:18px;margin:0!important;flex:0 0 18px;accent-color:#cf0025}.ves-demo .ves-ident-form .ves-controls{display:grid;grid-template-columns:1fr 2fr;gap:8px;margin:0}.ves-demo .ves-ident-form .ves-controls button{width:100%;margin:0;min-height:46px}.ves-demo .ves-ident-form button[type=submit]{background:#cf0025;color:#fff}.ves-demo .ves-ident-form .ves-ident-rule{margin:0;min-height:36px}.ves-demo .ves-ident-form input:not([type=checkbox]){min-height:46px;margin:0}@media(max-width:480px){.ves-demo dialog.ves-ident-dialog{padding:18px}}

.ves-ident-dialog [hidden]{display:none!important}.ves-payment-preview{display:grid;gap:12px;text-align:center}.ves-payment-preview input{width:100%;box-sizing:border-box}.ves-pay-placeholder{display:grid;place-items:center;width:180px;height:180px;margin:auto;border:1px dashed #777;border-radius:8px;color:#aaa;background:#202020}.ves-pay-total{color:#4ade80;font-size:20px;font-weight:bold}.ves-pay-clock{color:#eab308}.ves-payment-preview button:disabled{opacity:.45;cursor:not-allowed}
.ves-demo button.ves-taken{background:#16803c;cursor:not-allowed}
.ves-payment-preview[hidden]{display:none}
.ves-pay-placeholder svg{display:block;width:100%;height:100%;border-radius:8px}
.ves-demo .ves-receipt-numbers{font-size:13px;line-height:1.8;max-height:160px;overflow:auto;word-break:break-word}
.ves-demo .ves-receipt-item{display:grid;gap:8px}
.ves-wa-dialog{background:#202020;color:#fff;border:1px solid #444;border-radius:12px;padding:24px;max-width:420px;text-align:center}.ves-wa-dialog::backdrop{background:#000a}.ves-wa-dialog button{margin-top:12px}.ves-demo a.ves-wa-link,.ves-wa-dialog a.ves-wa-link{display:block;padding:12px 20px;background:#16a34a;color:#fff;border-radius:6px;text-decoration:none;font-weight:700;text-align:center}
.ves-demo{position:relative;overflow:hidden;background:radial-gradient(ellipse at top,#0e3b2a 0,#111 60%)}
.ves-demo>*:not(.ves-theme){position:relative;z-index:1}
.ves-theme{position:absolute!important;inset:0;overflow:hidden;pointer-events:none;z-index:0!important}
.ves-fall{position:absolute;top:-100px;left:var(--x);opacity:.5;animation:ves-drop var(--d) linear var(--delay) infinite;will-change:transform}
.ves-ball{width:var(--s);height:var(--s);border-radius:50%;background:radial-gradient(circle at 32% 28%,#fff9 0,#fff0 28%),var(--c);box-shadow:inset -4px -6px 10px #0006,0 4px 10px #0005;display:grid;place-items:center}
.ves-ball::after{content:attr(data-n);width:46%;height:46%;border-radius:50%;background:#fff;color:#111;font:700 calc(var(--s)*.24)/1 system-ui,sans-serif;display:grid;place-items:center}
.ves-card{width:var(--s);height:calc(var(--s)*1.4);border-radius:6px;background:#fff;color:#111;box-shadow:0 4px 10px #0006;display:grid;place-items:center;font:700 calc(var(--s)*.5)/1 serif}
.ves-card::before{content:attr(data-r);position:absolute;top:3px;left:5px;font:700 calc(var(--s)*.26)/1 system-ui,sans-serif}
.ves-card::after{content:attr(data-s)}
.ves-card.ves-red{color:#c00}
@keyframes ves-drop{from{transform:translateY(0) rotate(0)}to{transform:translateY(calc(var(--h,1200px) + 140px)) rotate(var(--r))}}
.ves-demo>h2:first-of-type::after{content:"\2660  \2665  \2666  \2663";display:block;margin-top:4px;font-size:16px;letter-spacing:8px;color:#e5c15d}
@media (prefers-reduced-motion:reduce){.ves-theme{display:none}}
.ves-demo article{background:rgba(32,32,32,.84)!important}

.ves-chip{width:var(--s);height:var(--s);border-radius:50%;background:repeating-conic-gradient(#fff 0 15deg,var(--c) 15deg 45deg);box-shadow:0 4px 10px #0006;display:grid;place-items:center}
.ves-chip::after{content:attr(data-v);width:66%;height:66%;border-radius:50%;background:var(--c);border:2px dashed #fffb;color:#fff;font:700 calc(var(--s)*.22)/1 system-ui,sans-serif;display:grid;place-items:center;box-sizing:border-box}
.ves-demo>.ves-theme-toggle{position:absolute;top:12px;right:12px;z-index:3;width:auto;min-height:0;padding:6px 12px;font-size:13px;background:#0008;border:1px solid #fff4;border-radius:999px;color:#fff;cursor:pointer}
.ves-demo.ves-theme-off .ves-theme{display:none}
.ves-demo.ves-theme-off{background:#111}
.ves-demo.ves-theme-off article{background:#202020!important}

.ves-sky{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:99000}
.ves-demo{overflow:visible;background:#111!important}
.ves-demo article{background:#202020!important}
.ves-sky-in{opacity:.3}
