/* Dedicated mobile companion, also accessible on desktop. */
#companionDock,#companionMenu{display:none}.companion-home{max-width:1000px;margin:auto}.companion-hero{border:1px solid #55416c;border-radius:24px;padding:32px;background:radial-gradient(ellipse at 90% 10%,#633363 0,#25294c 35%,#101725 75%);position:relative;overflow:hidden}.companion-hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(#a78bfa14 1px,transparent 1px),linear-gradient(90deg,#a78bfa14 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,transparent,#000);z-index:0}.companion-hero>*{position:relative;z-index:1}.companion-hero h1{font-size:clamp(36px,6vw,64px);margin:17px 0;letter-spacing:-.045em}.companion-hero p{max-width:450px;color:#c5cce3;margin:0 0 20px}.companion-hero button{display:inline-flex;align-items:center;gap:8px;margin:0 6px 8px 0}.companion-hero svg,.companion-card svg,.companion-membership svg{width:22px;height:22px}.companion-statbar{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 25px}.companion-statbar>div{background:#151c30;border:1px solid #303b56;border-radius:12px;padding:13px}.companion-statbar small,.companion-card small,.companion-membership small{display:block;color:#aab5cf;font-size:11px}.companion-statbar b{font-size:28px;color:#37eaff;display:block}.companion-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.companion-section-head h2{font-size:22px;margin:4px 0 14px}.companion-section-head span{font-size:9px;color:#a78bfa;letter-spacing:1px}.companion-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.companion-card{min-height:126px;text-align:left;position:relative;padding:15px;background:linear-gradient(135deg,#1f2842,#15192c);border:1px solid #364260;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.companion-card svg{color:#37eaff}.companion-card:nth-child(2n) svg{color:#ff69c9}.companion-card b{font-size:14px;color:#f5f6ff}.companion-card small{font-weight:400;line-height:1.4}.companion-card>span{position:absolute;right:10px;top:10px;color:#9eacd0}.companion-membership{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border:1px solid #54466f;border-radius:14px;margin:20px 0 10px;background:#1b2035}.companion-membership svg{color:#fbbf24;display:block;margin-bottom:7px}.companion-membership b{display:block}.companion-install-guide h3{margin:16px 0 3px}.companion-install-guide p{margin:0;color:#bdc8e0}#liveToggle[aria-pressed=true]{border-color:#37eaff;color:#37eaff}#liveCrosshair{position:absolute;left:50%;top:50%;width:26px;height:26px;transform:translate(-50%,-50%);border:1px solid #37eaff;border-radius:50%;z-index:4;pointer-events:none;box-shadow:0 0 0 3px #071b25a0}#liveCrosshair:after,#liveCrosshair:before{content:"";position:absolute;background:#37eaff;left:50%;top:50%;transform:translate(-50%,-50%)}#liveCrosshair:after{width:36px;height:1px}#liveCrosshair:before{height:36px;width:1px}#livePlayerPin{position:absolute;transform:translate(-50%,-50%);width:18px;height:18px;border:3px solid #fff;background:#37eaff;box-shadow:0 0 0 6px #37eaff60,0 0 18px #37eaff;border-radius:50%;z-index:3;pointer-events:none}#livePanel{position:absolute;left:12px;bottom:75px;z-index:6;width:min(350px,calc(100% - 75px));padding:12px;background:#101729f5;border:1px solid #465575;border-radius:14px;box-shadow:0 10px 30px #0008;touch-action:pan-y;cursor:default}#livePanel button{touch-action:manipulation}.live-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.live-heading b{font-size:12px;letter-spacing:1px;color:#37eaff}.live-heading small,.live-note{display:block;color:#a8b8d3;font-size:10px}.live-heading button{padding:5px 11px}.live-actions{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.live-actions button{font-size:11px;padding:7px 9px}.live-near-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.live-near-head select{max-width:50%;padding:5px;background:#202a41;border:1px solid #44516e;border-radius:6px}.live-near-list{max-height:130px;overflow:auto;touch-action:pan-y}.live-near-row{display:flex;gap:5px;align-items:center;border-bottom:1px solid #28344f}.live-near-row>.live-result{flex:1;min-width:0;text-align:left;background:transparent;padding:7px 1px}.live-result b,.live-result small{display:block;overflow-wrap:anywhere}.live-result b{font-size:12px}.live-result small{font-size:10px;color:#aab5cf}.live-near-row>.outline{padding:5px 9px;color:#37eaff}.live-note{margin-top:6px}.live-mode .overview{display:none}.live-mode .mapbottom{visibility:hidden}
@media(max-width:800px){body{height:100dvh;overflow:hidden}.top{flex-wrap:nowrap!important;height:56px;min-height:56px;padding:7px 12px!important}.top .game,.top-settings{display:none!important}.top .brand{margin-right:auto}.top .account-button{margin:0;padding:8px 10px}.top nav{display:none!important}.companion-menu-open .top nav{display:flex!important;position:absolute;top:56px;left:0;right:0;width:100%;max-height:55vh;background:#12192b;border-bottom:1px solid #44516e;padding:10px;flex-wrap:wrap;overflow:auto;z-index:20;justify-content:flex-start}.top nav button{font-size:13px;padding:10px}.top nav button[hidden]{display:none!important}#companionMenu{display:grid;place-items:center;width:38px;height:38px;padding:5px;flex-shrink:0}#companionMenu svg{width:23px;height:23px}#companionDock{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));flex-shrink:0;padding:6px 4px calc(7px + env(safe-area-inset-bottom));background:#101628;border-top:1px solid #39435e;gap:2px;z-index:12}#companionDock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:transparent;color:#9cacc7;font-size:9px;padding:6px 0;min-width:0;min-height:48px;border:1px solid transparent;border-radius:10px}#companionDock svg{width:21px;height:21px}#companionDock button.active{color:#37eaff;border-color:#344c66;background:#23324a}footer{display:none}#workspace{padding:15px!important}.companion-hero{padding:24px 18px}.companion-hero h1{font-size:38px}.companion-hero p{font-size:13px}.companion-hero button{font-size:12px;padding:10px}.companion-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.companion-card{min-height:114px;padding:13px}.companion-statbar{margin:10px 0 20px}.companion-statbar>div{padding:10px}.companion-statbar b{font-size:23px}.companion-membership{padding:12px}.companion-membership button{font-size:11px;flex-shrink:0}.maptop{gap:4px}.maptop .maplabel{display:none}.maptop button{font-size:11px;padding:8px 9px}.maptop #liveToggle{margin-left:auto}.mapstatus{top:53px}.controls{top:84px}#livePanel{bottom:30px;left:8px;width:calc(100% - 60px);padding:9px}.live-near-list{max-height:105px}.live-actions button{font-size:10px;padding:7px 5px}#toast{bottom:82px}dialog{max-height:83dvh}.field input,.field select,.field textarea{font-size:16px}.mapempty{padding:16px}.emptycard{padding:19px}.companion-section-head h2{font-size:20px}}
@media(max-width:360px){#companionDock button{font-size:8px}.companion-hero h1{font-size:32px}.companion-hero button{display:flex;width:100%;justify-content:center}.live-actions{gap:3px}}
.companion-menu-item{display:none}@media(max-width:800px){.companion-menu-item{display:block}}
