.character-picker{border:0;padding:0;margin:16px 0;color:inherit;min-width:0}.character-picker legend{font:22px Georgia,serif;padding:0}.character-help{font-size:12px!important;line-height:1.5;margin:6px 0 12px!important}.character-layout{display:grid;grid-template-columns:170px minmax(0,1fr);gap:14px;align-items:start}.character-preview{display:flex;align-items:center;flex-direction:column;background:linear-gradient(#284f55,#163b42);color:#fff3d8;border:1px solid #7f9d91;border-radius:8px;padding:8px 0}.character-portrait{display:block;flex:none;width:88px;height:88px;background-size:600% 400%;background-repeat:no-repeat}.character-large{width:170px;height:170px}.character-caption{display:flex;align-items:center;flex-direction:column;gap:4px;text-align:center;padding:0 4px}.character-caption strong{font:20px Georgia,serif}.character-caption>span{font-size:11px;line-height:1.5}.character-preview-controls{display:flex;gap:4px;margin-top:6px}.character-preview-controls button{min-width:60px;min-height:48px;border:1px solid #89a69a;background:#28595c;border-radius:6px;color:#fff3d8;font-size:12px;padding:5px 8px}.character-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:310px;overflow:auto;padding:4px;scroll-padding:4px;overscroll-behavior:contain}.character-choice{display:flex;position:relative;align-items:center;flex-direction:column;min-width:0;border:1px solid #7e998d;border-radius:7px;background:#e7e8d8;color:#193f43;cursor:pointer;padding:0 2px 5px}.character-choice input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.character-choice.selected{background:#cfdfcb;border:2px solid #255c59;padding:0 1px 4px}.character-choice:hover{background:#dae4d0}.character-choice:has(input:focus-visible){outline:3px solid #a26719;outline-offset:1px}.character-name{font-size:12px;font-weight:700;line-height:1.5;text-align:center}.character-selected{font-size:10px;line-height:1.5;text-align:center}.character-picker:disabled{opacity:.65}.character-picker:disabled label{cursor:wait}.harbour-auth.character-registration{width:min(660px,calc(100% - 32px));left:50%;padding:20px;max-height:calc(100dvh - 100px);top:55%;transform:translate(-50%,-50%)}.character-registration h1{font-size:30px}.character-registration .harbour-intro{display:none}.character-registration .harbour-tabs{margin-bottom:12px}.character-registration form>label{margin-top:8px}.character-registration .harbour-primary{margin-top:10px}.character-registration .harbour-scope{display:none}.harbour-modal .character-help{color:#dfebdc}.harbour-modal .character-choice:has(input:focus-visible){outline-color:#ffd28b}.character-preview-controls button:hover:not(:disabled){background:#396d70}.character-preview-controls button:active:not(:disabled){background:#1b454a}.character-preview-controls button:focus-visible{outline:3px solid #ffd28b;outline-offset:2px}@media(max-width:600px){.character-layout{grid-template-columns:1fr;gap:8px}.character-preview{display:grid;grid-template-columns:88px 1fr;grid-template-rows:auto auto;padding:0 6px}.character-large{width:104px;height:104px;grid-row:1/3;margin-left:-8px}.character-caption{align-items:flex-start;text-align:left;padding:4px 0 0}.character-preview-controls{margin:0;justify-content:flex-start}.character-options{max-height:250px}.character-choice .character-portrait{width:80px;height:80px}.harbour-auth.character-registration{padding:14px;max-height:calc(100dvh - 80px);top:calc(50% + 24px)}.character-registration h1{font-size:26px}.character-picker legend{font-size:20px}}@media(max-height:500px)and (min-width:601px){.harbour-auth.character-registration{top:8px;max-height:calc(100dvh - 16px);transform:translate(-50%)}.character-options{max-height:250px}}.harbour-auth-fields>label{display:block;font-size:12px;font-weight:700;margin:12px 0 0}.character-registration .harbour-auth-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.character-registration .harbour-auth-fields>label{margin:0}.character-registration .character-large{width:128px;height:128px}.character-registration .character-layout{grid-template-columns:148px minmax(0,1fr)}.character-registration .character-options{max-height:250px}.character-registration .harbour-note{margin-top:10px!important}.character-registration .harbour-primary{position:sticky;bottom:0;z-index:2;box-shadow:0 0 0 5px #fbf4e3}@media(max-width:600px){.character-registration .harbour-auth-fields{grid-template-columns:1fr;gap:10px}.character-registration .character-layout{grid-template-columns:1fr}.character-registration .character-large{width:104px;height:104px}.character-registration .character-options{max-height:232px}}@media(max-height:500px)and (min-width:601px){.character-registration h1{display:none}.character-registration .harbour-tabs{margin:0 0 8px}.character-registration .character-picker{margin-top:10px}.character-registration .character-options{max-height:220px}}.harbour-auth.character-registration{top:50%;max-height:calc(100dvh - 32px);padding:16px;overflow-y:auto}.character-registration h1{display:none}.character-registration .harbour-auth-fields{grid-template-columns:1fr 1fr;gap:10px}.character-registration .character-options{max-height:230px}.character-registration .character-help{margin-bottom:8px!important}.character-registration .harbour-note{font-size:11px;line-height:1.4}@media(max-width:600px){.harbour-auth.character-registration{top:50%;max-height:calc(100dvh - 32px);padding:14px}.character-registration .harbour-auth-fields{grid-template-columns:1fr;gap:10px}.character-registration .character-options{max-height:204px}}@media(max-height:500px)and (min-width:601px){.harbour-auth.character-registration{top:8px;transform:translate(-50%);max-height:calc(100dvh - 16px)}}.harbour-modal .character-layout{grid-template-columns:148px minmax(0,1fr)}.harbour-modal .character-large{width:128px;height:128px}@media(max-width:600px){.harbour-modal .character-layout{grid-template-columns:1fr}.harbour-modal .character-large{width:104px;height:104px}}.character-3d-preview{width:168px;height:190px;border-radius:6px;overflow:hidden;background:radial-gradient(circle at 50% 35%,#fff4da2e,#0d262c73)}.world-character-preview{display:block;width:100%;height:100%}.character-customizer{display:flex;flex-direction:column;gap:8px;max-height:300px;overflow-y:auto;padding-right:4px}.customizer-row{display:flex;flex-direction:column;gap:4px}.customizer-label{font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;opacity:.85}.customizer-pills{display:flex;flex-wrap:wrap;gap:5px}.customizer-pills button{min-height:44px;padding:6px 12px;border-radius:6px;border:1px solid #7e998d;background:#e7e8d8;color:#193f43;font-size:12px;font-weight:600;cursor:pointer}.customizer-pills button.selected{background:#255c59;border-color:#193f43;color:#fff4dc}.customizer-swatches{display:flex;flex-wrap:wrap;gap:4px}.swatch-btn{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;border:2px solid rgba(25,63,67,.45);cursor:pointer;padding:7px;background-clip:content-box}.swatch-btn.selected{border:3px solid #f7c97e;box-shadow:0 0 0 2px #193f43}.harbour-modal .customizer-pills button{background:#123c44;border-color:#5f8780;color:#dfebdc}.harbour-modal .customizer-pills button.selected{background:#d49746;border-color:#ffe1a8;color:#142f34}@media(max-width:600px){.character-3d-preview{width:110px;height:130px;grid-row:1/3}}@media(max-height:500px)and (orientation:landscape){.settings-panel .character-layout{grid-template-columns:1fr;gap:6px}.settings-panel .character-preview{display:grid;grid-template-columns:104px minmax(0,1fr);padding:3px 6px}.settings-panel .character-3d-preview{width:104px;height:106px;grid-row:1 / 3}.settings-panel .character-caption{align-items:flex-start;text-align:left}.settings-panel .character-preview-controls{margin:0;justify-content:flex-start}}.ms-title-screen{position:fixed;inset:0;overflow:hidden;background:#0c2731;color:#fff6e0;font-family:Arial,Helvetica,sans-serif;display:flex;align-items:stretch;justify-content:center}.ms-title-backdrop{position:absolute;inset:-2.5%;background-color:#0e303b;background-image:url(/site/title-world-cover.webp);background-size:cover;background-position:36% 48%;transform:scale(1.03);animation:msTitleDrift 30s ease-in-out infinite alternate;will-change:transform}@keyframes msTitleDrift{0%{transform:scale(1.03) translateZ(0)}to{transform:scale(1.09) translate3d(-1.4%,-.8%,0)}}.ms-title-sunbeam{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 56% 48% at 14% 16%,rgba(255,224,152,.24) 0%,rgba(255,198,118,.07) 44%,transparent 72%),radial-gradient(circle at 31% 62%,rgba(255,194,96,.14) 0%,transparent 28%);mix-blend-mode:screen;animation:msSunPulse 9s ease-in-out infinite alternate}@keyframes msSunPulse{0%{opacity:.72}to{opacity:1}}.ms-title-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 68% 66% at 34% 48%,#06161d05,#06161d57 68%,#040f15c7),linear-gradient(90deg,#05141a29,#06161d2e 46%,#051219c7 76%,#040f15eb)}.ms-title-motes{position:absolute;inset:0;pointer-events:none;overflow:hidden}.ms-title-mote{position:absolute;border-radius:50%;background:radial-gradient(circle,#fff8d6,#f7cb6a 55%,#f7cb6a00);box-shadow:0 0 10px #ffdc80d9;opacity:0;animation:msMoteFloat 12s ease-in-out infinite}@keyframes msMoteFloat{0%{transform:translate3d(0,14px,0) scale(.7);opacity:0}20%{opacity:.85}65%{opacity:.65}to{transform:translate3d(18px,-36px,0) scale(1.1);opacity:0}}.ms-title-shell{position:relative;z-index:2;width:min(1160px,100%);padding:max(32px,env(safe-area-inset-top)) max(36px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(36px,env(safe-area-inset-left));display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,400px);align-items:center;gap:48px}.ms-title-brand{display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:500px;align-self:start;margin-top:clamp(8px,4vh,42px)}.ms-title-crest{width:52px;height:52px;border-radius:15px;border:1.5px solid rgba(240,212,146,.88);background:linear-gradient(180deg,#18444cd1,#0b232ae0);box-shadow:0 10px 26px #040e147a,inset 0 1px #fff5d661;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;color:#ffe8ad}.ms-title-crest svg{width:27px;height:27px}.ms-title-eyebrow{font-size:11px;font-weight:700;letter-spacing:.26em;color:#f6df9f;margin-top:6px;text-shadow:0 2px 10px rgba(4,15,21,.85)}.ms-title-wordmark{margin:0;font-family:Georgia,Times New Roman,serif;font-weight:400;font-size:clamp(54px,6.6vw,88px);line-height:.96;letter-spacing:-.045em;background:linear-gradient(180deg,#fffdf4,#fae7b4 62%,#dfb969);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 5px 18px rgba(4,15,21,.72))}.ms-title-ornament{display:flex;align-items:center;gap:9px;width:156px;margin:4px 0 2px;filter:drop-shadow(0 2px 6px rgba(4,15,21,.65))}.ms-title-ornament span{flex:1;height:1px;background:linear-gradient(90deg,#f5da9600,#f5da96d9,#f5da9600)}.ms-title-ornament i{width:7px;height:7px;transform:rotate(45deg);background:#ffe39b;box-shadow:0 0 8px #ffe39bcc}.ms-title-tagline{margin:4px 0 0;font-size:15.5px;line-height:1.55;color:#f2f7f0;max-width:410px;text-shadow:0 2px 14px rgba(4,15,21,.92),0 1px 3px rgba(4,15,21,.95)}.ms-title-card{position:relative;display:flex;flex-direction:column;gap:16px;padding:28px 24px 20px;border-radius:22px;border:1.5px solid rgba(226,200,140,.78);background:linear-gradient(180deg,#0d2931d1,#071920eb);box-shadow:0 28px 72px #020a10ad,inset 0 1px #fff5d840,inset 0 0 0 1px #d4bc8424;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.ms-title-corner{position:absolute;width:14px;height:14px;pointer-events:none;border-color:#fae0a0bf;border-style:solid}.ms-title-corner.tl{top:8px;left:8px;border-width:1.5px 0 0 1.5px;border-top-left-radius:6px}.ms-title-corner.tr{top:8px;right:8px;border-width:1.5px 1.5px 0 0;border-top-right-radius:6px}.ms-title-corner.bl{bottom:8px;left:8px;border-width:0 0 1.5px 1.5px;border-bottom-left-radius:6px}.ms-title-corner.br{bottom:8px;right:8px;border-width:0 1.5px 1.5px 0;border-bottom-right-radius:6px}.ms-title-invite{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid rgba(242,209,137,.55);background:#ebc67c24;color:#ffefc8;font-size:12.5px;line-height:1.4}.ms-title-invite svg{width:20px;height:20px;flex:none;color:#ffe29e}.ms-title-actions,.ms-title-returning{display:flex;flex-direction:column;gap:11px}.ms-title-btn{position:relative;overflow:hidden;width:100%;min-height:52px;padding:12px 18px;border-radius:13px;border:1.5px solid transparent;font:700 15px/1.2 Arial,Helvetica,sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;touch-action:manipulation;transition:transform .12s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease}.ms-title-btn:active{transform:translateY(1px)}.ms-title-btn:focus-visible{outline:3px solid #ffe3ab;outline-offset:3px}.ms-title-btn svg{width:19px;height:19px;flex:none}.ms-title-btn-primary{background:linear-gradient(180deg,#f3d796,#c99e4b);border-color:#fff3cf;color:#102f35;box-shadow:0 8px 22px #040f1473,inset 0 1px #fffdf0c7}.ms-title-btn-primary:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.36) 50%,transparent 65%);transform:translate(-120%);animation:msBtnSheen 6.5s ease-in-out infinite}@keyframes msBtnSheen{0%,72%{transform:translate(-120%)}to{transform:translate(130%)}}.ms-title-btn-primary:hover{background:linear-gradient(180deg,#fae2a8,#d7ac58);box-shadow:0 10px 26px #040f1485,0 0 18px #f3d79640}.ms-title-btn-secondary{background:linear-gradient(180deg,#245c65,#143c44);border-color:#e2c88ccc;color:#fff6df;box-shadow:0 5px 16px #040f1461,inset 0 1px #fff1cc3d}.ms-title-btn-secondary:hover{background:linear-gradient(180deg,#2e717b,#1c4d56);border-color:#ffe4a6}.ms-title-btn-ghost{background:#0c262e8f;border-color:#adcec46b;color:#e4f2ea;font-weight:600}.ms-title-btn-ghost:hover{background:#163e48cc;border-color:#e2c88cb8;color:#fff6df}.ms-title-continue{justify-content:flex-start;padding:10px 14px;min-height:66px;text-align:left}.ms-title-avatar{width:44px!important;height:44px!important;border-radius:10px;flex:none;background-color:#10303638}.ms-title-continue-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.ms-title-continue-copy strong{font-size:15px;color:#102f36;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ms-title-continue-copy small{font-size:12px;font-weight:500;color:#21494f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ms-title-divider{display:flex;align-items:center;gap:10px;margin:2px 0;color:#aac9bf;font-size:11.5px}.ms-title-divider:before,.ms-title-divider:after{content:"";flex:1;height:1px;background:#b6d0c642}.ms-title-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:8px;border-top:1px solid rgba(182,208,198,.2);font-size:11.5px;color:#aac6bd}.ms-title-site-link{color:#f0d69a;text-decoration:underline;text-underline-offset:3px}.ms-title-site-link:hover{color:#fff4d2}@media(max-width:820px){.ms-title-backdrop{background-position:33% 36%}.ms-title-vignette{background:linear-gradient(180deg,#05131b8c,#05131b14 32%,#05131b29 52%,#051219e0,#040f15f5)}.ms-title-shell{grid-template-columns:1fr;align-content:space-between;gap:16px;padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.ms-title-brand{align-items:center;text-align:center;max-width:100%;margin-top:2px;gap:5px}.ms-title-crest{width:42px;height:42px;border-radius:12px}.ms-title-crest svg{width:22px;height:22px}.ms-title-wordmark{font-size:clamp(44px,12vw,56px)}.ms-title-ornament{width:120px}.ms-title-tagline{font-size:13px;max-width:300px}.ms-title-card{padding:20px 18px 16px;border-radius:18px;gap:12px}.ms-title-btn{min-height:49px;font-size:14.5px}}@media(max-height:540px)and (orientation:landscape){.ms-title-shell{grid-template-columns:1fr minmax(280px,340px);align-items:center;gap:20px;padding:14px 20px}.ms-title-brand{align-self:center;margin-top:0}.ms-title-crest{display:none}.ms-title-wordmark{font-size:44px}.ms-title-tagline{font-size:13px}.ms-title-card{padding:14px 16px;gap:10px}.ms-title-btn{min-height:44px;font-size:13.5px}}@media(max-width:768px),(prefers-reduced-motion:reduce){.ms-title-crest{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(180deg,#18444cf5,#0b232afa)}.ms-title-card{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(180deg,#0d2931f5,#071920fa)}}@media(prefers-reduced-motion:reduce){.ms-title-backdrop,.ms-title-sunbeam,.ms-title-mote,.ms-title-btn-primary:after{animation:none;transform:none}.ms-title-mote{display:none}}:root{font-family:Arial,Helvetica,sans-serif;color:#244e4d;background:#f8f5ea;font-synthesis:none;text-rendering:optimizeLegibility;font-weight:400;--sea:#244e4d;--cream:#f8f5ea;--coral:#efad8c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #c36b4e;outline-offset:5px}button{cursor:pointer}button:disabled{cursor:default}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,Times New Roman,serif;font-weight:400;letter-spacing:-.055em;line-height:1.02}h1{font-size:clamp(58px,6.7vw,106px);margin-bottom:26px}h2{font-size:clamp(38px,4vw,64px);margin-bottom:26px}h3{font-family:Georgia,serif;font-size:30px;font-weight:400;letter-spacing:-.03em}h1 em,h2 em{font-weight:400;color:#739281}p{font-size:17px;line-height:1.75}small{line-height:1.6}.wordmark{font-family:Georgia,serif;font-weight:700;font-size:33px;letter-spacing:-1.7px;display:inline-flex;flex-direction:column}.wordmark span{font-family:Arial,sans-serif;font-size:8px;letter-spacing:2.1px;font-weight:500;margin:6px 0 0 3px}.loading{height:100dvh;display:grid;place-items:center;background:#244e4d;color:#f8f5ea;font-family:Georgia,serif}.pad-up{grid-column:2}.pad-left{grid-column:1;grid-row:2}.pad-down{grid-column:2;grid-row:2}.pad-right{grid-column:3;grid-row:2}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}.practice{position:fixed;inset:0;background:#20585f;overflow:hidden;color:#fff6df;font-family:Arial,Helvetica,sans-serif}.practice button,.practice a{touch-action:manipulation}.practice button{font:inherit;cursor:pointer}.practice button:disabled{cursor:default}.practice :is(button,a,input):focus-visible{outline:3px solid #ffe3ab;outline-offset:4px}.game-world{position:absolute;inset:0}.game-world canvas{display:block}.play-header{position:absolute;top:max(20px,env(safe-area-inset-top));left:max(28px,env(safe-area-inset-left));right:max(28px,env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:center;gap:20px}.round-button{width:50px;height:50px;display:grid;place-items:center;border:1px solid #d4e0ce;border-radius:14px;background:#173f45;color:#fff6df;box-shadow:0 3px #102f37}.round-button:hover{background:#2c6164}.round-button:active{transform:translateY(1px);background:#eac38b;color:#173f43}.objective{position:absolute;top:max(100px,calc(env(safe-area-inset-top) + 80px));left:50%;transform:translate(-50%);display:flex;align-items:center;gap:12px;max-width:calc(100% - 32px);width:max-content;padding:13px 16px;background:#163e43;border:1px solid #8eafa4;border-radius:13px;box-shadow:0 5px 20px #102f3733;pointer-events:none}.objective-symbol{display:grid;place-items:center;flex:none;width:30px;color:#efcd91}.objective-symbol svg{width:28px;height:28px}.objective small{display:block;font-size:10px;line-height:1.4;letter-spacing:1.4px;color:#d4e0ce}.objective p{font-size:13px;line-height:1.5;margin:4px 0 0;color:#fff6df}.objective-complete{border-color:#c4d6b5}.movement{position:absolute;bottom:max(56px,calc(env(safe-area-inset-bottom) + 42px));left:max(32px,env(safe-area-inset-left));display:grid;grid-template-columns:repeat(3,50px);grid-template-rows:repeat(2,50px);gap:6px}.pad{width:50px;height:50px;display:grid;place-items:center;border:1px solid #d4e0ce;border-radius:13px;background:#173f45;color:#fff6df;box-shadow:0 3px #102f37;touch-action:none!important;-webkit-user-select:none;user-select:none;padding:0}.pad:hover:not(:disabled){background:#2c6164}.pad:active:not(:disabled){background:#eac38b;color:#173f43;transform:translateY(1px)}.pad:disabled{opacity:.58}.pad-left svg{transform:rotate(-90deg)}.pad-down svg{transform:rotate(180deg)}.pad-right svg{transform:rotate(90deg)}.left-hand .movement{left:auto;right:max(32px,env(safe-area-inset-right))}.settings-backdrop{position:absolute;z-index:10;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:#0c2934a6}.settings-panel{position:relative;width:100%;max-width:430px;max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #fff8e8;border-radius:18px;background:#faf3e3;color:#173f43;padding:28px;box-shadow:0 24px 80px #071d2b77}.settings-panel :is(button,a,input):focus-visible{outline-color:#275957}.island-settings-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.island-settings-header h2{font:34px/1.1 Georgia,serif;letter-spacing:-1px;margin:0;color:#173f43}.settings-close{flex:none;display:grid;place-items:center;width:48px;height:48px;border:1px solid #658176;border-radius:10px;background:#fffdf6;color:#275957}.settings-close:hover{background:#e9ecdc}.settings-options{display:grid;gap:0}.settings-options label{display:flex;align-items:center;gap:12px;min-height:52px;font-size:14px;line-height:1.4;color:#173f43;cursor:pointer}.settings-options input{position:relative;appearance:none;flex:none;width:24px;height:24px;margin:0;border:2px solid #658176;border-radius:5px;background:#fffdf6;cursor:pointer}.settings-options input:checked{background:#275957;border-color:#275957}.settings-options input:checked:after{content:"";position:absolute;left:7px;top:3px;width:6px;height:11px;border-right:2px solid #fff6df;border-bottom:2px solid #fff6df;transform:rotate(45deg)}.settings-panel p{font-size:13px;line-height:1.65;margin:16px 0;color:#173f43}.settings-actions{display:grid;gap:10px;margin-top:18px}.settings-actions a,.settings-actions button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 15px;border:1px solid #658176;border-radius:10px;text-align:center;font-size:14px;line-height:1.4}.island-connect{background:#205459;color:#fff6df}.island-connect:hover{background:#2b6668}.island-return{background:#fffdf6;color:#173f43}.island-return:hover{background:#e9ecdc}.settings-actions :is(a,button):active{transform:translateY(1px)}.settings-panel .settings-note{font-size:12px;color:#496358;margin-bottom:0}.settings-build{display:block;font-size:12px;line-height:1.4;color:#496358;margin-top:12px}@media(max-width:600px){.play-header{top:max(16px,env(safe-area-inset-top));left:16px;right:16px}.objective{top:94px;width:calc(100% - 32px);padding:12px 14px;gap:10px}.movement{left:16px;gap:5px}.left-hand .movement{right:16px}.settings-panel{padding:24px}.island-settings-header h2{font-size:32px}}@media(max-height:500px){.play-header{top:max(10px,env(safe-area-inset-top));left:20px;right:20px}.objective{top:10px;max-width:320px;padding:10px 12px;gap:10px}.objective p{font-size:12px}.movement{left:20px;bottom:max(42px,calc(env(safe-area-inset-bottom) + 28px))}.left-hand .movement{right:20px}.settings-panel{max-width:480px;padding:20px}.island-settings-header{margin-bottom:8px}.island-settings-header h2{font-size:29px}.settings-options{grid-template-columns:1fr 1fr;gap:12px}.settings-options label{font-size:13px;min-height:48px}.settings-panel p{font-size:12px;line-height:1.55;margin:10px 0}.settings-actions{grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.settings-actions a,.settings-actions button{font-size:13px;min-height:48px;padding:10px}.settings-build{font-size:11px;margin-top:8px}}.practice .play-header{top:max(12px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right))}.practice .round-button,.practice .pad{width:48px;height:48px;border-radius:7px;box-shadow:none}.practice .objective{top:72px;left:16px;transform:none;max-width:350px;width:auto;min-height:34px;padding:5px 8px;gap:6px;border:0;border-radius:6px;box-shadow:none}.practice .objective-symbol{width:18px}.practice .objective-symbol svg{width:18px;height:18px}.practice .objective p{margin:0;font-size:13px;line-height:1.4}.practice .movement{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px);gap:3px}.practice .settings-panel{padding:14px;border-radius:10px;background:#173f45;color:#fff3d8}.practice .settings-panel :is(h2,p,small,label){color:#fff3d8}.practice .settings-close,.practice .island-return{background:#28565a;color:#fff3d8;border-color:#a9bbae}@media(max-width:600px){.practice .objective{left:12px;max-width:calc(100% - 132px)}.left-hand.practice .objective{left:auto;right:12px}}.practice .movement{left:max(16px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom))}.practice.left-hand .movement{left:auto;right:max(16px,env(safe-area-inset-right))}.practice .pad,.practice .play-header .round-button{position:relative;padding:0;border:0;background:transparent;box-shadow:none}.practice .pad:before,.practice .play-header .round-button:before{content:"";position:absolute;inset:3px;border:1.5px solid #d4bc84;border-radius:11px;background:linear-gradient(180deg,#245860,#14373d);box-shadow:0 4px 10px #05121675,inset 0 1px #fff1cc47}.practice .pad>svg,.practice .play-header .round-button>svg{position:relative;width:22px;height:22px;color:#fff5dc;filter:drop-shadow(0 1px 2px rgba(5,16,20,.5))}.practice .pad:hover:not(:disabled),.practice .play-header .round-button:hover{background:transparent}.practice .pad:hover:not(:disabled):before,.practice .play-header .round-button:hover:before{background:linear-gradient(180deg,#2e6d76,#1c4a52);border-color:#ffe29e}.practice .pad:active:not(:disabled),.practice .play-header .round-button:active{background:transparent}.practice .pad:active:not(:disabled):before,.practice .play-header .round-button:active:before{background:linear-gradient(180deg,#d7b471,#b38c46);border-color:#fff0c4}.practice .pad:active:not(:disabled)>svg,.practice .play-header .round-button:active>svg{color:#13343a;filter:none}.practice .movement{gap:2px}.practice .game-world{z-index:1}.practice .objective,.practice .movement{z-index:35}.practice .settings-backdrop{z-index:45}.practice .play-header{z-index:36;pointer-events:none}.practice .play-header a,.practice .play-header button{pointer-events:auto}.practice .world-map-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}.practice .world-map-overlay{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;color:#fff3d8;font:14px/1.4 Arial,sans-serif}.practice .atlas-region{position:absolute;transform:translate(-50%,-50%);font:small-caps 12px Georgia,serif;letter-spacing:.09em;color:#fff2cf;text-shadow:0 1px 3px #072b35,0 0 8px #072b35;pointer-events:none;white-space:nowrap}.practice .atlas-position{position:absolute;transform:translate(-50%,-50%);color:#fff6d8;pointer-events:none;filter:drop-shadow(0 1px 3px #102e34)}.practice .atlas-position>svg{width:28px;height:28px}.practice .world-map-scale{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);min-width:120px;color:#fff3d8;font-size:11px;text-align:center;pointer-events:none;text-shadow:0 1px 3px #123841}.practice .world-map-scale i{display:block;height:5px;border:solid #e8d8ac;border-width:0 1px 1px;margin-top:4px}@media(max-width:600px){.practice .atlas-region{font-size:10px;letter-spacing:0;max-width:110px;white-space:normal;text-align:center}.practice .world-map-scale{bottom:max(128px,calc(env(safe-area-inset-bottom) + 118px));left:12px;transform:none;min-width:92px}}.practice .settings-panel{padding:8px;border-radius:6px}.practice .island-settings-header{gap:8px;margin-bottom:4px}.practice .island-settings-header h2{font-size:20px}.practice .settings-options{gap:4px}.practice .settings-options label{gap:6px;min-height:48px}.practice .settings-actions{gap:4px;margin-top:8px}.practice .settings-actions a,.practice .settings-actions button{min-height:48px;padding:4px}.practice .play-header-left{display:flex;align-items:center;gap:8px;pointer-events:auto}.practice .coast-harbour-link{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 13px;border:1.5px solid #d4bc84;border-radius:11px;background:linear-gradient(180deg,#245860,#14373d);box-shadow:0 4px 10px #05121675,inset 0 1px #fff1cc47;color:#fff6df;text-decoration:none;font-size:12.5px;font-weight:700;white-space:nowrap}.practice .coast-harbour-link svg{width:17px;height:17px;color:#ffe5a4}.practice .coast-harbour-link:hover{background:linear-gradient(180deg,#2e6d76,#1c4a52);border-color:#ffe29e}.practice .coast-dock{position:absolute;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:36;display:flex;align-items:center;gap:4px}.practice.left-hand .coast-dock{right:auto;left:max(16px,env(safe-area-inset-left))}.practice .coast-action{min-height:44px;min-width:44px;padding:0 13px;border:1.5px solid #d4bc84;border-radius:10px;background:linear-gradient(180deg,#245860,#14373d);box-shadow:0 3px 9px #0512166b,inset 0 1px #fff1cc3d;color:#fff6df;font-size:12px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:5px}.practice .coast-icon-btn{position:relative;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;border:0;background:transparent;color:#fff6df;display:grid;place-items:center;cursor:pointer}.practice .coast-icon-btn:before{content:"";position:absolute;inset:3px;border:1.5px solid #d4bc84;border-radius:11px;background:linear-gradient(180deg,#245860,#14373d);box-shadow:0 4px 10px #05121675,inset 0 1px #fff1cc47}.practice .coast-icon-btn:hover:not(:disabled):before{background:linear-gradient(180deg,#2e6d76,#1c4a52);border-color:#ffe29e}.practice .coast-icon-btn.active:before{background:linear-gradient(180deg,#d7b471,#a9803b);border-color:#fff0c4}.practice .coast-icon-btn.active svg{color:#13343a;filter:none}.practice .coast-icon-btn svg{position:relative;width:22px;height:22px;color:#fff5dc;filter:drop-shadow(0 1px 2px rgba(5,16,20,.5))}.practice .coast-icon-badge{position:absolute;right:2px;bottom:2px;min-width:17px;height:16px;padding:0 4px;border-radius:99px;background:linear-gradient(180deg,#c48b3b,#8f5f22);border:1px solid #ffe09e;color:#fff9e8;font:700 9.5px/14px Arial,sans-serif;text-align:center;pointer-events:none;box-shadow:0 2px 4px #00000059}.practice .coast-action:hover:not(:disabled){background:#2c5f65}.practice .coast-action.active,.practice .coast-gather,.practice .coast-confirm{background:#9b6a2c;border-color:#f3cf8d;color:#fff9e8}.practice .coast-action.active:hover:not(:disabled),.practice .coast-gather:hover:not(:disabled),.practice .coast-confirm:hover:not(:disabled){background:#b17b36}.practice .coast-build-palette{position:absolute;right:max(16px,env(safe-area-inset-right));bottom:max(68px,calc(env(safe-area-inset-bottom) + 58px));z-index:36;display:grid;grid-template-columns:repeat(2,minmax(96px,1fr));gap:5px;padding:7px;border:1px solid #a9bbae;border-radius:7px;background:#173f45f2}.practice.left-hand .coast-build-palette{right:auto;left:max(16px,env(safe-area-inset-left))}.practice .coast-blueprint{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:46px;padding:6px 9px;border:1px solid #6e8f86;border-radius:5px;background:#214e55;color:#fff6df;text-align:left;font-size:12px;cursor:pointer}.practice .coast-blueprint small{color:#ebd096;font-size:11px}.practice .coast-blueprint.selected{border-color:#ffe3ab;background:#32646b}.practice .coast-preview-bar{position:absolute;left:50%;transform:translate(-50%);bottom:max(78px,calc(env(safe-area-inset-bottom) + 68px));z-index:37;display:flex;align-items:center;gap:8px;max-width:calc(100% - 28px);padding:6px 9px;border:1px solid #f3cf8d;border-radius:7px;background:#14363cf5;color:#fff6df;font-size:12px}.practice .coast-preview-actions{display:flex;align-items:center;gap:4px}@media(max-width:760px){.practice .coast-harbour-link span{display:none}.practice .coast-dock{flex-wrap:wrap;justify-content:flex-end;max-width:calc(100% - 170px)}.practice .coast-preview-bar{bottom:max(172px,calc(env(safe-area-inset-bottom) + 172px));flex-wrap:wrap}}.practice .coast-spec-chooser{position:absolute;left:50%;top:max(126px,16vh);transform:translate(-50%);z-index:38;width:min(560px,calc(100% - 28px));padding:12px;border:1px solid #f3cf8d;border-radius:9px;background:#14363cf2;color:#fff6df;box-shadow:0 12px 34px #08202688}.practice .coast-spec-head{display:flex;flex-direction:column;gap:2px;margin-bottom:9px}.practice .coast-spec-head strong{font:700 15px/1.25 Georgia,serif;color:#ffe3ab}.practice .coast-spec-head small{font-size:12px;color:#d3e5db}.practice .coast-spec-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.practice .coast-spec-btn{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:74px;padding:9px;border:1px solid #8cb1a5;border-radius:7px;background:#1e4b52;color:#fff6df;text-align:left;cursor:pointer}.practice .coast-spec-btn:hover{background:#2c626a;border-color:#ffe3ab}.practice .coast-spec-btn strong{font-size:13px}.practice .coast-spec-btn span{font-size:11px;font-weight:700;color:#ffe3ab}.practice .coast-spec-btn small{font-size:11px;line-height:1.3;color:#d8e8e0}@media(max-width:600px){.practice .coast-spec-chooser{top:max(136px,16vh)}.practice .coast-spec-options{grid-template-columns:1fr}}@media(max-height:520px)and (orientation:landscape){.left-hand.practice .objective{left:auto;right:max(16px,env(safe-area-inset-right));top:max(62px,calc(env(safe-area-inset-top) + 50px));max-width:310px}.practice .coast-dock{bottom:max(8px,env(safe-area-inset-bottom));max-width:240px;flex-wrap:wrap;justify-content:flex-end;gap:4px}.practice.left-hand .coast-dock{justify-content:flex-start}.practice .coast-spec-chooser{top:max(64px,env(safe-area-inset-top));padding:8px 10px}.practice .coast-spec-btn{min-height:58px;padding:6px 8px}}.practice .play-header{top:max(12px,env(safe-area-inset-top));left:auto;right:max(12px,env(safe-area-inset-right));justify-content:flex-end;gap:0}.practice .play-top-bar{display:flex;align-items:center;gap:3px;pointer-events:auto}.practice .play-top-bar .coast-harbour-link{height:42px;min-height:42px;padding:0 11px;margin-right:2px}.practice .hud-tip-btn.active:before,.harbour .hud-tip-btn.active:before{background:linear-gradient(180deg,#d7b471,#a9803b);border-color:#fff0c4}.practice .hud-tip-btn.active>svg,.harbour .hud-tip-btn.active>svg{color:#13343a;filter:none}.hud-tip-popover{position:fixed;z-index:42;top:max(66px,calc(env(safe-area-inset-top) + 56px));right:max(12px,env(safe-area-inset-right));width:min(330px,calc(100vw - 24px));display:flex;align-items:flex-start;gap:9px;padding:10px 10px 10px 12px;border:1.5px solid #d4bc84;border-radius:12px;background:linear-gradient(180deg,#163b41f5,#0d272cf5);box-shadow:0 10px 28px #040f148f;color:#fff5dc;font:12.5px/1.45 Arial,sans-serif;pointer-events:auto}.hud-tip-icon{flex:none;display:grid;place-items:center;width:24px;height:24px;color:#ffe39e;margin-top:1px}.hud-tip-icon svg{width:19px;height:19px}.hud-tip-body{flex:1;min-width:0}.hud-tip-popover p{margin:0;font-size:12.5px;line-height:1.45;color:#fff5dc;flex:1}.hud-tip-extra{display:flex;flex-direction:column;gap:6px;margin-top:8px}.hud-tip-extra small{color:#dcead9;font-size:11.5px;line-height:1.4}.hud-tip-more{align-self:flex-start;min-width:48px!important;min-height:48px!important;padding:4px 10px!important;border-radius:8px!important;font-size:11.5px!important;font-weight:700}.hud-tip-recap{display:block;margin-top:6px;color:#ebd29b;font-size:11px}.hud-tip-close{flex:none;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;padding:0!important;display:grid;place-items:center;border:1px solid rgba(212,188,132,.45)!important;border-radius:8px!important;background:#0c22278c!important;color:#fff4da!important;box-shadow:none!important;cursor:pointer}.hud-tip-close svg{width:16px;height:16px}.hud-live-toast{position:fixed;z-index:40;left:50%;transform:translate(-50%);bottom:max(60px,calc(env(safe-area-inset-bottom) + 52px));max-width:min(360px,calc(100vw - 28px));padding:6px 13px;border:1px solid rgba(212,188,132,.72);border-radius:999px;background:#0d262ceb;box-shadow:0 5px 16px #040f1473;color:#fff4da;font:600 12px/1.35 Arial,sans-serif;text-align:center;pointer-events:none}.hud-live-toast.hud-shore-quest{top:12px;bottom:auto;z-index:42;font-size:12px}.hud-live-toast.hud-shore-quest-ready,.hud-shore-quest-ready{pointer-events:auto;z-index:42;display:inline-flex;align-items:center;gap:10px;border-color:#edc688;background:#123836f5;box-shadow:0 6px 24px #00000073,0 0 0 1px #edc68873}.hud-quest-claim-btn{flex:none;min-height:36px;padding:6px 14px;border:1px solid #f7dcab;border-radius:999px;background:linear-gradient(180deg,#f3d08f,#d7a658);color:#153437;font-weight:700;font-size:12px;cursor:pointer;white-space:nowrap;pointer-events:auto}.hud-quest-claim-btn:hover{background:linear-gradient(180deg,#fce2ae,#e6b86a)}@media(max-width:600px){.hud-live-toast.hud-shore-quest{top:max(66px,calc(env(safe-area-inset-top) + 60px));max-width:calc(100vw - 132px);z-index:42;font-size:11.5px}}.coast-char-strip{display:flex;gap:6px;overflow-x:auto;padding:4px 2px 8px;margin-bottom:8px;scrollbar-width:thin}.coast-char-pill{flex:none;display:flex;flex-direction:column;align-items:center;gap:3px;width:62px;padding:5px 4px;border:1px solid #6e9289;border-radius:9px;background:#1a454c;color:#fff4da;font-size:10.5px;cursor:pointer}.coast-char-pill:hover{border-color:#ffe3ab;background:#265961}.coast-char-pill.selected{border:2px solid #ffe29e;background:#2e676f;box-shadow:0 0 0 2px #ffe29e38}.coast-char-thumb{width:38px!important;height:38px!important;flex:none}.coast-char-pill span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.practice .coast-dock{right:max(14px,env(safe-area-inset-right));bottom:var(--hud-buttons-bottom, max(14px, env(safe-area-inset-bottom)));gap:4px}@media(max-width:640px){.practice .play-top-bar .coast-harbour-link{padding:0 10px;height:42px}.practice .coast-dock{right:auto;left:50%;transform:translate(-50%);bottom:var(--hud-buttons-bottom, max(10px, env(safe-area-inset-bottom)));max-width:calc(100vw - 24px);justify-content:center;flex-wrap:nowrap}.practice.left-hand .coast-dock{left:50%;right:auto;transform:translate(-50%)}.practice .coast-build-palette{right:12px;left:12px;bottom:max(104px,calc(env(safe-area-inset-bottom) + 96px))}.hud-live-toast{bottom:max(154px,calc(env(safe-area-inset-bottom) + 146px))}}
