/* Portal profile + shop - matches Social/Portal theme (black, Chirp, social blue). */

body.social-portal-page .portal-main-content {
    padding: 0 16px max(16px, env(safe-area-inset-bottom));
    overflow-x: clip;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 1101px) {
    body.social-portal-page .portal-main-content {
        padding: 0 20px 24px;
    }
}

/* Shared portal cards (verification + sections) */
.portal-intro-card,
.portal-card {
    background: var(--card-bg, #16181c);
    border: 1px solid var(--social-border, #2f3336);
    border-radius: 16px;
    padding: 20px;
    margin: 12px 0;
}

.portal-intro-card h1,
.portal-card h1,
.portal-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.portal-intro-card p,
.portal-card p {
    color: var(--text-muted, #71767b);
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.45;
}

.portal-header {
    padding: 16px 0 8px;
    border-bottom: 1px solid var(--social-border, #2f3336);
    margin-bottom: 16px;
}

.portal-header h1,
.portal-header h2 {
    margin: 0 0 4px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.portal-header p {
    color: var(--text-muted, #71767b);
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s ease;
    min-height: 44px;
    box-sizing: border-box;
}

.portal-btn-primary {
    background: var(--social-blue, #1d9bf0);
    color: #fff;
}

.portal-btn-primary:hover {
    background: var(--social-blue-hover, #1a8cd8);
}

.portal-btn-primary:disabled {
    background: #5b7280;
    cursor: not-allowed;
    opacity: 0.65;
}

.portal-home-head {
    padding: 24px 0 8px;
}

.portal-home-head h2 {
    margin: 0 0 4px;
    font-size: 22px;
}

.portal-home-head p {
    color: var(--text-muted, #71767b);
    margin: 0;
    font-size: 14px;
}

.portal-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0 20px;
}

.portal-home-links {
    width: 100%;
    max-width: 560px;
    padding: 8px 0 20px;
}

.portal-home-links-intro {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(186, 230, 253, 0.82);
}

.portal-home-links-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #7dd3fc;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.portal-home-links-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    line-height: 0;
    font-size: 0;
}

.portal-home-links-stack .portal-home-image-btn + .portal-home-image-btn {
    margin-top: -26%;
}

.portal-home-image-btn {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: filter 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
    .portal-home-image-btn {
        transition: transform 0.15s ease, filter 0.15s ease;
    }

    .portal-home-image-btn:hover {
        transform: scale(1.02);
        filter: brightness(1.08);
        z-index: 1;
        position: relative;
    }

    .portal-home-image-btn:active {
        transform: scale(0.99);
    }
}

.portal-home-image-btn:focus-visible {
    outline: 2px solid rgba(56, 189, 248, 0.85);
    outline-offset: 3px;
}

.portal-home-image-btn img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: top;
    user-select: none;
    -webkit-user-drag: none;
}

@media (max-width: 720px) {
    .portal-home-links {
        max-width: 100%;
        padding: 4px 0 16px;
    }

    .portal-home-links-intro {
        margin-bottom: 10px;
        font-size: 12px;
        line-height: 1.4;
    }

    .portal-home-links-label {
        font-size: 10px;
        letter-spacing: 0.18em;
    }

    .portal-home-links-stack .portal-home-image-btn + .portal-home-image-btn {
        margin-top: -28%;
    }
}

@media (max-width: 420px) {
    .portal-home-links-stack .portal-home-image-btn + .portal-home-image-btn {
        margin-top: -30%;
    }
}

.portal-irl-shop-btn {
    text-decoration: none;
    min-width: 160px;
}

.portal-verification-wrapper {
    width: min(100%, 440px);
    margin: 0 auto;
    padding: 0;
    flex: 0 1 auto;
}

.portal-verification-inner {
    display: grid;
    gap: 12px;
}

/* ── IGN link flow (centered, premium) ── */
body.social-portal-page.portal-link-mode .layout-grid.layout-portal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: calc(100dvh - var(--header-mobile) - var(--nav-mobile) - env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

body.social-portal-page.portal-link-mode .portal-main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: calc(100dvh - var(--header-mobile) - var(--nav-mobile) - env(safe-area-inset-bottom, 0px));
    padding: 20px 16px max(20px, env(safe-area-inset-bottom));
    box-sizing: border-box;
}

@media (min-width: 1101px) {
    body.social-portal-page.portal-link-mode .layout-grid.layout-portal {
        width: var(--content-width);
        max-width: calc(100% - var(--content-offset));
        margin-left: var(--content-offset);
        min-height: calc(100dvh - 12px);
    }

    body.social-portal-page.portal-link-mode .portal-main-content {
        min-height: calc(100dvh - 12px);
        padding: 32px 24px;
    }
}

.portal-link-card {
    width: 100%;
    background: var(--card-bg, #16181c);
    border: 1px solid var(--social-border, #2f3336);
    border-radius: 20px;
    padding: 28px 22px 24px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    text-align: center;
    box-sizing: border-box;
}

.portal-link-hero {
    margin-bottom: 20px;
}

.portal-link-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: rgba(29, 155, 240, 0.14);
    color: var(--social-blue, #1d9bf0);
}

.portal-link-title {
    margin: 0 0 8px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text, #e7e9ea);
}

.portal-link-subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-muted, #71767b);
}

.portal-link-steps {
    text-align: left;
    margin: 0 0 16px;
    padding-left: 1.25rem;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted, #71767b);
}

.portal-link-steps li + li {
    margin-top: 6px;
}

.portal-link-phrase {
    background: rgba(29, 155, 240, 0.1);
    border: 1px solid rgba(29, 155, 240, 0.32);
    border-radius: 14px;
    padding: 14px 16px;
    margin: 0 0 14px;
    text-align: center;
}

.portal-link-phrase--static {
    margin-bottom: 10px;
}

.portal-link-phrase-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--social-blue, #1d9bf0);
    margin-bottom: 6px;
}

.portal-link-phrase strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text, #e7e9ea);
    letter-spacing: -0.02em;
}

.portal-link-phrase-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted, #71767b);
}

.portal-link-time-note {
    margin: 0 0 18px;
    font-size: 13px;
    color: var(--text-muted, #71767b);
}

.portal-form-group--link {
    text-align: left;
    margin-bottom: 16px;
}

.portal-btn-block {
    width: 100%;
    box-sizing: border-box;
}

.portal-btn-ghost {
    background: transparent;
    color: var(--text-muted, #71767b);
    border: 1px solid var(--social-border, #2f3336);
    margin-top: 10px;
}

.portal-btn-ghost:hover {
    color: var(--text, #e7e9ea);
    background: rgba(255, 255, 255, 0.04);
}

.portal-link-expired-msg {
    margin-top: 14px;
    text-align: left;
}

.portal-link-waiting {
    text-align: center;
}

.portal-link-timer-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 4px auto 18px;
}

.portal-link-timer-svg {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.portal-link-timer-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 6;
}

.portal-link-timer-progress {
    fill: none;
    stroke: var(--social-blue, #1d9bf0);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.35s linear;
}

.portal-link-timer-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    color: var(--text, #e7e9ea);
}

.portal-link-waiting-label {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text, #e7e9ea);
}

.portal-link-server-hint {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(29, 155, 240, 0.28);
    background: rgba(29, 155, 240, 0.08);
    text-align: left;
}

.portal-link-server-hint-label {
    display: block;
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--social-blue, #1d9bf0);
}

.portal-link-server-hint-lead,
.portal-link-server-hint-note {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted, #71767b);
}

.portal-link-server-hint-note {
    margin-bottom: 0;
}

.portal-link-server-hint-lead strong,
.portal-link-server-hint-note strong,
.portal-link-server-hint-list strong {
    color: var(--text, #e7e9ea);
}

.portal-link-server-hint-list {
    margin: 0 0 8px;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted, #71767b);
}

.portal-link-server-hint-list li + li {
    margin-top: 4px;
}

.portal-link-meta {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--text-muted, #71767b);
}

.portal-link-meta strong {
    color: var(--text, #e7e9ea);
    margin-right: 6px;
}

.portal-link-listening {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 186, 124, 0.1);
    border: 1px solid rgba(0, 186, 124, 0.28);
    font-size: 13px;
    line-height: 1.4;
    color: #8ce8c4;
    text-align: left;
}

.portal-link-listening-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ba7c;
    animation: portal-link-pulse 1.4s ease-out infinite;
}

@keyframes portal-link-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 186, 124, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(0, 186, 124, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 186, 124, 0); }
}

.portal-link-actions {
    margin-top: 4px;
}

html[data-theme="light"] .portal-link-timer-track {
    stroke: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .portal-link-listening {
    color: #0d7a52;
    background: rgba(0, 186, 124, 0.08);
}

.portal-form-group {
    margin: 14px 0;
}

.portal-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.portal-form-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg, #202327);
    border: 1px solid var(--social-border, #2f3336);
    border-radius: 12px;
    color: var(--text, #e7e9ea);
    font-size: 16px;
    box-sizing: border-box;
    min-height: 48px;
}

.portal-form-group input:focus {
    outline: none;
    border-color: var(--social-blue, #1d9bf0);
}

.portal-error-msg,
.error-msg {
    color: #f4243e;
    font-size: 13px;
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(244, 36, 62, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(244, 36, 62, 0.25);
}

.portal-info-box,
.info-box {
    background: var(--bg, #000);
    border: 1px solid var(--social-border, #2f3336);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.6;
    margin: 12px 0;
    color: var(--text-muted, #71767b);
}

.portal-countdown,
.countdown {
    font-size: 13px;
    color: var(--text-muted, #71767b);
    margin-top: 10px;
    text-align: center;
}

/* ── Profile ── */
#portal-profile {
    color: var(--text, #e7e9ea);
    padding: 8px 0 24px;
}

.pp-loading {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted, #71767b);
    font-size: 15px;
}

.pp-shell {
    display: grid;
    gap: 14px;
    max-width: 920px;
    margin: 0 auto;
}

.pp-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(20px, 4vw, 30px);
    background:
        radial-gradient(circle at 12% 0%, rgba(29, 155, 240, 0.22), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025) 55%, rgba(29, 155, 240, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pp-hero-glow {
    position: absolute;
    right: -120px;
    top: -140px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(29, 155, 240, 0.22);
    filter: blur(54px);
    pointer-events: none;
}

.pp-hero-avatar {
    position: relative;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.pp-hero-avatar img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.pp-hero-copy {
    position: relative;
    min-width: 0;
    flex: 1;
}

.pp-hero-label {
    font-size: 12px;
    color: rgba(231, 233, 234, 0.62);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.pp-hero-ign {
    font-size: clamp(1.65rem, 4vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.96;
    word-break: break-word;
}

.pp-hero-sub {
    margin-top: 8px;
    color: var(--text-muted, #71767b);
    font-size: 14px;
}

.pp-hero-rank {
    position: relative;
    display: grid;
    gap: 4px;
    min-width: 120px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: right;
}

.pp-hero-rank span {
    color: var(--text-muted, #71767b);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pp-hero-rank strong {
    font-size: 14px;
    color: var(--text, #e7e9ea);
    overflow: hidden;
    text-overflow: ellipsis;
}

.pp-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
        var(--card-bg, #16181c);
    border: 1px solid var(--social-border, #2f3336);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.pp-card-title {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted, #71767b);
}

.pp-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.pp-card-head .pp-card-title {
    margin-bottom: 4px;
}

.pp-card-head p {
    margin: 0;
    color: var(--text-muted, #71767b);
    font-size: 14px;
    line-height: 1.35;
}

.pp-wallet-panel {
    padding: 0;
}

.pp-wallet-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pp-wallet-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background:
        radial-gradient(circle at 16% 0%, rgba(29, 155, 240, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 16px;
    min-width: 0;
    overflow: hidden;
}

.pp-wallet-item img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 18px rgba(29, 155, 240, 0.16));
}

.pp-wallet-label {
    font-size: 12px;
    color: var(--text-muted, #71767b);
    line-height: 1.2;
}

.pp-wallet-value {
    font-size: clamp(1.45rem, 4vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.pp-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.pp-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 15px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    min-height: 112px;
    -webkit-tap-highlight-color: transparent;
}

.pp-stat:hover,
.pp-stat:active {
    background: rgba(29, 155, 240, 0.08);
    border-color: rgba(29, 155, 240, 0.35);
    transform: translateY(-1px);
}

.pp-stat-static {
    cursor: default;
}

.pp-stat-static:hover,
.pp-stat-static:active {
    background: rgba(0, 0, 0, 0.34);
    border-color: rgba(255, 255, 255, 0.09);
    transform: none;
}

.pp-stat-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted, #71767b);
    min-width: 0;
}

.pp-stat-val {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 900;
    color: var(--text, #e7e9ea);
    flex-shrink: 0;
    letter-spacing: -0.05em;
}

.pp-stat-hint {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted, #71767b);
    text-align: center;
}

/* Leaderboard modal */
.pp-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
    box-sizing: border-box;
}

.pp-modal-backdrop.is-open {
    display: flex;
}

.pp-modal {
    width: min(420px, 100%);
    max-height: min(80dvh, calc(100dvh - 24px));
    overflow-y: auto;
    background: var(--card-bg, #16181c);
    border: 1px solid var(--social-border, #2f3336);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    box-shadow: var(--shadow-elevated, 0 8px 32px rgba(0, 0, 0, 0.65));
}

.pp-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted, #71767b);
    font-size: 20px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.pp-modal-close:hover {
    background: var(--social-hover, rgba(231, 233, 234, 0.04));
    color: var(--text, #e7e9ea);
}

.pp-modal-title {
    margin: 0 32px 16px 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pp-lb-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--social-border, #2f3336);
    font-size: 14px;
}

.pp-lb-row:last-child {
    border-bottom: none;
}

.pp-lb-rank {
    width: 28px;
    text-align: center;
    font-weight: 800;
    color: var(--text-muted, #71767b);
    font-size: 13px;
    flex-shrink: 0;
}

.pp-lb-rank.gold { color: #ffd400; }
.pp-lb-rank.silver { color: #aab8c2; }
.pp-lb-rank.bronze { color: #cd7f32; }

.pp-lb-name {
    flex: 1;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pp-lb-val {
    color: var(--social-blue, #1d9bf0);
    font-weight: 800;
    flex-shrink: 0;
}

.pp-storage-count {
    color: var(--text-muted, #71767b);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.pp-storage-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.pp-storage-tab {
    min-height: 40px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted, #71767b);
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.pp-storage-tab:hover {
    color: var(--text, #e7e9ea);
    background: rgba(255, 255, 255, 0.04);
}

.pp-storage-tab.active {
    color: #fff;
    background: var(--social-blue, #1d9bf0);
}

.pp-storage-list {
    display: grid;
    gap: 8px;
    max-height: min(520px, 62dvh);
    overflow: auto;
    padding-right: 2px;
    -webkit-overflow-scrolling: touch;
}

.pp-storage-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pp-storage-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(29, 155, 240, 0.11);
    border: 1px solid rgba(29, 155, 240, 0.18);
    font-size: 18px;
}

.pp-storage-main {
    min-width: 0;
}

.pp-storage-name {
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pp-storage-meta {
    margin-top: 3px;
    color: var(--text-muted, #71767b);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pp-storage-qty {
    color: var(--text, #e7e9ea);
    font-size: 13px;
    font-weight: 900;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.pp-storage-delete {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(244, 36, 62, 0.26);
    background: rgba(244, 36, 62, 0.10);
    color: #ff6b7a;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pp-storage-delete:hover {
    background: #f4243e;
    border-color: #f4243e;
    color: #fff;
}

.pp-storage-empty {
    display: grid;
    place-items: center;
    min-height: 110px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: var(--text-muted, #71767b);
    font-size: 14px;
    text-align: center;
    padding: 18px;
}

@media (max-width: 480px) {
    .pp-wallet-row {
        grid-template-columns: 1fr;
    }

    .pp-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .pp-hero {
        align-items: flex-start;
        flex-wrap: wrap;
        border-radius: 24px;
    }

    .pp-hero-avatar {
        width: 64px;
        height: 64px;
    }

    .pp-hero-rank {
        width: 100%;
        min-width: 0;
        text-align: left;
    }

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

    .pp-stat {
        min-height: 98px;
    }

    .pp-storage-item {
        grid-template-columns: 38px minmax(0, 1fr) auto;
    }

    .pp-storage-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .pp-storage-delete {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .pp-stats-grid {
        grid-template-columns: 1fr;
    }

    .pp-storage-tabs {
        border-radius: 18px;
        grid-template-columns: 1fr;
    }
}

/* Premium profile v3: tighter X/Discord-style game dashboard. */
body.social-portal-page .portal-header {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 18px 0 12px;
}

#portal-profile {
    padding-top: 4px;
}

.pp-shell {
    max-width: 960px;
    gap: 10px;
}

.pp-hero {
    min-height: 148px;
    align-items: flex-end;
    padding: 18px;
    gap: 14px;
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.74) 46%, rgba(10, 38, 58, 0.82) 100%),
        radial-gradient(circle at 86% 8%, rgba(29, 155, 240, 0.26), transparent 34%);
    border: 1px solid var(--social-border, #2f3336);
    box-shadow: none;
}

.pp-hero::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #1d9bf0, rgba(29, 155, 240, 0.12));
}

.pp-hero-glow {
    display: none;
}

.pp-hero-avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(15, 20, 25, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.pp-hero-avatar img {
    width: 64%;
    height: 64%;
    filter: none;
}

.pp-hero-label,
.pp-hero-rank span {
    color: var(--text-muted, #71767b);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.pp-hero-ign {
    font-size: clamp(1.75rem, 3.4vw, 2.45rem);
    line-height: 1;
    letter-spacing: -0.055em;
    max-width: 520px;
}

.pp-hero-sub {
    margin-top: 7px;
    color: #aab8c2;
    font-size: 14px;
}

.pp-hero-rank {
    margin-left: auto;
    min-width: 116px;
    padding: 10px 13px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.42);
    border-color: var(--social-border, #2f3336);
    text-align: left;
}

.pp-hero-rank strong {
    font-size: 15px;
    font-weight: 800;
}

.pp-wallet-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.pp-wallet-item {
    min-height: 74px;
    border-radius: 16px;
    padding: 13px 14px;
    background: #0f1419;
    border-color: var(--social-border, #2f3336);
}

.pp-wallet-item img {
    width: 42px;
    height: 42px;
    filter: none;
}

.pp-wallet-label {
    font-size: 13px;
}

.pp-wallet-value {
    margin-top: 1px;
    font-size: 1.65rem;
}

.pp-card {
    border-radius: 18px;
    padding: 16px;
    background: #16181c;
    border-color: var(--social-border, #2f3336);
    box-shadow: none;
}

.pp-card-title {
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.pp-stats-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.pp-stat {
    min-height: 92px;
    border-radius: 14px;
    padding: 12px;
    background: #0f1419;
    border-color: var(--social-border, #2f3336);
    gap: 12px;
}

.pp-stat:hover,
.pp-stat:active {
    background: #101b24;
    border-color: rgba(29, 155, 240, 0.48);
    transform: none;
}

.pp-stat-static:hover,
.pp-stat-static:active {
    background: #0f1419;
    border-color: var(--social-border, #2f3336);
}

.pp-stat-left {
    font-size: 12px;
    white-space: nowrap;
}

.pp-stat-val {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.pp-stat-hint {
    margin-top: 12px;
    text-align: left;
}

.pp-card-head {
    margin-bottom: 12px;
}

.pp-card-head p {
    font-size: 13px;
}

.pp-storage-tabs {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    padding: 4px;
    border-radius: 12px;
    background: #0f1419;
    border-color: var(--social-border, #2f3336);
}

.pp-storage-tab {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 9px;
    font-size: 12px;
}

.pp-storage-tab.active {
    background: #e7e9ea;
    color: #000;
}

.pp-storage-list {
    max-height: 420px;
}

.pp-storage-item {
    grid-template-columns: 38px minmax(0, 1fr) auto auto;
    border-radius: 14px;
    background: #0f1419;
    border-color: var(--social-border, #2f3336);
}

.pp-storage-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(29, 155, 240, 0.10);
}

.pp-storage-delete {
    min-height: 32px;
    border-radius: 9px;
    background: transparent;
}

@media (max-width: 1180px) {
    .pp-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.social-portal-page .portal-header {
        padding-left: 0;
        padding-right: 0;
    }

    .pp-hero {
        align-items: center;
        min-height: 0;
        border-radius: 16px;
    }

    .pp-hero-avatar {
        width: 58px;
        height: 58px;
        border-radius: 15px;
    }

    .pp-hero-ign {
        font-size: clamp(1.35rem, 8vw, 1.85rem);
        letter-spacing: -0.045em;
    }

    .pp-hero-rank {
        display: none;
    }

    .pp-wallet-row,
    .pp-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pp-stat {
        min-height: 84px;
    }

    .pp-storage-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }
}

@media (max-width: 430px) {
    .pp-wallet-row,
    .pp-stats-grid {
        grid-template-columns: 1fr;
    }

    .pp-storage-tabs {
        grid-template-columns: 1fr;
    }
}

/* Premium profile v4: pure X-style, no mascot/server/marketing copy. */
body.social-portal-page .portal-header {
    max-width: 760px;
    padding: 14px 0 12px;
    margin: 0 auto;
    border-bottom: 1px solid var(--social-border, #2f3336);
}

body.social-portal-page .portal-header h1 {
    font-size: 22px;
    letter-spacing: -0.03em;
}

#portal-profile {
    padding-top: 12px;
}

.pp-shell {
    max-width: 760px;
    gap: 12px;
}

.pp-hero {
    min-height: auto;
    display: block;
    padding: 18px 0 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.pp-hero::before,
.pp-hero-glow,
.pp-hero-avatar,
.pp-hero-label,
.pp-hero-sub,
.pp-hero-rank {
    display: none !important;
}

.pp-hero-copy {
    min-width: 0;
}

.pp-hero-ign {
    max-width: 100%;
    font-size: clamp(2rem, 7vw, 3.3rem);
    line-height: 0.95;
    letter-spacing: -0.075em;
    font-weight: 950;
}

.pp-wallet-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pp-wallet-item {
    min-height: 74px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #000;
    border: 1px solid var(--social-border, #2f3336);
}

.pp-wallet-item img {
    width: 34px;
    height: 34px;
}

.pp-wallet-label {
    font-size: 13px;
    color: var(--text-muted, #71767b);
}

.pp-wallet-value {
    font-size: 28px;
    letter-spacing: -0.055em;
}

.pp-card {
    padding: 18px;
    border-radius: 16px;
    background: #000;
    border: 1px solid var(--social-border, #2f3336);
}

.pp-card-title {
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--text-muted, #71767b);
}

.pp-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
}

.pp-stat {
    min-height: 82px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #000;
    border: 1px solid var(--social-border, #2f3336);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.pp-stat:hover,
.pp-stat:active {
    background: var(--social-hover, rgba(231, 233, 234, 0.04));
    border-color: var(--social-border, #2f3336);
    transform: none;
}

.pp-stat-left {
    font-size: 15px;
    color: var(--text-muted, #71767b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pp-stat-val {
    font-size: clamp(1.55rem, 5vw, 2.2rem);
    line-height: 1;
    letter-spacing: -0.06em;
    text-align: right;
}

.pp-stat-hint {
    display: none;
}

.pp-card-head {
    margin-bottom: 12px;
}

.pp-card-head p {
    display: none;
}

.pp-storage-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 999px;
    padding: 4px;
    background: #000;
    border: 1px solid var(--social-border, #2f3336);
}

.pp-storage-tab {
    min-height: 38px;
    border-radius: 999px;
}

.pp-storage-tab.active {
    background: #e7e9ea;
    color: #000;
}

.pp-storage-item {
    background: #000;
    border-color: var(--social-border, #2f3336);
}

@media (max-width: 560px) {
    .pp-wallet-row,
    .pp-stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Shop ── */
#shop-app {
    padding: 8px 0 24px;
    color: var(--text, #e7e9ea);
}

.shop-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--social-border, #2f3336);
}

.shop-header-text {
    flex: 1 1 180px;
    min-width: 0;
}

.shop-header h2 {
    margin: 0 0 4px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.shop-header-desc {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted, #71767b);
    line-height: 1.4;
}

.shop-lock-banner {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 149, 0, 0.1);
    border: 1px solid rgba(255, 149, 0, 0.28);
    color: #ff9500;
    font-size: 13px;
    font-weight: 600;
}

.shop-wallet {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.shop-wallet-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg, #16181c);
    border: 1px solid var(--social-border, #2f3336);
    border-radius: 999px;
    padding: 8px 14px 8px 10px;
    font-size: 14px;
    font-weight: 700;
    min-height: 44px;
    box-sizing: border-box;
}

.shop-wallet-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.shop-wallet-item .label {
    color: var(--text-muted, #71767b);
    font-weight: 500;
    font-size: 12px;
    margin-right: 2px;
}

.shop-layout {
    display: flex;
    gap: 16px;
    margin-top: 4px;
    align-items: flex-start;
}

.shop-categories {
    width: 200px;
    flex-shrink: 0;
}

.shop-categories-inner {
    position: sticky;
    top: 12px;
}

.shop-cat-label {
    font-size: 11px;
    color: var(--text-muted, #71767b);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    padding-left: 12px;
    font-weight: 700;
}

.shop-cat-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text, #e7e9ea);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    margin-bottom: 2px;
    min-height: 44px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.shop-cat-btn:hover {
    background: var(--social-hover, rgba(231, 233, 234, 0.04));
}

.shop-cat-btn.active {
    background: rgba(29, 155, 240, 0.12);
    color: var(--social-blue, #1d9bf0);
    font-weight: 700;
}

.shop-cat-btn.sub {
    padding-left: 24px;
    font-size: 14px;
    min-height: 40px;
}

.shop-main {
    flex: 1;
    min-width: 0;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 12px;
}

.shop-item {
    background: var(--card-bg, #16181c);
    border: 1px solid var(--social-border, #2f3336);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s ease, background 0.15s ease;
    min-width: 0;
}

.shop-item:hover {
    border-color: rgba(29, 155, 240, 0.35);
    background: var(--social-hover, rgba(231, 233, 234, 0.02));
}

.shop-item-img {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg, #000);
    border: 1px solid var(--social-border, #2f3336);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.shop-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    box-sizing: border-box;
}

.shop-item-img .no-img {
    color: var(--text-muted, #71767b);
    font-size: 28px;
    opacity: 0.5;
}

.shop-item-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-item-type {
    font-size: 11px;
    color: var(--text-muted, #71767b);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    font-weight: 600;
}

.shop-item-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-item-price {
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.shop-item-price .curr-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.shop-buy-btn {
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    background: var(--social-blue, #1d9bf0);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease;
    min-height: 36px;
    flex-shrink: 0;
}

.shop-buy-btn:hover {
    background: var(--social-blue-hover, #1a8cd8);
}

.shop-buy-btn:disabled {
    background: var(--input-bg, #202327);
    color: var(--text-muted, #71767b);
    cursor: not-allowed;
}

.shop-buy-btn.cooldown {
    background: rgba(255, 149, 0, 0.15);
    color: #ff9500;
    border: 1px solid rgba(255, 149, 0, 0.25);
}

.shop-locked {
    opacity: 0.55;
    pointer-events: none;
}

.shop-locked-badge {
    font-size: 11px;
    color: #ff9500;
    font-weight: 600;
}

.shop-empty,
.shop-loading,
.shop-error {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted, #71767b);
    font-size: 15px;
}

.shop-empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
    opacity: 0.7;
}

.shop-error {
    color: #f4243e;
}

.shop-loading .spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid var(--social-border, #2f3336);
    border-top-color: var(--social-blue, #1d9bf0);
    border-radius: 50%;
    animation: portal-shop-spin 0.8s linear infinite;
}

@keyframes portal-shop-spin {
    to { transform: rotate(360deg); }
}

.shop-toast {
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0));
    left: 50%;
    transform: translateX(-50%);
    background: var(--social-blue, #1d9bf0);
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    max-width: min(92vw, 360px);
    text-align: center;
    box-shadow: var(--shadow-elevated, 0 8px 32px rgba(0, 0, 0, 0.65));
}

.shop-toast.error {
    background: #f4243e;
}

.shop-toast.show {
    opacity: 1;
}

@media (max-width: 767px) {
    .shop-header {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-wallet {
        justify-content: stretch;
        margin-left: 0;
    }

    .shop-wallet-item {
        flex: 1;
        justify-content: center;
    }

    .shop-layout {
        flex-direction: column;
        gap: 12px;
    }

    .shop-categories {
        width: 100%;
    }

    .shop-categories-inner {
        position: static;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
        margin: 0 -4px;
        padding-left: 4px;
        padding-right: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .shop-categories-inner::-webkit-scrollbar {
        display: none;
    }

    .shop-cat-label {
        display: none;
    }

    .shop-cat-btn,
    .shop-cat-btn.sub {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        padding: 10px 16px;
        margin-bottom: 0;
        min-height: 40px;
    }

    .shop-cat-btn.sub {
        padding-left: 16px;
    }

    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .shop-item {
        padding: 10px;
    }

    .shop-buy-btn {
        width: 100%;
        justify-content: center;
    }

    .shop-item-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-item-bottom:has(.shop-item-actions-locked) {
        gap: 8px;
    }

    .shop-item-actions-locked {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        width: 100%;
    }

    .shop-item-actions-locked .shop-get-role-btn,
    .shop-item-actions-locked .get-role-btn {
        order: -1;
        width: 100%;
        min-height: 42px;
        border-radius: 12px;
        font-size: 11px;
    }

    .shop-item-actions-locked .shop-btn-locked {
        width: 100%;
        min-height: 40px;
        border-radius: 12px;
        font-size: 11px;
    }
}

html.ted-native-app .shop-item-actions-locked .shop-get-role-btn,
html.ted-native-app .shop-item-actions-locked .get-role-btn {
    min-height: 46px;
    font-size: 12px;
}

@media (min-width: 900px) {
    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    }
}

html[data-theme="light"] #portal-profile,
html[data-theme="light"] #shop-app {
    color: var(--text);
}

html[data-theme="light"] .pp-hero,
html[data-theme="light"] .pp-card,
html[data-theme="light"] .shop-item,
html[data-theme="light"] .shop-wallet-item {
    background: var(--card-bg);
    border-color: var(--social-border);
}

html[data-theme="light"] .pp-wallet-item,
html[data-theme="light"] .pp-stat,
html[data-theme="light"] .shop-item-img {
    background: var(--bg-elevated);
}



/* 20260811-modfix2 shop toast always visible on mobile (above bottom nav) */
.shop-toast {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  top: auto !important;
  transform: translateX(-50%) translateY(16px) !important;
  z-index: 2147483000 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  max-width: min(92vw, 400px) !important;
  padding: 14px 20px !important;
  border-radius: 999px !important;
  background: #1d9bf0 !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-align: center !important;
  box-shadow: 0 12px 40px rgba(0,0,0,.55) !important;
  transition: opacity .2s ease, transform .2s ease !important;
  border: none !important;
}
.shop-toast.error {
  background: #f4212e !important;
  color: #fff !important;
}
.shop-toast.show {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
}
