@font-face{font-family:DM;src:url('./dm-sans-400.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:DM;src:url('./dm-sans-600.ttf') format('truetype');font-weight:600;font-display:swap}@font-face{font-family:Readex;src:url('./readex-pro.ttf') format('truetype');font-display:swap}@font-face{font-family:Naskh;src:url('./naskh-700.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--ink:#efebff;--muted:#c3bad9;--paper:#161127;--surface:#241b3b;--soft:#342747;--accent:#c4b2ff;--accent-ink:#251741;--line:#514264;font-family:DM,Arial,sans-serif;font-size:16px;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:2rem}body{margin:0;background:var(--paper);color:var(--ink);line-height:1.8}html[lang=ar] body{font-family:Readex,Arial,sans-serif;line-height:2}a{color:inherit;text-underline-offset:.23em}button,input,select{font:inherit}button{cursor:pointer}button,a,input,select,summary{outline-offset:5px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #c17c22}button,input,select,a{-webkit-tap-highlight-color:transparent}h1,h2,h3,p{margin-block-start:0}h1,h2,h3{line-height:1.15;font-weight:600}h1{font-size:clamp(3rem,5.8vw,5.4rem);letter-spacing:-.055em;margin-block-end:1.4rem}html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3{font-family:Naskh,serif;line-height:1.55;letter-spacing:0}html[lang=ar] h1{font-size:clamp(3.3rem,6.2vw,5.7rem)}h2{font-size:clamp(1.9rem,3vw,2.8rem);letter-spacing:-.035em}h3{font-size:1.3rem}p{margin-block-end:1.1rem}img{display:block;max-width:100%}main,footer,.masthead{width:min(1300px,calc(100% - 3rem));margin-inline:auto}.skip{position:fixed;z-index:20;inset-block-start:-8rem;inset-inline-start:1rem;background:var(--accent);color:var(--accent-ink);padding:.7rem 1.3rem;border-radius:3rem}.skip:focus{inset-block-start:1rem}.masthead{margin-block:1.2rem;display:flex;justify-content:space-between;gap:1.5rem;align-items:center;padding:1rem 1.35rem;border-radius:4rem;background:var(--surface)}.brand{font-family:DM,Readex,sans-serif;font-weight:600;letter-spacing:-.03em;text-decoration:none;font-size:1.2rem}.masthead nav{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.masthead nav a{padding:.4rem .8rem;border-radius:3rem;text-decoration:none;font-size:.93rem}.masthead nav a:hover{background:var(--soft)}.eyebrow{font-size:.875rem;letter-spacing:.065em;color:var(--muted);margin-block-end:1rem}html[lang=ar] .eyebrow{letter-spacing:0}.hero{min-height:670px;position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:2rem;padding:3.6rem;margin-block:1.6rem 5.5rem;border-radius:4rem 8rem 4rem 4rem}.hero-media{position:absolute;inset:0;z-index:-2}.hero-media img{width:100%;height:100%;object-fit:cover}.hero-copy{position:relative;width:54%;max-width:680px;z-index:1}.hero-copy .lead{font-size:1.2rem;line-height:1.7}.hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#161127f2,transparent)}html[dir=rtl] .trace .hero::after{background:linear-gradient(270deg,#161127ee,transparent)}.actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-block-start:1.6rem}.button,button.primary,.quiet-link{display:inline-flex;align-items:center;justify-content:center;min-height:3.1rem;padding:.7rem 1.3rem;border-radius:3rem;text-decoration:none;border:0;background:var(--accent);color:var(--accent-ink);font-weight:600}.quiet-link{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}.hero-note{position:absolute;inset-inline-end:2rem;inset-block-end:1.5rem;padding:.5rem 1rem;border-radius:3rem;font-size:.875rem;background:#161127bb;color:#eee8ff;max-width:45%}.section{margin-block:5.5rem}.section-head{max-width:850px;margin-block-end:2rem}.section-head p{color:var(--muted);font-size:1.05rem}.section-head h2{margin-block-end:1rem}.worksheet{background:var(--surface);padding:2.8rem;border-radius:4rem 4rem 7rem 3rem;position:relative;overflow:hidden}.fields{display:grid;grid-template-columns:minmax(230px,1fr) auto;align-items:end;gap:1rem;max-width:800px}label{display:flex;flex-direction:column;gap:.6rem;font-size:.93rem;font-weight:500}input,select{min-width:0;width:100%;min-height:3.35rem;border:1px solid var(--line);border-radius:1.4rem;padding:.75rem 1rem;background:var(--paper);color:var(--ink);font-size:1rem}input[type=date]{direction:ltr}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='m3 4 5 5 5-5' fill='none' stroke='%236e7c8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-inline-end:2.7rem}.form-note{color:var(--muted);font-size:.93rem;margin-block:1rem}.status{font-size:.93rem;padding:.8rem 1.1rem;border-radius:2rem;background:var(--soft);margin-block:1.3rem}.status[data-state=error]{background:#ffdacb;color:#6b2414}.status[data-state=success]{background:var(--soft)}.results{margin-block-start:2rem}.big-result{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,1fr);gap:2rem;align-items:center}.number-orb{width:210px;aspect-ratio:1;border-radius:46% 54% 43% 57%;display:grid;place-content:center;background:var(--accent);color:var(--accent-ink);font-size:5rem;font-family:DM,Arial,sans-serif;line-height:1.05}.formula{font-family:DM,Arial,sans-serif;direction:ltr;unicode-bidi:isolate;font-size:1.15rem;line-height:1.8;overflow-wrap:anywhere}.result-label{font-size:.93rem;color:var(--muted)}.result-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.result-card{min-width:0;border-radius:3rem;padding:2rem;background:var(--paper)}.result-card h3{margin-block-end:1rem}.result-card .result-number{font-size:3.7rem;line-height:1.2;letter-spacing:-.05em;display:block;margin-block:1rem}.result-card dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.result-card dt{font-size:.875rem;color:var(--muted)}.result-card dd{margin:0;font-size:1.8rem;font-weight:600}.result-card p:last-child{margin-block-end:0}.reading-nav{display:flex;gap:.6rem;flex-wrap:wrap;margin-block:1.7rem 2.5rem}.reading-nav a{text-decoration:none;font-size:.93rem;padding:.55rem 1rem;border-radius:3rem;background:var(--soft)}.articles{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.articles article{padding:2.5rem;border-radius:3rem;background:var(--surface);min-width:0;scroll-margin-top:2rem}.articles article:first-child,.articles article:last-child{grid-column:1/-1}.articles article:first-child{border-start-start-radius:7rem}.articles article h2{font-size:1.9rem;line-height:1.3;margin-block-end:1.25rem}html[lang=ar] .articles article h2{line-height:1.6}.articles article p:last-child{margin-block-end:0}ul{padding-inline-start:1.2rem}li{margin-block:.5rem;padding-inline-start:.2rem}.faq-list{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.faq-list details{padding:1.4rem 1.6rem;border-radius:2.2rem;background:var(--surface)}summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:1rem;font-weight:600}summary::-webkit-details-marker{display:none}summary::after{content:'+';font-size:1.7rem;font-family:DM,Arial,sans-serif;line-height:1}details[open] summary::after{content:'−'}details p{margin-block:1rem .2rem;color:var(--muted)}.sources{padding:2.5rem;border-radius:3rem;background:var(--soft)}.sources a{overflow-wrap:anywhere}.sources ul{display:flex;gap:.5rem 2rem;flex-wrap:wrap}.micro{font-size:.875rem;color:var(--muted)}footer{padding:0 .5rem 3rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:var(--muted)}footer p{font-size:.93rem;margin:0}footer .brand{color:var(--ink)}.dates{--ink:#153a34;--muted:#42665b;--paper:#f5faf5;--surface:#fff;--soft:#e0efe5;--accent:#21634f;--accent-ink:#fbfff9;--line:#bdd6c7;color-scheme:light}.dates .masthead{background:white;box-shadow:0 12px 60px #17402d08}.dates .hero{background:#e4efe5;min-height:640px;padding:0 3rem;border-radius:6rem 3rem 10rem 3rem;overflow:visible}.dates .hero-media{inset:2rem 1.5rem 2rem 48%;border-radius:48% 30% 40% 35%;overflow:hidden;z-index:0}.dates .hero-copy{width:49%;padding-block:3rem}.dates .hero::after{display:none}.dates .hero h1{font-size:clamp(3rem,5vw,4.9rem)}.dates .hero-note{color:#153a34;background:#fffef1dd;z-index:1;inset-inline-end:3.5rem}.dates .worksheet{border-radius:6rem 3rem 3rem;background:#fff;box-shadow:0 20px 80px #17402d08}.dates .fields{grid-template-columns:1fr 1fr auto;max-width:none}.dates .result-card{background:#e5f0e9;border-radius:4rem 2rem 3rem 2rem}.dates .result-card:nth-child(2){background:#ffe2d7;border-radius:2rem 4rem 2rem 3rem}.dates .articles{display:block}.dates .articles article{max-width:88%;margin-block:1rem;border-radius:3rem;padding:2.5rem 3rem}.dates .articles article:nth-child(even){margin-inline-start:auto;background:#e7f1e9}.rules{--ink:#3f2534;--muted:#6f5265;--paper:#f6f0fc;--surface:#fffaff;--soft:#e9def0;--accent:#a44225;--accent-ink:#fff7ef;--line:#cfb9cc;color-scheme:light}.rules .hero{padding:2rem 2.5rem 0;min-height:0;text-align:center;display:flex;flex-direction:column;gap:1rem;border-radius:3.5rem 3.5rem 9rem 3.5rem;background:#e9def2}.rules .hero-copy{width:100%;max-width:900px;padding-block:1rem}.rules .hero h1{font-size:clamp(3rem,5.2vw,5.2rem)}.rules .hero .lead{max-width:700px;margin-inline:auto}.rules .actions{justify-content:center}.rules .hero-media{position:relative;width:calc(100% + 5rem);height:340px;flex-shrink:0}.rules .hero-media img{object-position:center}.rules .hero::after{display:none}.rules .hero-note{inset-inline-end:2rem;inset-block-end:1rem;background:#4a2534cc}.rules .worksheet{border-radius:4rem 6rem 3rem;background:#fffaff}.rules .result-card{background:#f2e4d6}.rules .result-card:nth-child(2){background:#e6d8ef}.rules .articles{display:block}.rules .articles article{display:grid;grid-template-columns:30% 1fr;gap:0 2rem;background:transparent;padding:2rem 1rem;border-radius:0}.rules .articles article h2{grid-row:1/span 5}.rules .articles article p,.rules .articles article ul{grid-column:2}.rules .articles article:last-child{background:#fffaff;border-radius:3rem;padding:2.5rem}.games{--ink:#202042;--muted:#51536d;--paper:#f2f1fc;--surface:#fff;--soft:#e5e3f5;--accent:#4241b5;--accent-ink:#fff;--line:#cbc8e1;color-scheme:light}.games .masthead{background:#d8f56f}.games .hero{background:#202042;padding:3rem;border-radius:5rem 5rem 10rem 3rem}.games .hero::after{background:linear-gradient(90deg,#161534f2,transparent 90%)}.games .hero-copy{color:#fff;width:55%;padding:1rem 0}.games .hero-copy .eyebrow{color:#dcf58b}.games .hero .button{background:#d9f379;color:#23213d}.games .hero .quiet-link{background:#363256;color:white;box-shadow:none}.games .hero-note{background:#252246cc;color:#eff5d8}.games .worksheet{background:#e7e4fc;border-radius:4rem;padding:2rem}.game-filters{display:grid;grid-template-columns:1.7fr 1fr auto;gap:1rem;align-items:end}.game-filters button{min-height:3.35rem;border-radius:2rem;border:0;background:#fff;color:#252246;padding:.7rem 1.2rem}.game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-block:1.6rem}.game-card{overflow:hidden;min-width:0;background:#fff;border-radius:2.1rem;display:flex;flex-direction:column}.game-card img{width:100%;aspect-ratio:16/10;object-fit:cover;background:#d9d6eb}.game-card .game-body{padding:1.1rem;display:flex;flex-direction:column;align-items:flex-start;flex:1}.game-card h3{font-size:1.1rem;line-height:1.35;margin-block-end:.7rem}.game-card .category-tag{display:block;font-size:.875rem;color:#555371;margin-block-end:.9rem}.game-card button{margin-block-start:auto;border:0;background:#e2f5ac;color:#283149;border-radius:2rem;padding:.5rem 1rem;min-height:2.8rem;font-weight:600}.games .articles article:nth-child(3n){background:#e5efcd}.games .sources{background:#dff0ad}.empty{padding:1.6rem;border-radius:2rem;background:var(--surface)}dialog{width:min(1100px,calc(100% - 2rem));max-width:none;padding:1rem;border:0;border-radius:2.2rem;background:#17182a;color:white;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#08091cbf}.player-header{display:flex;gap:1rem;justify-content:space-between;align-items:center}.player-header h2{font-size:1.5rem;margin:0}.player-header button{padding:.6rem 1rem;min-height:2.8rem;border:0;border-radius:2rem;background:#dcf58b;color:#22213e;font-weight:600}.frame{height:min(64vh,650px);margin-block:1rem;border-radius:1.3rem;overflow:hidden;background:#080b16}.frame iframe{border:0;width:100%;height:100%}.player-note{font-size:.875rem;color:#d2d1e2;margin-block:.8rem}.player-note a{display:inline-block;margin-inline-start:.5rem}.pace{--ink:#f3eeea;--muted:#c8beb9;--paper:#151c24;--surface:#202b37;--soft:#303b47;--accent:#e6b48a;--accent-ink:#362419;--line:#56616b}.pace .hero{background:#17202a;border-radius:8rem 3rem 4rem 4rem;min-height:620px}.pace .hero::after{background:linear-gradient(90deg,#131c26f2,transparent 95%)}.pace .hero-copy{width:56%}.pace .hero-note{background:#202b37dd;color:#f3ddcd}.pace .worksheet{border-radius:4rem 7rem 4rem 4rem}.pace .fields{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr))}.pace .fields button{align-self:end}.pace .result-card{background:#15202b;border-radius:3rem}.pace .result-card:nth-child(2){background:#4b352d;color:#fff5ed}.pace .result-card:nth-child(2) dt{color:#e9d3c8}.cost-track{height:.75rem;background:#ffffff20;border-radius:2rem;margin-block:1.3rem;overflow:hidden}.cost-bar{height:100%;border-radius:2rem;background:#e9bb8d;transition:width .25s ease}.pace .articles article:first-child{background:#40312d}.pace .articles article:nth-child(4){background:#293d47}.error-page main{min-height:75vh;display:grid;place-content:center;text-align:center}.error-page h1{font-family:DM,Arial,sans-serif}.error-page a{font-size:1.2rem}.example-tag{display:inline-block;color:var(--muted);font-size:.875rem;margin-block-end:1rem}.result-note{margin-block:1.3rem 0;color:var(--muted)}[hidden]{display:none!important}
@media(max-width:1080px){.hero{min-height:620px;padding:2.5rem}.hero-copy{width:63%}.dates .hero-copy{width:54%}.dates .hero-media{inset-inline-start:45%}.dates .fields{grid-template-columns:1fr 1fr}.dates .fields button{grid-column:1/-1;justify-self:start}.hero h1{font-size:3.8rem}.hero-note{max-width:50%}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.worksheet{padding:2rem}.articles article{padding:2rem}.games .hero-copy,.pace .hero-copy{width:63%}.masthead{gap:1rem}.masthead nav a{padding:.4rem .6rem}.rules .articles article{grid-template-columns:34% 1fr}}
@media(max-width:720px){html{scroll-padding-top:1rem}main,footer,.masthead{width:calc(100% - 1.5rem)}.masthead{border-radius:2rem;align-items:flex-start;flex-direction:column;padding:1rem;gap:.7rem}.brand{font-size:1.1rem}.masthead nav{gap:.1rem}.masthead nav a{padding:.35rem .6rem;font-size:.875rem}.hero,.games .hero,.pace .hero,.dates .hero{min-height:0;padding:17rem 1.1rem 1.1rem;margin-block:1rem 3.5rem;border-radius:3rem 3rem 5rem 3rem;overflow:hidden;display:flex;flex-direction:column;gap:1rem}.hero-media,.dates .hero-media{position:absolute;height:23rem;inset:0;border-radius:0;z-index:-1}.hero::after,.games .hero::after,.pace .hero::after{display:none}.hero-copy,.games .hero-copy,.pace .hero-copy,.dates .hero-copy{max-width:none;width:100%;padding:1.5rem;background:var(--paper);border-radius:2.7rem 2.7rem 4rem 2.7rem}.hero h1,.dates .hero h1,.rules .hero h1{font-size:2.6rem}html[lang=ar] .hero h1{font-size:3.2rem}.hero-copy .lead{font-size:1.05rem}.hero-note,.dates .hero-note{position:relative;inset:auto;max-width:100%;align-self:flex-end;margin:0;font-size:.875rem}.actions{gap:.5rem;margin-block-start:1.2rem}.button,.quiet-link,button.primary{padding:.65rem 1rem;font-size:.93rem}.games .hero-copy{background:#1d1a3a;color:white}.dates .hero-copy{background:#f9fff9ef}.rules .hero{padding:1.5rem 1rem 0;gap:1rem;border-radius:3rem}.rules .hero-copy{padding:.4rem;background:none}.rules .hero-media{position:relative;height:220px;width:calc(100% + 2rem);inset:auto}.rules .hero-note{position:absolute;inset-block-end:.6rem;inset-inline-end:.6rem;max-width:90%}.rules .actions{margin-block-end:1rem}.section{margin-block:3.5rem}.worksheet,.dates .worksheet,.rules .worksheet,.games .worksheet,.pace .worksheet{padding:1.4rem 1rem;border-radius:2.6rem}.fields,.dates .fields{grid-template-columns:1fr;gap:1rem}.fields button,.dates .fields button{width:100%;justify-self:stretch}.pace .fields{grid-template-columns:1fr 1fr}.pace .fields button{grid-column:1/-1}.section-head{margin-block-end:1.3rem}.section-head p{font-size:1rem}.big-result{grid-template-columns:1fr;gap:1.2rem}.number-orb{width:160px;font-size:4.4rem;margin-inline:auto}.result-pair{grid-template-columns:1fr}.result-card,.dates .result-card,.dates .result-card:nth-child(2),.pace .result-card{padding:1.6rem;border-radius:2.2rem}.result-card .result-number{font-size:3.2rem}.articles{grid-template-columns:1fr}.articles article,.articles article:first-child,.articles article:last-child{grid-column:auto;padding:1.5rem;border-radius:2.4rem}.articles article:first-child{border-start-start-radius:4rem}.articles article h2{font-size:1.65rem}.dates .articles article,.dates .articles article:nth-child(even){max-width:none;padding:1.5rem;border-radius:2.4rem}.rules .articles article,.rules .articles article:last-child{display:block;padding:1.5rem;border-radius:2.4rem;background:var(--surface);margin-block:1rem}.faq-list{grid-template-columns:1fr}.faq-list details{padding:1.2rem;border-radius:1.8rem}.sources{padding:1.6rem;border-radius:2.4rem}.sources ul{display:block}.game-filters{grid-template-columns:1fr 1fr}.game-filters label:first-child{grid-column:1/-1}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.game-card{border-radius:1.5rem}.game-card .game-body{padding:.85rem}.game-card h3{font-size:1rem}.game-card .category-tag{font-size:.875rem}.game-card button{font-size:.9rem;padding:.5rem .8rem;min-height:2.7rem}.player-header h2{font-size:1.15rem;line-height:1.3}.player-header button{font-size:.9rem}.frame{height:58vh}.status{padding:.9rem;border-radius:1.5rem}.formula{font-size:1rem}footer{gap:.7rem;padding-block-end:2rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
