:root {
    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-light: #fdba74;
    --text: #1e293b;
    --text-secondary: #64748b;
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-header: rgba(255,255,255,0.85);
    --border: #e2e8f0;
    --danger: #ef4444;
    --success: #22c55e;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="dark"] {
    --accent: #fb923c;
    --accent-dark: #f97316;
    --accent-light: #7c2d12;
    --text: #f1f5f9;
    --text-secondary: #94a3b8;
    --bg: #0f172a;
    --bg-card: #1e293b;
    --bg-header: rgba(15,23,42,0.9);
    --border: #334155;
    --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background var(--transition), color var(--transition);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; font-family: inherit; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* HEADER */
.header {
    position: sticky; top: 0; z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), border var(--transition);
}
.header__inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    height: 64px; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text); }
.logo__text { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.nav { display: flex; gap: 8px; margin-left: auto; }
.nav__link {
    padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
    color: var(--text-secondary); transition: all var(--transition);
}
.nav__link:hover, .nav__link--active { color: var(--text); background: var(--border); text-decoration: none; }
.nav__link--admin { color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 12px; }

/* Theme toggle */
.theme-toggle {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; color: var(--text-secondary); transition: all var(--transition);
}
.theme-toggle:hover { background: var(--border); color: var(--text); }
.theme-toggle__icon--moon { display: none; }
[data-theme="dark"] .theme-toggle__icon--sun { display: none; }
[data-theme="dark"] .theme-toggle__icon--moon { display: block; }

/* User profile */
.user-profile {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 6px; border-radius: 10px;
    transition: background var(--transition); cursor: default;
}
.user-profile__avatar {
    width: 32px; height: 32px; border-radius: 8px;
    background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.user-profile__name { font-size: 14px; font-weight: 500; }

/* User dropdown */
.user-dropdown {
    display: none; position: absolute; top: 100%; right: 0; margin-top: 8px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
    box-shadow: var(--shadow-lg); min-width: 140px; z-index: 200; overflow: hidden;
}
.user-dropdown--open { display: block; }
.user-dropdown__item {
    display: block; padding: 10px 16px; font-size: 14px; color: var(--text);
    transition: background var(--transition);
}
.user-dropdown__item:hover { background: var(--border); text-decoration: none; }
.user-profile { position: relative; }

/* Burger */
.burger {
    display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px;
    justify-content: center; align-items: center; border-radius: 10px;
    background: transparent; transition: background var(--transition);
}
.burger:hover { background: var(--border); }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.burger--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger--active span:nth-child(2) { opacity: 0; }
.burger--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 600;
    border: 1px solid transparent; cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--sm { padding: 4px 10px; font-size: 12px; }
.btn--full { width: 100%; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--text-secondary); }
.input {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px;
    background: var(--bg-card); color: var(--text); outline: none; transition: var(--transition);
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,115,22,0.15); }
.input--sm { padding: 4px 8px; font-size: 12px; }
textarea.input { resize: vertical; }
select.input { cursor: pointer; }

/* Flash */
.flash-container { max-width: 1280px; margin: 0 auto; padding: 12px 24px 0; }
.flash { padding: 10px 16px; border-radius: 8px; margin-bottom: 8px; font-size: 14px; }
.flash--success { background: #dcfce7; color: #166534; }
.flash--error { background: #fee2e2; color: #991b1b; }

/* HERO */
.hero {
    padding: 80px 24px 60px; text-align: center;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-card) 100%);
    transition: background var(--transition);
}
.hero__inner { max-width: 800px; margin: 0 auto; }
.hero__title {
    font-size: clamp(28px, 5vw, 48px); font-weight: 800;
    line-height: 1.2; letter-spacing: -1px; margin-bottom: 16px;
}
.hero__accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__subtitle { font-size: clamp(16px, 2.5vw, 20px); color: var(--text-secondary); margin-bottom: 32px; }

/* Search */
.search-bar {
    display: flex; max-width: 560px; margin: 0 auto;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition);
}
.search-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,115,22,0.15); }
.search-bar__input { flex: 1; border: none; padding: 14px 20px; font-size: 16px; background: transparent; color: var(--text); outline: none; }
.search-bar__input::placeholder { color: var(--text-secondary); }
.search-bar__btn { padding: 14px 28px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; transition: background var(--transition); border: none; cursor: pointer; }
.search-bar__btn:hover { background: var(--accent-dark); }

/* CATALOG */
.catalog { padding: 60px 24px 80px; }
.catalog__inner { max-width: 1280px; margin: 0 auto; }
.catalog__header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.catalog__title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.catalog__filters { display: flex; gap: 8px; flex-wrap: wrap; }
.catalog__grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.catalog__empty { grid-column: 1/-1; text-align: center; color: var(--text-secondary); padding: 60px; font-size: 16px; }

/* Filter */
.filter-btn {
    padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 500;
    background: var(--bg-card); color: var(--text-secondary);
    border: 1px solid var(--border); transition: all var(--transition); display: inline-block;
}
.filter-btn:hover { border-color: var(--accent); color: var(--text); text-decoration: none; }
.filter-btn--active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Sort */
.catalog__sort { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.catalog__sort-label { font-size: 13px; color: var(--text-secondary); font-weight: 600; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination__btn {
    padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500;
    background: var(--bg-card); color: var(--text-secondary);
    border: 1px solid var(--border); transition: all var(--transition); display: inline-block;
}
.pagination__btn:hover { border-color: var(--accent); color: var(--text); text-decoration: none; }
.pagination__btn--active { background: var(--accent); color: #fff; border-color: var(--accent); }
.catalog__total { text-align: center; font-size: 13px; color: var(--text-secondary); margin-top: 12px; }

/* Card */
.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    transition: all var(--transition); animation: fadeInUp 0.5s ease both;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__image {
    height: 200px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; background: linear-gradient(135deg, var(--border), var(--bg));
}
.card__image img { width: 100%; height: 100%; object-fit: cover; }
.card__tag {
    position: absolute; top: 12px; left: 12px; padding: 4px 10px;
    border-radius: 6px; font-size: 12px; font-weight: 600;
    background: var(--accent); color: #fff;
}
.card__body { padding: 16px; }
.card__title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.card__title a { color: var(--text); transition: color var(--transition); }
.card__title a:hover { color: var(--accent); }
.card__desc {
    font-size: 13px; color: var(--text-secondary); margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__footer { display: flex; align-items: center; justify-content: space-between; }
.card__actions { display: flex; align-items: center; gap: 8px; }
.card__price { font-size: 20px; font-weight: 800; color: var(--accent); }
.card__price small { font-size: 13px; font-weight: 400; color: var(--text-secondary); }
.card__btn {
    padding: 8px 16px; border-radius: 8px; background: var(--accent);
    color: #fff; font-size: 13px; font-weight: 600; transition: background var(--transition);
}
.card__btn:hover { background: var(--accent-dark); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FEATURES */
.features {
    padding: 60px 24px 80px; background: var(--bg-card);
    border-top: 1px solid var(--border);
    transition: background var(--transition), border var(--transition);
}
.features__inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px;
}
.feature { text-align: center; padding: 24px; }
.feature__icon { margin-bottom: 16px; }
.feature__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature__text { font-size: 14px; color: var(--text-secondary); }

/* FOOTER */
.footer {
    padding: 60px 24px 24px; background: var(--bg-card);
    border-top: 1px solid var(--border);
    transition: background var(--transition), border var(--transition);
}
.footer__inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px;
}
.footer__desc { font-size: 14px; color: var(--text-secondary); margin-top: 12px; max-width: 300px; }
.footer__heading { font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer__link { display: block; font-size: 14px; color: var(--text-secondary); padding: 4px 0; transition: color var(--transition); }
.footer__link:hover { color: var(--accent); }
.footer__bottom {
    max-width: 1280px; margin: 0 auto; padding-top: 24px;
    border-top: 1px solid var(--border); font-size: 13px; color: var(--text-secondary); text-align: center;
}

/* Auth */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 80vh; padding: 24px; }
.auth-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px; max-width: 400px; width: 100%;
    box-shadow: var(--shadow-lg);
}
.auth-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.auth-subtitle { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-secondary); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Modal */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; align-items: center; justify-content: center; }
.modal--open { display: flex; }
.modal__content { background: var(--bg-card); border-radius: var(--radius); padding: 32px; max-width: 420px; width: 90%; box-shadow: var(--shadow-lg); }
.modal__content h2 { margin-bottom: 8px; }
.modal__total { font-size: 18px; margin: 16px 0; }
.modal__actions { display: flex; gap: 8px; margin-top: 16px; }

/* Orders */
.orders-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; }
.order-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.order-card__header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.order-card__id { font-weight: 700; }
.order-card__status { padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.order-card__status--pending { background: #fef3c7; color: #92400e; }
.order-card__status--confirmed { background: #dbeafe; color: #1e40af; }
.order-card__status--delivered { background: #dcfce7; color: #166534; }
.order-card__status--completed { background: #f3f4f6; color: #374151; }
.order-card__status--cancelled { background: #fee2e2; color: #991b1b; }
.order-card__equip { font-weight: 600; }
.order-card__equip a { color: var(--text); transition: color var(--transition); }
.order-card__equip a:hover { color: var(--accent); text-decoration: underline; }
.order-card__details { color: var(--text-secondary); font-size: 14px; }
.order-card__date { color: var(--text-secondary); font-size: 12px; margin-top: 4px; }

/* Admin */
.admin { display: flex; min-height: calc(100vh - 64px); }
.admin__sidebar { width: 220px; background: var(--bg-card); border-right: 1px solid var(--border); padding: 24px 16px; flex-shrink: 0; }
.admin__logo { font-size: 16px; font-weight: 800; margin-bottom: 20px; }
.admin__nav { display: flex; flex-direction: column; gap: 4px; }
.admin__link { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--text-secondary); transition: var(--transition); }
.admin__link:hover { background: var(--border); color: var(--text); text-decoration: none; }
.admin__content { flex: 1; padding: 24px 32px; overflow-x: auto; }
.admin__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

/* Table */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--border); color: var(--text-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table tr:hover td { background: rgba(0,0,0,0.02); }

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat-card__value { font-size: 32px; font-weight: 800; color: var(--accent); }
.stat-card__label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* My orders page */
.orders-page { padding: 60px 24px 80px; }
.orders-page__inner { max-width: 800px; margin: 0 auto; }
.orders-page__title { font-size: 28px; font-weight: 800; margin-bottom: 32px; }

/* Cart */
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
    display: flex; align-items: center; gap: 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 16px;
}
.cart-item__info { flex: 1; }
.cart-item__name { font-size: 16px; font-weight: 600; }
.cart-item__price { font-size: 14px; color: var(--text-secondary); }
.cart-item__controls { display: flex; gap: 8px; align-items: center; }
.cart-item__total { font-size: 18px; font-weight: 700; color: var(--accent); min-width: 80px; text-align: right; }
.cart-summary {
    margin-top: 24px; padding-top: 24px; border-top: 2px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.cart-summary__total { font-size: 22px; font-weight: 700; }

/* Product detail */
.product-page { padding: 40px 24px 80px; }
.product-page__inner { max-width: 1180px; margin: 0 auto; }
.product-page__breadcrumbs {
    display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
    color: var(--text-secondary); font-size: 14px;
}
.product-page__breadcrumbs a { color: var(--text-secondary); transition: color var(--transition); }
.product-page__breadcrumbs a:hover { color: var(--accent); }
.product-hero {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px;
    align-items: start; margin-bottom: 32px;
}
.product-hero__image,
.product-section__card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.product-hero__image { overflow: hidden; min-height: 340px; }
.product-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.product-hero__content {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow);
}
.product-hero__category {
    color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.product-hero__title { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin-bottom: 14px; }
.product-hero__summary { color: var(--text-secondary); font-size: 16px; margin-bottom: 20px; }
.product-hero__meta {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    flex-wrap: wrap; margin-bottom: 24px;
}
.product-hero__price { font-size: 32px; font-weight: 800; color: var(--accent); }
.product-hero__price small { font-size: 16px; color: var(--text-secondary); font-weight: 500; }
.product-hero__status {
    border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700;
    border: 1px solid var(--border);
}
.product-hero__status--available { color: #166534; background: #dcfce7; border-color: #bbf7d0; }
.product-hero__status--unavailable { color: #991b1b; background: #fee2e2; border-color: #fecaca; }
.product-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-section__title { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.product-section__card { padding: 28px; }
.product-section__card p + p { margin-top: 14px; }

/* Mobile */
@media (max-width: 768px) {
    .nav { display: none; }
    .nav--open {
        display: flex; flex-direction: column;
        position: absolute; top: 64px; left: 0; right: 0;
        background: var(--bg-header); backdrop-filter: blur(12px);
        padding: 16px 24px; border-bottom: 1px solid var(--border);
        gap: 4px; z-index: 99;
    }
    .user-profile__name { display: none; }
    .burger { display: flex; }
    .hero { padding: 48px 24px 40px; }
    .catalog__header { flex-direction: column; align-items: flex-start; }
    .catalog__grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
    .footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .admin { flex-direction: column; }
    .admin__sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
    .admin__nav { flex-direction: row; flex-wrap: wrap; }
    .search-bar { max-width: 100%; }
    .card__footer { align-items: flex-start; flex-direction: column; gap: 12px; }
    .card__actions { width: 100%; }
    .product-hero { grid-template-columns: 1fr; }
    .product-hero__content, .product-section__card { padding: 20px; }
    .product-hero__image { min-height: 260px; }
}
@media (max-width: 480px) {
    .header__inner { padding: 0 16px; gap: 12px; }
    .catalog__grid { grid-template-columns: 1fr; }
    .hero__title { font-size: 24px; }
    .search-bar { flex-direction: column; }
    .search-bar__btn { padding: 12px; }
}

/* === Entity links (кликабельные упоминания сущностей в логах и таблицах) === */
.entity-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    margin: 0 2px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    color: var(--accent);
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}
.entity-link:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    text-decoration: none;
    transform: translateY(-1px);
}
.entity-link::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    opacity: 0.8;
}
.entity-link--order::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M7 4V2h10v2h3v18H4V4h3zm2 0h6V2H9v2zm-3 4v12h12V8H6z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M7 4V2h10v2h3v18H4V4h3zm2 0h6V2H9v2zm-3 4v12h12V8H6z'/></svg>");
}
.entity-link--equipment::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 2L2 7v10l10 5 10-5V7L12 2zm0 2.2L19.5 8 12 11.8 4.5 8 12 4.2zM4 9.5l7 3.5v7l-7-3.5v-7zm9 10.5v-7l7-3.5v7l-7 3.5z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 2L2 7v10l10 5 10-5V7L12 2zm0 2.2L19.5 8 12 11.8 4.5 8 12 4.2zM4 9.5l7 3.5v7l-7-3.5v-7zm9 10.5v-7l7-3.5v7l-7 3.5z'/></svg>");
}
.entity-link--user::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 12c2.7 0 5-2.3 5-5s-2.3-5-5-5-5 2.3-5 5 2.3 5 5 5zm0 2c-3.3 0-10 1.7-10 5v3h20v-3c0-3.3-6.7-5-10-5z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M12 12c2.7 0 5-2.3 5-5s-2.3-5-5-5-5 2.3-5 5 2.3 5 5 5zm0 2c-3.3 0-10 1.7-10 5v3h20v-3c0-3.3-6.7-5-10-5z'/></svg>");
}
.entity-link--invite::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M4 4h16v4l-3 2 3 2v8H4v-8l3-2-3-2V4zm2 2v2.5l3 2-3 2V18h12v-5.5l-3-2 3-2V6H6z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M4 4h16v4l-3 2 3 2v8H4v-8l3-2-3-2V4zm2 2v2.5l3 2-3 2V18h12v-5.5l-3-2 3-2V6H6z'/></svg>");
}
[data-theme="dark"] .entity-link {
    background: rgba(251, 146, 60, 0.12);
    border-color: rgba(251, 146, 60, 0.3);
}
