/* The Riviera observatory: native art, quiet surfaces and clear decisions. */
.coinche-page{--coinche-deep:#082f3c;--coinche-paper:#f7f0df;--coinche-gold:#d6bd7d;--coinche-blue:#2388b9;color:var(--coinche-paper);background:#061e28;overflow-wrap:anywhere}
.coinche-page [hidden]{display:none!important}
.coinche-page h1,.coinche-page h2,.coinche-page h3,.coinche-page h4{color:var(--coinche-paper)}
.coinche-page p,.coinche-page li{color:#d4e0e0}
.coinche-page .eyebrow{color:var(--coinche-gold)}
.coinche-page a:not(.button){color:#eddaa8}
.coinche-page .band{background:transparent;border-top:1px solid #d6bd7d25;padding-block:clamp(3rem,7vw,6rem)}
.coinche-hero{position:relative;isolation:isolate;overflow:hidden;min-height:670px;background:#082f3c}
.coinche-hero-art{position:absolute;inset:0;z-index:-2}
.coinche-hero-art img{width:100%;height:100%;object-fit:cover;object-position:center}
.coinche-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#061e28e8 0%,#061e28b0 40%,#061e2830 75%),linear-gradient(0deg,#061e28 0%,transparent 35%);z-index:-1}
.coinche-hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center;padding-block:6rem 4rem;min-height:670px}
.coinche-hero-copy{max-width:650px;min-width:0}
.coinche-hero h1{font-size:clamp(3rem,5.8vw,6rem);line-height:1.03;letter-spacing:-.04em;text-wrap:balance;margin:1rem 0 1.5rem}
.coinche-hero h1 span{display:block;color:#eddaa8}
.coinche-hero .lead{max-width:56ch;color:#e1e9e6;font-size:clamp(1.05rem,1.3vw,1.25rem);line-height:1.75}
.coinche-hero .actions{gap:.75rem;flex-wrap:wrap}
.coinche-page .button--primary{background:var(--coinche-gold);color:#08232f;border-color:var(--coinche-gold)}
.coinche-page .button--ghost{color:#eddaa8;background:#082f3c99;border-color:#d6bd7d70}
.coinche-hero-fan{position:relative;display:flex;justify-content:center;align-items:center;min-height:370px;padding-bottom:5rem;perspective:1000px}
.coinche-hero-fan .coinche-card{width:clamp(100px,13vw,185px);height:auto;border-radius:12px;filter:drop-shadow(0 20px 20px #0008);transition:transform .35s ease}
.coinche-hero-fan .coinche-card:first-child{transform:rotate(-16deg) translate(25px,12px)}
.coinche-hero-fan .coinche-card:nth-child(2){transform:translateY(-20px);z-index:1}
.coinche-hero-fan .coinche-card:nth-child(3){transform:rotate(16deg) translate(-25px,12px)}
.coinche-hero-fan:hover .coinche-card:first-child{transform:rotate(-21deg) translate(12px,5px)}
.coinche-hero-fan:hover .coinche-card:nth-child(3){transform:rotate(21deg) translate(-12px,5px)}
.coinche-wordmark{position:absolute;width:min(420px,95%);height:auto;bottom:0;filter:drop-shadow(0 3px 8px #0008)}
.coinche-facts{background:#0b3843;border-block:1px solid #d6bd7d4d}
.coinche-facts dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-block:0;padding-block:1.4rem}
.coinche-facts dl>div{text-align:center;min-width:0}.coinche-facts dt{font-size:2.15rem;line-height:1.2;color:var(--coinche-gold);font-weight:750}.coinche-facts dd{margin:0;color:#e1e9e6;font-size:.93rem}
.coinche-contract-layout,.coinche-score-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(2rem,5vw,5rem);align-items:start}
.coinche-contract-layout>*,.coinche-score-layout>*,.coinche-rules>article{min-width:0}
.coinche-guide{width:150px;height:auto;float:right;shape-outside:ellipse(45% 48%);margin:0 0 1rem 1rem;filter:drop-shadow(0 10px 18px #0007)}
.coinche-lab{padding:clamp(1rem,2.4vw,2rem);border:1px solid #d6bd7d60;border-radius:24px;background:linear-gradient(135deg,#103b49,#082732);box-shadow:0 24px 64px #00141c60}
.coinche-lab fieldset{border:0;padding:0;margin:0 0 1.45rem;min-width:0}.coinche-lab legend{font-weight:700;margin-bottom:.75rem;color:#eddaa8}
.coinche-denominations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.coinche-denominations button,.coinche-pill-controls button,.coinche-dialog-controls button,.coinche-dialog-close{min-height:48px;min-width:48px;border:1px solid #aec7c87a;border-radius:12px;background:#062330;color:#eef4ee;padding:.7rem .9rem;font:inherit;font-weight:650;cursor:pointer}
.coinche-denominations button{display:flex;gap:.5rem;align-items:center;justify-content:center;flex-wrap:wrap;word-break:normal;overflow-wrap:anywhere}
.coinche-denominations button span{font-size:1.4rem;color:#eddaa8}
.coinche-page button[aria-pressed=true]{background:#d6bd7d;color:#08232f;border-color:#eddaa8;box-shadow:0 0 0 2px #d6bd7d35}
.coinche-page button[aria-pressed=true] span{color:#08232f}
.coinche-page button:focus-visible,.coinche-page input:focus-visible,.coinche-page select:focus-visible,.coinche-page summary:focus-visible{outline:3px solid #9fdaf6;outline-offset:4px}
.coinche-pill-controls{display:flex;gap:.5rem;flex-wrap:wrap;margin-block:.75rem 1rem}
.coinche-bid-controls{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;margin-bottom:1rem}.coinche-bid-controls label,.coinche-check{display:flex;gap:.65rem;align-items:center;min-height:48px}
.coinche-page input[type=range]{display:block;width:100%;height:48px;accent-color:#d6bd7d;cursor:pointer}.coinche-page input[type=checkbox],.coinche-page input[type=radio]{width:20px;height:20px;accent-color:#d6bd7d;flex-shrink:0}
.coinche-page input[type=number],.coinche-page select{display:block;width:100%;min-height:48px;padding:.5rem .75rem;margin-top:.4rem;border-radius:10px;border:1px solid #aac3c5;background:#061e28;color:#f7f0df;font:inherit}
.coinche-page input:disabled,.coinche-page select:disabled,.coinche-page button:disabled{opacity:.65;cursor:default}
.coinche-promise{margin-block:1.4rem;padding:1.2rem;border:1px solid #d6bd7d65;border-radius:16px;background:#041e2a}.coinche-promise span{display:block;font-size:.85rem;color:#b8d0d2}.coinche-promise output{display:block;font-size:clamp(1.2rem,2.2vw,1.85rem);font-weight:700;color:#eddaa8;line-height:1.5}
.coinche-lab output[for=coinche-bid],.coinche-lab output[for=coinche-points]{font-weight:750;font-size:1.55rem;color:#eddaa8}
.coinche-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem;margin-top:2rem}.coinche-rules article{padding:1.5rem;border-top:1px solid #d6bd7d60;background:#0b344066;border-radius:0 0 16px 16px}.coinche-number{color:#d6bd7d;font-size:.85rem;letter-spacing:.12em}
.coinche-rank-lab{margin-top:3rem;padding:clamp(1rem,3vw,2rem);background:#0b3440;border:1px solid #d6bd7d50;border-radius:24px}.coinche-rank-cards{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.6rem;padding:0;list-style:none}.coinche-rank-cards li{text-align:center;min-width:0}.coinche-rank-cards img{width:100%;height:auto}.coinche-rank-cards strong{display:block;font-size:1.45rem;color:#eddaa8}.coinche-rank-cards span{display:block;font-size:.8rem}
.coinche-puzzles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}.coinche-puzzle{min-width:0;margin:1rem 0;padding:1.4rem;border:1px solid #d6bd7d55;background:#0c3440;border-radius:20px}.coinche-puzzle legend{font-weight:750;padding:.35rem;color:#eddaa8}.coinche-puzzle legend span{padding-right:.5rem;color:#9cc5d5}.coinche-puzzle p{line-height:1.7}.coinche-trick{display:flex;gap:.65rem;align-items:center;margin:1rem 0;min-height:110px}.coinche-trick img{width:65px;height:auto;box-shadow:0 8px 12px #0005}.coinche-puzzle-hand{display:flex;gap:1rem;align-items:center;justify-content:center;flex-wrap:wrap;margin-block:1rem}.coinche-card-choice{padding:.3rem;border:2px solid #95b6ba;border-radius:12px;background:#061e28;cursor:pointer;transition:transform .16s ease}.coinche-card-choice img{display:block;width:clamp(65px,8vw,95px);height:auto;border-radius:6px}.coinche-card-choice:hover{transform:translateY(-5px)}.coinche-card-choice[data-verdict=correct]{border-color:#82d2b0;box-shadow:0 0 0 3px #82d2b045}.coinche-card-choice[data-verdict=wrong]{border-color:#f2a7a2;box-shadow:0 0 0 3px #f2a7a240}.coinche-puzzle-reply{min-height:2.2em;color:#eddaa8!important;font-weight:650}.coinche-page details summary{cursor:pointer;min-height:48px;display:flex;align-items:center;gap:.5rem;line-height:1.5;color:#eddaa8}.coinche-page details summary::before{content:"+";font-size:1.3rem;color:#d6bd7d}.coinche-page details[open] summary::before{content:"−"}
.coinche-score-inputs{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-block:1rem}.coinche-score label{color:#e5eee8;line-height:1.5}.coinche-score-result{margin-top:1.3rem;padding:1.2rem;border:1px solid #adc6b850;background:#041e2a;border-radius:16px}.coinche-score-result output{font-size:1.25rem;font-weight:750;line-height:1.6;color:#eddaa8}.coinche-score-result p{margin-block:.5rem}.coinche-score[data-result=made] [data-coinche-made]{color:#8cdbb8}.coinche-score[data-result=failed] [data-coinche-made],.coinche-score[data-result=invalid] output{color:#ffb4ae}
.coinche-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem;margin-block:2rem 3rem}.coinche-features article{min-width:0}.coinche-features img{width:100%;height:210px;object-fit:cover;border-radius:18px;box-shadow:0 15px 35px #0005}.coinche-features h3{margin-top:1.2rem}
.coinche-gallery-controls{margin:1.5rem 0}.coinche-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.2rem;align-items:start}.coinche-gallery figure{margin:0;min-width:0;border:1px solid #d6bd7d50;border-radius:16px;background:#082f3c;padding:.5rem;box-shadow:0 12px 32px #0004}.coinche-gallery button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;min-height:48px}.coinche-gallery img{width:100%;height:auto;display:block;border-radius:11px}.coinche-gallery figcaption{font-size:.88rem;line-height:1.55;padding:.8rem .35rem;color:#dbe7e6}.coinche-gallery figure[data-orientation=landscape]{grid-column:span 2}
.coinche-faq{border-bottom:1px solid #d6bd7d40;padding-block:.6rem}.coinche-faq summary{font-size:1.08rem;font-weight:650}.coinche-faq p{padding:.3rem 0 1rem;line-height:1.75}
.coinche-dialog{max-width:94vw;max-height:94vh;border:1px solid #d6bd7d88;border-radius:20px;background:#061e28;color:#f7f0df;padding:1rem;overflow:auto}.coinche-dialog::backdrop{background:#001018e8;backdrop-filter:blur(8px)}.coinche-dialog figure{margin:1rem 0;text-align:center}.coinche-dialog img{display:block;max-height:72vh;max-width:85vw;width:auto;height:auto;margin:auto;border-radius:10px}.coinche-dialog figcaption{max-width:70ch;padding-top:.8rem;font-size:.92rem}.coinche-dialog-close{display:block;margin-left:auto}.coinche-dialog-controls{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}.coinche-modal-open{overflow:hidden}
@media(max-width:1000px){.coinche-hero-inner{gap:1rem}.coinche-hero-fan .coinche-card{width:115px}.coinche-contract-layout,.coinche-score-layout{grid-template-columns:1fr 1.2fr;gap:2rem}.coinche-rules{grid-template-columns:repeat(2,minmax(0,1fr))}.coinche-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.coinche-hero{min-height:0}.coinche-hero-inner{grid-template-columns:1fr;padding-block:3rem 2rem;min-height:0}.coinche-hero-copy{max-width:none}.coinche-hero-fan{min-height:270px;padding-bottom:4rem}.coinche-hero-fan .coinche-card{width:clamp(85px,24vw,145px)}.coinche-hero::after{background:linear-gradient(180deg,#061e28a0,#061e28e8 65%,#061e28)}.coinche-wordmark{width:min(330px,90%)}.coinche-facts dl{grid-template-columns:repeat(2,minmax(0,1fr))}.coinche-contract-layout,.coinche-score-layout{grid-template-columns:1fr;gap:1.5rem}.coinche-guide{width:115px}.coinche-rules,.coinche-puzzles,.coinche-features{grid-template-columns:1fr}.coinche-denominations{grid-template-columns:repeat(2,minmax(0,1fr))}.coinche-rank-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.coinche-rank-cards img{max-width:100px}.coinche-score-inputs{grid-template-columns:1fr}.coinche-gallery{gap:.7rem}.coinche-gallery figcaption{font-size:.8rem}.coinche-features img{height:auto;aspect-ratio:16/9}.coinche-puzzle{padding:1rem}.coinche-lab{border-radius:18px}.coinche-dialog{padding:.65rem}.coinche-dialog img{max-width:86vw;max-height:65vh}}
@media(prefers-reduced-motion:reduce){.coinche-page *, .coinche-page *::before, .coinche-page *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.coinche-hero-fan:hover .coinche-card:first-child{transform:rotate(-16deg) translate(25px,12px)}.coinche-hero-fan:hover .coinche-card:nth-child(3){transform:rotate(16deg) translate(-25px,12px)}}
