@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/cinzel-500.woff) format('woff');
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/cinzel-600.woff) format('woff');
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/cinzel-700.woff) format('woff');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(assets/fonts/nunito-sans-400.woff) format('woff');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url(assets/fonts/nunito-sans-600.woff) format('woff');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url(assets/fonts/nunito-sans-700.woff) format('woff');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 800;
  font-stretch: normal;
  font-display: swap;
  src: url(assets/fonts/nunito-sans-800.woff) format('woff');
}
:root{--ink:#293d2d;--gold:#e8bf58;--gold-dark:#9c6a2e;--pine:#174c3c;--cream:#f9edcf;--wood:#59412d;--paper:#ecd6a2;--line:#cba96e;--shadow:0 12px 40px #122d3366}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:'Nunito Sans',system-ui,sans-serif;color:var(--ink);background:#477a42}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;filter:saturate(.4);opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #fff4ad;outline-offset:3px}button{border:0}button,select,input,textarea{touch-action:manipulation}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.2}h1,h2,.crest,.level-medallion{font-family:'Cinzel',Georgia,serif}[hidden]{display:none!important}#game,#world{position:fixed;inset:0;width:100%;height:100%}#world{touch-action:none;display:block;background:#75a94f}.world-shade{pointer-events:none;position:absolute;inset:0;background:linear-gradient(#11372b40,transparent 25%,transparent 68%,#0e332345);box-shadow:inset 0 0 130px #173a3033}.top-hud{position:absolute;top:18px;left:22px;right:22px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;z-index:5;pointer-events:none}.top-hud>*{pointer-events:auto}.village-brand{display:flex;align-items:center;gap:12px;color:#fff4d3;background:linear-gradient(110deg,#194c3df2,#194c3dbb);padding:11px 22px 11px 12px;border:1px solid #e3ca8c70;border-radius:12px;box-shadow:0 5px 0 #0d2b24aa,var(--shadow);text-align:left}.village-brand small{font-size:10px;letter-spacing:2.6px;display:block;color:#ebd4a3;margin-bottom:3px}.village-brand strong{font-size:16px}.crest{display:grid;place-items:center;width:42px;height:50px;clip-path:polygon(0 0,100% 0,92% 76%,50% 100%,8% 76%);background:linear-gradient(140deg,#f6d984,#af803e);color:#254335;font-size:29px;text-shadow:0 1px #fff7b0}.level-medallion{display:grid;place-items:center;border-radius:50%;height:37px;width:37px;background:#294e3d;border:2px solid #dab766;color:#f7da91;font-weight:700;font-size:20px}.resource-bar{display:flex;gap:11px;background:#203d2fcf;border:1px solid #edd69570;padding:10px 18px 10px 10px;border-radius:12px;box-shadow:0 5px 0 #15302188,var(--shadow);color:#fff4d4}.resource-bar>div{display:flex;align-items:center;gap:5px;min-width:78px}.resource-bar b{font-size:18px;line-height:1.1;display:block;font-variant-numeric:tabular-nums}.resource-bar small{display:block;font-size:8px;letter-spacing:1px;color:#d4dfbe}.resource-icon{display:block;width:39px;height:42px;background-image:url('assets/resources-sheet.webp');background-size:300% 200%;background-repeat:no-repeat;filter:drop-shadow(0 3px 2px #0d2a2666)}.gold-icon{background-position:0 0}.wood-icon{background-position:50% 0}.food-icon{background-position:0 100%}.potion-icon{background-image:url('assets/potion-sheet.webp');background-position:100% 100%}.hud-actions{display:flex;gap:8px}.round-button,.map-controls button{width:42px;height:42px;border-radius:10px;border:1px solid #e9d59399;background:linear-gradient(#f4e4b8,#cbab70);box-shadow:0 4px 0 #795b35,0 5px 10px #0b2b3440;color:#314c38;font-size:23px}.chapter-card{position:absolute;top:125px;left:26px;width:290px;z-index:3;border:1px solid #efd9a1aa;border-radius:5px 5px 22px 5px;padding:23px 22px 20px;background:linear-gradient(130deg,#fff2d7f5,#e7ce97ed);box-shadow:0 5px 0 #73583655,var(--shadow)}.overline{display:block;font-size:10px;font-weight:800;letter-spacing:2.3px;color:#8f6c39;margin-bottom:10px}.chapter-card h1{font-size:31px;letter-spacing:-.6px;margin-bottom:12px;color:#234d38}.chapter-card p{font-size:13px;color:#5b6046;line-height:1.6}.chapter-progress{height:7px;background:#a9905c44;border-radius:10px;box-shadow:inset 0 1px 2px #795d3d44;overflow:hidden;margin-top:22px}.chapter-progress span{height:100%;display:block;width:0;max-width:100%;background:linear-gradient(90deg,#398664,#76ad6b);transition:width .5s}.chapter-count{font-size:10px;color:#746546;margin:6px 0 20px}.chapter-count button{background:none;color:#38624c;font-size:10px;text-decoration:underline;padding:7px 0;display:block}.gold-button{display:block;width:100%;border:1px solid #fce9a3;border-radius:8px;padding:13px 15px;font-weight:800;color:#543b21;background:linear-gradient(#f9d77b,#d7a345);box-shadow:0 4px 0 #9e6d2d,0 6px 13px #5b3a2d33;text-shadow:0 1px #fff5be;transition:transform .15s,filter .15s}.gold-button:hover{filter:brightness(1.06);transform:translateY(-1px)}.gold-button:active{transform:translateY(3px);box-shadow:0 1px 0 #9e6d2d}.quiet-button{display:block;background:#244e3d;color:#f5e6c5;border:1px solid #b9b37d66;border-radius:7px;padding:10px 14px;font-weight:700}.chapter-card .quiet-button{margin-top:10px;width:100%;font-size:12px}.map-controls{position:absolute;right:24px;bottom:137px;z-index:4;display:flex;flex-direction:column;gap:9px}.bottom-hud{display:flex;align-items:center;gap:13px;position:absolute;bottom:22px;left:26px;right:26px;z-index:5;pointer-events:none}.bottom-hud>*{pointer-events:auto}.bottom-hud>button{display:flex;align-items:center;gap:12px;padding:13px 19px;text-align:left;border-radius:13px;border:1px solid #ecd39999;color:#f7eed6;font-weight:800;box-shadow:0 5px 0 #0e3329,var(--shadow);background:linear-gradient(#2d6b4d,#204d3e)}.bottom-hud>button>span:first-child{font-size:31px;text-shadow:0 2px #17372d}.bottom-hud small{display:block;color:#ccd9bc;font-size:10px;font-weight:600;margin-top:4px}.bottom-hud .upgrade-button{margin-left:auto;background:linear-gradient(#f2cf79,#c19545);box-shadow:0 5px 0 #805b2b,var(--shadow);color:#4c3822}.bottom-hud .upgrade-button small{color:#7c5828}.bottom-hud .campaign-button{background:linear-gradient(#b66c43,#804c36);box-shadow:0 5px 0 #5b352a,var(--shadow)}.campaign-button small{color:#f0cfac}.xp-bar{display:flex;align-items:center;gap:10px;color:#fff8df;text-shadow:0 2px 3px #123529;padding:0 4px}.xp-bar strong,.xp-bar small{display:block}.xp-bar strong{font-size:13px}.xp-bar small{font-size:10px}.shield-icon{font-size:28px;color:#f5cd6c}.building-panel{position:absolute;right:25px;top:108px;width:310px;max-height:calc(100vh - 240px);overflow:auto;background:linear-gradient(120deg,#fff0cff8,#ead3a2f5);border:1px solid #f4e0aa;border-radius:12px;padding:20px;box-shadow:0 5px 0 #74562a66,var(--shadow);z-index:6}.panel-close,.dialog-close{position:absolute;top:12px;right:12px;height:32px;width:32px;border-radius:50%;background:#704e33;color:#fcebc2;font-size:23px;line-height:1;z-index:3}.building-portrait{width:180px;height:125px;margin:0 auto 10px;background-repeat:no-repeat;background-size:400% 200%;filter:drop-shadow(0 6px 3px #72502e44)}.building-panel h2{font-size:22px;margin:5px 0 10px}.building-panel p{font-size:13px;line-height:1.5;color:#6a6449}.building-actions{display:grid;gap:10px}.building-actions .quiet-button{font-size:12px}.mini-ledger{border-top:1px solid #b9986244;padding:10px 0;margin:4px 0;font-size:11px}.mini-ledger b{color:#31704c}.placement-hint{position:absolute;bottom:123px;left:50%;transform:translateX(-50%);background:#254d3eea;color:#fff2c9;border:1px solid #e9cc87;border-radius:12px;padding:12px 18px;z-index:10;box-shadow:var(--shadow);font-size:13px;white-space:nowrap}.placement-hint button{margin-left:12px;color:#453b27;background:#f2ce74;border-radius:6px;padding:7px 10px}.game-dialog{background:linear-gradient(115deg,#fff1d3,#ecd5a8);color:var(--ink);border:2px solid #d9b878;border-radius:15px;width:min(1020px,calc(100vw - 35px));max-height:88vh;padding:35px;box-shadow:0 9px 0 #5c432e77,0 25px 90px #0e302da6}.game-dialog::backdrop{background:#0a282dbb;backdrop-filter:blur(5px)}.game-dialog h2{font-size:30px;margin-bottom:13px}.dialog-intro{max-width:720px;font-size:14px;line-height:1.6;color:#6b674e}.small-dialog{max-width:560px}.small-dialog p{font-size:14px;line-height:1.6}.small-dialog a{color:#256344}.scope-note{padding:12px;border:1px solid #ad8f5277;background:#f2dfac;font-size:12px;margin:18px 0}.project-filters{display:flex;gap:12px;margin:20px 0}.project-filters input,.project-filters select{border:1px solid #bea16c;background:#fff7e1;border-radius:8px;padding:11px;color:#47543a}.project-filters input{flex:1;min-width:0}.project-filters select{max-width:240px}.projects-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.project-card{background:#fffae5bb;border:1px solid #c7ab74;border-radius:10px;padding:17px;position:relative}.project-card .overline{font-size:8px;letter-spacing:1.4px;margin-bottom:8px}.project-card h3{font-family:inherit;font-size:16px;line-height:1.4;min-height:45px;margin-bottom:10px}.project-card p{font-size:12px;color:#746c52;line-height:1.5}.project-card button{padding:9px 14px;background:#2e654b;border-radius:6px;color:#f7edce;font-weight:700}.project-card.locked{opacity:.65}.project-card.completed{border-color:#6b9a68;background:#e7e8bda6}.project-card small{display:block;font-size:10px;margin-bottom:12px;color:#7b6946}.empty-work{padding:28px;text-align:center;border:1px dashed #b69a67;border-radius:10px;color:#7b6c4d;grid-column:1/-1}.growth-stages{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.growth-stage{border:1px solid #bda16f;padding:18px;border-radius:10px;background:#f5e7c8}.growth-stage.current{border:2px solid #488463;background:#e3e6bd}.growth-stage.done{background:#d4e0bb}.growth-stage b{display:block;font-family:Georgia,serif;font-size:26px;margin-bottom:9px;color:#486947}.growth-stage p{font-size:12px;margin-bottom:0}.teacher-details{border-top:1px solid #b69969;padding-top:18px;font-size:13px}.teacher-details summary{cursor:pointer;font-weight:800}.teacher-course{display:flex;justify-content:space-between;border-bottom:1px solid #a58b6133;padding:12px 0}.inspect-row{padding:14px;border:1px solid #c9ae7a;border-radius:8px;margin-bottom:10px;background:#fff4d8}.inspect-row h3{font:800 14px/1.4 'Nunito Sans',system-ui;margin:0 0 7px}.inspect-row p{font-size:12px;line-height:1.5;color:#6b664c;margin-bottom:7px}.inspect-row button{padding:6px 10px;background:#315f46;color:#fff3cf;border-radius:5px;font-size:11px}.evidence-table{border-collapse:collapse;width:100%;font-size:11px;margin:12px 0}.evidence-table td,.evidence-table th{border-bottom:1px solid #b6996b66;padding:8px;text-align:left}.subtle{font-size:11px;color:#8b7c5c;line-height:1.5}#toast{position:absolute;bottom:120px;left:50%;transform:translate(-50%,12px);opacity:0;pointer-events:none;transition:.2s;padding:14px 22px;max-width:min(700px,90vw);color:#fff2cf;background:#234d3ef5;border:1px solid #c9ae6e;border-radius:10px;box-shadow:var(--shadow);z-index:100;font-size:13px}#toast.visible{opacity:1;transform:translate(-50%,0)}.loading-screen{position:fixed;inset:0;background:radial-gradient(ellipse at 50% 42%,#386144,#173e31 70%);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#f6e1b0;z-index:150;transition:opacity .5s}.loading-crest{font-family:Georgia,serif;font-size:65px;width:100px;height:120px;background:linear-gradient(#e9c468,#9d6b31);color:#274f3c;display:grid;place-items:center;clip-path:polygon(0 0,100% 0,90% 76%,50% 100%,10% 76%);margin-bottom:25px}.loading-screen h1{font-size:38px;margin-bottom:12px}.loading-screen p{font-size:13px;color:#b9cfad}.loading-line{margin-top:22px;width:160px;height:3px;background:linear-gradient(90deg,#8eb577,#f2d783,#8eb577);animation:glimmer 1.5s infinite}.scene-transition{position:fixed;inset:0;z-index:130;pointer-events:none;display:grid;place-items:center;opacity:0;background:#173f32;color:#e9ce8e;transition:opacity .2s;font-family:'Cinzel',Georgia,serif;letter-spacing:4px}.scene-transition.visible{opacity:1}.activity-layer{position:absolute;inset:0;z-index:30;overflow:auto;animation:scene-in .4s ease;backdrop-filter:blur(8px);background:#17372ddb}.scene-shell{min-height:100%;background:radial-gradient(ellipse at 48% 25%,#7b5a37,#302f24);color:#f4e5bf}.scene-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 28px;background:linear-gradient(#325a44,#1b4033);border-bottom:3px solid #b88e4e;box-shadow:0 5px 12px #0b251c99}.scene-header h1{font-size:23px;margin-bottom:0}.scene-header .overline{color:#cbbd86;font-size:8px;margin-bottom:5px}.back-button,.book-button{border:1px solid #c5b07788;border-radius:7px;background:#203f31;color:#eddfb9;padding:11px 15px;white-space:nowrap;font-size:12px}.book-button{background:linear-gradient(#a68043,#79572e);border-color:#d3b874}.scene-progress{display:flex;justify-content:center;gap:8px;padding:13px 20px;background:#173d31d9;flex-wrap:wrap;border-bottom:1px solid #a18a5544}.scene-progress>span{font-size:10px;color:#adba9b;padding:7px 12px;border-radius:6px;border:1px solid #6a855955;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-progress b{margin-left:7px;color:#eed794}.scene-progress .current{background:#597b44;color:#fff3cf;border-color:#ddc17e}.scene-progress .done{background:#2d6149}.scene-layout{display:grid;grid-template-columns:minmax(400px,1fr) 290px;gap:24px;max-width:1260px;margin:auto;padding:28px}.work-stage{min-width:0}.work-order{padding:24px;background:#faefd2;color:#314736;border:1px solid #b59253;border-radius:9px;box-shadow:0 5px 0 #63492d55}.work-order .overline{font-size:8px}.work-order h2{font-family:inherit;font-size:19px;line-height:1.45}.work-order p{font-size:14px;line-height:1.6}.work-ledger{background:linear-gradient(#f2e0b4,#d9bd85);color:#46533b;border:1px solid #c3a363;border-radius:9px;padding:24px;height:max-content;position:sticky;top:20px;box-shadow:0 5px 0 #5b432d55}.work-ledger .overline{font-size:8px;letter-spacing:1.5px}.work-ledger h3{font-size:20px;line-height:1.4;font-family:Georgia,serif}.work-ledger p{font-size:12px;line-height:1.6}.work-ledger-stamp{font:32px Georgia,serif;color:#648052;margin:22px 0}.work-ledger-stamp small{display:block;font:10px 'Nunito Sans',sans-serif;color:#8c784f;margin-top:4px}.scene-feedback{min-height:60px;padding-top:15px;border-top:1px solid #a78b5855}.hint-content{font-size:12px;line-height:1.7;background:#fff3ce;border:1px solid #b89858;border-radius:7px;padding:14px;white-space:pre-wrap}.interaction-surface{margin-top:20px}.source-document{font:17px/1.8 Georgia,serif;padding:18px 0;color:#4d4733;white-space:pre-wrap}.source-material p{white-space:pre-wrap}.parchment{background:#5d4a32 url('assets/parchment.webp') center/cover fixed}.parchment .work-order{background:#f3e1b8e6;border:0;box-shadow:none;border-radius:2px;padding:35px 40px}.parchment .work-stage{background:url('assets/parchment.webp') center/100% 100%;padding:20px 25px 45px;box-shadow:0 12px 35px #291b1977;min-height:560px}.parchment .interaction-surface{margin:0 15px}.mark-document{color:#463d2b;font:20px/2.1 Georgia,serif;padding:20px 12px;border-top:1px solid #af8f5155}.mark-document button{font:inherit;line-height:inherit;color:inherit;background:none;padding:1px 3px;border-bottom:3px solid transparent;border-radius:3px}.mark-document button:hover{background:#dac18777}.mark-document .marked{border-color:#ad4e34;background:#d4a86333;color:#713b29}.measurement-control{padding:25px;background:linear-gradient(135deg,#a17c49,#654e31);border:2px solid #bfa575;border-radius:9px;display:flex;align-items:center;gap:15px;box-shadow:0 7px 0 #3b3028}.measurement-control label{font-weight:700;font-size:13px}.measurement-control input{display:block;margin-top:12px;background:#f9edcf;border:2px solid #846335;border-radius:7px;padding:14px;width:180px;color:#3d4a34;font-size:24px;text-align:center}.apparatus-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.apparatus-fields fieldset,.connection-bench fieldset{border:1px solid #a58b5d;border-radius:8px;padding:15px;background:#fff0d6e8;color:#394e3b;min-width:0}.apparatus-fields legend,.connection-bench legend{background:#705537;color:#f8e7bf;border-radius:5px;padding:7px 11px;font-size:12px;font-weight:800;max-width:100%;white-space:normal}.item-options{display:flex;gap:8px;flex-wrap:wrap}.item-options button,.connection-targets button{border:1px solid #c2a66f;border-radius:7px;background:linear-gradient(#fff5db,#ddc58f);color:#4d4c36;padding:11px 13px;font-size:12px;box-shadow:0 3px 0 #aa874b55;flex:1;min-width:70px}.item-options .chosen,.connection-targets .chosen{background:linear-gradient(#537d4c,#355f43);color:#f6e8bd;border-color:#86af67;box-shadow:0 3px 0 #294d32}.apparatus-fields input{padding:12px;border:1px solid #bda16b;background:#fff7e3;border-radius:6px;color:#405238;width:100%;font-size:16px}.assembly-line{display:grid;gap:11px;padding:18px;background:linear-gradient(#5b4530,#3d3428);border:2px solid #a38652;border-radius:8px}.assembly-piece{display:flex;align-items:center;gap:14px;background:linear-gradient(#f4e1b2,#dbc18c);border:1px solid #9e7b42;border-radius:7px;padding:14px;color:#40503b;box-shadow:0 4px 0 #211e1c66}.assembly-piece>b{font:24px Georgia,serif;color:#ad8447;width:25px}.assembly-piece>span{flex:1;font-size:13px}.assembly-piece button{width:31px;height:31px;border-radius:6px;background:#345e42;color:#f3e6bd}.connection-bench{display:grid;gap:13px}.connection-targets{display:flex;gap:8px;flex-wrap:wrap}.performance-desk{padding:25px;background:#fae9c5;color:#46513c;border:1px solid #bd9d64;border-radius:8px}.performance-desk label{font-size:13px;font-weight:700;display:block}.performance-desk textarea{width:100%;display:block;margin:14px 0;padding:15px;border:1px solid #c7ab74;border-radius:5px;background:#fff7df;font:17px/1.7 Georgia,serif;color:#403e2e;resize:vertical}.attachment-label{padding:15px;border:1px dashed #b19560}.attachment-label input{display:block;margin-top:10px;max-width:100%}.bridge-stage,.forge-stage,.machine-stage,.farm-stage{height:230px;position:relative;border-radius:10px;border:1px solid #b5a16a;overflow:hidden;box-shadow:0 6px 0 #2f362744;margin-bottom:24px;background:linear-gradient(#8dc5ae,#b7d6a0)}.bridge-stage svg{position:relative;z-index:2;width:100%;height:210px;filter:drop-shadow(0 6px 2px #26332455)}.river-bed{position:absolute;inset:0 18%;background:repeating-linear-gradient(0deg,#78c5c8 0 9px,#71c1c5 9px 12px);transform:skewX(-10deg)}.river-bank{position:absolute;top:0;bottom:0;width:18%;background:linear-gradient(#8bb568,#96ad65);box-shadow:3px 0 #63594444}.left-bank{left:0}.right-bank{right:0}.bridge-deck{position:absolute;top:165px;left:8%;right:8%;height:23px;background:repeating-linear-gradient(90deg,#9e6e37 0 23px,#76512c 23px 27px);z-index:1;border:3px solid #74552b}.truss{stroke:#9c672e;stroke-width:14;fill:none;stroke-linejoin:round}.joints{fill:#c3a563;stroke:#685133;stroke-width:3}.ironbridge .truss{stroke:#637a7f}.ironbridge .bridge-deck{background:repeating-linear-gradient(90deg,#899b9c 0 23px,#52676b 23px 27px);border-color:#415b60}.ironbridge .joints{fill:#b6c4bd;stroke:#40585b}.material-plate{position:absolute;left:15px;bottom:9px;z-index:3;background:#324d3cdd;border:1px solid #d8c79766;border-radius:4px;padding:5px 9px;color:#f3e0b5;font-size:8px;letter-spacing:2px}.forge-stage{height:260px;background:radial-gradient(ellipse at 15% 80%,#b66f32,#464030 55%,#2c352a)}.furnace{position:absolute;left:20px;bottom:35px;width:135px;height:170px;background:repeating-linear-gradient(0deg,#756d59 0 23px,#4f5045 23px 27px);border:5px solid #7e7a61;border-radius:55px 55px 3px 3px;box-shadow:inset 0 0 20px #222e29,0 5px 15px #0005}.furnace-fire{position:absolute;bottom:12px;left:23px;right:23px;height:85px;border-radius:35px 35px 0 0;background:radial-gradient(ellipse at 50% 90%,#fff3a6,#f9b946 30%,#dc622a 60%,#582e24 80%);animation:fire 1.7s infinite alternate}.forge-table{position:absolute;bottom:15px;left:15px;right:15px;height:28px;border-radius:3px;background:linear-gradient(#997745,#5d472b);border:3px solid #a58853}.potion-shelf{position:absolute;left:180px;right:10px;bottom:40px;display:flex;gap:0;align-items:flex-end}.potion-item{background:none;border:1px solid transparent;border-radius:10px;padding:0 0 5px;min-width:0;flex:1;color:#ead6a9;font-size:8px;text-align:center}.potion-item:hover,.potion-item.chosen{border-color:#efca73;background:#c4ae7144}.potion-art{display:block;width:100%;height:120px;background-image:url('assets/potion-sheet.webp');background-size:300% 200%;background-position:calc(var(--potion-x)*50%) calc(var(--potion-y)*100%);background-repeat:no-repeat;filter:drop-shadow(0 5px 3px #19251c99)}.mini-potion{display:block;width:60px;height:65px;margin:auto;background-image:url('assets/potion-sheet.webp');background-size:300% 200%;background-position:calc(var(--potion-x)*50%) calc(var(--potion-y)*100%);background-repeat:no-repeat}.machine-stage{background:linear-gradient(#a6c4a3 65%,#6cb6b8 65%)}.machine-stage svg{height:100%;width:100%}.wood-beam{stroke:#815c30;stroke-width:18;fill:none}.pulley-wheel{fill:#bb964b;stroke:#74552d;stroke-width:6}.rope-line{stroke:#e3ce8d;stroke-width:5;fill:none}.cargo-box{fill:#927044;stroke:#5f4a2a;stroke-width:4}.ship-hull{fill:#8e5e32;stroke:#674b2e;stroke-width:3}.mast{stroke:#70562e;stroke-width:5;fill:#efdcaa}.farm-stage{background:linear-gradient(#9ecdb0 55%,#9eb661 55%)}.sun-orbit{position:absolute;left:40px;top:35px}.sun-disk{display:block;width:50px;height:50px;border-radius:50%;background:#ffe48a;box-shadow:0 0 35px #ffe989}.earth-orbit{position:absolute;width:210px;height:80px;border:1px dashed #d7e5bb;border-radius:50%;left:150px;top:40px;transform:rotate(-10deg)}.earth-ball{position:absolute;right:10px;top:15px;width:50px;height:50px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#add283 0 20%,#5c9f9b 25% 60%,#356e73);box-shadow:5px 5px 12px #305d4d66}.field-rows{position:absolute;bottom:-15px;left:5%;right:5%;height:105px;display:flex;gap:15px;transform:skew(-20deg);overflow:hidden}.field-rows i{display:block;flex:1;background:repeating-linear-gradient(0deg,#d4b353 0 7px,#b8a44f 7px 10px);border:5px solid #82733c}.signals-stage{display:flex;align-items:center;gap:25px;padding:25px;border:1px solid #b09b64;border-radius:10px;margin-bottom:22px;background:linear-gradient(120deg,#2f5c50,#193c33)}.signals-stage p{font-size:12px;color:#becb9f;margin:6px 0 0}.signal-rings{border:1px solid #9ab180;border-radius:50%;width:80px;height:80px;display:grid;place-items:center;color:#e6cc82;font-size:40px;box-shadow:0 0 0 10px #83a37211,0 0 0 20px #83a37211}.audio-player{background:#355947;color:#ebdcaf;padding:15px;border-radius:8px;display:flex;align-items:center;gap:15px;font-size:11px}.audio-player button{background:#e2bf68;border:1px solid #f0dc91;padding:10px 15px;border-radius:6px;color:#41452f;font-weight:800}.completed-work{max-width:700px;margin:auto;padding:70px 40px;color:#3f5138;text-align:center}.completed-work h2{font-size:34px}.completed-work p{line-height:1.7}.completed-work .gold-button{max-width:300px;margin:auto}.work-seal{font-size:70px;color:#618253;display:block;margin-bottom:25px}.document-stack{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.document-stack article{border:1px solid #b6a377;padding:15px;background:#fff5d8}.document-stack h3{font-size:14px}.document-stack p{font-size:13px}.campaign-map{height:270px;background:linear-gradient(140deg,#a6c783,#5c8e56);border:3px solid #ae9058;border-radius:10px;display:flex;justify-content:space-evenly;align-items:center;margin:20px 0;position:relative;overflow:hidden}.campaign-map:before{content:'';position:absolute;width:130%;height:35px;background:#d6bc73;transform:rotate(-10deg)}.campaign-camp{position:relative;border:2px solid #e7d192;background:#3b6542;padding:17px;color:#f5e8be;border-radius:10px;text-align:center;box-shadow:0 6px 0 #365139}.campaign-camp.locked{filter:grayscale(.8);opacity:.7}.campaign-camp b{font-size:24px;display:block}.campaign-camp span{font-size:10px}.campaign-setup{display:flex;gap:12px;flex-wrap:wrap}.campaign-setup button{padding:15px 20px;border:1px solid #b7995e;background:#f9e7ba;color:#47553a;border-radius:7px}.campaign-setup button.chosen{background:#48744e;color:#f3e5bd}.campaign-result{padding:20px;background:#e0e6bb;border:1px solid #88a26c;margin:20px 0;border-radius:8px}.status-chip{display:inline-block;padding:4px 9px;border:1px solid #b4a16c;border-radius:20px;font-size:10px;margin:3px 3px 3px 0;background:#f7e8bf;color:#627048}@keyframes fire{to{filter:brightness(1.18);transform:scaleX(.9)}}@keyframes glimmer{50%{opacity:.4;transform:scaleX(.7)}}@keyframes scene-in{from{opacity:0;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
@media(max-width:1150px){.village-brand{padding-right:12px}.village-brand strong{font-size:13px}.resource-bar{gap:5px}.resource-bar>div{min-width:63px}.resource-bar b{font-size:16px}.resource-icon{width:31px;height:35px}.chapter-card{width:250px;padding:20px}.chapter-card h1{font-size:27px}.scene-layout{grid-template-columns:minmax(360px,1fr) 255px;gap:18px;padding:22px}.scene-header h1{font-size:19px}.bottom-hud>button{padding:11px 14px}.xp-bar{display:none}.potion-resource{display:none!important}}
@media(max-width:800px){.top-hud{top:10px;left:10px;right:10px;gap:8px;flex-wrap:wrap}.village-brand{padding:7px 11px;gap:8px}.crest{width:30px;height:37px;font-size:23px}.village-brand small{font-size:8px;letter-spacing:1.3px}.village-brand strong{font-size:12px}.level-medallion{height:29px;width:29px;font-size:16px}.resource-bar{order:3;width:max-content;max-width:100%;padding:7px 11px;gap:10px}.resource-bar>div{min-width:55px}.resource-bar b{font-size:14px}.resource-bar small{font-size:7px}.resource-icon{width:27px;height:30px}.hud-actions{margin-left:auto}.round-button{width:34px;height:34px;font-size:19px}.chapter-card{top:135px;left:12px;width:215px;padding:15px 17px}.chapter-card h1{font-size:24px}.chapter-card p{font-size:11px;margin-bottom:10px}.chapter-card .overline{font-size:8px}.chapter-progress{margin-top:12px}.chapter-count{margin-bottom:11px}.chapter-card .gold-button{font-size:12px;padding:10px}.chapter-card .quiet-button{font-size:10px;padding:9px}.bottom-hud{bottom:14px;left:12px;right:12px;gap:8px}.bottom-hud>button{flex:1;padding:10px;gap:7px;font-size:11px;border-radius:9px}.bottom-hud>button>span:first-child{font-size:23px}.bottom-hud small{font-size:8px;max-width:100px;line-height:1.3}.bottom-hud .upgrade-button{margin-left:0}.map-controls{right:14px;bottom:112px;gap:7px}.map-controls button{width:34px;height:34px;font-size:20px}.building-panel{top:128px;right:12px;width:250px;padding:15px;max-height:calc(100vh - 240px)}.building-portrait{width:140px;height:100px}.building-panel h2{font-size:19px}.building-panel p{font-size:11px}.building-panel .gold-button{font-size:11px}.scene-header{padding:12px;gap:10px}.scene-header h1{font-size:16px}.back-button,.book-button{font-size:10px;padding:9px}.scene-header .overline{display:none}.scene-progress{justify-content:flex-start;flex-wrap:nowrap;overflow:auto;gap:6px;padding:9px}.scene-progress>span{flex-shrink:0;font-size:9px;max-width:165px;padding:6px}.scene-layout{display:block;padding:14px}.work-ledger{position:relative;top:auto;padding:18px;margin-top:22px}.work-ledger-stamp{display:none}.work-ledger h3{font-size:18px;margin-bottom:9px}.work-ledger .overline{font-size:8px}.work-ledger>p:not(.scene-feedback):not(.subtle){display:none}.scene-feedback{min-height:unset;padding:10px 0;font-size:13px}.work-order{padding:18px}.work-order h2{font-size:16px}.work-order p{font-size:13px}.parchment .work-stage{padding:9px 7px 25px;min-height:400px}.parchment .work-order{padding:22px 18px}.parchment .interaction-surface{margin:0 7px}.mark-document{font-size:18px;padding:10px 0}.bridge-stage,.machine-stage,.farm-stage{height:185px;margin-bottom:15px}.bridge-stage svg{height:175px}.bridge-deck{top:140px}.forge-stage{height:200px}.furnace{left:13px;bottom:30px;width:90px;height:130px}.furnace-fire{left:13px;right:13px;height:65px}.potion-shelf{left:108px;bottom:35px}.potion-art{height:95px}.potion-item{font-size:6px}.apparatus-fields{gap:8px}.apparatus-fields fieldset{padding:10px}.apparatus-fields legend{font-size:10px;padding:5px 7px}.item-options button{font-size:11px;padding:9px 7px;min-width:56px}.mini-potion{width:45px;height:49px}.game-dialog{padding:25px 20px;max-height:90vh;border-radius:11px}.game-dialog h2{font-size:24px;padding-right:20px}.projects-list{grid-template-columns:1fr}.growth-stages{grid-template-columns:repeat(2,1fr)}.project-filters{gap:7px}.project-filters input,.project-filters select{font-size:11px;padding:10px;max-width:100%}.project-filters select{width:140px}.placement-hint{white-space:normal;width:calc(100% - 30px);bottom:110px;font-size:11px}.campaign-map{height:200px}.campaign-camp{padding:11px 8px}.campaign-camp b{font-size:18px}.campaign-camp span{font-size:8px}}
@media(max-width:480px){.chapter-card{width:175px;top:133px;padding:13px}.chapter-card h1{font-size:21px}.chapter-card p{font-size:10px;line-height:1.5}.chapter-card .overline{font-size:7px}.chapter-count{font-size:8px}.chapter-count button{font-size:9px}.building-panel{width:205px}.bottom-hud .harvest-button{display:none}.apparatus-fields{grid-template-columns:1fr}.scene-header h1{font-size:14px}.back-button,.book-button{font-size:9px;padding:8px}.scene-layout{padding:10px}.scene-header{gap:7px}.document-stack{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.forge-stock{grid-column:1/-1;border:1px solid #b99b5f;background:linear-gradient(130deg,#514a34,#293f30);padding:20px;border-radius:9px;color:#f1dfb2}.forge-stock .overline{color:#d2bd7e}.forge-inventory{display:flex;gap:12px}.forge-inventory button{flex:1;min-width:0;border:1px solid #ac9b6455;border-radius:7px;background:#e0c98711;color:#f0dfb4}.forge-inventory button:hover{background:#d7c28433;border-color:#dcc584}.forge-inventory .potion-art{height:110px}.forge-stock .subtle{color:#baa983;margin:13px 0 0}.readiness-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:17px}.readiness-list button{cursor:pointer}.readiness-list button:hover{background:#e2c482}
#reviewLogin{padding:20px;background:#e2ce9d;border:1px solid #b99a62;border-radius:8px;margin:20px 0}#reviewLogin label{font-size:12px;font-weight:700}#reviewKey{display:block;margin:10px 0 15px;padding:10px;border:1px solid #ae8d54;border-radius:5px;width:100%;background:#fff5dd}.review-file{border:1px solid #b59b65;border-radius:8px;padding:22px;margin:15px 0;background:#fdf0d1}.review-file .quiet-button{display:inline-block;margin:15px 8px 0 0;font-size:12px}.submitted-artifact{font:16px/1.8 Georgia,serif;white-space:pre-wrap;border:1px solid #c4ad7b;background:#fff7e0;padding:20px;margin:15px 0;max-height:300px;overflow:auto}.review-rubric{display:grid;gap:9px;font-size:12px;margin-top:17px}.review-rubric label{display:flex;gap:10px;align-items:center}#musicButton{margin-top:12px}
.work-diagram{width:100%;height:auto;margin:20px 0 5px;display:block}.work-diagram text{font:13px 'Nunito Sans',system-ui;fill:#526044}.evidence-board{background:#fdf3d6;border:1px solid #bba371;border-radius:7px;margin:15px 0;padding:15px;overflow:auto}.evidence-board table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.5}.evidence-board td,.evidence-board th{padding:8px;border-bottom:1px solid #b49a6333;text-align:left;vertical-align:top}.evidence-board th{color:#77623d}.evidence-board td{color:#4b583e}.production-rubric{margin:15px 0;font-size:12px;color:#6f6a4c}.production-rubric summary{cursor:pointer;font-weight:800}
.deployment-lanes{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.deployment-lanes>section{padding:17px;border:1px solid #b79c66;border-radius:9px;background:#f7e8c1}.deployment-lanes h4{margin:8px 0 15px;font:700 15px 'Nunito Sans',sans-serif;color:#4f6547}.deployment-lanes .overline{font-size:8px}.deployment-lanes small{display:block;min-height:40px;font-size:10px;line-height:1.5;margin-top:13px;color:#746b4a}.deployment-road{height:80px;border-radius:8px;background:linear-gradient(100deg,#a5bc75,#caba80);position:relative;overflow:hidden;display:grid;place-items:center;font-size:35px;color:#4c704a}.deployment-road.barrier{background:repeating-linear-gradient(90deg,#a4b570 0 20px,#8d6a3c 20px 32px,#bda573 32px 45px)}.deployment-road.arrows{background:repeating-linear-gradient(45deg,#adbc83 0 25px,#758d65 25px 27px)}.deployment-lanes .campaign-setup{display:grid;grid-template-columns:1fr;gap:6px;margin-top:14px}.deployment-lanes .campaign-setup button{padding:8px;font-size:11px}.battle-line{display:flex;align-items:center;gap:12px;font-size:11px;margin:14px 0}.battle-line>b{min-width:90px}.battle-track{flex:1;height:10px;background:#9fae7f;border-radius:6px;overflow:hidden}.battle-track i{display:block;height:100%;background:#4f8654;animation:advance .9s ease-out}.battle-line>span:last-child{font-size:10px;min-width:60px}@keyframes advance{from{width:0}}@media(max-width:600px){.deployment-lanes{gap:6px}.deployment-lanes>section{padding:10px}.deployment-lanes h4{font-size:12px}.deployment-lanes .campaign-setup button{font-size:10px;padding:8px 4px}.deployment-road{height:65px}.deployment-lanes small{font-size:9px}}
.nonverbal-frame{width:100%;max-height:300px;border:1px solid #b3a36f;border-radius:9px;display:block}.visual-media-player{margin:15px 0}.visual-play{padding:10px 15px;border-radius:6px;background:#3a6a4b;color:#f8eac4;margin:12px 12px 0 0}.visual-stage svg{transition:transform .2s}
.formatted-document{font:17px/1.9 Georgia,serif;white-space:pre-wrap;color:#514832;border:1px solid #c3ab7855;background:#fff3d577;padding:18px;margin:15px 0}.mark-document button.marked{text-decoration-color:inherit;border-bottom-color:#ad4e34}
.bridge-material-stock{position:absolute;right:9px;bottom:7px;display:flex;gap:5px;z-index:3}.bridge-material-stock>span{display:block;min-width:50px;text-align:center;background:#e6d8acdd;border:1px solid #a58c56;border-radius:4px;color:#675333;font-size:7px}.bridge-material-stock i{display:block;width:48px;height:38px;background-image:url('assets/bridge-materials.webp');background-size:300% 200%;background-repeat:no-repeat}@media(max-width:600px){.bridge-material-stock{right:5px;bottom:5px}.bridge-material-stock>span{min-width:39px;font-size:6px}.bridge-material-stock i{width:36px;height:27px}.bridge-stage .material-plate{font-size:6px;letter-spacing:1px;left:6px}}
.diagram-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:15px 0;color:#6e6a4c;font-size:11px}.diagram-tools button{border:1px solid #c0a66e;border-radius:5px;background:#ead9ae;color:#596246;padding:6px 10px}.diagram-tools button.chosen{background:#4c7956;color:#fff1c6}.dna-stock{display:flex;gap:7px;margin-top:11px}.dna-stock button{flex:1;background:#c1cc9d;border:1px solid #899b6c;border-radius:5px;padding:8px;color:#3d593e;font-weight:800}
/* Readable instruments and generated unit gear remain within the village theme. */
.rework-note{padding:16px;border:1px solid #b28b46;background:#e8c78233;border-radius:9px;margin-bottom:16px;line-height:1.6}.rework-note p:last-child{margin-bottom:0}.apparatus-fields legend,.item-options button,.connection-targets button,.evidence-board table,.production-rubric{font-size:14px}.performance-desk textarea,.review-file textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #b29b66;background:#fff4d5;color:#334b3a;border-radius:7px;line-height:1.6}.unit-portrait{display:block;position:relative;width:110px;height:110px;background-repeat:no-repeat;filter:drop-shadow(0 4px 3px #1e392566)}.unit-portrait i{position:absolute;right:0;bottom:0;display:grid;place-items:center;border-radius:50%;width:28px;height:28px;background:#e4c171;border:1px solid #fff0af;color:#3d5946;font-style:normal;font-size:20px}.deployment-road{height:120px}.deployment-lanes small{font-size:13px}.deployment-lanes .campaign-setup button{font-size:14px;min-height:42px}.battle-stage{background:linear-gradient(#355944,#1e3d35);padding:20px;border:1px solid #c8ad68;border-radius:12px;color:#fff0c8}.battle-stage h3{color:#f6d58b}.battle-stage .overline{color:#d8bf80}.live-battle-lane{padding:10px 0;border-top:1px solid #d0bd8055}.live-battle-lane>b,.live-battle-lane>span{font-size:13px}.live-lane-road{position:relative;height:115px;overflow:hidden;background:linear-gradient(transparent 60%,#9b996343 60%,#9b996343 75%,transparent 75%)}.live-battle-lane.barrier .live-lane-road:before{content:'';position:absolute;left:65%;bottom:30px;width:16px;height:34px;background:repeating-linear-gradient(0deg,#947143 0 8px,#c3a16c 8px 10px);transform:rotate(10deg)}.battle-soldier{position:absolute;left:5%;bottom:5px;transition:left .42s linear;z-index:2}.battle-soldier .unit-portrait{width:90px;height:90px}.battle-soldier small{display:block;text-align:center;font-size:11px;min-height:unset;color:#f6e2b3}.battle-fort{position:absolute;right:0;bottom:8px;width:115px;height:115px;background-image:url('assets/townhall-levels.webp');background-size:400% 200%;background-repeat:no-repeat}.fort-health{position:absolute;right:16px;bottom:3px;width:76px;height:7px;background:#764c37;border:1px solid #d5c38c;border-radius:5px;overflow:hidden}.fort-health i{height:100%;display:block;background:#a9b46d;width:100%;transition:width .42s linear}.battle-line{font-size:14px}.battle-line>span:last-child{font-size:13px}@media(max-width:600px){.apparatus-fields legend,.item-options button,.connection-targets button{font-size:14px}.deployment-lanes{grid-template-columns:1fr}.deployment-lanes>section{display:grid;grid-template-columns:110px 1fr;column-gap:15px}.deployment-lanes>section>.overline,.deployment-lanes h4,.deployment-lanes>section>small{grid-column:1/-1}.deployment-lanes .campaign-setup{margin:0}.deployment-lanes small{font-size:13px;min-height:unset}.deployment-road{height:110px}.work-order p,.evidence-board table{font-size:14px}.work-order h2{font-size:18px}.source-document{font-size:17px}}
.network-dialog{width:min(1230px,95vw);max-width:none}.network-intro{display:flex;align-items:center;gap:20px;margin-bottom:18px}.network-intro h3{font-size:26px;margin-bottom:8px}.network-intro p{font-size:14px;line-height:1.6;margin:0}.clan-banner{width:130px;height:130px;flex-shrink:0;background:url('assets/clan-levels.webp') no-repeat 0 0/400% 200%;filter:drop-shadow(0 6px 4px #42382444)}.network-profile{display:flex;align-items:end;gap:10px;margin-bottom:24px}.network-profile label{flex:1}.network-profile label,.network-clan label{display:grid;gap:7px;font-size:14px}.network-dialog input,.network-dialog select{padding:12px;border:1px solid #ac945e;background:#fff7dc;color:#35523e;border-radius:7px;min-width:0;font-size:15px}.network-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:18px 0}.network-columns>section{padding:22px;border:1px solid #af955d;background:#f6e8c4b8;border-radius:12px}.network-columns p{font-size:14px;line-height:1.6}.network-clan form{display:grid;gap:12px;margin-top:16px}.network-clan ul{list-style:none;padding:0}.network-clan li{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px solid #af9c6333}.invite-code{border:1px dashed #9e8247;padding:12px;background:#fff3c7;border-radius:7px;display:flex;justify-content:space-between;gap:10px}.invite-code b{letter-spacing:3px;color:#36634c}.network-formation{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:15px 0}.network-formation label{display:grid;gap:7px;font-size:13px}.network-formation select{width:100%}.network-defense>button{margin-bottom:14px}.network-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:15px 0}.network-heading h3{margin:0}.neighbor-list{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.neighbor-card{padding:18px;border:1px solid #b29b65;border-radius:10px;background:#fff1cf}.neighbor-card.selected{outline:3px solid #55826a}.neighbor-card>b{display:block;color:#31583e;font-size:18px}.neighbor-card>span,.neighbor-card>small{display:block;font-size:13px;line-height:1.6;margin-top:6px}.neighbor-card>div{display:grid;gap:7px;margin-top:13px}.neighbor-card button{padding:10px;border:1px solid #a9a26c;border-radius:6px;background:#3e7153;color:#fff0cd;font-weight:700;font-size:13px}.network-raid-plan{padding:20px;margin:20px 0;border:1px solid #ac8f53;border-radius:10px;background:#e5d1a3}.network-raid-plan>p{font-size:14px}.network-lane-scout{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.network-lane-scout>span{display:grid;gap:5px;font-size:13px;border:1px solid #ad996355;border-radius:6px;padding:10px}.network-lane-scout small{color:#77613b}.network-ladder ol,.network-clan-ladder ol{padding-left:25px}.network-ladder li,.network-clan-ladder li{padding:8px;font-size:14px}.network-ladder li span,.network-clan-ladder li span{display:block;font-size:13px;margin-top:4px}.network-log{padding:20px;border-top:1px solid #af975b}.network-log p{font-size:14px}.network-offline{max-width:550px;margin:auto;text-align:center}.network-offline .clan-banner{margin:auto}.network-offline p{line-height:1.7}.visited-map{height:55vh;min-height:300px;position:relative;border:2px solid #8f8051;border-radius:10px;overflow:hidden}.visited-map canvas{width:100%;height:100%;display:block;position:absolute;inset:0}.visited-map>span{position:absolute;bottom:12px;left:12px;right:12px;padding:8px;background:#1c4938dd;color:#fff0c6;font-size:12px;pointer-events:none;border-radius:5px}@media(max-width:850px){.neighbor-list{grid-template-columns:repeat(2,1fr)}.network-columns{grid-template-columns:1fr}.network-intro .clan-banner{width:100px;height:100px}}@media(max-width:520px){.neighbor-list{grid-template-columns:1fr}.network-profile{display:grid}.network-columns>section{padding:16px}.network-intro{gap:10px}.network-intro h3{font-size:21px}.network-intro .clan-banner{width:75px;height:75px}.network-formation{grid-template-columns:1fr}.network-lane-scout{grid-template-columns:1fr}.visited-map{height:45vh;min-height:260px}.hud-actions{gap:5px}}
.save-notice{position:absolute;left:50%;top:105px;transform:translateX(-50%);width:min(600px,90vw);padding:14px 20px;border:1px solid #ffda84;background:#714b2df2;color:#fff3c7;border-radius:9px;font-size:14px;line-height:1.6;z-index:20;box-shadow:0 5px 20px #172e2755}
