@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{--bg:#101613;--panel:#19211c;--line:#2e3830;--muted:#98a599;--text:#e6eadf;--accent:#d6e5a3}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px DM Sans,system-ui,sans-serif}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:var(--text);background:#243028;border:1px solid #3b483b;padding:10px 14px;border-radius:7px;transition:background .15s}button:hover{background:#354535}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,h4{font-family:Manrope,system-ui,sans-serif;margin:0}h1{font-size:34px;letter-spacing:-1.3px;line-height:1.4;font-weight:600}h2{font-size:23px;letter-spacing:-.7px;font-weight:500;margin:22px 0}h3{font-size:17px;font-weight:600}p{color:var(--muted);line-height:1.65;margin:9px 0 16px}small{font-size:11px;color:var(--muted)}.shell{display:flex;min-height:100vh}.sidebar{width:235px;flex-shrink:0;background:#161e19;border-right:1px solid var(--line);padding:32px 20px 16px;position:fixed;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:14px;letter-spacing:1px;font-weight:700}.brand-icon{font-size:36px;color:var(--accent);font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:6px}.workspace-label{font-size:9px;color:#8a998c;letter-spacing:1.8px;margin:44px 12px 18px;display:flex;justify-content:space-between}.workspace-label span{font-size:8px;color:#a3b38c}.sidebar nav{display:grid;gap:7px}.sidebar nav button{display:flex;align-items:center;gap:13px;background:none;border:0;text-align:left;padding:13px;font-size:13px;color:#acb6ab}.sidebar nav button>span{font-size:20px;width:20px}.sidebar nav .selected{background:#303b29;color:#dce9b3}.sidebar nav i{width:5px;height:5px;background:#d9b97d;border-radius:50%;margin-left:auto}.sidebar-note{margin:auto 0 20px;padding:20px 13px 15px;border:1px solid var(--line);border-radius:10px;background:radial-gradient(ellipse at 0 0,#29382b,transparent)}.sidebar-note h4{font-size:13px;margin-top:16px}.sidebar-note p{font-size:12px}.tiny-orb{display:block;width:17px;height:17px;border:1px solid #bdd3a7;background:#aec6ab;border-radius:50%;box-shadow:0 0 22px #90bc8d66}.rule{border-top:1px solid var(--line);margin:15px 0}.unknown{font-size:9px;color:#cbb890;letter-spacing:1px;padding:4px 6px;border-radius:4px;background:#39342a;display:inline-block}.sidebar-note .unknown{display:block;width:fit-content;margin-top:8px}.external{display:flex;justify-content:space-between;color:#b8c4b4;font-size:12px;padding:14px 10px}.profile{margin-top:10px;display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:19px 0 0;font-size:12px}.profile>b{border-radius:50%;background:#a7b48d;color:#223122;padding:10px 13px}.profile small{display:block;margin-top:4px;font-size:9px}.profile>span{margin-left:auto;color:#b6c997}.main{margin-left:235px;width:calc(100% - 235px)}header{height:76px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 38px;font-size:11px;color:#a9b2a6}.breadcrumbs span{margin:0 13px;color:#677466}.header-right{display:flex;align-items:center;gap:9px}.header-right button{margin-left:20px;font-size:11px;padding:9px 13px}.dot{display:inline-block;width:6px;height:6px;background:#b5cb8c;border-radius:50%;margin-right:5px}.main main{padding:35px 38px 0;max-width:1700px;margin:auto}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#b8c4a7;line-height:1.7}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.page-heading h1{margin-top:8px}.page-heading p{font-size:12px;margin-top:7px}.edition{text-align:right;font-size:8px;line-height:2;color:#7e8b7f;letter-spacing:2px}.edition b{color:#b1bea8;font-weight:400}.adventure-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}.world{height:492px;position:relative;overflow:hidden;border:1px solid #4a5c4d;border-radius:12px;background:#15271f}.world canvas{width:100%;height:100%;display:block}.world-top{position:absolute;top:18px;left:18px;right:18px;display:flex;justify-content:space-between;align-items:center}.chip{padding:8px 10px;background:#16271dd9;color:#d9e5c9;font-size:8px;letter-spacing:1.7px;border:1px solid #5b71574d;border-radius:5px}.world button{background:#18271ed9;font-size:10px}.enter{position:absolute;inset:0;display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:40px;background:linear-gradient(90deg,#0a191bc9,transparent 90%)}.enter h2{font-size:36px;margin:15px 0 24px;line-height:1.2;letter-spacing:-1.3px;color:#f1f0dc;font-weight:500;text-shadow:0 2px 18px #132319}.enter .eyebrow{font-size:8px;color:#d3dfbd}.primary,.world .primary{background:var(--accent);color:#283025;border-color:var(--accent);font-size:12px;font-weight:600;padding:12px 17px}.primary:hover,.world .primary:hover{background:#e2efbd}.primary span{padding-left:20px}.world-bottom{position:absolute;bottom:0;left:0;right:0;background:#10221caa;display:flex;gap:8px;padding:12px 16px;align-items:center;color:#c5d0bb;font-size:9px;backdrop-filter:blur(5px)}.world-bottom span{flex:1}.world-bottom button{padding:6px 9px}.dpad{position:absolute;bottom:62px;right:16px;display:flex;gap:5px;touch-action:none}.dpad button{font-size:20px;min-width:42px;min-height:42px;touch-action:none}.scene-caption{padding:18px 3px;display:flex;justify-content:space-between;align-items:center}.scene-caption h3{margin-top:4px;font-size:15px}.tag{font-size:9px;padding:5px 8px;background:#273129;color:#b5c0af;border:1px solid #3c483b;border-radius:5px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:22px}.right-stack{display:flex;flex-direction:column;gap:18px}.chapter>.eyebrow{display:flex;justify-content:space-between;font-size:8px}.chapter h2{font-size:23px;line-height:1.4;margin:15px 0 10px}.chapter p{font-size:12px;line-height:1.7}.chapter>small{font-size:9px;display:block;margin-bottom:15px}.chapter>button{display:flex;align-items:center;width:100%;gap:10px;background:#202a22;border-color:#3a4537;margin-bottom:7px;font-size:10px;text-align:left;padding:12px 10px}.chapter>button b{color:#b4c28d;font-size:9px}.chapter>button span{margin-left:auto;color:#acb898}.footnote{font-size:9px;color:#8e9c8b;margin-top:17px}.row{display:flex;align-items:center;justify-content:space-between;gap:8px}.party{padding:18px 22px}.party h3{font-size:13px}.party .row>span{font-size:10px;color:#93a087}.party p{font-size:10px;margin:6px 0 14px}.party-row{display:flex;align-items:center;gap:10px;margin-top:12px}.avatar{width:30px;height:30px;background:#314133;display:grid;place-items:center;color:#d3dda9;border:1px solid #526044;border-radius:6px;font-size:20px}.party-row b{font-size:11px;font-weight:500}.party-row small{display:block;font-size:8px;margin-top:3px}.party-row button,.party-row .tag{margin-left:auto}.party-row button{padding:2px 9px}.bottom-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0}.feature{display:flex;align-items:center;gap:16px;padding:22px;text-align:left;background:#1b231d;border-color:var(--line);border-radius:9px}.feature>span{font-size:26px;color:#b8c991;align-self:flex-start}.feature small{font-size:8px;letter-spacing:1.2px}.feature h3{font-size:14px;margin:6px 0}.feature p{font-size:10px;margin:0}.feature>b{margin-left:auto;color:#a1b18e;font-weight:400}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:15px 0 25px}.toolbar input{max-width:400px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:30px}.cards .panel{padding:18px}.cards h3{margin:10px 0}.cards p{font-size:12px}.cards .eyebrow{font-size:8px}.count{font-size:12px;color:#92a67e;margin-left:10px}.location-art{height:110px;margin:-18px -18px 18px;border-radius:10px 10px 0 0;display:grid;place-items:center;background:radial-gradient(ellipse,#4f6650,#23372c)}.location-art span{font-size:55px;color:#d2d7a5;text-shadow:0 8px 20px #000}.art-1{background:radial-gradient(ellipse,#70634c,#2d332a)}.art-2{background:radial-gradient(ellipse,#386a66,#203b34)}.art-3{background:radial-gradient(ellipse,#4d5e53,#25392d)}.big-sigil{font-size:40px;color:#bfd3a1}.notice{padding:17px 20px;border:1px solid #514a36;border-radius:8px;background:#29291f;color:#c5c6ad;font-size:12px;line-height:1.7;margin-bottom:25px}.records{display:grid;gap:12px}.records article{border:1px solid var(--line);background:#18221b;border-radius:9px;padding:22px}.records h3{margin:10px 0}.records time{font-size:10px;color:#8e9c8a}.records p{margin-bottom:0;font-size:13px}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.empty{text-align:center;padding:60px 24px;border:1px dashed #3c4939;border-radius:10px}.empty>span{font-size:40px;color:#bbc99e}.empty h3{margin:20px 0}.empty p{font-size:12px}.two{grid-template-columns:1fr 1fr}.sacred-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.sacred-grid h2{font-size:21px}.sacred-grid p{font-size:12px}.chat-log{height:280px;overflow-y:auto;background:#101b16;border:1px solid #2e3d30;border-radius:8px;padding:18px}.bubble{padding:15px;background:#25342a;border-radius:8px;margin-bottom:12px;max-width:90%;overflow-wrap:anywhere}.bubble b{font-size:11px}.bubble p{margin:8px 0;white-space:pre-wrap}.bubble.mine{margin-left:auto;background:#34402a}.scroll-bottom{display:block;margin:12px 0 14px auto;border-color:#81906c;color:#d1e1af;font-size:11px}.audio{margin:20px 0;padding-top:18px;border-top:1px solid var(--line)}.audio button{margin-right:8px}.text-link{color:#dae7ae;text-decoration:underline;text-underline-offset:4px}input,textarea,select{background:#111b15;border:1px solid #3b493a;border-radius:6px;width:100%;padding:12px;color:var(--text);outline:none}textarea{resize:vertical;min-height:90px}label{display:block;font-size:11px;color:#b6c1ac;margin:18px 0 8px}form .row{margin-top:12px}form>.primary{margin-top:18px}.muted{font-size:12px}.board{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.task{padding:17px 0;border-top:1px solid #303e31;font-size:12px;display:flex;align-items:center;gap:12px}.task .unknown{min-width:22px;text-align:center}footer{display:flex;justify-content:space-between;gap:20px;color:#80927d;font-size:9px;letter-spacing:.3px;margin-top:35px;border-top:1px solid var(--line);padding:22px 0}.modal-backdrop{position:fixed;inset:0;background:#050d0ac9;z-index:5;display:grid;place-items:center;padding:20px;backdrop-filter:blur(8px)}.modal{width:550px;max-width:100%;max-height:95vh;overflow:auto;padding:30px}.modal h2{margin:20px 0 12px}.modal p{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){.world{height:570px}.chapter{padding:28px}.chapter h2{font-size:27px}.adventure-grid{grid-template-columns:minmax(0,1fr) 340px}}@media(max-width:1180px){.sidebar{width:200px;padding:25px 14px}.main{margin-left:200px;width:calc(100% - 200px)}.main main{padding:28px 24px 0}header{padding:0 24px}.adventure-grid{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.world{height:470px}.enter{padding:25px}.enter h2{font-size:29px}.feature{padding:17px;gap:10px}.feature>span{display:none}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:950px){.adventure-grid{grid-template-columns:1fr}.right-stack{display:grid;grid-template-columns:1fr 1fr}.world{height:460px}.sacred-grid{grid-template-columns:1fr}.edition{display:none}.header-right{font-size:9px}.header-right button{margin-left:4px}.world-bottom{font-size:8px}.sidebar-note{margin-top:60px}.sidebar{overflow:auto}.bottom-grid{gap:10px}.feature{padding:15px}.feature small{font-size:7px}.feature h3{font-size:12px}}@media(max-width:680px){.shell{display:block}.sidebar{position:static;width:100%;height:auto;display:block;padding:17px 18px 8px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:12px}.brand-icon{font-size:28px}.brand small{font-size:7px}.workspace-label,.sidebar-note,.external,.profile{display:none}.sidebar nav{display:flex;overflow-x:auto;margin-top:18px;gap:4px;padding-bottom:6px}.sidebar nav button{white-space:nowrap;font-size:11px;gap:6px;padding:9px 11px}.sidebar nav button>span{font-size:15px;width:16px}.main{margin:0;width:100%}header{height:48px;padding:0 18px}.breadcrumbs{font-size:9px}.header-right{font-size:8px}.header-right button{font-size:9px;padding:7px}.main main{padding:23px 18px 0}.page-heading{margin-bottom:18px}h1{font-size:28px;letter-spacing:-1px}.page-heading p{font-size:11px}.eyebrow{font-size:8px}.world{height:400px}.enter h2{font-size:31px}.enter{padding:28px}.world-bottom>span{max-width:170px;line-height:1.6}.world-top{top:12px;left:12px;right:12px}.right-stack{grid-template-columns:1fr}.chapter h2 br{display:none}.chapter{padding:22px}.bottom-grid{grid-template-columns:1fr}.feature>span{display:block}.feature small{font-size:8px}.feature h3{font-size:15px}.feature p{font-size:11px}.feature{padding:20px}.cards{grid-template-columns:1fr 1fr;gap:12px}.cards .panel{padding:15px}.cards h3{font-size:14px}.cards p{font-size:11px}.location-art{margin:-15px -15px 15px;height:90px}.board{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column}.panel{padding:20px}.sacred-grid .row h2{font-size:17px}.sacred-grid .row .tag{font-size:7px}footer{flex-direction:column;gap:10px}.records .row{align-items:flex-start;flex-direction:column}.modal{padding:22px}.scene-caption .tag{font-size:8px}.scene-caption h3{font-size:14px}.dpad{bottom:70px}.two{grid-template-columns:1fr}}.world,.world *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.dpad,.dpad button{touch-action:none;overscroll-behavior:contain}.dpad button{min-width:48px;min-height:48px}.dpad button:active{background:#526845;color:#f2ffce}

/* 2026-11-08: Scoped tablet hold override; editable fields outside the world unaffected. */
.world .dpad, .world .dpad button, .world .dpad button * {touch-action:none;overscroll-behavior:contain;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}


/* First-screen zone controls; touch targets are sized for mobile Safari/Android. */
.world canvas{cursor:crosshair;touch-action:manipulation}
.omni-touch-actions{position:absolute;left:12px;bottom:70px;display:flex;gap:6px;z-index:4;align-items:center;flex-wrap:wrap;max-width:59%}
.omni-touch-actions button,.omni-places-trigger{min-height:42px;min-width:48px;border:1px solid #9d80c9;background:#272142ef;color:#f9f0ff;font-size:11px;font-weight:700;touch-action:none;-webkit-user-select:none;user-select:none}
.omni-touch-actions button.active{background:#7547a5;color:white}
.omni-places-trigger{position:absolute;right:14px;top:69px;z-index:5;padding:8px 11px}
.omni-place-panel{position:absolute;z-index:8;left:50%;top:53%;transform:translate(-50%,-50%);width:min(86%,470px);max-height:72%;overflow:auto;border:2px solid #a88ad1;background:linear-gradient(150deg,#202637f5,#141e24f8);box-shadow:0 14px 36px #091015c9,0 0 28px #785ea766;color:#f1eddc;border-radius:12px;padding:20px;user-select:text;-webkit-user-select:text}
.omni-place-panel small{font-size:10px;color:#c9b2ed;letter-spacing:1.4px}
.omni-place-panel h3{font-size:23px;margin:9px 0}
.omni-place-panel p{font-size:13px;color:#d6d4d2}
.omni-place-buttons,.omni-place-menu{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.omni-place-buttons button,.omni-place-menu button,.omni-place-buttons a{font-size:12px;min-height:43px;background:#32463c;border:1px solid #819f8c;border-radius:7px;padding:9px 12px;color:#f1f4e9}
.omni-place-panel.omni-entered{min-height:280px;display:flex;flex-direction:column;justify-content:flex-end;background:radial-gradient(circle at 35% 18%,#9bb0ba55,transparent 56%),linear-gradient(150deg,#172c42,#102323)}
.omni-place-panel.omni-navy.omni-entered{background:linear-gradient(170deg,#243c5e,#285566 60%,#1a3141)}
.omni-place-panel.omni-bbq.omni-entered,.omni-place-panel.omni-airship.omni-entered{background:radial-gradient(circle at 35% 15%,#eaa26c99,transparent 46%),linear-gradient(180deg,#432d25,#1b2027)}
.omni-place-panel.omni-ralph.omni-entered{background:radial-gradient(circle at 50% 5%,#8d4db277,transparent 55%),linear-gradient(180deg,#372443,#181a2d)}
.omni-place-panel.omni-market.omni-entered{background:linear-gradient(150deg,#5b5439,#242c28)}
@media(max-width:680px){.world{height:430px}.omni-touch-actions{bottom:120px;max-width:90%;gap:4px}.omni-touch-actions button{min-width:44px;min-height:44px;font-size:10px}.omni-places-trigger{top:62px}.world .dpad{bottom:65px;right:7px;display:grid;grid-template-columns:repeat(2,42px);gap:3px}.world .dpad button{min-width:42px;min-height:42px}.omni-place-panel{top:49%;width:94%;max-height:78%;padding:13px}.omni-place-panel h3{font-size:18px}.omni-place-panel p{font-size:12px}}
