/* ============================================================
   SMM Pro – main.css
   Dark-mode SMS activation platform theme.
   Design tokens are injected via critical inline CSS in enqueue.php.
   ============================================================ */

/* ─ 1. BASE ─────────────────────────────────────────────────────────────── */
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }

/* Respect the HTML `hidden` attribute even when components set `display`. */
[hidden] { display: none !important; }

.smm-container {
    width: min(100%, 1320px);
    margin-inline: auto;
    padding-inline: 24px;
}

.smm-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.smm-sr-only--focusable:focus {
    position: static; width: auto; height: auto;
    overflow: visible; clip: auto; white-space: normal;
}

.smm-skip-link {
    position: absolute; top: -100px; left: 16px; z-index: 9999;
    background: var(--accent); color: #fff; padding: 8px 16px;
    border-radius: var(--r-sm); font-weight: 600;
    transition: top var(--trans);
}
.smm-skip-link:focus { top: 16px; }

/* ─ 2. TYPOGRAPHY ───────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-1);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-2); line-height: 1.7; }

/* ─ 3. LAYOUT SHELL ─────────────────────────────────────────────────────── */
.smm-page-shell {
    display: flex;
    min-height: calc(100vh - var(--header-h));
}
.smm-main-area {
    flex: 1;
    min-width: 0;
}
.smm-layout--entry {
    display: block;
}
.smm-main--single,
.smm-main--page {
    width: 100%;
    padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 6vw, 88px);
}
.smm-entry-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding-inline: 24px;
}

/* ─ 4. HEADER ───────────────────────────────────────────────────────────── */
.smm-header {
    position: relative;
    z-index: 500;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Top bar */
.smm-header-top {
    height: var(--header-top-h);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-s);
}
.smm-header-top__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}
.smm-header-top__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.smm-header-top__meta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.smm-header-top__meta.is-empty { display: none; }
.smm-header-top__logo .custom-logo {
    height: 36px;
    width: auto;
}
.smm-site-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
}
.smm-header-top__mid {
    flex: 1;
    display: flex;
    justify-content: center;
}
.smm-header-top__mid.is-empty,
.smm-header-top__actions.is-empty { display: none; }
.smm-top-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.smm-top-nav--addon { margin-left: 12px; }
.smm-header-top__actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Nav bar */
.smm-header-nav {
    position: sticky;
    top: 0;
    z-index: 500;
    height: var(--header-nav-h);
    background: rgba(18,18,26,0.95);
    border-bottom: 1px solid var(--border-s);
}
[data-theme="light"] .smm-header-nav {
    background: rgba(255,255,255,0.95);
}
.smm-header-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}
.smm-header-nav__menu { display: flex; align-items: center; gap: 4px; }
.smm-header-nav__user { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }

/* Platform nav list (header) */
.smm-plat-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}
.smm-nav-link--header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--r-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color var(--trans), background var(--trans);
    white-space: nowrap;
}
.smm-nav-link--header:hover,
.smm-nav-item.is-active .smm-nav-link--header {
    color: var(--text-1);
    background: var(--bg-hover);
}
.smm-nav-item.is-active .smm-nav-link--header {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.smm-nav-icon { width: 16px; height: 16px; flex-shrink: 0; }
.smm-nav-badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: var(--r-full);
    line-height: 1.4;
    min-width: 18px;
    text-align: center;
}

/* ─ 5. ICON BUTTONS ─────────────────────────────────────────────────────── */
.smm-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px;
    border: none;
    border-radius: var(--r-sm);
    background: transparent;
    color: var(--text-2);
    cursor: pointer;
    transition: color var(--trans), background var(--trans);
    min-width: 36px;
    min-height: 36px;
}
.smm-icon-btn:hover { color: var(--text-1); background: var(--bg-hover); }
.smm-icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.smm-icon-btn__icon { width: 18px; height: 18px; flex-shrink: 0; }
.smm-icon-btn__chevron { width: 14px; height: 14px; transition: transform var(--trans); }
[aria-expanded="true"] > .smm-icon-btn__chevron,
.smm-icon-btn[aria-expanded="true"] .smm-icon-btn__chevron { transform: rotate(180deg); }

/* Theme toggle icons */
.smm-theme-toggle__icon-light { display: none; }
[data-theme="light"] .smm-theme-toggle__icon-dark  { display: none; }
[data-theme="light"] .smm-theme-toggle__icon-light { display: block; }

/* Sound control icons */
.smm-sound-control__icon-off { display: none; }
.smm-is-muted .smm-sound-control__icon-on  { display: none; }
.smm-is-muted .smm-sound-control__icon-off { display: block; }

/* ─ 7. DROPDOWNS ────────────────────────────────────────────────────────── */
.smm-lang-selector,
.smm-currency-selector,
.smm-sound-control,
.smm-user-panel { position: relative; }

.smm-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-d);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    z-index: 600;
    overflow: hidden;
    animation: smm-dropdown-in var(--trans-md) cubic-bezier(0.16,1,0.3,1);
}
@keyframes smm-dropdown-in {
    from { opacity: 0; transform: translateY(-8px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.smm-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: var(--text-2);
    transition: background var(--trans), color var(--trans);
    cursor: pointer;
}
.smm-dropdown__item:hover { background: var(--bg-hover); color: var(--text-1); }
.smm-dropdown__item svg  { width: 16px; height: 16px; flex-shrink: 0; }
.smm-dropdown__item.is-active { color: var(--accent); }
.smm-dropdown__item--danger:hover { color: var(--danger); }
.smm-dropdown__divider { height: 1px; background: var(--border-s); margin: 4px 0; }
.smm-dropdown__check { width: 14px; height: 14px; margin-left: auto; color: var(--accent); }
.smm-dropdown__empty { padding: 12px 16px; font-size: 0.8rem; color: var(--text-3); }

/* Language dropdown */
.smm-lang-selector__trigger { gap: 6px; padding: 6px 10px; }
.smm-lang-selector__label   { font-size: 0.8rem; font-weight: 600; }
.smm-lang-flag { font-size: 1.1rem; line-height: 1; }
.smm-lang-selector__flag { font-size: 1.05rem; line-height: 1; }

/* Currency dropdown */
.smm-currency-selector__trigger {
    gap: 6px;
    padding: 6px 10px;
    min-width: 0;
}
.smm-currency-selector__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.smm-currency-selector__symbol {
    font-size: 0.72rem;
    color: var(--text-3);
}
.smm-currency-option__symbol {
    min-width: 38px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-1);
}
.smm-currency-option__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.smm-currency-option__code {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-1);
}
.smm-currency-option__name {
    font-size: 0.72rem;
    color: var(--text-3);
}

/* Sound panel */
.smm-sound-panel { min-width: 280px; padding: 0; }
.smm-sound-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 10px;
    border-bottom: 1px solid var(--border-s);
}
.smm-sound-panel__title { font-size: 0.875rem; font-weight: 600; color: var(--text-1); }
.smm-sound-panel__close { padding: 4px; }
.smm-sound-panel__body  { padding: 8px 0; }
.smm-sound-panel__note  { padding: 8px 16px 14px; font-size: 0.75rem; color: var(--text-3); }

/* Toggle row */
.smm-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    cursor: pointer;
    transition: background var(--trans);
}
.smm-toggle-row:hover { background: var(--bg-hover); }
.smm-toggle-row__label { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-2); }
.smm-toggle-row__icon  { width: 16px; height: 16px; color: var(--text-3); }

/* Toggle switch */
.smm-toggle { position: relative; display: inline-block; }
.smm-toggle__input { position: absolute; opacity: 0; width: 0; height: 0; }
.smm-toggle__track {
    display: block;
    width: 40px; height: 22px;
    background: var(--border-d);
    border-radius: var(--r-full);
    transition: background var(--trans);
    position: relative;
    cursor: pointer;
}
.smm-toggle__track::after {
    content: '';
    position: absolute;
    left: 3px; top: 3px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: var(--r-full);
    transition: transform var(--trans), box-shadow var(--trans);
    box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.smm-toggle__input:checked + .smm-toggle__track { background: var(--accent); }
.smm-toggle__input:checked + .smm-toggle__track::after { transform: translateX(18px); }
.smm-toggle__input:focus-visible + .smm-toggle__track { outline: 2px solid var(--accent); outline-offset: 2px; }

/* User panel dropdown */
.smm-user-panel__trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-d);
    border-radius: var(--r-full);
    padding: 4px 12px 4px 4px;
    cursor: pointer;
    transition: border-color var(--trans), background var(--trans);
    color: var(--text-1);
}
.smm-user-panel__trigger:hover { border-color: var(--accent); }
.smm-user-panel__trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.smm-user-panel__avatar img  { border-radius: var(--r-full); width: 30px; height: 30px; }
.smm-user-panel__avatar--lg img { width: 52px; height: 52px; border-radius: var(--r-full); }
.smm-user-panel__info { display: flex; flex-direction: column; align-items: flex-start; }
.smm-user-panel__name    { font-size: 0.8rem; font-weight: 600; color: var(--text-1); line-height: 1.2; }
.smm-user-panel__balance { font-size: 0.7rem; color: var(--accent); font-weight: 500; }
.smm-user-panel__chevron { width: 14px; height: 14px; color: var(--text-3); transition: transform var(--trans); }
.smm-user-panel__trigger[aria-expanded="true"] .smm-user-panel__chevron { transform: rotate(180deg); }

.smm-user-panel__dropdown { min-width: 260px; }
.smm-user-panel__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}
.smm-user-panel__full-name { font-size: 0.9rem; font-weight: 700; color: var(--text-1); }
.smm-user-panel__email     { font-size: 0.75rem; color: var(--text-3); }
.smm-user-panel__balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: var(--text-2);
}

/* Auth links */
.smm-auth-links { display: flex; align-items: center; gap: 8px; }

/* ─ 8. BUTTONS ──────────────────────────────────────────────────────────── */
.smm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--r-md);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity var(--trans), background var(--trans), transform var(--trans), box-shadow var(--trans);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    min-height: 40px;
    position: relative;
}
.smm-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.smm-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.smm-btn:active { transform: scale(0.98); }
.smm-btn:disabled,
.smm-btn[disabled] { opacity: 0.4; pointer-events: none; }

/* Accent gradient */
.smm-btn--accent {
    background: var(--accent-grad);
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.3), 0 0 0 0 color-mix(in srgb, var(--accent) 40%, transparent);
}
.smm-btn--accent:hover {
    opacity: 0.92;
    box-shadow: var(--sh-md), 0 0 20px color-mix(in srgb, var(--accent) 30%, transparent);
}
.smm-btn--accent:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
}

/* Ghost */
.smm-btn--ghost {
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border-d);
}
.smm-btn--ghost:hover { background: var(--bg-hover); color: var(--text-1); border-color: var(--accent); }

/* Outline */
.smm-btn--outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}
.smm-btn--outline:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* Sizes */
.smm-btn--sm  { padding: 7px 14px; font-size: 0.8rem; min-height: 34px; border-radius: var(--r-sm); }
.smm-btn--lg  { padding: 14px 28px; font-size: 1rem;  min-height: 48px; }
.smm-btn--full { width: 100%; }

/* Spinner in button */
.smm-btn__spinner { display: none; }
.smm-btn--loading .smm-btn__text   { visibility: hidden; }
.smm-btn--loading .smm-btn__spinner { display: flex; position: absolute; }

/* ─ 9. FORMS ────────────────────────────────────────────────────────────── */
.smm-form-group { display: flex; flex-direction: column; gap: 6px; }
.smm-label { font-size: 0.8rem; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.06em; }
.smm-input, .smm-textarea, .smm-native-select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-d);
    border-radius: var(--r-md);
    color: var(--text-1);
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: border-color var(--trans), box-shadow var(--trans);
    outline: none;
    -webkit-appearance: none;
}
.smm-input:focus, .smm-textarea:focus, .smm-native-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.smm-input::placeholder, .smm-textarea::placeholder { color: var(--text-3); }
.smm-textarea { resize: vertical; min-height: 100px; }

/* Custom select */
.smm-select-wrapper { position: relative; }
.smm-select-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-d);
    border-radius: var(--r-md);
    color: var(--text-1);
    padding: 10px 14px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color var(--trans), box-shadow var(--trans);
    text-align: left;
    min-height: 44px;
}
.smm-select-btn:hover { border-color: var(--accent); }
.smm-select-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.smm-select-btn[aria-expanded="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.smm-select-btn:disabled  { opacity: 0.4; cursor: not-allowed; }
.smm-select-btn__icon  { width: 20px; height: 20px; flex-shrink: 0; font-size: 1.1rem; line-height: 1; }
.smm-select-btn__icon img,
.smm-select-option__image {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 6px;
}
.smm-select-btn__text  { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smm-select-btn__chevron { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-3); transition: transform var(--trans); }
.smm-select-btn[aria-expanded="true"] .smm-select-btn__chevron { transform: rotate(180deg); }

.smm-select-listbox {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-d);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    z-index: 700;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-d) transparent;
    animation: smm-dropdown-in var(--trans) ease;
}
.smm-select-listbox__search-item {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 10px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-s);
}
.smm-select-search {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-d);
    border-radius: var(--r-sm);
    color: var(--text-1);
    padding: 8px 10px;
    font-size: 0.84rem;
    outline: none;
}
.smm-select-search:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.smm-select-search::placeholder {
    color: var(--text-3);
}
.smm-select-listbox li[role="option"] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-2);
    transition: background var(--trans), color var(--trans);
}
.smm-select-option__media {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.smm-select-option__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.smm-select-option__label {
    color: var(--text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.smm-select-option__meta {
    color: var(--text-3);
    font-size: 0.74rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.smm-select-listbox li[role="option"]:hover,
.smm-select-listbox li[role="option"][aria-selected="true"] {
    background: var(--bg-hover);
    color: var(--text-1);
}
.smm-select-listbox li[role="option"][aria-selected="true"] { color: var(--accent); }
.smm-select-listbox__loading,
.smm-select-listbox__empty {
    padding: 14px;
    color: var(--text-3);
    font-size: 0.8rem;
    text-align: center;
    gap: 8px;
}
.smm-select-listbox__no-match {
    border-top: 1px solid var(--border-s);
}

.smm-country-browser__loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--border-s);
    border-radius: var(--r-lg);
    background: var(--bg-elevated);
    color: var(--text-2);
}

/* ─ 10. SPINNER ─────────────────────────────────────────────────────────── */
.smm-spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid var(--border-d);
    border-top-color: var(--accent);
    border-radius: var(--r-full);
    animation: smm-spin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes smm-spin { to { transform: rotate(360deg); } }

/* ─ 11. HOMEPAGE LAYOUT ─────────────────────────────────────────────────── */
.smm-home-wrap { padding-block: 32px 56px; }

.smm-home-wrap .smm-container {
    width: min(100%, 1240px);
    padding-inline: clamp(24px, 3vw, 40px);
}

.smm-home-panels {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
}
.smm-home-panels__left  { position: sticky; top: calc(var(--header-h) + 24px); }
.smm-home-panels__right {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.smm-home-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.smm-home-bottom--single { grid-template-columns: 1fr; }

/* ─ 12. SERVICE PANEL ───────────────────────────────────────────────────── */
.smm-service-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-d);
    border-radius: var(--r-xl);
    padding: 28px 24px;
    box-shadow: var(--sh-md);
}
.smm-service-panel__title {
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.smm-service-panel__subtitle {
    font-size: 0.85rem;
    color: var(--text-3);
    margin-bottom: 24px;
}
.smm-service-form { display: flex; flex-direction: column; gap: 16px; }

.smm-service-panel__tops {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.smm-service-toplist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smm-service-toplist__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.smm-service-toplist__title {
    margin: 0;
    font-size: 0.88rem;
}

.smm-service-toplist__hint {
    color: var(--text-3);
    font-size: 0.74rem;
}

.smm-service-toplist__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.smm-service-top-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--r-md);
    border: 1px solid var(--border-d);
    background: var(--bg-elevated);
    color: var(--text-1);
    text-align: left;
    cursor: pointer;
    transition: border-color var(--trans), transform var(--trans), background var(--trans);
}

.smm-service-top-chip:hover,
.smm-service-top-chip.is-active {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, var(--bg-elevated));
    transform: translateY(-1px);
}

.smm-service-top-chip__icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.smm-service-top-chip__icon img {
    width: 26px;
    height: 26px;
    object-fit: cover;
    border-radius: 8px;
}

.smm-service-top-chip__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.smm-service-top-chip__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.smm-service-top-chip__meta {
    font-size: 0.72rem;
    color: var(--text-3);
}

.smm-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    border-radius: var(--r-md);
    padding: 10px 14px;
    animation: smm-fade-in var(--trans-md);
}
.smm-price-row__label { font-size: 0.8rem; color: var(--text-2); }
.smm-price-row__value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    text-align: right;
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.smm-price-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-3);
}
.smm-price-meta__count {
    font-weight: 600;
    color: var(--text-2);
}
.smm-price-meta__hint {
    flex: 1 1 180px;
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
}

.smm-service-offers {
    border: 1px solid var(--border-d);
    border-radius: var(--r-md);
    background: var(--bg-elevated);
    padding: 14px;
}
.smm-service-offers__title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    margin: 0 0 10px;
}
.smm-service-offers__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.smm-service-offer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--r-md);
    border: 1px solid var(--border-d);
    background: var(--bg-surface);
    color: var(--text-1);
    cursor: pointer;
    transition: border-color var(--trans), background var(--trans), transform var(--trans);
}
.smm-service-offer:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}
.smm-service-offer.is-active {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, var(--bg-surface));
}
.smm-service-offer__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-align: left;
}
.smm-service-offer__top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.smm-service-offer__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.smm-service-offer__label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.smm-service-offer__sub {
    font-size: 0.76rem;
    color: var(--text-3);
}
.smm-service-offer__price {
    flex-shrink: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
}

.smm-service-panel__login-notice {
    font-size: 0.8rem;
    color: var(--text-3);
    text-align: center;
    margin-top: 14px;
}

.smm-country-browser {
    border: 1px solid var(--border-d);
    border-radius: var(--r-lg);
    background: var(--bg-elevated);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.smm-country-browser__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.smm-country-browser__title {
    margin: 0 0 4px;
    font-size: 0.9rem;
}

.smm-country-browser__subtitle {
    margin: 0;
    font-size: 0.76rem;
    color: var(--text-3);
}

.smm-country-browser__toggle {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}

.smm-country-browser__mode {
    border: 1px solid var(--border-d);
    background: var(--bg-surface);
    color: var(--text-2);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.74rem;
    cursor: pointer;
}

.smm-country-browser__mode.is-active {
    border-color: var(--accent);
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, var(--bg-surface));
}

.smm-country-browser__toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.smm-country-browser__search,
.smm-country-browser__sort {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-d);
    border-radius: var(--r-md);
    color: var(--text-1);
    padding: 10px 12px;
    font-size: 0.84rem;
}

.smm-country-browser__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smm-country-card {
    border: 1px solid var(--border-d);
    border-radius: var(--r-md);
    background: var(--bg-surface);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.smm-country-card.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent);
}

.smm-country-card__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.smm-country-card__trigger {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    min-width: 0;
    width: 100%;
}

.smm-country-card__flag {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}
.smm-country-card__flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
}

.smm-country-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.smm-country-card__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-1);
}

.smm-country-card__meta,
.smm-country-card__summary {
    font-size: 0.75rem;
    color: var(--text-3);
}

.smm-country-card__actions {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
    min-width: 94px;
}

.smm-country-card__expand {
    border: 1px solid var(--border-d);
    background: var(--bg-elevated);
    color: var(--text-2);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.72rem;
    cursor: pointer;
}

.smm-country-card__expand.is-open {
    border-color: var(--accent);
    color: var(--accent);
}

.smm-country-card__price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent);
    white-space: normal;
    text-align: right;
    overflow-wrap: anywhere;
}

.smm-country-card__buy {
    border: 1px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, var(--bg-surface));
    color: var(--accent);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--trans), color var(--trans), border-color var(--trans);
}

.smm-country-card__buy:hover {
    background: var(--accent);
    color: #fff;
}

.smm-country-card__providers {
    display: none;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border-s);
    padding-top: 10px;
}

.smm-country-card__providers.is-open {
    display: flex;
}

.smm-country-provider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--border-d);
    border-radius: var(--r-md);
    background: var(--bg-elevated);
    padding: 10px 12px;
    cursor: pointer;
}

.smm-country-provider:hover,
.smm-country-provider.is-active {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, var(--bg-elevated));
}

.smm-country-provider__select {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.smm-country-provider__buy {
    flex-shrink: 0;
    border: 1px solid var(--accent);
    background: color-mix(in srgb, var(--accent) 14%, var(--bg-surface));
    color: var(--accent);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--trans), color var(--trans), border-color var(--trans);
}

.smm-country-provider__buy:hover {
    background: var(--accent);
    color: #fff;
}

.smm-country-provider__buy:focus-visible,
.smm-country-provider__select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.smm-country-provider__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.smm-country-provider__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-1);
}

.smm-country-provider__sub {
    font-size: 0.74rem;
    color: var(--text-3);
}

.smm-country-provider__sub--only {
    font-size: 0.82rem;
    color: var(--text-2);
    font-weight: 500;
}

.smm-country-provider__price {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    text-align: right;
    max-width: 110px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.smm-country-browser__empty {
    margin: 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-3);
}

/* ─ 13. INFO PANEL (How It Works) ───────────────────────────────────────── */
.smm-info-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-d);
    border-radius: var(--r-xl);
    padding: 28px 24px;
    box-shadow: var(--sh-md);
}
.smm-info-panel__title { font-size: 1.2rem; margin-bottom: 24px; }

/* Steps */
.smm-steps { display: flex; flex-direction: column; gap: 0; }
.smm-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-s);
    position: relative;
}
.smm-step:last-child { border-bottom: none; }
.smm-step__num {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: var(--r-md);
    background: var(--accent-grad);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.02em;
}
.smm-step__title { font-size: 1rem; margin-bottom: 4px; }
.smm-step__desc  { font-size: 0.875rem; color: var(--text-2); }

/* Video embed */
.smm-video-wrap { margin-bottom: 20px; }
.smm-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    background: var(--bg-elevated);
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
}
.smm-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: none;
}
.smm-video-embed__preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.smm-video-embed__preview--fallback {
    background:
        linear-gradient(135deg, rgba(10,118,110,.92), rgba(37,99,235,.88)),
        radial-gradient(circle at top left, rgba(255,255,255,.22), transparent 45%);
}
.smm-video-embed__play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0,0,0,.4);
    border: none; cursor: pointer;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background var(--trans);
}
.smm-video-embed__play:hover { background: rgba(0,0,0,.55); }
.smm-video-embed__play-icon  { width: 56px; height: 56px; }
.smm-video-player { width: 100%; border-radius: var(--r-lg); }
.smm-video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
}

/* Guide blurb */
.smm-guide-blurb {
    margin-top: 20px;
    padding: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-s);
    border-radius: var(--r-lg);
}
.smm-guide-blurb__title { font-size: 0.95rem; margin-bottom: 8px; }
.smm-guide-blurb p      { font-size: 0.875rem; margin-bottom: 12px; }
.smm-guide-blurb .smm-btn { margin-top: 4px; }

/* ─ 14. SECTION HEADERS ─────────────────────────────────────────────────── */
.smm-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.smm-section-header__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    margin: 0;
}
.smm-section-header__icon { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.smm-section-header__icon--warning { color: var(--warning); }
.smm-section-header__all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-3);
    transition: color var(--trans);
}
.smm-section-header__all:hover { color: var(--accent); }
.smm-section-header__all svg { width: 14px; height: 14px; }

/* ─ 15. NEWS GRID ───────────────────────────────────────────────────────── */
.smm-home-news {
    background: var(--bg-surface);
    border: 1px solid var(--border-d);
    border-radius: var(--r-xl);
    padding: 24px;
}
.smm-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.smm-news-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-s);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color var(--trans), transform var(--trans-md), box-shadow var(--trans-md);
}
.smm-news-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}
.smm-news-card__img-wrap { display: block; }
.smm-news-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.smm-news-card__body { padding: 14px; }
.smm-news-card__date { font-size: 0.75rem; color: var(--text-3); margin-bottom: 6px; display: block; }
.smm-news-card__title { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.smm-news-card__link  { color: var(--text-1); transition: color var(--trans); }
.smm-news-card__link:hover { color: var(--accent); }
.smm-news-card__excerpt { font-size: 0.8rem; color: var(--text-3); line-height: 1.5; }

/* ─ 16. NOTICES ─────────────────────────────────────────────────────────── */
.smm-home-notices {
    background: var(--bg-surface);
    border: 1px solid var(--border-d);
    border-radius: var(--r-xl);
    padding: 24px;
}
.smm-notices__list { display: flex; flex-direction: column; gap: 10px; }
.smm-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: var(--r-md);
    position: relative;
    animation: smm-fade-in var(--trans-md);
}
.smm-notice--info    { background: color-mix(in srgb, var(--info)    15%, var(--bg-elevated)); border: 1px solid color-mix(in srgb, var(--info)    30%, transparent); }
.smm-notice--success { background: color-mix(in srgb, var(--success) 15%, var(--bg-elevated)); border: 1px solid color-mix(in srgb, var(--success) 30%, transparent); }
.smm-notice--warning { background: color-mix(in srgb, var(--warning) 15%, var(--bg-elevated)); border: 1px solid color-mix(in srgb, var(--warning) 30%, transparent); }
.smm-notice--danger  { background: color-mix(in srgb, var(--danger)  15%, var(--bg-elevated)); border: 1px solid color-mix(in srgb, var(--danger)  30%, transparent); }
.smm-notice__icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.smm-notice--info    .smm-notice__icon { color: var(--info); }
.smm-notice--success .smm-notice__icon { color: var(--success); }
.smm-notice--warning .smm-notice__icon { color: var(--warning); }
.smm-notice--danger  .smm-notice__icon { color: var(--danger); }
.smm-notice__body   { flex: 1; }
.smm-notice__media  { margin-bottom: 12px; }
.smm-notice__media-image,
.smm-notice__media-video {
    width: 100%;
    max-width: 360px;
    border-radius: var(--r-md);
    border: 1px solid var(--border-s);
    background: var(--bg-elevated);
}
.smm-notice__title  { font-size: 0.875rem; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.smm-notice__msg    { font-size: 0.8rem; color: var(--text-2); }
.smm-notice__link   { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; margin-top: 6px; color: var(--accent); font-weight: 500; }
.smm-notice__link svg { width: 12px; height: 12px; }
.smm-notice__dismiss {
    position: absolute;
    top: 8px; right: 8px;
    background: none; border: none; cursor: pointer;
    color: var(--text-3); padding: 4px;
    border-radius: var(--r-sm);
    transition: color var(--trans), background var(--trans);
}
.smm-notice__dismiss:hover { color: var(--text-1); background: var(--bg-hover); }
.smm-notice__dismiss svg { width: 14px; height: 14px; }

/* ─ 17. FOOTER ──────────────────────────────────────────────────────────── */
.smm-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-s);
    padding-block: 48px 24px;
    margin-top: 64px;
}
.smm-footer__top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 48px;
    margin-bottom: 32px;
}
.smm-footer-group {
    min-width: 0;
}
.smm-footer-group__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-1);
    margin: 0 0 14px;
}
.smm-footer-group__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.smm-footer-group__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-3);
    transition: color var(--trans), transform var(--trans);
}
.smm-footer-group__link:hover {
    color: var(--accent);
    transform: translateX(2px);
}
.smm-footer-group__icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}
.smm-footer__divider { height: 1px; background: var(--border-s); margin-bottom: 20px; }
.smm-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.smm-footer__copy,
.smm-footer__powered { font-size: 0.8rem; color: var(--text-3); }
.smm-footer__powered a { color: var(--text-3); }
.smm-footer__powered a:hover { color: var(--accent); }

/* ─ 18. CARDS (blog/content) ────────────────────────────────────────────── */
.smm-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-d);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 380px;
    transition: border-color var(--trans-md), transform var(--trans-md), box-shadow var(--trans-md);
}
.smm-card:hover { border-color: var(--border-f); transform: translateY(-3px); box-shadow: var(--sh-md); }

/* 60% — feature image */
.smm-card__thumb {
    flex: 0 0 60%;
    overflow: hidden;
    position: relative;
}
.smm-card__img   { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--trans-md); }
.smm-card:hover .smm-card__img { transform: scale(1.04); }

/* 40% — content body */
.smm-card__body  {
    flex: 0 0 40%;
    padding: 16px 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* No-image variant: full height for the body */
.smm-card--no-image .smm-card__thumb { display: none; }
.smm-card--no-image .smm-card__body  { flex: 1; }

.smm-card__meta  { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-shrink: 0; }
.smm-card__date  { font-size: 0.72rem; color: var(--text-3); }
.smm-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    flex-shrink: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    overflow-wrap: break-word;
}
.smm-card__title-link { color: var(--text-1); transition: color var(--trans); text-decoration: none; }
.smm-card__title-link:hover { color: var(--accent); }
.smm-card__excerpt {
    font-size: 0.82rem;
    color: var(--text-2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    overflow-wrap: break-word;
    flex: 1;
    margin-bottom: 0;
}
/* Read-more is hidden in constrained card layout; kept for accessibility */
.smm-card__read-more { display: none; }

/* ─ 19. BADGES ──────────────────────────────────────────────────────────── */
.smm-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--r-full);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.smm-badge--accent  { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.smm-badge--neutral { background: var(--bg-elevated); color: var(--text-2); border: 1px solid var(--border-d); }

/* ─ 20. SINGLE POST ─────────────────────────────────────────────────────── */
.smm-single-post,
.smm-page-content {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(24px, 3vw, 42px);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--bg-surface) 94%, white) 0%, var(--bg-surface) 100%);
    border: 1px solid color-mix(in srgb, var(--border-d) 90%, transparent);
    border-radius: clamp(22px, 3vw, 30px);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}
.smm-single-post__hero { margin-bottom: 28px; border-radius: var(--r-xl); overflow: hidden; }
.smm-single-post__hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.smm-single-post__header { margin-bottom: 28px; }
.smm-single-post__cats   { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.smm-single-post__title  { margin-bottom: 16px; }
.smm-single-post__byline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.smm-byline              { display: flex; align-items: center; gap: 10px; }
.smm-byline__avatar-link img { width: 36px; height: 36px; border-radius: var(--r-full); }
.smm-byline__name  { font-size: 0.875rem; font-weight: 600; color: var(--text-1); }
.smm-byline__date  { font-size: 0.75rem; color: var(--text-3); display: block; }
.smm-reading-time  { font-size: 0.75rem; color: var(--text-3); }
.smm-page-content__header,
.smm-single-post__header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-s);
}
.smm-page-content__title {
    margin: 0;
}
.smm-page-content__body,
.smm-single-post__content {
    margin-top: 28px;
}
.smm-page-content__edit-link {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border-s);
}
.smm-author-bio,
.post-navigation,
.smm-related,
.comments-area {
    max-width: 860px;
    margin: 24px auto 0;
    padding: clamp(22px, 2.8vw, 30px);
    background: var(--bg-surface);
    border: 1px solid var(--border-d);
    border-radius: 24px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.09);
}
.smm-author-bio {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}
.smm-author-bio__avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
}
.smm-author-bio__name,
.smm-author-bio__desc {
    margin: 0;
}
.smm-author-bio__name {
    margin-bottom: 8px;
}
.post-navigation {
    overflow: hidden;
}
.post-navigation .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
    min-width: 0;
}
.post-navigation a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100%;
    padding: 18px 20px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--bg-elevated) 88%, white);
    border: 1px solid var(--border-s);
    color: var(--text-1);
    transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.post-navigation a:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--accent) 34%, var(--border-d));
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}
.smm-post-nav__label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}
.smm-post-nav__title {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text-1);
}
.smm-related__title {
    margin-bottom: 18px;
}

/* Prose content area */
.smm-prose { max-width: 72ch; }
.smm-prose h1,.smm-prose h2,.smm-prose h3,.smm-prose h4 { margin: 1.5em 0 0.6em; }
.smm-prose p  { margin-bottom: 1.2em; font-size: 1.05rem; line-height: 1.75; }
.smm-prose ul,.smm-prose ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.smm-prose ul { list-style: disc; }
.smm-prose ol { list-style: decimal; }
.smm-prose li { margin-bottom: 0.4em; color: var(--text-2); }
.smm-prose a  { color: var(--accent); text-decoration: underline; }
.smm-prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 12px 20px;
    margin: 1.5em 0;
    background: var(--bg-elevated);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-style: italic;
    color: var(--text-2);
}
.smm-prose pre {
    background: var(--bg-elevated);
    border: 1px solid var(--border-d);
    border-radius: var(--r-md);
    padding: 16px;
    overflow-x: auto;
    font-family: var(--font-mono, monospace);
    font-size: 0.875rem;
    margin: 1.2em 0;
}
.smm-prose code {
    background: var(--bg-elevated);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: var(--r-sm);
    font-size: 0.875em;
    font-family: var(--font-mono, monospace);
}
.smm-prose img { border-radius: var(--r-lg); margin: 1.5em 0; }
.smm-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.smm-prose th, .smm-prose td { border: 1px solid var(--border-d); padding: 10px 14px; font-size: 0.875rem; }
.smm-prose th { background: var(--bg-elevated); font-weight: 600; color: var(--text-1); }

/* ─ 21. PAGINATION ──────────────────────────────────────────────────────── */
.smm-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 32px 0;
}
.smm-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px; height: 38px;
    padding: 0 10px;
    border-radius: var(--r-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-2);
    background: var(--bg-surface);
    border: 1px solid var(--border-d);
    transition: all var(--trans);
}
.smm-pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.smm-pagination .page-numbers.current {
    background: var(--accent-grad);
    color: #fff;
    border-color: transparent;
}
.smm-pagination .prev, .smm-pagination .next { gap: 4px; }

/* ─ 22. BREADCRUMBS ─────────────────────────────────────────────────────── */
.smm-breadcrumbs {
    padding: 12px 0 4px;
    margin-bottom: 8px;
}
.smm-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    list-style: none;
    font-size: 0.8rem;
    color: var(--text-3);
}
.smm-breadcrumbs a { color: var(--text-3); transition: color var(--trans); }
.smm-breadcrumbs a:hover { color: var(--accent); }
.smm-breadcrumbs__sep { color: var(--border-d); pointer-events: none; }
.smm-breadcrumbs [aria-current="page"] { color: var(--text-2); }

/* ─ 23. ARCHIVE / BLOG GRID ─────────────────────────────────────────────── */
.smm-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.smm-archive-header { padding: 16px 0 24px; }
.smm-archive-header__title { font-size: clamp(1.4rem, 3vw,2rem); }
.smm-archive-header__desc  { max-width: 60ch; color: var(--text-2); margin-top: 8px; }

/* ─ 24. EMPTY STATE ─────────────────────────────────────────────────────── */
.smm-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-3);
    font-size: 0.9rem;
}
.smm-no-results {
    text-align: center;
    padding: 40px 24px;
}
.smm-no-results__title { margin-bottom: 12px; }
.smm-no-results__description { color: var(--text-2); margin-bottom: 20px; }

/* ─ 25. MOBILE DRAWER ───────────────────────────────────────────────────── */
.smm-mobile-toggle { display: none; }
.smm-mobile-drawer {
    position: fixed;
    left: 0; top: 0;
    width: min(320px, 90vw);
    height: 100vh;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-d);
    z-index: 800;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--trans-md) cubic-bezier(0.4,0,0.2,1);
}
.smm-mobile-drawer:not([hidden]) { transform: translateX(0); }
.smm-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-s);
}
.smm-mobile-drawer__close { flex-shrink: 0; }

.smm-mobile-drawer__section {
    padding: 16px;
    border-top: 1px solid var(--border-s);
}

.smm-mobile-drawer__section-title {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
}

.smm-mobile-drawer__tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.smm-mobile-drawer__tools #smm-header-top-theme-slot {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.smm-mobile-drawer #smm-header-top-mid {
    display: block;
    margin-bottom: 12px;
}

.smm-mobile-drawer #smm-header-top-mid .smm-top-nav,
.smm-mobile-drawer #smm-header-top-mid .smm-top-nav--addon {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
}

.smm-mobile-drawer #smm-header-top-mid .smm-link,
.smm-mobile-drawer #smm-header-top-mid .smm-btn {
    width: 100%;
    justify-content: flex-start;
}

.smm-mobile-nav { padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.smm-nav-link--mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color var(--trans), background var(--trans);
}
.smm-nav-link--mobile:hover,
.smm-nav-item.is-active .smm-nav-link--mobile {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.smm-nav-link--mobile .smm-nav-icon { width: 20px; height: 20px; }

.smm-mobile-drawer__auth,
.smm-mobile-drawer__user { padding: 16px; margin-top: auto; border-top: 1px solid var(--border-s); }
.smm-mobile-drawer__auth   { display: flex; flex-direction: column; gap: 8px; }
.smm-mobile-drawer__user-row { display: flex; align-items: center; gap: 10px; }
.smm-mobile-drawer__user-row img { border-radius: var(--r-full); }
.smm-mobile-drawer__user-name { font-weight: 600; font-size: 0.9rem; color: var(--text-1); }
.smm-mobile-drawer__user-bal  { font-size: 0.8rem; color: var(--accent); font-weight: 500; }

/* Backdrop */
.smm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 750;
    backdrop-filter: blur(4px);
}
.smm-backdrop:not([hidden]) { animation: smm-fade-in var(--trans-md); }

/* Back to top */
.smm-back-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 44px; height: 44px;
    border-radius: var(--r-full);
    background: var(--accent-grad);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sh-md);
    z-index: 300;
    transition: opacity var(--trans), transform var(--trans);
    animation: smm-fade-in var(--trans-md);
}
.smm-back-top:hover { transform: translateY(-2px); }
.smm-back-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ─ 26. SUPPORT CHAT ───────────────────────────────────────────────────── */
.smm-support-trigger {
    position: fixed;
    right: 22px;
    bottom: 84px;
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
    cursor: pointer;
    z-index: 560;
    transition: transform var(--trans), box-shadow var(--trans), opacity var(--trans);
}

.smm-support-trigger:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.34);
}

.smm-support-trigger[aria-expanded="true"] .smm-support-trigger__icon--open {
    display: none;
}

.smm-support-trigger[aria-expanded="false"] .smm-support-trigger__icon--close {
    display: none;
}

.smm-support-trigger__icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.smm-support-trigger__icon svg {
    width: 24px;
    height: 24px;
}

.smm-support-trigger__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-surface);
}

.smm-support-chat {
    position: fixed;
    right: 22px;
    bottom: 156px;
    width: min(340px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    height: min(460px, calc(100vh - 190px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 36%),
        linear-gradient(180deg, color-mix(in srgb, var(--bg-surface) 95%, white) 0%, var(--bg-surface) 100%);
    border: 1px solid color-mix(in srgb, var(--border-d) 88%, transparent);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
    z-index: 555;
}

.smm-support-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    color: #fff;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.98), rgba(37, 99, 235, 0.95));
}

.smm-support-chat__header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.smm-support-chat__avatar,
.smm-chat-msg__avatar {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.smm-support-chat__avatar {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.smm-support-chat__avatar svg,
.smm-chat-msg__avatar svg,
.smm-support-chat__close svg,
.smm-chat-send-btn svg,
.smm-chat-attach-btn svg,
.smm-chat-msg__file svg {
    width: 18px;
    height: 18px;
}

.smm-support-chat__title,
.smm-support-chat__status {
    margin: 0;
}

.smm-support-chat__title {
    font-size: 0.96rem;
    font-weight: 700;
}

.smm-support-chat__status {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.82);
}

.smm-support-chat__close {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.smm-support-chat__messages {
    min-height: 0;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 18%),
        var(--bg-surface);
}

.smm-chat-msg {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    max-width: 100%;
}

.smm-chat-msg--user {
    justify-content: flex-end;
}

.smm-chat-msg--system {
    justify-content: center;
}

.smm-chat-msg__avatar {
    background: color-mix(in srgb, var(--accent) 14%, var(--bg-elevated));
    color: var(--accent);
}

.smm-chat-msg__bubble {
    max-width: min(82%, 290px);
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid var(--border-s);
    background: var(--bg-elevated);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.smm-chat-msg--user .smm-chat-msg__bubble {
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, white), color-mix(in srgb, var(--accent) 10%, var(--bg-elevated)));
    border-color: color-mix(in srgb, var(--accent) 28%, transparent);
}

.smm-chat-msg--system .smm-chat-msg__bubble {
    max-width: 100%;
    text-align: center;
    background: color-mix(in srgb, var(--accent) 8%, var(--bg-elevated));
}

.smm-chat-msg__bubble p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-1);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.smm-chat-msg__time {
    display: block;
    margin-top: 8px;
    font-size: 0.7rem;
    color: var(--text-3);
}

.smm-chat-msg__file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
}

.smm-support-chat__input-area {
    border-top: 1px solid var(--border-s);
    padding: 14px 16px 16px;
    background: color-mix(in srgb, var(--bg-elevated) 92%, white);
}

.smm-chat-file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 10%, var(--bg-surface));
    border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}

.smm-chat-file-preview__name {
    min-width: 0;
    font-size: 0.78rem;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.smm-support-chat__form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.smm-chat-attach-btn,
.smm-chat-send-btn,
.smm-chat-file-clear,
.smm-support-chat__close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-d);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    color: var(--text-2);
}

.smm-chat-send-btn {
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #fff;
    border-color: transparent;
}

.smm-chat-textarea {
    min-height: 46px;
    max-height: 100px;
    resize: none;
    border-radius: 16px;
    border: 1px solid var(--border-d);
    background: var(--bg-surface);
    color: var(--text-1);
    padding: 12px 14px;
    line-height: 1.45;
    font-size: 0.88rem;
}

.smm-chat-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

/* ─ 26. SKELETON LOADERS ────────────────────────────────────────────────── */
@keyframes smm-shimmer {
    from { background-position: -400px 0; }
    to   { background-position:  400px 0; }
}
.smm-skeleton {
    border-radius: var(--r-sm);
    background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-hover) 50%, var(--bg-elevated) 75%);
    background-size: 400px 100%;
    animation: smm-shimmer 1.2s infinite linear;
}
.smm-skeleton--img   { height: 180px; border-radius: var(--r-md); }
.smm-skeleton--title { height: 20px; width: 80%; margin: 8px 0 6px; }
.smm-skeleton--text  { height: 14px; width: 100%; margin: 4px 0; }
.smm-skeleton--short { width: 60%; }
.smm-skeleton--badge { height: 18px; width: 60px; border-radius: var(--r-full); margin-bottom: 8px; }

/* ─ 27. UTILITIES ───────────────────────────────────────────────────────── */
.smm-text-accent  { color: var(--accent); }
.smm-text-muted   { color: var(--text-3); }
.smm-link         { color: var(--accent); text-decoration: none; font-weight: 500; }
.smm-link:hover   { text-decoration: underline; }
.smm-divider      { height: 1px; background: var(--border-s); margin: 16px 0; }
.smm-related__title { margin-bottom: 16px; }

/* ─ 28. ANIMATIONS ──────────────────────────────────────────────────────── */
@keyframes smm-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ─ 29. 404 PAGE ────────────────────────────────────────────────────────── */
.smm-error-page {
    text-align: center;
    padding: 60px 24px 80px;
    max-width: 520px;
    margin: 0 auto;
}
.smm-error-page__graphic {
    margin-bottom: 8px;
    line-height: 1;
}
.smm-error-page__graphic svg {
    display: block;
    width: min(260px, 100%);
    height: auto;
    margin-inline: auto;
}
.smm-error-page__title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 12px;
}
.smm-error-page__desc {
    font-size: 1rem;
    color: var(--text-2);
    max-width: 38ch;
    margin: 0 auto 28px;
}
.smm-error-page__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}
.smm-error-page__search { max-width: 380px; margin-inline: auto; }
.smm-error-page__search p { margin-bottom: 10px; color: var(--text-3); font-size: 0.875rem; }
.smm-error-page__search .search-form { display: flex; gap: 8px; }
.smm-error-page__search .search-field {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border-d);
    border-radius: var(--r-md);
    color: var(--text-1);
    padding: 10px 14px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--trans), box-shadow var(--trans);
}
.smm-error-page__search .search-field::placeholder { color: var(--text-3); }
.smm-error-page__search .search-field:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.smm-error-page__search .search-submit {
    padding: 10px 20px;
    background: var(--accent-grad);
    color: #fff;
    border: none;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: opacity var(--trans);
}
.smm-error-page__search .search-submit:hover { opacity: 0.88; }

/* ─ 30. RESPONSIVE ──────────────────────────────────────────────────────── */

/* Tablet: 768–1023px */
@media (max-width: 1023px) {

    .smm-home-panels {
        grid-template-columns: 1fr;
    }
    .smm-home-panels__left { position: static; }

    .smm-home-wrap .smm-container { padding-inline: 20px; }

    .smm-home-bottom {
        grid-template-columns: 1fr;
    }

    /* Reduce containers */
    .smm-container { padding-inline: 16px; }

    /* Show hamburger in nav */
    .smm-mobile-toggle { display: flex; }

    /* Hide desktop nav */
    .smm-plat-nav { display: none; }

    /* Compact user panel */
    .smm-user-panel__info { display: none; }
}

/* Mobile: < 768px */
@media (max-width: 767px) {

    :root {
        --header-top-h: 48px;
        --header-nav-h: 50px;
    }

    .smm-header-top {
        height: auto;
        padding-block: 6px;
    }

    .smm-header-top__inner {
        height: auto;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        row-gap: 0;
    }

    .smm-header-top__logo {
        min-width: 0;
    }

    .smm-header-top__actions {
        gap: 2px;
    }

    .smm-header-top__actions--mobile-compact #smm-header-top-theme-slot {
        display: none;
    }

    .smm-header-top__actions--mobile-compact {
        margin-left: auto;
    }

    .smm-home-wrap { padding-block: 20px 36px; }

    .smm-home-wrap .smm-container { padding-inline: 16px; }

    .smm-service-panel,
    .smm-info-panel,
    .smm-home-news,
    .smm-home-notices { padding: 18px 16px; border-radius: var(--r-lg); }

    .smm-service-toplist__grid { grid-template-columns: 1fr; }

    .smm-country-browser__head,
    .smm-country-browser__toolbar,
    .smm-country-card__head {
        grid-template-columns: 1fr;
    }

    .smm-country-browser__toggle,
    .smm-country-card__actions {
        justify-content: flex-start;
    }

    .smm-news-grid { grid-template-columns: 1fr; }

    .smm-footer__top   { grid-template-columns: 1fr; gap: 28px; }
    .smm-footer__bottom { flex-direction: column; text-align: center; }

    .smm-currency-selector__symbol { display: none; }

    .smm-country-card__head {
        grid-template-columns: minmax(0, 1fr);
    }

    .smm-country-card__actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .smm-entry-shell {
        padding-inline: 16px;
    }

    .smm-single-post,
    .smm-page-content,
    .smm-author-bio,
    .post-navigation,
    .smm-related,
    .comments-area {
        border-radius: 20px;
        padding: 20px 18px;
    }

    .smm-author-bio {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .smm-back-top {
        right: 14px;
        bottom: 14px;
    }

    .smm-support-trigger {
        right: 14px;
        bottom: 74px;
        width: 56px;
        height: 56px;
    }

    .smm-support-chat {
        right: 12px;
        bottom: 136px;
        width: calc(100vw - 24px);
        height: min(58vh, 420px);
        border-radius: 20px;
    }

    .smm-chat-msg__bubble {
        max-width: min(88%, 100%);
    }

    /* Touch targets */
    .smm-btn, .smm-icon-btn, .smm-nav-link--header, .smm-select-btn {
        min-height: 44px;
    }

    .smm-post-grid { grid-template-columns: 1fr; }
}

/* Wide screens */
@media (min-width: 1400px) {
    .smm-home-panels {
        grid-template-columns: 400px 1fr;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ─ 31. TOAST NOTIFICATION SYSTEM ────────────────────────────────────────── */
#smm-toast-region {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}
.smm-toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-d);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    font-size: 0.875rem;
    color: var(--text-1);
    pointer-events: auto;
    animation: smm-toast-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
    position: relative;
    overflow: hidden;
}
.smm-toast.smm-toast--dismissing {
    animation: smm-toast-out 0.25s ease-in forwards;
}
@keyframes smm-toast-in {
    from { opacity: 0; transform: translateY(16px) scale(0.94); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
@keyframes smm-toast-out {
    from { opacity: 1; transform: translateY(0)    scale(1);    max-height: 120px; margin-bottom: 0; }
    to   { opacity: 0; transform: translateY(8px)  scale(0.96); max-height: 0;     margin-bottom: -10px; padding-top: 0; padding-bottom: 0; }
}
/* Progress bar at bottom */
.smm-toast::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: var(--toast-progress, 100%);
    height: 2px;
    background: currentColor;
    opacity: 0.4;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    transition: width linear;
}
.smm-toast__icon {
    flex-shrink: 0;
    width: 20px; height: 20px;
    margin-top: 1px;
}
.smm-toast__body { flex: 1; }
.smm-toast__title { font-weight: 700; margin-bottom: 2px; line-height: 1.3; }
.smm-toast__msg   { font-size: 0.82rem; color: var(--text-2); line-height: 1.45; }
.smm-toast__close {
    flex-shrink: 0;
    background: none; border: none; cursor: pointer;
    color: var(--text-3); padding: 2px; border-radius: var(--r-sm);
    transition: color var(--trans), background var(--trans);
    margin-top: -2px;
}
.smm-toast__close:hover { color: var(--text-1); background: var(--bg-hover); }
.smm-toast__close svg { width: 14px; height: 14px; display: block; }

/* Type variants */
.smm-toast--success { border-left: 3px solid var(--success); color: var(--success); }
.smm-toast--success .smm-toast__icon { color: var(--success); }
.smm-toast--success .smm-toast__title { color: var(--text-1); }
.smm-toast--error   { border-left: 3px solid var(--danger);  color: var(--danger);  }
.smm-toast--error   .smm-toast__icon { color: var(--danger); }
.smm-toast--error   .smm-toast__title { color: var(--text-1); }
.smm-toast--warning { border-left: 3px solid var(--warning); color: var(--warning); }
.smm-toast--warning .smm-toast__icon { color: var(--warning); }
.smm-toast--warning .smm-toast__title { color: var(--text-1); }
.smm-toast--info    { border-left: 3px solid var(--info);    color: var(--info);    }
.smm-toast--info    .smm-toast__icon { color: var(--info); }
.smm-toast--info    .smm-toast__title { color: var(--text-1); }

/* ─ 32. STATUS BADGES ────────────────────────────────────────────────────── */
/* Base .smm-badge is in section 19; these extend it */
.smm-badge--active {
    background: color-mix(in srgb, var(--success) 14%, transparent);
    color: var(--success);
    gap: 5px;
}
.smm-badge--active::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: var(--r-full);
    background: var(--success);
    animation: smm-badge-pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes smm-badge-pulse {
    0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 50%, transparent); }
    50%      { box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 0%, transparent); }
}
.smm-badge--expired {
    background: color-mix(in srgb, var(--danger) 12%, transparent);
    color: var(--danger);
}
.smm-badge--success {
    background: color-mix(in srgb, var(--success) 14%, transparent);
    color: var(--success);
}
.smm-badge--pending {
    background: color-mix(in srgb, var(--warning) 14%, transparent);
    color: var(--warning);
}
.smm-badge--with-dot { gap: 5px; align-items: center; }
.smm-badge__dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: var(--r-full);
    background: currentColor;
    flex-shrink: 0;
}

/* ─ 33. TRUST BAR ────────────────────────────────────────────────────────── */
.smm-trust-bar {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-s);
    padding-block: 10px;
    margin-bottom: 24px;
    overflow: hidden;
}
.smm-trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.smm-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 20px;
    font-size: 0.82rem;
    color: var(--text-2);
    white-space: nowrap;
}
.smm-trust-item__icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-3); }
.smm-trust-item__icon--success { color: var(--success); }
.smm-trust-item__icon--accent  { color: var(--accent); }
.smm-trust-item__text { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.smm-trust-item__text strong { color: var(--text-1); font-weight: 700; }
.smm-trust-item__sub { font-size: 0.78rem; color: var(--text-3); }
.smm-trust-bar__sep { width: 1px; height: 18px; background: var(--border-d); flex-shrink: 0; }

/* Live pulse */
.smm-trust-item--live .smm-trust-item__icon { color: var(--success); }
.smm-trust-item__pulse {
    width: 8px; height: 8px;
    border-radius: var(--r-full);
    background: var(--success);
    flex-shrink: 0;
    animation: smm-badge-pulse 1.8s ease-in-out infinite;
}

/* Speed highlight */
.smm-trust-item--speed .smm-trust-item__icon { color: var(--warning); }
.smm-trust-item--speed strong { color: var(--warning); }

/* Panel cues (inside service panel) */
.smm-panel-cues {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-s);
}
.smm-panel-cue {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-3);
}
.smm-panel-cue__icon { width: 14px; height: 14px; flex-shrink: 0; }
.smm-panel-cue--fast .smm-panel-cue__icon  { color: var(--warning); }
.smm-panel-cue--rate .smm-panel-cue__icon  { color: var(--success); }
.smm-panel-cue--secure .smm-panel-cue__icon { color: var(--accent); }
.smm-panel-cue--fast strong, .smm-panel-cue--rate strong { color: var(--success); }

/* ─ 34. LOADING SPINNER OVERLAY ─────────────────────────────────────────── */
.smm-spinner--sm { width: 14px; height: 14px; border-width: 2px; }
.smm-spinner--md { width: 24px; height: 24px; border-width: 3px; }
.smm-spinner--lg { width: 40px; height: 40px; border-width: 4px; }
.smm-spinner--accent {
    border-color: color-mix(in srgb, var(--accent) 25%, transparent);
    border-top-color: var(--accent);
}
.smm-spinner--white {
    border-color: rgba(255,255,255,.25);
    border-top-color: #fff;
}

/* Full-element overlay spinner */
.smm-loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: color-mix(in srgb, var(--bg-surface) 85%, transparent);
    backdrop-filter: blur(3px);
    border-radius: inherit;
    z-index: 10;
    animation: smm-fade-in var(--trans);
}
.smm-loading-overlay__label { font-size: 0.8rem; color: var(--text-3); }

/* Page-level screen overlay */
.smm-page-loading {
    position: fixed;
    inset: 0;
    z-index: 990;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--bg-base) 92%, transparent);
    backdrop-filter: blur(6px);
    animation: smm-fade-in var(--trans);
}

@media (max-width: 767px) {
    .smm-trust-bar { margin-bottom: 18px; }
    .smm-trust-bar__inner {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }
    .smm-trust-bar__inner::-webkit-scrollbar { display: none; }
    .smm-trust-item { padding-inline: 14px; }
    #smm-toast-region { bottom: 80px; }
}
