/* Imported from the accepted URL6X dashboard (2026-09-04). Keep source layout. */
* { font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
        @keyframes fadeIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
        @keyframes slideIn { from{transform:translateX(100%);opacity:0} to{transform:translateX(0);opacity:1} }
        @keyframes spin { to{transform:rotate(360deg)} }
        .animated-header { background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#f093fb 100%); position:relative; overflow:hidden; }
        .fade-in { animation:fadeIn .5s ease-out; }
        .login-card { background:#fff; }
        .card-hover { transition:transform .3s ease,box-shadow .3s ease; }
        .card-hover:hover { transform:translateY(-5px); box-shadow:0 20px 40px rgba(0,0,0,.1); }
        .toast { position:fixed; bottom:20px; right:20px; z-index:1000; animation:slideIn .3s ease-out; }
        .tab-active { background:linear-gradient(135deg,#667eea 0%,#764ba2 100%); color:#fff; box-shadow:0 4px 14px rgba(102,126,234,.4); }
        .tab-inactive { background:transparent; color:#4b5563; cursor:pointer; }
        .tab-inactive:hover { background:#fff; color:#1f2937; box-shadow:0 1px 4px rgba(0,0,0,.08); }
        .destination-preview { font-family:'Courier New',monospace; font-size:12px; background:#f8f9fa; padding:4px 8px; border-radius:6px; display:inline-block; }
        .loading-spinner { display:inline-block; width:20px; height:20px; border:3px solid rgba(255,255,255,.3); border-radius:50%; border-top-color:#fff; animation:spin 1s linear infinite; }

        /* Authenticated dashboard — intentionally flat, dense and task-first. */
        .dashboard-body { background:#f8fafc; color:#111827; }
        .dashboard-shell { width:min(100%,1600px); margin:0 auto; padding:0 20px 28px; }
        .dashboard-topbar { min-height:64px; display:flex; align-items:center; gap:20px; background:#fff; border-bottom:1px solid #e5e7eb; margin:0 -20px 16px; padding:8px 20px; position:relative; z-index:40; }
        .dashboard-brand { min-height:44px; display:flex; align-items:center; gap:12px; min-width:max-content; border-radius:8px; text-decoration:none; }
        .dashboard-brand:focus-visible { outline:3px solid #4338ca; outline-offset:3px; }
        .brand-icons { display:flex; align-items:center; gap:9px; font-size:24px; line-height:1; }
        .brand-icons .fa-link,.brand-icons .fa-rocket { color:#3730d9; }
        .brand-icons .fa-bolt { color:#f7c514; }
        .dashboard-brand-name { font-size:20px; font-weight:700; letter-spacing:-.02em; color:#111827; }
        .dashboard-metrics { margin-left:auto; display:flex; align-items:center; gap:12px; }
        .metric { display:flex; align-items:center; gap:9px; padding:3px 12px; border-left:1px solid #e5e7eb; min-height:42px; }
        .metric:first-child { border-left:0; }
        .metric-icon { width:32px; height:32px; border-radius:8px; display:grid; place-items:center; color:#342ed7; background:#f5f4ff; flex:0 0 auto; }
        .metric-label { color:#64748b; font-size:11px; line-height:1.1; }
        .metric-value { color:#111827; font-size:16px; line-height:1.15; font-weight:700; font-variant-numeric:tabular-nums; }
        .today-pill { display:inline-flex; align-items:center; gap:4px; margin-left:7px; padding:3px 7px; border-radius:999px; background:#eef2ff; color:#3730d9; font-size:10px; font-weight:700; white-space:nowrap; }
        .community-metric { gap:10px; }
        .community-icon { font-size:14px; }
        .community-trend { margin-left:3px; color:#3730d9; font-size:8px; }
        .community-copy { display:flex; min-width:0; flex-direction:column; align-items:flex-start; }
        .community-copy .today-pill { margin:3px 0 0; }
        .community-scope { display:inline-flex; align-items:center; margin-top:2px; padding:2px 6px; border-radius:999px; background:#eef2ff; color:#3730d9; font-size:8px; line-height:1.2; font-weight:700; white-space:nowrap; }
        .account-wrap { position:relative; margin-left:6px; }
        .account-button { width:52px; height:42px; border:1px solid #dbe2ea; border-radius:9px; display:flex; align-items:center; justify-content:center; gap:8px; color:#342ed7; background:#fff; }
        .account-button:hover { background:#f8fafc; }
        .account-menu { position:absolute; right:0; top:calc(100% + 8px); width:176px; padding:6px; background:#fff; border:1px solid #dbe2ea; border-radius:10px; box-shadow:0 14px 35px rgba(15,23,42,.14); }
        .account-menu a { display:flex; align-items:center; gap:9px; padding:9px 10px; border-radius:7px; color:#334155; font-size:13px; font-weight:600; }
        .account-menu a:hover { background:#f1f5f9; }
        .account-menu .logout-link { color:#dc2626; }

        /* Protection updates: compact, responsive notification treatment. */
        @keyframes shieldRing {
            0%,52%,100% { transform:rotate(0); }
            60% { transform:rotate(13deg); }
            68% { transform:rotate(-11deg); }
            76% { transform:rotate(8deg); }
            84% { transform:rotate(-5deg); }
            92% { transform:rotate(2deg); }
        }
        @keyframes shieldDotPulse {
            0%,100% { transform:scale(1); opacity:1; }
            50% { transform:scale(1.28); opacity:.72; }
        }
        .shield-wrap { position:relative; flex:0 0 auto; }
        .shield-button { position:relative; width:52px; height:42px; border:1px solid #dbe2ea; border-radius:9px;
            display:grid; place-items:center; color:#342ed7; background:#fff; transition:background .15s,border-color .15s,box-shadow .15s; }
        .shield-button:hover,.shield-button[aria-expanded="true"] { background:#f7f7ff; border-color:#c9c7f7; box-shadow:0 4px 12px rgba(52,46,215,.12); }
        .shield-icon { font-size:19px; transform-origin:50% 18%; animation:shieldRing 1.8s ease-in-out 2; }
        .shield-dot { position:absolute; right:7px; top:6px; width:8px; height:8px; border:2px solid #fff; border-radius:999px;
            background:#ef4444; animation:shieldDotPulse 1.6s ease-in-out infinite; }
        .shield-button.is-seen .shield-icon { animation:none; }
        .shield-button.is-seen .shield-dot { display:none; }
        .shield-panel { position:absolute; right:0; top:calc(100% + 9px); width:320px; max-width:calc(100vw - 24px);
            overflow:hidden; border:1px solid #dbe2ea; border-radius:12px; background:#fff; box-shadow:0 18px 45px rgba(15,23,42,.18);
            color:#111827; text-align:left; z-index:70; }
        .shield-panel-head { padding:15px 16px 13px; border-bottom:1px solid #edf0f4; }
        .shield-panel-title { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
        .shield-panel-title-icon { width:30px; height:30px; display:grid; place-items:center; border-radius:8px; color:#342ed7; background:#f3f2ff; }
        .shield-panel-title strong { display:block; font-size:14px; line-height:1.2; }
        .shield-panel-title small { display:block; margin-top:2px; color:#64748b; font-size:10px; font-weight:600; }
        .shield-summary { color:#1f2937; font-size:13px; line-height:1.45; }
        .shield-summary strong { font-weight:750; }
        .shield-summary-note { margin-top:7px; color:#64748b; font-size:11px; line-height:1.45; }
        .shield-days { max-height:246px; overflow:auto; overscroll-behavior:contain; }
        .shield-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:34px; padding:8px 16px;
            border-top:1px solid #f0f2f5; color:#64748b; font-size:11.5px; }
        .shield-row:first-child { border-top:0; }
        .shield-row-count { color:#334155; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
        .shield-row-count.is-zero { color:#94a3b8; }
        .shield-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 16px;
            border-top:1px solid #e5e7eb; background:#f8fafc; color:#64748b; font-size:11px; }
        .shield-footer strong { color:#342ed7; font-size:12px; font-variant-numeric:tabular-nums; }
        @media (prefers-reduced-motion:reduce) {
            .fade-in,.toast,.loading-spinner,.shield-icon,.shield-dot { animation:none; }
        }

        .dashboard-grid { display:grid; grid-template-columns:minmax(0,62fr) minmax(350px,38fr); gap:16px; align-items:start; }
        .workspace-panel,.links-panel { background:#fff; border:1px solid #dfe5ec; border-radius:10px; box-shadow:0 1px 2px rgba(15,23,42,.03); min-width:0; }
        .workspace-panel { padding:14px 16px 16px; }
        .links-panel { padding:16px; }
        .dashboard-tabs { display:grid; grid-template-columns:1fr 1fr; border:1px solid #dfe5ec; border-radius:7px; overflow:hidden; margin-bottom:16px; }
        .dashboard-tab { min-height:38px; padding:8px 14px; background:#f8fafc; color:#27324a; font-size:14px; font-weight:600; transition:background .15s,color .15s; }
        .dashboard-tab + .dashboard-tab { border-left:1px solid #dfe5ec; }
        .dashboard-tab.tab-active { color:#fff; background:#3832db; box-shadow:none; }
        .dashboard-tab.tab-inactive { color:#27324a; background:#f8fafc; }
        .dashboard-tab.tab-inactive:hover { background:#f1f5f9; box-shadow:none; }
        .creator-form { display:grid; gap:14px; }
        .field-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
        .field label,.field-label { display:block; margin-bottom:6px; color:#1f2937; font-size:13px; font-weight:700; }
        .field-label .muted { color:#64748b; font-weight:500; }
        .dashboard-input { width:100%; border:1px solid #cfd8e3; border-radius:7px; background:#fff; color:#1e293b; padding:10px 12px; font-size:14px; line-height:1.45; transition:border-color .15s,box-shadow .15s; }
        .dashboard-input:focus { outline:0; border-color:#5148e5; box-shadow:0 0 0 2px rgba(81,72,229,.12); }
        .short-composer { display:grid; grid-template-columns:minmax(166px,200px) minmax(0,1fr); align-items:start; }
        .short-composer .dashboard-input { height:44px; min-height:44px; border-radius:0 7px 7px 0; border-left:0; }
        .domain-picker-wrap { min-width:0; }
        .domain-picker { position:relative; min-width:0; }
        .domain-trigger { width:100%; min-height:44px; display:grid; grid-template-columns:16px minmax(0,1fr) auto 18px; align-items:center; gap:7px;
            padding:8px 10px; border:1px solid #cfd8e3; border-radius:7px 0 0 7px; background:#fff; color:#1e293b; font-size:12px; text-align:left; }
        .domain-trigger:hover { background:#fafaff; }
        .domain-trigger:focus-visible,.domain-option:focus-visible,.domain-make-default:focus-visible,.domain-manage:focus-visible {
            outline:2px solid #5148e5; outline-offset:2px; }
        .domain-trigger-host { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:650; }
        .domain-chevron { width:18px; height:18px; display:grid; place-items:center; justify-self:end; border-radius:6px;
            background:linear-gradient(135deg,#5b5cf6 0%,#8b5cf6 100%); box-shadow:0 2px 6px rgba(79,70,229,.20);
            color:#fff; font-size:8px; line-height:1; transition:transform .15s ease,box-shadow .15s ease; }
        .domain-trigger[aria-expanded="true"] .domain-chevron { transform:rotate(180deg); box-shadow:0 -2px 6px rgba(79,70,229,.20); }
        .domain-default-badge { display:inline-flex; align-items:center; min-height:20px; padding:2px 7px; border-radius:999px;
            background:#eeedff; color:#3730a3; font-size:10px; line-height:1; font-weight:750; white-space:nowrap; }
        .domain-default-badge[hidden],.domain-make-default[hidden],.domain-selected-check[hidden] { display:none; }
        .domain-menu { position:absolute; z-index:40; left:0; top:calc(100% + 6px); width:max(100%,290px); max-width:min(360px,calc(100vw - 28px));
            overflow:hidden; border:1px solid #dfe5ec; border-radius:9px; background:#fff; box-shadow:0 16px 36px rgba(15,23,42,.16); }
        .domain-option-row { min-height:48px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; padding:5px 8px; }
        .domain-option-row + .domain-option-row { border-top:1px solid #eef2f6; }
        .domain-option { min-width:0; min-height:38px; display:grid; grid-template-columns:16px minmax(0,1fr) 14px; align-items:center; gap:8px;
            padding:6px; border-radius:6px; color:#1e293b; font-size:12px; text-align:left; }
        .domain-option:hover { background:#f8fafc; }
        .domain-option span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
        .domain-selected-check { justify-self:end; color:#3933d8; font-size:11px; }
        .domain-make-default { min-height:34px; padding:6px 7px; border-radius:6px; color:#3933d8; font-size:10px; font-weight:750; white-space:nowrap; }
        .domain-make-default:hover { background:#f3f2ff; }
        .domain-preference-row { min-height:28px; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:7px; }
        .domain-remember { display:inline-flex; align-items:center; gap:7px; color:#475569; font-size:11px; line-height:1.35; cursor:pointer; }
        .domain-remember input { width:15px; height:15px; accent-color:#3933d8; }
        .domain-remember input:disabled { opacity:1; }
        .domain-manage { color:#3933d8; font-size:11px; font-weight:650; white-space:nowrap; }
        .domain-manage:hover { text-decoration:underline; }
        .bulk-domain-block { max-width:360px; }
        .bulk-domain-block .domain-trigger { border-radius:7px; }
        @media (min-width:721px) {
            .short-composer { position:relative; padding-bottom:35px; }
            .short-composer .domain-preference-row { position:absolute; left:0; right:0; top:51px; }
        }
        textarea.dashboard-input { resize:vertical; }
        .bulk-urls { min-height:122px; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
        .bulk-urls.one-url-mode { min-height:64px; resize:none; }
        .bulk-mode-guide { display:grid; gap:7px; }
        .bulk-mode-title { margin:0; color:#1e293b; font-size:13px; line-height:1.35; font-weight:800; }
        .bulk-mode-subtitle { margin:0; color:#64748b; font-size:11px; line-height:1.4; }
        .bulk-mode-option { display:flex; align-items:flex-start; gap:7px; margin:0; color:#475569; font-size:11px; line-height:1.4; }
        .bulk-mode-option i { width:14px; margin-top:2px; color:#5148e5; text-align:center; }
        .bulk-per-image-row { display:flex; align-items:center; gap:10px; margin-top:3px; padding:10px 0; border-top:1px solid #e2e8f0; border-bottom:1px solid #e2e8f0; cursor:pointer; }
        .bulk-per-image-toggle { position:relative; width:36px; height:20px; flex:0 0 auto; }
        .bulk-per-image-toggle input { position:absolute; width:1px; height:1px; opacity:0; }
        .bulk-per-image-track { position:absolute; inset:0; border-radius:999px; background:#cbd5e1; transition:background .15s; }
        .bulk-per-image-track::after { content:''; position:absolute; top:3px; left:3px; width:14px; height:14px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(15,23,42,.3); transition:transform .15s; }
        .bulk-per-image-toggle input:checked + .bulk-per-image-track { background:#3933d8; }
        .bulk-per-image-toggle input:checked + .bulk-per-image-track::after { transform:translateX(16px); }
        .bulk-per-image-toggle input:focus-visible + .bulk-per-image-track { outline:2px solid #5148e5; outline-offset:2px; }
        .bulk-per-image-copy { min-width:0; }
        .bulk-per-image-label { display:block; color:#334155; font-size:12px; line-height:1.3; font-weight:700; }
        .bulk-per-image-help { display:block; margin-top:2px; color:#64748b; font-size:10px; line-height:1.35; }
        .image-tools { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,.75fr); gap:10px; align-items:end; }
        .upload-button { min-height:42px; border:1px dashed #8d88ed; border-radius:7px; color:#3730d9; background:#fafaff; display:flex; align-items:center; justify-content:center; gap:8px; padding:9px 12px; font-size:13px; font-weight:700; cursor:pointer; }
        .upload-button:hover { background:#f4f3ff; }
        .image-help { color:#64748b; font-size:11px; line-height:1.45; margin-top:5px; }
        #singleImagePreview { width:min(100%,580px); }
        .single-preview { position:relative; width:100%; aspect-ratio:1200/630; border:1px solid #dfe5ec; border-radius:8px; overflow:hidden; background:#f8fafc; }
        .single-preview img { width:100%; height:100%; object-fit:contain; background:#eef2f7; }
        .preview-size { position:absolute; left:10px; top:10px; z-index:2; padding:4px 7px; border-radius:5px; background:rgba(255,255,255,.9); color:#334155; font-size:11px; font-weight:700; }
        .preview-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; }
        .preview-label { color:#64748b; font-size:11px; line-height:1.35; }
        .preview-actions { display:flex; gap:7px; flex:0 0 auto; }
        .quiet-button { border:1px solid #cfd8e3; border-radius:6px; padding:7px 10px; background:#fff; color:#3730d9; font-size:12px; font-weight:600; }
        .quiet-button.danger { color:#dc2626; border-color:#fecaca; }
        .primary-action { width:100%; min-height:43px; border-radius:7px; background:#3933d8; color:#fff; font-size:15px; font-weight:700; box-shadow:0 3px 10px rgba(57,51,216,.18); }
        .primary-action:hover { background:#302ac7; }
        .primary-action:disabled { opacity:.65; cursor:wait; }
        .traffic-trust-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px 8px; margin-top:8px; color:#64748b; font-size:12px; line-height:1.35; text-align:center; }
        .traffic-trust-row .trust-icon { color:#10b981; font-size:13px; }
        .traffic-trust-row .trust-separator { color:#94a3b8; }
        .keep-row { display:flex; align-items:center; gap:9px; padding:10px 12px; margin-top:12px; border:1px solid #e2e8f0; border-radius:7px; color:#334155; font-size:12px; font-weight:500; cursor:pointer; }
        .keep-row input { width:17px; height:17px; accent-color:#3933d8; }
        .quick-reuse { margin-top:14px; padding-top:14px; border-top:1px solid #e2e8f0; }
        .quick-reuse[hidden] { display:none; }
        .quick-reuse-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:9px; }
        .quick-reuse-title { color:#111827; font-size:15px; line-height:1.2; font-weight:750; }
        .quick-reuse-subtitle { margin-top:2px; color:#64748b; font-size:10px; line-height:1.35; }
        .quick-reuse-device { display:flex; align-items:center; gap:6px; color:#64748b; font-size:10px; white-space:nowrap; }
        .quick-reuse-clear { color:#3730d9; font-size:10px; font-weight:650; }
        .quick-reuse-clear:hover { text-decoration:underline; }
        .quick-reuse-list { display:grid; gap:7px; }
        .quick-reuse-item { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:9px; align-items:center; min-width:0; padding:9px; border:1px solid #e2e8f0; border-radius:8px; background:#fff; }
        .quick-reuse-item.is-top { border-color:#aaa6fa; background:#fafaff; }
        .quick-reuse-rank { width:34px; height:34px; display:grid; place-items:center; border-radius:8px; background:#eef2f7; color:#475569; font-size:13px; font-weight:750; font-variant-numeric:tabular-nums; }
        .quick-reuse-item.is-top .quick-reuse-rank { background:#3933d8; color:#fff; }
        .quick-reuse-copy { min-width:0; }
        .quick-reuse-url { overflow:hidden; color:#3730d9; font-size:12px; line-height:1.25; font-weight:700; white-space:nowrap; text-overflow:ellipsis; }
        .quick-reuse-name { overflow:hidden; margin-top:2px; color:#334155; font-size:11px; line-height:1.25; white-space:nowrap; text-overflow:ellipsis; }
        .quick-reuse-meta { margin-top:3px; color:#64748b; font-size:10px; line-height:1.25; }
        .quick-reuse-use { min-width:86px; border:1px solid #aaa6fa; border-radius:7px; padding:7px 9px; background:#fff; color:#3730d9; font-size:11px; font-weight:700; white-space:nowrap; }
        .quick-reuse-use:hover { background:#f4f3ff; }
        .quick-reuse-use:focus-visible,.quick-reuse-clear:focus-visible { outline:2px solid #5148e5; outline-offset:2px; }
        #resultTray { margin-top:12px; border:1px solid #dfe5ec; border-radius:8px; background:#fff; padding:12px; }
        .result-items-list { display:grid; }
        .result-item-row { display:grid; grid-template-columns:44px minmax(0,1fr) 30px 30px; gap:9px; align-items:center; min-width:0; padding:7px 0; border-top:1px solid #eef2f6; }
        .result-item-thumb { width:44px; height:34px; border-radius:6px; overflow:hidden; display:grid; place-items:center; background:#f1f5f9; color:#cbd5e1; font-size:13px; }
        .result-item-thumb img { width:100%; height:100%; object-fit:cover; }
        .result-item-main { min-width:0; display:grid; gap:2px; }
        .result-item-short { color:#7c3aed; font-size:12px; line-height:1.25; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .result-item-destination { min-width:0; color:#94a3b8; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:10px; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .result-item-destination-target-mobile { display:none; }
        .result-item-destination.has-attribution .result-item-destination-meta::before { content:' | '; }
        .result-item-action { width:30px; height:30px; display:grid; place-items:center; border-radius:6px; }
        .result-item-action:hover { background:#f1f5f9; }

        .bulk-images { display:flex; flex-wrap:wrap; gap:10px; align-items:stretch; }
        #bulkImagePool { display:flex; flex-wrap:wrap; gap:10px; }
        #bulkImagePool > div { width:132px !important; height:86px !important; border-radius:7px !important; }
        .add-images-tile { width:132px; height:86px; border:1px dashed #8d88ed; border-radius:7px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; color:#3730d9; background:#fafaff; cursor:pointer; font-size:12px; font-weight:600; }
        .add-images-tile i { width:28px; height:28px; border-radius:999px; background:#3933d8; color:#fff; display:grid; place-items:center; }

        .links-heading-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
        .links-heading { color:#111827; font-size:17px; line-height:1.2; font-weight:700; }
        .link-count { color:#64748b; font-size:11px; font-weight:500; margin-left:5px; }
        .link-search { display:grid; grid-template-columns:minmax(0,1fr) 118px; gap:9px; margin-bottom:12px; }
        .search-field { position:relative; }
        .search-field .dashboard-input { padding-right:38px; }
        .search-submit { position:absolute; right:3px; top:3px; width:34px; height:34px; display:grid; place-items:center; color:#334155; border-radius:6px; }
        .search-submit:hover { background:#f1f5f9; }
        .links-list { border:1px solid #e1e7ee; border-radius:8px; overflow:visible; }
        .links-list > [id^="link-card-"] + [id^="link-card-"] { border-top:1px solid #e8edf2; }
        .link-row { display:grid; grid-template-columns:10px 58px minmax(0,1fr) auto auto; gap:10px; align-items:center; padding:10px; background:#fff; }
        .link-status { width:9px; height:9px; border-radius:999px; background:#079669; }
        .link-thumb { width:58px; height:44px; border-radius:6px; overflow:hidden; background:#f1f5f9; display:grid; place-items:center; color:#cbd5e1; }
        .link-thumb img { width:100%; height:100%; object-fit:cover; }
        .link-main { min-width:0; }
        .link-title { color:#1f2937; font-size:13px; line-height:1.25; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .link-short-line { display:flex; align-items:center; gap:6px; min-width:0; margin-top:2px; }
        .link-short { color:#3730d9; font-size:12px; line-height:1.25; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
        .link-copy { color:#3730d9; font-size:12px; flex:0 0 auto; }
        .link-meta,.link-description { color:#64748b; font-size:10px; line-height:1.35; margin-top:2px; overflow-wrap:anywhere; }
        .link-description { color:#94a3b8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .link-clicks { min-width:72px; display:inline-flex; align-items:center; justify-content:flex-end; gap:4px; color:#475569; font-size:12px; font-variant-numeric:tabular-nums; white-space:nowrap; }
        .link-clicks i { font-size:10px; }
        .link-clicks-value { color:#334155; font-weight:700; }
        .link-clicks-unit { color:#64748b; font-size:10px; font-weight:600; letter-spacing:.01em; }
        .link-actions { position:relative; }
        .kebab-toggle { width:28px; height:28px; display:grid; place-items:center; color:#334155; border-radius:6px; }
        .kebab-toggle:hover { background:#f1f5f9; }
        .pagination-wrap { margin-top:14px; padding-top:12px; border-top:1px solid #eef2f6; }
        .mobile-stats { display:none; }
        .feedback-prompt[hidden],.feedback-modal[hidden],.feedback-reach-reasons[hidden],.feedback-message[hidden] { display:none; }
        .feedback-prompt { position:fixed; z-index:80; left:50%; bottom:14px; transform:translateX(-50%); width:min(680px,calc(100% - 24px)); border:1px solid #d7dbea; border-radius:14px; padding:18px 20px 14px; background:#fff; box-shadow:0 18px 55px rgba(15,23,42,.2); text-align:center; }
        .feedback-prompt-close { position:absolute; top:6px; right:6px; width:44px; height:44px; display:grid; place-items:center; border-radius:999px; color:#64748b; }
        .feedback-prompt-close:hover { background:#f1f5f9; }
        .feedback-prompt-title { padding:0 30px; color:#111827; font-size:18px; line-height:1.25; font-weight:750; }
        .feedback-prompt-subtitle { margin-top:3px; color:#64748b; font-size:12px; }
        .feedback-prompt-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:16px; }
        .feedback-tap { min-height:44px; display:flex; align-items:center; justify-content:center; gap:7px; border:1px solid #cbd5e1; border-radius:9px; background:#fff; color:#475569; font-size:14px; font-weight:650; }
        .feedback-tap.good { border-color:#86c994; color:#16803a; background:#f7fff8; }
        .feedback-tap.problem { border-color:#f2a1a1; color:#dc2626; background:#fffafa; }
        .feedback-tap:hover,.feedback-category:hover { background:#f8fafc; }
        .feedback-more { min-height:44px; display:inline-flex; align-items:center; justify-content:center; margin-top:7px; padding:0 8px; color:#3730d9; font-size:13px; text-decoration:underline; }
        .feedback-backdrop { position:fixed; z-index:89; inset:0; background:rgba(15,23,42,.4); }
        .feedback-sheet { position:fixed; z-index:90; left:50%; bottom:0; transform:translateX(-50%); width:min(680px,100%); max-height:min(90vh,760px); max-height:min(90dvh,760px); overflow:auto; border-radius:18px 18px 0 0; padding:18px 22px calc(20px + env(safe-area-inset-bottom)); background:#fff; box-shadow:0 -18px 55px rgba(15,23,42,.25); }
        .feedback-sheet-handle { width:42px; height:4px; margin:0 auto 13px; border-radius:999px; background:#cbd5e1; }
        .feedback-sheet-title { color:#111827; font-size:21px; line-height:1.25; font-weight:800; text-align:center; }
        .feedback-sheet-subtitle { margin-top:4px; color:#64748b; font-size:13px; text-align:center; }
        .feedback-link-context { margin-top:10px; padding:8px 10px; border-radius:7px; background:#f5f4ff; color:#3730d9; font-size:12px; text-align:center; }
        .feedback-categories { display:grid; gap:9px; margin-top:17px; }
        .feedback-category { min-height:46px; display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; border:1px solid #dbe1e8; border-radius:9px; padding:10px 14px; background:#fff; color:#3730d9; font-size:14px; font-weight:600; text-align:left; }
        .feedback-category.is-selected { border-color:#5148e5; background:#f5f4ff; box-shadow:0 0 0 1px #5148e5 inset; }
        .feedback-category.is-expanded { border-radius:9px 9px 0 0; }
        .feedback-reach-reasons { margin-top:-9px; padding:12px; border:1px solid #5148e5; border-top:0; border-radius:0 0 9px 9px; background:#fafaff; }
        .feedback-reach-question { margin-bottom:9px; color:#334155; font-size:13px; font-weight:700; }
        .feedback-reach-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
        .feedback-reach-option { min-height:44px; padding:8px 10px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; color:#334155; font-size:12px; font-weight:650; text-align:center; }
        .feedback-reach-option:hover { background:#f5f4ff; }
        .feedback-reach-option.is-selected { border-color:#5148e5; background:#eeecff; color:#3730d9; box-shadow:0 0 0 1px #5148e5 inset; }
        .feedback-message { width:100%; min-height:90px; margin-top:12px; resize:vertical; border:1px solid #dbe1e8; border-radius:9px; padding:11px 12px; color:#1f2937; font-size:14px; line-height:1.45; }
        .feedback-message:focus { outline:2px solid #aaa6fa; outline-offset:1px; }
        .feedback-send { width:100%; min-height:46px; margin-top:12px; border-radius:9px; background:#3933d8; color:#fff; font-size:15px; font-weight:750; }
        .feedback-send:disabled { opacity:.55; cursor:not-allowed; }
        .feedback-not-now { min-height:44px; display:flex; align-items:center; justify-content:center; margin:6px auto 0; padding:0 12px; color:#3730d9; font-size:14px; font-weight:650; }
        .feedback-link-report { min-height:44px; }
        .feedback-privacy { margin-top:10px; color:#64748b; font-size:11px; text-align:center; }

        @media (max-width:1023px) {
            .dashboard-shell { padding:0 14px 22px; }
            .dashboard-topbar { margin:0 -14px 12px; padding:8px 14px; min-height:58px; }
            .dashboard-metrics { display:none; }
            .dashboard-brand-name { font-size:18px; }
            .brand-icons { font-size:22px; }
            .shield-wrap { margin-left:auto; }
            .account-wrap { margin-left:0; }
            .dashboard-grid { grid-template-columns:1fr; gap:12px; }
            .workspace-panel,.links-panel { border-radius:8px; }
            .workspace-panel { padding:12px; }
            .links-panel { padding:12px; }
            .links-panel { order:2; }
            .field-grid,.image-tools { grid-template-columns:1fr; }
            .short-composer { grid-template-columns:minmax(150px,190px) minmax(0,1fr); }
            .dashboard-tabs { margin-bottom:13px; }
            .dashboard-tab { min-height:40px; }
            .bulk-urls { min-height:144px; }
            #bulkImagePool > div,.add-images-tile { width:calc(25% - 8px) !important; min-width:72px; height:auto !important; aspect-ratio:1.42/1; }
            .result-item-destination.has-attribution { display:grid; grid-template-columns:minmax(0,1fr); gap:1px; white-space:normal; overflow:visible; text-overflow:clip; }
            .result-item-destination-target { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
            .result-item-destination-target-desktop { display:none; }
            .result-item-destination-target-mobile { display:block; }
            .result-item-destination-meta { min-width:0; white-space:normal; overflow:visible; overflow-wrap:anywhere; text-overflow:clip; }
            .result-item-destination.has-attribution .result-item-destination-meta::before { content:''; }
            .mobile-stats { display:grid; grid-template-columns:23% 37% 40%; gap:0; margin:0 0 12px; overflow:hidden; border:1px solid #dfe5ec; border-radius:8px; background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.03); }
            .mobile-stat { min-width:0; min-height:56px; display:grid; grid-template-columns:22px minmax(0,1fr); grid-template-rows:auto auto; column-gap:5px; row-gap:2px; align-items:center; padding:7px 8px; }
            .mobile-stat + .mobile-stat { border-left:1px solid #e5e7eb; }
            .mobile-stat-icon { grid-column:1; grid-row:1; width:22px; height:22px; display:grid; place-items:center; border-radius:6px; background:#f5f4ff; color:#3730d9; font-size:12px; }
            .mobile-stat-label { grid-column:2; grid-row:1; min-width:0; overflow:hidden; color:#64748b; font-size:9px; line-height:1.15; white-space:nowrap; text-overflow:ellipsis; }
            .mobile-stat-value-row { grid-column:1 / -1; grid-row:2; min-width:0; display:flex; flex-wrap:wrap; align-items:center; gap:3px; }
            .mobile-stat-value { color:#111827; font-size:14px; line-height:1.1; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
            .mobile-stat .today-pill { display:inline-flex; width:auto; max-width:none; margin:0; padding:2px 4px; gap:2px; font-size:8px; line-height:1.1; }
            .mobile-stat .community-trend { margin-left:2px; font-size:7px; }
            .community-mobile-stat .mobile-stat-label { font-size:8.5px; }
            .community-mobile-stat .mobile-stat-value-row { align-items:flex-start; flex-direction:column; gap:2px; }
            .community-mobile-stat .community-scope { margin-top:0; padding:2px 4px; font-size:7px; }
        }
        @media (max-width:520px) {
            .dashboard-shell { padding-left:10px; padding-right:10px; }
            .dashboard-topbar { margin-left:-10px; margin-right:-10px; padding-left:10px; padding-right:10px; gap:8px; }
            .dashboard-brand { gap:8px; }
            .brand-icons { gap:6px; font-size:20px; }
            .dashboard-brand-name { font-size:16px; }
            .shield-button { width:42px; height:40px; }
            .account-button { width:46px; height:40px; }
            .shield-panel { position:fixed; left:10px; right:10px; top:66px; width:auto; max-width:none;
                max-height:calc(100vh - 76px); max-height:calc(100dvh - 76px); overflow:auto; }
            .shield-days { max-height:246px; }
            .creator-form { gap:12px; }
            .short-composer { grid-template-columns:1fr; gap:8px; }
            .short-composer .domain-trigger,.short-composer .dashboard-input { border:1px solid #cfd8e3; border-radius:7px; }
            .domain-trigger,.domain-option-row { min-height:44px; }
            .domain-menu { width:100%; max-width:100%; }
            .domain-preference-row { align-items:flex-start; }
            .bulk-domain-block { max-width:none; }
            .field label,.field-label { font-size:12px; }
            .dashboard-input { font-size:14px; padding:10px; }
            .links-heading { font-size:15px; }
            .link-search { grid-template-columns:minmax(0,1fr) 100px; }
            .links-list > [id^="link-card-"] + [id^="link-card-"] { border-top:6px solid #f1f5f9; }
            .link-row { grid-template-columns:8px 48px minmax(0,1fr) auto auto; grid-template-rows:auto auto auto; column-gap:6px; row-gap:3px; padding:9px 8px 0; }
            .link-main { display:contents; }
            .link-status { grid-column:1; grid-row:1 / span 2; justify-self:center; }
            .link-thumb { grid-column:2; grid-row:1 / span 2; width:48px; height:42px; }
            .link-title { grid-column:3; grid-row:1; align-self:end; font-size:12px; }
            .link-meta { grid-column:3 / -1; grid-row:2; align-self:start; margin-top:0; font-size:10.5px; }
            .link-short-line { grid-column:1 / -1; grid-row:3; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0; min-width:0; min-height:52px; align-items:center; margin:6px -8px 0; padding:4px 8px; border-top:1px solid #e8edf2; background:#fafaff; }
            .link-short { min-width:0; padding-right:10px; font-size:11px; overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:anywhere; }
            .link-copy { min-width:62px; height:44px; display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:0 2px 0 11px; border:0; border-left:1px solid #dfe3ec; border-radius:0; background:transparent; color:#3730d9; font-size:13px; font-weight:700; }
            .link-copy::after { content:'Copy'; }
            .link-copy:hover,.link-copy:active { background:#f3f2ff; }
            .link-copy:focus-visible { outline:2px solid #5148e5; outline-offset:2px; }
            .link-clicks { grid-column:4; grid-row:1; align-self:end; min-width:54px; gap:3px; font-size:11px; }
            .link-clicks-unit { font-size:9px; }
            .link-actions { grid-column:5; grid-row:1; align-self:end; }
            .link-description { display:none; }
            .single-preview { border-radius:7px; }
            .preview-footer { align-items:flex-start; flex-direction:column; }
            .mobile-stat { min-height:54px; grid-template-columns:18px minmax(0,1fr); column-gap:3px; padding:6px 4px; }
            .mobile-stat-icon { width:18px; height:18px; font-size:10px; }
            .mobile-stat-label { font-size:8.5px; }
            .mobile-stat-value { font-size:13px; }
            .community-mobile-stat .community-scope { max-width:100%; overflow:hidden; font-size:7.5px; text-overflow:ellipsis; }
            .result-item-row { grid-template-columns:40px minmax(0,1fr) 28px 28px; gap:7px; padding:7px 0; }
            .result-item-thumb { width:40px; height:32px; border-radius:5px; }
            .result-item-action { width:28px; height:28px; }
            .quick-reuse-head { gap:8px; }
            .quick-reuse-subtitle { display:none; }
            .quick-reuse-item { grid-template-columns:32px minmax(0,1fr) auto; gap:8px; padding:8px; }
            .quick-reuse-rank { width:32px; height:32px; }
            .quick-reuse-use { min-width:82px; padding:7px 8px; }
            .quick-reuse-item:nth-child(n+3) { display:none; }
            .feedback-prompt { bottom:max(8px,env(safe-area-inset-bottom)); width:calc(100% - 16px); padding:16px 12px 12px; }
            .feedback-prompt-actions { gap:7px; }
            .feedback-tap { min-height:44px; padding:6px; font-size:12px; }
            .feedback-sheet { padding:14px 14px calc(18px + env(safe-area-inset-bottom)); }
            .feedback-sheet-title { font-size:19px; }
            .feedback-reach-options { grid-template-columns:1fr; }
        }
