/* =========================================
   ROOT & RESET
========================================= */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

:root {
    --ink:       #0c0d10;
    --ink2:      #111318;
    --ink3:      #181b24;
    --gold:      #c9a84c;
    --gold2:     #e8c76a;
    --gold-dim:  rgba(201,168,76,0.15);
    --red:       #d95f5f;
    --green:     #4dab82;
    --fg:        #eceae4;
    --fg2:       #989690;
    --fg3:       #4e4d48;
    --border:    rgba(255,255,255,0.06);
    --border-g:  rgba(201,168,76,0.25);
    --font-disp: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
}

html { 
    scroll-behavior: smooth; 
}

body {
    background: var(--ink);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    
}

/* Noise grain overlay */
body::after {
    content: '';
    position: fixed; 
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; 
    z-index: 9998; 
    opacity: .38;
}

/* =========================================
   SCROLLBAR
========================================= */
::-webkit-scrollbar { 
    width: 5px; 
}
::-webkit-scrollbar-track { 
    background: var(--ink); 
}
::-webkit-scrollbar-thumb { 
    background: var(--fg3); 
    border-radius: 4px; 
}

/* ===== CUSTOM CURSOR ===== */
#cur {
    position: fixed; 
    width: 10px; 
    height: 10px;
    background: var(--gold); 
    border-radius: 50%;
    pointer-events: none; 
    z-index: 99999;
    transform: translate(-50%,-50%);
    mix-blend-mode: screen;
}
#cur2 {
    position: fixed; 
    width: 38px; 
    height: 38px;
    border: 1.5px solid rgba(201,168,76,.4); 
    border-radius: 50%;
    pointer-events: none; 
    z-index: 99998;
    transform: translate(-50%,-50%);
}
body.hov #cur { 
    width: 18px; 
    height: 18px; 
}
body.hov #cur2 { 
    width: 58px; 
    height: 58px; 
    border-color: rgba(201,168,76,.75); 
}

/* =========================================
   UTILITY
========================================= */
.tag { 
    font-size: 10px; 
    font-weight: 600; 
    letter-spacing: 2.5px; 
    text-transform: uppercase; 
    color: var(--gold); 
    display: inline-block; 
    margin-bottom: 10px; 
}

.reveal { 
    /* JS yuklanmasa ham kontent ko'rinib turishi uchun boshlang'ich holat ko'rinadigan. */
    opacity: 1; 
    transform: none; 
}
.reveal:not(.in) { 
    animation: reveal-fallback .9s ease .3s both;
}
.reveal.in { 
    opacity: 1; 
    transform: none; 
}
@keyframes reveal-fallback {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: none; }
}

/* =========================================
   HEADER
========================================= */
header {
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 1000;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 22px 64px;
    transition: padding .4s, background .4s, border-color .4s, backdrop-filter .4s;
    border-bottom: 1px solid transparent;
}
header.stuck {
    padding: 13px 64px;
    background: rgba(12,13,16,.92);
    backdrop-filter: blur(20px);
    border-color: var(--border);
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 11px; 
    text-decoration: none; 
}
.logo-mark {
    width: 38px; 
    height: 38px; 
    background: var(--gold); 
    border-radius: 10px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 18px;
    transform: rotate(-6deg); 
    box-shadow: 0 0 22px rgba(201,168,76,.3);
    transition: transform .4s;
}
.logo:hover .logo-mark { 
    transform: rotate(0) scale(1.08); 
}
.logo-name { 
    font-family: var(--font-disp); 
    font-size: 22px; 
    font-weight: 700; 
    letter-spacing: -.5px; 
    color: var(--fg); 
}
.logo-name b { 
    color: var(--gold); 
}

nav { 
    display: flex; 
    gap: 34px; 
}
nav a { 
    font-size: 13.5px; 
    color: var(--fg2); 
    text-decoration: none; 
    font-weight: 500; 
    position: relative; 
    transition: color .3s; 
}
nav a::after { 
    content: ''; 
    position: absolute; 
    bottom: -3px; 
    left: 0; 
    width: 0; 
    height: 1px; 
    background: var(--gold); 
    transition: width .3s; 
}
nav a:hover { 
    color: var(--fg); 
}
nav a:hover::after { 
    width: 100%; 
}

.hdr-btns { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
}

.btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 7px; 
    cursor: none; 
    font-family: var(--font-body); 
    font-weight: 500; 
    border-radius: 10px; 
    transition: all .3s; 
    border: none; 
    outline: none; 
    font-size: 13px; 
}
.btn-ghost { 
    background: transparent; 
    border: 1px solid var(--border); 
    color: var(--fg2); 
    padding: 8px 18px; 
}
.btn-ghost:hover { 
    border-color: var(--gold); 
    color: var(--gold); 
}
.btn-primary { 
    background: var(--gold); 
    color: #0c0d10; 
    font-weight: 600; 
    padding: 9px 20px; 
    box-shadow: 0 0 22px rgba(201,168,76,.28); 
}
.btn-primary:hover { 
    background: var(--gold2); 
    box-shadow: 0 0 38px rgba(201,168,76,.5); 
    transform: translateY(-2px); 
}
.btn-lg { 
    font-size: 15px !important; 
    padding: 13px 30px !important; 
    border-radius: 12px !important; 
}

/* =========================================
   HERO
========================================= */
.hero {
    min-height: 100vh;
    display: grid; 
    grid-template-columns: 1fr 1fr;
    align-items: center; 
    gap: 60px;
    padding: 130px 64px 80px;
    position: relative; 
    overflow: hidden;
}

.blob { 
    position: absolute; 
    border-radius: 50%; 
    filter: blur(110px); 
    pointer-events: none; 
    opacity: .1; 
}
.b1 { 
    width: 640px; 
    height: 640px; 
    background: var(--gold); 
    top: -200px; 
    right: -160px; 
    animation: fl 9s ease-in-out infinite; 
}
.b2 { 
    width: 430px; 
    height: 430px; 
    background: #5050c8; 
    bottom: -120px; 
    left: -80px; 
    animation: fl 11s ease-in-out infinite reverse; 
}
.b3 { 
    width: 300px; 
    height: 300px; 
    background: var(--red); 
    top: 45%; 
    left: 36%; 
    animation: fl 13s ease-in-out infinite 2s; 
}
@keyframes fl { 
    0%,100%{transform:translateY(0) scale(1)} 
    50%{transform:translateY(-26px) scale(1.06)} 
}

.hero::before {
    content: '';
    position: absolute; 
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at center, transparent 25%, black 80%);
    pointer-events: none;
}

.hero-l { 
    position: relative; 
    z-index: 2; 
}

.hero-badge {
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    background: var(--gold-dim); 
    border: 1px solid var(--border-g);
    padding: 5px 14px; 
    border-radius: 100px;
    font-size: 11.5px; 
    color: var(--gold); 
    font-weight: 500; 
    letter-spacing: .4px;
    margin-bottom: 28px;
    opacity: 0; 
    animation: fup .7s ease forwards .2s;
}
.hero-badge i { 
    width: 6px; 
    height: 6px; 
    background: var(--gold); 
    border-radius: 50%; 
    display: inline-block; 
    animation: bl 2s ease-in-out infinite; 
}

.hero-h1 {
    font-family: var(--font-disp);
    font-size: clamp(52px, 6.5vw, 92px);
    font-weight: 700; 
    line-height: 1.02; 
    letter-spacing: -2px;
    margin-bottom: 24px;
    opacity: 0; 
    animation: fup .8s ease forwards .35s;
}
.hero-h1 em { 
    font-style: italic; 
    color: var(--gold); 
}

.hero-sub {
    font-size: 16px; 
    color: var(--fg2); 
    line-height: 1.8; 
    max-width: 460px; 
    margin-bottom: 38px;
    opacity: 0; 
    animation: fup .8s ease forwards .5s;
}

.hero-cta { 
    display: flex; 
    gap: 12px; 
    flex-wrap: wrap; 
    opacity: 0; 
    animation: fup .8s ease forwards .65s; 
}

/* Hero right */
.hero-r {
    position: relative; 
    z-index: 2;
    display: flex; 
    flex-direction: column; 
    gap: 16px;
    opacity: 0; 
    animation: fri 1s ease forwards .8s;
}

.fcard {
    background: var(--ink2); 
    border: 1px solid var(--border); 
    border-radius: 18px;
    padding: 20px 24px; 
    transition: all .35s; 
    position: relative; 
    overflow: hidden;
}
.fcard::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0; 
    transition: opacity .35s;
}
.fcard:hover { 
    transform: translateX(-6px); 
    border-color: var(--border-g); 
}
.fcard:hover::before { 
    opacity: 1; 
}
.fcard-row { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
}
.fcard-ico { 
    font-size: 30px; 
    flex-shrink: 0; 
}
.fcard-t { 
    font-family: var(--font-disp); 
    font-size: 17px; 
    font-weight: 600; 
}
.fcard-m { 
    font-size: 12px; 
    color: var(--fg2); 
    margin-top: 3px; 
}

.badge { 
    display: inline-block; 
    padding: 3px 10px; 
    border-radius: 100px; 
    font-size: 10px; 
    font-weight: 600; 
    letter-spacing: .5px; 
    margin-top: 12px; 
}
.bl  { 
    background: rgba(217,95,95,.12); 
    color: var(--red); 
    border: 1px solid rgba(217,95,95,.3); 
}
.bf  { 
    background: rgba(77,171,130,.12); 
    color: var(--green); 
    border: 1px solid rgba(77,171,130,.3); 
}
.bu  { 
    background: var(--gold-dim); 
    color: var(--gold); 
    border: 1px solid var(--border-g); 
    animation: pu 2s ease-in-out infinite; 
}
@keyframes pu { 
    0%,100%{box-shadow:0 0 0 0 rgba(201,168,76,.4)} 
    50%{box-shadow:0 0 0 6px rgba(201,168,76,0)} 
}

.stat-row { 
    display: grid; 
    grid-template-columns: repeat(3,1fr); 
    gap: 12px; 
}
.sc { 
    background: var(--ink2); 
    border: 1px solid var(--border); 
    border-radius: 14px; 
    padding: 18px; 
    text-align: center; 
}
.sn { 
    font-family: var(--font-disp); 
    font-size: 32px; 
    font-weight: 700; 
    color: var(--gold); 
}
.sl { 
    font-size: 11px; 
    color: var(--fg3); 
    text-transform: uppercase; 
    letter-spacing: .5px; 
    margin-top: 3px; 
}

/* =========================================
   SEARCH
========================================= */
.search-sec { 
    padding: 0 64px 56px; 
}
.search-box {
    background: var(--ink2); 
    border: 1px solid var(--border); 
    border-radius: 20px;
    padding: 40px; 
    position: relative; 
    overflow: hidden;
}
.search-box::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, var(--gold) 50%, transparent 90%);
}
.s-title { 
    font-family: var(--font-disp); 
    font-size: 28px; 
    font-weight: 600; 
    margin-bottom: 22px; 
}
.s-bar { 
    display: flex; 
    gap: 12px; 
    margin-bottom: 16px; 
}
.s-wrap { 
    flex: 1; 
    position: relative; 
}
.s-ico { 
    position: absolute; 
    left: 15px; 
    top: 50%; 
    transform: translateY(-50%); 
    font-size: 16px; 
    pointer-events: none; 
}
.s-inp {
    width: 100%; 
    background: var(--ink); 
    border: 1px solid var(--border); 
    color: var(--fg);
    padding: 12px 14px 12px 44px; 
    border-radius: 12px; 
    font-size: 14.5px;
    font-family: var(--font-body); 
    outline: none; 
    transition: all .3s;
}
.s-inp::placeholder { 
    color: var(--fg3); 
}
.s-inp:focus { 
    border-color: var(--gold); 
    box-shadow: 0 0 0 3px rgba(201,168,76,.1); 
}
.chips { 
    display: flex; 
    gap: 8px; 
    flex-wrap: wrap; 
}
.chip {
    background: transparent; 
    border: 1px solid var(--border); 
    color: var(--fg2);
    padding: 6px 15px; 
    border-radius: 100px; 
    font-size: 12.5px;
    font-family: var(--font-body); 
    cursor: none; 
    transition: all .25s;
}
.chip:hover, .chip.on { 
    background: var(--gold-dim); 
    border-color: var(--gold); 
    color: var(--gold); 
}

/* =========================================
   LISTINGS
========================================= */
.listings { 
    padding: 0 64px 72px; 
}
.sec-head { 
    display: flex; 
    align-items: flex-end; 
    justify-content: space-between; 
    margin-bottom: 30px; 
}
.sec-h2 { 
    font-family: var(--font-disp); 
    font-size: 38px; 
    font-weight: 700; 
    letter-spacing: -1px; 
}
.sec-link { 
    font-size: 13.5px; 
    color: var(--fg2); 
    text-decoration: none; 
    border-bottom: 1px solid transparent; 
    transition: all .3s; 
    padding-bottom: 2px; 
}
.sec-link:hover { 
    color: var(--gold); 
    border-color: var(--gold); 
}

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 20px; 
}

.card { 
    background: var(--ink2); 
    border: 1px solid var(--border); 
    border-radius: 18px;
    overflow: hidden; 
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform .4s cubic-bezier(.23,1,.32,1), box-shadow .4s, border-color .4s;
}
.card:hover { 
    transform: translateY(-10px) rotate(-.25deg); 
    border-color: var(--border-g); 
    box-shadow: 0 28px 60px rgba(0,0,0,.5), 0 0 36px rgba(201,168,76,.09); 
}
.card-img {
    height: 185px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 68px; 
    position: relative; 
    overflow: hidden;
}
.card-img::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    height: 55px; 
    background: linear-gradient(transparent, var(--ink2)); 
    pointer-events: none;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink3, #121212);
    color: var(--fg3);
    font-size: 56px;
}
.cst { 
    position: absolute; 
    top: 14px; 
    left: 14px; 
    z-index: 2; 
}
.cug { 
    position: absolute; 
    top: 14px; 
    right: 14px; 
    z-index: 2; 
}
.card-body { 
    padding: 20px; 
}
.card-cat { 
    font-size: 10.5px; 
    color: var(--gold); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-weight: 600; 
    margin-bottom: 7px; 
}
.card-title { 
    font-family: var(--font-disp); 
    font-size: 20px; 
    font-weight: 600; 
    margin-bottom: 8px; 
    line-height: 1.25; 
}
.card-desc { 
    font-size: 13px; 
    color: var(--fg2); 
    line-height: 1.65; 
    margin-bottom: 16px; 
    display: -webkit-box; 
    -webkit-line-clamp: 2;
    line-clamp: 2;              /* ✅ Standart xususiyat qo'shildi */
    -webkit-box-orient: vertical; 
    overflow: hidden;
}

.card-foot { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding-top: 13px; 
    border-top: 1px solid var(--border); 
}
.card-loc { 
    font-size: 12px; 
    color: var(--fg3); 
}
.card-rew { 
    background: var(--gold-dim); 
    color: var(--gold); 
    border: 1px solid var(--border-g); 
    padding: 3px 10px; 
    border-radius: 6px; 
    font-size: 12px; 
    font-weight: 600; 
}
.card-date { 
    font-size: 12px; 
    color: var(--fg3); 
}

/* =========================================
   MAP
========================================= */
.map-wrap {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

#map-canvas {
    flex: 2;
    min-width: 300px;
    border-radius: 16px;
    z-index: 1;
}

.found-items-map {
    width: 100%;
    height: min(72vh, 680px);
    min-height: 380px;
    border: 1px solid var(--border-g);
    border-radius: 16px;
    overflow: hidden;
    background: #101216;
}

.map-side {
    flex: 1;
    min-width: 280px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.map-side-h {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.map-side-s {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 16px;
}

.mlist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.map-item {
    padding: 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    transition: all 0.2s;
}

.map-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(-3px);
}

.map-item-t {
    font-weight: 500;
    margin-bottom: 6px;
}

.map-item-m {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    opacity: 0.8;
}

.form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    outline: none;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-control:focus {
    border-color: #0066cc;
}

.map-location-input {
    width: 100%;
    margin-bottom: 10px;
    padding: 11px 12px;
    border-radius: 8px;
}

.map-location-hint {
    margin: 0 0 12px;
    color: var(--fg2);
    font-size: 12px;
    line-height: 1.5;
}

.map-result {
    margin-top: 14px;
    padding: 13px;
    border: 1px solid var(--border-g);
    border-radius: 10px;
    background: rgba(255,255,255,.055);
    color: var(--fg);
}

.map-result[hidden] { display: none; }
.map-result strong { color: var(--gold2); font-size: 13px; }
.map-result p { margin-top: 7px; color: var(--fg2); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }

@media (max-width: 768px) {
    .map-wrap {
        flex-direction: column;
    }

    .found-items-map {
        height: 62vh;
        min-height: 340px;
    }
}

/* =========================================
   HOW IT WORKS
========================================= */
.how-sec { 
    padding: 0 64px 72px; 
}
.steps { 
    display: grid; 
    grid-template-columns: repeat(3,1fr); 
    gap: 2px; 
    background: var(--border); 
    border-radius: 20px; 
    overflow: hidden; 
}
.step { 
    background: var(--ink2); 
    padding: 46px 36px; 
    position: relative; 
    transition: background .3s; 
}
.step:hover { 
    background: var(--ink3); 
}
.step-n { 
    font-family: var(--font-disp); 
    font-size: 80px; 
    font-weight: 700; 
    color: rgba(201,168,76,.06); 
    position: absolute; 
    top: 10px; 
    right: 20px; 
    line-height: 1; 
}
.step-ico { 
    font-size: 38px; 
    margin-bottom: 18px; 
    display: block; 
}
.step-t { 
    font-family: var(--font-disp); 
    font-size: 23px; 
    font-weight: 600; 
    margin-bottom: 12px; 
}
.step-d { 
    font-size: 13.5px; 
    color: var(--fg2); 
    line-height: 1.75; 
}

/* =========================================
   LIVE FEED
========================================= */
.feed-sec { 
    padding: 0 64px 72px; 
}
.feed-box { 
    background: var(--ink2); 
    border: 1px solid var(--border); 
    border-radius: 20px; 
    overflow: hidden; 
}
.feed-hdr { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    padding: 22px 28px; 
    border-bottom: 1px solid var(--border); 
}
.feed-hdr h3 { 
    font-family: var(--font-disp); 
    font-size: 20px; 
    font-weight: 600; 
}
.live-pill { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    background: rgba(217,95,95,.1); 
    border: 1px solid rgba(217,95,95,.3); 
    padding: 4px 11px; 
    border-radius: 100px; 
    font-size: 10.5px; 
    color: var(--red); 
    font-weight: 600; 
    letter-spacing: .5px; 
}
.live-dot { 
    width: 6px; 
    height: 6px; 
    background: var(--red); 
    border-radius: 50%; 
    animation: bl 1.4s ease-in-out infinite; 
}
.fi { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    padding: 16px 28px; 
    border-bottom: 1px solid var(--border); 
    transition: background .25s; 
    animation: sli .4s ease both; 
}
.fi:last-child { 
    border-bottom: none; 
}
.fi:hover { 
    background: var(--ink3); 
}
.fi-ico { 
    width: 42px; 
    height: 42px; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px; 
    flex-shrink: 0; 
}
.fi-ico.l { 
    background: rgba(217,95,95,.1); 
}
.fi-ico.f { 
    background: rgba(77,171,130,.1); 
}
.fi-txt { 
    flex: 1; 
    font-size: 13.5px; 
}
.fi-txt strong { 
    color: var(--gold); 
}
.fi-time { 
    font-size: 11.5px; 
    color: var(--fg3); 
    margin-top: 3px; 
}
.fi-lbl { 
    padding: 4px 11px; 
    border-radius: 100px; 
    font-size: 10.5px; 
    font-weight: 600; 
    white-space: nowrap; 
}

/* =========================================
   TRUST CELLS
========================================= */
.trust { 
    padding: 0 64px 72px; 
}
.trust-g {
    display: grid; 
    grid-template-columns: repeat(4,1fr);
    background: var(--ink2); 
    border: 1px solid var(--border); 
    border-radius: 20px; 
    overflow: hidden;
}
.tc { 
    padding: 38px 30px; 
    border-right: 1px solid var(--border); 
    transition: background .3s; 
}
.tc:last-child { 
    border-right: none; 
}
.tc:hover { 
    background: var(--ink3); 
}
.tc-ico { 
    font-size: 34px; 
    margin-bottom: 16px; 
}
.tc-t { 
    font-family: var(--font-disp); 
    font-size: 19px; 
    font-weight: 600; 
    margin-bottom: 8px; 
}
.tc-d { 
    font-size: 13px; 
    color: var(--fg2); 
    line-height: 1.7; 
}

/* =========================================
   CTA
========================================= */
.cta-sec { 
    padding: 0 64px 80px; 
}
.cta-box {
    background: linear-gradient(135deg, rgba(201,168,76,.07), rgba(201,168,76,.02));
    border: 1px solid var(--border-g); 
    border-radius: 24px; 
    padding: 88px 64px;
    text-align: center; 
    position: relative; 
    overflow: hidden;
}
.cta-box::before {
    content: ''; 
    position: absolute; 
    top: -100px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 260px; 
    height: 260px; 
    background: var(--gold); 
    border-radius: 50%;
    filter: blur(100px); 
    opacity: .07;
}
.cta-t { 
    font-family: var(--font-disp); 
    font-size: clamp(38px, 5vw, 64px); 
    font-weight: 700; 
    letter-spacing: -1.5px; 
    margin-bottom: 18px; 
    line-height: 1.1; 
}
.cta-s { 
    font-size: 16.5px; 
    color: var(--fg2); 
    margin-bottom: 44px; 
    max-width: 460px; 
    margin-left: auto; 
    margin-right: auto; 
}
.cta-acts { 
    display: flex; 
    gap: 14px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

/* =========================================
   FOOTER
========================================= */
footer { 
    border-top: 1px solid var(--border); 
    padding: 60px 64px 40px; 
}
.footer-g { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 56px; 
    margin-bottom: 46px; 
}
.footer-desc { 
    font-size: 13.5px; 
    color: var(--fg2); 
    line-height: 1.8; 
    margin-top: 14px; 
    max-width: 270px; 
}
.f-col-h { 
    font-size: 10.5px; 
    font-weight: 600; 
    letter-spacing: 1.5px; 
    text-transform: uppercase; 
    color: var(--fg3); 
    margin-bottom: 18px; 
}
.f-links { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 11px; 
}
.f-links a { 
    color: var(--fg2); 
    text-decoration: none; 
    font-size: 13.5px; 
    transition: color .3s; 
}
.f-links a:hover { 
    color: var(--gold); 
}
.footer-bot { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding-top: 28px; 
    border-top: 1px solid var(--border); 
    font-size: 12.5px; 
    color: var(--fg3); 
}

/* =========================================
   MODAL
========================================= */
.modal-overlay {
    position: fixed; 
    inset: 0; 
    background: rgba(7,9,16,.88); 
    backdrop-filter: blur(14px);
    z-index: 5000; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0; 
    pointer-events: none; 
    transition: opacity .35s;
}
.modal-overlay.open { 
    opacity: 1; 
    pointer-events: all; 
}
.modal {
    background: var(--ink2); 
    border: 1px solid var(--border-g); 
    border-radius: 22px;
    padding: 44px; 
    width: 100%; 
    max-width: 560px; 
    max-height: 90vh; 
    overflow-y: auto;
    transform: translateY(24px); 
    transition: transform .35s; 
    position: relative;
}
.modal-overlay.open .modal { 
    transform: none; 
}
.modal-h { 
    font-family: var(--font-disp); 
    font-size: 30px; 
    font-weight: 700; 
    margin-bottom: 6px; 
}
.modal-sub { 
    font-size: 13.5px; 
    color: var(--fg2); 
    margin-bottom: 28px; 
}
.modal-x {
    position: absolute; 
    top: 18px; 
    right: 18px; 
    width: 32px; 
    height: 32px;
    background: var(--ink3); 
    border: none; 
    border-radius: 8px; 
    color: var(--fg2);
    font-size: 18px; 
    cursor: none; 
    transition: all .25s; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.modal-x:hover { 
    background: var(--red); 
    color: #fff; 
}
.type-btns { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 20px; 
}
.type-btn {
    flex: 1; 
    padding: 10px; 
    border-radius: 10px; 
    border: 1px solid var(--border);
    background: transparent; 
    color: var(--fg2); 
    font-family: var(--font-body);
    font-size: 13.5px; 
    font-weight: 500; 
    cursor: none; 
    transition: all .25s;
}
.type-btn.sl { 
    background: rgba(217,95,95,.12); 
    border-color: rgba(217,95,95,.4); 
    color: var(--red); 
}
.type-btn.sf { 
    background: rgba(77,171,130,.12); 
    border-color: rgba(77,171,130,.4); 
    color: var(--green); 
}
.frow { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 14px; 
    margin-bottom: 14px; 
}
.frow.full { 
    grid-template-columns: 1fr; 
}
.flbl { 
    display: block; 
    font-size: 11px; 
    font-weight: 600; 
    letter-spacing: .5px; 
    color: var(--fg2); 
    margin-bottom: 7px; 
    text-transform: uppercase; 
}
.finp, .fsel, .fta {
    width: 100%; 
    background: var(--ink); 
    border: 1px solid var(--border); 
    color: var(--fg);
    padding: 11px 14px; 
    border-radius: 10px; 
    font-size: 14px;
    font-family: var(--font-body); 
    outline: none; 
    transition: all .3s; 
    appearance: none;
}
.finp::placeholder, .fta::placeholder { 
    color: var(--fg3); 
}
.finp:focus, .fsel:focus, .fta:focus { 
    border-color: var(--gold); 
    box-shadow: 0 0 0 3px rgba(201,168,76,.1); 
}
.fta { 
    resize: vertical; 
    min-height: 88px; 
}
.fsel { 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2398969080' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 14px center; 
    padding-right: 36px; 
}
.fsel option { 
    background: var(--ink2); 
}

/* =========================================
   TOAST
========================================= */
.toasts { 
    position: fixed; 
    bottom: 26px; 
    right: 26px; 
    z-index: 9000; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    align-items: flex-end; 
}
.tn { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    background: var(--ink2); 
    border: 1px solid var(--border); 
    padding: 12px 17px; 
    border-radius: 12px; 
    font-size: 13px; 
    box-shadow: 0 12px 40px rgba(0,0,0,.5); 
    animation: tin .35s ease; 
    max-width: 310px; 
}
.tn.tg { 
    border-left: 3px solid var(--gold); 
}
.tn.tr { 
    border-left: 3px solid var(--red); 
}
.tn.tf { 
    border-left: 3px solid var(--green); 
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes fup  { 
    from{opacity:0;transform:translateY(26px)} 
    to{opacity:1;transform:none} 
}
@keyframes fri  { 
    from{opacity:0;transform:translateX(26px)} 
    to{opacity:1;transform:none} 
}
@keyframes sli  { 
    from{opacity:0;transform:translateX(-14px)} 
    to{opacity:1;transform:none} 
}
@keyframes tin  { 
    from{opacity:0;transform:translateX(26px)} 
    to{opacity:1;transform:none} 
}
@keyframes bl   { 
    0%,100%{opacity:1} 
    50%{opacity:.3} 
}

/* =========================================
   RESPONSIVE
========================================= */
@media(max-width:1100px){
    .hero { 
        grid-template-columns: 1fr; 
        padding-top: 120px; 
    }
    .hero-r { 
        order: -1; 
    }
    .stat-row { 
        grid-template-columns: repeat(3,1fr); 
    }
    .map-wrap { 
        grid-template-columns: 1fr; 
    }
    .map-side { 
        border-left: none; 
        border-top: 1px solid var(--border); 
    }
    .trust-g { 
        grid-template-columns: 1fr 1fr; 
    }
    .footer-g { 
        grid-template-columns: 1fr 1fr; 
    }
}

@media(max-width:768px){
    header, .hero, .search-sec, .listings, .map-sec, .how-sec, .feed-sec, .trust, .cta-sec, footer { 
        padding-left: 20px; 
        padding-right: 20px; 
    }
    .hero { 
        padding: 100px 20px 60px; 
        gap: 30px; 
    }
    .grid { 
        grid-template-columns: 1fr; 
    }
    .stat-row { 
        grid-template-columns: 1fr; 
    }
    .steps { 
        grid-template-columns: 1fr; 
    }
    .trust-g { 
        grid-template-columns: 1fr; 
    }
    .footer-g { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    .map-wrap { 
        grid-template-columns: 1fr; 
    }
}

/* ===== CHAT MODAL STYLES ===== */
.chatbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.chatbox-overlay.open {
    display: flex;
}
.chatbox-modal {
    background: #1c1c1c;
    color: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    min-height: 400px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    position: relative;
}
.chatbox-close {
    position: absolute;
    top: 10px; right: 10px;
    background: #444;
    border: none;
    border-radius: 50%;
    width: 32px; height: 32px;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
}

/* ===== CHAT UI STYLES ===== */
.chatbox-header {
    padding: 16px;
    background: #2a2a2a;
    border-bottom: 1px solid #444;
    font-weight: bold;
    color: #ffd700;
    border-radius: 12px 12px 0 0;
}
.chatbox-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chatbox-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}
.chatbox-msg.user {
    background: #4dab82;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chatbox-msg.bot {
    background: #2a2a2a;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chatbox-time {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 4px;
}
.chatbox-typing {
    display: none;
    padding: 12px;
    color: #888;
    font-style: italic;
}

/* ===== INPUT AREA ===== */
.chatbox-input-area {
    flex-shrink: 0;
    padding: 16px;
    background: #2a2a2a;
    border-top: 1px solid #444;
    display: flex;
    gap: 12px;
    border-radius: 0 0 12px 12px;
}
.chatbox-input-area textarea {
    flex: 1;
    background: #1c1c1c;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    resize: none;
    font-family: 'Outfit', sans-serif;
}
.chatbox-input-area button {
    background: #ffd700;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #000;
}
.chatbox-input-area button:hover {
    background: #e8c76a;
}

/* ===== CHAT MODAL OVERLAY ===== */
.chat-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}
.chat-modal-overlay.open {
    display: flex;
    opacity: 1;
}

/* ===== CHAT MODAL ===== */
.chat-modal {
    background: #1c1c1c;
    color: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    height: min(640px, calc(100vh - 40px));
    max-height: calc(100vh - 40px);
    min-height: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}
.chat-modal-overlay.open .chat-modal {
    transform: translateY(0);
}

/* ===== CLOSE BUTTON ===== */
.chat-modal .chat-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #333;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    z-index: 10;
}
.chat-modal .chat-close:hover {
    background: #d95f5f;
    color: #fff;
}

/* ===== HEADER ===== */
.chat-modal .chat-header {
    padding: 16px 20px;
    background: #252525;
    border-bottom: 1px solid #333;
    font-weight: 600;
    font-size: 16px;
    color: #ffd700;
}

/* ===== BODY ===== */
.chat-modal .chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
}
.chat-modal .msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}
.chat-modal .msg.user {
    background: #4dab82;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-modal .msg.bot {
    background: #2a2a2a;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.chat-modal .time {
    font-size: 10px;
    opacity: 0.6;
    margin-top: 4px;
}
.chat-modal .typing {
    display: none;
    padding: 8px;
    color: #888;
    font-size: 13px;
    font-style: italic;
}

/* ===== INPUT AREA ===== */
.chat-modal .chat-input-area {
    padding: 16px;
    background: #252525;
    border-top: 1px solid #333;
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.chat-modal .chat-input-area textarea {
    flex: 1;
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    resize: none;
    font-family: 'Outfit', sans-serif;
}
.chat-modal .chat-input-area textarea:focus {
    outline: none;
    border-color: #ffd700;
}
.chat-modal .chat-input-area button {
    background: #ffd700;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #000;
    transition: background 0.2s;
}
.chat-modal .chat-input-area button:hover {
    background: #e8c76a;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
    .chat-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    .chat-modal {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        height: 90vh;
        height: 90dvh;
        border-radius: 16px 16px 0 0;
        margin-bottom: 0;
    }
    .chat-modal .chat-input-area {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    .chat-modal .chat-input-area textarea {
        min-height: 50px;
        width: 100%;
    }
    .chat-modal .chat-input-area button {
        width: 100%;
        padding: 14px 24px;
    }
}

/* CHAT MODAL: input va yuborish tugmasi uchun maxsus style */
.chat-modal .chat-input-area {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 16px;
    background: #252525;
    border-top: 1px solid #333;
    border-radius: 0 0 16px 16px;
    flex-shrink: 0;
}
.chat-modal .chat-input-area textarea {
    flex: 1;
    min-height: 38px;
    max-height: 80px;
    resize: none;
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.4;
}
.chat-modal .chat-input-area textarea:focus {
    outline: none;
    border-color: #ffd700;
}
.chat-modal .chat-input-area button {
    background: #ffd700;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #000;
    transition: background 0.2s;
    box-shadow: none;
    flex-shrink: 0;
    white-space: nowrap;
}
.chat-modal .chat-input-area button:hover {
    background: #e8c76a;
}
.chat-modal .chat-input-area button:hover {
    background: #e8c76a;
}


/* Profil Modal */
.profile-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.profile-modal {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    border-radius: 24px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 0;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-header {
    background: linear-gradient(135deg, #F5A623, #ff6b35);
    padding: 30px;
    text-align: center;
    border-radius: 24px 24px 0 0;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 16px;
    border: 3px solid white;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.profile-email {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.profile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.profile-stats {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #F5A623;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.profile-info {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row {
    display: flex;
    margin-bottom: 12px;
}

.info-label {
    width: 120px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.info-value {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.profile-items {
    padding: 20px;
}

.items-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #F5A623;
}

.user-item-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: all 0.2s;
}

.user-item-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-item-img {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    overflow: hidden;
}

.user-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-item-info {
    flex: 1;
}

.user-item-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.user-item-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    gap: 12px;
}

.user-item-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
}

.status-active {
    background: rgba(46, 204, 113, 0.2);
    color: #2ECC71;
}

.status-found {
    background: rgba(245, 166, 35, 0.2);
    color: #F5A623;
}

.status-success {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.close-item-btn {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #E74C3C;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.close-item-btn:hover {
    background: #E74C3C;
    color: white;
    transform: translateY(-2px);
}

.loading-spinner {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(245, 166, 35, 0.3);
    border-top-color: #F5A623;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* =========================================
   FEED ITEMS (index.html "Jonli faoliyat")
========================================= */
.feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-bottom: 1px solid var(--border);
    color: var(--fg);
    text-decoration: none;
    transition: background .2s;
}
.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: rgba(201,168,76,.06); }
.feed-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--gold);
}
.feed-dot.lost { background: var(--red); }
.feed-dot.found { background: var(--green); }
.feed-text { flex: 1; font-size: 13.5px; }
.feed-time { color: var(--fg3); font-size: 12px; white-space: nowrap; }

/* =========================================
   FOOTER LINK BUTTON
========================================= */
.f-link-button {
    background: none;
    border: 0;
    padding: 0;
    color: var(--fg2);
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
    transition: color .3s;
}
.f-link-button:hover { color: var(--gold); }

/* =========================================
   HOME MODAL (haqiqiy forma)
========================================= */
.frow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}
.frow.full { grid-template-columns: 1fr; }
.frow > div { min-width: 0; }
.modal-auth-note {
    margin-top: 14px;
    color: var(--fg3);
    font-size: 12.5px;
    line-height: 1.6;
}
.modal-auth-note a { color: var(--gold); }

/* =========================================
   DJANGO MESSAGES (global)
========================================= */
.messages {
    position: fixed;
    top: 84px;
    right: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(420px, calc(100vw - 48px));
}
.messages .alert {
    padding: 13px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--ink2);
    color: var(--fg);
    font-size: 13.5px;
    line-height: 1.5;
    box-shadow: 0 14px 34px rgba(0,0,0,.4);
}
.messages .alert-success { border-color: rgba(32,178,107,.55); }
.messages .alert-error,
.messages .alert-danger { border-color: rgba(217,95,95,.55); }
.messages .alert-warning { border-color: rgba(245,166,35,.55); }
.messages .alert-info { border-color: rgba(201,168,76,.55); }

/* =========================================
   REDUCED MOTION
========================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
    .frow { grid-template-columns: 1fr; }
    .messages { top: 72px; right: 12px; left: 12px; }
}
