:root{--paper:#f7f3e9;--ink:#302c43;--muted:#777482;--purple:#675087;--orange:#da8859;--line:#dedbd0;--surface:#fffdf7;--green:#497760;--table:#e9e6ee;--red:#bc4f65}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:4px}button{border:0}button:hover:not(:disabled){filter:brightness(.97)}a{color:inherit}button[hidden],[hidden]{display:none!important}.topbar{max-width:1336px;margin:auto;padding:25px 38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;display:flex;align-items:center;gap:13px;font-size:11px;font-weight:800;letter-spacing:1.8px}.brandmark{font-size:31px;font-family:Georgia,serif;font-style:italic;letter-spacing:-4px}.brandmark span{color:var(--orange);font-style:normal;letter-spacing:0;margin-left:5px;font-size:20px}.brand small{display:block;font-size:8px;letter-spacing:1.6px;font-weight:500;margin-top:3px}.topbar nav{display:flex;gap:15px;align-items:center}.quiet{background:none;font-size:12px;font-weight:650;padding:9px}.profilebutton{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:28px;background:var(--surface);padding:4px 12px 4px 5px;font-size:12px;font-weight:650}.profilebutton svg{width:37px;display:block}main{max-width:1260px;margin:auto;padding:39px 0 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:var(--muted);margin-bottom:14px}h1{font-family:Georgia,serif;font-weight:400;line-height:1.03;letter-spacing:-3px;font-size:66px;margin:0}h1 em{color:var(--purple);font-weight:400}h1 em span{color:var(--orange)}.intro p{color:var(--muted);margin:17px 0 0;font-size:14px}.intro p strong{font-weight:500;color:var(--ink)}.lessonlink{background:transparent;border:1px solid var(--line);padding:18px 24px;border-radius:17px;display:flex;align-items:center;gap:15px;color:var(--muted);font-size:12px;text-align:left}.lessonlink strong{display:block;color:var(--purple);font-size:14px;margin-top:4px}.spark{font-size:42px;line-height:1;color:var(--orange)}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.pill{display:flex;gap:8px;align-items:center;font-size:10px;font-weight:750;letter-spacing:1.3px}.livedot{width:7px;height:7px;background:var(--green);border-radius:50%}.tools{display:flex;gap:8px;flex-wrap:wrap}.smallbtn{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:9px 15px;font-size:12px;font-weight:650}.layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:32px}.opponents{display:flex;justify-content:center;gap:15px;margin-bottom:15px}.opponent{display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:15px;padding:8px 13px;background:#eeebe2;min-width:150px}.opponent.current{border-color:var(--purple);background:#ebe4f2}.avatar{display:inline-block;width:50px;flex:none}.avatar svg{display:block;width:100%}.playertext{display:flex;flex-direction:column;font-size:12px}.playertext strong{font-size:13px}.playertext small{color:var(--muted)}.minibacks{display:flex;margin-left:8px}.minibacks span{width:15px;height:22px;border:1px solid var(--paper);background:var(--purple);border-radius:3px;margin-left:-9px}.table{position:relative;border:1px solid #d7d0e1;background:var(--table);border-radius:24px;padding:20px 30px 0;overflow:hidden}.tabletop{display:flex;justify-content:space-between;color:#82798e;font-size:9px;font-weight:750;letter-spacing:1.5px}.piles{display:flex;justify-content:center;align-items:center;gap:38px;margin:28px 0 20px}.playingcard{width:105px;aspect-ratio:5/7;background:var(--surface);border:1px solid #dcd8d6;border-radius:12px;box-shadow:0 4px 0 #d3ccd9,0 10px 20px #3d2f4710;display:flex;align-items:center;justify-content:center;position:relative;color:var(--ink);padding:0;font-family:Georgia,serif;flex:none}.playingcard.red{color:var(--red)}.cardcorner{position:absolute;top:9px;left:11px;line-height:.95;text-align:center;font-size:23px;display:flex;flex-direction:column;gap:3px}.cardcorner.bottom{top:auto;left:auto;bottom:9px;right:11px;transform:rotate(180deg)}.cardcorner i{font-size:17px;font-style:normal}.cardmiddle{font-size:51px;line-height:1}.wildmark{font-family:Georgia,serif;font-size:55px;font-style:italic;color:var(--purple)}.back{background:var(--purple);border:5px solid var(--surface);box-shadow:0 4px 0 #c4b9ce,0 10px 20px #3d2f4710}.backpattern{height:100%;width:100%;border:1px solid #c8bad8;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:65px;font-style:italic;color:#fff3df;position:relative;background:repeating-linear-gradient(45deg,transparent,transparent 8px,#ffffff09 8px,#ffffff09 9px)}.backpattern>span{position:absolute;right:5px;bottom:5px;font-size:17px}.pilelabel{font-size:8px;font-weight:750;letter-spacing:1.5px;margin-top:15px;text-align:center;color:#82798e}.pilelabel strong{font-size:9px;letter-spacing:0;margin-left:3px}.tablecenter{display:flex;flex-direction:column;align-items:center;width:126px;gap:4px}.tinylabel{font-size:8px;letter-spacing:1.3px;font-weight:750;color:#82798e}.suitmedallion{width:55px;height:55px;border-radius:50%;background:#f6f1e8;display:grid;place-items:center;font-size:35px;font-family:Georgia,serif;margin-top:7px}.tablecenter>span:last-of-type{font-size:12px;font-weight:650}.penalty{background:#f6d9cb;color:#9b482c;font-size:10px;border-radius:8px;padding:5px 9px;margin-top:5px;font-weight:700}.turnline{text-align:center;border-top:1px solid #d7d0e1;padding:13px 5px 14px}.turnline>span{font-size:9px;font-weight:800;letter-spacing:1.5px;color:var(--purple)}.turnline p{margin:5px 0 0;font-size:12px}.handtop{display:flex;justify-content:space-between;align-items:center;margin:22px 0 14px}.youlabel{display:flex;align-items:center;gap:10px}.youlabel .avatar{width:43px}.youlabel>div{display:flex;flex-direction:column;font-size:13px}.youlabel>div>span{color:var(--muted);font-size:10px}.hand{display:flex;flex-wrap:wrap;gap:9px;min-height:114px;align-items:flex-start;padding:4px 2px 13px}.hand .playingcard{width:70px;border-radius:9px;transition:transform .15s,border-color .15s;box-shadow:0 3px 0 #d9d4cb}.hand .playingcard:not(:disabled):hover{transform:translateY(-6px)}.hand .cardcorner{font-size:18px;left:7px;top:7px}.hand .cardcorner.bottom{left:auto;right:7px;bottom:7px;top:auto}.hand .cardcorner i{font-size:12px}.hand .cardmiddle{font-size:34px}.hand .wildmark{font-size:39px}.hand .playingcard.highlight{outline:3px solid var(--orange);transform:translateY(-5px)}.hand .playingcard.hintcard{outline:3px solid var(--green);transform:translateY(-8px)}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.primary,.secondary{padding:13px 17px;border-radius:10px;font-size:12px;font-weight:750;min-height:44px}.primary{background:var(--ink);color:var(--surface)}.primary>span{margin-left:19px}.secondary{background:#eeebe2;border:1px solid var(--line)}.savestatus{font-size:10px;color:var(--muted);margin:13px 0 0}.onlinepanel{margin-top:16px;border:1px solid var(--line);padding:15px;border-radius:12px;display:flex;flex-direction:column;gap:12px;font-size:12px}.coach{background:var(--purple);color:#fff8e9;border-radius:20px;padding:24px 24px 26px}.coachheading{display:flex;align-items:center;gap:10px;font-size:8px;letter-spacing:1.5px;font-weight:650;color:#dfd3ec}.coachheading>span:first-child{font-size:23px;color:#edb786}.coach h2{font-family:Georgia,serif;font-weight:400;font-size:29px;line-height:1.13;letter-spacing:-.6px;margin:20px 0 15px}.coach p{font-size:12px;line-height:1.8;color:#e9e1ef;margin:0}.textbutton{padding:0;background:none;color:var(--purple);font-size:12px;font-weight:750}.coach .textbutton{color:#ffdbab;margin-top:15px}.scorepanel,.historypanel{padding:24px 3px 21px;border-bottom:1px solid var(--line)}.panelhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.panelhead h3{font-family:Georgia,serif;font-size:19px;font-weight:400;margin:0}.panelhead>span{font-size:7px;font-weight:750;letter-spacing:1px;color:var(--muted)}.scorerow{display:flex;align-items:center;gap:8px;font-size:12px;margin:10px 0}.scorerow .avatar{width:27px}.scorerow strong{margin-left:auto;font-family:Georgia,serif;font-size:20px;font-weight:400}.scorepanel p{font-size:10px;color:var(--muted);line-height:1.8;margin:16px 0 0}#log{padding-left:16px;margin:0;font-size:10px;line-height:1.8;color:var(--muted)}#log li{padding:3px 0}.asidefooter{font-family:Georgia,serif;font-style:italic;color:var(--muted);font-size:15px;padding:24px 5px}.asidefooter span{display:block;font-style:normal;color:var(--purple);font-size:24px;letter-spacing:10px;margin-top:10px}.bottomnote{border-top:1px solid var(--line);margin-top:48px;padding:33px 0;display:flex;align-items:center;gap:25px}.eightbadge{width:77px;height:94px;background:#eadfd1;display:grid;place-items:center;border-radius:12px;transform:rotate(-12deg);font-family:Georgia,serif;font-style:italic;font-size:70px;color:var(--orange);flex:none}.bottomnote h2{font-family:Georgia,serif;font-weight:400;font-size:24px;line-height:1.15;margin:0}.bottomnote h2 em{color:var(--purple);font-weight:400}.bottomnote p{font-size:10px;color:var(--muted);margin-bottom:0}.bottomnote button{margin-left:auto}footer{max-width:1260px;margin:auto;border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;font-size:8px;font-weight:650;letter-spacing:1px;color:var(--muted)}footer a{text-decoration:none}dialog{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:22px;padding:25px;width:min(660px,calc(100% - 30px));max-height:88dvh;overflow:auto;box-shadow:0 30px 100px #28203933}dialog::backdrop{background:#302c4366;backdrop-filter:blur(5px)}.dialoghead{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin-bottom:20px}.dialoghead h2{font-family:Georgia,serif;font-size:32px;font-weight:400;line-height:1.1;margin:4px 0}.closebutton{border-radius:50%;width:35px;height:35px;background:#eeebe2;flex:none;font-size:25px;line-height:1}.dialogactions{display:flex;gap:9px;flex-wrap:wrap;margin-top:23px}#dialogBody p{font-size:13px;color:var(--muted);line-height:1.8}#dialogBody label{font-size:12px}input[type=text],input:not([type]),select{background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:10px 12px;color:var(--ink);max-width:100%}input[readonly]{width:100%;font-size:12px}.setting{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}.setting small{display:block;color:var(--muted);font-size:10px;margin-top:4px;max-width:340px}.setting input[type=checkbox]{width:19px;height:19px;accent-color:var(--purple)}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.formgrid label{display:flex;flex-direction:column;gap:6px}.avatarbuilder{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px}.avatarpreview{position:sticky;top:0;align-self:start;text-align:center}.avatarpreview svg{width:150px;margin-bottom:12px}.avatarfields>label{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.swatches{display:flex;gap:6px;flex-wrap:wrap}.swatch{width:28px;height:28px;border-radius:50%;border:2px solid #ffffffa0;background:var(--swatch);box-shadow:0 0 0 1px var(--line)}.swatch.selected{outline:2px solid var(--ink);outline-offset:2px}.piercinggrid{display:flex;flex-wrap:wrap;gap:9px}.piercinggrid label{padding:7px 10px;background:var(--paper);border-radius:8px}.piercinggrid input{accent-color:var(--purple);vertical-align:middle}.subheading{font-size:10px;font-weight:800;letter-spacing:1px;margin:18px 0 8px}.suitchoices{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.suitchoices button{background:var(--paper);border:1px solid var(--line);padding:13px 5px;border-radius:12px;display:flex;flex-direction:column;align-items:center;font-size:12px}.suitchoices button span{font-family:Georgia,serif;font-size:44px}.red{color:var(--red)}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--surface);padding:13px 22px;border-radius:12px;font-size:13px;z-index:100;max-width:calc(100% - 30px);box-shadow:0 5px 30px #2223}.statgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:20px}.statgrid>div{background:var(--paper);padding:17px 8px;text-align:center;border-radius:12px}.statgrid strong{font:36px Georgia,serif;display:block}.statgrid span{font-size:11px;color:var(--muted)}.winmark{text-align:center;font-size:52px;color:var(--purple);letter-spacing:10px}body.night{--paper:#242330;--surface:#33313f;--ink:#f5efdf;--muted:#b5aebc;--line:#494451;--purple:#b49bd3;--table:#393244;--red:#ed93a2}body.night .coach{background:#514267}body.night .secondary,body.night .opponent{background:#37323e}body.night .opponent.current{background:#50405d}body.night .playingcard{background:#fffaf1;color:#302c43}body.night .playingcard.red{color:#bc4f65}body.night .back{background:#675087}body.night .suitmedallion{background:#554a61}body.night .turnline,body.night .table{border-color:#5b4e69}body.night .tabletop,body.night .pilelabel,body.night .tinylabel{color:#bdb1ca}.large .hand .playingcard{width:83px}.large .hand .cardcorner{font-size:22px}@media(min-width:1400px){main,footer{max-width:1260px}}@media(max-width:1340px){main,footer{margin-left:38px;margin-right:38px}}@media(max-width:1000px){h1{font-size:52px}.layout{grid-template-columns:minmax(0,1fr) 245px;gap:23px}.piles{gap:23px}.table{padding:18px 20px 0}.tablecenter{width:100px}.playingcard{width:90px}.coach{padding:20px}.opponent{min-width:0;padding:7px}.minibacks{display:none}.opponents{gap:7px}.opponent .avatar{width:38px}}@media(max-width:800px){.topbar{padding:17px 23px}.topbar nav{gap:5px}.brand{font-size:9px}.topbar nav .quiet{font-size:10px}main,footer{margin-left:23px;margin-right:23px}main{padding-top:27px}.layout{grid-template-columns:1fr}.layout aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.coach{grid-column:1/-1}.coach h2{margin:8px 0;font-size:26px}.coach p{font-size:13px}.coachheading{font-size:8px}.asidefooter{display:none}.historypanel,.scorepanel{padding-top:6px}.intro{gap:20px}.lessonlink{padding:12px 14px;max-width:195px}.spark{font-size:30px}.intro p{font-size:12px}.layout.learning{display:flex;flex-direction:column}.layout.learning aside{order:-1;display:block}.layout.learning aside>*:not(.coach){display:none}.layout.learning .gamearea{order:1}.bottomnote{margin-top:20px}.piles{gap:40px}.playingcard{width:105px}.tablecenter{width:126px}}@media(max-width:550px){.topbar{padding:12px 16px}.brand{letter-spacing:1px}.brand small{font-size:6px;letter-spacing:1px}.brandmark{font-size:27px}.brandmark span{font-size:17px}.topbar nav .quiet{display:none}.profilebutton{font-size:10px;gap:5px;padding-right:9px}.profilebutton svg{width:31px}main,footer{margin-left:16px;margin-right:16px}main{padding-top:23px}.intro{align-items:flex-start;gap:12px;margin-bottom:22px}.eyebrow{font-size:7px;letter-spacing:1px;margin-bottom:10px}h1{font-size:45px;letter-spacing:-2px;max-width:250px}h1 em{display:block}.intro p{font-size:11px;max-width:220px;line-height:1.6;margin-top:12px}.lessonlink{padding:11px 9px;width:117px;flex-direction:column;align-items:flex-start;gap:5px;border-radius:12px;font-size:9px}.lessonlink strong{font-size:10px;line-height:1.4}.spark{font-size:24px}.toolbar{align-items:flex-start;gap:9px;margin-bottom:15px;flex-direction:column}.pill{font-size:8px}.smallbtn{padding:8px 12px;font-size:10px}.toolbar .tools{width:100%;gap:6px}.toolbar .tools button{flex:1}.opponents{flex-wrap:wrap}.opponent{flex:1;min-width:95px;gap:5px}.opponent .avatar{width:31px}.playertext strong{font-size:11px}.playertext small{font-size:9px}.table{padding:15px 16px 0;border-radius:18px}.tabletop{font-size:7px;letter-spacing:1px}.piles{gap:19px;margin:24px 0 19px}.playingcard{width:81px;border-radius:10px}.tablecenter{width:94px}.tinylabel{font-size:6px;letter-spacing:.7px}.suitmedallion{width:44px;height:44px;font-size:29px}.tablecenter>span:last-of-type{font-size:10px}.pilelabel{font-size:6px;letter-spacing:1px;margin-top:11px}.turnline{padding:11px 0}.turnline p{font-size:10px;min-height:15px}.turnline>span{font-size:8px}.cardcorner{font-size:19px;top:8px;left:8px}.cardcorner.bottom{bottom:8px;right:8px}.cardcorner i{font-size:13px}.cardmiddle{font-size:37px}.wildmark{font-size:47px}.backpattern{font-size:52px}.handtop{margin-top:18px}.hand{gap:7px;min-height:103px}.hand .playingcard{width:calc((100vw - 71px)/6);min-width:48px;max-width:68px;box-shadow:0 2px 0 #d9d4cb;border-radius:7px}.hand .cardcorner{font-size:15px;left:5px;top:5px;gap:2px}.hand .cardcorner.bottom{right:5px;bottom:5px;left:auto;top:auto}.hand .cardcorner i{font-size:10px}.hand .cardmiddle{font-size:25px}.hand .wildmark{font-size:30px}.hand .cardcorner.bottom{display:none}.large .hand .playingcard{width:calc((100vw - 60px)/4);max-width:83px}.large .hand .cardcorner{font-size:21px}.large .hand .cardmiddle{font-size:35px}.actions{gap:7px;margin-top:5px}.primary,.secondary{padding:12px 13px;font-size:11px}.actions .primary{flex:1;min-width:130px}.actions .secondary{flex:1}.actions .primary>span{margin-left:9px}.savestatus{font-size:9px}.layout aside{gap:15px}.coach{border-radius:16px;padding:19px}.coach h2{font-size:26px}.coach p{font-size:12px}.panelhead{flex-wrap:wrap;gap:4px}.panelhead h3{font-size:18px}.scorepanel p{font-size:9px}.scorerow{font-size:10px}.bottomnote{padding:28px 0;gap:18px;flex-wrap:wrap}.eightbadge{width:57px;height:77px;font-size:58px}.bottomnote h2{font-size:21px}.bottomnote p{font-size:9px;max-width:220px}.bottomnote button{margin-left:75px}.bottomnote>div{flex:1}footer{flex-wrap:wrap;gap:12px;font-size:6px;letter-spacing:.6px}.avatarbuilder{grid-template-columns:95px minmax(0,1fr);gap:16px}.avatarpreview svg{width:95px}.avatarfields select{width:100%}.swatch{width:25px;height:25px}.avatarpreview .secondary{font-size:10px;padding:9px}.dialoghead h2{font-size:28px}dialog{padding:21px}.formgrid{gap:12px}.setting{gap:12px}.setting select{font-size:11px;max-width:145px}.setting small{font-size:9px}.suitchoices{gap:6px}.suitchoices button{font-size:10px}}@media(prefers-reduced-motion:no-preference){.table .discardgroup .playingcard{animation:cardIn .3s ease-out}@keyframes cardIn{from{transform:rotate(-5deg) translateY(-8px);opacity:.5}to{transform:none;opacity:1}}} @media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Keep the installed release visible without opening settings. */
.app-release{display:block;font:600 12px/1.5 system-ui,sans-serif;letter-spacing:.02em;color:inherit;opacity:.85;margin:6px 0 12px;white-space:normal}.app-release time{font-weight:400}
