/* Immersive Umrah guide — journey UI, progress, du'a tools */

.ug-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1200;
    background: rgba(15, 118, 110, 0.12);
    pointer-events: none;
}

.ug-progress__bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0f766e, #C9A84C);
    transition: width 0.12s ease-out;
}

.ug-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ug-lang-switch {
    display: inline-flex;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.35);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ug-lang-switch a {
    padding: 0.45rem 0.95rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    color: #3d3d3d;
    transition: background 0.15s, color 0.15s;
}

.ug-lang-switch a.is-active {
    background: linear-gradient(135deg, #0f766e, #134e4a);
    color: #fff;
}

.ug-lang-switch a:not(.is-active):hover {
    background: rgba(15, 118, 110, 0.08);
}

.ug-journey {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(201, 168, 76, 0.22);
    border-radius: 16px;
    position: sticky;
    top: 72px;
    z-index: 100;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.ug-journey__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.55rem 0.35rem;
    border-radius: 12px;
    text-decoration: none;
    color: #5c6b68;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}

.ug-journey__step:hover {
    background: rgba(15, 118, 110, 0.08);
    color: #0f2a1f;
    transform: translateY(-1px);
}

.ug-journey__step.is-active {
    background: linear-gradient(145deg, rgba(15, 118, 110, 0.14), rgba(201, 168, 76, 0.1));
    color: #0f766e;
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.18);
}

.ug-journey__num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    background: #e8eeec;
    color: #134e4a;
}

.ug-journey__step.is-active .ug-journey__num,
.ug-journey__step.is-done .ug-journey__num {
    background: #0f766e;
    color: #fff;
}

.ug-journey__step.is-done .ug-journey__num::after {
    content: none;
}

.ug-fallback-banner {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.35);
    font-size: 0.88rem;
    color: #5c4a12;
}

.ug-fallback-banner a {
    color: #0f766e;
    font-weight: 700;
}

.ug-body .ug-pillar-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.ug-body .ug-pillar-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.12);
}

.ug-body .ug-section {
    scroll-margin-top: 180px;
}

.ug-body .ug-dua {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ug-dua-copy {
    align-self: flex-end;
    order: -1;
    margin: 0 0 0.25rem;
    border: 1px solid rgba(15, 118, 110, 0.22);
    background: #fff;
    color: #0f766e;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.ug-dua-copy:hover {
    background: #0f766e;
    color: #fff;
}

.ug-dua-copy.is-copied {
    background: #C9A84C;
    border-color: #C9A84C;
    color: #fff;
}

body.lang-dv .ug-body .ug-dua-dv,
body.lang-dv .ug-body .ug-section p,
body.lang-dv .ug-body .ug-section li,
body.lang-dv .ug-body .ug-tip,
body.lang-dv .ug-body .ug-quote,
body.lang-dv .ug-body .ug-congrats,
body.lang-dv .ug-body .ug-toc a,
body.lang-dv .ug-body .ug-figure figcaption,
body.lang-dv .ug-hero p,
body.lang-dv .ug-journey__label {
    font-family: 'Faruma', 'MV Boli', serif;
    direction: rtl;
    unicode-bidi: embed;
}

body.lang-dv .ug-body .ug-dua-ar {
    direction: rtl;
}

body.lang-dv .ug-body .ug-dua-translit,
body.lang-dv .ug-body .ug-dua-en {
    direction: ltr;
    text-align: left;
}

body.lang-dv .ug-wrap {
    direction: rtl;
}

body.lang-dv .ug-back {
    flex-direction: row-reverse;
}

body.lang-dv .ug-body .ug-toc ol {
    padding-right: 1.25rem;
    padding-left: 0;
}

body.lang-dv .ug-body ul {
    padding-right: 1.25rem;
    padding-left: 0;
}

.ug-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(8, 20, 16, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.ug-lightbox.is-open {
    display: flex;
}

.ug-lightbox img {
    max-width: min(960px, 100%);
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.ug-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
}

.ug-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid rgba(201, 168, 76, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
}

.ug-mobile-nav__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    max-width: 520px;
    margin: 0 auto;
}

.ug-mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.4rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 700;
    color: #5c6b68;
}

.ug-mobile-nav a.is-active {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.1);
}

.ug-mobile-nav a i {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .ug-journey {
        top: 64px;
        grid-template-columns: repeat(4, 1fr);
    }

    .ug-journey__label {
        font-size: 0.62rem;
    }

    .ug-mobile-nav {
        display: block;
    }

    .ug-wrap {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
    }
}

@media (max-width: 480px) {
    .ug-journey__label {
        display: none;
    }
}

/* ─── Visual Guide Button ─── */
.ug-visual-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 1.25rem;
    padding: .55rem 1.2rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e, #134e4a);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(15,118,110,.28);
    transition: transform .15s, box-shadow .15s;
    letter-spacing: .02em;
}
.ug-visual-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,118,110,.38); }
.ug-visual-btn svg { flex-shrink: 0; }

/* ─── Cinematic Modal ─── */
.ugv-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: #000;
    display: none;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}
.ugv-modal.is-open {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

/* top bar */
.ugv-topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: linear-gradient(to bottom, rgba(0,0,0,.7) 0%, transparent 100%);
    flex-shrink: 0;
}
.ugv-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,.9);
    letter-spacing: .04em;
}
.ugv-close {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, border-color .15s;
    backdrop-filter: blur(4px);
}
.ugv-close:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); }

/* step tabs — floating above stage */
.ugv-tabs {
    position: absolute;
    top: 56px; left: 50%; transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .6rem;
    border-radius: 999px;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    overflow-x: auto;
    scrollbar-width: none;
    max-width: calc(100vw - 2rem);
    flex-shrink: 0;
}
.ugv-tabs::-webkit-scrollbar { display: none; }
.ugv-tab {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .75rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,.55);
    font-family: 'Inter', sans-serif;
    font-size: .73rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.ugv-tab.is-done { color: rgba(201,168,76,.8); }
.ugv-tab.is-active {
    background: rgba(255,255,255,.18);
    color: #fff;
}
.ugv-tab-check { display: none; }
.ugv-tab.is-done .ugv-tab-check { display: inline; }
.ugv-tab.is-done .ugv-tab-num { display: none; }
.ugv-tab-num {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: .62rem;
}
.ugv-tab.is-active .ugv-tab-num { background: #C9A84C; color: #000; }

/* ─── Stage: full bleed photo ─── */
.ugv-stage {
    flex: 1;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 0;
}

/* each panel fills the entire stage */
.ugv-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .55s ease;
}
.ugv-panel.is-active { opacity: 1; pointer-events: all; }
.ugv-panel.is-prev { opacity: 0; }

/* photo background with ken-burns */
.ugv-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform-origin: center center;
    will-change: transform;
}
.ugv-panel.is-active .ugv-photo {
    animation: ugv-kenburns 12s ease-out forwards;
}

/* per-step ken-burns variants */
.ugv-panel[data-step="0"].is-active .ugv-photo { animation-name: ugv-kb-zoom; }
.ugv-panel[data-step="1"].is-active .ugv-photo { animation-name: ugv-kb-pan-right; }
.ugv-panel[data-step="2"].is-active .ugv-photo { animation-name: ugv-kb-pan-left; }
.ugv-panel[data-step="3"].is-active .ugv-photo { animation-name: ugv-kb-zoom-out; }

@keyframes ugv-kb-zoom      { from{transform:scale(1)}    to{transform:scale(1.12) translate(-2%,-1%)} }
@keyframes ugv-kb-pan-right { from{transform:scale(1.08) translate(-3%,0)} to{transform:scale(1.14) translate(2%,-1%)} }
@keyframes ugv-kb-pan-left  { from{transform:scale(1.08) translate(3%,0)}  to{transform:scale(1.14) translate(-2%,1%)} }
@keyframes ugv-kb-zoom-out  { from{transform:scale(1.15)} to{transform:scale(1.04) translate(1%,1%)} }

/* dark gradient layers */
.ugv-photo-grade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,  rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.15) 70%, rgba(0,0,0,.45) 100%),
        linear-gradient(to right, rgba(0,0,0,.3) 0%, transparent 40%);
}

/* step-specific overlay element (animated highlight) */
.ugv-photo-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Ihram: radial light burst */
.ugv-fx-ihram {
    background: radial-gradient(ellipse 60% 50% at 65% 35%, rgba(201,168,76,.18) 0%, transparent 70%);
    animation: ugv-fx-pulse 4s ease-in-out infinite;
}
/* Tawaf: rotating ring overlay */
.ugv-fx-tawaf::before {
    content: '';
    position: absolute;
    left: 50%; top: 42%;
    width: min(280px, 55vw); height: min(280px, 55vw);
    margin: calc(min(280px, 55vw) / -2) 0 0 calc(min(280px, 55vw) / -2);
    border-radius: 50%;
    border: 2px solid rgba(201,168,76,.5);
    box-shadow: 0 0 0 6px rgba(201,168,76,.08), inset 0 0 0 6px rgba(201,168,76,.08);
    animation: ugv-ring-spin 12s linear infinite;
}
.ugv-fx-tawaf::after {
    content: '';
    position: absolute;
    left: 50%; top: 42%;
    width: min(180px, 35vw); height: min(180px, 35vw);
    margin: calc(min(180px, 35vw) / -2) 0 0 calc(min(180px, 35vw) / -2);
    border-radius: 50%;
    border: 1.5px dashed rgba(201,168,76,.35);
    animation: ugv-ring-spin 8s linear infinite reverse;
}
/* Sa'i: horizontal sweep line */
.ugv-fx-sai::before {
    content: '';
    position: absolute;
    left: -10%; right: -10%;
    top: 55%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,.7), transparent);
    animation: ugv-sweep 3s ease-in-out infinite;
}
/* Halq: shimmer vignette */
.ugv-fx-halq {
    background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, rgba(201,168,76,.1) 100%);
    animation: ugv-fx-pulse 5s ease-in-out infinite 1s;
}

@keyframes ugv-fx-pulse  { 0%,100%{opacity:.6} 50%{opacity:1} }
@keyframes ugv-ring-spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes ugv-sweep     { 0%,100%{transform:translateX(-15%) scaleX(.6);opacity:.3} 50%{transform:translateX(15%) scaleX(1);opacity:1} }

/* bottom info card — overlaid over photo */
.ugv-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem 1.75rem 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,.96) 0%, rgba(0,0,0,.78) 45%, rgba(0,0,0,.45) 100%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .5s ease .2s, transform .5s ease .2s;
    pointer-events: none;
    max-height: min(62vh, 520px);
    min-height: 0;
}
.ugv-panel.is-active .ugv-card {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    touch-action: pan-y;
}
.ugv-step-label {
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #C9A84C;
}
.ugv-step-title {
    flex-shrink: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.ugv-step-desc {
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    line-height: 1.72;
    color: rgba(255,255,255,.82);
    max-width: 560px;
}
.ugv-step-tip {
    flex-shrink: 0;
    margin-top: .5rem;
    padding: .45rem .85rem;
    border-radius: 8px;
    background: rgba(201,168,76,.12);
    border: 1px solid rgba(201,168,76,.28);
    font-size: .78rem;
    color: rgba(255,255,255,.7);
    font-style: italic;
    backdrop-filter: blur(6px);
}

/* Du'as inside visual guide — scrollable region */
.ugv-duas {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin-top: .65rem;
    padding-top: .65rem;
    padding-right: .15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    max-height: min(36vh, 280px);
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 168, 76, 0.55) rgba(255, 255, 255, 0.08);
}

.ugv-duas::-webkit-scrollbar {
    width: 6px;
}

.ugv-duas::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.55);
    border-radius: 999px;
}

.ugv-duas-title {
    margin: 0 0 .65rem;
    position: sticky;
    top: 0;
    z-index: 1;
    padding-bottom: .35rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.92) 70%, transparent);
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #C9A84C;
}

.ugv-dua-heading {
    font-family: 'Inter', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    margin: .5rem 0 .25rem;
}

.ugv-card .ug-dua {
    position: relative;
    margin: 0 0 .65rem;
    padding: .65rem .75rem .75rem;
    padding-top: 2rem;
    background: rgba(0, 0, 0, 0.35);
    border-left: 3px solid #0f766e;
    border-radius: 0 10px 10px 0;
}

.ugv-card .ug-dua-ar {
    font-size: 1rem;
    line-height: 1.85;
    color: #fff;
}

.ugv-card .ug-dua-translit {
    font-size: .78rem;
    color: rgba(255, 255, 255, 0.55);
}

.ugv-card .ug-dua-en {
    font-size: .8rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.ugv-card .ug-dua-copy {
    position: absolute;
    top: 0.45rem;
    right: 0.5rem;
    font-size: .68rem;
    padding: 0.2rem 0.55rem;
    background: rgba(15, 118, 110, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* bottom nav — fixed strip below stage (does not cover text) */
.ugv-nav {
    position: relative;
    z-index: 20;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 1.25rem calc(.85rem + env(safe-area-inset-bottom));
    background: linear-gradient(to top, #0a0f0e 0%, rgba(10, 15, 14, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: auto;
}

.ugv-nav > * {
    pointer-events: all;
}

.ugv-nav-btn {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(0,0,0,.45);
    color: rgba(255,255,255,.85);
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .18s;
    backdrop-filter: blur(10px);
}
.ugv-nav-btn:hover:not(:disabled) { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.45); }
.ugv-nav-btn:disabled { opacity: .25; cursor: default; }
.ugv-nav-btn--next {
    background: rgba(201,168,76,.85);
    border-color: transparent;
    color: #000;
    font-weight: 800;
}
.ugv-nav-btn--next:hover:not(:disabled) { background: #C9A84C; transform: translateY(-1px); }

.ugv-dots {
    display: flex;
    gap: .5rem;
    align-items: center;
    padding-bottom: .1rem;
}
.ugv-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    transition: all .25s;
}
.ugv-dot.is-active { background: #C9A84C; width: 20px; border-radius: 3px; }
.ugv-dot.is-done   { background: rgba(201,168,76,.5); }

/* ─── Completion screen ─── */
.ugv-complete {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #0a1a0f, #0f1a2a);
    z-index: 5;
}
.ugv-complete.is-active { display: flex; }
.ugv-complete-icon {
    font-size: 4rem;
    margin-bottom: 1.25rem;
    animation: ugv-float 3s ease-in-out infinite;
}
.ugv-complete h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 6vw, 2.8rem);
    color: #C9A84C;
    margin-bottom: .6rem;
}
.ugv-complete p {
    color: rgba(255,255,255,.72);
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    line-height: 1.8;
    max-width: 420px;
}
.ugv-complete-ar {
    font-family: 'Traditional Arabic', serif;
    font-size: 1.3rem;
    color: rgba(201,168,76,.8);
    margin-top: 1rem;
    direction: rtl;
}
.ugv-restart {
    margin-top: 1.75rem;
    padding: .65rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(201,168,76,.45);
    background: transparent;
    color: #C9A84C;
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}
.ugv-restart:hover { background: rgba(201,168,76,.1); }

@keyframes ugv-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

@media (max-width: 600px) {
    .ugv-card {
        padding: 1rem 1.1rem 1rem;
        max-height: min(58vh, 480px);
    }
    .ugv-duas {
        max-height: min(32vh, 240px);
    }
    .ugv-card .ug-dua-ar {
        font-size: .92rem;
    }
    .ugv-step-desc {
        font-size: .82rem;
    }
    .ugv-nav {
        padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    }
    .ugv-topbar {
        padding: .75rem 1rem;
    }
    .ugv-tabs {
        top: 52px;
        max-width: calc(100vw - 1rem);
    }
}
