.compass { position: fixed; z-index: 40; color: #f4efe4; font-family: inherit; }
.compass[hidden] { display: none !important; }
.cp-home { left: max(14px, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cp-mosque { left: max(14px, env(safe-area-inset-left)); top: calc(max(12px, env(safe-area-inset-top)) + 50px); }
.cp-wrap { display: flex; align-items: flex-start; gap: 8px; }
.cp-wrap[hidden] { display: none; }
.cp-dial { appearance: none; border: 1px solid rgba(255, 255, 255, .18); background: rgba(14, 16, 30, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 50%; padding: 4px; width: 84px; height: 84px; cursor: pointer; flex: none; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .7); }
.cp-mosque .cp-dial { width: 76px; height: 76px; }
.cp-dial:focus-visible { outline: 2px solid #f1c56b; outline-offset: 2px; }
.cp-dial svg { width: 100%; height: 100%; display: block; }
.cp-face { fill: rgba(255, 255, 255, .04); stroke: rgba(241, 197, 107, .45); stroke-width: 1.2; }
.cp-tk { stroke: rgba(244, 239, 228, .45); stroke-width: .8; }
.cp-tk-b { stroke: #f4efe4; stroke-width: 1.4; }
.cp-n { fill: #ff8a7a; font-size: 11px; font-weight: 700; }
.cp-needle { fill: #f1c56b; filter: drop-shadow(0 0 2px rgba(241, 197, 107, .8)); }
.cp-kaaba { fill: #1b1b1f; stroke: #f1c56b; stroke-width: .9; }
.cp-kaaba-band { fill: #f1c56b; }
.cp-pin { fill: #9fe0b6; }
.cp-hub { fill: #f4efe4; }
.cp-good .cp-face { stroke: #9fe0b6; stroke-width: 2.4; }
.cp-good .cp-dial { box-shadow: 0 0 0 3px rgba(159, 224, 182, .35), 0 10px 30px -12px rgba(0, 0, 0, .7); }
.cp-info { background: rgba(12, 14, 28, .86); border: 1px solid rgba(241, 197, 107, .3); border-radius: 14px; padding: 10px 12px; width: min(240px, calc(100vw - 120px)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; line-height: 1.45; }
.cp-info[hidden] { display: none; }
.cp-info p { margin: 0 0 4px; }
.cp-h { color: #f1c56b; font-weight: 700; }
.cp-deg { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cp-note { color: #cfc8da; }
.cp-good .cp-tip { color: #9fe0b6; font-weight: 700; }
.cp-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cp-btn, .cp-tog { appearance: none; font: inherit; font-size: 12px; color: #f4efe4; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.cp-btn:hover, .cp-tog:hover, .cp-btn:focus-visible, .cp-tog:focus-visible { background: rgba(255, 255, 255, .16); outline: none; }
.cp-btn:disabled { opacity: .5; cursor: wait; }
.cp-tog { background: rgba(14, 16, 30, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 560px) { .cp-dial { width: 70px; height: 70px; } .cp-mosque .cp-dial { width: 66px; height: 66px; } }
@media print { .compass { display: none !important; } }
