:root{--viewport-height: 100vh;--dialog-height: calc(var(--viewport-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 32px);--felt: #1f6f43;--felt-deep: #134a2c;--ink: #fdf8ec;--gold: #f2c14e;--paper: #fdf8ec;--text: #1d1b16;color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-tap-highlight-color:transparent}@supports (height: 100dvh){:root{--viewport-height: 100dvh}}[hidden]{display:none!important}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 38%,#2b8a56 0%,var(--felt) 52%,var(--felt-deep) 100%) fixed;color:var(--ink);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow-x:hidden}header{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem}h1{margin:0;font-size:1.5rem;letter-spacing:.02em}button{font:inherit;cursor:pointer}.online-code-input{font:inherit}.icon{min-width:3rem;min-height:3rem;border:0;border-radius:50%;background:#0000002e;color:var(--ink);font-size:1.4rem}main{flex:1;display:flex;flex-direction:column;gap:.5rem;padding:0 1rem 1rem}.opponents{display:flex;justify-content:space-around;gap:.5rem;min-height:5.5rem}.opponent{flex:1 1 0;display:flex;flex-direction:column;align-items:center;gap:.25rem;min-width:0}.opponent[data-out=true]{opacity:.5}.backs{display:flex;justify-content:center;height:48px;max-width:100%;overflow:hidden}.backs .mini{flex:none;width:30px;line-height:0;margin-left:-21px;filter:drop-shadow(0 1px 2px rgba(0,0,0,.4))}.backs .mini:first-child{margin-left:0}.mini svg,.card svg{display:block;width:100%;height:auto}.who{position:relative;z-index:11;margin:0;padding:.15rem .6rem;border-radius:999px;font-size:1rem;text-align:center}.who .count{font-weight:700}.opponent[data-turn=true] .who{background:var(--gold);color:var(--text)}.middle{flex:1;display:flex;align-items:center;justify-content:center;gap:24px;min-height:11rem}.card{display:block;padding:0;border:0;background:none;line-height:0;border-radius:7%;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}.stock{position:relative;width:clamp(64px,20vw,100px)}.stock:disabled{cursor:default}.stock .count{position:absolute;right:-.4rem;bottom:-.4rem;min-width:1.8rem;padding:.3rem .4rem;border-radius:999px;background:var(--paper);color:var(--text);font-size:.9rem;font-weight:700;line-height:1;text-align:center}.pile{position:relative;width:clamp(92px,30vw,152px)}.pile .under{position:absolute;inset:0;transform:rotate(-9deg) translate(-8%,2%);opacity:.9}.pile .top{position:relative}.in-force{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:2.25rem;margin:0;font-size:1.1rem;font-weight:700}html[data-large-text=true] .in-force span{min-width:0;padding-inline-end:.125em}.in-force svg{width:2rem;height:2rem;padding:.15rem;border-radius:50%;background:var(--paper)}.pending{min-height:1.4rem;margin:0;color:var(--gold);font-weight:700;text-align:center}.status{min-height:2.8em;margin:0;font-size:1.05rem;text-align:center}.actions{display:flex;justify-content:center;gap:.75rem}.actions button{min-height:3rem;padding:.6rem 1.6rem;border:0;border-radius:999px;background:var(--gold);color:var(--text);font-size:1.1rem;font-weight:700}.actions button:disabled{background:#fff3;color:#fdf8ec99;cursor:default}.hand{display:flex;justify-content:safe center;padding:.9rem .25rem .25rem;overflow-x:auto;overflow-y:hidden}.hand .card{flex:none;width:clamp(58px,19vw,100px);transition:transform .12s ease-out}.hand .card+.card{margin-left:calc(-1 * var(--overlap, 0px))}.hand:has(>.card:nth-child(9)){gap:8px}.hand.mine .card:not(.dim){transform:translateY(-.6rem)}.hand .card.dim{filter:brightness(.6) saturate(.55) drop-shadow(0 2px 3px rgba(0,0,0,.35))}.card:focus-visible,.actions button:focus-visible,.icon:focus-visible{outline:3px solid var(--gold);outline-offset:2px}dialog{width:min(92vw,30rem);max-height:var(--dialog-height);inset-block-start:calc(var(--viewport-top, 0px) + env(safe-area-inset-top));inset-block-end:calc(var(--viewport-bottom, 0px) + env(safe-area-inset-bottom));border:0;border-radius:1rem;padding:1.25rem;background:var(--paper);color:var(--text)}dialog::backdrop{background:#0000008c}dialog h2{margin:0 0 1rem;font-size:1.3rem}dialog h3{margin:1rem 0 .5rem;font-size:1rem}.suits{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.suits button{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:.75rem;border:2px solid #d8cdb2;border-radius:.75rem;background:#fff;color:var(--text);font-size:1.1rem}.suits svg{width:3.5rem;height:3.5rem}.reveal .row{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin-bottom:.6rem}.reveal .name{min-width:4rem;font-weight:700}.reveal .card{width:44px}.menu-list{display:flex;flex-direction:column;gap:.6rem}.menu-list>button,dialog form button,#suitCancel,#nextRound{min-height:3rem;padding:.6rem 1rem;border:0;border-radius:.75rem;background:var(--felt);color:var(--ink);font-size:1.05rem;font-weight:600}dialog form{margin-top:1rem}dialog form button,#suitCancel,#nextRound{width:100%}.segmented{display:flex;gap:.5rem}.segmented button{flex:1;min-height:2.75rem;border:2px solid #c9bc9b;border-radius:.6rem;background:#fff;color:var(--text);font-weight:700}.segmented button[aria-pressed=true]{border-color:var(--felt);background:var(--felt);color:var(--ink)}fieldset{margin:0 0 .9rem;padding:0;border:0}legend,.label{margin-bottom:.4rem;font-weight:700}.switch{display:flex;align-items:center;gap:.6rem;min-height:2.75rem}.switch input{width:1.4rem;height:1.4rem;accent-color:var(--felt)}.note{color:#5b5446;font-size:.95rem}#rulesText{padding-left:1.2rem;line-height:1.45}.links a{color:var(--felt-deep)}@media(min-width:760px){main{width:100%;max-width:56rem;margin-inline:auto;gap:1rem}.opponents{justify-content:center;gap:3rem}.backs{height:64px}.backs .mini{width:40px;margin-left:-28px}.middle{gap:48px}.stock{width:120px}.pile{width:176px}.hand .card{width:112px}}.info{display:flex;flex-direction:column;gap:.5rem}@media(max-height:700px){.middle{min-height:0}.in-force:empty,.pending:empty{display:none}}@media(orientation:landscape)and (max-height:820px){main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-areas:"opponents info" "middle info" "middle actions" "middle hand";column-gap:1.5rem;row-gap:.4rem}.opponents{grid-area:opponents;min-height:0}.middle{grid-area:middle;min-height:0}.info{grid-area:info;justify-content:center}.actions{grid-area:actions}.hand{grid-area:hand}.backs{height:40px}.backs .mini{width:26px;margin-left:-18px}.stock{width:clamp(52px,17vh,110px)}.pile{width:clamp(72px,27vh,170px)}.hand .card{width:clamp(50px,19vh,112px)}.in-force:empty,.pending:empty{display:none}}#suitCancel{margin-top:1rem}.card-motion-layer{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:10}.motion-card{position:absolute;transform-origin:0 0;pointer-events:none;will-change:transform,opacity}.motion-covered{opacity:0!important}@media(prefers-reduced-motion:reduce){.hand .card{transition:none}}.sound-switch{flex-wrap:wrap}.sound-switch #soundsState{margin-inline-start:auto}.android header{flex-wrap:wrap;gap:.5rem}.android header h1{min-width:0;overflow-wrap:anywhere}.android header .icon{flex-shrink:0}.android main{min-width:0}.android .who{max-width:100%;overflow-wrap:anywhere}.android .actions,.android .segmented{flex-wrap:wrap}.android .segmented button{flex:1 1 max-content;min-width:0;max-width:100%;overflow-wrap:anywhere}.android .suits{display:flex;flex-wrap:wrap}.android .suits button{flex:1 1 calc((100% - .75rem)/2);min-width:min-content;max-width:100%;overflow-wrap:normal}.android dialog{overflow-y:auto;overflow-wrap:anywhere}#moreAppsDialog[open]{display:flex;flex-direction:column;gap:8px;width:min(calc(100vw - 32px),640px);max-width:calc(100vw - 32px);padding:16px;height:var(--dialog-height);max-height:var(--dialog-height);overflow:hidden}#moreAppsTitle{margin:0 0 12px;font-size:1.2rem;line-height:1.25}#moreAppsContent{flex:1 1 0;min-height:0;overflow-y:auto;padding:calc(4px + var(--scroll-head, 0px)) 4px calc(4px + var(--scroll-tail, 0px))}#moreAppsDialog .lt-sheet-actions{flex:0 0 auto}#moreAppsDialog .lt-sheet-actions form{margin:0}.more-apps-list{display:flex;flex-direction:column;gap:12px;list-style:none;margin:0;padding:0}.more-apps-row{border:1px solid #c7b58b;border-radius:12px;background:#fffaf0}.more-apps-card{display:flow-root;width:100%;min-height:64px;border:0;padding:10px;color:var(--text);background:transparent;text-align:left}.more-apps-card img{width:64px;height:64px;float:left;margin-inline-end:12px;border-radius:10px}.more-apps-copy{display:block;min-width:0;font-size:1rem;line-height:1.4}.more-apps-copy strong{font-size:1.05rem}.more-apps-tagline{margin:0;padding:0 10px 10px;font-size:1rem;line-height:1.4}#moreAppsBack{min-height:48px}body{height:var(--viewport-height);min-height:0;overflow:hidden}body>header{flex:none}main{min-height:0}.table-stage{touch-action:pan-y;flex:1 1 0;min-height:0;min-width:0;display:flex;flex-direction:column;gap:.5rem;overflow-y:auto}.table-stage .opponents,.table-stage .info{flex:none}.table-stage .middle{flex:1 0 160px;min-height:160px}.hand-dock{flex:none;min-width:0;display:flex;flex-direction:column;gap:.5rem}.turn-prompt{margin:0;padding:5px 12px;border:2px solid transparent;border-radius:12px;font-size:1rem;line-height:1.25;font-weight:700;text-align:center}body[data-turn=you] .turn-prompt{border-color:var(--gold);background:#154f31;color:#fff5d6}.info>:empty{display:none}.status{min-height:1.4em}.pending:not(:empty){padding:6px 10px;border:1px solid var(--gold);border-radius:10px;background:#154f31}button:not(.card){min-width:48px;min-height:48px}.switch{min-height:48px}@media(max-height:620px)and (orientation:portrait){.table-stage .opponents{min-height:32px}.table-stage .opponent{flex-direction:row;justify-content:center;gap:4px}.table-stage .backs{display:none}.table-stage .who{min-width:0;padding-inline:4px;overflow-wrap:normal;word-break:normal}.android[data-large-text=true] .table-stage .opponents{flex-direction:column}}@media(orientation:landscape)and (max-height:820px){main{overflow-y:auto;grid-template-rows:auto minmax(0,1fr) auto auto auto;grid-template-areas:"opponents info" "middle info" "middle turn" "middle actions" "middle hand"}.table-stage,.hand-dock{display:contents;overflow:visible}.table-stage .middle{min-height:0}.turn-prompt{grid-area:turn}}.turn-prompt{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 8px}.turn-prompt[hidden]{display:none}.turn-suit{display:inline-flex;align-items:center;gap:5px;font-weight:600}.turn-suit svg{display:block;width:1.1em;height:1.1em}@media(orientation:portrait){.table-stage .middle{min-height:min(160px,var(--table-card-height, 160px));flex-basis:min(160px,var(--table-card-height, 160px))}.table-stage .stock{width:min(clamp(64px,20vw,100px),calc(var(--table-card-height, 1000px) * .625));min-width:48px}.table-stage .pile{width:min(clamp(92px,30vw,152px),calc(var(--table-card-height, 1000px) * .625))}}@media(max-height:620px)and (orientation:portrait){body>header{padding-block:2px}main{padding-inline:12px;padding-bottom:4px;gap:4px}.hand-dock{gap:4px}.turn-prompt{padding-block:2px;line-height:1.1}.actions button{padding:8px 18px}.hand{padding:14px 4px 4px}.hand.mine .card:not(.dim){transform:translateY(-8px)}.table-stage .stock .count{right:0;bottom:0;padding:2px 4px;font-size:.75rem}}.turn-suit>span:last-child{padding-inline:2px}@media(max-height:620px)and (orientation:portrait){.table-stage{gap:4px}}dialog.lt-sheet[open]{display:flex;flex-direction:column;gap:12px;min-height:0;overflow:hidden;padding:16px}dialog.lt-sheet>h2,dialog.lt-sheet>p{flex:none}dialog.lt-sheet>h2{margin:0}dialog.lt-sheet .lt-sheet-content{flex:1 1 auto;min-width:0;min-height:0;overflow-y:auto;padding-top:calc(var(--lt-scroll-padding-top, 0px) + var(--scroll-head, 0px));padding-bottom:calc(var(--lt-scroll-padding, 0px) + var(--scroll-tail, 0px))}dialog.lt-sheet .lt-sheet-actions{flex:none;display:flex;flex-direction:column;gap:8px}dialog.lt-sheet .lt-sheet-actions>*,dialog.lt-sheet form{margin-block:0}.link-separator{display:inline-block;margin-inline:.5em}#rulesDialog[open]{height:var(--dialog-height)}dialog.lt-sheet[open][data-scroll-sheet=true],html:not(.android) :is(#onlineDialog,#onlineComputerDialog,#onlineLeaveDialog)[open][data-scroll-sheet=true]{overflow-y:auto}dialog.lt-sheet[open][data-scroll-sheet=true] .lt-sheet-content,html:not(.android) :is(#onlineDialog,#onlineComputerDialog,#onlineLeaveDialog)[open][data-scroll-sheet=true] .lt-sheet-content{flex:none;min-height:auto;overflow-y:visible}.lt-text-probe{position:fixed;top:0;left:0;visibility:hidden;pointer-events:none;font:100px/1 monospace;width:max-content}.android .lt-root{--lt-target-min: 48px}.android .lt-root :is(button,select,textarea,input:not([type=hidden]):not([type=checkbox]):not([type=radio]),[role=button]){min-width:var(--lt-target-min);min-height:var(--lt-target-min);overflow-wrap:normal;word-break:normal}.android .lt-root :is(input[type=checkbox],input[type=radio]){min-width:var(--lt-target-min);min-height:var(--lt-target-min)}.android .lt-scroll{min-height:0;overflow-y:auto;padding-top:calc(var(--lt-scroll-padding-top, 0px) + var(--scroll-head, 0px));padding-bottom:calc(var(--lt-scroll-padding, 0px) + var(--scroll-tail, 0px));touch-action:pan-y}.android .lt-scroll>*{flex-shrink:0}.android .lt-sheet{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;max-height:calc(100dvh - 32px);overflow:hidden;min-height:0}.android .lt-sheet-content{flex:1 1 auto;min-height:0}.android .lt-sheet-actions{flex:0 0 auto;display:flex;flex-direction:column;gap:8px}.android .lt-sheet-actions>*{flex-shrink:0;margin-block:0}.android .lt-result-summary{flex-shrink:0}.android[data-large-text=true] .lt-compact{--lt-compact: 1}@media(max-height:620px){.android .lt-compact{--lt-compact: 1}}@media(orientation:landscape)and (max-height:599px){.android .lt-result{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,1fr);align-items:center}.android .lt-result>.lt-sheet-actions{grid-column:2;grid-row:1 / span 2}}.android dialog:not([open]){display:none}.android dialog.lt-sheet{padding:16px;gap:12px;max-height:var(--dialog-height)}.android dialog.lt-sheet>h2{flex:0 0 auto;margin:0}.android dialog.lt-sheet .lt-sheet-content{--lt-scroll-padding: 0px}.android dialog.lt-sheet form{margin:0}.android dialog.lt-sheet .lt-sheet-actions button{margin:0}.android dialog .links{display:flex;flex-direction:column}.android dialog .links a{display:flex;align-items:center;min-height:48px;min-width:48px}.android dialog .switch{min-height:48px}.android dialog .switch input{flex-shrink:0}.android dialog .switch span{min-width:0}.android #endDialog #tally{font-weight:700}.android #rulesText{padding-inline-start:24px}.reveal .opponent-cards{display:contents}html[data-large-text=true]{height:var(--viewport-height);overflow:hidden}html[data-large-text=true] body{height:100%;min-height:0;overflow:hidden}html[data-large-text=true] header{flex:0 0 auto;padding:8px 16px}html[data-large-text=true] main{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:var(--scroll-head, 0px) 16px calc(16px + var(--scroll-tail, 0px));gap:12px}html[data-large-text=true] main>*{flex-shrink:0}html[data-large-text=true] .opponents{min-height:0;gap:8px}html[data-large-text=true] .backs{height:36px}html[data-large-text=true] .who{padding:2px 4px}html[data-large-text=true] .middle{flex:0 0 auto;min-height:0;gap:24px}html[data-large-text=true] .stock{width:64px}html[data-large-text=true] .pile{width:92px}html[data-large-text=true] .status{min-height:0}html[data-large-text=true] .actions button{padding:8px 16px}html[data-large-text=true] .hand{padding:16px 4px 4px}html[data-large-text=true] .hand.mine .card:not(.dim){transform:translateY(-8px)}html[data-large-text=true] dialog{width:min(92vw,640px)}html[data-large-text=true] .suits button{padding:8px}html[data-large-text=true] .suits svg{width:48px;height:48px}@media(max-width:599px){html[data-large-text=true] dialog.lt-sheet{width:calc(100vw - 32px);max-width:calc(100vw - 32px);height:var(--dialog-height);overflow-wrap:normal;word-break:normal}html[data-large-text=true] dialog.lt-sheet .lt-sheet-content{flex:1 1 0;min-width:0;min-height:0;line-height:1.45}html[data-large-text=true] .suits{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,4.5em),1fr))}html[data-large-text=true] .suits button{min-width:0}html[data-large-text=true] .menu-list{gap:12px}html[data-large-text=true] .sound-switch{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;margin-block:12px}html[data-large-text=true] .sound-switch input{grid-row:1 / span 2}html[data-large-text=true] .sound-switch #soundsState{margin:0}html[data-large-text=true] .links{gap:12px}html[data-large-text=true] .link-separator{text-align:center;line-height:1.5}html[data-large-text=true] #rulesDialog fieldset{min-width:0;margin-bottom:12px}html[data-large-text=true] #rulesDialog legend{margin-bottom:8px}html[data-large-text=true] #rulesDialog .segmented{gap:8px}html[data-large-text=true] #rulesDialog #fairness{line-height:1.45}html[data-large-text=true] #endDialog #endTitle{margin:0}html[data-large-text=true] #endDialog #tally{margin:8px 0}html[data-large-text=true] #endDialog #theirCards{margin:12px 0 8px}html[data-large-text=true] #endDialog .row{flex-direction:column;align-items:stretch;gap:8px;margin-bottom:12px}html[data-large-text=true] #endDialog .name{min-width:0}html[data-large-text=true] #endDialog .opponent-cards{display:flex;flex-wrap:wrap;gap:8px}}@media(orientation:portrait){html[data-large-text=true] main{overflow:hidden;padding:0 16px 16px;gap:8px}html[data-large-text=true] main>.table-stage{flex:1 1 0}html[data-large-text=true] .table-stage .middle{flex:1 0 min(160px,var(--table-card-height, 160px));min-height:min(160px,var(--table-card-height, 160px))}html[data-large-text=true] .table-stage .stock{width:min(64px,calc(var(--table-card-height, 1000px) * .625))}html[data-large-text=true] .table-stage .pile{width:min(92px,calc(var(--table-card-height, 1000px) * .625))}}@media(orientation:portrait)and (max-height:620px){html:not(.android)[data-large-text=true] body>header{padding-block:2px}html:not(.android)[data-large-text=true] main{padding-bottom:4px;gap:4px}}body[data-table=velvet],.table-swatch[data-table=velvet]{--felt: #1e3a5f;--felt-deep: #14263f;background:repeating-linear-gradient(84deg,transparent 0 2px,rgb(255 255 255 / 2%) 3px,transparent 4px),radial-gradient(ellipse at 50% 38%,#1e3a5f,#14263f)}body[data-table=burgundy],.table-swatch[data-table=burgundy]{--felt: #5c1a2b;--felt-deep: #3d0f1c;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='none' stroke='%23fff5df' stroke-width='1' opacity='.05'%3E%3Cpath d='M48 5C80 25 80 71 48 91C16 71 16 25 48 5ZM5 48C25 16 71 16 91 48C71 80 25 80 5 48ZM48 30L66 48 48 66 30 48Z'/%3E%3C/g%3E%3C/svg%3E"),radial-gradient(ellipse at 50% 38%,#5c1a2b,#3d0f1c)}body[data-table=walnut],.table-swatch[data-table=walnut]{--felt: #5b3a24;--felt-deep: #3e2716;background:repeating-linear-gradient(0deg,transparent 0 6px,rgb(21 10 3 / 9%) 7px,transparent 9px),repeating-linear-gradient(179deg,transparent 0 27px,rgb(225 188 139 / 6%) 29px,transparent 32px),linear-gradient(0deg,#3e2716,#5b3a24 55%,#3e2716)}body[data-table=night],.table-swatch[data-table=night]{--felt: #0e1524;--felt-deep: #070b14;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 1200'%3E%3Cg fill='%23edf2fa' opacity='.12'%3E%3Ccircle cx='75' cy='80' r='1'/%3E%3Ccircle cx='340' cy='120' r='1.2'/%3E%3Ccircle cx='670' cy='54' r='1'/%3E%3Ccircle cx='190' cy='260' r='1'/%3E%3Ccircle cx='590' cy='310' r='1.2'/%3E%3Ccircle cx='760' cy='220' r='1'/%3E%3Ccircle cx='40' cy='450' r='1'/%3E%3Ccircle cx='300' cy='520' r='1.2'/%3E%3Ccircle cx='690' cy='490' r='1'/%3E%3Ccircle cx='160' cy='700' r='1'/%3E%3Ccircle cx='510' cy='660' r='1'/%3E%3Ccircle cx='750' cy='810' r='1.2'/%3E%3Ccircle cx='60' cy='990' r='1'/%3E%3Ccircle cx='380' cy='870' r='1'/%3E%3Ccircle cx='580' cy='1080' r='1.2'/%3E%3Ccircle cx='270' cy='1150' r='1'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat,radial-gradient(ellipse at 50% 38%,#0e1524,#070b14)}.table-swatch[data-table=classic]{background:radial-gradient(ellipse at 50% 38%,#2b8a56,#1f6f43 52%,#134a2c)}#stylesDialog[open]{display:flex;flex-direction:column;gap:12px;width:min(calc(100vw - 32px),760px);height:min(900px,var(--dialog-height));max-height:var(--dialog-height);padding:16px;overflow:hidden;overflow-wrap:normal;word-break:normal}#stylesDialog:not([open]){display:none}#stylesDialog h2{flex:none;margin:0}#stylesDialog .lt-sheet-content{flex:1 1 0;min-height:0;min-width:0;overflow-y:auto;line-height:1.45}#stylesDialog .lt-sheet-actions{flex:none;display:flex;flex-direction:column;gap:8px}#stylesDialog .styles-pack{margin-top:0;font-size:1.15rem}.styles-price{font-size:1.25rem;font-weight:700;margin-block:12px}.styles-status{margin-block:12px}.styles-demo{display:flex;align-items:center;justify-content:center;gap:24px;padding:20px;border-radius:12px}.styles-demo>span{width:64px;line-height:0}.styles-demo svg,.back-swatch svg{width:100%;display:block}.styles-tables,.styles-backs{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}.style-option{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:48px;min-height:48px;padding:12px;border:2px solid #c9bc9b;border-radius:12px;background:#fffdf7;color:#1d1b16;font-size:1rem;line-height:1.4;text-align:center;overflow-wrap:normal;word-break:normal}.style-option[aria-pressed=true]{border-color:#1f6f43;outline:1px solid #1f6f43;outline-offset:-4px}.style-option>.table-swatch{width:100%;height:64px;border-radius:6px}.back-swatch{display:block;width:64px}.style-badge{font-size:1rem;color:#5b5446}.styles-purchase{display:flex;flex-wrap:wrap;gap:8px}.styles-purchase button,#stylesClose{min-width:48px;min-height:48px;padding:8px;border:0;border-radius:10px;background:#1f6f43;color:#fdf8ec;font-size:1rem;font-weight:600;line-height:1.3;overflow-wrap:normal;word-break:normal}#stylesDialog .styles-purchase button{flex:1 1 calc((100% - 8px) / 2.6);min-width:min-content;max-width:100%}#stylesDialog #stylesRestore{flex-basis:calc((100% - 8px) * 1.6 / 2.6)}.styles-purchase button:disabled{background:#ded9cd;color:#5b5446;cursor:default}#stylesRestore,#stylesClose{background:#ebe5d7;color:#1d1b16}.styles-end{margin-bottom:0}html[data-large-text=true] #stylesDialog .styles-tables,html[data-large-text=true] #stylesDialog .styles-backs{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}@media(max-width:599px){html[data-large-text=true] #stylesDialog[open]{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:var(--dialog-height);max-height:var(--dialog-height);margin-block:8px;padding:8px 12px;gap:4px}html[data-large-text=true] #stylesDialog .style-option{padding:2px 4px 4px;gap:2px}html[data-large-text=true] #stylesDialog .style-option strong,html[data-large-text=true] #stylesDialog .style-badge{line-height:1.05}html[data-large-text=true] #stylesDialog .back-swatch{width:40px;height:64px}html[data-large-text=true] #stylesDialog .back-swatch svg{width:100%;height:100%}html[data-large-text=true] #stylesDialog .style-option>.table-swatch{height:64px}html[data-large-text=true] #stylesDialog .lt-sheet-actions{gap:4px}html[data-large-text=true] #stylesDialog .lt-sheet-actions button{padding-block:6px;line-height:1.1}html[data-large-text=true]:has(#stylesDialog[open]) main{overflow-y:hidden}html[data-large-text=true] #stylesDialog .styles-status{line-height:1.35}}
