.workshop-editor{padding:1.2rem;margin-block:1rem;border:1px solid #79603c;background:#19170f;contain:layout style}.workshop-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.8rem;margin-block:1rem}.workshop-fields label{display:flex;flex-direction:column;gap:.4rem;min-width:0}.workshop-editor input,.workshop-editor select,.workshop-editor textarea{max-width:100%;width:100%;color:#ead7af;background:#100f0b;border:1px solid #756044;padding:.5rem}.workshop-editor input[type=checkbox]{width:1.2rem;height:1.2rem}.workshop-editor pre{max-height:300px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.workshop-editor>select{width:min(100%,360px);margin:.5rem}.journey-preview{width:min(640px,calc(100vw - 32px));max-height:85vh;overflow:auto;background:#201a10;color:#ead7af;border:2px solid #a88643;padding:1.5rem;box-shadow:0 16px 60px #000b}.journey-preview::backdrop{background:#0009}.journey-preview button{margin:.4rem}.journey-preview input{background:#100f0b;color:#ead7af;padding:.6rem;max-width:100%}.journey-preview section{border-top:1px solid #756044;padding-block:1rem}.map-actions{flex-wrap:wrap}svg [data-transport=sea]{filter:drop-shadow(0 0 2px #54c8df)}
.workshop-editor button{background:#2b2415;color:#ecd29c;border:1px solid #917345;padding:.55rem .8rem;cursor:pointer}.workshop-editor button:disabled{opacity:.45;cursor:not-allowed}.workshop-editor fieldset{min-width:0;border:1px solid #756044}.workshop-editor select:focus-visible,.workshop-editor button:focus-visible{outline:2px solid #e7c477;outline-offset:2px}
#view-map:not(.map-fullscreen){overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior-y:contain}
#view-map:not(.map-fullscreen) .map-layout{height:clamp(480px,72vh,850px);min-height:480px}
.notice-jump{display:block;color:#c9a664;text-align:right;margin:0 0 14px;font-size:.9rem}
.notice-board{margin:48px auto 24px;max-width:1500px;padding:30px 0;border-top:1px solid #725734;scroll-margin-top:24px}
.notice-board>header{text-align:center;margin-bottom:28px;color:#bda373}.notice-board h2{font-family:var(--display);color:#e5d0a6;font-size:1.9rem;margin:.5rem}
.notice-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px;align-items:stretch}
.notice-parchment{position:relative;padding:32px 28px;color:#392b18;background:radial-gradient(ellipse at 40% 30%,#edddb6 0%,#d4bb85 75%,#ae8b50 100%);border:1px solid #9e7a40;border-top:7px double #947044;border-bottom:7px double #947044;box-shadow:0 8px 18px #0004,inset 0 0 35px #79521c25;border-radius:5px 10px 7px 4px;overflow-wrap:anywhere}
.notice-parchment>span{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:#66431c}.notice-parchment h3{color:#392a16;font:700 1.4rem var(--display);margin:16px 0}.notice-parchment p{white-space:pre-wrap;line-height:1.8}.notice-parchment footer{border-top:1px solid #85663666;margin-top:24px;padding-top:16px;font-style:italic;color:#594124}
.map-fullscreen .notice-board,.map-fullscreen .notice-jump{display:none}
@media(max-width:700px){#view-map:not(.map-fullscreen) .map-layout{height:auto;min-height:0}#view-map:not(.map-fullscreen) .map-stage{height:480px}.notice-parchment{padding:24px 20px}}
[hidden]{display:none!important}
.realm-section{margin:20px 0}.realm-section h2{font-family:var(--display);color:#e6c788}.realm-canvas{border:1px solid #887143;background:#173f48}.realm-map{display:block;width:100%;max-height:78vh;min-height:360px}.realm-place{cursor:pointer}.realm-place:focus{outline:none;filter:brightness(1.4)}
.realm-editor{padding:20px;background:#19190f;border:1px solid #78603c;margin:24px 0}.realm-palette{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.realm-editor-split{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:18px;align-items:start}.realm-editor-split>div{position:sticky;top:10px}.realm-editor form{display:grid;gap:10px;min-width:0}.realm-editor label{display:flex;flex-direction:column;gap:5px}.realm-editor input,.realm-editor select,.realm-editor textarea{width:100%;min-width:0;background:#10120d;color:#ead8b3;padding:8px;border:1px solid #74603d}.realm-editor input[type=checkbox]{width:20px}.realm-editor fieldset{min-width:0;border:1px solid #78603c}.realm-data-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 0;border-bottom:1px solid #78603c}.realm-editor button,.pagination button{background:#352b18;color:#ead7a8;border:1px solid #8b7043;padding:9px;cursor:pointer}.realm-editor button:disabled,.pagination button:disabled{opacity:.4;cursor:not-allowed}.realm-palette button.active{outline:2px solid #deb65e}
.pagination{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:20px;margin:24px 0}.resource-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.resource-content button{margin:8px}
.stat-explained small{display:none;position:absolute;background:#161c13;padding:12px;border:1px solid #aa8c4a;color:#f2e4bc;max-width:280px;z-index:8;line-height:1.5}.stat-explained:hover small,.stat-explained:focus small{display:block}.stat-explained{position:relative}
.forge-toolbar{background:linear-gradient(110deg,#322b1a,#121611);padding:24px;border:1px solid #877043;margin-bottom:18px}.forge-toolbar select{padding:10px;background:#15170f;color:#e2ce98;border:1px solid #877043}.ingredient-slot.locked{opacity:.5;background:repeating-linear-gradient(135deg,#171912,#171912 8px,#22251b 8px,#22251b 10px);cursor:not-allowed}.animated-forge{border:1px solid #947440;border-radius:10px}.material-palette,.craft-archive{max-height:580px;overflow:auto}.map-fullscreen .realm-section{flex:1;min-height:0;overflow:auto}.map-fullscreen .realm-map{max-height:75vh}
@media(max-width:1000px){.realm-editor-split{grid-template-columns:1fr}.realm-editor-split>div{position:static}.realm-map{min-height:280px}.realm-data-row{grid-template-columns:1fr 1fr}}
.realm-section #region-panel,.realm-section #region-panel:has(.empty-region){position:relative;inset:auto;width:auto;height:auto;max-height:450px;overflow:auto;margin-top:1rem;min-height:0}.realm-section #region-panel:has(.empty-region){display:none}.realm-section .fullscreen-journey{display:none}.map-fullscreen .realm-section .fullscreen-journey{display:block;max-height:none;margin-top:12px}.realm-section #region-panel .region-detail{max-width:100%}.realm-section .location-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}
.local-realm-mode .map-layer-switches,.local-realm-mode .map-quality-control{display:none}.realm-place text{pointer-events:none}.realm-map{touch-action:pan-y}.realm-palette button.active{border-color:#f3d892;background:#66522d}
.game-shell{height:100dvh;overflow:hidden}.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar nav{flex-shrink:0}.local-realm-mode .graphics-quality{display:none}
.realm-palette{user-select:none}.realm-place{touch-action:none}
.forge-toolbar label{display:inline-flex;align-items:center;gap:10px;margin:4px 18px 4px 0}.forge-toolbar input{width:80px;background:#171a12;color:#eed39a;border:1px solid #877043;padding:10px}.forge-toolbar{max-width:1200px;margin-inline:auto}.craft-result span{font-size:.78rem}
.game-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:70px auto minmax(0,1fr)}
.topbar{grid-column:1/-1;min-width:0}
.sidebar.top-navigation{grid-column:1/-1;grid-row:2;position:relative;inset:auto;transform:none;width:auto;padding:6px 24px;overflow:visible;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid #514127;z-index:35}
.top-navigation>p,.top-navigation>.sidebar-legend,.top-navigation>.sidebar-user{display:none}
.top-navigation nav{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;width:100%}
.nav-group{position:relative}
.nav-group:not(:has(.nav-item:not(.hidden))){display:none}
.nav-group summary{cursor:pointer;list-style:none;padding:12px 16px;border:1px solid #514127;color:#dcc18a;background:#211c14;font-family:var(--display)}
.nav-group summary::after{content:' ▾';color:#bc934c}
.nav-group[open] summary,.nav-group:has(.nav-item.active) summary{background:#493619;border-color:#b78d42}
.nav-dropdown{position:absolute;top:calc(100% + 4px);left:0;min-width:255px;max-height:65dvh;overflow:auto;padding:8px;background:#1c1812;border:1px solid #826134;box-shadow:0 12px 26px #0009}
.nav-dropdown .nav-item{width:100%;text-align:left}
.content-area{grid-column:1;grid-row:3}
#mobile-menu{display:none}
#v3-travel .travel-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none;align-items:stretch;gap:16px}
#v3-travel .travel-card{display:flex;flex-direction:column;align-items:stretch;min-width:0;gap:16px;padding:20px;contain-intrinsic-size:auto 260px}
#v3-travel .travel-card>div{min-width:0;flex:1}
#v3-travel .travel-card h3{font-size:1.2rem;line-height:1.4;overflow-wrap:anywhere}
#v3-travel .travel-card p{font-size:.95rem;line-height:1.65;overflow-wrap:anywhere}
#v3-travel .travel-card button{width:100%;min-width:0;white-space:normal}
[data-countdown]{font-variant-numeric:tabular-nums;min-height:1.5em}
*{scrollbar-color:#8a6935 #17140f;scrollbar-width:thin}
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-track{background:#17140f}
*::-webkit-scrollbar-thumb{background:#8a6935;border:2px solid #17140f;border-radius:6px}
@media(max-width:1050px){#v3-travel .travel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar.top-navigation{padding:6px 12px}.nav-group summary{padding:10px}}
@media(max-width:650px){.game-shell{grid-template-rows:auto auto minmax(0,1fr)}.top-navigation nav{gap:4px}.nav-group summary{font-size:.8rem;padding:8px}.nav-dropdown{position:fixed;left:10px;right:10px;top:auto;margin-top:4px;min-width:0}#v3-travel .travel-grid{grid-template-columns:1fr}.content-area{padding-bottom:0}}
.design-canvas{display:block;width:100%;height:auto;max-height:560px;touch-action:none;background:repeating-linear-gradient(0deg,#10252c 0,#10252c 49px,#28434b 50px);border:1px solid #866936}
.design-canvas circle{cursor:grab}
.map-design-editor input,.map-design-editor select{max-width:100%;padding:10px;background:#1c1812;color:#e5d1a7;border:1px solid #705931}
.ui-suspended *{animation-play-state:paused!important}
