/* Small handmade contours, using the existing photographic brick and local tag font. */
@font-face{font-family:HainTagUi;src:url('/assets/board-fonts/SedgwickAveDisplay-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:HainMarkerUi;src:url('/assets/board-fonts/PermanentMarker-Regular.ttf') format('truetype');font-display:swap}
.player-app[data-in-world=true] .top{background:linear-gradient(100deg,#30203de8,#3b2548e8),url('/competition/assets/werkhain-wall-v08.png') center 34%/390px auto;border:0;position:relative}
.player-app[data-in-world=true] .top:after{content:'';position:absolute;bottom:0;left:0;right:0;height:4px;background:linear-gradient(95deg,#d5a7e055,#f4ce58aa 38%,#dd80ae66 72%,transparent);clip-path:polygon(0 30%,24% 0,63% 47%,100% 0,97% 55%,61% 100%,22% 60%,0 100%);pointer-events:none}
.player-app[data-in-world=true] .top>a{font-family:HainTagUi,cursive;font-size:18px;letter-spacing:.5px;transform:rotate(-3deg);text-shadow:1px 1px #170e24}
.player-app[data-in-world=true] .top #phone{border-radius:39% 19% 28% 24%/18% 35% 19% 34%;transform:rotate(1deg);border-color:#c3a2c8aa;background:linear-gradient(#493054e3,#362141e8),url('/competition/assets/werkhain-wall-v08.png') 30% 40%/240px auto}
.player-app[data-in-world=true] .top .language-switch{border-radius:26% 18% 25% 16%;transform:rotate(-1deg);box-shadow:none}.player-app[data-in-world=true] .language-switch button{border-radius:35% 25% 29% 24%;font-family:HainMarkerUi,sans-serif;font-size:10px}
.player-app[data-in-world=true] #component .component-bar{background:#2c1c37;border:0}.player-app[data-in-world=true] #component .component-bar button{border-radius:18% 31% 20% 29%;font-family:HainMarkerUi,sans-serif;transform:rotate(-2deg);border-color:#b58bbe99}
.mobile-world .world-heading{left:40px;right:44px;top:6px;padding:4px 8px 5px;border-radius:36% 9% 24% 7%/19% 31% 21% 39%;transform:rotate(-.6deg);background:linear-gradient(95deg,#30203dec,#3b2448dc),url('/competition/assets/werkhain-wall-v08.png') 40% 60%/280px auto;overflow:visible}
.mobile-world .world-heading:after{content:'';pointer-events:none;position:absolute;left:6%;right:21%;bottom:-2px;height:4px;background:#d88bb0;clip-path:polygon(0 35%,14% 8%,57% 21%,96% 0,100% 39%,58% 81%,14% 64%,2% 100%);opacity:.8}.mobile-world .world-heading strong{font-family:HainMarkerUi,sans-serif;font-weight:400;font-size:10px}
.mobile-world .floor-picker{gap:5px;left:5px}.mobile-world .floor-picker button{border-radius:42% 27% 38% 24%/26% 36% 23% 42%;transform:rotate(-5deg);border-color:#b995c0b3;background:linear-gradient(#3d274be8,#30203dec),url('/competition/assets/werkhain-wall-v08.png') 20% 60%/130px auto;box-shadow:1px 1px #21142d80;font-family:HainTagUi,sans-serif;font-size:16px;font-weight:400}.mobile-world .floor-picker button:nth-child(2){transform:rotate(4deg);border-radius:29% 44% 26% 38%/37% 22% 43% 26%;font-family:HainMarkerUi,sans-serif;font-size:14px}.mobile-world .floor-picker button:last-child{transform:rotate(-3deg)}
.mobile-world .map-tools>summary{border-radius:40% 26% 43% 21%/26% 48% 23% 39%;transform:rotate(5deg);background:linear-gradient(#3b2648e8,#30203deb),url('/competition/assets/werkhain-wall-v08.png') 60% 30%/180px auto;border-color:#c29bcea8}
.mobile-world .map-tools-panel{border-radius:5% 13% 7% 9%/4% 8% 3% 7%;background:linear-gradient(#382342ee,#2c1e36ef),url('/competition/assets/werkhain-wall-v08.png') center/270px auto;border-color:#ac89ba;box-shadow:2px 3px #180f23aa}.mobile-world .map-tools-panel button,.mobile-world .map-return{border-radius:15% 8% 17% 7%/18% 23% 20% 26%;border-color:#ba98c68c;background:#493052bd}.mobile-world .map-tools-panel>button:nth-child(even){transform:rotate(-.7deg)}.mobile-world .map-return{font-size:11px;min-height:30px;padding:7px;text-align:center;color:#fff0d9;text-decoration:none;border:1px solid #ba98c68c}
.mobile-world .world-context button{border-radius:15% 8% 17% 7%/22% 31% 19% 29%;transform:rotate(-1deg);font-family:HainMarkerUi,sans-serif}.mobile-world .world-label .label-symbol{transform:rotate(-5deg)}.mobile-world .world-label:nth-child(even) .label-symbol{transform:rotate(4deg)}
.mobile-world .game-frame{opacity:.65}.mobile-world .game-frame .edge-stone{max-width:38px;max-height:13px;filter:saturate(.65);border-radius:30% 14% 26% 12%;clip-path:polygon(3% 13%,37% 3%,94% 0,100% 79%,87% 98%,5% 90%,0 46%)}
.standalone-world .language-switch{position:absolute;top:4px;right:5px;z-index:9;padding:1px;gap:2px;background:#30203de8;border:1px solid #b48bbe88;border-radius:25% 14% 20% 13%;transform:rotate(1deg)}.standalone-world .language-switch button{min-width:26px;min-height:25px;padding:2px 4px;font-size:9px;box-shadow:none;border:0}.standalone-world .world-heading{left:8px;right:75px}.standalone-world .map-tools{top:46px}.standalone-world .floor-picker{top:46px}
@media(prefers-reduced-motion:reduce){.mobile-world .world-label .label-symbol{transform:none}}

/* Zoom stays within reach below the menu, opposite the floor controls. */
.mobile-world .mobile-zoom-picker{position:absolute;top:42px;right:6px;z-index:6;display:grid;gap:5px}
.mobile-world .mobile-zoom-picker button{display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;font:22px/1 Arial,sans-serif;color:#fff0d9;border:1px solid #b995c0b3;border-radius:36% 23% 31% 20%/24% 36% 22% 34%;background:linear-gradient(#3d274be8,#30203dec),url('/competition/assets/werkhain-wall-v08.png') 20% 60%/130px auto;box-shadow:1px 1px #21142d80;transform:rotate(-3deg)}
.mobile-world .mobile-zoom-picker button:last-child{transform:rotate(3deg)}
.standalone-world .mobile-zoom-picker{top:83px}
.desktop-map-controls .mobile-zoom-picker{display:none}
