:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#111827;background:#f7f8fa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--adaptiveFloatBackground: #ffffff;--adaptiveGrey600: #6b7684;--adaptiveGrey700: #4e5968;--adaptiveGrey800: #333d4b;--adaptiveGrey900: #191f28;--adaptiveGreyOpacity100: rgba(2, 32, 71, .05)}*{box-sizing:border-box}body{margin:0;min-width:0;min-height:100dvh;background:#f7f8fa}button,textarea{font:inherit}button:disabled{cursor:not-allowed}button:focus-visible,[role=button]:focus-visible{outline:2px solid #fecaca;outline-offset:3px}.app-shell{min-height:100dvh;background:#f7f8fa;padding:calc(22px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left))}.app-shell-with-bottom-nav{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.app-panel{width:min(100%,430px);margin:0 auto;display:flex;flex-direction:column;align-items:stretch;gap:22px;padding:8px 0 28px}.brand-row{display:flex;align-items:center;gap:14px}.home-brand-row{align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}.home-brand-row h1{min-width:0;white-space:nowrap}.home-wallet-toolbar{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;flex:0 1 auto;flex-wrap:wrap;margin-left:auto}.home-wallet-status-card .wallet-token-icon{width:30px;height:30px}.eyebrow,.meta-text{margin:0;color:#6b7280;font-size:13px;letter-spacing:0}h1,h2{margin:0;letter-spacing:0}h1{margin-top:3px;font-size:32px;line-height:1.1}h2{font-size:23px;line-height:1.25}.state-stack{width:100%;display:grid;gap:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.onboarding-panel{gap:24px}.onboarding-brand{margin:0;color:var(--adaptiveGrey800);font-size:16px;font-weight:700}.onboarding-intro,.onboarding-start,.home-start{display:grid;gap:12px}.onboarding-intro h1{font-size:26px;line-height:1.35;color:var(--adaptiveGrey900)}.home-panel{gap:24px}.home-brand-row h1{font-size:22px;line-height:1.4}.home-start h2,.word-cloud-section h2{font-size:20px;line-height:1.45;color:var(--adaptiveGrey900)}.story-example{display:grid;gap:16px;padding:16px;border:1px solid var(--adaptiveGreyOpacity100);border-radius:8px;background:var(--adaptiveFloatBackground)}.story-example>div{display:grid;gap:10px}.story-example>div+div{border-top:1px solid var(--adaptiveGreyOpacity100);padding-top:16px}.story-example :is(h2,h3),.story-example p{margin:0;font-size:14px;line-height:1.6;color:var(--adaptiveGrey800);overflow-wrap:anywhere}.story-example :is(h2,h3){color:var(--adaptiveGrey900);font-size:15px}.story-example .meta-text{font-size:13px;color:var(--adaptiveGrey700)}.story-example .number-pill{width:32px;height:32px;flex:0 0 32px;font-size:14px}.home-example-details summary{min-height:44px;padding:10px 0;color:var(--adaptiveGrey800);font-size:14px;font-weight:700;line-height:1.6;cursor:pointer}.home-example-details summary:focus-visible{outline:2px solid var(--adaptiveGrey800);outline-offset:2px}.home-example-details summary:active{background:var(--adaptiveGreyOpacity100)}.word-cloud-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.word-cloud-heading .wallet-retry-button{min-width:104px}.word-cloud-context{display:grid;gap:4px}.word-cloud-context p{margin:0;font-size:13px;line-height:1.5;color:var(--adaptiveGrey700)}.word-cloud-method .support-text+.support-text{margin-top:8px}.primary-button,.secondary-button{min-height:50px;border-radius:8px;border:1px solid transparent;font-size:15px;font-weight:800;letter-spacing:0}.primary-button{background:#ef4444;color:#fff}.primary-button:disabled{background:#fca5a5}.secondary-button{background:#fff;color:#374151;border-color:#d1d5db}.secondary-button:disabled{color:#9ca3af;background:#f3f4f6}.text-button{width:fit-content;padding:0;border:0;background:transparent;color:#374151;font-size:14px;font-weight:800;letter-spacing:0}.home-actions{display:grid;grid-template-columns:1fr;gap:10px}.attendance-reward-panel{display:grid;gap:8px}.attendance-reward-help{margin:0;color:#6b7280;font-size:13px;font-weight:700;line-height:1.45;text-align:center}.results-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.results-refresh-control{display:inline-flex;align-items:center;gap:8px;min-height:36px}.refresh-cooldown-text{color:#6b7280;font-size:12px;font-weight:800;line-height:1;white-space:nowrap}.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;padding:0}.icon-button:disabled{color:#9ca3af;background:#f3f4f6}.icon-button svg{width:18px;height:18px;fill:currentColor}.error-text{margin:0;padding:12px 14px;border-radius:8px;background:#fef2f2;color:#991b1b;font-size:14px;line-height:1.5}.helper-text{margin:0;padding:12px 14px;border-radius:8px;background:#f8fafc;color:#475569;font-size:14px;line-height:1.5}.lead{margin:0;color:#1f2937;font-size:22px;font-weight:800;line-height:1.35;letter-spacing:0}.support-text{margin:0;color:#4b5563;font-size:15px;line-height:1.6;letter-spacing:0}.word-cloud-section{display:grid;gap:18px;padding-top:20px;border-top:1px solid #e5e7eb}.section-heading{display:grid;gap:7px}.section-heading.compact{gap:4px}.results-heading h1{font-size:26px;line-height:1.18}.word-cloud-stage{position:relative;width:100%;height:330px;min-height:280px;overflow:hidden;touch-action:pan-y;contain:layout paint;border-radius:8px;background:radial-gradient(circle at 50% 50%,#e5e7ebeb 0,#f9fafb00 52%),#fff;border:1px solid #e5e7eb}.word-cloud-token{position:absolute;left:var(--x);top:var(--y);transform:translate3d(-50%,-50%,0) rotate(var(--rotation)) scale(1);transform-origin:center;max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--token-color);font-size:var(--font-size);font-weight:var(--font-weight);line-height:1;letter-spacing:0;opacity:var(--opacity);pointer-events:none;-webkit-user-select:none;user-select:none;will-change:transform,opacity,filter}@media(prefers-reduced-motion:reduce){.word-cloud-token{will-change:auto}}.word-cloud-state{min-height:120px;padding:16px;margin:0;display:grid;place-items:center;border-radius:8px;border:1px solid #e5e7eb;background:#fff;color:#4b5563;font-size:15px;line-height:1.5;text-align:center;letter-spacing:0}.user-id-badge{margin:0;width:fit-content;max-width:100%;overflow-wrap:anywhere;border-radius:8px;border:1px solid #e5e7eb;background:#f9fafb;padding:6px 8px;color:#4b5563;font-size:12px;font-weight:700;letter-spacing:0}.meta-text{overflow-wrap:anywhere}.story-shell{min-height:100dvh;padding-bottom:calc(92px + env(safe-area-inset-bottom))}.story-shell.app-shell-with-bottom-nav{padding-bottom:calc(164px + env(safe-area-inset-bottom))}.story-panel{min-height:calc(100dvh - 48px);gap:16px}.story-panel h1{font-size:28px;line-height:1.25}.story-top-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.story-ticket-toolbar{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.story-wallet-summary-toolbar{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;margin-left:auto;flex-wrap:wrap}.ticket-status-card{display:inline-flex;align-items:center;gap:4px;min-width:0;padding:4px 7px;color:#111827;font-size:14px;font-weight:900;line-height:1;white-space:nowrap}.shop-link-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:34px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;padding:0 8px;font-size:13px;font-weight:900;letter-spacing:0;line-height:1;white-space:nowrap}.shop-link-button svg{width:16px;height:16px;fill:currentColor;flex:0 0 auto}.story-input-section{display:grid;gap:8px}.draft-save-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap}.story-wallet-feedback .support-text{margin:0}.story-panel .shop-link-button{min-height:44px}.recommendation-access{display:grid;gap:10px;color:var(--adaptiveGrey900)}.recommendation-access-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.recommendation-access-heading h2{font-size:16px;line-height:1.5}.recommendation-access-heading .wallet-retry-button{margin:0;min-width:104px}.recommendation-access-list{margin:0;border-block:1px solid var(--adaptiveGreyOpacity100)}.recommendation-access-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-block:12px}.recommendation-access-row+.recommendation-access-row{border-top:1px solid var(--adaptiveGreyOpacity100)}.recommendation-access-row dt,.recommendation-access-row dd{display:grid;gap:4px;min-width:0;margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.recommendation-access-row dt strong{font-size:16px}.recommendation-access-row dd{text-align:right}.recommendation-access-row span,.recommendation-access .support-text{color:var(--adaptiveGrey700)}.recommendation-access .support-text,.recommendation-access-next .wallet-retry-button{margin:0}.recommendation-choice:disabled{background:var(--adaptiveGreyOpacity100)}.recommendation-choice:disabled .choice-title-text,.recommendation-choice:disabled .choice-cost{color:var(--adaptiveGrey700)}.recommendation-choice .choice-availability{font-weight:700}.wallet-retry-button{min-height:44px;margin-top:4px}.results-refresh-button{min-height:44px;min-width:64px}.request-list-pagination{display:grid;gap:8px;padding:16px 0}.request-list-more-button{min-height:44px;width:100%}.wallet-retry-button[aria-disabled=true],.request-list-more-button[aria-disabled=true],.results-refresh-button[aria-disabled=true]{opacity:.5;cursor:not-allowed}.story-wallet-toolbar{display:flex;flex:1 1 240px;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}.wallet-balance-row{display:flex;align-items:stretch;gap:8px;min-width:0;flex-wrap:wrap}.wallet-resource-card{display:grid;gap:6px;min-width:124px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:8px}.wallet-resource-card.ticket-status-card{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:auto;min-width:0;height:34px;padding:0 14px 0 4px;box-sizing:border-box}.wallet-resource-card.home-wallet-status-card{display:inline-flex;align-items:center;justify-content:center;gap:2px;width:auto;min-width:0;height:34px;padding:0 14px 0 4px;box-sizing:border-box;color:#111827;font-size:13px;font-weight:900;line-height:1;white-space:nowrap}.coin-resource-card{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%}.wallet-resource-action{width:auto;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;padding:6px 8px;font-size:12px;font-weight:800;letter-spacing:0;line-height:1.25;white-space:nowrap;margin-right:4px}.story-ad-reward-button{min-height:34px;display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:900;line-height:1}.story-ad-reward-button .wallet-token-icon{width:24px;height:24px}.ad-reward-control{flex:1;min-width:0;max-width:260px}.ad-reward-control .story-ad-reward-button{min-height:44px;max-width:100%;white-space:normal}.ad-reward-control button:disabled{cursor:default;opacity:.6}.ad-reward-message{margin:6px 0 0;color:#4b5563;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.ad-reward-test-controls{display:grid;gap:4px;margin-top:8px;color:#4b5563;font-size:12px}.ad-reward-test-controls select{min-height:36px;width:100%;min-width:0;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#111827;padding:4px;font:inherit}.wallet-balance-item{display:flex;align-items:center;gap:6px;min-height:40px;color:#374151;font-size:13px;font-weight:800;line-height:1;white-space:nowrap}.wallet-balance-copy{display:grid;gap:2px}.wallet-balance-copy span{color:#6b7280;font-size:11px;font-weight:700;line-height:1.1}.wallet-balance-copy strong{color:#111827;font-size:14px;font-weight:900;line-height:1.1;margin-right:4px}.wallet-token-icon{width:34px;height:34px;object-fit:contain;flex:0 0 auto}.story-ticket-toolbar .wallet-token-icon{width:30px;height:30px}.test-currency-actions,.draft-actions{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto}.story-test-row{display:flex;align-items:center;justify-content:flex-start}.draft-actions{align-self:flex-start;align-items:flex-start;margin-left:auto}.test-currency-button{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-height:32px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;padding:6px 8px;font-size:13px;font-weight:800;letter-spacing:0;line-height:1;white-space:nowrap}.test-currency-button img{width:40px;height:40px;object-fit:contain;flex:0 0 auto}.draft-save-inline-button,.draft-count-button{width:fit-content;height:34px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;padding:0 10px;font-size:14px;font-weight:900;letter-spacing:0;line-height:1;box-sizing:border-box}.draft-count-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:34px;padding:0}.draft-count-button svg{width:15px;height:15px;fill:currentColor}.story-input-wrap{display:block}.story-textarea{width:100%;min-height:380px;resize:none;border:1px solid #d1d5db;border-radius:8px;padding:16px;background:#fff;color:#111827;font-size:16px;line-height:1.6;letter-spacing:0}.story-textarea:focus{outline:2px solid #fecaca;border-color:#ef4444}.story-meta-row{display:flex;justify-content:space-between;gap:12px;color:#6b7280;font-size:13px}.meta-warning{color:#b91c1c;font-weight:800}.meta-ok{color:#166534;font-weight:800}.result-card h2,.bottom-sheet h2{font-size:19px}.result-detail-panel{gap:18px}.result-back-button{position:relative;padding-left:16px;color:#4b5563}.result-back-button:before{content:"";position:absolute;left:2px;top:50%;width:7px;height:7px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-50%) rotate(45deg)}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.result-detail-status:empty{display:none}.result-detail-panel{gap:16px}.result-overview-compact,.result-copy-action,.result-summary,.result-explanation-content,.result-explanation-content>section{display:grid;gap:12px;min-width:0}.result-overview-compact{gap:8px}.result-primary{gap:14px;padding:16px}.result-primary h2,.result-summary h2{margin:0;color:var(--adaptiveGrey900);font-size:18px;line-height:1.5}.result-target-draw{color:var(--adaptiveGrey800);font-size:16px;font-weight:700;overflow-wrap:anywhere}.result-candidate-numbers{gap:8px;flex-wrap:wrap}.result-candidate-numbers .number-pill{width:32px;height:32px;flex:0 0 32px;font-size:14px}.result-copy-feedback{min-height:21px;margin:0;color:var(--adaptiveGrey700);font-size:14px;line-height:1.5;overflow-wrap:anywhere}.result-manual-copy{display:grid;gap:8px;color:var(--adaptiveGrey800);font-size:14px}.result-manual-copy input{width:100%;min-width:0;min-height:44px;border:1px solid var(--adaptiveGrey600);border-radius:8px;padding:8px;font:inherit;color:var(--adaptiveGrey900);background:var(--adaptiveFloatBackground)}.result-summary{padding:12px 0}.result-explanation{border-top:1px solid var(--adaptiveGreyOpacity100);border-bottom:1px solid var(--adaptiveGreyOpacity100)}.result-explanation summary,.result-trace-details summary{position:relative;min-height:48px;padding:14px 28px 14px 0;color:var(--adaptiveGrey900);font-size:16px;font-weight:700;line-height:1.5;cursor:pointer;list-style:none;overflow-wrap:anywhere}.result-explanation summary::-webkit-details-marker{display:none}.result-explanation summary h2{margin:0;font:inherit}.result-explanation summary:after{content:"";position:absolute;top:22px;right:4px;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}.result-explanation details[open]>summary:after,.result-explanation[open]>summary:after{transform:rotate(225deg)}.result-explanation summary:focus-visible,.result-manual-copy input:focus-visible{outline:2px solid var(--adaptiveGrey800);outline-offset:2px}.result-explanation summary:active{background:var(--adaptiveGreyOpacity100)}.result-explanation-content{gap:24px;padding:8px 0 20px}.result-explanation-content h3{margin:0;font-size:16px;line-height:1.5;color:var(--adaptiveGrey900)}.result-access-note{margin:0;padding:12px;background:var(--adaptiveGreyOpacity100);color:var(--adaptiveGrey800);font-size:14px;line-height:1.6}.result-score-definitions{display:grid;gap:12px;margin:0;font-size:14px;line-height:1.6;color:var(--adaptiveGrey700)}.result-score-definitions dt{color:var(--adaptiveGrey800);font-weight:700}.result-score-definitions dd{margin:0}.result-trace-details{border-top:1px solid var(--adaptiveGreyOpacity100)}.result-trace-details summary{display:flex;flex-wrap:wrap;gap:4px 12px;justify-content:space-between;font-size:14px}.result-contributions{list-style:none;margin:0;padding:0 0 12px;display:grid;gap:12px;font-size:14px;line-height:1.5;color:var(--adaptiveGrey800)}.result-contributions strong{overflow-wrap:anywhere}.result-contributions strong span{font-weight:400}.result-contributions dl{display:flex;flex-wrap:wrap;gap:4px 16px;margin:4px 0 0;color:var(--adaptiveGrey700)}.result-contributions dl>div{display:flex;gap:6px}.result-contributions dd{margin:0;font-variant-numeric:tabular-nums}.result-heading h1{font-size:26px;line-height:1.18}.result-card-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.result-overview-card{gap:12px;border-color:#fecaca;background:snow}.result-overview-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.result-mode-badge{width:fit-content;border-radius:8px;padding:4px 8px;background:#f3f4f6;color:#374151;font-size:12px;font-weight:900;line-height:1}.result-mode-normal{background:#fee2e2;color:#991b1b}.result-mode-advanced{background:#e0f2fe;color:#075985}.result-reasoning-text{white-space:pre-wrap}.draft-list,.request-list,.result-stack,.trace-list{display:grid;gap:10px}.draft-item{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:stretch}.draft-load-button,.draft-delete-button,.request-item,.request-item-main,.choice-button{border-radius:8px;border:1px solid #e5e7eb;background:#fff;color:#111827;letter-spacing:0}.draft-load-button{min-width:0;display:grid;gap:4px;padding:12px;text-align:left}.draft-load-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.draft-load-button small{color:#6b7280;font-size:12px}.draft-delete-button{padding:0 12px;color:#991b1b;font-weight:800}.notice-box,.empty-state,.result-card{display:grid;gap:10px;border-radius:8px;border:1px solid #e5e7eb;background:#fff;padding:14px}.notice-box p,.empty-state p{margin:0;color:#374151;font-size:15px;line-height:1.5}.fixed-actions{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));z-index:15;width:min(calc(100% - 40px - env(safe-area-inset-left) - env(safe-area-inset-right)),430px);transform:translate(-50%)}.fixed-actions .primary-button{width:100%;box-shadow:0 12px 28px #11182729}.fixed-actions-above-bottom-nav{bottom:calc(88px + env(safe-area-inset-bottom))}.shop-shell{padding-bottom:calc(28px + env(safe-area-inset-bottom))}.shop-panel{gap:20px}.shop-balance-toolbar{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;flex-wrap:wrap}.shop-section{display:grid;gap:12px;padding-top:18px;border-top:1px solid #e5e7eb}.shop-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.shop-section-heading h2{font-size:20px;line-height:1.25}.shop-inline-status{color:#6b7280;font-size:12px;font-weight:800;white-space:nowrap}.shop-ticket-list,.shop-product-list{display:grid;gap:10px}.shop-ticket-item,.shop-product-item{display:grid;align-items:center;gap:12px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:12px}.shop-ticket-item{grid-template-columns:1fr auto}.shop-product-item{grid-template-columns:auto minmax(0,1fr) auto}.shop-ticket-copy,.shop-product-copy{min-width:0;display:grid;gap:5px}.shop-ticket-title-row,.shop-product-title-row{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}.shop-ticket-title-row strong,.shop-product-title-row strong{color:#111827;font-size:15px;font-weight:900;line-height:1.25}.shop-ticket-copy span,.shop-product-copy p,.shop-product-copy span{margin:0;color:#4b5563;font-size:13px;font-weight:700;line-height:1.35}.shop-product-copy p{overflow-wrap:anywhere}.shop-ticket-icon{width:34px;height:34px;object-fit:contain;flex:0 0 auto}.shop-benefit-badge,.store-source-badge{width:fit-content;border-radius:8px;padding:4px 6px;font-size:11px;font-weight:900;line-height:1;white-space:nowrap}.shop-benefit-badge{background:#fff7ed;color:#9a3412}.store-source-badge{background:#f3f4f6;color:#4b5563}.store-source-badge.api{background:#dcfce7;color:#166534}.store-product-image-wrap{position:relative;width:58px;height:58px;display:grid;place-items:center;border-radius:8px;background:#f9fafb;overflow:hidden}.store-product-image{width:48px;height:48px;object-fit:contain}.store-product-image-wrap .store-source-badge{position:absolute;left:4px;bottom:4px;transform:scale(.82);transform-origin:left bottom;box-shadow:0 4px 10px #1118271a}.shop-buy-button{min-width:88px;min-height:44px;border:1px solid #ef4444;border-radius:8px;background:#ef4444;color:#fff;padding:0 10px;font-size:13px;font-weight:900;line-height:1;white-space:nowrap}.shop-buy-button.secondary{border-color:#d1d5db;background:#fff;color:#374151}.shop-buy-button:disabled{border-color:#e5e7eb;background:#f3f4f6;color:#9ca3af}@media(max-width:380px){.shop-product-item{grid-template-columns:auto minmax(0,1fr)}.shop-product-item .shop-buy-button{grid-column:1 / -1;width:100%}}.app-toast{position:fixed;left:50%;bottom:calc(88px + env(safe-area-inset-bottom));z-index:40;width:min(calc(100% - 40px),390px);margin:0;transform:translate(-50%);border-radius:8px;background:#111827;color:#fff;padding:12px 14px;font-size:14px;font-weight:700;line-height:1.45;text-align:center;letter-spacing:0;box-shadow:0 14px 32px #11182733}.bottom-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;justify-content:center;padding:0 calc(14px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left));background:#11182761;z-index:30}.bottom-sheet{width:min(100%,430px);display:grid;gap:14px;border-radius:8px;background:#fff;padding:10px 16px 18px;box-shadow:0 -18px 44px #11182733}.app-bottom-sheet{width:min(calc(100vw - 28px),430px)!important;max-width:430px!important;border-radius:8px!important;background:#fff!important;box-shadow:0 -14px 36px #11182733!important}.app-bottom-sheet--fixed[style*=max-height]{transform:translateY(-10px)!important}.app-bottom-sheet-title{color:#111827!important;font-size:20px!important;font-weight:800!important;line-height:1.35!important;letter-spacing:0!important}.app-bottom-sheet-description{color:#6b7280!important;font-size:14px!important;line-height:1.45!important;letter-spacing:0!important}.sheet-handle{width:44px;height:4px;justify-self:center;border-radius:8px;background:#d1d5db}.sheet-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.sheet-content-stack{display:grid;gap:10px;padding:0 8px calc(8px + env(safe-area-inset-bottom))}.choice-button{display:grid;gap:6px;padding:14px;text-align:left}.choice-button strong{font-size:16px}.choice-button .choice-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.choice-button .choice-title-text{min-width:0;color:#111827;font-size:16px;line-height:1.2}.choice-button .choice-cost{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;color:#111827;font-size:13px;font-weight:900;line-height:1;white-space:nowrap}.choice-button .choice-cost span{color:inherit;font-size:inherit;line-height:inherit}.choice-button span{color:#4b5563;font-size:14px;line-height:1.5}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:calc(24px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));background:#1118276b}.modal-card{width:min(100%,360px);display:grid;gap:14px;border-radius:8px;background:#fff;padding:20px;box-shadow:0 20px 56px #1118273d}.modal-card h2,.modal-card p{margin:0}.modal-card h2{color:#111827;font-size:20px;line-height:1.35}.modal-card p{color:#374151;font-size:15px;line-height:1.55}.modal-action-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.request-item{display:grid;gap:8px;padding:14px;text-align:left}.request-item-main{display:grid;gap:8px;min-width:0;padding:0;border:0;text-align:left}.app-bottom-navigation{position:fixed;left:0;right:0;bottom:0;z-index:24;background:#fffffffa;border-top:1px solid #e5e7eb;padding:7px calc(14px + env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left));box-shadow:0 -10px 28px #1118270d}.app-bottom-navigation-inner{width:min(100%,430px);margin:0 auto;display:flex;align-items:stretch;justify-content:space-between;gap:4px}.app-bottom-nav-item{min-width:0;flex:1 1 0;display:grid;justify-items:center;gap:3px;border:0;border-radius:8px;background:transparent;color:#8b95a1;padding:6px 4px 4px;font-size:11px;font-weight:750;line-height:1.15;letter-spacing:0}.app-bottom-nav-item svg{width:22px;height:22px;fill:currentColor}.app-bottom-nav-item.active{color:#111827;background:#f3f4f6}.app-tab-panel-hidden{display:none}.numbers-panel,.my-numbers-panel{gap:18px}.numbers-panel h1,.my-numbers-panel h1{font-size:26px;line-height:1.18}.numbers-mode-list{display:grid;gap:10px}.numbers-mode-card{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:15px;color:#111827;text-align:left}.numbers-mode-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:8px;background:#fef3c7;color:#d97706}.numbers-mode-icon svg{width:22px;height:22px;fill:currentColor}.numbers-mode-card strong,.numbers-mode-card small{display:block}.numbers-mode-card strong{font-size:16px;line-height:1.35}.numbers-mode-card small{margin-top:4px;color:#6b7280;font-size:13px;line-height:1.45}.numbers-mode-header,.my-numbers-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.numbers-mode-header h1,.my-numbers-header h1{min-width:0;flex:1;text-align:center}.my-numbers-header h1{text-align:left}.numbers-mode-description{margin-top:-10px}.numbers-editor-stack,.generated-list,.my-number-list{display:grid;gap:10px}.numbers-card-section{display:grid;gap:12px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:14px}.numbers-card-heading,.pool-heading-row,.generated-section-header,.my-number-card-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.numbers-card-heading h2,.pool-heading-row h2,.generated-section h2{font-size:17px;line-height:1.35}.numbers-card-content{display:grid;gap:10px}.filter-scroll-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.filter-scroll-row::-webkit-scrollbar{display:none}.wrapped-chip-row{display:flex;flex-wrap:wrap;gap:8px}.filter-chip{min-height:36px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;padding:0 12px;font-size:14px;font-weight:800;white-space:nowrap}.filter-chip.active{border-color:#ef4444;background:#fef2f2;color:#991b1b}.sum-range-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.sum-range-row>div{display:grid;gap:4px}.sum-range-row strong{font-size:20px;line-height:1.2}.compact-button{min-height:36px;padding:0 14px;font-size:14px}.number-setting-button{width:fit-content}.selected-number-flow,.generated-number-row{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.lotto-ball{width:34px;height:34px;display:inline-grid;place-items:center;border-radius:999px;color:#fff;font-size:14px;font-weight:900;line-height:1;letter-spacing:0;box-shadow:inset 0 -2px #1118271f}.lotto-ball.small{width:30px;height:30px;font-size:13px}.pool-heading-row h2{margin:0}.pick-total{color:#991b1b;font-size:22px}.pick-total.valid{color:#047857}.numbers-issue-box{display:grid;gap:5px;border:1px solid #fde68a;border-radius:8px;background:#fffbeb;padding:12px 14px;color:#92400e}.numbers-issue-box strong,.numbers-issue-box p{margin:0}.numbers-issue-box p{font-size:13px;line-height:1.45}.generated-section{display:grid;gap:10px;border-top:1px solid #e5e7eb;padding-top:16px}.generated-save-button{min-width:72px;min-height:38px;padding:0 14px;font-size:14px}.generated-card,.my-number-card{display:grid;gap:10px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:14px}.generated-card{grid-template-columns:minmax(0,1fr) auto;align-items:center}.saved-badge{border-radius:8px;background:#ecfdf5;color:#047857;padding:6px 9px;font-size:12px;font-weight:900;white-space:nowrap}.number-picker-modal{width:min(100%,390px);max-height:calc(100dvh - 44px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto}.number-picker-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:4px 0}.number-picker-ball{aspect-ratio:1;min-width:0;display:grid;place-items:center;border:1.5px solid #111827;border-radius:999px;background:#fff;color:#111827;padding:0;font-size:13px;font-weight:800;letter-spacing:0}.number-picker-ball.selected{color:#fff;font-weight:800;box-shadow:inset 0 -2px #11182724}.number-picker-ball.disabled{border-color:#e5e7eb;background:#f3f4f6;color:#9ca3af}.sum-picker-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sum-picker-row label{display:grid;gap:8px;color:#374151;font-size:13px;font-weight:800}.sum-picker-row select{min-height:44px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;padding:0 12px;font:inherit;font-size:16px}.my-numbers-header>div:first-child{min-width:0;display:grid;gap:4px}.my-number-card-header>div{min-width:0;display:grid;gap:3px}.my-number-card-header strong,.my-number-card-header span,.my-number-card-header small{overflow-wrap:anywhere}.my-number-card-header span{color:#4b5563;font-size:13px;font-weight:800}.my-number-card-header small{color:#6b7280;font-size:12px;line-height:1.35}.request-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-item-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:space-between}.request-item-labels{display:flex;flex:1;flex-wrap:wrap;gap:6px;align-items:center;min-width:0}.request-type-badge,.request-mode-badge{width:fit-content;border-radius:8px;padding:4px 8px;font-size:12px;font-weight:800}.request-type-badge{background:#eef2ff;color:#3730a3}.request-mode-badge{background:#f5f3ff;color:#6d28d9}.request-number-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.request-number-pill{width:32px;height:32px;display:grid;place-items:center;border-radius:999px;color:#fff;font-size:13px;font-weight:800;line-height:1}.request-item-actions{display:grid;grid-template-columns:1fr;gap:8px}.request-action-button{min-height:40px;padding:0 10px;font-size:14px}.request-follow-up-note{width:fit-content;margin:0;border-radius:8px;background:#fef3c7;color:#92400e;padding:5px 8px;font-size:12px;font-weight:800}.request-follow-up-note-danger{background:#fee2e2;color:#b91c1c}.status-badge{width:fit-content;border-radius:8px;padding:4px 8px;background:#f3f4f6;color:#374151;font-size:12px;font-weight:800}.status-recommended{background:#dcfce7;color:#166534}.status-processing{background:#fef3c7;color:#92400e}.status-no_recommendation{background:#f3f4f6;color:#374151}.status-failed{background:#fee2e2;color:#991b1b}.number-row{display:flex;flex-wrap:wrap;gap:8px}.number-pill{width:42px;height:42px;display:grid;place-items:center;border-radius:999px;color:#fff;font-size:16px;font-weight:800}.number-pill-muted{background:#e5e7eb;color:#374151}.pending-action-notice{display:grid;gap:10px;padding:16px 0;border-block:1px solid #e5e7eb}.account-panel{padding:24px}.account-panel h1{margin:24px 0;font-size:24px}.account-panel h2{font-size:18px;margin:0 0 12px}.account-panel p{line-height:1.65}.account-section{padding:24px 0;border-top:1px solid var(--border-color, #e5e7eb)}.account-section button{margin-top:16px}.account-back{min-height:44px}.account-confirm{display:flex;gap:12px;align-items:flex-start;padding:16px 0;line-height:1.5}.account-confirm input{width:22px;height:22px;flex-shrink:0;accent-color:#2e5bff}.account-danger{color:#b42318;border-color:#b42318}.account-error{color:#b42318;overflow-wrap:anywhere}.account-link{min-height:44px;padding:8px 12px}
