/* Four clear choices. The two primary games always keep equal-size columns. */
.elite-start{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:14px}
.elite-start p{margin:0;font-size:12px;line-height:1.4}
.elite-start .action{min-height:44px}
#modal-note:empty{display:none}
.home-primary,.home-challenges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;margin:14px 0 0;min-width:0}
.home-primary>*,.home-challenges>*{min-width:0}
.game-mode-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;width:100%;padding:0;overflow:hidden;border:1px solid #c5b89c;border-radius:16px;background:var(--cream,#fffaf0);box-shadow:0 3px 0 #dfd4bc;text-align:left;color:var(--ink,#3e3329)}
.game-mode-card:not(:disabled):hover{border-color:var(--mint,#397b65);box-shadow:0 3px 0 #bed1bd}
.game-mode-card:focus-visible{outline:3px solid var(--gold,#cc9c37);outline-offset:3px}
.mode-art{display:block;position:relative;width:100%;aspect-ratio:3/2;overflow:hidden;background:#e8e7d5;border-bottom:1px solid #d5c7a9}
.mode-art img{display:block;width:100%;height:100%;aspect-ratio:3/2;object-fit:contain}
img.mode-art{height:auto;object-fit:contain}
.home-level-link{display:flex;justify-content:flex-end;margin-top:6px}
.home-level-link .text-button{font-size:11px;min-height:36px;padding:6px 0 6px 12px}
.home-incoming>small{grid-column:1;grid-row:2}
.home-incoming>span{grid-column:2;grid-row:1/3}
.collection-storage{min-width:0}
.slot-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}
.slot-choice{min-width:0;padding:12px;border:1px solid #c8bea6;border-radius:12px;background:#f5f0e3}
.slot-choice>strong,.slot-choice>small{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.4}
.slot-choice-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.slot-choice-actions .small{min-height:44px;white-space:normal;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:600px){.slot-options{grid-template-columns:minmax(0,1fr)}.slot-choice-actions>*{flex:1 1 120px}.home-goal-strip>div{display:flex;flex-wrap:wrap;align-items:center;gap:5px}}
.mode-card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:6px;padding:13px 14px 14px;min-width:0}
.mode-card-copy strong{display:block;max-width:100%;font-size:clamp(17px,2.6vw,22px);line-height:1.12;font-weight:900;letter-spacing:-.45px;overflow-wrap:anywhere}
.mode-card-copy small{display:block;font-size:12px;line-height:1.4;color:var(--muted,#82765f);overflow-wrap:anywhere}
.mode-card-copy>span:not(.mode-action){font-size:11px;line-height:1.35;color:var(--mint,#397b65);font-weight:750;overflow-wrap:anywhere}
.mode-card-copy .mode-action{display:flex;align-items:center;justify-content:space-between;align-self:stretch;gap:7px;margin-top:auto;padding-top:9px;font-size:12px;line-height:1.2;font-weight:850;color:var(--mint,#397b65);overflow-wrap:anywhere}
.home-challenge-heading{margin:23px 0 0;font-size:12px;font-weight:850;letter-spacing:1px;text-transform:uppercase;color:#79603b}
.home-challenges{margin-top:9px}
.home-challenges .game-mode-card{background:#f7f0df;border-color:#cbb987}
.home-challenges .mode-card-copy strong{font-size:clamp(16px,2.4vw,20px)}
.home-welcome{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:13px;padding:11px 3px 6px;margin:0;min-width:0}
.home-welcome .home-hero-art{display:flex;grid-row:auto;position:relative;align-items:center;justify-content:center;min-width:0}
.home-welcome .home-hero-art>img{display:block;width:80px;max-width:88px;height:96px;object-fit:contain}
.home-welcome .home-hero-art canvas{width:39px;height:25px;right:-2px;bottom:0;border-radius:7px}
.home-welcome .home-hero-copy{min-width:0}
.home-welcome .home-hero-copy h1{font-size:clamp(24px,4.3vw,32px);line-height:1.04;letter-spacing:-1px;margin:4px 0;overflow-wrap:anywhere}
.home-welcome .home-hero-copy p{font-size:12px;line-height:1.4;margin:5px 0;color:var(--muted,#82765f);overflow-wrap:anywhere}
.home-welcome .home-hero-copy .eyebrow{font-size:8px}
.home-welcome .home-nudge{grid-column:1/-1;margin-top:2px}
.home-goal-strip{display:flex;align-items:stretch;flex-wrap:wrap;gap:7px;margin-top:11px;padding:9px;border:1px solid #d3c4a4;border-radius:11px;background:#eee6d4;min-width:0}
.home-goal-strip>*{min-width:0}
.home-goal-strip .home-target{flex:1 1 180px;border:0;border-radius:6px;background:#fffaf080;padding:7px 9px;overflow-wrap:anywhere}
.home-goal-strip .home-target span{font-size:11px;line-height:1.3}
.home-goal-strip .home-target small{font-size:10px;line-height:1.35;margin-top:3px}
.home-goal-strip .text-button{flex:0 1 auto;padding:8px 5px;font-size:11px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.home-goal-strip .progress{margin-top:6px;height:4px}
.home-incoming{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 12px;margin:10px 0;padding:12px;border:1px solid #c5a35c;border-radius:12px;background:#f4e6b9;min-width:0}
.home-incoming>*{min-width:0}
.home-incoming strong{display:block;font-size:14px;line-height:1.25;overflow-wrap:anywhere}
.home-incoming p,.home-incoming small{font-size:11px;line-height:1.4;margin:4px 0;overflow-wrap:anywhere}
.home-incoming .action{min-height:44px;max-width:100%;white-space:normal}
/* Native details provides keyboard support and a useful no-script fallback. */
.context-guide{display:block;grid-column:1/-1;margin:12px 0;padding:0;border:1px solid #c8c2a8;border-radius:10px;background:#f1f1df;color:var(--ink,#3e3329);min-width:0}
.context-guide summary{padding:11px 13px;cursor:pointer;min-height:44px;font-size:12px;line-height:1.45;font-weight:800;overflow-wrap:anywhere}
.context-guide summary:focus-visible{outline:3px solid var(--gold,#cc9c37);outline-offset:2px;border-radius:8px}
.context-guide ol{margin:0 13px 9px;padding-left:23px;font-size:12px;line-height:1.5}
.context-guide li{padding:3px 0 6px 2px;overflow-wrap:anywhere}
.context-guide>.small{min-height:42px;margin:0 12px 12px;padding:9px 16px}
.guide-never{display:flex;align-items:center;gap:10px;min-height:44px;max-width:100%;padding:8px 0;cursor:pointer;font-size:13px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.guide-never input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:0;accent-color:var(--mint,#397b65)}
.context-guide>.guide-never{margin:0 13px 7px}
.guide-never:has(input:focus-visible){outline:3px solid var(--gold,#cc9c37);outline-offset:2px;border-radius:4px}
.modal-inner:has(.mode-guide-panel){max-width:500px}
.modal-inner:has(.mode-guide-panel) .modal-head{gap:10px;align-items:center}
.modal-inner:has(.mode-guide-panel) .modal-head h2{min-width:0;font-size:clamp(20px,4.5vw,24px);line-height:1.15;letter-spacing:-.5px;overflow-wrap:anywhere}
.modal-inner:has(.mode-guide-panel) .modal-head>div{display:flex;gap:7px;flex-shrink:0}
.modal-inner:has(.mode-guide-panel) #modal-desc:empty{display:none}
#modal-content:has(.mode-guide-panel){display:block;min-width:0}
.mode-guide-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-width:100%;min-width:0;margin:0 auto;padding:0 0 8px}
.mode-guide-panel>img,.mode-guide-panel .mode-art{display:none}
.mode-guide-panel h3{font-size:22px;line-height:1.15;letter-spacing:-.5px;margin:0;overflow-wrap:anywhere}
.mode-guide-panel p{font-size:13px;line-height:1.5;margin:0;color:var(--muted,#82765f);overflow-wrap:anywhere}
.mode-guide-panel :is(ol,ul){display:grid;gap:8px;margin:0;padding-left:24px;font-size:14px;line-height:1.5}
.mode-guide-panel li{padding-left:3px;overflow-wrap:anywhere}
.mode-guide-panel [data-mode-guide-start]{width:100%;min-height:49px;font-size:14px;margin-top:3px}
.sharechoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0;min-width:0}
.sharechoices>*{min-width:0;min-height:48px;padding:9px 7px;border:1px solid #c4b58f;border-radius:9px;background:#fff9e8;text-align:center;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.sharechoices .selected,.sharechoices [aria-pressed=true]{border-color:var(--mint,#397b65);background:#dcebd9;color:#295b43;box-shadow:inset 0 0 0 1px #4e8665}
.dashboard header #language{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;min-width:44px}
@media(max-width:600px){.home-primary,.home-challenges{gap:9px}.mode-card-copy{padding:11px;gap:5px}.mode-card-copy strong{font-size:18px}.mode-card-copy small{font-size:11px}.mode-card-copy .mode-action{font-size:11px;padding-top:8px}.home-challenges .mode-card-copy strong{font-size:17px}.home-welcome{grid-template-columns:72px minmax(0,1fr);gap:10px;padding-top:6px}.home-welcome .home-hero-art>img{width:72px;height:86px}.home-welcome .home-hero-copy h1{font-size:27px}.home-welcome .home-hero-copy p{font-size:11px}.home-challenge-heading{margin-top:20px}.home-goal-strip{padding:7px;gap:5px}.home-incoming{padding:10px}.mode-guide-panel ol{font-size:13px}}
@media(max-width:360px){.home-primary,.home-challenges{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.game-mode-card{border-radius:12px}.mode-card-copy{padding:9px 8px}.mode-card-copy strong{font-size:16px}.mode-card-copy small,.mode-card-copy>span:not(.mode-action),.mode-card-copy .mode-action{font-size:10px}.home-challenges .mode-card-copy strong{font-size:15px}.home-welcome{grid-template-columns:61px minmax(0,1fr);gap:9px}.home-welcome .home-hero-art>img{width:61px;height:74px}.home-welcome .home-hero-copy h1{font-size:24px}.home-welcome .home-hero-copy p{font-size:10px}.home-goal-strip .home-target{flex-basis:100%}.home-goal-strip .text-button{flex:1}.home-incoming{grid-template-columns:minmax(0,1fr)}.home-incoming .action{width:100%}.sharechoices{gap:5px}.sharechoices>*{padding:8px 4px;font-size:10px}.mode-guide-panel h3{font-size:22px}.mode-guide-panel ol{gap:8px}}
