/* ============================================================
   ALL STYLES (همان استایل‌های قبلی)
   ============================================================ */

*,*::before,*::after{ box-sizing:border-box; }

input, textarea, select{ font-size:16px; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
input{ font-family:inherit; }
a{ color:inherit; text-decoration:none; }
::selection{ background:rgba(56,189,248,0.25); }
button:focus-visible, input:focus-visible, [tabindex]:focus-visible{
    outline:2px solid var(--brand);
    outline-offset:2px;
}
#app{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    max-width:720px;
    margin:0 auto;
    background:var(--bg);
    position:relative;
    box-shadow:0 0 40px rgba(15,23,42,0.03);
}
#loading-screen{
    position:fixed;
    inset:0;
    background:var(--white);
    z-index:9999;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:24px;
    transition:opacity 500ms ease, visibility 500ms ease;
}
#loading-screen.hide{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}
.load-logo-wrap{
    width:100px;
    height:100px;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transform:scale(0.85);
    animation:logoIn 700ms cubic-bezier(.22,1,.36,1) forwards;
}
.load-logo-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
    border-radius:16px;
}
@keyframes logoIn{
    to{ opacity:1; transform:scale(1); }
}
.loader-ring{
    width:28px;
    height:28px;
    border-radius:50%;
    border:3px solid var(--border);
    border-top-color:var(--brand);
    animation:spin 750ms linear infinite;
    opacity:0;
    animation:spin 750ms linear infinite, ringIn 400ms ease 350ms forwards;
}
@keyframes ringIn{ to{ opacity:1; } }
@keyframes spin{ to{ transform:rotate(360deg); } }
.tab-loading-overlay {
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px 0;
    gap:12px;
    color:var(--muted);
    font-size:13px;
    font-weight:500;
    min-height:200px;
}
.tab-loading-overlay .tab-spinner {
    width:24px;
    height:24px;
    border-radius:50%;
    border:2.5px solid var(--border);
    border-top-color:var(--brand);
    animation:spin 500ms linear infinite;
}
.app-header{
    position:sticky;
    top:0;
    z-index:40;
    background:var(--white);
    border-bottom:1px solid var(--border);
    box-shadow:var(--shadow-xs);
    padding-top:env(safe-area-inset-top);
}
.header-inner{
    height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 16px;
}
.brand{
    display:flex;
    align-items:center;
    gap:9px;
}
.brand-logo{
    width:30px; height:30px;
    border-radius:8px;
    object-fit:cover;
    background:var(--surface-2);
    flex-shrink:0;
}
.brand-name{
    font-size:16px;
    font-weight:700;
    color:var(--ink);
    letter-spacing:-0.2px;
}
.header-actions{
    display:flex;
    align-items:center;
    gap:6px;
}
.icon-btn{
    width:38px; height:38px;
    border-radius:10px;
    border:1px solid var(--border);
    background:var(--white);
    display:flex; align-items:center; justify-content:center;
    color:var(--ink-2);
    font-size:15px;
    position:relative;
    transition:transform 150ms ease, background 150ms ease, border-color 150ms ease;
}
.icon-btn:active{ transform:scale(.94); background:var(--surface-2); }
.notif-dot{
    position:absolute;
    top:7px; right:8px;
    width:7px; height:7px;
    border-radius:50%;
    background:var(--error);
    border:1.5px solid var(--white);
}
.search-bar-wrap {
    padding:10px 12px 6px;
    background:var(--bg);
    position:sticky;
    top:58px;
    z-index:35;
}
.search-bar {
    display:flex;
    align-items:center;
    gap:10px;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--r-input);
    padding:0 12px;
    transition:border-color 160ms ease, box-shadow 160ms ease;
}
.search-bar:focus-within {
    border-color:var(--brand);
    box-shadow:0 0 0 3px rgba(56,189,248,0.12);
}
.search-bar i {
    color:var(--muted-2);
    font-size:15px;
}
.search-bar input {
    flex:1;
    border:none;
    padding:10px 0;
    font-size:13.5px;
    font-family:inherit;
    background:transparent;
    color:var(--ink);
    outline:none;
}
.search-bar input::placeholder {
    color:var(--muted-2);
}
.search-bar .search-clear {
    background:none;
    border:none;
    color:var(--muted-2);
    font-size:14px;
    padding:4px;
    cursor:pointer;
    display:none;
}
.search-bar .search-clear.visible {
    display:block;
}
.search-bar .search-clear:active {
    transform:scale(0.9);
}
.feed-wrap{
    flex:1;
    padding:0 12px 20px;
}
.feed-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding-top:6px;
}
.ad-card{
    background:var(--white);
    border-radius:var(--r-card);
    overflow:hidden;
    box-shadow:var(--shadow-xs);
    border:1px solid var(--border);
    transition:transform 150ms ease, box-shadow 200ms ease;
    display:flex;
    flex-direction:row;
    gap:12px;
    padding:10px 12px;
    cursor:pointer;
    opacity:0;
    transform:translateY(12px);
}
.ad-card.in-view{
    opacity:1;
    transform:translateY(0);
    transition:opacity 400ms ease, transform 400ms ease;
}
.ad-card:active{ transform:scale(.98); }
.ad-image-wrap{
    width:90px;
    min-height:80px;
    aspect-ratio:1/1;
    background:var(--surface-2);
    border-radius:8px;
    overflow:hidden;
    flex-shrink:0;
    position:relative;
}
.ad-image-wrap img{
    width:100%; height:100%;
    object-fit:cover;
}
.ad-badge{
    position:absolute;
    bottom:4px;
    right:4px;
    background:rgba(15,23,42,0.7);
    backdrop-filter:blur(4px);
    color:var(--white);
    font-size:9px;
    font-weight:600;
    padding:2px 6px;
    border-radius:4px;
}
.ad-body{
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:2px 0;
}
.ad-seller-top{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:6px;
    margin-bottom:6px;
    direction:rtl;
    width:100%;
}
.ad-seller-top .seller-avatar{
    width:20px;
    height:20px;
    border-radius:50%;
    object-fit:cover;
    background:var(--surface-2);
    flex-shrink:0;
}
.ad-seller-top .seller-name{
    font-size:12px;
    font-weight:600;
    color:var(--ink-2);
}
.ad-seller-top .verified-icon{
    color:var(--brand);
    font-size:11px;
    flex-shrink:0;
}
.ad-title{
    font-size:14px;
    font-weight:700;
    color:var(--ink);
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    line-height:1.4;
    margin-bottom:4px;
}
.ad-desc{
    font-size:11.5px;
    color:var(--muted);
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin-bottom:6px;
    line-height:1.5;
}
.ad-bottom-row{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;
    white-space:nowrap;
    gap:0;
    font-size:12px;
    color:var(--muted);
    margin-top:auto;
    padding-top:6px;
    text-align:center;
    width:100%;
    overflow:hidden;
}
.ad-bottom-row .ad-price{
    font-size:13.5px;
    font-weight:700;
    color:var(--brand-ink);
    flex-shrink:0;
}
.ad-bottom-row .ad-time{
    font-size:12px;
    color:var(--muted);
    flex-shrink:0;
}
.ad-bottom-row .sep{
    margin:0 7px;
    color:var(--muted-2);
    font-weight:400;
    user-select:none;
    flex-shrink:0;
}
.verified-icon{
    color:var(--brand);
    font-size:9px;
    flex-shrink:0;
}
.ad-status-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}
.ad-status-pending {
    background: #FEF3C7;
    color: #D97706;
}
.ad-status-approved {
    background: #D1FAE5;
    color: #059669;
}
.ad-status-rejected {
    background: #FEE2E2;
    color: #DC2626;
}
.skeleton-card{
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--r-card);
    overflow:hidden;
    display:flex;
    flex-direction:row;
    gap:12px;
    padding:10px 12px;
}
.skel{
    background:linear-gradient(90deg, var(--surface-2) 25%, #EDF1F5 37%, var(--surface-2) 63%);
    background-size:400% 100%;
    animation:shimmer 1.4s ease infinite;
}
@keyframes shimmer{
    0%{ background-position:100% 50%; }
    100%{ background-position:0% 50%; }
}
.skel-image{
    width:90px;
    min-height:80px;
    aspect-ratio:1/1;
    border-radius:8px;
    flex-shrink:0;
}
.skel-body{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:2px 0;
}
.skel-line{ height:12px; border-radius:6px; margin-bottom:5px; }
.skel-line.w-100{ width:100%; }
.skel-line.w-70{ width:70%; }
.skel-line.w-40{ width:40%; }
.skel-line.w-30{ width:30%; }
.skel-line.w-25{ width:25%; }
.skel-avatar-row{ display:flex; align-items:center; gap:6px; margin-top:4px; }
.skel-avatar{ width:18px; height:18px; border-radius:50%; flex-shrink:0; }
.empty-state{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:60px 24px;
    color:var(--muted);
}
.empty-icon{
    width:56px; height:56px;
    border-radius:50%;
    background:var(--surface-2);
    display:flex; align-items:center; justify-content:center;
    font-size:22px;
    color:var(--muted-2);
    margin-bottom:14px;
}
.empty-title{
    font-size:15px;
    font-weight:700;
    color:var(--ink-2);
    margin-bottom:6px;
}
.empty-desc{
    font-size:13px;
    line-height:1.6;
    max-width:260px;
}
.bottom-nav{
    position:fixed;
    bottom:0;
    left:0; right:0;
    max-width:720px;
    margin:0 auto;
    background:var(--white);
    border-top:1px solid var(--border);
    box-shadow:var(--shadow-nav);
    border-radius:var(--r-nav) var(--r-nav) 0 0;
    z-index:50;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom));
}
.nav-inner{
    display:flex;
    align-items:center;
    justify-content:space-around;
    position:relative;
}
.nav-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
    background:none;
    border:none;
    color:var(--muted-2);
    padding:8px 22px;
    border-radius:12px;
    min-width:44px;
    min-height:44px;
    justify-content:center;
    flex:1;
    transition:color 220ms ease, transform 150ms ease;
    position:relative;
}
.nav-item i{ font-size:19px; transition:transform 220ms ease; }
.nav-item span{ font-size:10.5px; font-weight:600; }
.nav-item.active{ color:var(--brand-ink); }
.nav-item.active i{ transform:translateY(-1px); }
.nav-item:active{ transform:scale(.92); }
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--brand);
    transition: width 200ms ease;
}
.detail-page{ padding-bottom:40px; }
.detail-topbar{
    position:sticky;
    top:0;
    z-index:30;
    display:flex;
    align-items:center;
    gap:12px;
    padding:calc(12px + env(safe-area-inset-top)) 16px 12px;
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--border);
}
.back-btn{
    width:36px; height:36px;
    border-radius:10px;
    border:1px solid var(--border);
    background:var(--white);
    display:flex; align-items:center; justify-content:center;
    color:var(--ink-2);
    flex-shrink:0;
}
.back-btn:active{ transform:scale(.92); background:var(--surface-2); }
.detail-topbar-title{
    font-size:14.5px;
    font-weight:700;
    color:var(--ink);
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.gallery-main{
    width:100%;
    aspect-ratio:16/10;
    background:var(--surface-2);
    overflow:hidden;
    position:relative;
}
.gallery-main img{
    width:100%; height:100%;
    object-fit:cover;
    transition:opacity 220ms ease;
}
.gallery-badge{
    position:absolute;
    top:14px; right:16px;
    background:rgba(15,23,42,0.62);
    backdrop-filter:blur(4px);
    color:var(--white);
    font-size:12px;
    font-weight:600;
    padding:6px 12px;
    border-radius:var(--r-badge);
}
.gallery-thumbs{
    display:flex;
    gap:8px;
    padding:12px 16px;
    overflow-x:auto;
    scrollbar-width:none;
    background:var(--white);
    border-bottom:1px solid var(--border);
}
.gallery-thumbs::-webkit-scrollbar{ display:none; }
.thumb{
    width:62px; height:52px;
    border-radius:8px;
    overflow:hidden;
    border:2px solid transparent;
    flex-shrink:0;
    opacity:0.6;
    transition:border-color 160ms ease, opacity 160ms ease;
    background:var(--surface-2);
    cursor:pointer;
    padding:0;
}
.thumb.active{ border-color:var(--brand); opacity:1; }
.thumb img{ width:100%; height:100%; object-fit:cover; }
.detail-content{ padding:18px 16px 10px; }
.detail-header-card{
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--r-card);
    padding:18px 16px;
    margin-bottom:16px;
    box-shadow:var(--shadow-xs);
}
.detail-title{
    font-size:20px;
    font-weight:700;
    line-height:1.4;
    margin-bottom:8px;
    color:var(--ink);
}
.detail-price-large{
    font-size:24px;
    font-weight:800;
    color:var(--brand-ink);
    margin-bottom:6px;
}
.detail-category-tag{
    display:inline-block;
    background:var(--surface-2);
    color:var(--ink-2);
    font-size:12px;
    font-weight:600;
    padding:4px 12px;
    border-radius:var(--r-badge);
    margin-bottom:8px;
}
.detail-meta-grid{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    padding-top:12px;
    border-top:1px solid var(--border);
    margin-top:8px;
}
.detail-meta-item{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:12.5px;
    color:var(--muted);
}
.detail-meta-item i{ color:var(--muted-2); font-size:13px; width:16px; text-align:center; }
.detail-section{
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--r-card);
    padding:16px;
    margin-bottom:16px;
    box-shadow:var(--shadow-xs);
}
.detail-section-title{
    font-size:14px;
    font-weight:700;
    color:var(--ink);
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
}
.detail-section-title i{ color:var(--brand); font-size:15px; width:20px; text-align:center; }
.detail-desc-text{
    font-size:13.5px;
    line-height:1.9;
    color:var(--ink-2);
    margin:0;
}
.specs-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}
.spec-item{
    background:var(--surface-2);
    border-radius:var(--r-input);
    padding:10px 12px;
    transition:background 150ms ease;
}
.spec-item:hover{ background:var(--border); }
.spec-label{
    font-size:10.5px;
    color:var(--muted);
    margin-bottom:3px;
    display:flex;
    align-items:center;
    gap:4px;
}
.spec-label i{ font-size:11px; color:var(--muted-2); }
.spec-value{ font-size:13px; font-weight:600; color:var(--ink); }
.seller-card{
    display:flex;
    align-items:center;
    gap:12px;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--r-card);
    padding:14px 16px;
    cursor:pointer;
    transition:transform 150ms ease, box-shadow 150ms ease;
    box-shadow:var(--shadow-xs);
}
.seller-card:active{ transform:scale(.98); }
.seller-card:hover{ box-shadow:var(--shadow-sm); }
.seller-card-avatar{
    width:48px; height:48px;
    border-radius:50%;
    object-fit:cover;
    background:var(--surface-2);
    flex-shrink:0;
    border:2px solid var(--border);
}
.seller-card-info{ flex:1; min-width:0; }
.seller-card-name{
    font-size:15px;
    font-weight:700;
    color:var(--ink);
    display:flex;
    align-items:center;
    gap:5px;
}
.seller-card-sub{ font-size:12px; color:var(--muted); margin-top:2px; }
.seller-card-arrow{ color:var(--muted-2); font-size:16px; }
.detail-actions{
    display:flex;
    gap:10px;
    padding:16px;
    background:var(--white);
    border-top:1px solid var(--border);
    position:sticky;
    bottom:0;
}
.btn{
    flex:1;
    height:46px;
    border-radius:var(--r-btn);
    border:none;
    font-size:14px;
    font-weight:700;
    display:flex; align-items:center; justify-content:center;
    gap:8px;
    transition:transform 150ms ease, background 150ms ease;
}
.btn:active{ transform:scale(.97); }
.btn-primary{ background:var(--brand); color:var(--white); }
.btn-primary:hover{ background:var(--brand-ink); }
.btn-outline{ background:var(--white); border:1px solid var(--border); color:var(--ink-2); flex:0 0 46px; }
.btn-outline:hover{ background:var(--surface-2); }
.btn-danger{ background:var(--error); color:var(--white); }
.btn-danger:hover{ background:#DC2626; }
.profile-hero{
    background:var(--white);
    border-bottom:1px solid var(--border);
    padding:26px 16px 22px;
    text-align:center;
}
.profile-avatar-lg{
    width:86px; height:86px;
    border-radius:50%;
    object-fit:cover;
    background:var(--surface-2);
    margin:0 auto 12px;
    border:3px solid var(--white);
    box-shadow:0 0 0 1px var(--border);
}
.profile-name-lg{
    font-size:18px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    margin-bottom:3px;
}
.profile-username{
    font-size:13px;
    color:var(--muted);
    margin-bottom:16px;
}
.profile-stats{
    display:flex;
    justify-content:center;
    gap:0;
}
.stat-item{
    padding:0 18px;
    text-align:center;
}
.stat-item + .stat-item{ border-right:1px solid var(--border); }
.stat-value{ font-size:16px; font-weight:700; color:var(--ink); }
.stat-label{ font-size:11px; color:var(--muted); margin-top:2px; }
.contact-seller-btn{ margin:16px 16px 0; }
.seller-ads-section{ padding:20px 16px 100px; }
.seller-ads-list{
    display:flex;
    flex-direction:column;
    gap:12px;
    max-height:500px;
    overflow-y:auto;
    padding-right:4px;
    scrollbar-width:thin;
}
.seller-ads-list::-webkit-scrollbar{ width:4px; }
.seller-ads-list::-webkit-scrollbar-track{ background:var(--surface-2); border-radius:4px; }
.seller-ads-list::-webkit-scrollbar-thumb{ background:var(--muted-2); border-radius:4px; }
.mini-ad-row{
    display:flex;
    gap:12px;
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--r-card);
    padding:10px;
    cursor:pointer;
    transition:transform 150ms ease;
    position:relative;
}
.mini-ad-row:active{ transform:scale(.98); }
.mini-ad-img{
    width:76px; height:64px;
    border-radius:8px;
    object-fit:cover;
    flex-shrink:0;
    background:var(--surface-2);
}
.mini-ad-info{ flex:1; min-width:0; display:flex; flex-direction:column; justify-content:center; padding-right:4px; }
.mini-ad-title{
    font-size:13px;
    font-weight:700;
    color:var(--ink);
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    margin-bottom:5px;
}
.mini-ad-price{ font-size:13px; font-weight:700; color:var(--brand-ink); }
.mini-delete-btn{
    position:absolute;
    left:10px;
    top:50%;
    transform:translateY(-50%);
    width:28px;
    height:28px;
    border-radius:50%;
    border:none;
    background:rgba(239,68,68,0.85);
    color:white;
    font-size:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:transform 150ms ease, background 150ms ease;
    cursor:pointer;
}
.mini-delete-btn:hover{ background:#EF4444; }
.mini-delete-btn:active{ transform:translateY(-50%) scale(0.9); }
.my-profile-page{ padding-bottom:110px; }
.form-page{ padding:calc(12px + env(safe-area-inset-top)) 16px 30px; }
.form-page-title{ font-size:19px; font-weight:700; margin-bottom:4px; }
.form-page-sub{ font-size:13px; color:var(--muted); margin-bottom:22px; }
.form-group{ margin-bottom:16px; }
.form-label{ font-size:13px; font-weight:600; color:var(--ink-2); margin-bottom:7px; display:block; }
.form-input, .form-textarea, .form-select{
    width:100%;
    border:1px solid var(--border);
    border-radius:var(--r-input);
    padding:11px 13px;
    font-size:13.5px;
    background:var(--white);
    color:var(--ink);
    font-family:inherit;
    transition:border-color 160ms ease;
}
.form-input:focus, .form-textarea:focus, .form-select:focus{
    outline:none;
    border-color:var(--brand);
}
.form-textarea{ resize:vertical; min-height:90px; }
.form-upload-box{
    border:1.5px dashed var(--border);
    border-radius:var(--r-card);
    padding:28px 16px;
    text-align:center;
    color:var(--muted);
    font-size:13px;
    cursor:pointer;
}
.form-upload-box i{ font-size:26px; color:var(--muted-2); margin-bottom:10px; display:block; }
#toast-container{
    position:fixed;
    bottom:96px;
    left:50%;
    transform:translateX(-50%);
    z-index:200;
    display:flex;
    flex-direction:column;
    gap:8px;
    align-items:center;
    width:100%;
    padding:0 20px;
    pointer-events:none;
}
.toast{
    background:var(--ink);
    color:var(--white);
    font-size:13px;
    font-weight:600;
    padding:11px 18px;
    border-radius:12px;
    display:flex;
    align-items:center;
    gap:8px;
    box-shadow:0 8px 24px rgba(15,23,42,0.25);
    opacity:0;
    transform:translateY(10px);
    transition:opacity 260ms ease, transform 260ms ease;
    max-width:340px;
}
.toast.show{ opacity:1; transform:translateY(0); }
.toast i{ color:var(--brand); font-size:14px; }
.toast.toast-success i{ color:var(--success); }
.modal-backdrop{
    position:fixed;
    inset:0;
    background:rgba(15,23,42,0.35);
    backdrop-filter:blur(5px);
    z-index:100;
    opacity:0;
    visibility:hidden;
    transition:opacity 240ms ease, visibility 240ms ease;
    display:flex;
    align-items:flex-end;
    justify-content:center;
}
.modal-backdrop.open{ opacity:1; visibility:visible; }
.modal-sheet{
    background:var(--white);
    width:100%;
    max-width:720px;
    border-radius:var(--r-modal) var(--r-modal) 0 0;
    padding:10px 20px calc(24px + env(safe-area-inset-bottom));
    transform:translateY(100%);
    transition:transform 320ms cubic-bezier(.22,1,.36,1);
    max-height:80vh;
    overflow-y:auto;
}
.modal-backdrop.open .modal-sheet{ transform:translateY(0); }
.modal-handle{
    width:36px; height:4px;
    background:var(--border);
    border-radius:4px;
    margin:8px auto 16px;
}
.modal-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:16px;
}
.modal-title{ font-size:16px; font-weight:700; }
.modal-close{
    width:32px; height:32px;
    border-radius:9px;
    border:1px solid var(--border);
    background:var(--white);
    display:flex; align-items:center; justify-content:center;
    color:var(--muted);
    font-size:13px;
}
.modal-close:active{ transform:scale(.92); }
.contact-option{
    display:flex;
    align-items:center;
    gap:12px;
    padding:13px 4px;
    border-bottom:1px solid var(--border);
    cursor:pointer;
}
.contact-option:last-child{ border-bottom:none; }
.contact-option:active{ background:var(--surface-2); border-radius:8px; }
.contact-option-icon{
    width:40px; height:40px;
    border-radius:11px;
    background:var(--surface-2);
    display:flex; align-items:center; justify-content:center;
    color:var(--brand-ink);
    font-size:16px;
    flex-shrink:0;
}
.contact-option-text .t1{ font-size:13.5px; font-weight:700; color:var(--ink); }
.contact-option-text .t2{ font-size:11.5px; color:var(--muted); margin-top:1px; }
@media (min-width:600px){
    #app{ border-inline:1px solid var(--border); }
}
@media (prefers-reduced-motion: reduce){
    *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}