#coop-app{color:#274c3a;height:100dvh}#coop-app [hidden]{display:none!important}#coop-app button,#coop-app a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}#coop-app button:focus:not(:focus-visible),#coop-app a:focus:not(:focus-visible){outline:none;box-shadow:none}#coop-app button:focus-visible,#coop-app a:focus-visible{outline:3px solid #38736a;outline-offset:3px}#coop-app button{font-family:inherit;cursor:pointer}#coop-app button:disabled{opacity:.48;cursor:default}#coop-app button,#coop-app a.coop-secondary{min-height:44px}.coop-shell{position:relative;max-width:600px;height:100dvh;margin:auto;background:#f7f4e8;overflow:hidden}.coop-lobby{height:100%;display:flex;flex-direction:column}.coop-brand{padding:18px 22px 17px;display:grid;grid-template-columns:1fr auto;gap:5px;border-bottom:1px solid #dce2ce;flex:none}.coop-brand>a{grid-row:1/3;align-self:center;text-decoration:none;color:#667b64;font-size:12px;padding:10px 0}.coop-brand>span{font-size:9px;letter-spacing:2px;color:#7c8d6b}.coop-brand>b{font-size:17px;letter-spacing:-.8px}.coop-lobby-scroll{padding:22px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}.coop-intro{padding:23px 21px 28px;background:linear-gradient(130deg,#e6edd9,#c5d8ad);border:1px solid #bdcfae;border-radius:22px;position:relative;overflow:hidden}.coop-intro h1{font-size:30px;line-height:1.25;letter-spacing:-1.2px;margin:12px 0;color:#365d42;position:relative;z-index:1}.coop-intro p{font-size:12px;line-height:1.7;color:#688160;position:relative;z-index:1}.coop-intro-art{position:absolute;right:8px;bottom:4px;display:flex;opacity:.94;transform:rotate(-6deg)}.coop-intro-art .bri-portrait{margin-left:-22px}.coop-record{font-size:11px;padding:16px 2px;color:#748366;line-height:1.7}.coop-modes{display:grid;grid-template-columns:1fr 1fr;gap:11px}.coop-modes button{display:grid;gap:9px;text-align:left;padding:17px 14px;border:1px solid #d6dfc8;background:#fffdf1;border-radius:16px;color:#476a4d}.coop-modes button>span{font-size:24px;color:#859768}.coop-modes b{font-size:15px}.coop-modes small{font-size:10px;color:#839074}.coop-modes button[aria-pressed=true]{border:2px solid #648966;background:#eaf0dc;padding:16px 13px}.coop-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:24px 0 13px}.coop-heading h2{font-size:15px;letter-spacing:-.6px}.coop-heading>span{font-size:10px;color:#7d8c6c}.coop-helpers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.coop-helpers button{position:relative;min-width:0;overflow:hidden;background:#eeefdf;border:1px solid #dce3ce;border-radius:12px;display:flex;flex-direction:column;align-items:center;padding:5px 2px 10px;color:#5b7456}.coop-helpers .bri-portrait{transform:scale(.64);margin:-12px -10px}.coop-helpers b{font-size:10px;font-weight:700}.coop-helpers small{font-size:9px;margin-top:5px;color:#8b967b}.coop-helpers button[aria-pressed=true]{background:#dce9cd;border-color:#678b58}.coop-helpers button[aria-pressed=true]:after{content:"✓";position:absolute;top:5px;right:6px;color:#4b7651;font-size:13px}.coop-helper-note{font-size:11px;line-height:1.6;color:#7e896d;margin:12px 0}.coop-input{display:grid;gap:9px;font-size:12px;margin:18px 0;color:#607557}.coop-input input,.coop-input select{font:inherit;font-size:16px;color:#3c654a;min-width:0;width:100%;min-height:49px;border:1px solid #cdd9be;background:#fffef3;border-radius:11px;padding:10px 13px}.coop-input input{font-size:26px;letter-spacing:6px;text-transform:uppercase;text-align:center}.coop-primary,.coop-secondary{display:flex;justify-content:center;align-items:center;width:100%;border-radius:12px;padding:13px 15px;font-size:13px;font-weight:700;text-decoration:none;border:1px solid #527f53;background:#527f53;color:#fff8dc;min-height:47px}.coop-secondary{background:#f5f4e7;color:#69815c;border-color:#d6dfc7}.coop-help{margin:24px 0 0;color:#7b896c;font-size:11px}.coop-help summary{min-height:44px;line-height:1.6;cursor:pointer}.coop-help p{font-size:11px;line-height:1.75;margin:9px 0}.coop-local-note{text-align:center;font-size:10px;line-height:1.8;color:#9ba287;margin:15px 0}.coop-wait{height:100%;overflow:auto;text-align:center;padding:22px 26px}.coop-wait>a{display:block;text-align:left;font-size:12px;color:#6b805f;text-decoration:none;padding:10px 0}.wait-art{display:flex;justify-content:center;margin:40px 0 22px}.wait-art .bri-portrait:first-child{transform:rotate(-9deg)}.wait-art .bri-portrait:last-child{transform:rotate(9deg)}.coop-wait h1{font-size:25px;line-height:1.5;letter-spacing:-1px;margin:15px 0}.room-code{background:#e9efda;border:1px solid #ccdabb;border-radius:20px;padding:22px 20px;margin:26px 0 18px}.room-code>small{display:block;font-size:12px;color:#839270}.room-code>strong{display:block;font-size:40px;letter-spacing:7px;margin:16px 0 20px;color:#3f6950;user-select:all}.room-code button{padding:11px 20px;border:1px solid #c9d7b7;border-radius:11px;background:#fffcf0;color:#607751;font-size:13px}.room-code p{font-size:11px;line-height:1.5;min-height:18px;margin-top:12px;color:#7c8e68}.coop-wait>p:last-of-type{font-size:11px;line-height:1.8;color:#829271;margin-bottom:28px}.coop-battle{height:100%;display:flex;flex-direction:column;background:#224737}.coop-battle-head{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#f5f1dc;flex:none}.coop-battle-head>button{flex:none;min-width:44px;padding:5px 8px;border:1px solid #d5dcc3;background:#fffbee;border-radius:10px;color:#446948;font-size:18px}.coop-battle-head>button:first-child{font-size:26px}.coop-battle-head>div{flex:1;display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;line-height:1}.coop-battle-head b{font-size:25px}.coop-battle-head small{font-size:10px;display:block}.coop-battle-head>div>span{font-size:10px;color:#88926f}.coop-battle-head>button:last-child{display:grid;gap:3px;justify-items:center;font-size:19px}.coop-battle-head>button:last-child small{font-size:9px}.coop-crew{display:flex;gap:10px;justify-content:space-between;padding:9px 17px;color:#e3eacf;font-size:11px;flex:none}.coop-crew>span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.coop-crew i{font-size:8px;font-style:normal;color:#accd89}.coop-crew small{display:block;color:#a6bd94;font-size:9px;margin:4px 0 0 12px}.coop-crew .seat-p2{border-left:1px solid #4c6e50;padding-left:12px}.coop-crew .seat-p2 i{color:#cfafdf}.coop-prep{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;flex:none;padding:10px 15px;background:#e9e5ba;color:#426140;box-shadow:0 4px 9px #172f2920;z-index:2}.coop-prep>div>span{display:block;font-size:10px;white-space:nowrap}.coop-prep strong{font-variant-numeric:tabular-nums;line-height:1.1;display:block}.coop-prep strong>b{font-size:39px;letter-spacing:-2px}.coop-prep strong>small{font-size:11px;margin-left:5px}.coop-prep p{font-size:11px;line-height:1.6;word-break:keep-all}.coop-prep button{font-size:11px;background:#567c4c;border:1px solid #4b7043;color:#fff9da;border-radius:10px;padding:10px 12px;white-space:nowrap}.coop-prep.accelerated{background:#f2d27a;color:#624b25}.coop-prep.accelerated strong>b{color:#75502d}.coop-field{position:relative;flex:1;min-height:80px;overflow:hidden}.coop-field canvas{display:block;width:100%;height:100%}#coop-field-note{position:absolute;top:9px;left:50%;transform:translate(-50%);max-width:92%;width:max-content;border-radius:18px;padding:6px 10px;background:#244733b8;color:#f0ecd2;font-size:9px;text-align:center;pointer-events:none}#coop-choice-toggle{background:#355a42;padding:0 13px}#toggle-choice{background:transparent;width:100%;font-size:11px;color:#deebc9;min-height:38px}.coop-choices{flex:none;padding:11px 16px 13px;background:#f6f3e2;max-height:43dvh;overflow:auto;overscroll-behavior:contain;box-shadow:0 -5px 15px #112c2225}.choice-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.choice-heading>b{font-size:13px;color:#537148}.choice-heading>span{font-size:10px;color:#958157;white-space:nowrap;font-variant-numeric:tabular-nums}.choice-tabs{display:flex;gap:6px;margin-bottom:9px}.choice-tabs button{flex:1;border:1px solid #dce2c9;background:#ecefdc;color:#7a8a66;font-size:11px;border-radius:9px;min-height:37px!important;padding:8px}.choice-tabs button[aria-pressed=true]{background:#dbe7c8;color:#43693f;border-color:#bcccaa;font-weight:700}.coop-cards{display:grid;gap:7px}.coop-cards button{display:flex;align-items:center;gap:10px;width:100%;background:#fdfbec;border:1px solid #dce1c7;border-radius:11px;padding:10px 12px;text-align:left;min-height:60px;color:#435d3c}.coop-cards button.evolve{border-color:#d7c398;background:#f6edd7}.coop-cards button>span{font-size:22px;color:#8d9a62;flex:none}.coop-cards button>div{flex:1;min-width:0}.coop-cards button b{font-size:12px;line-height:1.4;display:block}.coop-cards button p{font-size:10px;line-height:1.45;color:#7c8969;margin-top:4px;word-break:keep-all}.coop-cards button>i{font-size:21px;font-style:normal;color:#9eaf89}.shared-choice-note{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;font-size:10px;line-height:1.6;color:#82936e;margin-top:10px;gap:7px}.shared-choice-note button{font-size:10px;padding:8px 11px;border-radius:9px;background:#e2e8d1;border:1px solid #ccd9b9;color:#5b794e}.coop-gate{flex:none;padding:10px 18px max(12px,env(safe-area-inset-bottom));color:#cbdcbc;background:#1d4233}.coop-gate>div{display:flex;gap:10px;align-items:center;font-size:10px}.coop-gate b{color:#f2eed0;font-size:12px}.coop-gate #coop-elapsed{margin-left:auto;color:#97b390;font-variant-numeric:tabular-nums}.coop-gate progress{display:block;width:100%;height:9px;appearance:none;border:0;margin-top:8px;border-radius:8px;overflow:hidden;background:#123024}.coop-gate progress::-webkit-progress-bar{background:#123024}.coop-gate progress::-webkit-progress-value{background:#accf73;border-radius:8px}.coop-gate progress::-moz-progress-bar{background:#accf73}.coop-message{position:fixed;top:max(8px,env(safe-area-inset-top));left:50%;transform:translate(-50%);z-index:100;display:flex;align-items:center;gap:10px;width:calc(100% - 20px);max-width:570px;border:1px solid #d1bb7d;border-radius:13px;padding:10px 12px;background:#fff4d5;box-shadow:0 7px 25px #142e3540}.coop-message p{font-size:11px;line-height:1.7;color:#816b3e;flex:1}.coop-message button{padding:8px 10px;white-space:nowrap;border:1px solid #b7a16b;background:#927b49;color:#fff;border-radius:9px;font-size:11px}.coop-dialog-layer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:10;background:#193a2dce;padding:18px;backdrop-filter:blur(2px)}.coop-dialog{max-width:380px;width:100%;max-height:calc(100dvh - 36px);overflow:auto;overscroll-behavior:contain;padding:26px 23px;text-align:center;border-radius:23px;border:1px solid #d7dbb8;background:#fbf7e8;box-shadow:0 18px 70px #10282255}.coop-dialog h2{font-size:23px;line-height:1.4;letter-spacing:-1px;margin:12px 0}.coop-dialog>p{font-size:12px;line-height:1.8;color:#7b8769;margin:12px 0 20px}.coop-dialog>small{font-size:11px;color:#849477}.coop-dialog .coop-primary,.coop-dialog .coop-secondary{margin-top:10px}.dialog-icon{display:block;font-size:35px;color:#9ca765}.dialog-count{display:block;font-size:38px;color:#507249;margin:22px 0}.coop-result-reward{border-top:1px solid #dedec2;border-bottom:1px solid #dedec2;padding:18px 0;color:#447b59}.coop-result-reward>small{font-size:11px;color:#889373;display:block}.coop-result-reward>strong{display:block;font-size:36px;margin:12px 0}.coop-result-reward strong small{font-size:16px}.coop-result-reward>p{font-size:13px;color:#978151}.is-busy #coop-enter,.is-busy #coop-ready,.is-busy .coop-cards button,.is-busy #pass-choice{opacity:.6;pointer-events:none}@media(max-width:380px){.coop-lobby-scroll{padding:17px}.coop-intro{padding:20px 17px 25px}.coop-intro h1{font-size:27px}.coop-intro-art{right:-18px;transform:rotate(-6deg) scale(.85);transform-origin:bottom right}.coop-intro p{font-size:11px}.coop-modes{gap:8px}.coop-modes button{padding:14px 10px}.coop-modes button[aria-pressed=true]{padding:13px 9px}.coop-modes b{font-size:14px}.coop-modes small{font-size:9px}.coop-helpers{gap:5px}.coop-helpers b{font-size:9px}.coop-prep{padding:9px 10px;gap:9px}.coop-prep p{font-size:10px}.coop-prep button{padding:9px;font-size:10px}.coop-battle-head{gap:7px;padding:8px 10px}.coop-battle-head>div{gap:5px}.coop-choices{padding:10px 11px}.choice-heading b{font-size:12px}.choice-heading>span{font-size:9px}.room-code>strong{font-size:32px;letter-spacing:6px}}@media(max-height:650px){.coop-prep strong>b{font-size:30px}.coop-prep{padding-top:7px;padding-bottom:7px}.coop-crew{padding:6px 12px}.coop-crew small{display:none}.coop-choices{max-height:41dvh}.coop-cards button{min-height:52px;padding:8px 10px}.choice-heading,.choice-tabs{margin-bottom:7px}.coop-battle-head{padding-top:6px;padding-bottom:6px}.coop-gate{padding-top:8px;padding-bottom:8px}.coop-dialog{padding:20px}.wait-art{margin-top:20px}.coop-wait h1{font-size:22px}.room-code{margin-top:20px;padding:17px}.coop-battle-head>button{min-height:44px}.coop-result-reward{padding:12px 0}}#coop-app .choice-tabs button,#coop-app #toggle-choice{min-height:44px!important}.coop-battle{position:relative}.coop-choice-dock{position:absolute;bottom:calc(54px + env(safe-area-inset-bottom));left:0;right:0;z-index:3;pointer-events:none}.coop-choice-dock>*{pointer-events:auto}.coop-choices{background:#f6f3e2fa}#coop-choice-toggle{box-shadow:0 -4px 12px #17312425}@media(max-height:650px){.coop-choice-dock{bottom:50px}}@media(max-height:650px){.coop-choices{max-height:50dvh}}.coop-prep .coop-support-open{grid-column:1/-1;width:100%;min-height:44px;background:#f6f1d9;color:#506848;border-color:#bbc79e;font-size:11px;white-space:normal;padding:8px}.coop-support-label{display:grid;gap:9px;text-align:left;font-size:12px;color:#5b7851;margin:16px 0}.coop-support-label select{min-height:46px;width:100%;max-width:100%;font:inherit;font-size:16px;border:1px solid #bccaad;border-radius:10px;padding:9px;color:#31573e;background:#fffced}.coop-dialog .support-footnote{font-size:10px;line-height:1.7}.is-busy [data-support],.is-busy #support-open{pointer-events:none;opacity:.6}#coop-app .choice-tabs button{font-size:12px;line-height:1.4;position:relative;white-space:normal}#coop-app .choice-tabs .choice-actionable{border:2px solid #d69b2e;background:#fff0bd;color:#314a35;font-weight:800}.choice-actionable{animation:choice-glow 2.8s ease-in-out infinite}.choice-actionable:before{content:"✧";display:inline-block;margin-right:5px;color:#987019}.choice-waiting{opacity:.8}.choice-heading{flex-wrap:wrap;gap:5px}.choice-heading>span{line-height:1.5}.coop-crew small{display:block!important;font-size:11px!important;line-height:1.4}.coop-crew>span{border-left:3px solid #accf73;padding-left:7px}.coop-crew>.seat-p2{border-color:#c1a2e4}@keyframes choice-glow{0%,to{box-shadow:0 0 0 1px #e4b85144}50%{box-shadow:0 0 12px 2px #f2c95a99}}@media(prefers-reduced-motion:reduce){.choice-actionable{animation:none;box-shadow:0 0 0 2px #e4b851}}.coop-choice-dock{bottom:calc(55px + env(safe-area-inset-bottom))}.coop-choice-dock.is-folded{position:relative;bottom:auto;flex:none}.coop-choices{display:flex;flex-direction:column;overflow:hidden}.choice-heading,.choice-tabs,.shared-choice-note{flex:none}.coop-cards{min-height:0;overflow-y:auto;overscroll-behavior:contain;grid-auto-rows:min-content;padding:3px;margin:-3px}@media(max-height:650px){.coop-choice-dock:not(.is-folded){bottom:calc(49px + max(0px,env(safe-area-inset-bottom) - 8px))}}.coop-shell{display:flex;flex-direction:column}.coop-shell>.coop-lobby,.coop-shell>.coop-wait,.coop-shell>.coop-battle{height:auto;min-height:0;flex:1}.coop-message{position:static;top:auto;left:auto;transform:none;width:auto;max-width:none;flex:none;z-index:auto;box-shadow:none;margin:0;border-radius:0;border-width:0 0 1px;padding:8px 12px}.coop-message p{min-width:0;margin:0;font-size:11px;line-height:1.5;text-align:left;overflow-wrap:anywhere}.coop-message button{flex:none;min-width:76px;min-height:44px;margin:0;line-height:1.4}.coop-dialog>.coop-message{border:1px solid #d1bb7d;border-radius:10px;margin-bottom:12px}@media(max-height:650px){.coop-battle{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto minmax(0,1fr) auto auto}.coop-battle-head{grid-row:1}.coop-crew{grid-row:2}.coop-prep{grid-row:3}.coop-field{grid-row:4;grid-column:1}.coop-gate{grid-row:6}.coop-choice-dock.is-folded{grid-row:5;grid-column:1}.coop-choice-dock:not(.is-folded){grid-row:4;grid-column:1;position:relative;bottom:auto;align-self:stretch;display:flex;flex-direction:column;min-height:0;max-height:100%;overflow:hidden}.coop-choice-dock:not(.is-folded)>#coop-choice-toggle{flex:none}.coop-choices{flex:1;min-height:0;max-height:none;overflow-y:auto}.coop-cards{flex:1 0 56px;min-height:56px;overflow-y:auto}}@media(orientation:landscape)and (max-height:500px)and (min-width:480px){.coop-battle-head{padding:2px 12px}.coop-crew{padding:3px 12px;font-size:10px}.coop-crew small{font-size:10px!important;line-height:1.2;margin-top:2px}.coop-prep{grid-template-columns:auto minmax(0,1fr) auto auto;gap:8px;padding:6px 12px}.coop-prep p{margin:0;font-size:11px;line-height:1.5}.coop-prep strong>b{font-size:30px}.coop-prep .coop-support-open{grid-column:auto;width:130px;padding:6px 8px;line-height:1.4;word-break:keep-all}.coop-gate{padding-top:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}}@media(max-height:650px){.coop-shell.has-connection-notice>.coop-battle{overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:80px;scroll-padding-bottom:8px;grid-template-rows:auto auto auto minmax(80px,1fr) auto auto}.coop-shell.has-connection-notice .coop-battle-head{position:sticky;top:0;z-index:5}.coop-shell.has-connection-notice .coop-choice-dock:not(.is-folded){min-height:220px}.coop-shell.has-connection-notice>.coop-battle:has(.coop-choice-dock:not(.is-folded)){grid-template-rows:auto auto auto minmax(220px,1fr) auto auto}}#coop-code-help{display:block;min-height:18px;font-size:12px;line-height:1.5;letter-spacing:0;color:#526b49;overflow-wrap:anywhere}#coop-code-help.is-error{color:#9b342a;font-weight:700}#coop-code[aria-invalid=true]{border-color:#ae4335;box-shadow:0 0 0 1px #ae4335}#coop-last-reward{width:100%;margin:0 0 16px;min-height:44px}.coop-dialog.coop-reward-review{display:flex;flex-direction:column;padding:0;max-width:440px;text-align:left;overflow:hidden}.coop-reward-review>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px;background:#244e3e;color:#fff7df;flex-shrink:0}.coop-reward-review>header h2{font-size:21px;margin:4px 0 0}.coop-reward-review>header .eyebrow{font-size:10px;color:#d6ddc0}#close-reward-review{min-height:44px;min-width:74px;padding:8px;border:1px solid #d2bd85;border-radius:10px;background:#fff7df;color:#244e3e;font-size:12px;font-weight:700;flex-shrink:0}.coop-reward-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:15px;font-size:12px;line-height:1.7}.coop-reward-body h3{font-size:17px;margin:8px 0 3px}.reward-review-date{font-size:11px;color:#6a765b}.coop-reward-body .coop-result-reward{text-align:center;margin:14px 0}.reward-review-record{padding:10px;background:#e8eddb;border-radius:9px}.reward-review-note{font-size:11px;margin-top:12px;color:#536047}.coop-reward-review>footer{padding:12px 15px;flex-shrink:0;background:#eee9d8}.coop-reward-review>footer .coop-primary{width:100%;margin:0}@media(max-height:620px){.coop-reward-review>header{padding:10px 14px}.coop-reward-review>header .eyebrow{display:none}.coop-reward-review>header h2{font-size:18px}}
