:root {
    --bg: #071017;
    --bg-2: #08141c;
    --surface: #0b1720;
    --card: #0d1c27;
    --card-2: #102433;
    --line: #203746;
    --line-2: #2c4d62;
    --primary: #20bfff;
    --primary-2: #4dccff;
    --ink: #071017;
    --text: #f5f8fa;
    --muted: #94a9b7;
    --success: #25c58a;
    --warning: #f3b847;
    --danger: #ef5a67;
    --shadow: 0 18px 50px rgba(0, 0, 0, .35);
    --radius: 18px;
    --header: 68px;
    --side: 232px;
    --font: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(1200px 500px at 80% -10%, rgba(32, 191, 255, .08), transparent 50%), var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--primary); color: var(--ink); padding: 8px 12px; z-index: 9; }

.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.icon-sm { width: 14px; height: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center;
    background: rgba(32, 191, 255, .12);
    border: 1px solid rgba(32, 191, 255, .35);
    color: var(--primary);
}
.brand-drone { width: 20px; height: 20px; }
.brand-name { letter-spacing: .12em; font-size: 13px; font-weight: 500; }
.brand-name strong { letter-spacing: .04em; font-weight: 800; margin-right: 4px; }

.topbar {
    position: sticky; top: 0; z-index: 40;
    height: var(--header);
    background: rgba(7, 16, 23, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.topbar-inner, .shell { width: min(1440px, calc(100% - 32px)); margin: 0 auto; }
.topbar-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-weight: 550;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: color .2s ease, background .2s ease;
}
.soon-tag {
    display: inline-flex;
    align-items: center;
    height: 16px;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff7a18;
    color: #1a0d00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: lowercase;
    flex: 0 0 auto;
}
.icon-btn .soon-tag {
    position: absolute;
    top: -7px;
    right: -10px;
    margin: 0;
    height: 14px;
    padding: 0 4px;
    font-size: 9px;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
    content: "";
    position: absolute; left: 10px; right: 10px; bottom: -18px;
    height: 2px; border-radius: 2px; background: var(--primary);
}
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top-search { position: relative; display: flex; align-items: center; }
.top-search .icon { position: absolute; left: 12px; color: var(--muted); }
.top-search input {
    width: 220px; height: 38px; border-radius: 999px;
    border: 1px solid var(--line); background: #0c1922;
    padding: 0 14px 0 36px; outline: none;
    transition: border .2s ease, box-shadow .2s ease;
}
.top-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(32, 191, 255, .15); }
.icon-btn, .user-btn {
    height: 38px; min-width: 38px; border-radius: 999px;
    border: 1px solid var(--line); background: #0c1922;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--text); position: relative; transition: border .2s ease, transform .2s ease;
}
.icon-btn:hover, .user-btn:hover { border-color: var(--primary); }
.user-btn { padding: 0 10px 0 4px; }
.user-name { font-size: 13px; font-weight: 600; }
.avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.dot-count {
    position: absolute; top: -4px; right: -4px;
    min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px;
    background: var(--danger); color: white; font-size: 10px; display: grid; place-items: center;
}
.menu { position: relative; }
.dropdown {
    position: absolute; right: 0; top: calc(100% + 8px); width: 260px;
    background: #0e1d28; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); padding: 8px; z-index: 50;
}
.dropdown-wide { width: 340px; }
.dropdown a, .dropdown button {
    width: 100%; display: flex; gap: 8px; align-items: center;
    background: none; border: 0; text-align: left; border-radius: 10px;
    padding: 10px; color: var(--text);
}
.dropdown a:hover, .dropdown button:hover { background: rgba(32, 191, 255, .08); }
.dropdown-user, .dropdown-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown-user small, .note-item small { display: block; color: var(--muted); }
.dropdown-head { display: flex; justify-content: space-between; align-items: center; }
.note-item { display: block !important; }
.note-item.is-new { background: rgba(32, 191, 255, .06); }
.dropdown-foot { justify-content: center; color: var(--primary) !important; }
.linkish { background: none; border: 0; color: var(--primary); padding: 0; }
.search-panel {
    position: absolute; top: calc(100% + 8px); left: 0; width: 360px;
    background: #0e1d28; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); padding: 8px; z-index: 60;
}
.search-panel a { display: block; padding: 8px 10px; border-radius: 8px; }
.search-panel a:hover { background: rgba(32, 191, 255, .08); }
.search-panel strong { display: block; color: var(--primary); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin: 8px 10px 4px; }
.nav-toggle, .lp-toggle { display: none; }

.shell { display: flex; gap: 22px; padding: 22px 0 48px; align-items: flex-start; }
.main { flex: 1; min-width: 0; }
.is-full .shell { width: 100%; max-width: none; padding: 0; }
.is-full .main { height: calc(100vh - var(--header)); }
.has-side .sidebar { width: var(--side); }
body.side-collapsed .sidebar { width: 72px; }
body.side-collapsed .sidebar span { display: none; }

.sidebar {
    position: sticky; top: calc(var(--header) + 18px);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px; flex: 0 0 auto;
}
.sidebar nav { display: grid; gap: 4px; }
.sidebar a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 12px; color: var(--muted);
    transition: .2s ease;
}
.sidebar a:hover { color: var(--text); background: rgba(255,255,255,.03); }
.sidebar a.active { color: var(--primary); background: rgba(32, 191, 255, .1); }
.side-collapse { width: 100%; margin-bottom: 8px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 12px; border: 1px solid transparent; padding: 11px 16px;
    font-weight: 650; transition: .2s ease; background: transparent; color: var(--text);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #062033; }
.btn-primary:hover { background: var(--primary-2); }
.btn-ghost { border-color: rgba(255,255,255,.28); background: rgba(7,16,23,.35); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-soft { background: rgba(32, 191, 255, .12); color: var(--primary); }
.btn-danger { background: rgba(239, 90, 103, .15); color: #ffd5d9; }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.badge, .chip {
    display: inline-flex; align-items: center; gap: 6px;
    border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 650;
    background: rgba(7,16,23,.72); border: 1px solid rgba(255,255,255,.16);
}
.chip { background: var(--card); color: var(--muted); border-color: var(--line); }
.chip.is-on, .chip:hover { color: var(--primary); border-color: var(--primary); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.input, select.input, textarea.input {
    width: 100%; margin-top: 6px; background: #0a1620; border: 1px solid var(--line);
    border-radius: 12px; padding: 12px 14px; outline: none;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(32,191,255,.12); }
label { display: block; color: var(--muted); font-size: 13px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 8px; align-items: center; color: var(--text); margin: 8px 0; }
.switch { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(32,55,70,.6); }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 99px; background: #163041; position: relative; border: 1px solid var(--line); }
.switch input::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: white; top: 2px; left: 2px; transition: .2s ease; }
.switch input:checked { background: var(--primary); }
.switch input:checked::after { left: 20px; }

.hero {
    position: relative; min-height: 460px; border-radius: 24px; overflow: hidden;
    border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow);
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(5,12,18,.88) 0%, rgba(5,12,18,.55) 46%, rgba(5,12,18,.25) 100%),
        linear-gradient(180deg, rgba(5,12,18,.15), rgba(5,12,18,.72));
}
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .8fr; gap: 28px; padding: 42px 36px 120px; }
.hero-copy h1 { font-size: 44px; letter-spacing: -.03em; line-height: 1.05; }
.hero-copy p { margin-top: 10px; color: #d5e2ea; max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.glass {
    align-self: start; background: rgba(8, 18, 28, .72); border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px; padding: 16px; backdrop-filter: blur(16px);
}
.glass h2 { font-size: 20px; }
.glass p { color: var(--muted); margin: 8px 0 12px; font-size: 14px; }
.mini-map { position: relative; display: block; border-radius: 14px; overflow: hidden; min-height: 150px; }
.mini-map img { width: 100%; height: 168px; object-fit: cover; }
.mini-map .btn { position: absolute; left: 12px; bottom: 12px; }
.route-line {
    position: absolute; left: 18%; top: 30%; width: 55%; height: 40%;
    border: 2px solid var(--primary); border-left: 0; border-bottom: 0; border-radius: 0 40px 0 0; opacity: .9;
}
.stat-row {
    position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.stat {
    display: flex; gap: 12px; align-items: center;
    background: rgba(8, 18, 28, .78); border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px; padding: 12px 14px; backdrop-filter: blur(10px);
    transition: border .2s ease, transform .2s ease;
}
.stat:hover { border-color: var(--primary); transform: translateY(-2px); }
.stat strong { display: block; font-size: 22px; line-height: 1; }
.stat small { color: var(--muted); }
.stat-icon {
    width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(32, 191, 255, .12); color: var(--primary);
}
.block { margin-top: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 14px; }
.section-head h2, .page-head h1 { font-size: 28px; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.explore-card {
    position: relative; min-height: 230px; border-radius: 18px; overflow: hidden;
    border: 1px solid var(--line); display: block; transition: .22s ease;
}
.explore-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.explore-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,16,23,.05), rgba(7,16,23,.88)); }
.explore-body { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 10px; align-items: flex-end; }
.explore-body strong, .explore-body small { display: block; }
.explore-body small { color: #d5e2ea; }
.explore-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(32,191,255,.18); color: var(--primary); }
.explore-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 16px 40px rgba(0,0,0,.35); }

.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 16px; }
.page-head p { color: var(--muted); margin-top: 4px; }
.card {
    background: linear-gradient(180deg, rgba(16, 36, 51, .55), rgba(13, 28, 39, .9));
    border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
}
.card + .card, .stack > * + * { margin-top: 12px; }
.job-card, .post, .course-card, .doc-row, .tool-card, .group-card, .event-card, .drone-card {
    background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
    transition: border .2s ease, transform .2s ease;
}
.job-card:hover, .course-card:hover, .tool-card:hover, .group-card:hover, .event-card:hover, .drone-card:hover { border-color: var(--line-2); }
.job-card { display: grid; grid-template-columns: 240px 1fr; }
.job-media { position: relative; min-height: 180px; }
.job-media img { width: 100%; height: 100%; object-fit: cover; }
.job-media .badge { position: absolute; left: 12px; top: 12px; }
.job-body { padding: 16px 18px; }
.job-top, .row-actions, .split-line, .meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.job-top { justify-content: space-between; }
.price { color: var(--primary); font-size: 22px; }
.meta { list-style: none; padding: 0; margin: 10px 0; color: var(--muted); font-size: 13px; }
.meta li { display: inline-flex; gap: 6px; align-items: center; }
.row-actions { margin-top: 12px; }
.jobs-list, .feed, .course-grid, .tool-grid, .group-grid, .doc-list { display: grid; gap: 14px; }
.course-grid, .tool-grid, .group-grid { grid-template-columns: repeat(3, 1fr); }
.tool-grid { grid-template-columns: repeat(3, 1fr); }
.course-card img, .group-card img, .event-card img { height: 150px; width: 100%; object-fit: cover; }
.pad { padding: 14px 16px 16px; }
.progress { height: 8px; border-radius: 99px; background: #163041; overflow: hidden; margin: 10px 0; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #1493d6, var(--primary)); }
.tool-card { padding: 22px; min-height: 160px; display: flex; flex-direction: column; gap: 8px; }
.tool-card .tool-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--primary); background: rgba(32,191,255,.1); border: 1px solid rgba(32,191,255,.2); }
.tool-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.doc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; }
.doc-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--primary); background: rgba(32,191,255,.1); }

.post { padding: 16px; }
.post-head, .comment { display: flex; gap: 10px; }
.post-head img, .comment img { width: 42px; height: 42px; }
.post-photo { margin-top: 12px; border-radius: 14px; max-height: 460px; width: 100%; object-fit: cover; }
.post-actions { display: flex; gap: 8px; margin-top: 12px; }
.post-actions button, .text-btn { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 10px; display: inline-flex; gap: 6px; align-items: center; }
.post-actions button.is-on { color: var(--primary); border-color: var(--primary); }
.composer textarea { min-height: 90px; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs a, .tabs button { border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 8px 14px; }
.tabs a.is-on, .tabs button.is-on { color: #062033; background: var(--primary); border-color: var(--primary); }

.profile-cover { height: 240px; border-radius: 22px 22px 0 0; object-fit: cover; width: 100%; }
.profile-sheet { margin-top: -54px; padding: 0 22px 22px; position: relative; }
.profile-id { display: flex; gap: 16px; align-items: end; }
.profile-id .avatar { width: 108px; height: 108px; border: 4px solid var(--bg); }
.profile-stats { display: flex; gap: 18px; margin-top: 16px; }
.profile-stats strong { display: block; font-size: 20px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery img { height: 180px; width: 100%; object-fit: cover; border-radius: 14px; }
.stars .on { color: var(--warning); }
.tab-panel[hidden] { display: none; }

.map-app { position: relative; display: grid; grid-template-columns: 320px 1fr 340px; height: 100%; }
body.is-full { overflow: hidden; }
.map-official {
    position: fixed;
    z-index: 1;
    top: var(--header);
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    background: #071017;
}
.map-official .map-tabs { margin: 0; padding: 10px 12px; flex: 0 0 auto; }
.enaire-frame { flex: 1 1 auto; width: 100%; height: 100%; min-height: 0; border: 0; display: block; background: #fff; }
.map-side, .zone-panel { background: rgba(8, 18, 26, .96); border-right: 1px solid var(--line); padding: 16px; overflow: auto; }
.zone-panel { border-right: 0; border-left: 1px solid var(--line); }
#map, #planner-map { height: 100%; background: #071017; }
.map-tools { position: absolute; z-index: 5; top: 14px; left: 58px; display: flex; gap: 8px; flex-wrap: wrap; max-width: calc(100% - 80px); }
.map-stage { position: relative; min-width: 0; }
.layer-list { display: grid; gap: 4px; margin-top: 12px; }
.disclaimer { font-size: 12px; color: var(--warning); background: rgba(243,184,71,.08); border: 1px solid rgba(243,184,71,.3); border-radius: 12px; padding: 10px; margin-top: 14px; }
.map-tabs { margin-bottom: 14px; }
.zone-legend { display: grid; gap: 8px; margin-top: 14px; }
.zone-legend span, .spot-row { display: flex; align-items: center; gap: 8px; }
.zone-legend i, .spot-row i, .color-pick i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px rgba(7,16,23,.65); }
.map-verdict { position: absolute; z-index: 20; top: 62px; left: 58px; max-width: min(420px, calc(100% - 76px)); display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(7,16,23,.94); border: 1px solid var(--line); }
.map-verdict span { color: var(--muted); font-size: 13px; }
.map-verdict.is-red { border-color: #E23B4A; }
.map-verdict.is-yellow { border-color: #F5C542; }
.map-verdict.is-green, .map-verdict.is-clear { border-color: #3DDC97; }
.lv-me-wrap { background: transparent; border: 0; }
.lv-me { width: 16px; height: 16px; margin: 3px; border-radius: 50%; background: #20BFFF; border: 2px solid #f5f8fa; box-shadow: 0 0 0 6px rgba(32,191,255,.28); display: block; }
#map.is-placing, .leaflet-container.is-placing, .leaflet-container.is-placing .leaflet-interactive { cursor: crosshair !important; }
.color-pick { border: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.color-pick legend { width: 100%; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.color-pick label { position: relative; }
.color-pick input { position: absolute; opacity: 0; }
.color-pick input:checked + i { box-shadow: 0 0 0 2px #f5f8fa; }
.spot-list { display: grid; gap: 8px; margin-top: 16px; }
.spot-row { width: 100%; text-align: left; background: transparent; color: inherit; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.spot-row small { display: block; color: var(--muted); }
.spot-photos, #spot-current-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.spot-photos img, .keep-photo img { width: 92px; height: 72px; object-fit: cover; border-radius: 10px; }
.keep-photo { position: relative; }
.form-error { color: #EF5A67; margin: 0; }
.zone-summary, #zone-summary { white-space: pre-wrap; }
.meta-list { display: grid; gap: 10px; margin: 14px 0; }
.meta-list small { display: block; color: var(--muted); }
.meta-list strong { font-weight: 600; }
.doc-row.is-new { border-color: rgba(32,191,255,.45); }

.msg-app { display: grid; grid-template-columns: 300px 1fr 280px; height: 100%; background: var(--bg); }
.msg-app > section { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.msg-col { border-right: 1px solid var(--line); overflow: auto; }
.msg-col:last-child { border-right: 0; border-left: 1px solid var(--line); }
.thread { padding: 12px; display: flex; gap: 10px; border-bottom: 1px solid rgba(32,55,70,.45); }
.thread.is-on { background: rgba(32,191,255,.08); }
.bubbles { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; overflow: auto; min-height: 0; }
.bubble { max-width: 76%; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.bubble.mine { margin-left: auto; background: rgba(32,191,255,.12); border-color: rgba(32,191,255,.3); }
.composer-bar { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.composer-bar input[type="text"] { flex: 1; }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(32,55,70,.55); white-space: nowrap; }
th { color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; background: #0c1922; }
.bars { display: flex; align-items: end; gap: 8px; height: 120px; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--primary), #0e4e6b); border-radius: 8px 8px 0 0; min-height: 8px; }

.modal-back, .drawer { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 70; display: grid; place-items: center; padding: 20px; }
.drawer { display: block; }
.drawer-card, .modal-card { background: #0e1c27; border: 1px solid var(--line); border-radius: 18px; width: min(560px, 100%); padding: 16px; }
.modal-card { max-height: calc(100vh - 40px); overflow: auto; }
.drawer-card { margin-left: auto; height: 100%; width: min(360px, 92vw); border-radius: 0; }
.drawer-head, .modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer-nav { display: grid; gap: 6px; }
.drawer-nav a { display: flex; gap: 10px; padding: 12px; border-radius: 12px; }
.drawer-nav a:hover { background: rgba(32,191,255,.08); }
.toast-stack { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 80; }
.toast { background: #102433; border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: 12px; padding: 12px 14px; min-width: 240px; box-shadow: var(--shadow); }
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.skeleton { background: linear-gradient(90deg, #10202b 25%, #173041 37%, #10202b 63%); background-size: 400% 100%; animation: shimmer 1.2s infinite; border-radius: 12px; min-height: 16px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.pagination { display: flex; gap: 6px; margin-top: 16px; }
.pagination a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); }
.pagination a.is-current { background: var(--primary); color: #062033; border-color: var(--primary); }

.guest-body { min-height: 100vh; display: grid; place-items: center; background: url('/assets/img/hero-mountain.jpg') center/cover no-repeat; }
.guest-body::before { content: ""; position: fixed; inset: 0; background: rgba(5,10,16,.78); }
.guest-main { position: relative; width: min(560px, calc(100% - 28px)); padding: 28px 0; }
.auth-card { background: rgba(10, 20, 29, .92); border: 1px solid var(--line); border-radius: 22px; padding: 28px; backdrop-filter: blur(10px); }
.auth-card h1 { margin: 16px 0 6px; font-size: 30px; }
.stack-form { display: grid; gap: 12px; margin-top: 16px; }
.auth-or { display: grid; place-items: center; margin: 14px 0; color: var(--muted); }
.auth-or::before { content: ""; height: 1px; background: var(--line); }
.auth-social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.auth-note, .auth-foot { color: var(--muted); font-size: 13px; margin-top: 12px; }
.auth-foot a, .split-line a { color: var(--primary); }
.steps { display: flex; gap: 8px; margin: 14px 0; }
.steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.steps span.is-on { background: var(--primary); color: #062033; border-color: var(--primary); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice span { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.choice input { position: absolute; opacity: 0; }
.choice input:checked + span { border-color: var(--primary); color: var(--primary); background: rgba(32,191,255,.08); }
.choice { position: relative; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.welcome { padding: 48px 8px; }
.welcome h1 { font-size: 48px; letter-spacing: -.03em; margin: 8px 0 12px; }

.lp-nav { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 18px; padding: 18px 28px; }
.lp-nav nav { display: flex; gap: 16px; margin-left: auto; color: #d5e2ea; }
.lp-hero { position: relative; min-height: 100vh; display: grid; align-items: end; }
.lp-hero > img, .lp-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,10,16,.88), rgba(4,10,16,.45) 55%, rgba(4,10,16,.2)); }
.lp-hero-copy { position: relative; z-index: 1; padding: 120px 7vw 64px; max-width: 820px; }
.eyebrow { color: var(--primary); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.lp-hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: .98; letter-spacing: -.04em; margin: 12px 0; }
.lead { font-size: 18px; color: #d7e3ea; max-width: 520px; }
.lp-features { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; max-width: 640px; }
.lp-features a { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; }
.lp-features span { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(32,191,255,.12); color: var(--primary); }
.lp-features small { color: var(--muted); }
.lp-section { padding: 72px 0; }
.lp-section.alt { background: rgba(255,255,255,.02); }
.lp-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.lp-wrap h2, .lp-cta h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; margin: 8px 0 18px; }
.pillar-grid, .pilot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pillar, .pilot-tile { display: grid; grid-template-columns: 180px 1fr; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pillar img, .pilot-tile > img { height: 100%; min-height: 150px; object-fit: cover; }
.pillar div, .pilot-tile div { padding: 16px 16px 16px 0; }
.pillar span { color: var(--primary); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; }
.mini-job { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.mini-job img { width: 72px; height: 56px; object-fit: cover; border-radius: 10px; }
.mini-job b { color: var(--primary); }
.pilot-tile div { display: grid; align-content: end; }
.lp-cta { position: relative; min-height: 320px; display: grid; place-items: center; text-align: center; }
.lp-cta div { position: relative; z-index: 1; padding: 40px 16px; }
.lp-cta::after { content: ""; position: absolute; inset: 0; background: rgba(5,12,18,.72); }
.lp-foot { display: flex; justify-content: space-between; gap: 12px; padding: 22px 7vw; color: var(--muted); border-top: 1px solid var(--line); }

.print-body { background: white; color: #122; padding: 24px; }
.print-body table { color: #122; }
.print-body th { background: #eef5f8; color: #245; }

@media (max-width: 1100px) {
    .main-nav { display: none; }
    .nav-toggle, .lp-toggle { display: inline-flex; }
    .lp-nav nav { display: none; }
    .hero-layout, .explore-grid, .course-grid, .tool-grid, .group-grid, .pillar-grid, .split, .pilot-row { grid-template-columns: 1fr 1fr; }
    .explore-grid { grid-template-columns: 1fr 1fr; }
    .map-app { grid-template-columns: 280px 1fr; }
    .zone-panel { position: absolute; z-index: 7; left: 12px; right: 12px; bottom: 12px; top: auto; width: auto; max-height: 38%; border-radius: 16px; border: 1px solid var(--line); }
    .map-tools { top: 12px; left: 58px; }
    .msg-app { grid-template-columns: 260px 1fr; }
    .msg-col:last-child { display: none; }
    .msg-app.show-info { grid-template-columns: 1fr; }
    .user-name { display: none; }
}
@media (max-width: 760px) {
    .topbar-inner, .shell { width: calc(100% - 16px); }
    .top-search input { width: 42px; padding-left: 32px; }
    .top-search input:focus { width: min(220px, 58vw); position: absolute; right: 0; }
    .hero { min-height: 0; }
    .hero-layout, .stat-row, .explore-grid, .course-grid, .tool-grid, .group-grid, .job-card, .field-grid, .auth-social, .pillar, .pilot-row, .split, .lp-features, .gallery, .doc-row, .msg-app, .map-app { grid-template-columns: 1fr; }
    .hero-copy h1 { font-size: 32px; }
    .hero-layout { padding: 28px 18px 18px; }
    .stat-row { position: relative; left: auto; right: auto; bottom: auto; padding: 0 12px 12px; }
    .job-media { min-height: 160px; max-height: 210px; }
    .job-media img { height: 210px; }
    .map-side { display: none; }
    .map-app.filters-open .map-side { display: block; position: absolute; z-index: 6; inset: 0 auto 0 0; width: min(320px, 92vw); }
    .msg-app { height: auto; min-height: calc(100vh - var(--header)); }
    .profile-id { flex-direction: column; align-items: flex-start; }
    .page-head { flex-direction: column; align-items: flex-start; }
    .lp-nav .btn { display: none; }
}

.developing {
    min-height: calc(100vh - var(--header) - 48px);
    display: grid;
    place-items: center;
    padding: 28px 16px 48px;
}
.developing-card {
    width: min(560px, 100%);
    text-align: center;
    padding: 42px 32px 36px;
    border-radius: 28px;
    background:
        radial-gradient(420px 180px at 50% 0%, rgba(32, 191, 255, .16), transparent 70%),
        linear-gradient(180deg, rgba(16, 36, 51, .72), rgba(8, 20, 28, .94));
    border: 1px solid rgba(32, 191, 255, .28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.developing-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(243, 184, 71, .14);
    color: #f3b847;
    border: 1px solid rgba(243, 184, 71, .4);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.developing-icon {
    width: 72px;
    height: 72px;
    margin: 22px auto 8px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: rgba(32, 191, 255, .1);
    border: 1px solid rgba(32, 191, 255, .28);
}
.developing-icon .icon { width: 32px; height: 32px; }
.developing-card h1 { margin-top: 16px; font-size: 34px; letter-spacing: -.03em; }
.developing-card p { color: var(--muted); margin: 12px auto 22px; max-width: 42ch; }
.field-grid .span-2 { grid-column: 1 / -1; }
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.fleet-card {
    display: block; padding: 0; overflow: hidden; text-align: left; color: inherit;
    background: #0e1d28; border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
}
.fleet-card img, .catalog-fallback, .fleet-plus { width: 100%; height: 72px; object-fit: cover; background: #102433; display: grid; place-items: center; }
.fleet-plus { color: var(--primary); }
.fleet-card strong, .fleet-card > span:last-child { display: block; padding: 0 8px; }
.fleet-card strong { margin-top: 6px; font-size: 13px; }
.fleet-card > span:last-child { color: var(--muted); font-size: 12px; padding-bottom: 8px; }
.fleet-card.is-on { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.catalog-list, .pick-scroll { display: grid; gap: 6px; align-content: start; }
.pick-scroll {
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 8px 0 4px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0b1720;
}
.pick-row {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    width: 100%; text-align: left; color: inherit; background: transparent;
    border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; cursor: pointer;
}
.pick-row img { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; background: #102433; margin-bottom: 4px; }
.pick-row strong { font-size: 14px; }
.pick-row small { color: var(--muted); font-size: 12px; }
.pick-row:hover, .pick-row.is-on { background: rgba(32, 191, 255, .08); border-color: rgba(32, 191, 255, .35); }
.pick-empty { margin: 8px; }
.drone-card .pad form { margin-top: 12px; }
.catalog-hit {
    display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center;
    text-align: left; color: inherit; background: #0e1d28; border: 1px solid var(--line);
    border-radius: 14px; padding: 6px; cursor: pointer;
}
.catalog-hit img, .catalog-hit .catalog-fallback { width: 72px; height: 56px; object-fit: cover; border-radius: 10px; background: #102433; }
.catalog-hit strong, .catalog-hit small { display: block; }
.catalog-hit small { color: var(--muted); }
.catalog-hit.is-on { border-color: var(--primary); }
.catalog-preview { width: min(280px, 100%); height: 160px; object-fit: cover; border-radius: 16px; margin: 8px 0 12px; background: #102433; }
.fly-card {
    display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap;
    margin: 0 0 18px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: #0e1d28;
}
.fly-card strong { display: block; font-size: 18px; }
.fly-card p { color: var(--muted); margin-top: 4px; max-width: 62ch; }
.fly-card.is-ok { border-color: rgba(37, 197, 138, .55); }
.fly-card.is-warn { border-color: rgba(255, 122, 24, .7); }
.fly-card.is-bad { border-color: rgba(239, 90, 103, .7); }

.ig { display: grid; grid-template-columns: minmax(0, 470px) 320px; gap: 28px; justify-content: center; align-items: start; color: #f5f5f5; }
.ig-avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: block; flex: 0 0 56px; background: #161616; }
.ig-avatar-sm { width: 32px; height: 32px; flex-basis: 32px; }
.ig-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ig-feed { display: grid; gap: 16px; min-width: 0; }
.ig-stories { display: flex; gap: 14px; overflow-x: auto; padding: 8px 4px 12px; border: 1px solid #262626; border-radius: 8px; background: #000; }
.ig-story { display: grid; justify-items: center; gap: 6px; width: 88px; flex: 0 0 auto; background: none; border: 0; color: #f5f5f5; cursor: pointer; font-size: 12px; padding: 0; }
.ig-story-face { position: relative; width: 74px; height: 74px; }
.ig-story-name { width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; line-height: 1.2; }
.ig-ring { width: 74px; height: 74px; border-radius: 50%; padding: 3px; box-sizing: border-box; display: grid; place-items: center; background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); border: 0; cursor: pointer; }
.ig-ring.is-seen { background: #3a3a3a; }
.ig-ring.is-empty { background: transparent; border: 1px solid #3a3a3a; padding: 0; }
.ig-ring .ig-avatar { width: 100%; height: 100%; flex: none; border: 2px solid #000; box-sizing: border-box; }
.ig-plus { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: #0095f6; color: #fff; display: grid; place-items: center; border: 2px solid #000; font-size: 16px; line-height: 1; z-index: 2; }
span.ig-plus { pointer-events: none; }
button.ig-plus { cursor: pointer; padding: 0; }
.ig-create-row, .ig-card, .ig-me, .ig-person { background: #000; border: 1px solid #262626; }
.ig-create-row { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; }
.ig-create-row .avatar { width: 36px; height: 36px; }
.ig-create { flex: 1; text-align: left; background: none; border: 0; color: #a8a8a8; cursor: pointer; font-size: 15px; }
.ig-card { border-radius: 8px; overflow: hidden; }
.ig-empty { padding: 28px 18px; text-align: center; }
.ig-empty p { color: #a8a8a8; margin-top: 8px; }
.ig-post-head, .ig-actions, .ig-comment { display: flex; align-items: center; gap: 10px; }
.ig-post-head { padding: 10px 12px; }
.ig-post-user { flex: 1; min-width: 0; display: grid; }
.ig-post-user a, .ig-caption a, .ig-comments a { color: #f5f5f5; font-weight: 650; }
.ig-post-user small, .ig-post-head time, .ig-me small, .ig-person small { color: #a8a8a8; font-size: 12px; }
.ig-carousel { position: relative; background: #111; min-height: 240px; }
.ig-carousel img { width: 100%; max-height: 585px; object-fit: cover; display: block; background: #111; }
.ig-nav, .ig-viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; color: #111; cursor: pointer; font-size: 20px; }
.ig-nav.is-prev, .ig-viewer-nav.is-prev { left: 8px; }
.ig-nav.is-next, .ig-viewer-nav.is-next { right: 8px; }
.ig-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; }
.ig-dots i, .ig-bars i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); display: block; }
.ig-dots i.is-on { background: #0095f6; }
.ig-actions { justify-content: space-between; padding: 6px 8px 0; }
.ig-actions div { display: flex; gap: 2px; }
.ig-icon { background: none; border: 0; color: #f5f5f5; cursor: pointer; padding: 6px; }
.ig-icon .icon { width: 26px; height: 26px; }
.ig-icon.is-on { color: #ed4956; }
.ig-icon.is-on svg { fill: #ed4956; stroke: #ed4956; }
.ig-likes, .ig-caption { padding: 0 12px; margin-top: 4px; }
.ig-more { background: none; border: 0; color: #a8a8a8; cursor: pointer; padding: 10px 12px 0; font-size: 14px; }
.ig-thread { display: grid; gap: 16px; padding: 12px 12px 2px; }
.ig-thread[hidden] { display: none !important; }
.ig-cmt { display: flex; align-items: flex-start; gap: 12px; }
.ig-cmt-body { min-width: 0; padding-top: 2px; }
.ig-cmt-body p { margin: 0; line-height: 1.4; }
.ig-cmt-body a { color: #f5f5f5; font-weight: 650; }
.ig-cmt-body time { display: block; margin-top: 6px; color: #a8a8a8; font-size: 12px; }
.ig-comment { border-top: 1px solid #262626; margin-top: 14px; padding: 12px; }
.ig-comment input { flex: 1; background: none; border: 0; color: #f5f5f5; outline: none; }
.ig-comment button { background: none; border: 0; color: #0095f6; font-weight: 650; cursor: pointer; }
.ig-pop { position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; color: #fff; filter: drop-shadow(0 6px 16px rgba(0,0,0,.45)); }
.ig-pop .icon { width: 92px; height: 92px; fill: #fff; stroke: #fff; }
.ig-pop.is-pop { animation: ig-pop .7s ease; }
@keyframes ig-pop { 0% { transform: scale(.4); opacity: 0; } 30% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.ig-rail { position: sticky; top: 84px; display: grid; gap: 14px; }
.ig-me, .ig-person { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; color: inherit; }
.ig-note, .ig-with { color: #a8a8a8; font-size: 13px; }
.ig-note { padding: 0 12px; margin-top: 4px; }
.ig-note a { color: #e0f1ff; margin-right: 6px; }
.ig-badge { color: #0095f6; font-size: 12px; }
.ig-me span, .ig-person a:last-of-type { display: grid; }
.ig-suggest-head { color: #a8a8a8; font-weight: 650; }
.ig-person form { margin: 0; }
.ig-person button { background: none; border: 0; color: #0095f6; font-weight: 650; cursor: pointer; }
.ig-modal, .ig-viewer { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.82); display: flex; align-items: center; justify-content: center; gap: 18px; padding: 24px; }
.ig-modal[hidden], .ig-viewer[hidden] { display: none; }
.ig-wizard { width: min(980px, 100%); min-height: min(640px, 86vh); background: #262626; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; }
.ig-wizard-bar { display: grid; grid-template-columns: 40px 1fr auto 40px; align-items: center; gap: 8px; padding: 10px 12px; background: #1c1c1c; }
.ig-wizard-bar button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 16px; }
.ig-wizard-bar [data-wiz-next] { color: #0095f6; font-weight: 700; }
.ig-wizard [data-step] { flex: 1; min-height: 0; }
.ig-wizard [data-step][hidden], .ig-share-form input[hidden], [data-tag-picker][hidden] { display: none !important; }
.ig-step-crop, .ig-step-filter, .ig-step-share { display: grid; }
.ig-step-crop { grid-template-rows: 1fr auto auto; }
.ig-stage-crop { background: #111; display: grid; place-items: center; min-height: 360px; }
.ig-stage-crop canvas, .ig-step-filter canvas { max-width: 100%; max-height: 460px; }
.ig-ratios, .ig-filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px; }
.ig-ratios button, .ig-filters button { background: #111; color: #fff; border: 1px solid #3a3a3a; border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.ig-ratios button.is-on, .ig-filters button.is-on { border-color: #fff; }
.ig-zoom { display: flex; gap: 10px; align-items: center; padding: 0 12px 12px; color: #ccc; }
.ig-step-filter { grid-template-columns: 1.2fr .8fr; background: #111; }
.ig-filters { align-content: start; max-height: 520px; overflow: auto; }
.ig-filters button { width: calc(33% - 8px); display: grid; gap: 4px; justify-items: center; }
.ig-filters canvas { width: 72px; height: 72px; object-fit: cover; }
.ig-step-share { grid-template-columns: 1.15fr .85fr; background: #111; }
.ig-share-photo { position: relative; background: #000; min-height: 420px; display: grid; place-items: center; }
.ig-share-photo img { max-width: 100%; max-height: 560px; }
.ig-tag-hint { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); background: #111; color: #fff; border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.ig-share-form { overflow: auto; max-height: 70vh; padding: 16px; display: grid; gap: 10px; align-content: start; }
.ig-share-user { display: flex; gap: 10px; align-items: center; }
.ig-share-form textarea, .ig-share-form input[type="text"], .ig-share-form input[type="datetime-local"], .ig-line input[type="text"], .ig-place input { width: 100%; background: transparent; color: #fff; border: 0; border-bottom: 1px solid #333; padding: 8px 0; }
.ig-caption-box, .ig-place { position: relative; }
.ig-place { display: grid; gap: 4px; padding: 8px 0; }
.ig-suggest { display: grid; background: #1c1c1c; border: 1px solid #333; border-radius: 10px; overflow: hidden; margin-top: 6px; }
.ig-suggest[hidden] { display: none !important; }
.ig-suggest button { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; color: #fff; text-align: left; padding: 8px 10px; cursor: pointer; }
.ig-suggest button:hover { background: #262626; }
.ig-suggest small { display: block; color: #a8a8a8; font-size: 12px; }
.ig-suggest .ig-avatar { width: 32px; height: 32px; flex-basis: 32px; }
.ig-caption a { color: #e0f1ff; }
.ig-count { text-align: right; color: #a8a8a8; font-size: 12px; }
.ig-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.ig-help { color: #a8a8a8; font-size: 12px; margin: 0; }
.ig-share-form details { border-top: 1px solid #333; padding-top: 8px; }
.ig-share-form summary { cursor: pointer; }
.ig-drop { display: grid; place-items: center; gap: 4px; min-height: 180px; border: 1px dashed #363636; border-radius: 12px; text-align: center; cursor: pointer; }
.ig-drop input { display: none; }
.ig-drop small, .ig-field { color: #a8a8a8; }
.ig-field { display: grid; gap: 6px; }
.ig-field textarea, .ig-field input { width: 100%; background: #111; color: #f5f5f5; border: 1px solid #262626; border-radius: 8px; padding: 10px; }
.ig-previews { display: flex; gap: 8px; overflow-x: auto; }
.ig-previews img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.ig-viewer-nav { position: static; transform: none; flex: 0 0 auto; }
.ig-stage { position: relative; width: min(420px, calc(100vw - 140px)); aspect-ratio: 9 / 16; max-height: 86vh; background: #000; border-radius: 16px; overflow: hidden; }
.ig-bars { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; z-index: 2; }
.ig-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); }
.ig-bars i.is-done, .ig-bars i.is-on { background: #fff; }
.ig-viewer-user { position: absolute; top: 22px; left: 12px; right: 12px; z-index: 2; display: flex; gap: 8px; align-items: center; color: #fff; text-decoration: none; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.ig-viewer-user span { display: grid; }
.ig-viewer-user small { color: #f3f3f3; }
.ig-viewer-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; margin-top: 0; }
.ig-viewer-x { position: absolute; top: 16px; right: 16px; z-index: 3; background: none; border: 0; color: #fff; cursor: pointer; }
.ig-story-delete { position: absolute; right: 12px; bottom: 16px; z-index: 3; background: rgba(0,0,0,.55); color: #fff; border: 0; border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.ig-story-delete[hidden] { display: none !important; }
.ig-menu { position: relative; }
.ig-menu-panel { position: absolute; right: 0; top: 32px; z-index: 5; min-width: 140px; background: #1c1c1c; border: 1px solid #333; border-radius: 10px; display: grid; overflow: hidden; }
.ig-menu-panel[hidden] { display: none !important; }
.ig-menu-panel button { background: none; border: 0; color: #fff; text-align: left; padding: 10px 12px; cursor: pointer; }
.ig-menu-panel button[data-delete-post] { color: #ed4956; }
.ig-pin { position: absolute; transform: translate(-50%, -100%); background: #fff; color: #111; border-radius: 8px; padding: 4px 6px; font-size: 12px; font-weight: 700; }
@media (max-width: 800px) {
    .ig-step-filter, .ig-step-share { grid-template-columns: 1fr; }
    .ig-viewer { gap: 8px; }
}
@media (max-width: 980px) {
    .ig { grid-template-columns: minmax(0, 470px); }
    .ig-rail { position: static; }
}
