/* ================================================================
   GIGAMERCH UI FRAMEWORK v1.2
   Clean, unified, glass design with universal spacing & adaptivity
================================================================ */

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg,#6d78ff 0%,#8f66ff 100%);
    background-attachment: fixed;
    color: #ffffff;
}

/* ============================================================
   ROOT SPACING & TOKENS
============================================================ */

:root {
    --p-section: 24px;
    --p-block: 20px;
    --gap: 18px;

    --glass-bg: rgba(255,255,255,0.12);
    --glass-border: rgba(255,255,255,0.28);
    --glass-shadow: 0 12px 32px rgba(0,0,0,0.25);

    --btn-bg: rgba(255,255,255,0.28);
    --btn-bg-hover: rgba(255,255,255,0.40);
    --btn-border: rgba(255,255,255,0.45);
    --btn-radius: 14px;
    --btn-text: #ffffff;

    --accent: #4a47c6;
    --accent-soft: #818cf8;
}

/* ============================================================
   LAYOUT ROOT / FOOTER
============================================================ */

.page-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-main {
    flex: 1;
}

.site-footer {
    flex-shrink: 0;
    margin-top: 40px;
    padding: 32px 0;
    background: rgba(0,0,0,0.28);
    backdrop-filter: blur(14px);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-logo img {
    width: 70px;
    opacity: 0.95;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-nav {
    margin-bottom: 8px;
}

.footer-nav a {
    color: rgba(255,255,255,0.88);
    margin: 0 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.2s;
}

.footer-nav a:hover {
    color: #ffffff;
}

.inn {
    opacity: 0.75;
    font-size: 0.85rem;
}

/* ============================================================
   UNIVERSAL WRAPPERS (PAGE CONTAINERS)
============================================================ */

.page-wrapper,
.artist-page,
.checkout-wrapper,
.block,
.glass-block,
.artist-block,
.artist-section,
.artist-hero-block {
    max-width: 960px;
    margin: 0 auto;
    padding: var(--p-block);
}

/* Base spacing between blocks */
.artist-block,
.block,
.glass-block,
.artist-section,
.artist-hero-block {
    margin-top: var(--gap);
}

/* MOBILE universal 2px gutters */
@media (max-width: 720px) {
    .page-wrapper,
    .artist-page,
    .checkout-wrapper,
    .artist-block,
    .glass-block,
    .block,
    .artist-section,
    .artist-hero-block,
    .order-header-block,
    .form-block,
    .notfound-card {
        width: calc(100% - 4px);
        margin-left: 2px;
        margin-right: 2px;
        border-radius: 16px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ============================================================
   GLASS BLOCK
============================================================ */

.glass-block,
.block,
.artist-block {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow: var(--glass-shadow);
}

/* ============================================================
   TYPOGRAPHY
============================================================ */

h1,
h2,
h3,
h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.2rem;
}

p {
    line-height: 1.6;
    margin-bottom: 10px;
}

a {
    color: #c7e0ff;
}

a:hover {
    color: #e5f0ff;
}

/* Section titles on public pages / артист */
.artist-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ============================================================
   UNIVERSAL BUTTONS
============================================================ */

.btn,
.merch-buy-btn,
.merch-size-btn,
.btn-main,
.btn-pvz,
.notfound-button {
    appearance: none;
    cursor: pointer;
    border-radius: var(--btn-radius);
    font-weight: 700;
    padding: 10px 18px;
    border: 1px solid var(--btn-border);
    background: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.22s ease;
}

.btn:hover,
.merch-buy-btn:hover:not([disabled]),
.merch-size-btn:hover,
.btn-main:hover:not([disabled]),
.btn-pvz:hover,
.notfound-button:hover {
    background: var(--btn-bg-hover);
}

/* CTA button on hero */
.btn {
    font-size: 1rem;
}

/* Primary “Купить” */
.merch-buy-btn {
    width: 100%;
    font-size: 1.05rem;
    margin-top: 6px;
}

.merch-buy-btn[disabled] {
    opacity: 0.4;
    cursor: default;
}

/* Checkout main pay button */
.btn-main {
    width: 100%;
    background: var(--accent-soft);
    border-color: var(--accent-soft);
    color: #ffffff;
}

.btn-main[disabled] {
    opacity: 0.45;
    cursor: default;
}

/* PVZ / secondary button */
.btn-pvz {
    width: 100%;
    margin-top: 10px;
    background: rgba(15,23,42,0.9);
    border-color: rgba(148,163,184,0.7);
}

/* Notfound CTA */
.notfound-button {
    background: var(--accent);
    border-color: var(--accent);
}

/* ============================================================
   SIZE BUTTONS (Glass, perfect style)
============================================================ */

.merch-sizes-label {
    font-size: 0.82rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.merch-size-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 4px 0 12px;
}

.merch-size-btn {
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: #ffffff;
    font-size: 0.98rem;
    padding: 8px 16px;
    border-radius: var(--btn-radius);
}

/* active size */
.merch-size-btn.active {
    background: #ffffff;
    color: var(--accent);
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.55);
}

/* ============================================================
   HERO BLOCK — ARTIST PAGE
============================================================ */

.artist-hero-block {
    padding: var(--p-block);
    border-radius: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(20px);
}

.artist-hero-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.artist-hero-logo img,
.artist-hero-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 22px;
    background: rgba(0,0,0,0.25);
    object-fit: cover;
    display: block;
}

.artist-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
}

.artist-hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.artist-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
}

.markdown-hero {
    font-size: 1.05rem;
    line-height: 1.7;
}

.markdown-hero a {
    color: #bdf3ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(189,243,255,0.5);
}

.markdown-hero a:hover {
    border-bottom-color: rgba(189,243,255,1);
}

/* Mobile hero */
@media (max-width: 720px) {
    .artist-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .artist-hero-logo img,
    .artist-hero-placeholder {
        width: 160px;
        height: 160px;
    }

    .artist-hero-title {
        font-size: 2rem;
    }
}

/* ============================================================
   ARTIST PAGE — MERCH GRID
============================================================ */

.artist-page {
    padding-top: 16px;
    padding-bottom: 40px;
}

.artist-merch-grid {
    display: grid;
    gap: var(--gap);
}

.merch-card {
    display: grid;
    grid-template-columns: minmax(0,340px) 1fr;
    gap: var(--gap);
    padding: var(--p-block);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(18px);
    align-items: start;
}

/* left side — images */
.merch-images {
    width: 100%;
}

.merch-images-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.merch-images-track::-webkit-scrollbar {
    display: none;
}

.merch-image-wrapper {
    flex: 0 0 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: center;
    background: rgba(0,0,0,0.25);
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

.merch-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* right side — description & buy */
.merch-card-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.merch-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.merch-price {
    font-size: 1.02rem;
    opacity: 0.96;
}

/* Mobile merch card */
@media (max-width: 720px) {
    .merch-card {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PUBLIC INDEX PAGE (hero / cards / lists)
============================================================ */

.index-page .artist-block:first-of-type {
    margin-top: 16px;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-text {
    max-width: 600px;
}

.artist-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero-lead {
    font-size: 1.02rem;
    opacity: 0.95;
}

.hero-lead-sub {
    font-size: 0.98rem;
    opacity: 0.9;
    margin-bottom: 14px;
}

/* Cards (used on index) */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 6px;
}

.cards--equal {
    align-items: stretch;
}

.card {
    background: rgba(255,255,255,0.13);
    border-radius: 16px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.card-title {
    margin-top: auto;
    font-size: 0.98rem;
}

/* lists (universal) */

.list {
    list-style: none;
    padding: 0;
}

.item,
.list li {
    background: rgba(255,255,255,0.13);
    border-radius: 14px;
    padding: 10px 14px 10px 32px;
    font-size: 0.98rem;
    margin-bottom: 8px;
    position: relative;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
}

.item::before,
.list li::before {
    content: "•";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: rgba(201,212,255,0.9);
}

/* ============================================================
   MARKDOWN CONTENT (long text pages)
============================================================ */

.markdown-content {
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto 40px;
    font-size: 0.98rem;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
    margin: 20px 0 10px;
    font-weight: 700;
    color: #ffffff;
}

.markdown-content ul,
.markdown-content ol {
    padding-left: 22px;
    margin: 10px 0 16px;
}

.markdown-content li {
    margin-bottom: 6px;
}

.markdown-content a {
    color: #7eceff;
    text-decoration: none;
    border-bottom: 1px solid rgba(126,206,255,0.5);
}

.markdown-content a:hover {
    border-bottom-color: rgba(164,226,255,0.9);
}

/* ============================================================
   CHECKOUT PAGE / DELIVERY WIDGET
============================================================ */

.checkout-wrapper {
    max-width: 640px;
    margin: 0 auto 40px;
}

/* order header card */
.order-header-block {
    background: var(--glass-bg);
    padding: var(--p-block);
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    margin-top: var(--gap);
    margin-bottom: var(--gap);
}

.order-title {
    margin: 0 0 12px 0;
    font-size: 1.5rem;
    font-weight: 800;
}

.order-product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.98rem;
    margin-bottom: 8px;
}

.order-product-name {
    color: #e2e8f0;
    font-weight: 600;
}

.order-product-price {
    font-weight: 700;
}

.order-disclaimer {
    color: #cbd5e1;
    font-size: 0.85rem;
    margin-top: 8px;
    opacity: 0.85;
}

/* form blocks */
.form-block {
    background: var(--glass-bg);
    padding: var(--p-block);
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    margin-bottom: var(--gap);
    backdrop-filter: blur(12px);
}

.form-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
    opacity: 0.9;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: none;
    background: rgba(15,23,42,0.9);
    color: #ffffff;
    font-size: 0.98rem;
    margin-bottom: 14px;
}

.form-input:focus {
    outline: 2px solid var(--accent-soft);
}

/* widget container */
#delivery-widget-wrapper {
    width: 100%;
    min-height: 420px;
    background: rgba(15,23,42,0.9);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-top: 8px;
}

#delivery-widget {
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    display: block;
}

#delivery-widget iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

/* selected PVZ info */
.pvz-selected-block {
    padding: 12px;
    background: #1e293b;
    color: #ffffff;
    border-radius: 12px;
    margin-top: 10px;
    font-size: 0.9rem;
    display: none; /* show via JS */
}

/* Mobile checkout tweaks */
@media (max-width: 600px) {
    .checkout-wrapper {
        padding-top: 10px;
        padding-bottom: 24px;
    }

    .order-header-block,
    .form-block {
        padding-top: 16px;
        padding-bottom: 16px;
        margin-bottom: 14px;
    }

    .btn-main,
    .btn-pvz {
        padding: 10px 14px;
        font-size: 0.98rem;
    }
}

/* ============================================================
   ARTIST CABINET (dashboard / nav / tables)
============================================================ */

.artist-pill-nav {
    max-width: 960px;
    margin: 18px auto 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.artist-pill-nav a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.92rem;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.28);
    color: #e5e7ff;
    transition: 0.2s;
    white-space: nowrap;
}

.artist-pill-nav a:hover {
    background: rgba(255,255,255,0.24);
}

.artist-pill-nav a.active {
    background: #ffffff;
    color: var(--accent);
    font-weight: 700;
}

/* stats / blocks */
.artist-section {
    max-width: 960px;
    margin: 12px auto 0;
}

.artist-section-subtitle {
    margin-top: 4px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.artist-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px,1fr));
    gap: 12px;
    margin-top: 12px;
}

.artist-stat {
    border-radius: 16px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(12px);
}

.artist-stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
}

.artist-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
}


/* auth card (login/register) */
.artist-auth-card {
    max-width: 420px;
    margin: 60px auto;
    padding: 22px 20px;
    border-radius: 20px;
    background: rgba(15,23,42,0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.artist-auth-card h1 {
    margin-bottom: 14px;
}

.artist-auth-card form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.artist-auth-card input,
.artist-auth-card select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(15,23,42,0.95);
    color: #f9fafb;
    font-size: 0.95rem;
}

.artist-auth-card button {
    padding: 10px 14px;
    border-radius: 999px;
    border: none;
    background: #ffffff;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: 0.2s;
}

.artist-auth-card button:hover {
    transform: translateY(-1px);
    background: #eaeaff;
}

.artist-auth-error {
    color: #fecaca;
    background: rgba(127,29,29,0.7);
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Mobile cabinet tweaks */
@media (max-width: 720px) {
    .artist-pill-nav {
        width: calc(100% - 4px);
        margin-left: 2px;
        margin-right: 2px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 12px;
    }

    .artist-stat-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 380px) {
    .artist-stat-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   404 PAGE
============================================================ */

.notfound-page {
    max-width: 700px;
    margin: 80px auto;
    text-align: center;
    padding: 20px;
}

.notfound-card {
    background: #ffffff;
    color: #333333;
    padding: 32px 26px;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.notfound-emoji {
    font-size: 64px;
    margin-bottom: 16px;
}

.notfound-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.notfound-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ============================================================
   MODAL (image zoom)
============================================================ */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: 22px;
    right: 30px;
    font-size: 42px;
    color: white;
    cursor: pointer;
    opacity: 0.85;
    transition: 0.25s;
}

.modal-close:hover {
    opacity: 1;
}

/* ============================================================
   RESPONSIVE FINETUNE (generic)
============================================================ */

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .merch-buy-btn,
    .merch-size-btn {
        padding: 8px 14px;
    }

    .hero-grid {
        gap: 12px;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 400px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   TABLE SCROLL (artist-table)
============================================================ */



/* ============================================
   FORM ELEMENTS (PROFILE)
============================================ */
.gm-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gm-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.gm-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gm-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 600;
}

.gm-input,
.gm-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.14);
    color: #fff;
    backdrop-filter: blur(10px);
    font-size: 1rem;
}

.gm-select option {
    background: #1e1e1e;
    color: white;
}


.gm-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.14);
    color: white;
    resize: vertical;
    min-height: 150px;
}

.gm-hint {
    opacity: 0.75;
    font-size: 0.9rem;
}

.gm-avatar-preview {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(0,0,0,0.28);
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.gm-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gm-preview-box {
    border-radius: 18px;
    overflow: hidden;
}

.gm-delete-link {
    margin-left: 10px;
    color: #ffbaba;
    text-decoration: underline;
}
.gm-delete-link:hover {
    color: white;
}

.gm-gap {
    gap: 10px;
}

/* исправление file-input */
input[type="file"] {
    display: none;
}

.gm-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gm-label {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
}

.gm-input,
.gm-textarea,
.gm-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.gm-textarea {
    resize: vertical;
}

.gm-chat {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gm-chat-msg {
    padding: 14px;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.gm-chat-meta {
    font-size: 0.82rem;
    opacity: 0.7;
    margin-bottom: 6px;
}

.gm-chat-image img,
.gm-image-preview img {
    max-width: 260px;
    width: 100%;
    border-radius: 14px;
    margin-top: 8px;
}




/* ============================================================
   ARTIST TABLE (rounded glass style)
============================================================ */

/* Обертка: дает ровные скругления + принудительное обрезание */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    border-radius: 18px;                /* как у всех glass-блоков */
    backdrop-filter: blur(16px);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding-bottom: 8px;
}

/* Скроллбар */
.table-scroll::-webkit-scrollbar {
    height: 8px;
}
.table-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.35);
    border-radius: 4px;
}

/* Сама таблица — убираем радиусы, пусть обертка контролирует форму */
.artist-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 0; /* управляет wrapper */
    overflow: hidden; /* важно */
    font-size: 0.9rem;
}

/* Заголовок */
.artist-table thead {
    background: rgba(15,23,42,0.95);
}

.artist-table th,
.artist-table td {
    padding: 10px 14px;
    text-align: left;
    white-space: nowrap;
}

.artist-table th {
    font-weight: 600;
    opacity: 0.9;
}

/* Чётные строки */
.artist-table tbody tr:nth-child(even) {
    background: rgba(15,23,42,0.85);
}

/* Нечётные */
.artist-table tbody tr:nth-child(odd) {
    background: rgba(15,23,42,0.7);
}

.artist-table a {
    color: #bfdbfe;
    text-decoration: underline;
}
.artist-table a:hover {
    color: #e0f2fe;
}

/* Mobile compact mode */
@media (max-width: 760px) {
    .artist-table th,
    .artist-table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}