@import"https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;450;500;550;600;650;700&family=Noto+Serif+SC:wght@500;600;650;700&display=swap";:root{font-family:Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#343d34;background:#f7f8f4;font-synthesis:none;font-size:13px;font-weight:400;--green: #526647;--green-dark: #40543b;--muted: #91978c;--border: #e6e9df;--surface: #fff;--serif: "Noto Serif SC", Georgia, serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;background:none;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0}button:disabled{opacity:.5;cursor:not-allowed}button,a{transition:background .15s,color .15s,box-shadow .15s}button:focus-visible,a:focus-visible{outline:2px solid #7d9469;outline-offset:3px}a{color:inherit;text-decoration:none}button svg{flex-shrink:0}h1,h2,h3,h4,p{margin:0}fieldset{border:0;padding:0;margin:0;min-width:0}input,select,textarea{background:#fff;color:#3c4639;border:1px solid #dfe4d8;border-radius:6px;min-width:0;outline:none}input:focus,select:focus,textarea:focus{border-color:#8a9e75;box-shadow:0 0 0 3px #81956e15}input[type=checkbox]{accent-color:var(--green);width:14px;height:14px;flex-shrink:0}input[type=color]{padding:0;border:0;width:25px;height:29px;cursor:pointer}small{font-size:11px}img{object-fit:cover}.app-shell{min-height:100vh}.sidebar{width:224px;position:fixed;inset:0 auto 0 0;z-index:30;background:#f1f3ec;border-right:1px solid #e2e6da;padding:30px 17px 0;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;padding:0 9px 28px}.brand-symbol{height:39px;width:39px;display:flex;align-items:center;justify-content:center;color:#f4f4e9;background:#566a49;border-radius:11px 11px 11px 2px;flex-shrink:0}.brand>div:last-child{font-family:var(--serif);font-size:23px;font-weight:700;letter-spacing:2px;line-height:1.3}.brand div>span{font-family:Georgia,serif;font-size:11px;letter-spacing:2px;margin-left:2px;font-weight:400;vertical-align:middle}.brand small{display:block;font-family:Noto Sans SC,sans-serif;font-size:9px;letter-spacing:.7px;color:#939b88;margin-top:7px;font-weight:400}.campaign-switch{background:#fafbf7;border:1px solid #dfe4d6;border-radius:8px;min-height:67px;padding:10px 11px;justify-content:flex-start;gap:10px;width:100%;box-shadow:0 2px 3px #41533403}.campaign-switch>span{flex:1;text-align:left}.campaign-switch small{font-size:9px;color:#8b9582;display:block;margin-bottom:3px}.campaign-switch b{font-size:12px;font-weight:550;letter-spacing:.4px}.campaign-switch>svg{color:#929a89}.campaign-art{width:36px;height:39px;background:linear-gradient(140deg,#d9dfca,#acbb99);color:#5e714d;display:flex;align-items:center;justify-content:center;border-radius:5px;flex-shrink:0;border:1px solid #c9d2ba}.nav-caption{font-size:10px;color:#8f9986;letter-spacing:1px;margin:31px 12px 13px;display:flex;justify-content:space-between;align-items:center}.nav-caption span{font-size:8px;letter-spacing:1.1px;color:#afb5a6}.nav-caption.management{margin-top:32px}nav{display:flex;flex-direction:column;gap:5px}.nav-item{width:100%;min-height:43px;justify-content:flex-start;gap:12px;text-align:left;padding:0 13px;border-radius:6px;color:#7d8775;font-size:12px;position:relative}.nav-item:hover{background:#e7ecdf;color:#4e6244}.nav-item.active{background:#e0e8d6;color:#4f6342;font-weight:550}.nav-item.active:before{content:"";height:17px;width:3px;background:#6c815a;position:absolute;left:-17px;border-radius:0 2px 2px 0}.nav-item span:first-of-type{flex:1}.nav-item em{font-size:10px;font-style:normal;border:1px solid #dce1d3;border-radius:4px;padding:0 5px;line-height:17px;color:#7d8b71}.nav-item.active em{border-color:#cbd5bd}.nav-dot{width:5px;height:5px;border-radius:50%;background:#6f845b}.side-bottom{margin-top:auto;padding-top:35px}.room-note{border:1px solid #dde4d4;background:linear-gradient(135deg,#edf1e6,#e6ecdf);border-radius:8px;padding:15px 13px;margin-bottom:17px}.room-note>div{font-size:11px;display:flex;align-items:center;gap:7px;font-weight:500}.live-dot{height:6px;width:6px;background:#8b9e72;border-radius:50%;display:inline-block;flex-shrink:0}.room-note p{font-size:10px;color:#929b88;line-height:1.9;margin-top:8px}.room-note button{font-size:10px;color:#647756;width:100%;justify-content:space-between;border-top:1px solid #dce3d3;margin-top:12px;padding-top:11px}.help-button{justify-content:flex-start;color:#8b9582;font-size:11px;width:100%;padding:10px 11px 18px}.help-button svg:last-child{margin-left:auto}.profile{border-top:1px solid #e0e5d8;display:flex;align-items:center;gap:10px;padding:18px 5px 20px}.gm-avatar{width:33px;height:33px;background:#dce4d0;border:1px solid #d0dac2;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:16px;color:#6c7e58}.profile>div:nth-child(2){flex:1}.profile b{display:block;font-size:11px;font-weight:500}.profile small{display:block;font-size:9px;color:#969f8e;letter-spacing:.6px;margin-top:3px}.profile button{color:#929c87}.workspace{margin-left:224px}.topbar{height:69px;padding:0 32px;background:#fffefb;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{display:flex;align-items:center;gap:15px;color:#90988a;font-size:11px;white-space:nowrap}.breadcrumb>svg:first-of-type{color:#8c9784}.breadcrumb b{font-weight:450;color:#59634f}.divider{width:1px;height:15px;background:#e4e8de;display:inline-block}.top-actions{display:flex;align-items:center;gap:18px;font-size:10px;white-space:nowrap}.sync-state{display:flex;gap:6px;align-items:center;color:#8b997e;font-size:10px}.sync-state.error{color:#ae775c}.room-code{font-size:10px;color:#9b9f95}.room-code b{font-family:monospace;font-size:10px;letter-spacing:.5px;color:#68725f;font-weight:400}.room-code svg{margin-left:4px;color:#a1a795}.role-tag{display:inline-flex;align-items:center;gap:5px;border:1px solid #dce5d0;border-radius:4px;background:#f4f7ee;color:#6b7e58;padding:4px 7px;font-size:9px}.mobile-toggle{display:none!important}main{padding:31px 32px 0;max-width:1800px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.eyebrow{font-size:8px;color:#969f89;letter-spacing:2px;margin-bottom:9px;display:flex;align-items:center;gap:6px}.eyebrow>span{height:4px;width:4px;background:#99aa82;border-radius:50%}h1{font-family:var(--serif);font-size:28px;font-weight:600;letter-spacing:1px;color:#303c2d;line-height:1.5}h1>span{font-family:Georgia,serif;font-size:16px;font-weight:400;color:#a4aa9b;margin-left:13px;letter-spacing:0}.page-heading p{font-size:11px;color:#969d90;margin-top:8px;letter-spacing:.4px}.heading-actions{display:flex;gap:9px;padding-top:21px}.btn{display:inline-flex;gap:7px;align-items:center;justify-content:center;border:1px solid #dce2d4;background:#fffefb;border-radius:5px;padding:9px 12px;font-size:11px;color:#717e64;font-weight:450;white-space:nowrap;min-height:35px}.btn:hover{background:#f0f3eb;border-color:#c1ceb5}.btn.primary{background:#526647;color:#fff;border-color:#526647;box-shadow:0 2px 2px #44543b0b}.btn.primary:hover{background:#40573a}.btn.danger{color:#a56f63;border-color:#eadbd2;background:#fffdfb}.danger-text{color:#ae7d6c!important}.btn.danger:hover{background:#f9eee8}.overview{display:grid;grid-template-columns:1.22fr .9fr 1.05fr 1fr;background:#fffefb;border:1px solid var(--border);border-radius:7px;margin-bottom:26px;padding:19px 0;box-shadow:0 1px 3px #3d4d3002}.overview>div{padding:0 21px;display:flex;align-items:center;gap:12px;border-right:1px solid #edf0e6;min-height:39px}.overview>div:last-child{border:0}.overview-icon{width:33px;height:33px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f3f5ed;color:#8c9d76;flex-shrink:0}.overview small{display:block;color:#a0a694;font-size:9px;letter-spacing:.5px;margin-bottom:5px}.overview b{font-size:12px;font-weight:500;color:#5e6b53;display:flex;align-items:center;gap:5px;white-space:nowrap}.overview em{font-size:10px;font-style:normal;color:#919c85;font-weight:400}.overview .subtle{margin-left:auto;color:#a6ae9c}.overview .stat-dot{width:3px;height:3px;border-radius:50%;background:#b6beac;display:inline-block;margin:0 2px}.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:22px}.map-section{min-width:0}.section-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;min-height:32px}.map-tabs{display:flex;align-items:center;gap:22px;font-size:11px;color:#939c89}.map-tabs button{gap:7px}.map-tabs button.selected{font-weight:550;color:#54654b}.map-tabs select{max-width:130px;font-size:10px;border-color:#e5e9dc;padding:4px}.map-tabs .live-dot{width:5px;height:5px}.tiny-tag{padding:2px 5px;border:1px solid #e3e6da;border-radius:3px;color:#9ca48f;font-weight:400;font-size:8px;line-height:1.3;margin-left:3px}.icon-btn{height:28px;width:28px;border-radius:5px;color:#959e8c;flex-shrink:0}.icon-btn:hover{background:#eaf0e1;color:#5c704c}.map-viewport{position:relative;height:579px;overflow:hidden;border:1px solid #d3dcc7;border-radius:8px 8px 0 0;background:#e0e4d1;touch-action:none;cursor:grab;isolation:isolate}.map-viewport.panning{cursor:grabbing}.map-art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;transform-origin:center;background-size:cover;background-position:center;will-change:transform;-webkit-user-select:none;user-select:none}.map-viewport:after{content:"";top:0;right:0;bottom:0;left:0;position:absolute;box-shadow:inset 0 0 45px #6b7c4b0c;pointer-events:none;border-radius:8px 8px 0 0}.connections{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;overflow:visible}.connections line{stroke:#6f7c54;stroke-width:1.5;stroke-dasharray:4 5;opacity:.6;vector-effect:non-scaling-stroke}.location{position:absolute;display:flex;align-items:center;flex-direction:column;transform:translate(-50%,-22px);z-index:2;min-width:60px;-webkit-user-select:none;user-select:none;touch-action:none}.location.selected{z-index:4}.place-pin{position:relative;height:39px;width:39px;color:#687957;background:#e4e8d4eb;border:1px solid #9fac89;border-radius:50%;box-shadow:0 2px 7px #3f542515;cursor:move;touch-action:none}.place-pin.town{background:#f6f5e5eb;color:#74815f}.place-pin:hover{background:#f6f5e7;border-color:#758b5b;box-shadow:0 0 0 5px #80956520}.place-pin svg{pointer-events:none}.selected .place-pin{color:#fafbef;background:#6c7e52;border-color:#eff2dc;box-shadow:0 0 0 3px #7c8d5b66,0 2px 6px #4a592e33}.pin-selection{position:absolute;top:-7px;right:-7px;bottom:-7px;left:-7px;border:1px solid #78885670;border-radius:50%;pointer-events:none}.place-label{font-size:11px;letter-spacing:1px;color:#515e43;font-weight:550;margin-top:6px;padding:3px 7px 4px;line-height:1;background:#eef0dcca;border:1px solid #c9d1b53d;border-radius:4px;text-shadow:0 1px 0 #fff6;box-shadow:0 2px 4px #52643c06;white-space:nowrap}.selected .place-label{background:#6e7e55;color:#f7f7e9;text-shadow:none;border-color:#6e7e55}.place-characters{display:flex;justify-content:center;gap:0;margin-top:6px;min-height:0}.place-characters button{border-radius:50%;box-shadow:0 1px 3px #3e4d2740;cursor:grab;border:2px solid #f1f2e6;margin-left:-4px}.place-characters button:first-child{margin-left:0}.avatar{border-radius:50%;flex-shrink:0;display:block;background:#d5dec8;object-position:center 34%}.custom-icon{height:26px;width:26px;border-radius:50%;pointer-events:none}.map-top-left{position:absolute;left:15px;top:15px;pointer-events:none}.map-top-left>span{background:#f8faefec;border:1px solid #d9dfca;box-shadow:0 2px 4px #46582a05;border-radius:5px;display:flex;align-items:center;gap:7px;padding:8px 10px;font-size:9px;color:#79856a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.map-top-left i{height:10px;width:1px;background:#d4dcc5;margin:0 2px}.compass{position:absolute;right:22px;top:19px;color:#7d8c65;display:flex;align-items:center;flex-direction:column;opacity:.85;pointer-events:none}.compass>span{font-family:Georgia,serif;font-size:11px}.compass>svg{transform:rotate(-45deg);margin:3px}.compass small{font-family:Georgia;font-size:8px;display:flex;gap:25px;position:absolute;top:28px}.compass b{font-family:Georgia;font-size:8px;font-weight:400}.map-toolbar{position:absolute;top:64px;left:15px;border-radius:5px;border:1px solid #d3dcc4;box-shadow:0 2px 5px #52643b0c;background:#f9faefed;display:flex;flex-direction:column;padding:4px;gap:3px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.map-toolbar>button{width:28px;height:30px;color:#879578;border-radius:3px}.map-toolbar>button:hover,.map-toolbar>button.active{color:#5c7547;background:#e6ecd9}.map-toolbar>span{width:19px;height:1px;background:#dce2d0;margin:2px auto}.map-bottom-left{position:absolute;bottom:18px;left:19px;color:#7b8869;display:flex;align-items:flex-start;flex-direction:column;gap:5px}.scale-line{display:block;width:66px;height:6px;border:1px solid #8c9976;border-top:0}.map-bottom-left small{font-size:8px;letter-spacing:1px}.zoom-controls{position:absolute;right:15px;bottom:15px;display:flex;align-items:center;background:#f9faefeb;border:1px solid #d5ddc6;border-radius:5px;height:34px;color:#7d8d6b;padding:0 3px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.zoom-controls button{height:28px;width:28px;border-radius:4px}.zoom-controls button:hover{background:#e5ecd7}.zoom-controls span{font-size:9px;min-width:38px;text-align:center}.zoom-controls i{width:1px;height:13px;background:#d7dfca;margin:0 3px}.map-footer{border:1px solid #dde3d3;border-top:0;background:#fcfdf7;padding:12px 15px;border-radius:0 0 7px 7px;display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#9ca58e;gap:10px}.map-footer>div{display:flex;gap:17px}.map-footer span{display:flex;align-items:center;gap:6px;white-space:nowrap}.map-footer .legend-town{height:6px;width:6px;border:1px solid #9eab89;border-radius:50%;background:#f2f2de}.legend-wild{height:6px;width:6px;border:1px solid #9cae86;border-radius:50%;background:#bcc8a6}.route-legend i{width:16px;border-top:1px dashed #94a17e}.below-map{display:flex;gap:12px;align-items:center;margin-top:19px;padding:2px 4px}.field-note-icon{height:37px;width:37px;display:flex;align-items:center;justify-content:center;color:#99a687;background:#eef2e7;border:1px solid #e6ebde;border-radius:7px;flex-shrink:0}.below-map b{font-family:var(--serif);font-size:12px;font-weight:500;color:#7f8c70;letter-spacing:.7px}.below-map p{font-size:9px;color:#a1aa96;margin-top:5px;line-height:1.8}.below-map>span{margin-left:auto;font-family:Georgia,serif;font-size:7px;color:#b5bcab;letter-spacing:1.4px;white-space:nowrap}.detail-column{padding-top:44px;display:flex;flex-direction:column;gap:16px}.panel{background:#fffefb;border:1px solid var(--border);border-radius:7px;overflow:hidden;padding:0 17px 16px;box-shadow:0 2px 4px #3d4d3002}.panel-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0e7;min-height:45px;margin-bottom:17px;color:#929e85}.panel-heading h2{font-size:11px;letter-spacing:.4px;font-weight:550;color:#5b6851}.panel-heading .icon-btn{width:23px;height:23px}.location-summary{display:flex;align-items:center;gap:13px;margin-top:5px;margin-bottom:20px}.location-emblem{width:54px;height:57px;border:1px solid #dbe2cf;border-radius:6px;color:#8b9c73;background:linear-gradient(130deg,#edf0df,#e1e7d4);display:flex;align-items:center;justify-content:center;flex-shrink:0}.small-tag{display:inline-block;background:#f0f3e8;color:#91a079;border:1px solid #e7ecdd;border-radius:3px;font-size:8px;padding:1px 4px}.location-summary h3{font-family:var(--serif);font-weight:600;font-size:19px;letter-spacing:1px;color:#4f5c42;margin-top:3px}.location-summary p{font-size:9px;color:#a3aa98;margin-top:4px;letter-spacing:.5px}.location-meta{display:flex;align-items:center;justify-content:space-between;color:#9aa58b;font-size:9px}.location-meta span{display:flex;align-items:center;gap:5px}.location-meta b{font-size:9px;font-weight:400;color:#849274;font-family:monospace}.panel-divider{height:1px;background:#edf0e7;margin:17px 0 15px}.subheading{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7a896b;margin-bottom:11px}.subheading>span{font-size:8px;color:#9ca78f}.residents{display:flex;flex-direction:column;gap:7px}.resident{display:flex;align-items:center;gap:9px;width:100%;text-align:left;padding:8px 7px;border:1px solid #e8ecdf;border-radius:5px;background:#fcfdf8;cursor:grab}.resident:hover,.resident.active{background:#f1f5e9;border-color:#dfe6d4}.resident>span:nth-of-type(1){flex:1}.resident b{font-weight:500;font-size:10px;color:#657254;display:block}.resident small{display:block;font-size:8px;color:#a0aa93;margin-top:4px}.resident>.resident-hp{font-size:10px;color:#8c9b76;display:flex;gap:4px;align-items:center;font-family:Georgia,serif}.resident-hp i{width:4px;height:4px;background:#99ae7d;display:inline-block;border-radius:50%}.resident .resident-hp small{font-family:inherit;font-size:7px;margin:0;color:#a6b296}.resident>svg{color:#aab49b}.drop-hint{font-size:8px;color:#a3ad96;border:1px dashed #dce3d1;border-radius:4px;display:flex;align-items:center;justify-content:center;gap:6px;min-height:32px;margin-top:10px;letter-spacing:.2px}.force-toggle{display:flex;align-items:center;gap:5px;font-size:8px;color:#a4ac9b;margin-top:12px;cursor:pointer}.force-toggle input{width:11px;height:11px;margin:0 3px 0 0;accent-color:#9aad81}.force-toggle svg{margin-left:auto}.selected-character{display:flex;gap:11px;align-items:center;margin-bottom:18px}.selected-character>div{flex:1}.selected-character h3{font-size:13px;color:#59674e;font-weight:550;letter-spacing:.5px}.selected-character p{font-size:9px;color:#a0aa93;margin-top:5px}.group-dot{width:6px;height:6px;border-radius:50%;margin-right:3px}.resources{display:flex;flex-direction:column;gap:14px}.resource>div:first-child{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7d8b70;margin-bottom:6px}.resource>div>span{display:flex;gap:5px;align-items:center}.resource>div>span>i{width:4px;height:4px;border-radius:50%;display:inline-block}.resource small{font-size:8px;font-weight:400;color:#b0b6a5;margin-left:3px}.resource b{font-family:monospace;font-size:10px;font-weight:500;color:#7b886b}.resource b small{font-size:9px;color:#acb39f;margin-left:0}.track{height:4px;background:#edf0e5;border-radius:5px;overflow:hidden}.track>i{height:100%;display:block;border-radius:5px;opacity:.8;transition:width .3s}.mark-section{margin-top:18px}.mark-section>label,.secret-section>label{font-size:9px;color:#9ca68f;display:flex;align-items:center;gap:5px;margin-bottom:9px}.marks{display:flex;gap:5px;flex-wrap:wrap;min-height:19px}.mark{border:1px solid #dfe5d1;background:#f2f5e9;border-radius:4px;color:#93a273;font-size:8px;padding:3px 5px;min-height:21px;gap:3px}.mark>b{font-size:8px;font-weight:500;padding-left:3px;border-left:1px solid #dae1cc;margin-left:2px}.mark.temporary{background:#f6f1e4;color:#b09b6c;border-color:#e9e0c8}.mark.temporary>b{border-color:#e4d9bd}.mark.add-mark{border:1px dashed #dce3ce;color:#a6af96;background:none;font-size:8px}.secret-section{margin-top:15px;padding:12px 10px;background:#f5f3f6;border:1px solid #eae6ed;border-radius:5px}.secret-section>label{color:#a39aad;font-size:9px;display:flex;align-items:center}.secret-section>label>span{margin-left:auto;font-size:7px;color:#b2a9ba}.mark.secret{background:#ede9f0;color:#9a8aa7;border-color:#dfd7e5}.mark.secret>b{border-color:#d8cfe0}.secret-section .add-mark{border-color:#ded6e4;color:#aaa0b4}.text-btn{font-size:9px;gap:4px;color:#8c9a7b}.text-btn:hover{color:#526647}.permission-note{display:flex;align-items:flex-start;gap:8px;padding:1px 4px;color:#abb49e}.permission-note svg{flex-shrink:0;margin-top:2px}.permission-note p{font-size:8px;line-height:1.9;color:#a7b09d}.page-footer{border-top:1px solid #e7ebdf;margin-top:30px;padding:17px 0 19px;display:flex;justify-content:space-between;align-items:center;color:#b1b9a6;font-size:8px;letter-spacing:.4px}.page-footer>span{display:flex;align-items:center;gap:7px}.page-footer>span:first-child{font-size:8px}.page-footer i{height:8px;width:1px;background:#d9dfd0;margin:0 2px}.page-footer .live-dot{width:4px;height:4px;background:#9cab87}.footer-version{margin-left:12px;font-family:monospace}.segmented{display:flex;gap:5px;background:#eff2e9;border:1px solid #e6ebde;padding:4px;border-radius:6px}.segmented button{padding:7px 11px;font-size:10px;color:#97a187;border-radius:4px}.segmented button.selected{background:#fffefb;box-shadow:0 1px 4px #5c704012;color:#657753}.segmented span{background:#eaf0e0;padding:0 5px;border-radius:4px;font-size:9px;margin-left:3px}.search{display:flex;align-items:center;gap:7px;color:#9ca98c;border:1px solid #e2e7d9;background:#fffefb;padding:0 10px;border-radius:5px}.search input{background:none;border:0;font-size:10px;width:128px;padding:9px 0;box-shadow:none}.character-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.character-card{background:#fffefb;border:1px solid #e3e8da;border-radius:8px;padding:20px 20px 0;transition:box-shadow .2s}.character-card:hover{box-shadow:0 5px 18px #5264380a}.character-card-top{display:flex;align-items:center;gap:11px;margin-bottom:15px}.character-card-top>div{flex:1}.character-card h3{font-size:15px;letter-spacing:1px;font-family:var(--serif);font-weight:600;color:#5c6a4f}.character-card p{font-size:10px;color:#a0a991;margin-top:5px}.group-pill{background:#f1f4ea;border-radius:4px;padding:4px 7px;display:inline-flex;gap:6px;align-items:center;font-size:9px;color:#8f9b7d;margin-bottom:20px}.group-pill i{height:5px;width:5px;border-radius:50%;background:var(--group-color)}.character-card .resource>div:first-child{font-size:11px}.character-card .resources{gap:17px}.character-card .track{height:5px}.character-card footer{display:flex;align-items:center;gap:5px;font-size:9px;color:#a8b09c;margin-top:20px;border-top:1px solid #edf0e6;margin-left:-20px;margin-right:-20px;padding:14px 17px}.character-card footer>button{margin-left:auto;font-size:9px;color:#879876}.character-card .secret-section{margin-top:16px}.character-card .marks{min-height:23px}.character-card .mark{font-size:9px}.battle-viewport{background:#d9dece;display:flex;justify-content:center;align-items:center;height:620px}.battle-grid{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to right,#eff3d957 1px,transparent 1px),linear-gradient(to bottom,#eff3d957 1px,transparent 1px);background-size:5% 5%;pointer-events:none;border-bottom:1px solid #eff3d957;border-right:1px solid #eff3d957}.token{position:absolute;z-index:4;transform:translate(-50%,-50%);border-radius:50%;border:2px solid #e9f0d5;box-shadow:0 2px 7px #1c301c80;cursor:grab;background:#c5ccb7;width:31px;height:31px}.token img{width:100%!important;height:100%!important}.token.enemy{color:#e4e9d7;background:#775d55;border-color:#d9c5ae}.battle-info h3{font-family:var(--serif);font-size:20px;color:#68775a;margin:8px 0}.battle-info p{font-size:10px;color:#9ca88d;margin-bottom:16px}.battle-buttons{display:flex;gap:8px;margin-top:14px}.battle-buttons .btn{font-size:9px;padding:7px 9px}.empty{padding:60px 20px;text-align:center;color:#9daa8b;display:flex;align-items:center;flex-direction:column;gap:14px;width:100%}.empty h3{font-family:var(--serif);font-size:20px;font-weight:500;color:#6f805e}.empty p{font-size:11px;color:#a0aa94;line-height:1.9}.empty-resident{display:flex;align-items:center;flex-direction:column;padding:17px;color:#b9c2ad;gap:8px}.empty-resident p{font-size:9px;color:#abb69c}.muted{color:#a2ac94}.small-text{font-size:9px}.loading{padding:100px;display:flex;align-items:center;gap:12px;justify-content:center;color:#899a75}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;bottom:28px;left:calc(50% + 90px);transform:translate(-50%);max-width:90vw;background:#46573e;color:#f6f8f0;box-shadow:0 6px 30px #3345282b;border:1px solid #647a55;border-radius:7px;min-height:44px;padding:12px 15px;display:flex;align-items:center;gap:10px;font-size:11px;z-index:100}.toast>button{margin-left:12px;opacity:.6}.preview-banner{position:fixed;bottom:10px;left:50%;transform:translate(-50%);background:#f9f4e5;border:1px solid #d9cea8;color:#978455;border-radius:6px;box-shadow:0 4px 20px #77704e1a;padding:10px 15px;display:flex;align-items:center;gap:9px;z-index:40;font-size:11px;white-space:nowrap}.preview-banner button{padding:4px 9px;border:1px solid #d7c99f;border-radius:3px;margin-left:10px;font-size:10px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;background:#26331e55;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:28px}.modal{width:min(100%,460px);max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 90px #25341b30;border:1px solid #e3e7d9;border-radius:12px;background:#fcfdf8;animation:appear .2s ease}.modal.wide{width:min(100%,660px)}@keyframes appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.modal>header{display:flex;align-items:center;padding:18px 23px;gap:10px;border-bottom:1px solid #e8ecdf;flex-shrink:0}.modal>header h2{font-family:var(--serif);font-size:17px;font-weight:600;letter-spacing:.5px;color:#5d6e50}.modal>header>button{margin-left:auto}.modal-title-icon{display:flex;color:#8d9e76}.modal-body{overflow-y:auto;padding:23px;scrollbar-width:thin;scrollbar-color:#d4ddc7 transparent}.field{display:flex;flex-direction:column;margin-bottom:18px;gap:8px;min-width:0}.field>span{font-size:11px;color:#7f8e70;font-weight:500}.field>input,.field>select,.field>textarea{width:100%;padding:10px 11px;font-size:12px;border-radius:5px;min-height:39px}.field small{font-size:10px;color:#a5af99;line-height:1.7}.field input::placeholder{color:#b4bcaa;font-size:11px}.form-footer{display:flex;gap:9px;justify-content:flex-end;border-top:1px solid #e8ecdf;margin-top:22px;padding-top:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.callout{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #e3e9d7;border-radius:6px;background:#f2f6e9;color:#91a077;font-size:10px;line-height:1.9;margin-bottom:20px}.callout>svg{flex-shrink:0;margin-top:3px}.callout p{flex:1}.callout .text-btn{white-space:nowrap;align-self:center}.form-error{background:#f9eee9;border:1px solid #ecd9ce;color:#ad7c66;font-size:11px;line-height:1.8;padding:10px;border-radius:5px;margin-top:15px}.icon-picker{display:flex;gap:6px;flex-wrap:wrap}.icon-picker button{height:36px;width:36px;border:1px solid #dfe6d4;border-radius:5px;color:#9da98b;background:#f7f9f1}.icon-picker button.active{background:#e4ecd8;border-color:#9eaf85;color:#6b8252}.inline-actions{display:flex;justify-content:space-between;gap:10px}.input-note{font-size:10px;line-height:1.9;color:#a5af98;margin-top:14px}.form-character-intro{display:flex;gap:14px;align-items:center;margin-bottom:24px}.form-character-intro>div{flex:1}.form-character-intro b{font-family:var(--serif);font-size:19px;color:#667956;letter-spacing:1px}.form-character-intro p{font-size:10px;color:#a3ae95;margin-top:5px}.form-character-intro .btn{font-size:10px}.checkbox-field{display:flex;align-items:center;gap:8px;color:#8f9d7e;font-size:10px;margin:0 0 15px;cursor:pointer;line-height:1.8}.checkbox-field input{margin:0}.form-section-title{display:flex;align-items:center;justify-content:space-between;margin-top:20px;margin-bottom:13px}.form-section-title h4{font-size:12px;font-weight:500;color:#7b8d6a}.form-section-title small{font-size:9px;color:#b1baa6}.resource-editor{display:flex;flex-direction:column;gap:8px}.resource-editor>div:not(.resource-editor-labels){display:grid;grid-template-columns:26px minmax(50px,1fr) 85px 85px 24px;gap:8px;align-items:center}.resource-editor input:not([type=color]){width:100%;padding:8px;font-size:11px}.resource-editor .color-input{width:26px;overflow:hidden;display:flex;align-items:center;justify-content:center}.resource-editor-labels{display:grid;grid-template-columns:1fr 85px 85px 24px;font-size:9px;color:#a4af95;gap:8px}.form-character-intro~.danger-text{margin-top:18px}.visibility-banner{display:flex;gap:10px;background:#eef3e5;border:1px solid #e0e9d0;border-radius:6px;padding:14px;color:#8ba272;margin-bottom:20px}.visibility-banner svg{flex-shrink:0;margin-top:2px}.visibility-banner b{font-size:11px;font-weight:500}.visibility-banner p{font-size:10px;margin-top:5px;color:#a3b38f;line-height:1.8}.visibility-banner.hidden-banner{background:#f1edf4;border-color:#e3dce9;color:#9c8eaa}.visibility-banner.hidden-banner p{color:#b1a5bc}.connection-form{display:grid;grid-template-columns:1fr 25px 1fr;align-items:center;gap:12px}.connection-form>svg{margin-top:8px;color:#a3b08f}.connection-list{max-height:310px;overflow-y:auto;margin-top:17px;scrollbar-width:thin}.connection-list>div{display:flex;gap:14px;align-items:center;padding:10px 7px;border-top:1px solid #e9eddf;font-size:11px;color:#849475}.connection-list span{flex:1}.connection-list>div>svg{color:#abb89a}.room-banner{display:flex;align-items:center;gap:15px;margin-bottom:22px;padding-bottom:22px;border-bottom:1px solid #e7ecdc}.room-banner .campaign-art{width:56px;height:64px}.room-banner>div:nth-child(2){flex:1}.room-banner small{font-size:9px;color:#a2ad95}.room-banner h3{font-family:var(--serif);font-size:21px;font-weight:600;letter-spacing:1px;margin-top:4px;color:#677956}.room-banner p{font-size:10px;color:#a2ad94;margin-top:7px}.room-banner p b{font-family:monospace;font-size:11px;letter-spacing:1px;font-weight:400;color:#8a9a79}.room-option{display:flex;align-items:center;gap:13px;padding:17px 0;border-top:1px solid #e7ecdd}.room-option>div{flex:1}.room-option b{font-size:11px;font-weight:500;color:#839471;display:block}.room-option small{font-size:9px;color:#aab59d;margin-top:5px;display:block}.option-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#f0f4e8;border:1px solid #e7eddb;border-radius:6px;color:#a2b28b;flex-shrink:0}.room-option .btn{font-size:10px}.group-list>div{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #e8eddf}.group-circle{width:33px;height:33px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}.group-list>div>div{flex:1;min-width:0}.group-list b{font-size:11px;font-weight:500;color:#7c8e6b;display:block}.group-list small{font-size:8px;display:block;overflow-wrap:anywhere;color:#a9b59a;margin-top:5px}.group-list>div>span:last-of-type{font-size:8px;color:#9fac8e}.inline-form{display:flex;gap:8px;margin-top:15px}.inline-form input{min-width:0;flex:1;padding:8px 10px;font-size:11px}.login-tabs{margin-bottom:23px}.login-tabs button{flex:1}.history-list{display:flex;flex-direction:column;gap:0}.history-list>div:not(.empty){padding:13px 0;display:flex;align-items:center;gap:12px;border-bottom:1px solid #e8ecdf}.history-list>div>div{flex:1}.history-list b{font-size:11px;color:#80926b;font-weight:450;display:block}.history-list small{font-size:9px;color:#a7b298;display:block;margin-top:6px}.history-dot{width:7px;height:7px;border:1px solid #a4b48c;background:#e0e9d4;border-radius:50%}.history-list .btn{font-size:9px;min-height:28px;padding:5px 8px}.location-list{display:flex;flex-direction:column;gap:9px}.location-list>button{display:flex;width:100%;gap:13px;text-align:left;padding:10px;border:1px solid #e5ebd9;border-radius:6px;justify-content:flex-start}.location-list>button:hover{background:#f0f5e7}.location-list .location-emblem{width:40px;height:43px}.location-list>button>span:nth-child(2){flex:1}.location-list b{font-size:12px;color:#7a8e66;font-weight:450;display:block}.location-list small{font-size:9px;color:#a2af93;display:block;margin-top:5px}.location-list>button>.muted{font-size:9px}.location-list svg:last-child{color:#acb89d}.choice-list{display:flex;flex-direction:column;gap:9px;margin-top:15px}.choice-list .btn{justify-content:flex-start}.choice-list .btn svg:last-child{margin-left:auto}.help-hero{text-align:center;background:radial-gradient(#e8efda,#f4f7ec);border:1px solid #e8eedc;padding:23px;border-radius:8px;margin-bottom:25px;color:#8ea275}.help-hero h3{font-family:var(--serif);font-size:20px;letter-spacing:1px;font-weight:500;color:#71865b;margin-top:9px}.help-hero p{font-size:10px;color:#9cad87;line-height:1.8;margin-top:10px}.help-step{display:flex;align-items:flex-start;gap:17px;margin-bottom:24px}.help-step>span{font-family:Georgia,serif;font-size:24px;color:#cad6b7}.help-step h4{font-size:12px;color:#7e9369;font-weight:500;margin:3px 0 9px}.help-step p{font-size:11px;color:#9dae8b;line-height:2}.battle-choices{display:flex;gap:15px;flex-wrap:wrap;margin-top:14px}.modal-body h4{font-size:12px;font-weight:500;color:#81946d}.battle-character-choice{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0 20px}.battle-character-choice>label{display:flex;gap:9px;align-items:center;background:#f5f8ee;border:1px solid #e3ebd6;padding:10px;border-radius:5px;font-size:11px;color:#8b9c79;cursor:pointer}.battle-character-choice small{display:block;font-size:8px;color:#a6b497;margin-top:4px}.nav-shade{display:none}@media(min-width:1500px){.sidebar{width:240px}.workspace{margin-left:240px}main{padding:35px 40px 0}.topbar{padding:0 40px}.map-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}.map-viewport{height:650px}.battle-viewport{height:680px}.panel{padding-left:20px;padding-right:20px}.detail-column{gap:20px}.resource>div:first-child{font-size:11px}.panel-heading{min-height:49px}.location-summary{margin-top:9px;margin-bottom:23px}.overview{padding:22px 0}.nav-item{min-height:45px}.character-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1200px){.sidebar{width:200px;padding-left:13px;padding-right:13px}.workspace{margin-left:200px}.brand{padding-left:4px;gap:8px}.brand>div:last-child{font-size:21px}.brand small{font-size:8px}.brand div>span{font-size:9px}.topbar{padding:0 22px}.top-actions{gap:11px}.breadcrumb{gap:10px}.top-actions .room-code{display:none}main{padding:28px 22px 0}.map-layout{grid-template-columns:minmax(0,1fr) 252px;gap:17px}.panel{padding-left:13px;padding-right:13px}.map-viewport{height:556px}.battle-viewport{height:540px}.overview>div{padding:0 13px;gap:8px}.overview-icon{height:28px;width:28px}.overview b{font-size:11px}.overview em{font-size:9px}.overview small{font-size:8px}.below-map>span{display:none}.map-footer>span:last-child{display:none}.map-tabs{gap:12px}.map-tabs button{font-size:10px}.map-tabs .tiny-tag{display:none}.place-pin{height:34px;width:34px}.place-pin svg{width:20px}.place-label{font-size:10px;letter-spacing:.5px;padding:3px 5px}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-item.active:before{left:-13px}.page-heading p{font-size:10px}.page-heading .btn{font-size:10px;padding:9px 10px}.heading-actions{gap:7px}.section-tools .search input{width:95px}.segmented button{font-size:9px;padding:7px 8px}}@media(max-width:980px){.sidebar{width:180px;padding-left:10px;padding-right:10px}.workspace{margin-left:180px}.brand-symbol{width:32px;height:35px}.brand>div:last-child{font-size:19px}.brand div>span{font-size:8px;letter-spacing:1px}.brand small{font-size:7px;letter-spacing:0}.brand{gap:7px}.nav-caption{font-size:9px;margin-left:8px;margin-right:8px}.nav-caption span{font-size:7px;letter-spacing:.4px}.campaign-switch{padding:10px 8px;gap:8px}.campaign-switch .campaign-art{width:29px;height:35px}.campaign-switch b{font-size:11px}.campaign-switch small{font-size:8px}.nav-item{font-size:11px;padding:0 10px;gap:9px}.nav-item.active:before{left:-10px}main{padding:25px 20px 0}.topbar{padding:0 20px}.breadcrumb>svg:first-of-type,.breadcrumb>.divider{display:none}.top-actions .sync-state span{display:none}.top-actions{gap:10px}.page-heading{align-items:flex-start}.heading-actions{padding-top:26px}.page-heading .btn:first-child{display:none}h1{font-size:26px}h1>span{font-size:14px}.overview{grid-template-columns:1fr 1fr;padding:0;margin-bottom:20px}.overview>div{padding:14px 17px;border-bottom:1px solid #edf0e6}.overview>div:nth-child(2){border-right:0}.overview>div:nth-child(3){border-bottom:0}.overview>div:last-child{border-bottom:0}.map-layout{grid-template-columns:minmax(0,1fr)}.detail-column{padding-top:0;display:grid;grid-template-columns:1fr 1fr;align-items:start}.permission-note{grid-column:1/-1}.map-viewport{height:580px}.panel{padding-left:17px;padding-right:17px}.below-map{margin-bottom:7px}.map-footer>span:last-child{display:flex}.page-footer{font-size:7px}.page-footer>span:first-child{font-size:7px}.map-tabs .tiny-tag{display:block}.character-grid{gap:15px}.character-card{padding-left:16px;padding-right:16px}.character-card footer{margin-left:-16px;margin-right:-16px}.section-tools .segmented{flex-wrap:wrap}.section-tools .search{display:none}}@media(max-width:700px){.sidebar{width:224px;transform:translate(-100%);transition:transform .2s;padding-left:17px;padding-right:17px}.sidebar.mobile-open{transform:translate(0)}.nav-shade{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#2f402766;z-index:25;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.workspace{margin-left:0}.mobile-toggle{display:inline-flex!important}.brand{padding-left:7px}.brand-symbol{width:39px;height:39px}.brand>div:last-child{font-size:23px}.brand div>span{font-size:11px;letter-spacing:2px}.brand small{font-size:9px;letter-spacing:.3px}.brand{gap:11px}.nav-caption{font-size:10px;margin-left:12px;margin-right:12px}.nav-caption span{font-size:8px;letter-spacing:1px}.campaign-switch{padding:10px 11px;gap:10px}.campaign-switch .campaign-art{width:36px;height:39px}.campaign-switch b{font-size:12px}.nav-item{font-size:12px;padding:0 13px;gap:12px}.nav-item.active:before{left:-17px}.topbar{height:57px;padding:0 15px}.breadcrumb{gap:8px;font-size:10px}.top-actions .divider{display:none}.top-actions{gap:11px}.role-tag{font-size:8px;padding:3px 5px}.top-actions .sync-state svg{width:14px}.topbar .breadcrumb>span:not(.divider){max-width:65px;overflow:hidden;text-overflow:ellipsis}.breadcrumb>.icon-btn{width:23px}main{padding:24px 16px 0}.page-heading{gap:10px;margin-bottom:20px}.eyebrow{font-size:6px;letter-spacing:1.4px;margin-bottom:7px}h1{font-size:25px;letter-spacing:.5px}h1>span{font-size:13px;margin-left:9px}.page-heading p{font-size:9px;margin-top:6px;max-width:230px;line-height:1.9}.heading-actions{padding-top:23px}.heading-actions .btn{min-height:32px;font-size:9px;padding:8px 9px;gap:4px}.heading-actions .btn svg{width:13px}.overview{margin-bottom:20px}.overview>div{padding:13px 12px;gap:9px}.overview b{font-size:10px}.overview small,.overview em{font-size:8px}.overview .overview-icon{height:28px;width:28px}.overview .overview-icon svg{width:16px}.overview .subtle{display:none}.map-viewport{height:510px}.battle-viewport{height:440px}.map-footer{padding:10px 9px;font-size:7px}.map-footer>div{gap:10px}.map-footer>span:last-child{display:none}.map-tabs{font-size:10px;gap:20px}.map-tabs .tiny-tag{font-size:7px}.detail-column{grid-template-columns:1fr;gap:16px}.panel{padding:0 17px 17px}.permission-note{margin-top:-5px}.detail-column .character-panel{display:block}.selected-character h3{font-size:14px}.resources.small{gap:14px}.resource>div:first-child{font-size:11px}.resource small{font-size:9px}.track{height:5px}.resource b{font-size:11px}.mark-section>label,.secret-section>label{font-size:10px}.marks .mark{font-size:9px}.mark>b{font-size:9px}.character-grid{grid-template-columns:1fr}.section-tools>.segmented{width:100%;justify-content:space-around}.section-tools>.segmented button{font-size:9px;padding:7px}.page-footer{margin-top:25px;gap:12px;align-items:flex-start;flex-direction:column;padding-bottom:22px}.page-footer>span{font-size:8px}.page-footer>span:first-child{font-size:8px}.page-footer .footer-version{margin-left:20px}.modal-backdrop{padding:14px}.modal{max-height:92vh;border-radius:9px}.modal>header{padding:17px}.modal-body{padding:18px}.form-grid{gap:0 12px}.form-character-intro .btn{font-size:9px;padding:8px}.form-character-intro>div>b{font-size:17px}.form-character-intro .avatar{height:45px!important;width:45px!important}.form-character-intro p{font-size:9px}.form-section-title small{display:none}.resource-editor>div:not(.resource-editor-labels){grid-template-columns:23px minmax(40px,1fr) 57px 57px 20px;gap:5px}.resource-editor-labels{grid-template-columns:1fr 57px 57px 20px;gap:5px}.resource-editor input:not([type=color]){padding:8px 5px;font-size:10px}.checkbox-field{font-size:9px}.room-option{gap:9px}.room-option small{font-size:8px;max-width:170px;line-height:1.8}.room-option .btn{font-size:9px;padding:7px}.room-option .option-icon{height:30px;width:30px}.callout{font-size:9px;padding:11px}.callout .text-btn{font-size:8px}.room-banner>div:nth-child(2)>h3{font-size:19px}.room-banner .campaign-art{width:45px;height:55px}.group-list>div{flex-wrap:wrap}.group-list>div>span:last-of-type{display:none}.toast{left:50%;bottom:20px;width:max-content;max-width:90vw;font-size:10px}.help-hero h3{font-size:17px}.help-step p{font-size:10px}.preview-banner{font-size:9px;padding:9px 10px;gap:5px}.preview-banner button{margin-left:4px;font-size:9px}.place-pin{height:31px;width:31px}.place-pin svg{width:19px}.place-label{font-size:9px;padding:3px 4px}.place-characters .avatar{width:20px!important;height:20px!important}.map-toolbar{left:9px;top:56px}.map-toolbar>button{width:25px;height:27px}.map-top-left{left:9px;top:10px}.map-top-left>span{font-size:8px;padding:7px 8px}.compass{right:15px;top:13px}.compass svg{width:27px}.compass small{top:24px}.below-map b{font-size:11px}.below-map p{font-size:8px}.below-map{gap:10px}.battle-character-choice{gap:6px}.battle-character-choice>label{padding:9px 6px;gap:5px}.battle-character-choice .avatar{width:25px!important;height:25px!important}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.token-name{position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%);background:#f4f5e7ed;color:#526347;white-space:nowrap;border:1px solid #a9b394;border-radius:3px;font-size:8px;letter-spacing:.5px;line-height:1.4;padding:1px 4px;pointer-events:none;box-shadow:0 1px 3px #334b2b33}.token.enemy .token-name{color:#7b665a;background:#f0e9dcf0;border-color:#b8a899}.field textarea{resize:vertical;line-height:1.8}.mobile-bottom-nav,.mobile-quick-actions,.mobile-map-guide,.mobile-map-tools,.tap-instruction{display:none}.value-stepper{display:flex;align-items:center;border:1px solid #dfe4d8;border-radius:5px;background:#fff;overflow:hidden}.value-stepper>input{border:0;box-shadow:none!important;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;padding:8px 1px!important;text-align:center;min-width:0;flex:1;width:32px!important}.value-stepper>input::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.value-stepper>button{width:22px;align-self:stretch;flex-shrink:0;color:#9aac85}.value-stepper>button:hover{background:#eaf1df}.map-viewport.is-locked{touch-action:pan-y;cursor:default}.token.selected{box-shadow:0 0 0 3px #edf2c987,0 2px 7px #1c301c80}@media(max-width:700px){.mobile-bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:32;flex-direction:row;gap:0;border-top:1px solid #dfe6d4;background:#fbfcf6f5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:7px 7px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -3px 16px #52643808}.mobile-bottom-nav>button{display:flex;flex-direction:column;flex:1;min-height:47px;gap:4px;position:relative;color:#a1ad92;border-radius:6px;font-size:10px}.mobile-bottom-nav>button.active{color:#60764b;background:#eef3e5}.mobile-bottom-nav>button.active:after{content:"";position:absolute;top:-8px;height:2px;width:23px;background:#7d9466;border-radius:0 0 4px 4px}.mobile-quick-actions{display:flex;position:fixed;bottom:calc(76px + env(safe-area-inset-bottom));left:12px;right:12px;min-height:61px;padding:9px 11px;z-index:22;background:#fffef9f5;border:1px solid #dae3cd;border-radius:9px;box-shadow:0 4px 24px #3f55251a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);align-items:center;gap:14px}.quick-character{flex:1;justify-content:flex-start;gap:10px;min-height:40px;text-align:left;min-width:0}.quick-character>span{flex:1}.quick-character b{display:block;font-size:12px;font-weight:550;color:#647a50}.quick-character small{display:block;font-size:9px;color:#a1b08e;margin-top:4px}.quick-character>svg{color:#a9b69a}.mobile-quick-actions .btn{min-height:42px;font-size:12px;padding:10px 14px}.tap-active{background:#e9eddf;color:#75895e;border-color:#c0d0ac}.tap-instruction{display:flex;position:fixed;bottom:calc(148px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);z-index:23;background:#526647ef;color:#f7faef;border:1px solid #738d5e;border-radius:6px;padding:10px 13px;gap:8px;font-size:11px;white-space:nowrap;box-shadow:0 4px 18px #40533322}.mobile-map-guide{display:flex;align-items:center;gap:6px;color:#a4b193;font-size:9px;padding:0 2px 10px;min-height:30px}.mobile-map-guide button{margin-left:auto;color:#859b6c;font-size:9px;border-bottom:1px dashed #bcc9aa;min-height:27px}.mobile-map-tools{display:inline-flex;margin-left:auto}.section-tools>.icon-btn{width:36px;height:36px}.map-viewport{height:435px}.battle-viewport{height:420px}.map-toolbar{padding:3px;top:60px}.map-toolbar>button{width:35px;height:38px}.zoom-controls{height:43px}.zoom-controls button{width:34px;height:38px}.zoom-controls span{font-size:10px}.map-top-left>span{padding:8px 9px;font-size:9px}.map-viewport .place-pin{width:38px;height:38px}.map-viewport .place-pin>svg{width:23px}.place-label{min-height:23px;font-size:10px}.place-characters button{width:31px;height:31px;background:#edf2e0}.place-characters .avatar{width:27px!important;height:27px!important}.token{width:31px;height:31px}.token-name{font-size:9px;min-height:16px;padding:1px 4px}.page-footer{padding-bottom:155px}.toast{bottom:155px;font-size:11px;padding:13px 15px}.preview-banner{bottom:80px}.btn{min-height:43px;font-size:12px}.icon-btn{min-width:36px;min-height:36px}.resident{min-height:60px}.resident b{font-size:12px}.resident small{font-size:10px}.drop-hint{display:none}.force-toggle{font-size:11px;min-height:36px;gap:7px}.force-toggle input{width:17px;height:17px}.mark{min-height:31px;padding:5px 8px}.marks .mark{font-size:10px}.mark.add-mark{min-width:58px}.mark-section>label,.secret-section>label{font-size:11px;margin-bottom:10px}.permission-note p{font-size:10px}.modal-backdrop{padding:0;align-items:flex-end;background:#26331e66}.modal,.modal.wide{width:100%;border-radius:16px 16px 0 0;max-height:92dvh;border:0;border-top:1px solid #edf1e3;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -10px 60px #26351f28}.modal:before{content:"";width:35px;height:4px;background:#d3ddc5;border-radius:5px;margin:9px auto 0;flex-shrink:0}.modal>header{padding:12px 20px 14px}.modal>header h2{font-size:18px}.modal-body{padding:20px 20px 25px}.field>input,.field>select,.field>textarea{font-size:16px;min-height:46px;padding:11px}.field>span{font-size:12px}.field>small{font-size:11px}.form-footer{position:sticky;bottom:-25px;background:#fcfdf8f5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:15px 0 20px;margin-bottom:-20px;z-index:2}.form-footer>.btn{flex:1;min-height:46px;font-size:13px}.resource-editor>div:not(.resource-editor-labels){grid-template-columns:23px minmax(48px,1fr) 132px 54px 22px;gap:5px}.resource-editor-labels{grid-template-columns:1fr 132px 54px 22px;gap:5px}.resource-editor input:not([type=color]){font-size:13px;min-height:44px;padding:8px 4px}.resource-editor .value-stepper{min-height:46px}.value-stepper>button{width:44px;min-height:44px;flex-shrink:0}.value-stepper>input{font-size:16px!important;width:36px!important;min-width:0!important}.resource-editor .icon-btn{min-width:22px;padding:0}.checkbox-field{font-size:11px;min-height:40px;gap:10px;line-height:1.7}.checkbox-field input{width:18px;height:18px}.room-option small{font-size:10px}.room-option b{font-size:12px}.room-option .btn{font-size:10px;min-height:42px}.room-option .option-icon{display:none}.callout{font-size:11px}.segmented button{min-height:35px}.connection-list>div{min-height:46px;font-size:12px}.connection-form{gap:7px;grid-template-columns:1fr 20px 1fr}.connection-form .field>select{font-size:14px;padding:10px 6px}.location-list>button{min-height:69px}.location-list b{font-size:14px}.location-list small{font-size:10px}.group-list b{font-size:13px}.inline-form input{font-size:16px;min-height:45px}.choice-list>.btn{min-height:51px;font-size:13px}.selected-character h3{font-size:15px}.selected-character p{font-size:11px}.help-step p{font-size:12px}.help-step h4{font-size:14px}.room-banner p{font-size:12px}.room-banner small{font-size:10px}.character-card h3{font-size:18px}.character-card p{font-size:12px}.character-card .resource>div:first-child{font-size:12px}.character-card footer{font-size:11px}.character-card footer>button{font-size:11px;min-height:30px}.character-card .resource b{font-size:12px}.character-card .group-pill{font-size:11px}.profile{padding-bottom:25px}.quick-character .avatar{border:1px solid #d4dec6}.mobile-bottom-nav~.modal-backdrop{z-index:70}}@media(max-width:370px){.resource-editor>div:not(.resource-editor-labels){grid-template-columns:19px minmax(36px,1fr) 112px 48px 18px;gap:4px}.resource-editor-labels{grid-template-columns:1fr 112px 48px 18px}.value-stepper>button{width:34px}.form-grid{gap:0 9px}}
