.campaign-card{max-width:1120px;width:100%;padding:30px;text-align:left;max-height:calc(100dvh - 40px);overflow:auto}.campaign-header{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-bottom:24px}.campaign-header h1{font-size:35px;letter-spacing:-1.5px;margin-bottom:10px}.campaign-header h1 span{color:#078f85}.campaign-header p{margin:0;font-size:14px}.campaign-header .modal-eyebrow{margin-bottom:10px}.profile-box{width:230px;flex:none;background:#e7e6cf;border:1px solid #cdc9aa;border-radius:15px;padding:16px}.profile-box label,.board-level-label{display:block;font-size:11px;letter-spacing:1.5px;font-weight:900;color:#6e7966;margin-bottom:7px}.profile-box input{width:100%;font:800 17px "Trebuchet MS",sans-serif;color:#263646;padding:10px;background:#fff9e9;border:1px solid #c4c7a8;border-radius:8px;outline-color:#009d91}.profile-box>span{display:block;margin-top:10px;font-size:12px;font-weight:800;color:#53766b}.profile-box small{display:block;margin-top:6px;font-size:10px;color:#828271}.realm-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.realm-card{border:1px solid #c4c5b7;border-radius:20px;overflow:hidden;background:#fff9ea;box-shadow:0 4px 0 #b4a78522}.realm-banner{height:145px;position:relative;background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:flex-end;padding:17px;color:white;text-shadow:0 2px 8px #182542}.realm-banner:before{content:"";position:absolute;inset:0;background:linear-gradient(transparent 15%,#1b2749bb)}.realm-banner>*{position:relative}.realm-banner h2{font-size:22px;letter-spacing:-.5px;margin:3px 0 4px}.realm-banner p{font-size:11px;margin:0;color:#fffbe5}.realm-index{font-size:10px;letter-spacing:1.5px;font-weight:900}.realm-progress{position:absolute;right:12px;top:12px;font-size:11px;background:#152d4699;padding:5px 8px;border-radius:7px;text-shadow:none}.realm-path{display:flex;justify-content:space-between;position:relative;padding:23px 15px 17px;gap:6px;min-height:112px;align-items:center}.realm-path:before{content:"";position:absolute;left:26px;right:26px;top:54px;border-top:3px dotted #c7cbb3}.level-node{position:relative;width:44px;flex:none;display:flex;flex-direction:column;align-items:center;gap:5px;border:0;padding:0;background:none;color:#2a4450}.level-node:nth-child(even){transform:translateY(-8px)}.level-node .node-circle{height:40px;width:40px;border-radius:50%;display:grid;place-items:center;background:#e0e6cc;border:2px solid #b6c7a0;font-size:16px;font-weight:1000;box-shadow:0 3px #bac6a15c}.level-node.selected .node-circle{border-color:#009f92;background:#b7ead0;outline:3px solid #009f9230;outline-offset:2px}.level-node.complete .node-circle{background:#f5df96;border-color:#d4b36a}.level-node.locked .node-circle{background:#ece9de;color:#a7a598;border:2px solid #d5d1c5}.level-node .node-medal{font-size:9px;letter-spacing:1px;min-height:12px;color:#ae842e}.level-node.locked .node-medal{color:#aba99b}.level-node:hover .node-circle{transform:translateY(-2px)}.level-brief{display:grid;grid-template-columns:1fr 230px;gap:25px;align-items:center;margin-top:20px;background:#ebe8d4;border:1px solid #d5d0b5;padding:20px 23px;border-radius:18px}.level-brief .modal-eyebrow{margin-bottom:8px}.level-brief h2{margin-bottom:7px;font-size:24px}.level-brief p{font-size:13px;margin:0;line-height:1.5}.brief-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.brief-tags span{font-size:10px;font-weight:800;background:#fffae8;color:#6d7665;padding:6px 9px;border:1px solid #dbd7bf;border-radius:7px}.brief-tags span.new-tool{background:#cee9d5;color:#237d69;border-color:#9ccdb0}.brief-actions .big-button{font-size:15px}.brief-actions .text-button{font-size:12px;margin-top:5px}.campaign-footer{display:flex;align-items:center;gap:18px;margin-top:10px;flex-wrap:wrap}.campaign-footer .text-button{margin:0;font-size:12px}.campaign-footer>span{margin-left:auto;font-size:11px;color:#8e8775}.run-target{position:absolute;right:22px;top:20px;font-size:10px;letter-spacing:.7px;font-weight:800;background:#182540bf;border:1px solid #d5bf7c50;color:#ffe6a9;padding:9px 12px;border-radius:10px;pointer-events:none}.run-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 15px}.run-summary>div{padding:12px 4px;background:#ebe7d1;border-radius:10px;font-size:10px;color:#8b826b}.run-summary strong{display:block;color:#243d48;font-size:22px;margin-bottom:3px}.score-breakdown{display:grid;gap:5px;font-size:12px;color:#82765f;text-align:left;padding:0 6px}.score-breakdown>div{display:flex;justify-content:space-between;gap:15px}.score-breakdown b{color:#526c5b}.score-total{display:flex;justify-content:space-between;align-items:center;margin:15px 0;padding:12px 6px;border-top:1px solid #cfc5a7;border-bottom:1px solid #cfc5a7}.score-total>span{font-size:10px;letter-spacing:1.5px;font-weight:900;color:#8a7c63}.score-total>b{font-size:30px;color:#078e82;letter-spacing:-1px}.result-card{max-width:540px;padding:26px;max-height:calc(100dvh - 35px);overflow:auto}.result-card .result-stars{font-size:30px;margin-bottom:8px}.result-card .modal-eyebrow{margin-bottom:10px}.result-card h2{font-size:25px;margin-bottom:12px}.result-card p{font-size:12px;margin-bottom:12px}.result-card .result-score{display:none}.result-card .save-status{font-size:11px;color:#648272;margin:10px 0}.save-status.error{color:#a75b3c}.result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.result-actions .text-button{font-size:11px;margin:7px 0 0;min-height:36px;padding:5px}.leaderboard-card{max-width:850px;text-align:left;max-height:calc(100dvh - 40px);overflow:auto}.board-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.board-heading h2{margin:0 0 18px}.board-heading .modal-eyebrow{margin-bottom:8px}.board-heading>.icon-button{align-self:flex-start;flex:none}.leaderboard-card select{appearance:none;width:100%;font:700 15px "Trebuchet MS",sans-serif;padding:12px;border:1px solid #cbc4a7;border-radius:10px;background:#fff9e9;color:#263943}.board-tabs{display:flex;gap:8px;margin:15px 0}.board-tabs button{flex:1;background:#e9e4d0;border:1px solid #d5ccb0;border-radius:9px;padding:10px 6px;color:#766d58;font-size:12px;font-weight:800;min-height:44px}.board-tabs button.active{background:#bce7d1;border-color:#3ba994;color:#166a5e}.leaderboard-scroll{overflow:auto;max-height:360px}.leaderboard-card table{width:100%;border-collapse:collapse;white-space:nowrap}.leaderboard-card th{font-size:10px;letter-spacing:.5px;color:#93866b;padding:10px 8px;text-align:left;border-bottom:1px solid #d2c8aa}.leaderboard-card td{font-size:14px;padding:13px 8px;border-bottom:1px solid #e4dcc4;color:#59634f}.leaderboard-card td:nth-child(2){font-weight:900;color:#263e43}.leaderboard-card td:nth-child(4){font-weight:900;color:#078c80}.leaderboard-card #board-status{font-size:13px;line-height:1.6;color:#8a7a5f;margin:13px 0}.leaderboard-card .board-footnote{font-size:11px;line-height:1.7;margin:15px 0 0;color:#8b846f}.tool-dock{gap:12px}.tool-context{min-width:110px;max-width:165px}.tools{max-width:none;gap:8px;overflow-x:auto;padding:3px;justify-content:flex-start;scrollbar-width:thin;overscroll-behavior-x:contain}.tool{min-width:92px;flex:1;padding:8px;grid-template-columns:36px 1fr;column-gap:5px}.tool svg{width:36px;height:40px}.tool-name{font-size:13px}.tool-tip{max-width:125px}.tool.unavailable{display:none!important}.level-toast{background:#c0efda!important;color:#146b59!important}.hud .level-heading strong{font-size:17px}
@media(max-width:1000px){.campaign-card{padding:23px}.campaign-header h1{font-size:29px}.realm-banner{height:130px;padding:13px}.realm-banner h2{font-size:19px}.realm-path{padding-left:10px;padding-right:10px;gap:4px}.level-node{width:36px}.level-node .node-circle{width:34px;height:34px}.tool-context{display:none}.tool-tip{display:none}.tools{justify-content:center}.run-target{top:51px;left:20px;right:auto;font-size:9px}.campaign-footer>span{margin-left:0}}
@media(max-width:740px){.campaign-card{max-width:550px;padding:20px;max-height:calc(100dvh - 24px)}.campaign-header{display:block;margin-bottom:18px}.campaign-header h1{font-size:29px;line-height:1.05}.campaign-header p{font-size:12px}.profile-box{margin-top:15px;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;padding:12px}.profile-box label{grid-column:1;margin:0;font-size:9px}.profile-box input{grid-column:1;grid-row:2/4;font-size:15px;padding:8px}.profile-box>span{grid-column:2;grid-row:2;font-size:11px;margin:0}.profile-box small{grid-column:2;grid-row:3;font-size:9px;margin:0}.realm-cards{grid-template-columns:1fr;gap:12px}.realm-card{display:grid;grid-template-columns:42% 1fr;border-radius:15px}.realm-banner{height:120px;padding:12px}.realm-banner h2{font-size:19px;line-height:1.1}.realm-banner p{display:none}.realm-index{font-size:9px}.realm-progress{font-size:9px;top:9px;right:9px}.realm-path{min-height:120px;padding:18px 10px;gap:2px;flex-wrap:wrap;justify-content:space-around}.realm-path:before{top:62px}.level-node{width:29px}.level-node .node-circle{width:29px;height:29px;font-size:12px}.level-node .node-medal{font-size:7px;letter-spacing:0}.level-brief{grid-template-columns:1fr;margin-top:14px;padding:16px;gap:13px}.level-brief h2{font-size:22px}.level-brief p{font-size:12px}.brief-actions{display:flex;align-items:center;gap:12px}.brief-actions .big-button{font-size:14px;flex:1;padding:13px}.brief-actions .text-button{font-size:11px;width:100px;margin:0}.campaign-footer{gap:9px;margin-top:8px}.campaign-footer .text-button{font-size:11px}.campaign-footer>span{font-size:10px;line-height:1.5;width:100%}.tool{min-width:80px;max-width:none;flex:1 0 80px}.tools{justify-content:flex-start;padding:3px}.tool-dock{padding-left:8px;padding-right:8px}.run-target{left:12px;top:47px;font-size:9px;padding:6px 8px}.phase-banner{top:83px}.mission{max-width:calc(100% - 24px)}.mission #mission-text{font-size:9px}.leaderboard-card{padding:22px 17px}.board-heading h2{font-size:24px}.board-tabs{gap:5px}.board-tabs button{font-size:11px}.leaderboard-card td{font-size:12px;padding:12px 7px}.leaderboard-card th{font-size:9px}.hud .brand{font-size:11px}.hud .brand-second{font-size:12px}.hud .icon-button{min-width:32px;width:32px}.hud{gap:4px}.score{min-width:43px}.clock{min-width:40px}}
@media(max-height:500px) and (orientation:landscape){.campaign-card{max-width:800px;padding:20px;display:block}.campaign-header{display:flex;gap:20px}.campaign-header h1{font-size:25px}.campaign-header p{font-size:11px}.campaign-header .modal-eyebrow{font-size:8px}.profile-box{width:210px;display:block;margin:0}.profile-box input{font-size:14px}.realm-cards{grid-template-columns:repeat(3,1fr)}.realm-card{display:block}.realm-banner{height:95px}.realm-banner h2{font-size:17px}.realm-path{min-height:90px;padding:14px 8px}.realm-path:before{top:43px}.level-brief{grid-template-columns:1fr 200px}.brief-actions{display:block}.brief-actions .text-button{width:auto;margin:auto}.run-target{top:40px;font-size:8px}.phase-banner{top:9px;max-width:40%}.tool{min-height:57px;min-width:89px;flex:1 0 89px}.tools{justify-content:flex-start}.hud .level-heading strong{font-size:13px}.campaign-footer>span{width:auto}.leaderboard-card{max-height:calc(100dvh - 24px)}}

.edit-bar{display:flex;align-items:center;gap:8px;flex:none;background:#f6ecd5;padding:8px 18px;border-top:1px solid #d7caab;color:#435d54;z-index:2}.edit-button{flex:none;min-height:40px;padding:8px 14px;border:1px solid #b9b99b;border-radius:9px;background:#fff9eb;color:#2b5b50;font:800 14px "Trebuchet MS",sans-serif}.edit-button.selected{background:#bde8cf;border:2px solid #008e82}.edit-button:disabled{opacity:.45;cursor:default}#active-tool-help{font-size:14px;line-height:1.35}.tool-dock{border-radius:0;border-top:0;box-shadow:none}.profile-box small{font-size:12px;line-height:1.4}.result-card #next-button{margin-bottom:18px}
@media(max-width:740px){.edit-bar{padding:6px 8px;gap:6px}.edit-button{padding:8px 10px;min-height:44px}#active-tool-help{font-size:12px}.profile-box{display:block}.profile-box label{font-size:12px;margin-bottom:6px}.profile-box>span{margin-top:8px}.profile-box small{font-size:12px;margin-top:6px}}
@media(max-height:500px) and (orientation:landscape){.edit-bar{padding:4px 12px}.edit-button{min-height:34px;padding:5px 12px}#active-tool-help{font-size:13px}}

.realm-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.realm-path{padding-left:8px;padding-right:8px;gap:2px}.level-node{width:36px}.level-node .node-circle{width:34px;height:34px}.realm-banner{height:125px}.realm-banner h2{font-size:20px}.friends-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;margin-bottom:20px;border-radius:16px;background:#17394c;color:#e6f7e3}.friends-banner strong{display:block;font-size:18px}.friends-banner span{display:block;font-size:13px;margin-top:5px;color:#acd8cb}.friends-banner button{flex:none}.new-tool-icon{grid-row:1/3;font-size:33px;text-shadow:0 2px #0002}.hay-icon{color:#b98b2c}.slime-icon{color:#39a56c}.armory-icon{color:#65758d}.room-card{max-width:680px;text-align:left;max-height:calc(100dvh - 30px);overflow:auto}.room-card label{display:block;font-size:12px;font-weight:900;letter-spacing:1px;color:#68766b;margin:14px 0 7px}.room-card input,.room-card select{width:100%;padding:12px;border:1px solid #b9baa0;border-radius:9px;background:#fffbec;color:#263e43;font:700 16px 'Trebuchet MS',sans-serif}.room-card select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#53776a 50%),linear-gradient(135deg,#53776a 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:5px 5px;background-repeat:no-repeat;padding-right:30px}.room-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.room-entry-grid button{margin-top:14px;font-size:15px}.room-invite{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.room-invite span{display:block;font-size:12px;letter-spacing:2px;color:#7c806c}.room-invite strong{font-size:34px;letter-spacing:5px;color:#008d84}.room-card #room-invite{font-size:12px;margin-bottom:14px}.room-player{display:flex;align-items:center;justify-content:space-between;gap:10px;border-left:6px solid;margin:8px 0;padding:12px;background:#e7e8d4;border-radius:8px;font-size:15px}.room-player span{font-size:12px;color:#627367}.room-card .room-rules{font-size:13px;line-height:1.6;margin:15px 0}.room-buttons{display:flex;flex-wrap:wrap;gap:12px}.room-result{border-left:5px solid;padding:12px;background:#fffae5;margin:8px 0;font-size:15px;font-weight:800}.room-card #room-error{font-size:14px;color:#a24e36;margin-top:14px}.versus-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding:7px 18px;background:#142d43;color:#e9f4df;font-size:12px}.versus-strip #match-connection{font-weight:800;letter-spacing:.3px}#match-scores{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}#match-scores span{padding:4px 7px;border-bottom:3px solid;border-radius:4px;background:#ffffff10}#match-scores .my-team{background:#ffffff24;font-weight:900}.board-season{font-size:14px!important;color:#357568!important}.room-card button:disabled{opacity:.45;cursor:default}
@media(max-width:1050px){.realm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tools{min-width:0}}
@media(max-width:740px){.realm-cards{grid-template-columns:1fr}.realm-path{padding:18px 8px}.level-node{width:29px}.level-node .node-circle{width:29px;height:29px}.friends-banner{display:block}.friends-banner button{width:100%;margin-top:12px}.room-card{padding:22px 18px}.room-entry-grid{grid-template-columns:1fr}.room-invite strong{font-size:27px}.room-invite button{font-size:13px;padding:11px}.versus-strip{padding:6px 8px;font-size:10px}.new-tool-icon{font-size:29px}.room-player{font-size:14px}.room-player span{font-size:11px}.room-rules{font-size:12px!important}}
@media(max-height:500px) and (orientation:landscape){.versus-strip{padding:3px 10px;font-size:10px}.versus-strip>div{display:flex;align-items:center;gap:10px}#match-scores{margin:0}.realm-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
