.online-busy [data-online-action],.online-busy [data-seat],.online-busy #online-login button,.online-busy #online-create-form button{pointer-events:none}
.online-busy #online-profile-form button{pointer-events:none}
.avatar>svg{display:block;width:100%;height:100%;flex:none}
.profile-avatar{position:relative;display:grid;place-items:center;justify-self:center;width:115px;height:115px;padding:0;margin:8px auto 0;border:0;border-radius:50%;background:none;overflow:visible;font-size:64px;line-height:1}
.profile-avatar-portrait{display:grid;place-items:center;width:100%;height:100%;border:3px solid #c5b0ef;border-radius:50%;background:#e6d9ff;overflow:hidden}
.profile-avatar-portrait>svg{display:block;width:100%;height:100%}
.profile-avatar-edit{position:absolute;top:0;right:0;display:grid;place-items:center;width:30px;height:30px;border:1px solid #b7d63f;border-radius:50%;background:#d7f45a;color:#35215c;cursor:pointer}
.profile-avatar-edit svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.avatar-profile-hint{text-align:center;color:#8b799d}
#online-profile-form[hidden],#profile-avatar-editor[hidden]{display:none}
dialog:has(#profile-avatar-editor:not([hidden])){width:min(980px,calc(100vw - 24px));max-width:980px;max-height:92dvh;padding-left:12.5px;padding-right:12.5px;overflow-y:auto;overscroll-behavior:contain}
#profile-avatar-editor{color:#30204e;text-align:left;min-width:0}
#profile-avatar-editor h2{font-size:26px;margin:6px 0}
.avatar-subtitle{font-size:12px;color:#877597;margin:5px 0 16px}
.avatar-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px;align-items:start}
.avatar-preview{position:sticky;top:0;background:#e6d9ff;border-radius:28px;padding:12px;text-align:center;overflow:hidden}
#avatar-portrait{position:relative;width:100%;max-width:330px;margin:auto;aspect-ratio:1}
#avatar-portrait::before{content:"";position:absolute;inset:12% 9%;background:#c9b2f3;border-radius:50%;opacity:.5}
#avatar-portrait svg{display:block;width:100%;height:100%;position:relative}
.avatar-tools{display:flex;justify-content:center;gap:8px}
.avatar-tools button,.avatar-footer>button{border:0;border-radius:16px;background:#eee7ff;padding:10px 12px;font:inherit;font-size:12px;font-weight:bold}
.avatar-tools button{background:#fff9}
.avatar-editor{background:white;border-radius:24px;padding:16px;min-width:0}
.avatar-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:16px}
.avatar-tabs button{border:0;border-radius:15px;background:#f4effb;min-width:0;padding:7px 2px;font:inherit;font-size:9px;font-weight:bold;overflow-wrap:anywhere}
.avatar-tabs svg{display:block;width:26px;height:26px;margin:0 auto 4px}
.avatar-tabs [aria-pressed=true]{background:#6845e9;color:white;box-shadow:0 3px 0 #4726b5}
.avatar-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.avatar-section-title h3{font-size:18px;margin:0}
.avatar-section-title>span{font-size:11px;color:#9481ab}
.avatar-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.avatar-option{min-width:0;background:#f8f5fc;border:2px solid transparent;border-radius:18px;padding:5px 3px 8px;font:inherit;font-size:10px;font-weight:bold;overflow-wrap:anywhere}
.avatar-option svg{display:block;width:76px;max-width:100%;height:auto;aspect-ratio:1;margin:0 auto;border-radius:50%}
.avatar-option>span{display:block;margin-top:3px}
.avatar-option[aria-pressed=true]{border-color:#6845e9;background:#eee7ff;box-shadow:0 2px 0 #6845e9}
.avatar-palette-title{font-size:12px;margin:18px 0 10px;font-weight:bold}
.avatar-palette{display:flex;gap:9px;flex-wrap:wrap}
.avatar-swatch{width:29px;height:29px;padding:0;border:3px solid white;outline:1px solid #e6deef;border-radius:50%;background:var(--swatch)}
.avatar-swatch[aria-pressed=true]{outline:3px solid #6845e9;outline-offset:2px}
.avatar-note{font-size:11px;line-height:1.5;color:#8b799d;margin:16px 0 0}
.avatar-footer{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;width:100%;padding:8px;border:1px solid #d5c1f1;border-radius:20px;background:#fffdf9;box-shadow:none;z-index:1}
.avatar-footer>button{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;min-width:0;min-height:44px;margin:0;align-self:stretch;white-space:normal;overflow-wrap:anywhere;box-shadow:none}
.avatar-footer>button.primary{margin:0;background:#cdf064;box-shadow:none}
#profile-avatar-editor button{color:inherit;cursor:pointer}
#profile-avatar-editor button:disabled{opacity:.45;cursor:default}
#profile-avatar-editor button:focus-visible,.profile-avatar:focus-visible{outline:3px solid #ee5791;outline-offset:3px}
@media(max-width:650px){
  .avatar-layout{grid-template-columns:1fr;gap:14px}
  .avatar-preview{position:relative;padding:12px 10px;border-radius:24px;min-width:0}
  #avatar-portrait{width:170px;max-width:100%}
  .avatar-tools{position:absolute;right:8px;bottom:10px;flex-direction:column}
  .avatar-tools button{font-size:10px;padding:8px}
  .avatar-editor{padding:10px}
  .avatar-option svg{width:68px;height:auto}
  .avatar-footer{justify-content:space-between}
  .avatar-footer>button{padding:10px 8px;font-size:11px}
}
.online-busy #seat-stage[data-phase="peek"] #hand>.card:not(:disabled),.online-busy:has(#seat-stage[data-phase="peek"]) [data-online-action="ready"]{pointer-events:auto}
.table-chat-button{position:fixed;right:16px;bottom:calc(106px + env(safe-area-inset-bottom));z-index:30;display:grid;place-items:center;width:44px;height:44px;padding:10px;border:2px solid #6744df;border-radius:50%;background:#eee7ff;color:#5233bd;box-shadow:0 3px 0 #c7b7f2}
.table-chat-button[hidden]{display:none}
.table-chat-button.chat-notification{animation:chat-notification-breathe var(--animation-duration-1,1s) ease-in-out 5}
.table-chat-button.chat-new-message::after{content:"";position:absolute;right:8px;top:8px;width:8px;height:8px;border-radius:50%;background:#e13746;animation:chat-dot-blink var(--animation-duration-1,1s) ease-in-out 5;pointer-events:none}
@keyframes chat-dot-blink{0%,100%{opacity:1}50%{opacity:.15}}
@media(prefers-reduced-motion:reduce){.table-chat-button.chat-new-message::after{animation:none}}
@keyframes chat-notification-breathe{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.2);filter:brightness(1.2)}}
@media(prefers-reduced-motion:reduce){.table-chat-button.chat-notification{animation:none;outline:3px solid #ee5791;outline-offset:3px}}
#status{overflow-wrap:anywhere}
.shell.playing .table-center .pile-label,.shell.playing #drawn-area>small{font-family:inherit;font-size:7px;font-weight:700;line-height:14px;letter-spacing:1.4px;color:#7d6a9c;text-transform:uppercase}
#hand>.cabo-overlay{inset:0 0 auto;height:34%}
#hand .cabo-badge,.seat-top .cabo-badge{display:flex;align-items:center;justify-content:center;height:36px;padding:0 10px;line-height:1}
.cabo-badge.cabo-winner{display:flex;align-items:center;justify-content:center;gap:6px;border-color:#c49b27;background:#fff2b0;color:#6b4614}
.cabo-winner svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.seat-top .cabo-overlay{inset:auto 0 var(--cabo-name-offset,0px);height:max-content}
.player-heading,.opponent-heading{position:relative}
.waiting-round-banner{position:relative;z-index:31;display:grid;grid-template-rows:auto auto;place-items:center;gap:3px;width:min(190px,42vw);min-height:42px;padding:6px 10px;transform:none;border:1px solid #333;border-radius:8px;background:#fff;color:#000;box-shadow:0 2px 6px #30205233;font-size:clamp(10px,2.8vw,13px);font-weight:700;line-height:1.15;text-align:center;white-space:normal;pointer-events:none}
.waiting-round-banner>strong{font-size:1.08em;letter-spacing:.06em;line-height:1}
.waiting-round-banner>span{display:block}
#hand>.waiting-round-banner{grid-column:1/-1;justify-self:center;align-self:center}
#seat-stage .mini-hand:has(>.waiting-round-banner){display:grid;place-items:center;gap:0;overflow:visible}
#seat-stage .seat-top .mini-hand:has(>.waiting-round-banner){width:min(190px,42vw);min-height:48px;grid-template-columns:minmax(0,1fr)}
.shell.playing #seat-stage[data-player-count="2"] .seat-top .mini-hand:has(>.waiting-round-banner){width:min(190px,42vw);max-width:100%;grid-template-columns:minmax(0,1fr);gap:0}
#seat-stage .seat-four-left .mini-hand:has(>.waiting-round-banner),#seat-stage .seat-four-right .mini-hand:has(>.waiting-round-banner){min-height:clamp(160px,65vw,260px);padding:0}
#seat-stage .seat-four-left .waiting-round-banner{transform:rotate(90deg)}
#seat-stage .seat-four-right .waiting-round-banner{transform:rotate(270deg)}
@media(max-width:420px){#seat-stage .seat-four-left .waiting-round-banner{translate:32px 0}}
.entry-card:has(.statistics-screen){max-width:640px}
.statistics-screen{max-width:520px;margin:auto;text-align:left}
.statistics-layout,.statistics-primary{min-width:0}
.statistics-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 20px}
.statistics-heading h1{margin:0;font-size:clamp(25px,7vw,34px);line-height:1.1}
.statistics-heading .statistics-eyebrow{margin:0 0 8px;color:#877597;letter-spacing:1.7px;font-size:10px;font-weight:700;overflow-wrap:anywhere}
.statistics-screen svg{width:24px;height:24px}
.statistics-highlights{margin-bottom:20px}
.statistics-chart{margin:0 0 20px;padding:18px 12px 8px;background:#fffdf6;border:2px solid #d6c3ef;border-radius:24px;box-shadow:0 4px 0 #e9dff9}
.statistics-chart h2{margin:0 8px;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.statistics-chart .daily-score-chart{display:block;width:100%;height:auto;overflow:visible}
.daily-score-grid{fill:none;stroke:#e9dff9;stroke-width:1;stroke-dasharray:3 5}
.daily-score-axis{fill:none;stroke:#9b84be;stroke-width:1.5}
.daily-score-value,.daily-score-weekday{text-anchor:middle;fill:#49316e;font:700 11px system-ui,sans-serif;font-variant-numeric:tabular-nums}
.daily-score-weekday{font-size:14px}
.statistics-hero{display:grid;grid-template-columns:minmax(48px,1fr) auto minmax(48px,1fr);align-items:center;padding:22px;border-radius:22px;background:#6544ed;color:white;box-shadow:0 4px 0 #4930b2;min-width:0;text-align:center}
.statistics-hero>div{grid-column:2;justify-self:center;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.statistics-hero strong,.stat-tile strong{display:block;font-size:clamp(28px,8vw,34px);line-height:1.1;letter-spacing:-.7px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.statistics-hero-art{grid-column:1;justify-self:end;margin-right:12px;display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:14px;color:#35215c}
.statistics-hero-art svg{width:48px;height:48px}
.statistics-hero>div>span{display:block;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.statistics-hero strong{font-size:clamp(34px,10vw,44px)}
.statistics-info{display:inline-grid;place-items:center;width:16px;height:16px;margin-left:5px;padding:0;border:1px solid #bdbdbd;border-radius:50%;background:#f2f2f2;color:#666;font:700 10px Georgia,serif;cursor:pointer;vertical-align:middle}
.statistics-info:focus-visible{outline:2px solid #666;outline-offset:3px}
.statistics-info-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-height:80dvh;padding:24px;border:2px solid #d5c1f1;border-radius:24px;background:#fffdf6;color:#35215c;overflow:auto;box-shadow:0 12px 40px #35215c40}
.statistics-info-dialog::backdrop{background:#35215c66}
.statistics-info-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.statistics-info-heading h2{flex:1;min-width:0;margin:0;font-size:20px;line-height:1.2;color:#5630d8}
.statistics-info-heading .statistics-info-close{flex:none}
.statistics-info-dialog p{margin:0;font-size:14px;line-height:1.65}
.statistics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:0 0 22px}
.stat-tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px;border-radius:22px;box-shadow:0 4px 0 var(--stat-shadow);min-width:0;text-align:center}
.stat-tile>span:last-child{font-size:12px;line-height:1.35;min-height:2.7em;overflow-wrap:anywhere}
.stat-icon{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:#ffffffb3;color:#35215c}
.stat-tile .stat-icon{align-self:flex-start;margin-bottom:6px}
.stat-lime{background:#d7ee7c;--stat-shadow:#b0c85e}
.stat-yellow{background:#ffdf86;--stat-shadow:#e0bb58}
.stat-pink{background:#ffb6d2;--stat-shadow:#e38aaf}
.stat-violet{background:#e2d6ff;--stat-shadow:#bdace1}
.statistics-detail{padding:18px;border:1px solid #ded0ee;border-radius:22px;background:#fffdf9}
.statistics-detail h2{display:flex;justify-content:space-between;margin:0 0 12px;font-size:17px}
.statistics-detail h2 span{color:#6544ed}
.statistics-detail dl{margin:0}
.statistics-detail dl>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-top:1px dashed #e6dcef}
.statistics-detail dt{color:#7a688e;font-size:12px}
.statistics-detail dd{display:flex;align-items:center;gap:4px;margin:0;font-size:16px;font-weight:700;white-space:nowrap}
.statistics-detail dd svg{width:18px;height:18px;vertical-align:middle}
.statistics-empty{padding:12px;border-radius:12px;background:#fff1cf;font-size:12px}
.statistics-screen .statistics-play{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:20px 0 4px}
.statistics-play svg{flex:none}
@media(orientation:landscape){
  .entry-card:has(.statistics-screen){box-sizing:border-box;width:min(1200px,calc(100vw - 32px));max-width:1200px}
  .statistics-screen{max-width:none}
  .statistics-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:start;gap:20px}
}
@media(orientation:landscape) and (max-width:540px){
  .entry-screen:has(.statistics-screen){padding:8px}
  .entry-card:has(.statistics-screen){width:calc(100vw - 16px);padding:12px}
  .statistics-heading{margin:0 0 12px}
  .statistics-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
  .statistics-highlights{margin-bottom:10px}
  .statistics-chart{margin-bottom:10px;padding:10px 6px 6px;border-radius:16px}
  .statistics-chart h2{margin:0 4px;font-size:11px}
  .statistics-grid{gap:6px;margin-bottom:12px}
  .stat-tile{gap:4px;padding:8px;border-radius:16px}
  .stat-tile .stat-icon{width:24px;height:24px;margin-bottom:2px}
  .statistics-screen .stat-tile .stat-icon svg{width:16px;height:16px}
  .stat-tile strong{font-size:clamp(16px,5vw,24px)}
  .stat-tile>span:last-child{min-height:2.4em;font-size:9px}
  .statistics-hero{grid-template-columns:minmax(20px,1fr) auto minmax(20px,1fr);padding:10px}
  .statistics-hero-art{width:24px;height:24px;margin-right:6px}
  .statistics-hero-art svg{width:24px;height:24px}
  .statistics-hero>div{gap:3px}
  .statistics-hero strong{font-size:clamp(20px,6vw,32px)}
  .statistics-hero>div>span{font-size:10px}
  .statistics-detail{padding:10px}
  .statistics-detail h2{font-size:14px;overflow-wrap:anywhere}
  .statistics-detail dl>div{gap:4px;padding:7px 0}
  .statistics-detail dt{font-size:10px;overflow-wrap:anywhere}
  .statistics-detail dd{gap:2px;font-size:11px}
  .statistics-detail dd svg{width:14px;height:14px}
}
.round-end-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:180px;text-align:center}
.round-end-panel h2,.round-end-panel p{margin:0}
.round-end-panel h2{font-size:16px;line-height:1.1}
.round-end-panel p{font-size:11px;line-height:1.25}
.shell.playing .table-center .game-finished-panel{width:180px;max-width:180px;padding:10px 12px}
.score-dialog-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px}
.score-dialog-actions>.primary{flex:1 1 0;min-width:0;padding:11px 8px;white-space:normal}
#drawn-area [data-drawn-choice]{cursor:pointer}
.online-card-motion{contain:layout style;overflow:hidden!important}
.table-cards-animating :is(.drawn-power-button,.drawn-choice-icon,.drawn-choice-actions,.pile-action-icon,.hand-take-icon){visibility:hidden!important;pointer-events:none!important}
#seat-stage[data-phase="peek"] #hand.initial-peek-ready>.card.back{animation:none}
#seat-stage[data-phase="peek"] .card.off-turn[data-seat]{animation:none}
.initial-peek-panel .initial-readiness{margin-top:7px;font-size:12px;font-weight:700;color:#6544ed}
.initial-peek-panel{translate:0 13px}
.initial-opponent-avatar{position:fixed;z-index:40;width:56.16px;height:56.16px;border-radius:50%;background:#fff;box-shadow:0 3px 12px #35234e44;display:grid;place-items:center;pointer-events:none;opacity:1;transform-origin:center}
.initial-opponent-avatar svg{display:block;width:100%;height:100%}
#seat-stage #player-avatar,#seat-stage .opponent-heading .avatar{width:31.2px;height:31.2px;flex-shrink:0}
#seat-stage .seat-four-left .avatar,#seat-stage .seat-four-right .avatar{translate:0 -2px}
#deck:disabled,#discard:disabled{opacity:1}
#discard{position:relative}
#discard>.online-discard-underlay::after{content:"";position:absolute;inset:0;border:0;border-radius:inherit;background:var(--discard-underlay-wash);z-index:5;pointer-events:none}
#deck:disabled>.card::after,#discard:disabled:not(.discard-reserved)>.card::after{content:"";position:absolute;inset:0;border:0;border-radius:inherit;background:#ffffff59;z-index:5;pointer-events:none}
#discard.discard-reserved>.card{outline:3px solid #d7f45a;outline-offset:3px}
.discard-area>.discard-return-icon,#drawn-area .cancel-power-icon{position:absolute;width:36px;height:36px;min-height:0;padding:7px;display:grid;place-items:center;border:2px solid #35215c;border-radius:50%;background:#cb8da7;color:#fffdf6;box-shadow:0 3px 0 #35215c;z-index:12;cursor:pointer;transform:rotate(-5deg) scale(.95)}
#drawn-area .cancel-power-icon{top:-14px;right:-28px;transform:rotate(-5deg)}
.discard-return-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.discard-return-icon:hover{filter:brightness(1.08)}
.discard-return-icon:focus-visible{outline:3px solid #38a8dd;outline-offset:3px}
#actions button:has(.action-icon){display:inline-flex;align-items:center;justify-content:center;gap:6px}
#actions .action-icon{width:20px;height:20px;flex:none}
#actions button:has(.table-score-icon),#online-center-results{display:inline-flex;align-items:center;justify-content:center;gap:6px}
#actions .table-score-icon,#online-center-results .table-score-icon{width:20px;height:20px;flex:none}
.table-player-name{min-width:0;overflow:hidden;white-space:nowrap;overflow-wrap:normal;text-overflow:ellipsis}
#game-shell{--player-badge-width:116px}
@media(prefers-reduced-motion:no-preference){#game-shell #hand>.card.power-target:not(.selected),#game-shell .mini-hand>.card.power-target:not(.selected){animation:drawn-hand-breathe var(--animation-duration-1,1s) ease-in-out infinite}}
#drawn-area [data-drawn-choice][aria-expanded="true"]{overflow:visible}
#drawn-area .drawn-choice-actions{position:absolute;left:50%;bottom:3px;z-index:5;width:189px;transform:translateX(-50%) rotate(-5deg) translateY(10px);white-space:nowrap}
#drawn-area .drawn-choice-actions button{flex:1;min-width:0}
#drawn-area .drawn-choice-actions [data-drawn-take]{background:#d7f45a;color:#35215c}
#drawn-area .drawn-choice-actions [data-drawn-discard]{background:#ed407d;color:#fff}
#hand.taking-drawn>.card{animation:drawn-hand-breathe var(--animation-duration-1,1s) ease-in-out infinite}
@keyframes drawn-hand-breathe{0%,100%{filter:brightness(1)}50%{filter:brightness(1.25) drop-shadow(0 0 5px #d7f45a)}}
@media(prefers-reduced-motion:reduce){#hand.taking-drawn>.card{animation:none;outline:2px solid #d7f45a}}
.table-chat-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.chat-messages{height:min(40vh,320px);overflow:auto;overscroll-behavior:contain;padding:8px;background:#f8f3ff;border-radius:14px}
.chat-message{margin:6px 0;padding:9px 12px;border:1px solid #d6c3ef;border-radius:12px;background:#fff}
.chat-message header{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#644392}
.chat-message time{font-size:10px;font-weight:400}
.chat-message p{margin:5px 0 0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:14px}
#online-chat-form{margin:12px 0 0}
#online-error{color:#a52e50;overflow-wrap:anywhere}
#online-create-form select{min-height:44px;border:2px solid #d6c3ef;border-radius:12px;background:#fff;padding:8px;font:inherit}
#online-create-form.table-creation-form{grid-template-columns:repeat(2,minmax(0,1fr))}
#online-create-form.table-creation-form>*{grid-column:1/-1}
#online-create-form .table-section-divider{width:100%;height:0;margin:4px 0;border:0;border-top:1px solid #e4dcef}
#online-create-form.table-creation-form>.table-choice-set:nth-last-of-type(-n+2){grid-column:auto}
#online-create-form .table-choice-set{min-width:0;margin:0;padding:8px 0 0;border:0;border-radius:0}
#online-create-form .table-choice-set legend{padding:0 6px;font-size:12px;font-weight:700;color:#644392}
.card-design-samples{display:flex;gap:4px}
.card-design-preview img{display:block;width:27px;height:41px;object-fit:fill;border-radius:4px}
.table-background-preview{display:grid;place-items:center;min-height:66px;border:2px solid #b6a0e8;border-radius:14px;background-color:#f5edff;background-image:radial-gradient(circle at 12px 12px,#9063d530 2px,transparent 2.5px),radial-gradient(ellipse at 0% 5%,#ffb9d5 0%,transparent 48%),radial-gradient(ellipse at 100% 12%,#ffe790 0%,transparent 46%),radial-gradient(ellipse at 95% 100%,#b4efdc 0%,transparent 53%),radial-gradient(ellipse at 0% 90%,#bcdcff 0%,transparent 48%);background-size:28px 28px,100% 100%,100% 100%,100% 100%,100% 100%;font-size:11px;font-weight:700;color:#5630b2}
.appearance-preview-button{display:grid;justify-items:center;gap:6px;width:100%;min-width:0;padding:8px;border:2px solid #d6c3ef;border-radius:14px;background:#fff;color:#5630b2;font:inherit;cursor:pointer}
.appearance-preview-button:hover{border-color:#9c80eb;background:#f8f3ff}
.appearance-preview-button>b{font-size:11px;line-height:1.25;overflow-wrap:anywhere}
.appearance-preview-cards{display:flex;justify-content:center;gap:6px}
.appearance-preview-cards img{display:block;width:32px;height:48px;object-fit:fill;border-radius:5px}
.appearance-preview-button .table-background-preview{box-sizing:border-box;width:70px;max-width:100%;height:48px;min-height:0}
dialog.appearance-picker{box-sizing:border-box;position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:16px;padding-top:calc(16px + env(safe-area-inset-top));padding-right:calc(16px + env(safe-area-inset-right));padding-bottom:calc(16px + env(safe-area-inset-bottom));padding-left:calc(16px + env(safe-area-inset-left));border:0;border-radius:0;background:#fffdf9;color:#30204e;box-shadow:none;overflow-y:auto;overscroll-behavior:contain}
dialog.appearance-picker::backdrop{background:#29234488;backdrop-filter:blur(3px)}
.appearance-picker-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.appearance-picker-header h2{margin:0;font-size:20px}
.appearance-picker-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.appearance-option{display:grid;justify-items:center;align-content:start;gap:8px;min-width:0;padding:12px;border:2px solid #e4dcef;border-radius:16px;background:#fff;text-align:center;color:#35215c;font:inherit;cursor:pointer}
.appearance-option:hover,.appearance-option[aria-pressed=true]{border-color:#6845e9;background:#f4efff}
.appearance-option:focus-visible{outline:3px solid #ee5791;outline-offset:3px}
.appearance-option>b{font-size:13px;overflow-wrap:anywhere}
.appearance-option-cards{display:grid;width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center;gap:clamp(6px,2vw,16px)}
.appearance-option-cards img{display:block;width:100%;max-width:96px;height:auto;aspect-ratio:2/3;object-fit:contain;border-radius:8px}
.appearance-option .table-background-preview{box-sizing:border-box;width:100%;height:116px;min-height:0}
[data-card-skin="rocket"] .card{background:none;box-shadow:none;border:0;border-radius:0}
[data-card-skin="rocket"] .card::before,[data-card-skin="rocket"] .card::after{display:none}
[data-card-skin="rocket"] .card-face-art,[data-card-skin="rocket"] .card-back-art{border-radius:0}
.table-privacy{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px;border:1px solid #d6c3ef;border-radius:14px;background:#fff;font-size:12px;font-weight:400}
.table-privacy>span{flex:1;font-weight:400}
#new-pin-fields{text-align:center}
#online-pin-form>label{text-align:center}
#dialog:has(.join-pin-screen){width:min(400px,calc(100% - 24px));padding:18px;border:2px solid #d6c3ef;border-radius:26px;background:#fffdf6}
#dialog:has(.join-pin-screen) .dialog-top{justify-content:flex-end}
#dialog:has(.join-pin-screen) .dialog-top>.eyebrow{display:none}
.join-pin-screen{text-align:center}
.join-pin-emblem{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 14px;border-radius:20px;background:#ece3ff;box-shadow:5px 5px 0 #d9f577;transform:rotate(-6deg)}
.join-pin-emblem svg{width:34px;height:34px;fill:none;stroke:#6544ed;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.join-pin-screen h2{margin:0 0 10px;color:#5435bd}
.join-pin-screen>p{margin:0 0 20px;color:#7a6a92}
#online-pin-form{justify-items:center}
#online-pin-form .primary{margin:12px 0 0;justify-self:center}
.pin-digits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:calc(55% - 4.4px);margin:0 auto}
.entry-form .pin-digits input{box-sizing:border-box;width:100%;min-width:0;height:auto;min-height:0;aspect-ratio:1;padding:0;text-align:center;font-family:inherit;font-size:16px;font-weight:700;color:#644392}
.table-privacy>span:first-child,.table-privacy>span:last-child{text-align:center}
.table-private-toggle{display:flex;align-items:center;gap:10px;cursor:pointer}
.entry-form .table-private-toggle input{appearance:none;position:relative;width:44px;min-width:44px;height:26px;min-height:26px;padding:0;border:2px solid #aa91dd;border-radius:20px;background:#ded2f0;cursor:pointer}
.table-private-toggle input::before{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff}
.table-private-toggle input:checked{background:#d7f45a;border-color:#9caf36}
.table-private-toggle input:checked::before{left:20px}
#new-pin-fields:not([hidden]){display:grid;gap:10px}
.lobby-table-list .table-name-text{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.table-id-text{display:inline-flex;align-items:center}
.table-entry-meta{display:flex;align-items:center;flex-wrap:wrap;gap:3px 6px;max-width:100%;font-size:10px}
.table-entry-meta .table-id-text{font-size:inherit}
.table-entry-price{display:inline-flex;align-items:center;padding:0 3px 0 1px;border:1px solid #dfb954;border-radius:5px;background:#fff0b7;color:#654119;font-size:inherit;font-weight:normal;line-height:1}
.table-entry-price .coin-amount{display:inline-flex;align-items:center;gap:2px}
.table-entry-price .coin-icon{width:1em;height:1em}
@media(max-width:450px){
  .table-entry-meta{font-size:8px}
}

.table-private{display:inline-flex;align-items:center;margin-left:4px;color:#68548b}
.table-private svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8}
.profile-speed{min-width:0;margin:0;padding:0;border:0}
.profile-speed legend{padding:0;margin-bottom:10px;font-size:12px;font-weight:bold;color:#655375}
.profile-speed-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.profile-speed-buttons button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:64px;padding:8px 4px;border:2px solid #d6c3ef;border-radius:12px;background:#f8f3ff;color:#35215c;font:inherit;font-size:12px;overflow-wrap:anywhere;cursor:pointer}
.profile-speed-buttons button[aria-pressed="true"]{border-color:#9caf36;background:#d7f45a}
.profile-speed-buttons button:focus-visible{outline:3px solid #ee5791;outline-offset:2px}
.profile-speed-buttons svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.entry-card:has(.login-auth-screen){max-width:980px;text-align:left}
.entry-card:has(.login-auth-screen) .entry-header{justify-content:flex-start;min-height:44px;padding:0 104px 0 0}
.entry-screen:has(.login-auth-screen){background:radial-gradient(circle at 8% 12%,#f4dff5 0,transparent 36%),radial-gradient(circle at 94% 88%,#dff4e7 0,transparent 38%),linear-gradient(135deg,#f7f3ff,#fffaf0)}
.login-auth-screen{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:22px;width:100%;max-width:100%;min-width:0;margin:0 auto}
.login-auth-copy{box-sizing:border-box;width:100%;max-width:420px;min-width:0;margin:0 auto;text-align:left}
.login-auth-copy h1{margin:0 0 9px;color:#5630d8;font-size:clamp(32px,8vw,44px);letter-spacing:-1.5px;line-height:1.04}
.login-auth-copy>p{max-width:34ch;margin:0 0 18px;color:#75658d;font-size:15px;line-height:1.55}
.google-auth{width:100%;max-width:420px;margin:18px auto 0}
.google-auth[hidden],.google-auth-status[hidden]{display:none}
#google-signin-button{display:flex;justify-content:center;min-height:44px}
.login-auth-actions{display:grid;gap:10px;width:100%;max-width:420px;margin:12px auto 0}
.login-auth-actions button{width:100%;min-height:48px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
.cookie-policy-login-wrap{margin:16px 0 0;text-align:center}
.cookie-policy-login{display:inline-block;max-width:100%;color:#75658d;font-size:12px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;text-underline-offset:3px}
.cookie-policy-login:hover{color:#5630d8}
.cookie-policy-login:focus-visible{outline:2px solid #ee5791;outline-offset:3px;border-radius:2px}
#open-password-login{border:1px solid #dadce0;background:#fff;color:#3c4043;box-shadow:none}
#open-password-login:hover{background:#f8faff}
#open-password-login:active{background:#f1f3f4}
.google-auth-status{display:block;margin:10px auto 0;color:#6b5c7d;font-size:12px;line-height:1.45}
.google-auth-status{color:#8f2e55}
.login-promo-stage{box-sizing:border-box;width:100%;max-width:480px;min-width:0;margin:0 auto;padding:12px;border:1px solid #d5c6eb;border-radius:26px;background:linear-gradient(145deg,#efe8ff,#fffdf6 58%,#fff3d4);box-shadow:0 6px 0 #d9cbed}
.entry-card:has(.login-auth-screen) .login-promo{box-sizing:border-box;display:block;width:100%;max-width:420px;min-width:0;margin:0 auto}
.login-promo-caption{box-sizing:border-box;display:grid;grid-template-columns:20px minmax(0,1fr) 20px;align-items:center;gap:8px;width:100%;min-width:0;margin:0 0 10px;padding:9px 10px;border:1px solid #d5c6eb;border-radius:14px;background:linear-gradient(135deg,#fffdf6,#f3ecff);box-shadow:0 3px 0 #e7e1d6;color:#5630d8;font-size:15px;font-weight:400;line-height:1.25;text-align:center}
.login-promo-caption-text{min-width:0;overflow-wrap:anywhere}
.login-promo-caption>span{display:grid;place-items:center;color:#5630d8;font-size:1.2em}
.login-promo-image{display:block;box-sizing:border-box;width:100%;max-width:100%;height:auto;border:1px solid #ded5ee;border-radius:18px;box-shadow:0 4px 0 #e7e1d6}
@media(min-width:960px){
  .entry-screen:has(.login-auth-screen){display:grid;align-items:center}
  .entry-card:has(.login-auth-screen){padding:32px}
  .login-auth-screen{grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:clamp(28px,4vw,44px)}
  .login-auth-copy{margin:0;text-align:left}
  .login-auth-copy>p{margin-right:0;margin-left:0}
  .google-auth,.login-auth-actions{margin-right:0;margin-left:0}
  .login-promo-stage{padding:16px}
}
#dialog:has(.login-credentials-dialog){width:min(420px,calc(100% - 24px));max-width:420px;padding:20px;border:2px solid #d6c3ef;border-radius:24px;background:#fffdf6}
#dialog:has(.login-credentials-dialog) .dialog-top{justify-content:flex-end}
.login-credentials-dialog h2{margin:0 40px 10px 0;font-size:23px}
.login-credentials-dialog .credential-login-form{width:100%;margin:12px 0 0;text-align:left}
.credential-login-form .primary{display:block;width:100%;min-height:48px;margin:12px 0 0;white-space:normal}
#cookie-consent-dialog{width:min(460px,calc(100% - 24px));max-width:460px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:22px;border:2px solid #d6c3ef;border-radius:28px;background:#fffdf6;color:#35215c;box-shadow:0 16px 50px #39235b40;overflow-y:auto}
#cookie-consent-dialog::backdrop{background:#292344a8;backdrop-filter:blur(4px)}
.cookie-consent-screen{min-width:0}
.cookie-consent-heading{display:flex;align-items:center;gap:12px}
.cookie-consent-heading h2{min-width:0;margin:0;font-size:clamp(20px,5vw,25px);line-height:1.15;letter-spacing:-.3px}
.cookie-consent-mark{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:15px;background:#d7f45a;color:#35215c;transform:rotate(-5deg)}
.cookie-consent-mark svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#cookie-consent-description{margin:15px 0;color:#655779;font-size:14px;line-height:1.55}
.cookie-consent-languages{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;margin:12px 0}
.cookie-consent-language{display:grid;place-items:center;width:38px;height:36px;padding:3px;border:1px solid transparent;border-radius:10px;background:transparent;cursor:pointer}
.cookie-consent-language svg{display:block;width:30px;height:20px;border-radius:3px;box-shadow:0 1px 3px #35215c40}
.cookie-consent-language[aria-pressed="true"]{border-color:#6544ed;background:#eee7ff;box-shadow:0 2px 0 #6544ed}
.cookie-consent-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.cookie-consent-actions button{min-width:0;min-height:48px;margin:0;padding:10px 8px;border-radius:14px;font-size:13px;white-space:normal;overflow-wrap:anywhere}
#cookie-consent-accept{background:#d7f45a;color:#35215c}
#cookie-consent-necessary{background:#eee7ff;color:#5233bd}
.cookie-consent-policy{display:block;margin-top:14px;text-align:center;font-size:12px;font-weight:700}
.cookie-consent-warning{margin:12px 0 0;padding:10px 12px;border-radius:12px;background:#fff0d9;color:#7a4e19!important;font-size:12px!important;line-height:1.45!important}
.cookie-consent-warning[hidden]{display:none}
.cookie-consent-language:focus-visible{outline:3px solid #ee5791;outline-offset:2px}
.entry-card:has(#online-login) .online-social button{display:flex;align-items:center;justify-content:center;gap:8px}
.entry-card:has(#online-login) .online-social b{margin:0}
.entry-card:has(#online-login) .online-social button:disabled{opacity:1;cursor:default}
#hand>.card .hand-take-icon{position:absolute;left:50%;top:50%;box-sizing:border-box;width:36px;height:36px;border:2px solid #35215c;border-radius:50%;padding:7px;display:grid;place-items:center;background:#c8e84c;color:#35215c;box-shadow:0 3px 0 #35215c;transform:translate(-50%,-50%) rotate(-5deg) scale(.95);z-index:12;pointer-events:none}
.hand-take-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.shell.playing .discard-area{position:relative}
.discard-area>.discard-drop-icon{position:absolute;left:50%;width:36px;height:36px;min-height:0;border:2px solid #35215c;border-radius:50%;padding:7px;display:grid;place-items:center;background:#f48bb6;color:#35215c;box-shadow:0 3px 0 #35215c;transform:translate(-50%,-50%) rotate(-5deg) scale(.95);z-index:12;cursor:pointer}
.discard-drop-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.discard-drop-icon:hover{filter:brightness(1.08)}
.discard-drop-icon:focus-visible{outline:3px solid #38a8dd;outline-offset:3px}
.pile-action-icon,.card.back>.pile-action-icon{position:absolute;box-sizing:border-box;width:36px;height:36px;border:2px solid #35215c;border-radius:50%;padding:7px;display:grid;place-items:center;background:#c8e84c;color:#35215c;box-shadow:0 3px 0 #35215c;z-index:12;pointer-events:none}
.pile-draw-icon{left:50%;top:50%;transform:translate(-50%,-50%) rotate(-5deg) scale(.95)}
.pile-take-icon{transform:rotate(-5deg) scale(.95)}
.pile-action-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.password-field{position:relative}
.password-field input{padding-right:48px}
.password-field .password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;padding:8px;border:0;border-radius:10px;background:transparent;color:#7d6a9c}
.password-toggle svg{width:22px;height:22px}
.password-toggle [hidden]{display:none}
.entry-header .online-connection{position:absolute;top:22px;right:66px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:40px;height:40px;padding:8px;border:1px solid #e8c980;border-radius:50%;background:#fff4d6;color:#c88118}
.entry-card:not(:has(.login-language)) .online-connection{right:18px}
.entry-card:has(.table-creation-panel) .online-connection{right:18px}
.online-connection svg{width:24px;height:24px}
.entry-header .login-language{position:absolute;top:22px;right:18px;margin-top:0}
.entry-header .login-language summary{width:40px;height:40px;border-radius:50%}
.entry-card:has(.home-tiles) .entry-header{padding-right:88px}
.entry-card:has(.home-tiles) .entry-header>img{max-width:100%}
.online-connection svg{fill:currentColor}
.entry-header .online-connection[data-state="connected"]{border-color:#afe7c8;background:#dcfae8;color:#1b9c68}
.entry-header .online-connection[data-state="offline"]{background:#ffe2eb;color:#d74672}
.online-connection[data-state="offline"] rect:not(:first-child){opacity:.18}
.lobby-heading .lobby-player{display:flex;justify-content:flex-start;width:max-content;max-width:calc(100% - 122px);margin:12px 0 0 22px}
button.lobby-player{padding:0;border:0;background:none;color:inherit}
#entry-screen .lobby-actions{display:grid;grid-template-columns:minmax(0,1fr);align-items:end;gap:10px}
#entry-screen .lobby-heading>div{position:relative;flex:1 1 auto;width:100%}
#entry-screen .lobby-heading>div>#online-create{position:absolute;right:0;bottom:-6px;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;font-size:28px;font-weight:400}
#entry-screen .lobby-actions .table-search-filters{grid-column:1;min-width:0;align-items:flex-end;gap:8px;padding:8px 10px 10px;border:1px solid #d7c8ec;border-radius:16px;background:#fffdf6}
#entry-screen .table-search{position:relative}
#entry-screen .lobby-actions .favorite-filter:not(.private-filter){transform:translateY(-1px)}
.search-lens{position:absolute;left:10px;bottom:9px;width:18px;height:18px;fill:none;stroke:#5b36e0;stroke-width:2;stroke-linecap:round;pointer-events:none}
#entry-screen #online-search{height:36px;min-height:36px;padding:6px 10px 6px 34px;font-size:13px}
#entry-screen .favorite-filter,#entry-screen .favorite-filter>span{flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px}
#entry-screen .lobby-table-list thead th{padding:8px 0 6px;vertical-align:bottom}
#entry-screen .lobby-table-list .column-label{display:none}
#entry-screen .lobby-table-list .column-icon{display:block}
.lobby-col-icon{display:block;width:18px;height:18px;margin:0 auto;fill:none;stroke:#5b36e0;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lobby-col-icon .accent{fill:#c8e84c;stroke:#35215c}
#entry-screen .lobby-table-list th:first-child .lobby-col-icon{margin:0 0 0 28px}
#entry-screen .lobby-table-list .stack-head .column-icon{display:grid;gap:4px;justify-items:center}
#entry-screen .lobby-table-list .stack-cell span{display:block;line-height:1.35}
#entry-screen .lobby-table-list .stack-cell span+span{color:#7a6a92}
.home-heading{display:flex;align-items:center;justify-content:center;gap:12px;max-width:520px;margin:14px auto 18px}
.home-heading h1{margin:0}
.home-heading .lobby-player{margin:0}
.home-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:520px;margin:0 auto;padding:0;list-style:none}
.home-tile{position:relative;display:grid;align-content:space-between;gap:10px;width:100%;min-height:100%;aspect-ratio:1;padding:14px;border:0;border-radius:24px;color:#2b1d4f;text-align:left;font:inherit;cursor:pointer;box-shadow:0 6px 0 var(--tile-shadow);transition:transform .15s ease,box-shadow .15s ease;overflow:hidden}
.home-tile>*{position:relative;z-index:1}
.home-tile:hover{transform:translateY(-2px);box-shadow:0 8px 0 var(--tile-shadow)}
.home-tile:active{transform:translateY(4px);box-shadow:0 2px 0 var(--tile-shadow)}
.home-tile::after{content:"";position:absolute;right:-26px;top:-26px;width:92px;height:92px;border-radius:50%;background:#ffffff40}
.home-tile .tile-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fffffff2}
.home-tile svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.home-tile strong{display:block;font-size:clamp(15px,4.6vw,20px);line-height:1.1;text-align:left}

@media (max-width:359px){.home-tile{padding:12px}.home-tile .tile-icon{width:42px;height:42px}.home-tile svg{width:24px;height:24px}}
@media(max-height:900px){.home-tile{aspect-ratio:1.25}}
@media(orientation:portrait) and (max-height:1100px){.home-tile{aspect-ratio:1.25}}
@media(max-height:720px){
  .entry-screen:has(.home-tiles){padding:12px}
  .entry-card:has(.home-tiles){padding:12px 16px}
  .entry-card:has(.home-tiles) .entry-header>img{width:100px}
  .entry-card:has(.home-tiles) .entry-header .online-connection,.entry-card:has(.home-tiles) .entry-header .login-language{top:3px}
  .home-heading{margin:4px auto 8px}
  .home-tiles{gap:10px}
  .home-tile{aspect-ratio:1.35;padding:10px 12px;border-radius:20px}
  .home-tile .tile-icon{width:40px;height:40px}
  .home-tile svg{width:24px;height:24px}
  .home-tile strong{font-size:clamp(13px,3.8vw,16px)}
}
@media(max-height:520px){
  .entry-screen:has(.home-tiles){padding:8px 12px}
  .entry-card:has(.home-tiles){padding:8px 16px}
  .entry-card:has(.home-tiles) .entry-header>img{width:90px}
  .home-heading{margin:2px auto 4px}
  .home-tiles{gap:8px}
  .home-tile{aspect-ratio:1.5;padding:8px 10px;border-radius:18px}
  .home-tile .tile-icon{width:36px;height:36px}
  .home-tile svg{width:20px;height:20px}
  .home-tile strong{font-size:clamp(12px,3.8vw,14px)}
}
@media(orientation:landscape){.home-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(orientation:landscape) and (max-height:700px){.home-heading{margin:8px auto}.home-tile{aspect-ratio:1.3}}
@media(orientation:landscape) and (max-height:520px){
  .entry-screen:has(.home-tiles){padding:8px 12px}
  .entry-card:has(.home-tiles){padding:10px 16px}
  .entry-card:has(.home-tiles) .entry-header>img{width:100px}
  .home-heading{margin:4px auto 8px}
  .home-tiles{gap:8px}
  .home-tile{aspect-ratio:1.55;padding:10px 12px;border-radius:18px}
  .home-tile .tile-icon{width:40px;height:40px}
  .home-tile svg{width:24px;height:24px}
  .home-tile strong{font-size:clamp(13px,2.4vw,16px)}
}
@media(orientation:landscape) and (max-height:360px){
  .entry-card:has(.home-tiles){padding:6px 16px}
  .entry-card:has(.home-tiles) .entry-header>img{width:90px}
  .home-heading{margin:2px auto 4px}
  .home-tiles{gap:6px}
  .home-tile{aspect-ratio:1.8;padding:8px 10px;border-radius:16px}
  .home-tile .tile-icon{width:36px;height:36px}
  .home-tile svg{width:20px;height:20px}
  .home-tile strong{font-size:clamp(12px,2.4vw,14px)}
}
.tile-play{--tile-shadow:#4a2ec4;background:linear-gradient(145deg,#7a5cff,#5b36e0);color:#fff}
.tile-play .tile-icon{color:#5b36e0}
.tile-play .accent{fill:#c8e84c;stroke:#35215c}
.tile-stats{--tile-shadow:#9fbf2c;background:linear-gradient(145deg,#e4f58f,#c8e84c)}
.tile-stats .tile-icon{color:#5b36e0}
.tile-ranking{--tile-shadow:#e0a72c;background:linear-gradient(145deg,#ffe18a,#ffc94d)}
.tile-ranking .tile-icon{color:#b26a00}
.tile-friends{--tile-shadow:#54afbd;background:linear-gradient(145deg,#b9f4f0,#83dbe8)}
.tile-friends .tile-icon{color:#276b83}
.tile-friends svg{overflow:visible}
.tile-friends .friend-heart{transform:translate(-2.571429px,-2.571429px)}
@media (max-width:359px){.tile-friends .friend-heart{transform:translate(-3px,-3px)}}
.friends-tabs{display:flex;gap:6px}
.friends-tabs button{flex:1;min-width:0;min-height:48px;padding:8px 5px;border:1px solid #d6c3ef;border-radius:14px;white-space:normal;font-size:12px;background:#eee5ff;color:#553782}
.friends-tabs button[aria-pressed=true]{background:#d7f45a;border-color:#a2bf37;color:#35234e;font-weight:700}
.friends-search{margin:18px 0 12px;text-align:left}
.friends-search>label{display:block;margin-bottom:6px;font-size:13px;font-weight:700}
.friends-search>div{display:flex;gap:8px}
.friends-search input{min-width:0;flex:1;width:0;min-height:44px;padding:10px 12px;border:2px solid #d6c3ef;border-radius:14px;background:#fffdf6;color:#35234e;font:inherit;font-size:14px}
.friends-search input:focus-visible{outline:2px solid #6544ed;outline-offset:2px}
.friends-search button{flex:none;padding:10px 14px;min-height:44px}
.friends-list,.invite-friends-list{display:grid;gap:10px;margin:12px 0;padding:0;list-style:none}
.friends-list>li{display:grid;gap:10px;padding:12px;border:1px solid #d6c3ef;border-radius:18px;background:#f2eaff}
.friend-person{display:flex;align-items:center;gap:10px;min-width:0}
.friend-person .avatar{flex:0 0 36px;width:36px;height:36px}
.friends-screen .friend-person .avatar{border:0;border-radius:50%;background:transparent;overflow:hidden}
.friend-name{display:flex;flex-direction:column;gap:2px;min-width:0;overflow-wrap:anywhere;font-weight:700}
.friend-label{display:block;min-width:0;overflow:hidden;white-space:nowrap;overflow-wrap:normal;text-overflow:ellipsis}
.friend-score{display:flex;align-items:center;gap:3px;color:#776189;font-size:11px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums}
.friend-score .player-score-flame{width:16px;height:16px;flex:none}
.friend-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.friend-actions button,.friends-pagination button{min-height:44px;padding:9px 12px;border-radius:12px;white-space:normal;font-size:12px}
.friend-actions .secondary,.friends-pagination .secondary,.invite-friends .secondary{border:1px solid #d6c3ef;background:#fffdf6;color:#553782}
.friends-screen .friends-list>li{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.friends-screen .friend-person{grid-column:1;grid-row:1;min-height:44px;padding-bottom:14px;padding-top:14px}
.friends-screen .friend-actions{grid-column:2;grid-row:1;flex-wrap:nowrap;gap:7px}
.friends-screen .friend-added{grid-column:1 / -1}
.friend-actions .friend-icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:2px solid;border-radius:15px;box-shadow:0 3px 0 #35234e14}
.friend-actions .friend-add{background:#d7f45a;border-color:#a2bf37;color:#435514}
.friend-actions .friend-remove{background:#ffe0df;border-color:#efb2bb;color:#913c53}
.friend-actions .friend-leave{background:#d9f3fa;border-color:#9bcedf;color:#276b83}
.friend-icon-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.friend-icon-button:hover{filter:brightness(.96)}
.friend-icon-button:active{box-shadow:none}
.friend-icon-button:focus-visible{outline:3px solid #6544ed;outline-offset:3px}
.friend-added{font-size:11px;font-weight:700;color:#276b83}
.friends-pagination{display:flex;justify-content:space-between;gap:12px;margin-top:16px}
.friends-pagination .friends-next{margin-left:auto}
.invite-friends{padding:14px;border:1px solid #d6c3ef;border-radius:18px;background:#edfafa}
.invite-friends>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.invite-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.invite-friends .invite-toggle{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:0;border:2px solid #c8b5ed;border-radius:14px;background:#eee5ff;color:#553782}
.invite-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.invite-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.invite-toggle:focus-visible{outline:3px solid #6544ed;outline-offset:3px}
.invite-friends h2{margin:0;font-size:16px}
.coming-soon{display:inline-block;padding:4px 8px;border-radius:12px;background:#ffe18a;color:#775018;font-size:11px;font-weight:700}
.invite-friends p{font-size:12px;line-height:1.5}
.invite-select-all,.invite-friends-list label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px}
.invite-friends input[type=checkbox]{flex:none;width:20px;height:20px;min-height:20px;accent-color:#6544ed}
.invite-friends-list{max-height:280px;overflow:auto}
.invite-friends-list li{padding:6px;border-radius:12px;background:#ffffffb3}
.invite-send{width:100%;min-height:44px;margin-top:8px;white-space:normal}
.invite-friends button:disabled,.friends-pagination button:disabled{opacity:.55;cursor:not-allowed}
.tile-history{--tile-shadow:#ae83c6;background:linear-gradient(145deg,#ecd0ff,#d7b4f1)}
.tile-history .tile-icon{color:#76459b}
.tile-features{--tile-shadow:#d3a238;background:linear-gradient(145deg,#ffe7a7,#ffd278)}
.tile-features .tile-icon{color:#a76a00}
.tile-support{--tile-shadow:#49a9b5;background:linear-gradient(145deg,#bdf2ec,#83dbe8)}
.tile-support .tile-icon{color:#276b83}
.history-screen{max-width:560px;margin:auto;text-align:left}
.history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.history-heading .secondary{flex:none;min-height:44px;border:0;border-radius:14px;padding:12px 18px;background:#eee5ff;color:#644392;font-size:12px;font-weight:bold}
.history-heading h1{font-size:26px;margin:12px 0;overflow-wrap:anywhere}
.history-private-lock{display:inline-block;vertical-align:baseline;margin-left:7px}
.history-table strong{display:flex;align-items:center;gap:4px}
.history-table strong .history-private-lock{flex:0 0 13px;width:13px;height:13px;margin:0 0 0 7px;align-self:center;transform:none}
.table-name-line{display:flex;align-items:center;gap:4px;width:100%;min-width:0}
.table-name-line .table-private{display:inline-flex;align-items:center;justify-content:center;flex:0 0 11px;width:11px;height:11px;margin:0}
.table-name-line .table-private svg{width:11px;height:11px}
.history-point-limit{display:inline-flex;align-items:center;gap:1px;white-space:nowrap;color:#68548b;font-weight:700}
.history-screen p{font-size:12px;color:#877597}
.history-list{padding:0;list-style:none;display:grid;gap:10px}
.history-table{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px;border:1px solid #e1d5ef;border-radius:18px;background:#f8f2ff;color:#35234e;text-align:left}
.history-table strong{display:flex;align-items:center;overflow-wrap:anywhere}
.history-table>span:first-child{min-width:0;flex:1}
.history-people{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.history-person{display:grid;place-items:center;flex:none;width:25.2px;height:25.2px;border:1.4px solid white;border-radius:50%;background:#e5d8ff;box-shadow:0 2px 5px #4a2d6620;font-size:14px;overflow:hidden}
.history-person svg{display:block;width:100%;height:100%;transform:scale(1.22)}
.history-person:nth-child(3n+2){background:#ffe3a7}
.history-person:nth-child(3n){background:#caf0e1}
.history-person.is-you{border-color:#b6d84b;box-shadow:0 0 0 1px #b6d84b}
.history-table small{display:block;margin-top:6px;color:#877597;font-size:11px}
.history-detail-icon{flex:none;display:grid;place-items:center;width:34px;height:34px;background:#e6d9fc;border-radius:50%}
.history-detail-icon svg{width:20px;height:20px}
.history-pages{display:flex;justify-content:center;gap:12px;margin:18px 0}
.history-pages button{padding:10px 14px}
.history-score .history-you{background:#e2f5a2;font-weight:900}
.history-score th{max-width:130px;overflow-wrap:anywhere}
.history-game-heading{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;padding:12px;border-radius:12px;background:#eee7ff}
.history-game-picker{padding:14px;margin:14px 0;border-radius:16px;background:#f3edff}
.history-game-heading+.table-score-scroll{margin-top:14px}
.history-round-icon{display:block;margin:auto}
#round-label{gap:4px}
.table-info-screen dd>.round-count-icon,.table-info-screen dd>.game-count-icon{margin-left:4px}
.table-info-details>[data-table-info-field="Current round"] dd{display:flex;align-items:center;justify-content:flex-end;gap:4px}
.table-info-details>[data-table-info-field="Current round"] dd>.round-count-icon{margin-left:0}
.table-info-highlights>[data-table-info-field="Games played"] dd,.table-info-highlights>[data-table-info-field="Rounds played"] dd{display:flex;align-items:center;justify-content:center;gap:4px}
.table-info-highlights dd>.round-count-icon,.table-info-highlights dd>.game-count-icon{width:1em;height:1em;margin-left:0}
.all-in-score-icon{display:inline-block;vertical-align:middle;flex:none;color:#6744df}
.private-filter svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.all-in-hero{display:block;color:#6744df}
.all-in-hero .all-in-score-icon{display:block;width:60px;height:60px;margin:0 auto}
.all-in-title{font-size:clamp(33.6px,10.5vw,60.2px)}
dialog>#dialog-content:has(>.result-icon){grid-template-columns:54px minmax(0,1fr) 30px;padding-top:22px}
dialog>#dialog-content:has(>.result-icon.all-in-hero){grid-template-columns:60px minmax(0,1fr) 30px;align-items:center}
#dialog-content:has(>.result-icon)>#close-dialog{grid-column:3;grid-row:1;align-self:center;justify-self:end}
#dialog-content>.result-icon+h2{font-size:20px}
#dialog-content>.result-icon.all-in-hero{width:60px;height:60px}
#dialog-content>.result-icon:not(.all-in-hero){justify-self:start;text-align:left}
#dialog-content>.result-icon.all-in-hero .all-in-score-icon{width:48px;height:48px}
.score-player-heading{display:flex;flex-direction:column;align-items:center;gap:5px}
.table-score-history{table-layout:fixed}
.table-score-history thead th:first-child{width:44px}
.table-score-history thead th:has(.score-player-heading){vertical-align:top}
.score-player-avatar{display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid #c8b9ed;border-radius:50%;background:#eee7ff;overflow:hidden;font-size:18px;font-weight:400}
.score-player-avatar>svg{display:block;width:100%;height:100%}
.score-player-name{display:block;max-width:90px;overflow:hidden;font-size:10px;font-weight:400;line-height:1.25;white-space:nowrap;overflow-wrap:normal;text-overflow:ellipsis}
.table-score-history .all-in-success .round-score-number{width:25px;border:1.5px solid #6744df;border-radius:50%}
.table-score-history .all-in-success{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.table-score-history .all-in-success .round-score-icons{position:static;display:inline-flex;align-items:center;gap:4px;transform:none;line-height:1}
.table-score-history .all-in-success .round-score-icon{position:static;display:flex;align-items:center;transform:none;line-height:1}
.table-score-history .all-in-success .all-in-score-icon{width:15.2px;height:15.2px}
.history-game-picker h2{margin:0 0 12px;font-size:12px;font-weight:700}
.history-game-numbers{display:flex;flex-wrap:wrap;gap:8px}
.history-game-numbers button{display:grid;place-items:center;flex:none;width:22px;height:22px;min-height:22px;padding:0;border:2px solid #c8b9ed;border-radius:50%;background:#fffdf6;color:#5233bd;font:inherit;font-size:11px;font-weight:700;line-height:1;letter-spacing:0;cursor:pointer}
.history-game-numbers button[aria-current=true]{border-color:#6845e9;background:#6845e9;color:white;box-shadow:none}
.history-game-numbers button:focus-visible{outline:3px solid #ee5791;outline-offset:3px}
.tile-logout{--tile-shadow:#d65f8e;background:linear-gradient(145deg,#ffc2d9,#ff9bbf)}
.tile-logout .tile-icon{color:#c23a6f}
.home-tiles:has(.tile-features){max-width:520px}
.home-tiles:has(.tile-features) .home-tile{aspect-ratio:1.4}
.home-tiles:has(.tile-features) .home-tile .tile-icon{justify-self:start;align-self:start}
.home-tiles:has(.tile-features) .home-tile>span:last-child{justify-self:start;align-self:end;min-width:0;max-width:100%;text-align:left}
.home-tiles:has(.tile-features) .home-tile strong{line-height:1.1;overflow-wrap:anywhere;text-align:left}
@media(orientation:landscape){.home-account-row{max-width:760px}.home-tiles:has(.tile-features){max-width:760px;grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:450px){
  .home-tiles:has(.tile-features) .home-tile{aspect-ratio:1.55;padding:8px 10px;gap:6px;border-radius:18px}
  .home-tiles:has(.tile-features) .home-tile .tile-icon{width:36px;height:36px}
  .home-tiles:has(.tile-features) .home-tile .tile-icon svg{width:22px;height:22px}
  .home-tiles:has(.tile-features) .home-tile strong{font-size:clamp(12px,3.8vw,15px)}
}
@media(max-height:520px){
  .home-tiles:has(.tile-features) .home-tile{aspect-ratio:1.55;padding:6px 10px;gap:4px;border-radius:18px}
  .home-tiles:has(.tile-features) .home-tile .tile-icon{width:32px;height:32px}
  .home-tiles:has(.tile-features) .home-tile .tile-icon svg{width:20px;height:20px}
  .home-tiles:has(.tile-features) .home-tile strong{font-size:clamp(11px,2.4vw,13px);line-height:1.05}
}
@media(max-width:359px){
  .home-tiles:has(.tile-features) .home-tile{padding:4px 8px;gap:4px;border-radius:16px}
  .home-tiles:has(.tile-features) .home-tile .tile-icon{width:30px;height:30px}
  .home-tiles:has(.tile-features) .home-tile .tile-icon svg{width:18px;height:18px}
  .home-tiles:has(.tile-features) .home-tile strong{font-size:clamp(11px,3.5vw,12px);line-height:1.05}
}
@media(orientation:landscape) and (min-width:451px) and (max-height:520px){.home-tiles:has(.tile-features) .home-tile strong{font-size:clamp(12px,3.8vw,15px)}}
@media(orientation:portrait) and (min-width:451px) and (max-height:960px){.home-tiles:has(.tile-features) .home-tile{aspect-ratio:1.9}}
@media (prefers-reduced-motion:reduce){.home-tile{transition:none}.home-tile:hover,.home-tile:active{transform:none}}
#entry-screen .table-search>span{font-size:9px;font-weight:400}
.table-choice .choice-person{width:18px;height:18px;fill:currentColor;flex-shrink:0}
.table-top #round-label{position:absolute;left:auto;right:0;top:0;transform:none}
.table-top .table-title{align-self:start}
.table-top>.turn-timer{top:0}
.shell.playing .seat-top{top:-18px}
#online-create svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
#entry-screen .lobby-heading>div>#online-create{right:51px}
#entry-screen .lobby-heading>div>#online-refresh{position:absolute;right:0;bottom:-6px;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;background:#eee7ff;color:#6544ad}
#online-refresh svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#online-refresh:disabled{opacity:.55}
#online-refresh:focus-visible,#online-create:focus-visible{outline:3px solid #ee5791;outline-offset:3px}
#online-current-table:empty{display:none}
.lobby-current-table-card{margin:0 0 17px;padding:13px;border:2px solid #bca4eb;border-radius:20px;background:linear-gradient(135deg,#f3edff,#fffdf6 72%);box-shadow:0 4px 0 #e4d8f8}
.lobby-current-label{display:inline-flex;align-items:center;gap:6px;margin:0 0 10px;padding:4px 10px;border:1px solid #e6abd0;border-radius:999px;background:linear-gradient(100deg,#ffe493 0%,#ffcbe0 52%,#ded0ff 100%);box-shadow:0 2px 0 #d9c2ee;color:#593096;font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
.lobby-current-label svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lobby-table-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:12px 0;padding:5px;border:1px solid #e3d8f0;border-radius:17px;background:#f5f0fb}
.lobby-table-tab{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:42px;padding:6px 4px;border:0;border-radius:12px;background:transparent;color:#78658e;font:inherit;font-size:12px;font-weight:750;line-height:1;white-space:nowrap;cursor:pointer}
.lobby-table-tab>span{transform:translateY(2px)}
.lobby-table-tab[aria-selected="true"]{background:#6845e9;color:#fff;box-shadow:0 3px 0 #4b2bb3}
.lobby-table-tab:focus-visible,#online-table-cards button:focus-visible,#online-current-table button:focus-visible{outline:3px solid #ee5791;outline-offset:2px}
.lobby-tab-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:1px 5px 0;border-radius:999px;background:#e8dfff;color:#5435b8;font-size:10px;font-weight:850;line-height:1;font-variant-numeric:tabular-nums}
.lobby-table-tab[aria-selected="true"] .lobby-tab-count{background:#fff;color:#5435b8}
.lobby-table-caption{margin:0 2px 8px;color:#877597;font-size:12px;line-height:1.45}
.lobby-table-card-list{display:grid;gap:9px}
.lobby-table-card{min-width:0;padding:12px;border:1px solid #e3d9ee;border-radius:18px;background:#fffdf8;box-shadow:0 3px 0 #f0e9f5}
.lobby-card-top{display:flex;align-items:flex-start;gap:8px;min-width:0}
.lobby-card-name{flex:1;min-width:0}
.lobby-card-name-line{display:flex;align-items:center;gap:5px;min-width:0}
.lobby-card-name .table-name-text{flex:1;min-width:0;max-width:none;overflow:hidden;color:#35215c;font-size:14px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.lobby-card-name .table-private{display:inline-grid;place-items:center;flex:none;width:16px;height:16px;color:#7655c6}
.lobby-card-name .table-private svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lobby-card-name .table-id-text{display:flex;align-items:center;gap:5px;margin-top:3px;color:#88789d;font-size:11px;font-variant-numeric:tabular-nums}
.lobby-card-name .table-entry-price{font-size:11px}
.lobby-status-pill{flex:none;margin-top:1px;padding:5px 8px;border-radius:999px;background:#e6f8d3;color:#4b6c1a;font-size:10px;font-weight:800;line-height:1}
.lobby-status-pill.is-playing{background:#eee7ff;color:#6042b3}
.lobby-status-pill.is-closed{background:#f0edf3;color:#796e86}
.lobby-card-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:11px 0 10px}
.lobby-card-stat{display:grid;align-content:center;min-width:0;min-height:48px;padding:7px 5px;border:0;border-radius:12px;background:#f7f3fc;color:#453063;text-align:center;font:inherit}
.lobby-card-stat strong{display:block;overflow:hidden;color:#453063;font-size:13px;font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}
.lobby-card-stat>span:last-child{display:block;margin-top:2px;color:#9283a2;font-size:9px;line-height:1.2}
.lobby-card-player{cursor:pointer}
.lobby-card-player-value{display:flex;align-items:center;justify-content:center;gap:7px}
.lobby-card-player-value svg{width:18px;height:18px;flex:none;fill:none;stroke:#6845c7;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lobby-card-player strong{font-size:14px}
.lobby-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}
.lobby-card-actions{display:flex;align-items:center;gap:7px}
.lobby-player-avatars{display:flex;align-items:center;flex:none;height:36px;padding-left:6.4px}
.lobby-player-avatar{position:relative;display:grid;place-items:center;box-sizing:border-box;width:32px;height:32px;flex:none;margin-left:-6.4px;overflow:hidden;border:2px solid #fffdf8;border-radius:50%;background:#fff;box-shadow:0 1px 3px #35215c30}
.lobby-player-avatar:first-child{margin-left:0}
.lobby-player-avatar svg{display:block;width:100%;height:100%}
.lobby-inactive-avatar{position:relative;display:grid;place-items:center;box-sizing:border-box;width:32px;height:32px;flex:none;margin-left:-6.4px;overflow:hidden;border:2px solid #fffdf8;border-radius:50%;background:#fff;box-shadow:0 1px 3px #35215c30;font-size:23px}
.lobby-inactive-avatar svg{display:block;width:100%;height:100%}
.lobby-inactive-avatar>span{position:absolute;inset:0;background:linear-gradient(135deg,transparent 45%,#fff 45%,#fff 50%,#d92f46 50%,#d92f46 58%,#fff 58%,#fff 63%,transparent 63%);pointer-events:none}
#online-table-cards .favorite-toggle,#online-current-table .favorite-toggle{display:grid;place-items:center;box-sizing:border-box;flex:none;width:36px;height:36px;margin:0;padding:0;border:1px solid #e1d7ed;border-radius:12px;background:#fff;color:#6845c7;font-size:18px;line-height:1;cursor:pointer}
#online-table-cards .favorite-toggle[aria-pressed="true"],#online-current-table .favorite-toggle[aria-pressed="true"]{border-color:#f1d27e;background:#fff5d5;color:#d29314}
#online-table-cards .table-info-button,#online-current-table .table-info-button,#online-table-cards .table-join-button,#online-table-cards .table-scores-button{display:grid;place-items:center;box-sizing:border-box;flex:none;width:36px;height:36px;margin:0;padding:0;border:1px solid #e1d7ed;border-radius:12px;background:#fff}
#online-table-cards .table-info-button,#online-current-table .table-info-button{color:#6845c7}
#online-table-cards .table-join-button{border-color:#c6e36a;background:#e6f8ad;color:#405b12}
#online-table-cards .table-join-button svg{width:18px;height:18px}
#online-table-cards .table-scores-button{border-color:#d8c8f1;background:#f4efff;color:#6845c7}
#online-table-cards .table-scores-button svg{width:18px;height:18px;fill:currentColor;stroke:none}
.lobby-card-primary-action:empty{display:none}
.lobby-card-return{display:flex;align-items:center;align-self:center;justify-content:center;gap:8px;min-height:36px;padding:7px 12px;border:0;border-radius:12px;background:#d7f45a;color:#35215c;font:inherit;font-size:12px;font-weight:800;line-height:1;box-shadow:0 3px 0 #b5d43a;white-space:nowrap;cursor:pointer}
.lobby-card-return-label{display:inline-block;transform:translateY(2px)}
.lobby-card-return svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:translateY(2px)}
.lobby-card-empty{padding:24px 12px;border:1px dashed #d9cce9;border-radius:18px;color:#877597;font-size:13px;line-height:1.5;text-align:center}
@media(min-width:700px){.lobby-table-card-list{grid-template-columns:repeat(2,minmax(0,1fr))}.lobby-table-card{padding:14px}}
@media(max-width:360px){.lobby-table-tab{gap:4px;font-size:11px}.lobby-table-card{padding:10px}.lobby-card-actions{gap:4px}#online-table-cards .favorite-toggle,#online-current-table .favorite-toggle,#online-table-cards .table-info-button,#online-current-table .table-info-button,#online-table-cards .table-join-button,#online-table-cards .table-scores-button{width:34px;height:34px}}
.lobby-player>span:first-child{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;width:90px;height:26px;padding:0 8px 0 14px;border:1px solid #c8bbe8;border-radius:12px;background:#fffdf6;font-size:12px}
.lobby-player .you-avatar{position:absolute;left:-13px;top:-1px;display:grid;place-items:center;width:26px;height:26px;border:1px solid #b7d63f;border-radius:50%;background:#d7f45a;font-size:18px}
.lobby-heading .lobby-player .you-avatar{width:44px;height:44px;left:-22px;top:50%;transform:translateY(-50%)}
.lobby-heading .lobby-player>span:first-child{justify-content:flex-start;width:max-content;max-width:100%;padding:0 12px 0 29px}
.lobby-heading .player-heading-name{flex:0 1 auto;min-width:0;text-align:left}
.home-heading .lobby-player>span:first-child{flex-direction:row;align-items:center;width:auto;max-width:100%;height:auto;min-height:0;padding:0;gap:0;border:0;background:none;box-shadow:none}
.home-heading .lobby-player .you-avatar{position:relative;left:auto;top:auto;z-index:2;width:44px;height:44px;flex-shrink:0;border:1px solid #b7d63f;border-radius:50%;background:#d7f45a}
.home-heading .player-heading-name{display:flex;align-items:center;justify-content:flex-start;min-width:0;width:max-content;max-width:100%;min-height:26px;margin-left:-20px;padding:0 12px 0 27px;border:1px solid #c8bbe8;border-radius:12px;background:#fffdf6;font-size:12px;line-height:20px;overflow:hidden;white-space:nowrap;overflow-wrap:normal;text-overflow:ellipsis;text-align:left}
.player-heading-name>span{display:block;min-width:0;width:100%;overflow:hidden;white-space:nowrap;overflow-wrap:normal;text-overflow:ellipsis}
.home-account-row{--home-avatar-size:44px;justify-content:space-between;gap:8px}
.home-account-row .lobby-player{display:flex;flex:0 1 auto;min-width:0;text-align:left}
.home-account-row .lobby-player>span:first-child{width:max-content;max-width:100%;min-width:0}
.home-account-row .lobby-player .you-avatar{width:var(--home-avatar-size);height:var(--home-avatar-size)}
.home-account-row .player-heading-name{flex:0 1 auto;width:max-content;max-width:100%}
.home-account-status{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto;flex-shrink:0}
.home-account-status .coin-wallet{box-sizing:border-box;height:var(--home-avatar-size);min-height:var(--home-avatar-size);padding:0;border:0;border-radius:0;background:none}
.home-account-status .coin-amount{gap:0}
.home-account-status .coin-icon{position:relative;z-index:2;width:var(--home-avatar-size);height:var(--home-avatar-size)}
.home-account-status .coin-amount>span:not(.visually-hidden){display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:60px;min-height:26px;margin-left:-15px;padding:0 12px 0 23px;border:1px solid #d5b048;border-radius:12px;background:#fff2b0;font-size:12px;line-height:20px}
body{isolation:isolate}
.entry-screen{position:relative;background:none}
.entry-screen::before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(circle at 0 0,#ffd1e7,transparent 48%),radial-gradient(circle at 100% 100%,#c4f7df,transparent 55%),#f3edff}
.app-version{position:fixed;right:8px;bottom:8px;z-index:-1;color:#888;font-size:9px;font-weight:400;line-height:1;opacity:.8;pointer-events:none;user-select:none}
.lobby-table-list .table-join-cell{width:44px;padding:6px}
.table-join-button{display:grid;place-items:center;width:24px;height:24px;margin-left:auto;padding:0;border:0;border-radius:50%;background:var(--purple,#6544ed);color:#fff}
.table-join-button svg{width:13px;height:13px;stroke-width:1.5}
.table-join-button:hover{filter:brightness(1.1)}
.table-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}
.table-join-slot{display:block;width:24px;flex-shrink:0}
.table-scores-button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--purple)}
.table-scores-button svg{width:18px;height:18px}
.table-scores-button:hover{background:#eee7ff}
.table-info-button{display:grid;place-items:center;width:24px;height:24px;flex-shrink:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--purple,#6544ed)}
.table-info-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.table-info-button:hover{background:#eee7ff}
#dialog:has(.table-info-screen){width:min(440px,calc(100% - 24px));padding:18px;border:2px solid #d6c3ef;border-radius:26px;background:#fffdf6}
#dialog:has(.table-info-screen) .dialog-top{justify-content:flex-end}
#dialog:has(.table-info-screen) .dialog-top>.eyebrow{display:none}
.table-info-heading{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:0 0 18px}
.table-info-emblem{display:grid;place-items:center;width:52px;height:52px;border-radius:18px;background:#ece3ff;transform:rotate(-6deg)}
.table-info-emblem svg{width:32px;height:32px;fill:none;stroke:#6544ed;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.table-info-heading #dialog-title{margin:0;font-size:23px;line-height:1.2;color:#49316e;overflow-wrap:anywhere;max-width:100%}
.table-info-title{display:flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-width:0}
.table-info-title #dialog-title{min-width:0}
.table-info-lock{display:inline-flex;flex-shrink:0;color:#6544ed}
.table-info-lock svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.table-info-creator{display:flex;align-items:center;justify-content:flex-end;gap:3px}
.table-info-creator-avatar{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:50%;background:#ece3ff;font-size:18px}
.table-info-creator-avatar svg{display:block;width:100%;height:100%}
.dialog-top{justify-content:flex-end}
.dialog-top:empty{display:none}
.score-title-icon{color:#000}
#dialog:has(.close-table-screen){width:min(400px,calc(100% - 24px));padding:22px 20px 20px;border:2px solid #d6c3ef;border-radius:26px;background:#fffdf6;box-shadow:none}
.close-table-heading{display:flex;align-items:center;gap:12px}
.close-table-emblem{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:15px;background:var(--green);color:#49316e;transform:rotate(-6deg)}
.close-table-emblem svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.close-table-screen:has(#online-confirm-leave) .close-table-emblem{background:#ffd8d2}
.close-table-heading #dialog-title{flex:1;min-width:0;margin:0;font-size:20px;line-height:1.2;color:#49316e;overflow-wrap:anywhere}
.close-table-heading #close-dialog{flex:none}
.close-table-screen>p{margin:18px 0 22px;font-size:14px;line-height:1.55;color:#49316e}
.close-table-screen>.primary{display:block;width:100%;min-height:48px;margin:0;border-radius:15px;white-space:normal}
.score-row{align-items:center}
.score-row .score-player-name{display:flex;align-items:center;gap:8px;min-width:0;max-width:none;font:inherit}
.score-row .score-player-name>span:last-child{flex:1;min-width:0;overflow:hidden;white-space:nowrap;overflow-wrap:normal;text-overflow:ellipsis}
.score-row .score-player-avatar{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#ece3ff;font-size:19px}
.score-row .score-player-avatar svg{display:block;width:100%;height:100%}
.score-value .score-half-icon{width:18px;height:18px}
.game-header-player{display:flex;align-items:center;gap:8px;min-width:0;margin:0 0 0 auto;flex-shrink:1}
.game-header-player .game-wallet{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;padding:4px 0;border:0;background:none;color:#49316e;font:inherit;font-size:12px;line-height:20px;cursor:pointer}
.game-wallet .coin-icon{width:18px;height:20px}
.game-header-player #game-profile{min-width:0}
.game-header-player .player-heading-name{min-width:0;overflow:hidden;white-space:nowrap;overflow-wrap:normal;text-overflow:ellipsis;text-align:left}
.coin-icon{display:inline-block;width:22px;height:24px;flex:none;vertical-align:middle}
.coin-amount{display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;font-weight:750}
.coin-wallet{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:5px 12px;border:2px solid #d5b048;border-radius:20px;background:#fff2b0;color:#35215c;font:inherit;cursor:pointer}
.entry-header .coin-wallet{margin-left:auto}
.coin-shop{max-width:480px;margin:auto;overflow-wrap:anywhere}
.coin-balance{display:flex;align-items:center;justify-content:center;gap:14px;padding:12px;font-size:30px}
.coin-add-button{display:grid;place-items:center;width:44px;height:44px;flex:none;padding:0;border:2px solid #c5acdf;border-radius:15px;background:#d7f45a;color:#49316e;font-family:inherit;font-size:28px;font-weight:700;line-height:1;cursor:pointer}
.coin-add-button:focus-visible{outline:3px solid #6544ed;outline-offset:3px}
.coin-topup{max-width:400px;margin:auto;overflow-wrap:anywhere}
.coin-topup #dialog-title{font-size:20px;line-height:1.2}
.coin-shortage{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 12px;margin:0 0 12px;border:1px solid #edb8c5;border-radius:14px;background:#fff0f3;color:#a52e50;font-size:14px;font-weight:750;text-align:center}
.coin-shortage svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.coin-topup-hero{position:relative;display:flex;justify-content:center;width:74px;margin:12px auto}
.coin-topup-hero .coin-icon{width:64px;height:64px}
.coin-topup-hero>span{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:32px;height:32px;border:2px solid #fffdf6;border-radius:50%;background:#d7f45a;color:#49316e;font-size:25px;font-weight:700}
.coin-topup-summary{display:flex;justify-content:center;gap:12px;margin-bottom:12px}
.coin-topup-summary>div{display:grid;justify-items:center;gap:8px;flex:1;min-width:0;padding:14px 8px;background:#fff2b0;border-radius:16px}
.coin-topup-summary>div>span:first-child{font-size:12px;color:#78658e}
.coin-topup-summary .coin-amount{font-size:24px}
.coin-shortage-panel{display:grid;gap:12px;margin:0 0 12px;padding:14px;border:1px solid #e8d8ae;border-radius:20px;background:#fffaf0}
.coin-shortage-price{display:grid;justify-items:center;gap:5px;padding:13px 10px 12px;border:1px solid #e6c65f;border-radius:16px;background:#fff0b0;box-shadow:0 3px 0 #e7d695;color:#49316e}
.coin-shortage-price>span:first-child{font-size:12px;font-weight:700;color:#78658e}
.coin-shortage-price>.coin-amount{gap:7px;font-size:36px;line-height:1.05;font-weight:850}
.coin-shortage-price .coin-icon{width:36px;height:39px}
.coin-shortage-progress{height:9px;overflow:hidden;border-radius:999px;background:#f1dce1}
.coin-shortage-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#c8e750,#a5d933);transition:width .25s ease}
.coin-shortage-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.coin-shortage-breakdown>div{display:grid;justify-items:center;gap:6px;min-width:0;padding:10px 6px;border-radius:14px}
.coin-shortage-current{background:#eee7ff}
.coin-shortage-gap{background:#fff0f3}
.coin-shortage-breakdown>div>span:first-child{font-size:11px;line-height:1.25;color:#78658e;text-align:center}
.coin-shortage-breakdown .coin-amount{gap:4px;font-size:21px}
.coin-shortage-breakdown .coin-icon{width:22px;height:24px}
.coin-shortage-gap .coin-amount{color:#a52e50}
@media(prefers-reduced-motion:reduce){.coin-shortage-progress>span{transition:none}}
.coin-topup-hourly,.coin-topup-option{padding:12px;border:1px solid #dfcfef;border-radius:18px;background:#f4edff;margin-top:12px;text-align:center}
.coin-topup-hourly{background:#f1f8d7;text-align:left;padding:14px 16px}
.coin-topup-hourly-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#49316e;font-size:14px;line-height:1.35}
.coin-topup-hourly-heading>span:first-child{min-width:0}
.coin-topup-hourly-heading>.coin-amount{display:inline-flex;align-items:center;gap:5px;flex:none;padding:4px 8px;border-radius:12px;background:#fff2b0;line-height:1}
.coin-topup-hourly-heading .coin-icon{width:22px;height:24px}
.coin-topup .coin-topup-hourly p{margin:8px 0 0;color:#655375;font-size:12px}
.coin-topup p{margin:8px 0;font-size:13px;line-height:1.5}
.coin-topup-option .primary{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;white-space:normal}
.coin-coming-soon{padding:4px 8px;border-radius:10px;background:#fffdf6;color:#644392;font-size:11px}
#online-create-form .create-table-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:54px;padding:12px 16px;border:2px solid #b5ce40;border-radius:17px;background:#d7f45a;color:#35215c;text-align:left;white-space:normal;font-size:15px;line-height:1.3}
.create-table-submit>span{display:flex;align-items:center}
.create-table-submit>span:first-child{min-width:0;overflow-wrap:anywhere}
.create-table-price{flex:none;padding:6px 10px;border-radius:12px;background:#fff2b0}
.coin-balance .coin-icon{width:44px;height:47px}
.coin-accrual-note{text-align:center;font-size:12px;line-height:1.5;color:#78658e}
.coin-history-heading{margin:24px 0 12px;font-size:17px}
.coin-hourly-summary{display:flex;align-items:center;gap:10px;margin:18px 0;padding:15px 12px;border:2px solid #ddbd61;border-radius:20px;background:#fff0b7;color:#49316e}
.coin-hourly-art{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#ffe18a;flex:none}
.coin-hourly-art svg{width:25px;height:25px}
.coin-hourly-summary>span:nth-child(2){flex:1;min-width:0}
.coin-hourly-summary strong,.coin-hourly-summary small{display:block;overflow-wrap:anywhere}
.coin-hourly-summary strong{font-size:13px;line-height:1.35}
.coin-hourly-summary small{margin-top:4px;font-size:11px}
.coin-hourly-summary>.coin-amount{font-size:20px;font-weight:800;flex:none}
.coin-history{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.coin-transaction{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:12px;border:1px solid #e6daf2;border-radius:15px;background:#f8f3ff}
.coin-transaction-details{display:grid;gap:4px;min-width:0;text-align:left}
.coin-transaction-details strong{font-size:13px}
.coin-transaction-details>span{font-size:12px}
.coin-transaction-details time{font-size:11px;color:#78658e}
.coin-transaction-totals{display:grid;gap:4px;flex-shrink:0;text-align:right}
.coin-transaction-totals>strong{font-size:20px;line-height:1.1}
.coin-transaction-totals small{font-size:10px;color:#78658e}
.coin-credit{color:#24764b}
.coin-debit{color:#b83459}
.coin-neutral{color:#78658e}
.coin-history-more{display:block;width:100%;min-height:44px;margin-top:12px}
.coin-history-empty{text-align:center;color:#78658e;font-size:13px}
.coin-catalog{display:grid;gap:8px;margin-top:18px}
.coin-product{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:16px;background:#f2eaff;min-width:0}
.coin-product>span{min-width:0;overflow-wrap:anywhere}
.coin-product small{display:block;font-size:11px}
.coin-product button{flex:none;min-width:0;min-height:44px;max-width:55%;white-space:normal;overflow-wrap:anywhere}
.appearance-price{display:block;font-size:13px}
.coin-purchase-confirm{display:grid;gap:14px;text-align:center}
.coin-purchase-confirm .coin-dialog-heading{margin-bottom:0}
.coin-purchase-confirm #dialog-title{font-size:20px;line-height:1.2}
.coin-purchase-confirm>.primary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;white-space:normal}
.coin-purchase-confirm>.primary>span{display:inline-flex;align-items:center}
.language-dialog-heading,.coin-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.language-dialog-heading #dialog-title,.coin-dialog-heading #dialog-title{margin:0;min-width:0}
.language-dialog-heading #close-dialog,.coin-dialog-heading #close-dialog{flex:none}
#online-profile-form{width:100%;max-width:480px;margin:0 auto}
.game-header-player .lobby-player{display:flex;margin:0;font-weight:700}
.game-header-player .lobby-player .you-avatar{width:44.2px;height:44.2px}
#game-shell .topbar{gap:12px}
#game-shell .topbar .wordmark{min-width:0;flex-shrink:1}
#game-shell .topbar .brand-logo{max-width:100%;height:auto}
.bottom-inner>#menu,.bottom-inner>#table-scores{display:grid;place-items:center;align-self:center;flex:0 0 38px;width:38px;min-width:38px;height:40px;padding:8px;border:1px solid #d6c3ef;border-radius:12px;background:#eee7ff;color:#6544ad}
.bottom-inner>#menu svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.bottom-inner>#table-scores svg{width:22px;height:22px}
.bottom-inner>#menu[aria-expanded="true"]{background:#d7f45a}
.bottom-inner{column-gap:7px}
.table-menu{position:fixed;inset:auto;margin:0;left:12px;bottom:100px;width:min(288px,calc(100vw - 24px));padding:12px;border:2px solid #d6c3ef;border-radius:24px;background:#fffdf6;color:#49316e;box-shadow:4px 5px 0 #d7f45a,0 12px 35px #49316e33;overflow-y:auto}
.table-menu:popover-open{display:grid;gap:7px}
.table-menu button{display:flex;align-items:center;gap:11px;width:100%;min-height:48px;padding:8px 10px;border:1px solid #e8def3;border-radius:15px;background:#f3edff;text-align:left;font:inherit;font-size:13px;font-weight:700;color:inherit}
.table-menu #profile{flex:initial;width:100%;padding:8px 10px;justify-content:flex-start;text-align:left}
.table-menu button[hidden]{display:none}
.table-menu button:disabled{opacity:.5;cursor:not-allowed}
#online-close-table{background:#ffe5e9;border-color:#f5c2cf;color:#8f3655}
.table-menu button:hover,.table-menu button:focus-visible{background:#e5d9ff;border-color:#b9a2df}
.table-menu-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:11px;background:#dfd1ff;color:#6544ad}
.table-menu-icon svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#online-leave{background:#fff0ee;border-color:#f5d6d3}
#online-leave .table-menu-icon{background:#ffd8d2;color:#b24b65}
#rules .table-menu-icon{background:#ffedab;color:#9b6b26}
#menu-language .table-menu-icon{background:#cef0eb;color:#287a79}
#menu-language .table-menu-icon svg{width:18px;height:13.5px;border-radius:2px;stroke:none}
#online-reconnect{background:#f4f1f8}
#online-reconnect .table-menu-icon{background:#e5e0ec;color:#78658e}
.table-menu hr{width:100%;margin:5px 0;border:0;border-top:1px solid #e8def3}
.leaderboard-heading{display:flex;align-items:center;gap:12px;margin:20px 0}
.leaderboard-heading h1{font-size:26px;margin:0;color:#49316e}
.leaderboard-heading p{margin:4px 0 0;font-size:12px;color:#877597}
.leaderboard-heading .statistics-back{margin-left:auto;flex-shrink:0}
.leaderboard-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:2px 2px 10px}
.leaderboard-tabs button{display:grid;place-items:center;min-width:0;min-height:46px;padding:8px;border:1px solid #d6c3ef;border-radius:14px;background:#eee7ff;color:#68548b;font:inherit;cursor:pointer;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.leaderboard-tabs button>span{display:grid;place-items:center}
.leaderboard-tabs svg{display:block;width:26px;height:26px}
.leaderboard-tabs .all-in-score-icon{color:inherit}
.leaderboard-tabs button:hover{background:#e2d7ff;border-color:#b9a2df;transform:translateY(-1px)}
.leaderboard-tabs button:focus-visible{outline:3px solid #9a7af5;outline-offset:2px}
.leaderboard-tabs button[aria-pressed="true"]{background:linear-gradient(145deg,#7657f1,#5234c9);color:#fff;border-color:#5234c9;box-shadow:0 3px 0 #d7f45a,0 5px 12px #5031b833}
.leaderboard-tabs button[aria-pressed="true"]>span{filter:brightness(0) invert(1)}
.leaderboard-tabs button[aria-pressed="true"]:hover{background:linear-gradient(145deg,#8265f5,#5b3ad5);border-color:#5b3ad5}
.leaderboard-tabs button:active{transform:translateY(0) scale(.97)}
@media(prefers-reduced-motion:reduce){.leaderboard-tabs button{transition:none}.leaderboard-tabs button:hover,.leaderboard-tabs button:active{transform:none}}
.leaderboard-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 14px;font-size:12px;color:#68548b}
.leaderboard-caption>div{min-width:0}
.leaderboard-caption h2{margin:0;font-size:24px;line-height:1.2;color:#49316e;overflow-wrap:anywhere}
.leaderboard-caption .leaderboard-position{margin:7px 0 0;font-size:16px;font-weight:700;line-height:1.4;color:#877597}
.leaderboard-caption .leaderboard-qualification-note{margin:4px 0 0;font-size:11px;font-weight:400;line-height:1.35;color:#877597}
.leaderboard-scroll{position:relative;max-height:min(560px,60dvh);overflow:auto;border:1px solid #dfd1f3;border-radius:18px;background:#fffdf6;scrollbar-width:thin;scroll-padding-top:45px}
.leaderboard-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:auto;font-size:14px;color:#49316e}
.leaderboard-table col:first-child{width:36px}
.leaderboard-table th,.leaderboard-table td{padding:10px 8px;border-bottom:1px solid #eee7f6;vertical-align:middle}
.leaderboard-table thead th{position:sticky;top:0;z-index:2;background:#eee7ff;font-size:10px;text-align:left}
.leaderboard-table thead th:first-child{width:42px}
.leaderboard-table thead th:last-child{width:82px;text-align:right;overflow-wrap:anywhere}
.leaderboard-table tbody th{padding-left:0;padding-right:0;font-size:16px;font-weight:700;text-align:left}
.leaderboard-table tbody td:first-child:not([colspan]){padding-left:5px;padding-right:5px}
.leaderboard-table tbody tr{background:#fffdf6}
.leaderboard-table tbody tr>th,.leaderboard-table tbody tr>td{background:inherit}
.leaderboard-table tbody tr:nth-child(even){background:#faf7ff}
.leaderboard-table .leaderboard-value{text-align:right;padding-right:32px;white-space:nowrap;font-size:17px;font-weight:400;font-variant-numeric:tabular-nums}
.leaderboard-table tr:has(.rank-1,.rank-2,.rank-3) .leaderboard-value,.leaderboard-table .leaderboard-you .leaderboard-value{font-weight:700}
.leaderboard-person{display:flex;align-items:center;gap:4px;min-width:0}
.leaderboard-person>span:last-child{min-width:0;overflow:hidden;white-space:nowrap;overflow-wrap:normal;text-overflow:ellipsis}
.leaderboard-person small{display:block;color:#6544ad;font-size:12px;margin-top:3px}
.leaderboard-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#ece3ff;font-size:21px;overflow:hidden}
.leaderboard-avatar svg{display:block;width:100%;height:100%}
.leaderboard-rank{display:grid;place-items:center;width:26px;height:26px;font-size:13px;font-weight:700;border-radius:9px}
.leaderboard-rank.rank-1{background:#ffdf75;color:#825422}
.leaderboard-rank.rank-2{background:#e2e2f0}
.leaderboard-rank.rank-3{background:#f4d0b6}
.departed-overlay strong{border-color:#d98079;background:#ffd8d2f2;color:#8e3539;font-size:clamp(10px,3vw,16px);white-space:nowrap;overflow-wrap:normal;box-shadow:none}
.seat-four-left .departed-overlay strong,.seat-four-right .departed-overlay strong{position:absolute;left:50%;top:50%;translate:-50% -50%;max-width:none}
.seat-four-left .departed-overlay strong{rotate:90deg}
.seat-four-right .departed-overlay strong{rotate:270deg}
.leaderboard-table tbody tr.leaderboard-you{background:#edfac0}
.leaderboard-you td,.leaderboard-you th{border-top:2px solid #b0d64d;border-bottom:2px solid #b0d64d}
.leaderboard-gap td{text-align:center;letter-spacing:5px;color:#b29ac9;height:38px;background:#fffdf6}
.table-info-visitors{display:grid;justify-content:end;align-items:center;min-width:0;isolation:isolate}
.table-info-visitor{position:relative;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#ece3ff;box-shadow:0 0 0 1px #fff;font-size:18px}
.table-info-visitor svg{display:block;width:100%;height:100%}
.table-info-points{display:inline-flex;align-items:center;vertical-align:middle;gap:1px}
.table-info-points svg{width:14.4px;height:14.4px;flex-shrink:0;fill:currentColor;stroke:none}
.table-info-status{padding:4px 12px;border-radius:20px;background:#d7f45a;color:#41551a;font-size:11px;font-weight:700}
.table-info-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}
.table-info-highlights>div{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0;padding:14px 8px;border-radius:18px;background:#eee7ff;text-align:center}
.table-info-highlights>[data-table-info-field="Total play time"]{grid-column:1/-1}
.table-info-highlights>[data-table-info-field="Games played"],.table-info-highlights>[data-table-info-field="Rounds played"]{background:#ffedab}
.table-info-highlights dt{font-size:11px;color:#655375}
.table-info-highlights dd{margin:0;font-size:22px;font-weight:800;color:#49316e;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.table-info-details{display:grid;gap:0;margin:0;padding:0 12px;border:1px solid #e8def3;border-radius:18px;background:#fff}
.table-info-details>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px;padding:10px 0}
.table-info-details>div+div{border-top:1px solid #f0eaf7}
.table-info-details dt{font-size:12px;color:#7a6a92}
.table-info-details dd{margin:0;font-size:12px;text-align:right;font-weight:700;color:#49316e;overflow-wrap:anywhere}
.table-info-details .table-player-count{font-size:inherit}
.table-info-note{margin:14px 4px 0;font-size:10px;line-height:1.5;text-align:center;color:#7a6a92}
.table-info-actions{display:flex;justify-content:center;margin-top:18px}
.table-info-actions .primary{margin:0}
.table-info-results{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;width:100%;margin:0 0 16px;padding:10px 14px;border:1px solid #d6c3ef;border-radius:14px;background:#eee7ff;color:#6544ad;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.table-info-results svg{width:20px;height:20px;flex-shrink:0}
.table-player-count{display:inline-flex;align-items:center;gap:3px;font-size:15px;font-weight:700}
.table-player-count svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.table-players-button{padding:10px 0;min-height:44px;border:0;border-radius:8px;background:transparent;color:inherit;font-family:inherit;cursor:pointer}
.table-players-button:focus-visible{outline:2px solid #6544ed;outline-offset:2px}
#dialog:has(.table-players-screen){width:min(400px,calc(100% - 24px));padding:22px 18px;border:2px solid #d6c3ef;border-radius:26px;background:#fffdf6}
.table-players-screen header{text-align:center}
.table-players-emblem{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 12px;border-radius:18px;background:#eee7ff;color:#6544ad;box-shadow:4px 4px 0 #d7f45a}
.table-players-emblem svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.table-players-screen h2{margin:0 0 8px;font-size:22px;color:#49316e;overflow-wrap:anywhere}
.table-players-screen header p{margin:0 0 18px;color:#68548b;overflow-wrap:anywhere}
.table-players-screen header small{font-size:11px;white-space:nowrap}
.table-players-list{display:flex;flex-direction:column;gap:10px;list-style:none;padding:0;margin:0}
.table-players-list li{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e8def3;border-radius:18px;background:#eee7ff}
.table-roster-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#d7f45a;font-size:26px;overflow:hidden}
.table-roster-avatar svg{display:block;width:100%;height:100%}
.table-roster-name{min-width:0;font-size:14px;font-weight:700;color:#49316e;overflow-wrap:anywhere}
.table-players-empty{text-align:center;padding:18px;border-radius:18px;background:#eee7ff;color:#68548b}
#entry-screen .lobby-table-list tr>:first-child{width:auto}
#entry-screen .lobby-table-list tr>:nth-child(2){width:34px}
.lobby-table-list .table-count-column{width:46px}
.lobby-table-list .table-actions-column{width:62px}
#entry-screen .lobby-table-list tr>.table-join-cell{width:66px;padding:2px 6px 2px 2px}
@media(min-width:541px){
  .lobby-table-list .table-count-column{width:76px}
  .lobby-table-list .table-actions-column{width:73px}
  #entry-screen .lobby-table-list tr>:nth-child(2){width:60px}
  #entry-screen .lobby-table-list tr>.table-join-cell{width:74px;padding:6px 13px 6px 6px}
}
.table-score-panel,.table-chat-panel{display:none}
.landscape-score-panel #game-shell .side-panel{
  display:grid;
  grid-template-rows:minmax(0,1fr) minmax(0,1fr);
  align-self:stretch;
  gap:8px;
  height:var(--landscape-score-panel-height,100%);
  max-height:var(--landscape-score-panel-height,100%);
  min-width:0;
  min-height:0;
  overflow:hidden;
}
.landscape-score-panel #game-shell .side-panel>.mission:not(.table-score-panel){display:none}
.landscape-score-panel #game-shell .side-panel>.table-score-panel{
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  min-width:0;
  min-height:0;
  overflow:hidden;
  padding:12px;
  border:1px solid #d6c3ef;
  border-radius:20px;
  background:#fff;
}
.landscape-score-panel #game-shell .side-panel>.table-chat-panel{
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  gap:6px;
  min-width:0;
  min-height:0;
  overflow:hidden;
  padding:12px;
  border:1px solid #d6c3ef;
  border-radius:20px;
  background:#fff;
}
.landscape-mobile-score-panel #game-shell .side-panel{
  display:grid;
  grid-template-rows:minmax(0,1fr);
  align-self:stretch;
  gap:8px;
  height:var(--landscape-score-panel-height,100%);
  max-height:var(--landscape-score-panel-height,100%);
  min-width:0;
  min-height:0;
  overflow:hidden;
}
.landscape-mobile-score-panel #game-shell .side-panel>.mission:not(.table-score-panel),
.landscape-mobile-score-panel #game-shell .side-panel>.table-chat-panel{display:none}
.landscape-mobile-score-panel #game-shell .side-panel>.table-score-panel{
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  min-width:0;
  min-height:0;
  overflow:hidden;
  padding:8px;
  border:1px solid #d6c3ef;
  border-radius:16px;
  background:#fff;
}
.landscape-mobile-score-panel #online-chat{display:none}
.landscape-mobile-score-panel #game-shell .table-score-panel h2{margin-bottom:6px;font-size:16px}
.landscape-mobile-score-panel #game-shell #seat-stage:not([data-player-count="2"]) #hand{
  width:max-content;
  max-width:100%;
  min-height:0;
  grid-template-columns:repeat(4,var(--opponent-card-width,50px));
  gap:4px;
}
.landscape-mobile-score-panel #game-shell #seat-stage #hand>.card{
  width:var(--two-player-card-width,var(--opponent-card-width,50px));
  height:auto;
  aspect-ratio:2 / 3;
}
.landscape-score-panel #online-chat{display:none}
.table-score-panel h2{margin:0 0 10px;font-size:20px;line-height:1.15;letter-spacing:-.5px}
.landscape-score-scroll{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain}
.table-score-panel .table-score-history{width:100%;margin:0;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:10px}
.table-score-panel .table-score-history th,.table-score-panel .table-score-history td{padding:4px 2px;text-align:center;white-space:nowrap;overflow:hidden}
.table-score-panel .table-score-history thead th:first-child{width:42px}
.table-score-panel .score-player-heading{gap:3px}
.table-score-panel .score-player-avatar{width:20px;height:20px;font-size:14px}
@media(orientation:landscape){
  .shell.playing #seat-stage .table-center.drawn-side-by-side{
    --drawn-side-card-width:64px;
    top:var(--drawn-side-center-y,50%);
    left:50%;
    width:max-content;
    height:auto;
    min-width:0;
    min-height:0;
    padding:0;
    grid-template-columns:repeat(3,var(--drawn-side-card-width));
    grid-template-rows:max-content;
    grid-auto-rows:max-content;
    justify-content:center;
    align-content:center;
    align-items:start;
    column-gap:12px;
    row-gap:0;
    transform:translate(-50%,-50%);
  }
  .shell.playing #seat-stage .table-center.drawn-side-by-side>#deck,
  .shell.playing #seat-stage .table-center.drawn-side-by-side>.discard-area,
  .shell.playing #seat-stage .table-center.drawn-side-by-side>#drawn-area{
    grid-row:1;
    justify-self:center;
    align-self:start;
    margin:0;
  }
  .shell.playing #seat-stage .table-center.drawn-side-by-side>.drawn-area{
    position:relative;
    inset:auto;
    grid-column:auto;
    grid-row:1;
    width:var(--drawn-side-card-width);
    height:auto;
    transform:none;
  }
  .shell.playing #seat-stage .table-center.drawn-side-by-side>.pile-button .card,
  .shell.playing #seat-stage .table-center.drawn-side-by-side .discard-area .card,
  .shell.playing #seat-stage .table-center.drawn-side-by-side .drawn-area>.card{
    width:var(--drawn-side-card-width);
    height:auto;
  }
}
@media(orientation:landscape) and (max-width:760px){
  .shell.playing #seat-stage .table-center.drawn-side-by-side{--drawn-side-card-width:58px;column-gap:8px}
}
.table-score-panel .score-player-name{display:block;max-width:100%;overflow:hidden;font-size:8px;line-height:1.15;white-space:nowrap;overflow-wrap:normal;text-overflow:ellipsis}
.table-chat-panel h2{margin:0;font-size:16px;line-height:1.2}
.table-chat-panel .chat-messages{height:auto;min-height:0;max-height:none;padding:6px;border-radius:12px}
.table-chat-panel .chat-message{margin:4px 0;padding:6px 8px}
.table-chat-panel .chat-message header{font-size:10px}
.table-chat-panel .chat-message p{font-size:11px}
.table-chat-form{display:grid;gap:4px;min-width:0;margin:0}
.table-chat-form label{font-size:9px;line-height:1.2;color:#68548b}
.table-chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;min-width:0}
.table-chat-compose input{width:100%;min-width:0;height:36px;padding:7px 8px;border:1px solid #d6c3ef;border-radius:10px;font:inherit;font-size:12px}
.table-chat-compose button{min-height:36px;padding:6px 10px}
.table-chat-form>p{min-height:0;margin:0;color:#a52e50;font-size:10px}
@media(orientation:portrait) and (min-width:521px) and (max-width:900px){
  .shell.playing #seat-stage{
    --tablet-card-width:clamp(57.6px,8.28vw,76.8px);
    --tablet-pile-card-width:var(--tablet-card-width);
    --opponent-card-width:var(--tablet-card-width);
    --two-player-card-width:var(--tablet-card-width)
  }
  .shell.playing #seat-stage[data-player-count="2"]{--two-player-card-width:var(--tablet-card-width)}
  .shell.playing #seat-stage .seat-four-left .mini-hand,
  .shell.playing #seat-stage .seat-four-right .mini-hand{gap:4px}
  .shell.playing #seat-stage .hand{
    width:max-content;max-width:100%;min-height:0;grid-template-columns:repeat(4,var(--tablet-card-width));gap:4px
  }
  .shell.playing #seat-stage #hand>.card{
    width:var(--tablet-card-width);height:auto;aspect-ratio:2/3
  }
  .shell.playing #seat-stage .table-center{
    top:50%;left:50%;width:max-content;height:auto;min-width:0;min-height:0;padding:0;
    display:grid;grid-template-columns:repeat(2,var(--tablet-pile-card-width));grid-template-rows:max-content minmax(clamp(97px,calc(11vw + 18px),117px),max-content);
    justify-content:center;align-content:center;align-items:start;
    gap:clamp(10px,1.6vh,16px) clamp(16px,3vw,24px);transform:translate(-50%,-50%)
  }
  .shell.playing #seat-stage .table-center>#deck,
  .shell.playing #seat-stage .table-center>.discard-area{grid-row:1;justify-self:center;align-self:start;margin:0}
  .shell.playing #seat-stage .table-center>#drawn-area{
    position:relative;inset:auto;grid-column:1/-1;grid-row:2;justify-self:center;align-self:start;
    width:max-content;height:auto;margin:0;transform:none
  }
  .shell.playing #seat-stage .table-center>:is(#deck,.discard-area) .card,
  .shell.playing #seat-stage .table-center>#drawn-area>.card{
    width:var(--tablet-pile-card-width);height:auto;aspect-ratio:2/3
  }
  .shell.playing #seat-stage .table-center>.pile-button{gap:6px}
  .shell.playing #seat-stage .table-center .pile-label,
  .shell.playing #seat-stage #drawn-area>small{font-size:9px;line-height:14px;letter-spacing:1px}
  .shell.playing #seat-stage .discard-area>.pile-label{margin-top:8px}
  .shell.playing #seat-stage #drawn-area>small{margin-top:7px}
  .shell.playing #seat-stage[data-player-count="2"] .table-center{
    width:max-content;height:auto;grid-template-columns:repeat(2,var(--tablet-pile-card-width));
    grid-template-rows:max-content minmax(clamp(97px,calc(11vw + 18px),117px),max-content);gap:clamp(10px,1.6vh,16px) clamp(16px,3vw,24px)
  }
  .shell.playing #seat-stage[data-player-count="2"] .table-center .card{
    width:var(--tablet-pile-card-width);height:auto;aspect-ratio:2/3
  }
  .shell.playing #seat-stage[data-player-count="2"] .table-center>.drawn-area{
    position:relative;inset:auto;grid-area:2/1/auto/-1;justify-self:center;height:auto;transform:none
  }
}
#dialog:has(.cabo-tutorial){position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#fff9ef;color:#30204e;overflow:hidden;box-shadow:none}
#dialog:has(.cabo-tutorial)::backdrop{background:#292344b8;backdrop-filter:blur(5px)}
#dialog:has(.cabo-tutorial)>.dialog-top{display:none}
#dialog:has(.cabo-tutorial)>#dialog-content{display:block;width:100%;height:100%;min-height:0;padding:0;overflow:hidden}
.cabo-tutorial{--tutorial-purple:#6544ed;--tutorial-ink:#35234e;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100%;overflow:hidden;background:radial-gradient(ellipse at 10% 12%,#fce2ed 0,transparent 28%),radial-gradient(ellipse at 93% 32%,#e5e0ff 0,transparent 30%),linear-gradient(145deg,#fffaf1,#f7f1ff 72%,#eff6db);font-family:"Trebuchet MS",Arial,sans-serif}
.tutorial-header{display:flex;align-items:center;gap:14px;min-width:0;padding:calc(16px + env(safe-area-inset-top)) clamp(18px,5vw,56px) 14px;border-bottom:1px solid #dcd0ec;background:#fffdf6c9}
.tutorial-heading{min-width:0;flex:1}
.tutorial-eyebrow{display:block;margin-bottom:3px;color:#9874b5;font-size:10px;font-weight:900;letter-spacing:1.6px;text-transform:uppercase}
.tutorial-header h2{margin:0;color:#49316e;font-size:clamp(19px,3vw,26px);line-height:1.12;letter-spacing:-.4px}
.tutorial-header-mark{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:12px;background:#d7f45a;color:#5336bd;font-size:23px;transform:rotate(8deg)}
.tutorial-header #close-dialog{order:3;width:40px;height:40px;border-color:#d6c3ef;background:#fff}
.tutorial-main{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b49bdd #f1eafa}
.tutorial-page-content{min-height:100%;padding:clamp(18px,4vh,42px) clamp(18px,5vw,56px)}
.tutorial-page{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:clamp(22px,5vw,72px);width:min(1120px,100%);min-height:100%;margin:0 auto}
.tutorial-illustration{min-width:0}
.tutorial-art{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:clamp(8px,2vw,22px);min-height:300px;padding:24px;border:1px solid #e1d7ec;border-radius:34px;background:radial-gradient(circle at 16% 18%,#fff 0 3px,transparent 4px),radial-gradient(circle at 84% 78%,#e4f49e 0 5px,transparent 6px),linear-gradient(145deg,#fffefa,#f2eaff 58%,#edf6d7);box-shadow:0 12px 0 #e7ddf0,0 24px 48px #51377712;overflow:hidden}
.tutorial-art::before,.tutorial-art::after{position:absolute;content:"";border:1px dashed #cbb9e7;border-radius:50%;pointer-events:none}
.tutorial-art::before{inset:14% 9%}
.tutorial-art::after{inset:24% 18%;border-color:#e9cfaa}
.tutorial-card{position:relative;z-index:1;display:inline-flex;flex:none;width:clamp(50px,7vw,80px);aspect-ratio:2/3}
.tutorial-card>.card{display:block;width:100%;height:100%;padding:0;overflow:hidden;border:1px solid #d9cde8;border-radius:11px;background:#fffdf7;box-shadow:0 4px 0 #cbbbe0}
.tutorial-card .card-face-art,.tutorial-card .card-back-art{display:block;width:100%;height:100%;object-fit:fill}
.tutorial-card .rank,.tutorial-card .points{display:none}
.tutorial-arrow{position:relative;z-index:1;width:clamp(32px,6vw,62px);height:28px;flex:none;overflow:visible;fill:none;stroke:#e684a9;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.tutorial-arrow-left{transform:rotate(180deg)}
.tutorial-example-card,.tutorial-step,.tutorial-power-example{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0}
.tutorial-goal-art{gap:clamp(8px,2.4vw,28px)}
.tutorial-score-stamp{position:absolute;right:9%;bottom:12%;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#d7f45a;color:#6442ca;font-size:22px;box-shadow:0 4px 0 #bbd44e;transform:rotate(-12deg);animation:tutorial-bob var(--animation-duration-3,3s) ease-in-out infinite}
.tutorial-score-stamp b{font-size:13px}
.tutorial-deal-art{flex-direction:column;gap:16px}
.tutorial-card-fan,.tutorial-peek-note,.tutorial-value-pair{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:7px}
.tutorial-card-fan{padding:10px 12px 14px;border-bottom:2px dashed #d4c3e8}
.tutorial-card-fan .tutorial-card:nth-child(odd){transform:rotate(-7deg) translateY(3px)}
.tutorial-card-fan .tutorial-card:nth-child(even){transform:rotate(7deg) translateY(-4px)}
.tutorial-peek-note{gap:12px;color:#8f69c4}
.tutorial-peek-eye{font-size:32px}
.tutorial-small-card{width:36px}
.tutorial-value-pair{gap:9px}
.tutorial-value-pair>span:last-child{padding:5px 8px;border-radius:10px;background:#fff3d4;color:#785b39;font-size:12px;font-weight:900}
.tutorial-turn-art{flex-wrap:wrap;gap:clamp(8px,2vw,20px)}
.tutorial-turn-art .tutorial-action-list{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;width:100%;position:relative;z-index:1}
.tutorial-action-list span{padding:7px 11px;border:1px solid #d5c6e8;border-radius:999px;background:#fffdf8;color:#644da1;font-size:11px;font-weight:800}
.tutorial-power-art{gap:clamp(9px,2.2vw,24px)}
.tutorial-power-example>span:not(.tutorial-card){display:grid;place-items:center;min-width:72px;min-height:39px;padding:6px 8px;border-radius:13px;background:#d7f45a;color:#49316e;font-size:12px;font-weight:900;box-shadow:0 3px 0 #bdd94a}
.tutorial-power-example small{display:block;margin-top:3px;color:#6b5c82;font-size:10px;text-align:center}
.tutorial-ending-art{flex-wrap:wrap;gap:12px}
.tutorial-callout{position:relative;z-index:1;display:grid;place-items:center;gap:3px;width:118px;height:118px;border-radius:50%;background:#fff0c1;color:#956329;box-shadow:0 5px 0 #e5ca83;transform:rotate(-8deg)}
.tutorial-callout>span{font-size:26px}
.tutorial-callout>b{font-size:20px;letter-spacing:1px}
.tutorial-final-cards{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,auto);gap:8px}
.tutorial-final-cards .tutorial-card{width:clamp(42px,5vw,58px)}
.tutorial-all-in-mark{position:absolute;right:10%;bottom:12%;z-index:2;padding:8px 13px;border:2px solid #d09b35;border-radius:14px;background:#fff2b0;color:#805719;font-size:13px;font-weight:1000;letter-spacing:1px;transform:rotate(7deg)}
.tutorial-score-art{flex-direction:column;gap:9px;padding:26px clamp(20px,5vw,48px)}
.tutorial-score-row{position:relative;z-index:1;display:grid;grid-template-columns:32px 1fr auto 20px;align-items:center;gap:12px;width:min(330px,100%);min-height:48px;padding:7px 13px;border:1px solid #e2d9ed;border-radius:15px;background:#fffdf8;color:#684e91;box-shadow:0 3px 0 #e7dfef}
.tutorial-score-row>span:first-child{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#eee7ff;font-size:12px;font-weight:900}
.tutorial-score-row>i{font-style:normal;font-size:18px}
.tutorial-score-row>b{font-size:20px;color:#49316e}
.tutorial-score-row:first-of-type{border-color:#bbd94b;background:#f4fad7}
.tutorial-score-limit{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:15px;margin-top:8px;padding:8px 18px;border:1px dashed #c8b3e1;border-radius:16px;color:#684e91}
.tutorial-score-limit>b,.tutorial-score-limit>strong{font-size:22px}
.tutorial-score-limit>i{font-style:normal;color:#e483a8;font-size:22px}
.tutorial-art-ribbon{position:absolute;top:15px;left:17px;z-index:3;display:flex;align-items:center;gap:5px;padding:6px 10px;border:1px solid #e8def3;border-radius:999px;background:#fffefaed;color:#6b51a0;font-size:10px;font-weight:1000;letter-spacing:.5px;box-shadow:0 2px 0 #e5dcf0}
.tutorial-art-ribbon span{color:#e58aa9;font-size:13px}
.tutorial-goal-score{position:relative;z-index:1;display:grid;justify-items:center;gap:5px}
.tutorial-score-cloud{display:flex;align-items:center;gap:7px;padding:11px 15px;border:1px solid #eadff1;border-radius:20px;background:#fffefa;box-shadow:0 4px 0 #e3d8ef;color:#694ca0;font-size:clamp(17px,3vw,25px);font-weight:1000}
.tutorial-score-cloud>b{color:#c3b4d7}
.tutorial-goal-arrow{height:28px}
.tutorial-score-bubble{position:relative;display:grid;justify-items:center;gap:1px;min-width:88px;padding:8px 16px 10px;border:2px solid #c8e36a;border-radius:22px;background:#e8f7a5;color:#4f713a;box-shadow:0 4px 0 #c9dc82;transform:rotate(-3deg)}
.tutorial-score-bubble strong{font-size:36px;line-height:1}
.tutorial-score-bubble span{color:#526b40;font-size:10px;font-weight:900}
.tutorial-score-stamp svg,.tutorial-allin-burst svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.tutorial-memory-art{flex-direction:column;gap:12px}
.tutorial-memory-art>.tutorial-art-ribbon{display:none}
.tutorial-memory-hand,.tutorial-memory-index{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,auto);align-items:end;justify-content:center;gap:clamp(5px,1.3vw,14px)}
.tutorial-memory-hand .tutorial-card:nth-child(odd){transform:rotate(-5deg) translateY(3px)}
.tutorial-memory-hand .tutorial-card:nth-child(even){transform:rotate(5deg) translateY(-4px)}
.tutorial-memory-index{width:min(360px,100%);margin-top:-10px;color:#987fba;font-size:10px;font-weight:900;text-align:center}
.tutorial-memory-flow{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:clamp(10px,2vw,22px);width:min(300px,100%);padding:8px 12px;border:1px dashed #d3c3e8;border-radius:20px;background:#fffaf0a8}
.tutorial-memory-flow .tutorial-arrow{width:42px}
.tutorial-memory-badge{display:grid;place-items:center;width:47px;height:47px;border:1px solid #ddd0ee;border-radius:15px;background:#f1ebff;color:#7655bb;box-shadow:0 3px 0 #e0d5ed}
.tutorial-memory-badge svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tutorial-memory-badge>b{position:absolute;margin:25px 0 0 25px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#d7f45a;color:#49316e;font-size:11px}
.tutorial-memory-closed{background:#e8f4bc;color:#638044}
.tutorial-values-art{flex-direction:column;gap:13px}
.tutorial-values-art>.tutorial-art-ribbon{display:none}
.tutorial-value-row{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:10px;width:min(330px,100%);padding:9px 14px;border:1px solid #e5dced;border-radius:20px;background:#fffefa;box-shadow:0 3px 0 #e5dced}
.tutorial-value-row>.tutorial-card{width:clamp(45px,6vw,65px)}
.tutorial-value-row>strong{display:grid;place-items:center;width:43px;height:43px;border-radius:15px;background:#fff0d6;color:#80593e;font-size:25px}
.tutorial-value-black>strong{background:#e9e4f3;color:#4c3b64}
.tutorial-deck-count{display:grid;place-items:center;min-width:38px;height:30px;padding:0 7px;border-radius:999px;background:#f1ebff;color:#694ca0;font-size:13px;font-weight:1000}
.tutorial-value-number{position:relative;z-index:1;display:flex;align-items:center;gap:10px;padding:8px 16px;border:1px dashed #d4c4e7;border-radius:15px;background:#f9f4ff;color:#69528e;font-size:17px;font-weight:1000}
.tutorial-value-number>b{color:#d39c48;font-size:20px}
.tutorial-deck-total{position:relative;z-index:1;display:flex;align-items:center;gap:7px;padding:7px 14px;border:1px solid #d7e8a4;border-radius:14px;background:#f4fadf;color:#5a743a;box-shadow:0 3px 0 #e2edc2}
.tutorial-deck-total>span{font-size:21px;font-weight:1000}
.tutorial-deck-total>b{font-size:11px;letter-spacing:.5px;text-transform:uppercase}
.tutorial-turn-piles{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:clamp(8px,2vw,20px);width:100%}
.tutorial-turn-piles .tutorial-step{min-width:67px}
.tutorial-turn-art>.tutorial-arrow-down{transform:rotate(90deg)}
.tutorial-or{color:#a18db9;font-size:11px;font-weight:1000}
.tutorial-turn-art .tutorial-action-list span{display:grid;place-items:center;width:45px;height:43px;padding:3px;border:1px solid #d5c6e8;border-radius:14px;background:#fffdf8;color:#644da1;font-size:24px;box-shadow:0 3px 0 #e4d9ee}
.tutorial-power-art{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:center;gap:clamp(6px,1.5vw,16px);padding:45px clamp(12px,3vw,28px) 22px}
.tutorial-power-example{gap:10px}
.tutorial-power-copy{position:relative;display:grid!important;grid-template-columns:1fr auto;align-content:center;align-items:center;justify-items:center;gap:1px;min-width:64px!important;min-height:67px!important;padding:7px 8px!important;border-radius:16px!important;background:#fffefa!important;color:#5d478a!important;box-shadow:0 3px 0 #e4d9ee!important}
.tutorial-power-copy>b{font-size:12px}
.tutorial-power-copy>small{grid-column:1;color:#8b7aa1!important}
.tutorial-power-copy>i{grid-column:2;grid-row:1/3;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e8f5b5;color:#688148}
.tutorial-power-copy svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tutorial-look-power .tutorial-power-copy{border-color:#bfe181!important}
.tutorial-spy-power .tutorial-power-copy{border-color:#efb0c5!important}
.tutorial-swap-power .tutorial-power-copy{border-color:#c5b2eb!important}
.tutorial-exchange-art{display:grid;grid-template-columns:1fr auto 1fr;align-content:center;gap:12px;padding:48px clamp(14px,3vw,28px) 20px}
.tutorial-exchange-good,.tutorial-exchange-replacement{position:relative;z-index:1;display:grid;justify-items:center;align-content:center;gap:8px;min-width:0;min-height:120px;padding:10px;border:1px solid #dfebbb;border-radius:20px;background:#fbffed}
.tutorial-exchange-pair{display:flex;align-items:center;gap:4px}
.tutorial-exchange-pair .tutorial-card,.tutorial-exchange-replacement .tutorial-card{width:clamp(40px,5.4vw,62px)}
.tutorial-exchange-pair>b{color:#689245;font-size:17px}
.tutorial-exchange-good>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#d7f45a;color:#4d7035;font-weight:1000}
.tutorial-exchange-art>.tutorial-arrow{width:38px}
.tutorial-exchange-replacement{border-color:#e4d9ee;background:#fffefa}
.tutorial-warning-pair{grid-column:1/-1;position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:10px}
.tutorial-warning-pair>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;font-size:18px;font-weight:1000;box-shadow:0 3px 0 #0002}
.tutorial-warning-yellow{background:#ffe27d;color:#75541c}
.tutorial-warning-red{background:#f29aaa;color:#7a2c48}
.tutorial-cabo-art{flex-direction:column;gap:10px}
.tutorial-cabo-art .tutorial-callout{width:96px;height:96px}
.tutorial-cabo-art .tutorial-callout svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
.tutorial-final-turns{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:clamp(5px,1vw,12px);width:100%}
.tutorial-final-turn{position:relative;display:grid;justify-items:center;gap:2px}
.tutorial-final-turn .tutorial-card{width:clamp(36px,5vw,54px)}
.tutorial-final-turn>span:last-child{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eee7ff;color:#6345a3}
.tutorial-final-turns>.tutorial-arrow{width:clamp(20px,4vw,40px)}
.tutorial-cabo-art>p{position:relative;z-index:1;margin:0;padding:7px 12px;border-radius:999px;background:#fffefa;color:#6f5c8d;font-size:11px;font-weight:800}
.tutorial-allin-art{flex-direction:column;gap:16px}
.tutorial-allin-hand{position:relative;z-index:1;display:flex;justify-content:center;gap:clamp(5px,1vw,12px)}
.tutorial-allin-hand .tutorial-card{width:clamp(43px,6vw,70px)}
.tutorial-allin-hand .tutorial-card:nth-child(odd){transform:rotate(-5deg) translateY(4px)}
.tutorial-allin-hand .tutorial-card:nth-child(even){transform:rotate(5deg) translateY(-4px)}
.tutorial-allin-equation{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;padding:9px 12px;border:1px solid #e6d9ba;border-radius:18px;background:#fff9e6;color:#80613b;font-size:15px}
.tutorial-allin-equation>strong{width:100%;color:#855baf;font-size:14px;text-align:center;letter-spacing:1px}
.tutorial-allin-burst{position:absolute;right:9%;top:20%;display:grid;place-items:center;width:51px;height:51px;border-radius:50%;background:#d7f45a;color:#6242c4;box-shadow:0 4px 0 #bfd94e;transform:rotate(12deg)}
.tutorial-allin-burst svg{width:27px;height:27px}
.tutorial-copy{display:grid;align-content:center;gap:12px;min-width:0;width:100%}
.tutorial-page-kicker{margin-bottom:5px;color:#a185c2;font-size:12px;font-weight:900;letter-spacing:2px}
.tutorial-page-kicker span{color:#c4b1d8}
.tutorial-page-title{margin:0 0 16px;color:#49316e;font-size:clamp(28px,5vw,46px);letter-spacing:-1.6px;line-height:1.02;overflow-wrap:anywhere}
.tutorial-copy-card{display:grid;align-content:center;gap:7px;min-width:0;width:100%;margin:0;padding:15px clamp(14px,2vw,19px);border:1px solid #e7deee;border-left:4px solid #d7f45a;border-radius:18px;background:linear-gradient(135deg,#fffefa,#fffdf8 76%,#f8f5ff);box-shadow:0 4px 0 #e7dfef,0 10px 24px #5137770c}
.tutorial-copy-card:nth-child(even){border-left-color:#e8a1b9}
.tutorial-copy-card h4{display:flex;align-items:center;gap:9px;margin:0;color:#6345a3;font-size:14px;line-height:1.3}
.tutorial-copy-card h4::before{width:9px;height:9px;flex:none;border-radius:3px;background:#d7f45a;content:"";transform:rotate(45deg)}
.tutorial-copy-card:nth-child(even) h4::before{background:#e8a1b9}
.tutorial-copy-card p{margin:0;color:#6d6277;font-size:12px;line-height:1.55}
.tutorial-copy-list{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.tutorial-copy-list li{position:relative;padding-left:16px;color:#6d6277;font-size:12px;line-height:1.5}
.tutorial-copy-list li::before{position:absolute;top:.56em;left:1px;width:7px;height:7px;border-radius:50%;background:#d7f45a;box-shadow:0 0 0 2px #e9f4c8;content:""}
.tutorial-step-card{background:linear-gradient(135deg,#fffefa,#fffdf8 70%,#f8f5ff)}
.tutorial-step-card:nth-of-type(even) .tutorial-copy-list li::before{background:#e8a1b9;box-shadow:0 0 0 2px #fae7ee}
.tutorial-illustration,.tutorial-copy{animation:tutorial-enter var(--animation-duration-028,.28s) ease-out both}
@keyframes tutorial-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes tutorial-bob{0%,100%{translate:0 0}50%{translate:0 -4px}}
.tutorial-footer{padding:10px clamp(16px,5vw,56px) calc(12px + env(safe-area-inset-bottom));border-top:1px solid #dcd0ec;background:#fffdf6e8}
.tutorial-dots{display:flex;justify-content:center;align-items:center;gap:10px;margin:0 auto 10px}
.tutorial-dot{position:relative;display:grid;place-items:center;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;border:0;border-radius:50%;background:transparent}
.tutorial-dot::before{width:9px;height:9px;border-radius:99px;background:#cdbfe0;content:"";transition:width .18s,background .18s,transform .18s}
.tutorial-dot:hover::before{transform:scale(1.15)}
.tutorial-dot.is-active::before{width:24px;background:#6544ed;box-shadow:0 2px 0 #4731ae}
.tutorial-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;width:min(980px,100%);margin:0 auto}
.tutorial-navigation button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:46px;padding:9px 16px;border:1px solid #d9cee9;border-radius:15px;background:#fff;color:#604c80;font-size:13px;font-weight:900;line-height:1.2}
.tutorial-navigation button:disabled{opacity:.42}
.tutorial-navigation .tutorial-next{justify-self:end;width:100%;max-width:180px;border-color:#d2ed73;background:#d7f45a;color:#413264;box-shadow:0 3px 0 #bed64e}
.tutorial-navigation .tutorial-prev{justify-self:start;width:100%;max-width:180px}
.tutorial-page-count{color:#9382a8;font-size:11px;font-weight:800;white-space:nowrap}
@media(max-width:680px){
  #dialog:has(.cabo-tutorial){padding:0}
  .tutorial-header{padding-right:16px;padding-left:18px}
  .tutorial-header-mark{display:none}
  .tutorial-page-content{padding:14px 16px 18px}
  .tutorial-page{grid-template-columns:minmax(0,1fr);align-content:center;gap:15px}
  .tutorial-art{min-height:190px;padding:15px;border-radius:25px}
  .tutorial-card{width:clamp(43px,13vw,60px)}
  .tutorial-arrow{width:36px}
  .tutorial-deal-art{min-height:210px}
  .tutorial-small-card{width:31px}
  .tutorial-target-stack .tutorial-card{width:32px}
  .tutorial-copy{gap:9px}
  .tutorial-copy-card{gap:6px;padding:12px 13px}
  .tutorial-copy-card p{font-size:12px;line-height:1.45}
  .tutorial-copy-list{gap:5px}
  .tutorial-copy-list li{font-size:12px;line-height:1.42}
  .tutorial-page-title{margin-bottom:11px;font-size:clamp(27px,8vw,36px)}
  .tutorial-footer{padding-right:14px;padding-left:14px}
  .tutorial-dots{gap:clamp(1px,1vw,4px);margin-bottom:8px}
  .tutorial-dot{width:25px;height:25px;min-width:25px;min-height:25px}
  .tutorial-dot::before{width:8px;height:8px}
  .tutorial-dot.is-active::before{width:21px}
  .tutorial-memory-art{min-height:205px}
  .tutorial-memory-hand{gap:4px}
  .tutorial-memory-index{margin-top:-7px}
  .tutorial-memory-flow{padding:5px 9px}
  .tutorial-memory-badge{width:38px;height:38px}
  .tutorial-memory-badge svg{width:22px;height:22px}
  .tutorial-values-art{min-height:220px}
  .tutorial-values-art{gap:9px;padding-top:20px;padding-bottom:20px}
  .tutorial-value-row{gap:6px;padding:7px}
  .tutorial-value-row>.tutorial-card{width:clamp(39px,12vw,50px)}
  .tutorial-value-row>strong{width:34px;height:34px;font-size:21px}
  .tutorial-deck-count{min-width:31px;height:25px;padding:0 5px;font-size:11px}
  .tutorial-value-number{padding:6px 12px}
  .tutorial-deck-total{padding:5px 11px}
  .tutorial-turn-art{min-height:225px}
  .tutorial-turn-piles{gap:7px}
  .tutorial-turn-piles .tutorial-step{min-width:55px}
  .tutorial-turn-piles .tutorial-step .tutorial-card{width:clamp(38px,12vw,50px)}
  .tutorial-power-art{min-height:205px;gap:5px;padding:43px 10px 16px}
  .tutorial-power-example{gap:7px}
  .tutorial-power-copy{min-width:0!important;min-height:57px!important;padding:5px 4px!important}
  .tutorial-power-copy>b{font-size:10px}
  .tutorial-power-copy>i{width:19px;height:19px}
  .tutorial-power-copy svg{width:14px;height:14px}
  .tutorial-exchange-art{min-height:205px;gap:6px;padding:42px 9px 14px}
  .tutorial-exchange-good,.tutorial-exchange-replacement{min-height:100px;padding:7px}
  .tutorial-exchange-pair .tutorial-card,.tutorial-exchange-replacement .tutorial-card{width:clamp(35px,10vw,44px)}
  .tutorial-cabo-art{min-height:220px}
  .tutorial-allin-art{min-height:210px}
  .tutorial-allin-hand .tutorial-card{width:clamp(38px,11vw,50px)}
  .tutorial-allin-equation{gap:4px;padding:7px 9px;font-size:13px}
  .tutorial-navigation{gap:7px}
  .tutorial-navigation button{gap:5px;min-height:44px;padding:8px 9px;font-size:11px}
  .tutorial-navigation .tutorial-prev,.tutorial-navigation .tutorial-next{max-width:132px}
  .tutorial-page-count{font-size:10px}
}
@media(max-width:380px){
  .tutorial-header{gap:8px;padding-left:14px}
  .tutorial-header h2{font-size:18px}
  .tutorial-header #close-dialog{width:36px;height:36px}
  .tutorial-art{min-height:170px}
  .tutorial-deal-art{min-height:190px}
  .tutorial-art-ribbon{top:10px;left:11px;padding:5px 8px;font-size:9px}
  .tutorial-copy-card p{font-size:11px}
}
@media(max-height:620px) and (orientation:landscape){
  .tutorial-page{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:22px}
  .tutorial-art{min-height:200px}
  .tutorial-page-content{padding-top:12px;padding-bottom:12px}
  .tutorial-page-title{font-size:28px;margin-bottom:8px}
  .tutorial-copy-card{padding:8px 11px;margin-bottom:6px}
  .tutorial-copy-card p{font-size:10px;line-height:1.35}
  .tutorial-footer{padding-top:6px;padding-bottom:calc(7px + env(safe-area-inset-bottom))}
  .tutorial-dots{margin-bottom:5px}
}
@media(prefers-reduced-motion:reduce){
  .tutorial-dot{transition:none}
  .tutorial-illustration,.tutorial-copy{animation:none}
  .tutorial-score-stamp{animation:none}
}
