.app-view.maps-view { zoom: 1 !important; background: #0b0d10; }
.maps-canvas {
    position: absolute;
    inset: 0;
    background: #0b0d10;
}
.maps-canvas.leaflet-container { font-family: var(--font); background: #0b0d10; }
.maps-scrim {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: linear-gradient(rgba(0, 0, 0, 0.55), transparent);
    pointer-events: none;
    z-index: 500;
}

.mp-marker { background: none; border: none; }
.mp-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    cursor: pointer;
}
.mp-dot svg { width: 15px; height: 15px; fill: #fff; }
.mp-dot.small { width: 22px; height: 22px; border-width: 1.5px; }
.mp-dot.small svg { width: 12px; height: 12px; }

.mp-friend {
    width: 36px;
    height: 42px;
    position: relative;
    cursor: pointer;
}
.mp-friend .ui-avatar {
    position: absolute;
    top: 0;
    left: 3px;
    border: 2.5px solid #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
    box-sizing: content-box;
}
.mp-friend::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 1px;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top: 7px solid #fff;
}

.mp-balloon svg { width: 32px; height: 42px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.4)); }

.mp-me { width: 22px; height: 22px; position: relative; }
.mp-me-dot {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #0a84ff;
    border: 2.5px solid #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
.mp-me-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: rgba(10, 132, 255, 0.28);
    animation: mppulse 2s ease-out infinite;
}
@keyframes mppulse {
    0% { transform: scale(0.4); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}
.mp-me-cone {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    transform-origin: 0 0;
}
.mp-me-cone::before {
    content: '';
    position: absolute;
    left: -14px;
    top: -34px;
    width: 28px;
    height: 34px;
    background: linear-gradient(to top, rgba(10, 132, 255, 0.55), rgba(10, 132, 255, 0));
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.mp-ctrl {
    position: absolute;
    top: 60px;
    right: 12px;
    z-index: 600;
    display: flex;
    flex-direction: column;
    background: var(--app-surface);
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.mp-ctrl-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: var(--app-text);
    font-size: 22px;
    font-weight: 400;
    font-family: var(--font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-ctrl-btn + .mp-ctrl-btn { border-top: 1px solid var(--app-separator); }
.mp-ctrl-btn svg { width: 18px; height: 18px; fill: var(--app-text-dim); }
.mp-ctrl-btn.locate.on svg { fill: #0a84ff; }
.mp-ctrl-btn:active { background: var(--app-surface-2); }

.mp-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 650;
    background: var(--app-surface);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
    padding: 0 14px 28px;
    display: flex;
    flex-direction: column;
    transition: max-height 0.25s;
}
.mp-sheet.mp-list { height: 72%; }
.mp-grab {
    width: 38px;
    height: 5px;
    border-radius: 3px;
    background: var(--app-text-dim);
    opacity: 0.45;
    margin: 7px auto 9px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}
.mp-grab::after { content: ''; position: absolute; inset: -10px -30px; }
.mp-search {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--app-surface-2);
    border-radius: 11px;
    padding: 0 10px;
    height: 38px;
    flex-shrink: 0;
}
.mp-search svg { width: 17px; height: 17px; fill: var(--app-text-dim); flex-shrink: 0; }
.mp-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    color: var(--app-text);
    font-size: 15px;
    font-family: var(--font);
    user-select: text;
}
.mp-search-input::placeholder { color: var(--app-text-dim); }
.mp-sheet .group-label { padding: 14px 4px 6px; }
.mp-favs {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 4px;
}
.mp-favs::-webkit-scrollbar { display: none; }
.mp-fav {
    border: none;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    width: 58px;
    flex-shrink: 0;
    font-family: var(--font);
}
.mp-fav-ic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--app-surface-2);
    color: var(--accent);
    font-size: 26px;
    font-weight: 300;
    cursor: pointer;
}
.mp-fav-ic svg { width: 22px; height: 22px; fill: #fff; }
.mp-fav-label {
    font-size: 11.5px;
    color: var(--app-text);
    max-width: 58px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp-fav:active .mp-fav-ic { filter: brightness(0.85); }

.mp-results { flex: 1; overflow-y: auto; margin-top: 10px; padding-bottom: 10px; }
.mp-results::-webkit-scrollbar { display: none; }
.mp-results .list-group { margin: 0; }
.mp-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    cursor: pointer;
    position: relative;
}
.mp-row + .mp-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 57px;
    right: 0;
    height: 1px;
    background: var(--app-separator);
}
.mp-row:active { background: var(--app-surface-2); }
.mp-row-ic {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mp-row-ic svg { width: 17px; height: 17px; fill: #fff; }
.mp-row-info { flex: 1; min-width: 0; }
.mp-row-title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-row-sub { font-size: 12.5px; color: var(--app-text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-row-accent .mp-row-ic { background: #0a84ff !important; }
.mp-row-accent .mp-row-title { color: #0a84ff; }
.mp-results .list-group { background: var(--app-bg); }
.theme-light .mp-results .list-group { background: var(--app-surface-2); }
.mp-empty { text-align: center; color: var(--app-text-dim); font-size: 13.5px; padding: 26px 0; }

.mp-card { padding: 2px 2px 0; }
.mp-card-top { display: flex; align-items: flex-start; gap: 10px; }
.mp-card-title { flex: 1; font-size: 22px; font-weight: 700; line-height: 1.2; word-break: break-word; }
.mp-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--app-surface-2);
    color: var(--app-text-dim);
    font-size: 12px;
    cursor: pointer;
    flex-shrink: 0;
}
.mp-card-sub { margin-top: 4px; font-size: 13.5px; color: var(--app-text-dim); }
.mp-card-by { margin-top: 2px; font-size: 12.5px; color: var(--app-text-dim); }
.mp-actions { display: flex; gap: 8px; margin-top: 14px; }
.mp-btn {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: 11px;
    background: var(--app-surface-2);
    color: #0a84ff;
    font-size: 14.5px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.mp-btn svg { width: 15px; height: 15px; fill: currentColor; }
.mp-btn.primary { background: #0a84ff; color: #fff; flex: 1.4; }
.mp-btn.primary.done { background: var(--green); }
.mp-btn.danger { color: var(--red); }
.mp-btn:active { filter: brightness(0.9); }

.mp-icon-pick { display: flex; justify-content: space-between; padding: 2px 4px; }
.mp-icon-pick .mp-fav-ic { width: 40px; height: 40px; opacity: 0.45; }
.mp-icon-pick .mp-fav-ic svg { width: 18px; height: 18px; }
.mp-icon-pick .mp-fav-ic.selected { opacity: 1; box-shadow: 0 0 0 2px var(--app-surface), 0 0 0 4px var(--accent); }

.geo-thumb {
    position: relative;
    overflow: hidden;
    background: #1b2027;
}
.geo-thumb img {
    position: absolute;
    width: 512px;
    height: 512px;
    pointer-events: none;
}
.geo-thumb-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 26px;
    margin: -24px 0 0 -13px;
}
.geo-thumb-pin svg { width: 26px; height: 26px; fill: #ff3b30; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5)); }

.bubble.bubble-loc { padding: 0; overflow: hidden; width: 220px; max-width: 220px; }
.bubble-loc::before, .bubble-loc::after { display: none; }
.loc-card { cursor: pointer; }
.loc-card .geo-thumb { border-radius: 18px 18px 0 0; }
.loc-cap { padding: 8px 12px 9px; background: var(--app-surface-2); white-space: normal; }
.bubble-wrap.mine .loc-cap { background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), var(--accent); }
.loc-title { font-size: 14px; font-weight: 600; color: var(--app-text); }
.bubble-wrap.mine .loc-title, .bubble-wrap.mine .loc-sub { color: #fff; }
.loc-sub { font-size: 12px; color: var(--app-text-dim); }
.bubble-loc > div:not(.loc-card) { padding: 8px 13px; }

.attach-sheet { gap: 8px; }
.attach-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    background: var(--app-surface-2);
    color: var(--app-text);
    font-size: 15.5px;
    font-weight: 600;
    font-family: var(--font);
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
}
.attach-ic {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.attach-ic svg { width: 19px; height: 19px; fill: #fff; }
.attach-opt:active { filter: brightness(0.9); }

.app-content.nw-content { padding-top: 54px; }
.nw-top { padding: 4px 2px 10px; border-bottom: 1px solid var(--app-separator); margin-bottom: 12px; }
.nw-head { display: flex; align-items: center; justify-content: space-between; }
.nw-brand { display: flex; align-items: center; gap: 9px; }
.nw-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #d7202c;
    color: #fff;
    font: italic 900 23px/34px Georgia, 'Times New Roman', serif;
    text-align: center;
}
.nw-word { font: 800 25px/1 Georgia, 'Times New Roman', serif; letter-spacing: -0.02em; }
.nw-write {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #d7202c;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.nw-date {
    margin-top: 7px;
    font-size: 12px;
    color: var(--app-text-dim);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.nw-chips { display: flex; gap: 7px; overflow-x: auto; padding: 0 0 12px; }
.nw-chips::-webkit-scrollbar { display: none; }
.nw-chip {
    flex-shrink: 0;
    border: none;
    border-radius: 15px;
    padding: 6px 12px;
    background: var(--app-surface);
    color: var(--app-text);
    font: 600 12.5px var(--font);
    cursor: pointer;
}
.nw-chip.on { background: #d7202c; color: #fff; }
.nw-lead { border-radius: 16px; overflow: hidden; background: var(--app-surface); cursor: pointer; margin-bottom: 14px; }
.nw-lead-img { height: 176px; background: #222 center/cover; }
.nw-lead-body { padding: 12px 14px 14px; }
.nw-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #e5323e;
}
.nw-tag.breaking { display: inline-block; background: #d7202c; color: #fff; padding: 2px 7px; border-radius: 4px; }
.nw-lead-title { font: 700 20px/1.22 Georgia, 'Times New Roman', serif; margin: 6px 0; }
.nw-excerpt {
    font-size: 13.5px;
    color: var(--app-text-dim);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nw-by { margin-top: 8px; font-size: 12px; color: var(--app-text-dim); }
.nw-list { background: var(--app-surface); border-radius: 16px; overflow: hidden; }
.nw-row { display: flex; gap: 12px; padding: 12px 14px; cursor: pointer; position: relative; }
.nw-row + .nw-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    right: 0;
    height: 1px;
    background: var(--app-separator);
}
.nw-row:active, .nw-lead:active { filter: brightness(0.92); }
.nw-row-text { flex: 1; min-width: 0; }
.nw-row-title { font: 700 15.5px/1.25 Georgia, 'Times New Roman', serif; margin-top: 4px; }
.nw-thumb { width: 74px; height: 74px; border-radius: 10px; background: #222 center/cover; flex-shrink: 0; }
.nw-hero { width: calc(100% + 32px); margin: 0 -16px 14px; display: block; max-height: 230px; object-fit: cover; }
.nw-a-title { font: 700 24px/1.2 Georgia, 'Times New Roman', serif; margin: 8px 0; }
.nw-a-by {
    font-size: 12.5px;
    color: var(--app-text-dim);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--app-separator);
    margin-bottom: 14px;
}
.nw-p { font: 400 15.5px/1.55 Georgia, 'Times New Roman', serif; margin-bottom: 14px; white-space: pre-wrap; }
.nw-takedown {
    width: 100%;
    margin-top: 10px;
    border: none;
    background: var(--app-surface);
    color: var(--red);
    font: 600 14.5px var(--font);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
}
.nw-pick { padding: 0; }
.nw-hint { font-size: 12px; color: var(--app-text-dim); padding: 6px 14px 0; }
.primary-btn.nw-publish { background: #d7202c; }

.cr-card {
    border-radius: 18px;
    padding: 18px 18px 16px;
    margin: 6px 0 4px;
    color: #fff;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(255, 179, 64, 0.35), transparent 55%),
        linear-gradient(135deg, #24242b, #121216);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
.cr-card-label { font-size: 12.5px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; }
.cr-card-value { font-size: 32px; font-weight: 800; margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.cr-card-foot { display: flex; align-items: center; justify-content: space-between; font-size: 13px; opacity: 0.9; }
.cr-pct {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 7px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.cr-pct.up { color: #30d158; background: rgba(48, 209, 88, 0.14); }
.cr-pct.down { color: #ff453a; background: rgba(255, 69, 58, 0.14); }
.cr-list { background: var(--app-surface); border-radius: 14px; overflow: hidden; }
.cr-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; cursor: pointer; position: relative; }
.cr-row + .cr-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 0;
    height: 1px;
    background: var(--app-separator);
}
.cr-row:active { background: var(--app-surface-2); }
.cr-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -0.02em;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.cr-row-info { flex: 1; min-width: 0; }
.cr-row-name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-row-sub { font-size: 12.5px; color: var(--app-text-dim); }
.cr-spark { width: 64px; height: 26px; flex-shrink: 0; }
.cr-row-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 84px; }
.cr-row-price { font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cr-note { font-size: 12px; color: var(--app-text-dim); text-align: center; padding: 14px 10px 0; }

.cr-top { display: flex; align-items: center; gap: 9px; margin-top: 2px; }
.cr-top-name { font-size: 14.5px; font-weight: 600; color: var(--app-text-dim); }
.cr-price { font-size: 34px; font-weight: 800; margin-top: 8px; font-variant-numeric: tabular-nums; }
.cr-change-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.cr-range-label { font-size: 12.5px; color: var(--app-text-dim); }
.cr-chart { position: relative; height: 150px; margin: 14px -4px 10px; color: var(--app-text); touch-action: none; }
.cr-chart svg { width: 100%; height: 100%; display: block; }
.cr-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    margin: -4.5px 0 0 -4.5px;
    border-radius: 50%;
    border: 2px solid var(--app-bg);
    pointer-events: none;
}
.cr-tabs { justify-content: space-between; }
.cr-tabs .seg-option { flex: 1; text-align: center; }
.cr-hold {
    margin-top: 14px;
    background: var(--app-surface);
    border-radius: 14px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 2px;
}
.cr-hold-label { grid-column: 1 / -1; font-size: 12px; color: var(--app-text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.cr-hold-value { font-size: 17px; font-weight: 700; }
.cr-hold-usd { font-size: 15px; font-weight: 600; color: var(--app-text-dim); align-self: end; }
.cr-actions { display: flex; gap: 8px; margin-top: 12px; }
.cr-btn {
    flex: 1;
    height: 44px;
    border: none;
    border-radius: 12px;
    font: 700 15px var(--font);
    cursor: pointer;
    color: #fff;
}
.cr-btn.buy { background: #30b85a; }
.cr-btn.sell { background: #e5483f; }
.cr-btn.send { background: var(--app-surface-2); color: var(--app-text); }
.cr-btn:disabled { opacity: 0.4; cursor: default; }
.cr-act-amount { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.cr-act-amount.in { color: var(--green); }
.cr-amount {
    border: none;
    outline: none;
    background: none;
    color: var(--app-text);
    font: 800 38px var(--font);
    text-align: center;
    width: 100%;
    user-select: text;
}
.cr-amount::-webkit-outer-spin-button, .cr-amount::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cr-avail { text-align: center; font-size: 12.5px; color: var(--app-text-dim); margin-top: -6px; }
.cr-est { text-align: center; font-size: 13.5px; font-weight: 600; min-height: 18px; }
.confirm-btn.cr-go-buy { background: #30b85a; color: #fff; }
.confirm-btn.cr-go-sell { background: #e5483f; color: #fff; }
.cr-max { align-self: flex-start; padding: 7px 12px; flex: none; }

.hm-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--app-surface);
    border-radius: 16px;
    padding: 12px 12px 12px 14px;
    margin-bottom: 9px;
    cursor: pointer;
}
.hm-tile:active { filter: brightness(0.94); }
.hm-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, #ffcf5c, #ff9500);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hm-icon svg { width: 22px; height: 22px; fill: #fff; }
.hm-info { flex: 1; min-width: 0; }
.hm-name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-sub { font-size: 12.5px; color: var(--app-text-dim); margin-top: 1px; }
.hm-lock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: none;
    border-radius: 12px;
    padding: 7px 9px 5px;
    min-width: 66px;
    cursor: pointer;
    font: 700 10.5px var(--font);
    flex-shrink: 0;
    transition: transform 0.12s;
}
.hm-lock svg { width: 20px; height: 20px; fill: currentColor; }
.hm-lock.locked { background: rgba(255, 159, 10, 0.16); color: #ff9f0a; }
.hm-lock.open { background: rgba(48, 209, 88, 0.16); color: #30d158; }
.hm-lock:active { transform: scale(0.94); }
.hm-lock:disabled { opacity: 0.6; }
.hm-lock.big {
    margin: 18px auto 4px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}
.hm-lock.big svg { width: 44px; height: 44px; }
.hm-lock.big.locked { box-shadow: 0 0 0 6px rgba(255, 159, 10, 0.08); }
.hm-lock.big.open { box-shadow: 0 0 0 6px rgba(48, 209, 88, 0.08); }
.hm-hero { text-align: center; padding: 4px 4px 12px; }
.hm-title { font-size: 22px; font-weight: 800; }
.hm-role { font-size: 13px; color: var(--app-text-dim); margin-top: 3px; }
.hm-nolock { font-size: 13px; color: var(--app-text-dim); margin-top: 16px; padding: 12px; background: var(--app-surface); border-radius: 12px; }
.primary-btn.hm-gps { margin-bottom: 4px; }
.hm-quiet { font-size: 13.5px; color: var(--app-text-dim); padding: 2px 14px 4px; }
.hm-row-ic {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 10px;
}
.hm-row-ic svg { width: 17px; height: 17px; fill: #fff; }
.hm-row-ic.bell { background: #ff9f0a; }
.hm-row-ic.key { background: #0a84ff; }
.hm-give .row-label { color: #0a84ff; font-weight: 600; }
.hm-letin, .hm-remove {
    border: none;
    border-radius: 9px;
    padding: 6px 11px;
    font: 700 12.5px var(--font);
    cursor: pointer;
    margin-right: 8px;
}
.hm-letin { background: #30d158; color: #fff; }
.hm-letin:disabled { background: var(--app-surface-2); color: var(--app-text-dim); }
.hm-remove { background: rgba(255, 69, 58, 0.14); color: var(--red); margin-right: 0; }

.wallet-issue { width: 100%; margin-top: 8px; }
.bill-ic {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #8e8e93;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 10px;
}
.bill-ic svg { width: 18px; height: 18px; fill: #fff; }
.bill-ic.fine { background: #2f6bff; }
.bill-ic.big { width: 54px; height: 54px; border-radius: 15px; margin: 4px auto 0; }
.bill-ic.big svg { width: 28px; height: 28px; }
.bill-due { color: var(--red); }
.bill-declined { color: var(--app-text-dim); font-size: 13px; }
.bill-none { font-size: 13.5px; color: var(--app-text-dim); padding: 2px 14px 4px; }
.bill-sheet { gap: 8px; }
.bill-amount { text-align: center; font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.bill-payee { text-align: center; font-size: 14px; font-weight: 600; color: var(--app-text); margin-top: -6px; }
.bill-reason {
    text-align: center;
    font-size: 13.5px;
    color: var(--app-text);
    background: var(--app-surface-2);
    border-radius: 11px;
    padding: 9px 12px;
}
.bill-from { text-align: center; font-size: 12px; color: var(--app-text-dim); }
.confirm-btn.bill-decline { color: var(--red); }
.confirm-btn:disabled { opacity: 0.45; }

.gv-tabs { margin: 2px 0 14px; }
.gv-tabs .seg-option { flex: 1; text-align: center; }
.gv-card {
    background: var(--app-surface);
    border-radius: 24px;
    padding: 6px 16px 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: transform 0.15s var(--bounce);
}
.gv-card:active { transform: scale(0.98); }
.gv-img {
    position: relative;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gv-img::after {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 8px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, 0.45), transparent);
    z-index: 0;
}
.gv-img img { position: relative; z-index: 1; max-width: 92%; max-height: 118px; object-fit: contain; }
.gv-img.fallback svg { position: relative; z-index: 1; width: 86px; height: 86px; fill: var(--app-text-dim); opacity: 0.6; }
.gv-img.big { height: 170px; }
.gv-img.big img { max-height: 160px; }
.gv-card-info { display: flex; flex-direction: column; gap: 6px; }
.gv-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gv-card-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gv-card-sub { font-size: 13px; color: var(--app-text-dim); }
.gv-plate {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(#ffffff, #eef1f6);
    color: #1b2c6b;
    border-radius: 6px;
    padding: 1px 8px 2px;
    box-shadow: inset 0 0 0 1.5px #1b2c6b, 0 2px 6px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}
.gv-plate-state { font-size: 6.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #c0161f; font-style: italic; }
.gv-plate-num { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.gv-fuel-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--app-text-dim); }
.gv-fuel { flex: 1; height: 6px; border-radius: 3px; background: var(--app-surface-2); overflow: hidden; }
.gv-fuel-fill { height: 100%; border-radius: 3px; background: #30d158; }
.gv-fuel-fill.low { background: #ff453a; }
.gv-fuel-val { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--app-text); min-width: 34px; text-align: right; }

.gv-detail .gv-hero { margin: -6px -16px 0; background: radial-gradient(70% 60% at 50% 45%, rgba(var(--accent-rgb), 0.22), transparent 70%); }
.gv-title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; text-align: center; margin-top: 2px; }
.gv-title-row { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 8px; }
.gv-chip { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--app-surface-2); }
.gv-chip.s0 { color: #30d158; background: rgba(48, 209, 88, 0.14); }
.gv-chip.s1 { color: #64a8ff; background: rgba(10, 132, 255, 0.16); }
.gv-chip.s2 { color: #ff6961; background: rgba(255, 69, 58, 0.15); }
.gv-gauges { display: flex; justify-content: space-around; margin: 18px 0 4px; background: var(--app-surface); border-radius: 22px; padding: 14px 8px; }
.gv-gauge { position: relative; width: 74px; display: flex; flex-direction: column; align-items: center; }
.gv-gauge svg { width: 62px; height: 62px; transform: rotate(-90deg); }
.gv-ring-bg { fill: none; stroke: var(--app-surface-2); stroke-width: 5; }
.gv-ring { fill: none; stroke-width: 5; stroke-linecap: round; }
.gv-gauge-val { position: absolute; top: 20px; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gv-gauge-label { font-size: 12px; color: var(--app-text-dim); margin-top: 4px; }

.gv-remote { background: var(--app-surface); border-radius: 22px; padding: 14px 12px 12px; }
.gv-remote-status { font-size: 13px; color: var(--app-text-dim); text-align: center; margin-bottom: 12px; }
.gv-remote-status.warn { color: #ff9f0a; }
.gv-remote-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.gv-rbtn {
    border: none;
    background: none;
    color: var(--app-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: var(--font);
}
.gv-rbtn-ic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--app-surface-2);
    box-shadow: var(--glass-rim);
    transition: transform 0.18s var(--bounce), background 0.2s;
}
.gv-rbtn-ic svg { width: 22px; height: 22px; fill: currentColor; }
.gv-rbtn:active .gv-rbtn-ic { transform: scale(0.88); }
.gv-rbtn.on .gv-rbtn-ic { background: var(--accent); color: #fff; }
.gv-rbtn-ic.locate { color: #0a84ff; }
.gv-rbtn.busy .gv-rbtn-ic { opacity: 0.55; }
.gv-rbtn-label { font-size: 11.5px; font-weight: 600; }
.gv-note { font-size: 13px; color: var(--app-text-dim); text-align: center; margin-top: 8px; }
.gv-note.box { background: var(--app-surface); border-radius: 16px; padding: 14px; margin-top: 16px; text-align: left; }
.primary-btn.gv-valet-btn { margin-top: 18px; }

.gv-valet {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 4px 12px;
    background: linear-gradient(135deg, rgba(48, 209, 88, 0.18), rgba(48, 209, 88, 0.06));
    border-radius: 22px;
    padding: 14px 16px;
    margin: 2px 0 14px;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.25);
}
.gv-valet-ic { width: 40px; height: 40px; border-radius: 12px; background: #30d158; display: flex; align-items: center; justify-content: center; }
.gv-valet-ic svg { width: 22px; height: 22px; fill: #fff; }
.gv-valet-title { font-size: 15px; font-weight: 700; }
.gv-valet-sub { font-size: 12.5px; color: var(--app-text-dim); }
.gv-valet-eta { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: #30d158; }
.gv-valet-track { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(48, 209, 88, 0.18); overflow: hidden; margin-top: 6px; }
.gv-valet-fill { height: 100%; border-radius: 3px; background: #30d158; transition: width 0.9s linear; }

.gv-holders .list-group { margin-bottom: 4px; }
.gv-durations { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.gv-dur {
    border: none;
    border-radius: 999px;
    padding: 8px 13px;
    background: var(--app-surface-2);
    color: var(--app-text);
    font: 600 13px var(--font);
    cursor: pointer;
}
.gv-dur.on { background: var(--accent); color: #fff; }

.ck-row { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; }
.ck-row::-webkit-scrollbar { display: none; }
.ck-pass {
    position: relative;
    flex: 0 0 236px;
    height: 148px;
    border-radius: 20px;
    padding: 14px 16px;
    color: #fff;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    background: linear-gradient(140deg, #2b2f3a 0%, #12141a 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), inset 0 0.5px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.15s var(--bounce);
}
.ck-pass:active { transform: scale(0.97); }
.ck-pass.shared { background: linear-gradient(140deg, #1d4f7a 0%, #0b1f36 100%); }
.ck-top { position: relative; z-index: 2; }
.ck-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.ck-name { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-top: 2px; max-width: 150px; }
.ck-sub { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-size: 11.5px; opacity: 0.8; max-width: 120px; }
.ck-pass .gv-plate { position: absolute; right: 14px; bottom: 12px; z-index: 2; transform: scale(0.82); transform-origin: right bottom; }
.gv-img.ck-img { position: absolute; right: -26px; top: 20px; width: 170px; height: 96px; z-index: 1; }
.gv-img.ck-img::after { display: none; }
.gv-img.ck-img img { max-height: 92px; }
.gv-img.ck-img.fallback svg { width: 54px; height: 54px; fill: #fff; opacity: 0.35; }
.ck-sheet-head { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gv-img.ck-sheet-img { height: 120px; width: 100%; }
.ck-sheet-title { font-size: 20px; font-weight: 800; }

.gv-tabs .seg-option { white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 5px; }
.gv-count {
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: rgba(var(--app-text-rgb), 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sv-line {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    text-align: left;
    color: var(--app-text);
    font-family: var(--font);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.22), rgba(var(--accent-rgb), 0)), var(--app-surface);
    border-radius: 22px;
    padding: 14px 16px;
    margin-bottom: 4px;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.28);
}
.sv-line-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sv-line-ic svg { width: 21px; height: 21px; fill: #fff; }
.sv-line-body { flex: 1; min-width: 0; }
.sv-line-title { font-size: 16px; font-weight: 700; }
.sv-line-sub { font-size: 12.5px; color: var(--app-text-dim); }

.sv-taxi {
    --taxi: #f5b229;
    --taxi-rgb: 245, 178, 41;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px 16px;
    margin-bottom: 4px;
    border-radius: 22px;
    color: var(--app-text);
    background: linear-gradient(135deg, rgba(var(--taxi-rgb), 0.24), rgba(var(--taxi-rgb), 0)), var(--app-surface);
    box-shadow: inset 0 0 0 1px rgba(var(--taxi-rgb), 0.32);
}
.sv-taxi[hidden] { display: none; }
.sv-taxi-head { display: flex; align-items: center; gap: 12px; }
.sv-taxi-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--taxi); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sv-taxi-ic svg { width: 23px; height: 23px; fill: #1a1305; }
.sv-taxi-body { flex: 1; min-width: 0; }
.sv-taxi-title { font-size: 16px; font-weight: 700; }
.sv-taxi-sub { font-size: 12.5px; color: var(--app-text-dim); }
.sv-taxi-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-taxi-chip { padding: 4px 9px; border-radius: 9px; font-size: 12px; font-weight: 600; background: rgba(var(--app-text-rgb), 0.1); }
.sv-taxi-chip.plate { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; }
.sv-taxi-btn {
    height: 44px;
    border: none;
    border-radius: 14px;
    background: var(--taxi);
    color: #1a1305;
    font: 700 15px/1 var(--font);
    cursor: pointer;
}
.sv-taxi-btn:active { transform: scale(0.98); }
.sv-taxi-btn:disabled { opacity: .45; cursor: default; transform: none; }
.sv-taxi-btn.ghost { background: transparent; color: #ff453a; box-shadow: inset 0 0 0 1px rgba(255, 69, 58, 0.45); }
.sv-taxi-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--taxi); flex-shrink: 0; animation: sv-taxi-pulse 1.4s infinite; }
@keyframes sv-taxi-pulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--taxi-rgb), 0.6); }
    70%, 100% { box-shadow: 0 0 0 10px transparent; }
}

.sv-sos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sv-sos {
    position: relative;
    border: none;
    border-radius: 24px;
    padding: 14px 14px 13px;
    text-align: left;
    color: #fff;
    font-family: var(--font);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.15s var(--bounce);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), inset 0 0.5px 0 rgba(255, 255, 255, 0.35);
}
.sv-sos:active { transform: scale(0.97); }
.sv-sos.pd { background: linear-gradient(145deg, #3a7bff, #1a3fb8); }
.sv-sos.ems { background: linear-gradient(145deg, #ff5a5f, #c8102e); }
.sv-sos-ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, 0.22); display: flex; align-items: center; justify-content: center; }
.sv-sos-ic svg { width: 18px; height: 18px; fill: #fff; }
.sv-sos-num { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin-top: 10px; line-height: 1; }
.sv-sos-label { font-size: 13.5px; font-weight: 700; margin-top: 4px; }
.sv-sos-state { font-size: 11.5px; opacity: 0.85; margin-top: 1px; }

.sv-group { padding: 2px 0; }
.sv-row { display: flex; align-items: center; gap: 11px; padding: 12px 12px 12px 14px; position: relative; }
.sv-row + .sv-row::before { content: ''; position: absolute; top: 0; left: 59px; right: 0; height: 0.5px; background: var(--app-separator); }
.sv-row-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; align-self: flex-start; margin-top: 2px; }
.sv-row-ic svg { width: 19px; height: 19px; fill: #fff; }
.sv-row-info { flex: 1; min-width: 0; }
.sv-row-top { display: flex; align-items: center; gap: 7px; }
.sv-row-name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-pill { font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; flex-shrink: 0; }
.sv-pill.open { color: #30d158; background: rgba(48, 209, 88, 0.15); }
.sv-pill.closed { color: #ff6961; background: rgba(255, 69, 58, 0.14); }
.sv-row-sub { font-size: 12.5px; color: var(--app-text-dim); margin-top: 1px; }
.sv-ann {
    margin-top: 6px;
    font-size: 12.5px;
    padding: 6px 9px;
    border-radius: 10px;
    background: rgba(255, 159, 10, 0.14);
    color: #ff9f0a;
}
.sv-row-actions { display: flex; gap: 6px; flex-shrink: 0; align-self: center; }
.sv-ibtn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--app-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s var(--bounce);
    box-shadow: var(--glass-rim);
}
.sv-ibtn svg { width: 16px; height: 16px; }
.sv-ibtn.call svg { fill: #30d158; }
.sv-ibtn.text svg { fill: #0a84ff; }
.sv-ibtn.gps svg { fill: #0a84ff; }
.sv-ibtn.edit svg { fill: #ff9f0a; }
.sv-ibtn:active { transform: scale(0.88); }
.sv-ibtn:disabled { opacity: 0.35; cursor: default; }

.sv-sheet-head { text-align: center; padding: 4px 0 6px; }
.sv-sheet-num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.sv-sheet-label { font-size: 15px; font-weight: 700; margin-top: 6px; }
.sv-sheet-state { font-size: 12.5px; margin-top: 2px; }
.sv-sheet-state.on { color: #30d158; }
.sv-sheet-state.off { color: #ff6961; }
.confirm-btn.sv-call { background: #30d158; }
.sv-inbox-head { font-size: 12.5px; color: var(--app-text-dim); padding: 0 4px 10px; }
.sv-thread { padding: 10px 14px; }
.imsg-head .ah-action.sv-callback { display: flex; align-items: center; justify-content: center; }
.sv-callback svg { width: 18px; height: 18px; fill: #30d158; }
.co-sub.co-line { color: #ffd60a; opacity: 1; font-weight: 600; }

.sv-row { flex-wrap: wrap; }
.sv-row-actions { flex-basis: 100%; padding-left: 45px; margin-top: 9px; gap: 8px; }
.sv-ann { display: inline-block; }

.settings-hero .sh-avatar { cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.sh-edit { font-size: 13px; font-weight: 600; color: var(--accent); cursor: pointer; margin: 2px 0 2px; }
.my-photo-sheet { align-items: center; }
.my-photo-sheet .confirm-btn { width: 100%; }
.mp-preview { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.mp-note { font-size: 12.5px; color: var(--app-text-dim); text-align: center; padding: 0 12px; }
.wp-swatch.wp-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--app-surface-2);
    background-size: cover;
    background-position: center;
}
.wp-swatch.wp-photo svg { width: 34px; height: 34px; fill: var(--app-text-dim); margin-bottom: 18px; }
