:root{--paper:#f5f0e6;--ink:#253b39;--muted:#6f756c;--gold:#9a7944;--line:#d9d2c2;--blue:#183f50;--red:#a6363d;--green:#28604a;--surface:#fffcf6}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 'DM Sans',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #2d7794;outline-offset:5px}button:disabled{cursor:wait;opacity:.65}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:'Cinzel',Georgia,serif}button{color:inherit}.skip{position:fixed;left:15px;top:-100px;z-index:99;background:white;padding:12px}.skip:focus{top:15px}.header{height:88px;max-width:1440px;padding:0 5%;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:2;background:#f5f0e6eb}.brand{font-size:26px;letter-spacing:.18em;display:flex;align-items:center;gap:12px;font-weight:600}.brand-symbol{font-family:Georgia;font-size:36px;color:var(--gold);line-height:1}.header nav{display:flex;gap:34px;height:100%;align-items:center;font-size:14px}.header nav a{position:relative;height:100%;display:flex;align-items:center}.header nav .active:after{content:'';height:2px;background:var(--gold);position:absolute;bottom:0;left:0;right:0}.wallet{border:1px solid #bcb39f;background:transparent;border-radius:5px;padding:10px 15px;display:flex;gap:9px;align-items:center;font-size:14px}.soon{font-size:9px;letter-spacing:.08em;display:block;background:#e9e2d4;padding:3px 5px}.hero{position:relative;isolation:isolate;padding:40px max(5%,calc((100vw - 1280px)/2)) 30px;overflow:hidden}.hero:before{content:'';position:absolute;z-index:-2;inset:0;background:linear-gradient(180deg,#f5f0e6 0%,#f5f0e6c9 24%,#f5f0e62b 59%,#f5f0e6 100%),url('assets/courtyard.webp') center 62%/cover;opacity:.67}.intro{text-align:center;margin-bottom:26px}.eyebrow{font-size:11px;letter-spacing:.2em;font-weight:600;color:var(--gold)}.intro .eyebrow{display:flex;justify-content:center;align-items:center;gap:14px}.intro .eyebrow>span{width:24px;height:1px;background:#bda478}h1{font-size:clamp(32px,3.6vw,52px);font-weight:500;line-height:1.25;letter-spacing:-.035em;margin:12px 0 8px}h1 em{font-style:normal;color:var(--gold)}.intro p{color:var(--muted);font-size:15px}.play-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,1fr);gap:48px;align-items:center}.wheel-area{min-width:0;position:relative;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.wheel-meta{display:flex;align-items:center;gap:10px;color:#787e71;font-size:10px;letter-spacing:.17em;margin:0 26px}.live-dot{height:5px;width:5px;flex:none;background:#5e876b;border-radius:50%;box-shadow:0 0 0 4px #5e876b12}.meta-line{height:1px;flex:1;background:#b6ad963d;margin-left:8px}.wheel-wrap{width:100%;aspect-ratio:1.28;position:relative;filter:drop-shadow(0 25px 16px #3a302c29);margin-top:4px}.wheel-wrap canvas,.wheel-wrap #wheelFallback{position:absolute;width:100%;height:100%;inset:0}.wheel-pointer{position:absolute;width:15px;height:25px;left:calc(50% - 7.5px);top:11%;background:linear-gradient(100deg,#d8c291,#8a6632,#d8c291);clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 2px 2px #111)}.wheel-center-mark{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);color:#bda470;font:32px 'Cinzel',Georgia;pointer-events:none;text-shadow:0 1px #192927}.wheel-caption{display:flex;justify-content:center;align-items:center;gap:22px;font-size:11px;letter-spacing:.17em;color:var(--gold);margin-top:0}.wheel-caption>span:nth-child(2){color:var(--red)}.wheel-caption>span:nth-child(4){color:var(--green)}.caption-line{height:1px;width:60px;background:#baa67e80}.small-star{font-size:13px}.wheel-footnote{text-align:center;color:var(--muted);font-size:12px;margin-top:12px}.round-card{border:1px solid #cfbfa0;background:linear-gradient(135deg,#fffdf9f7,#faf7efed);border-radius:10px;padding:25px 28px 0;box-shadow:0 10px 45px #3b423c0c;position:relative}.round-card:before{content:'';inset:5px;border:1px solid #e8dfcc;border-radius:6px;position:absolute;pointer-events:none}.card-top{display:flex;align-items:center;justify-content:space-between}.card-top .eyebrow{font-size:10px;letter-spacing:.15em}.demo-pill{font-size:9px;padding:3px 6px;border:1px solid #bdb79f;border-radius:3px;color:#757564;letter-spacing:.08em}.round-heading{margin-top:16px}.round-heading h2{font-size:23px;letter-spacing:-.035em;font-weight:500}.round-heading p{font-size:13px;color:var(--muted);margin-top:6px}.pool{margin-top:22px;padding:17px 0 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.pool-label{font-size:10px;letter-spacing:.16em;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.pool-label>span{font-size:22px;color:var(--gold)}.pool-number{font-family:'Cinzel',Georgia;font-size:39px;line-height:1.35;letter-spacing:-.04em}.pool-number>span{font:14px 'DM Sans',sans-serif;letter-spacing:0;color:var(--gold);margin-left:6px}.pool-note{font-size:11px;color:#7e8277}.round-status{display:flex;justify-content:space-between;align-items:center;padding:17px 0}.field-label{font-size:9px;letter-spacing:.13em;display:block;color:var(--muted)}.round-status strong{font-size:28px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:.02em}.round-id{text-align:right}.round-id strong{font-size:14px;color:var(--muted);line-height:2.5}.result-box{padding:13px 12px;display:flex;gap:11px;align-items:center;background:#eceade70;border-radius:5px;margin-bottom:14px;min-height:65px;transition:background .25s}.result-icon{font-size:22px;color:var(--gold)}.result-box strong{font-weight:500;font-size:12px}.result-box[data-color=red]{background:#a6363d10}.result-box[data-color=green]{background:#28604a10}.result-box[data-color=red] .result-icon{color:var(--red)}.result-box[data-color=green] .result-icon{color:var(--green)}.spin-button{display:flex;justify-content:space-between;align-items:center;width:100%;height:52px;border:1px solid var(--blue);border-radius:5px;background:var(--blue);color:#fffefa;font-size:14px;padding:0 18px;transition:background .18s,transform .18s}.spin-button:hover{background:#245568;transform:translateY(-1px)}.spin-icon{font-size:25px;color:#d7bf8e}.spin-button>span:last-child{color:#c8b583}.demo-note{text-align:center;font-size:10px;color:#818477;margin-top:10px}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding:13px 0 15px;border-top:1px solid #ddd5c5;font-size:10px;color:#838474}.card-bottom button{border:0;background:none;font-size:10px;padding:5px;min-height:30px}.history-section{max-width:1280px;margin:26px auto 0;padding:28px 0 38px;border-top:1px solid #d3c7b0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.section-heading h2{font-size:24px;font-weight:500;margin-top:6px;letter-spacing:-.04em}.text-button{border:0;background:none;font-size:13px;padding:10px 0 10px 15px;color:var(--gold)}.text-button span{margin-left:20px}.history{display:flex;gap:12px;overflow:auto;min-height:82px}.empty-history{display:flex;align-items:center;gap:15px;width:100%;border:1px dashed #cfc5b2;border-radius:6px;padding:22px;color:var(--muted);font-size:14px}.empty-history>span:first-child{font-size:24px;color:var(--gold)}.empty-hint{font-size:12px;margin-left:auto}.history-chip{border:1px solid var(--line);border-radius:6px;background:#fffcf670;min-width:111px;text-align:left;padding:12px 15px;animation:appear .3s ease}.history-chip b{display:block;font-size:14px;font-weight:500}.history-chip small{font-size:10px;color:var(--muted)}.red{color:var(--red)}.green{color:var(--green)}.rules{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1.05fr repeat(3,1fr);gap:36px;padding:38px 0 52px;border-top:1px solid var(--line)}.rules-heading h2{font-size:25px;font-weight:500;max-width:240px;margin-top:13px;line-height:1.4}.rules article{border-left:1px solid var(--line);padding-left:25px}.roman{font:21px 'Cinzel',Georgia;color:var(--gold)}.rules h3{font:500 14px 'DM Sans',sans-serif;margin:14px 0 8px}.rules p{font-size:13px;color:var(--muted);line-height:1.65}footer{border-top:1px solid var(--line);padding:24px 5%;display:flex;justify-content:space-between;gap:20px;align-items:center;color:var(--muted);font-size:11px}footer .brand{font-size:16px;color:var(--gold)}footer>span:nth-child(2){letter-spacing:.15em;font-size:9px}dialog{background:var(--surface);color:var(--ink);border:1px solid #bfa779;border-radius:12px;padding:38px;width:min(620px,calc(100% - 32px));max-height:85vh;box-shadow:0 25px 100px #0003}dialog::backdrop{background:#132e38a3;backdrop-filter:blur(5px)}dialog h2{font-size:28px;font-weight:500;margin:14px 0}dialog p{color:var(--muted);font-size:15px;margin-bottom:20px}.dialog-close{position:absolute;right:12px;top:10px;width:44px;height:44px;border:0;background:none;font-size:27px;color:var(--muted)}.info-note{background:#eae6d9;padding:16px;margin:20px 0;font-size:14px;border-radius:5px}table{width:100%;border-collapse:collapse;font-size:13px;margin-top:20px}th{text-align:left;font-size:11px;color:var(--muted);font-weight:500}td,th{padding:12px 6px;border-bottom:1px solid var(--line)}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.intro,.round-card{animation:appear .5s ease both}@media(min-width:1450px){.hero{padding-top:45px}.wheel-wrap{max-width:730px}.history-section{margin-top:34px}}@media(max-width:1350px){.history-section,.rules{margin-left:5%;margin-right:5%}.play-layout{gap:28px}.round-card{padding:22px 23px 0}.header{padding:0 4%}.soon{display:none}}@media(max-width:1050px){.header nav{gap:20px}.play-layout{grid-template-columns:minmax(0,1.2fr) minmax(310px,1fr);gap:20px}.hero{padding-left:4%;padding-right:4%}.wheel-meta{margin:0 8px;font-size:9px}.wheel-caption{gap:12px}.caption-line{width:30px}.rules{gap:20px}.rules article{padding-left:15px}}@media(max-width:767px){.header{height:70px;padding:0 5%;gap:10px}.header .brand{font-size:21px}.brand-symbol{font-size:27px}.header nav{display:none}.wallet{font-size:12px;padding:8px 10px;min-height:40px}.hero{padding:26px 16px 20px}.intro{margin-bottom:28px}.intro .eyebrow{font-size:8px;letter-spacing:.15em;gap:9px}.intro h1{font-size:32px}.intro p{font-size:13px}.play-layout{display:flex;flex-direction:column;gap:27px}.wheel-area{width:100%;max-width:550px;margin:auto}.wheel-wrap{aspect-ratio:1.15}.wheel-meta{margin:0 18px}.wheel-pointer{top:14%}.wheel-center-mark{top:44%;font-size:27px}.wheel-caption{margin-top:-5px}.wheel-footnote{font-size:11px}.round-card{width:100%;max-width:520px;padding:23px 23px 0}.round-heading h2{font-size:25px}.round-heading p{font-size:14px}.pool-number{font-size:42px}.result-box strong{font-size:14px}.field-label,.pool-label{font-size:11px}.demo-note,.card-bottom,.card-bottom button{font-size:11px}.spin-button{font-size:16px;height:54px}.history-section{padding:25px 0}.section-heading h2{font-size:22px}.section-heading .eyebrow{font-size:9px}.text-button{font-size:12px}.text-button span{margin-left:6px}.empty-history{flex-wrap:wrap;gap:10px;padding:18px;font-size:13px}.empty-hint{margin-left:34px}.rules{grid-template-columns:1fr;gap:25px;padding:30px 0}.rules-heading h2{max-width:none;font-size:25px}.rules article{position:relative;padding-left:45px;border:0}.rules .roman{position:absolute;left:0;top:8px}.rules h3{font-size:16px;margin-top:5px}.rules p{font-size:14px}footer{flex-wrap:wrap;font-size:10px}footer>span:nth-child(2){display:none}dialog{padding:32px 24px}dialog h2{font-size:24px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
.wheel-center-mark{top:48%}.round-heading p,.result-box strong,.rules p,.rules h3,.header nav,.text-button{font-size:14px}.field-label{font-size:11px}.demo-note,.card-bottom,.card-bottom button{font-size:12px}.card-bottom button{min-height:44px}.pool-note,.wheel-footnote{font-size:12px}.pool-label,.card-top .eyebrow{font-size:11px}.history-chip small{font-size:12px} .hero:before{opacity:.8}

/* Revised identity: a geometric gold seal and inscription wordmark. */
.header{gap:28px}.header .brand{gap:13px;flex-shrink:0}.brand-emblem{display:block;width:54px;height:54px;filter:drop-shadow(0 2px 3px #193f501a)}.brand-lockup{display:flex;flex-direction:column;gap:4px}.brand-name{font-size:27px;letter-spacing:.22em;line-height:1.05;font-weight:600}.brand-tagline{font:500 8px/1.3 'DM Sans',sans-serif;letter-spacing:.25em;color:var(--gold)}.header nav{margin-left:auto}.round-card .demo-note{margin:8px 0 0}.round-card .result-box{margin-bottom:10px}footer .brand{gap:9px}footer .brand-emblem{width:35px;height:35px}footer .brand-name{font-size:18px}footer .brand-tagline{font-size:6px}
@media(max-width:767px){.header{justify-content:center;height:82px}.header .brand{gap:10px}.header .brand-emblem{width:48px;height:48px}.header .brand-name{font-size:25px}.header .brand-tagline{font-size:7px}}

.header-links{display:flex;align-items:center;gap:12px}.ca-button{display:flex;align-items:center;gap:6px;border:1px solid #bcb39f;background:transparent;border-radius:5px;padding:8px 12px;font-size:13px;color:var(--ink);letter-spacing:.04em;min-height:38px}.ca-button span{color:var(--gold);font-weight:600}.ca-button b{font-weight:500;font-variant-numeric:tabular-nums}.ca-button:hover{border-color:var(--gold)}.ca-button.copied b{color:var(--green)}.x-link{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #bcb39f;border-radius:5px;color:var(--ink)}.x-link:hover{border-color:var(--gold);color:var(--gold)}@media(max-width:767px){.header-links{gap:8px}.ca-button{padding:6px 9px;font-size:12px}}
.pool-address{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:12px;color:var(--ink);border:1px solid #d9d2c2;border-radius:5px;padding:6px 10px;background:#fffcf680}.pool-address span:first-child{color:var(--muted);letter-spacing:.08em;font-size:10px}.pool-address b{font-weight:500;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px}.pool-address:hover{border-color:var(--gold)}.pool-address .pool-ext{color:var(--gold)}

.pool{position:relative;margin:22px -12px 0;padding:22px 18px 20px;border:1px solid #d9c79a;border-radius:10px;background:linear-gradient(160deg,#fff9ea 0%,#f7ecd2 55%,#f2e3c3 100%);box-shadow:0 12px 34px #9a794422,inset 0 1px 0 #fff}.pool:before{content:'';position:absolute;inset:5px;border:1px solid #e6d5aa;border-radius:6px;pointer-events:none}.pool:after{content:'✧';position:absolute;right:16px;bottom:10px;font-size:40px;color:#c9a865;opacity:.28;pointer-events:none}.pool-label{font-size:11px;letter-spacing:.2em;color:#7a6338;font-weight:600}.pool-label>span{font-size:11px}.pool-live{display:inline-flex;align-items:center;gap:6px;letter-spacing:.14em;font-size:9px;color:#28604a;padding:3px 8px;border:1px solid #28604a55;border-radius:20px;background:#28604a10}.pool-live i{width:6px;height:6px;border-radius:50%;background:#28604a;box-shadow:0 0 0 0 #28604a66;animation:pulse 1.8s infinite}@keyframes pulse{0%{box-shadow:0 0 0 0 #28604a66}70%{box-shadow:0 0 0 7px #28604a00}100%{box-shadow:0 0 0 0 #28604a00}}.pool-number{font-size:clamp(46px,4.2vw,62px);line-height:1.15;margin-top:8px;letter-spacing:-.03em;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;background:linear-gradient(100deg,#7a5a2a 0%,#c9a24f 40%,#f1d78f 50%,#c9a24f 60%,#7a5a2a 100%);background-size:200% auto;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shine 6s linear infinite;text-shadow:none}@keyframes shine{to{background-position:200% center}}.pool-number>span{font:inherit;letter-spacing:inherit;margin:0;color:inherit}.pool-number>#poolAmount{font-family:'Cinzel',Georgia,serif;font-weight:600}.pool-currency{font-size:.55em;align-self:flex-start;margin-top:.25em}.pool-number>.pool-unit{font:600 15px 'Cinzel',Georgia,serif;letter-spacing:.12em;margin-left:2px;background:none;-webkit-text-fill-color:var(--gold);color:var(--gold)}.pool-note{margin-top:6px;color:#7a6f5c}.pool-address{background:#fffdf7;border-color:#d9c79a}@media(max-width:767px){.pool{margin:22px 0 0}.pool-number{font-size:50px}}@media(prefers-reduced-motion:reduce){.pool-number,.pool-live i{animation:none}}
