/* =========================================================
   KIOSHI KAZEMARU — MAIN STYLE
   ========================================================= */

:root {
    --bg: #07070b;
    --bg-soft: #0d0d14;
    --card: rgba(255, 255, 255, 0.055);

    --text: #f5f5f7;
    --muted: #92929d;

    --accent: #8b5cf6;
    --accent-2: #c084fc;
    --cyan: #22d3ee;

    --border: rgba(255, 255, 255, 0.1);

    --radius: 24px;

    --max-width: 1240px;

    --transition:
        0.3s cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(139, 92, 246, 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 30%,
            rgba(34, 211, 238, 0.07),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.5;

    overflow-x: hidden;
}

body,
button,
a {
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

    padding: 18px 24px;

    pointer-events: none;
}

.header-inner {
    width: min(
        100%,
        var(--max-width)
    );

    margin: auto;

    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;

    border: 1px solid var(--border);

    border-radius: 20px;

    background:
        rgba(10, 10, 15, 0.72);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 20px 60px rgba(0,0,0,.35);

    pointer-events: auto;
}

.logo {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .14em;

    color: #fff;

    transition:
        color var(--transition),
        transform var(--transition);
}

.logo:hover {
    color: var(--accent-2);
    transform: translateY(-1px);
}


/* =========================================================
   DESKTOP NAV
   ========================================================= */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.desktop-nav a {
    position: relative;

    padding: 10px 12px;

    border-radius: 12px;

    color: #9d9da8;

    font-size: 15px;
    font-weight: 700;

    transition:
        color var(--transition),
        background var(--transition);
}

.desktop-nav a:hover {
    color: #fff;

    background:
        rgba(255,255,255,.06);
}

.desktop-nav a.active {
    color: #fff;

    background:
        rgba(139,92,246,.14);
}

.desktop-nav a.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 4px;
    height: 4px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: var(--accent-2);

    box-shadow:
        0 0 12px var(--accent);
}


/* =========================================================
   BURGER
   ========================================================= */

.menu-button {
    display: none;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background:
        rgba(255,255,255,.04);

    color: white;

    cursor: pointer;

    transition:
        background var(--transition),
        transform var(--transition);
}

.menu-button:hover {
    background:
        rgba(139,92,246,.16);

    transform: scale(1.04);
}

.menu-button span {
    width: 18px;
    height: 2px;

    border-radius: 5px;

    background: white;

    transition:
        transform var(--transition),
        opacity var(--transition);
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.menu-overlay {
    position: fixed;
    inset: 0;

    z-index: 150;

    background:
        rgba(0,0,0,.55);

    backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.mobile-menu {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    z-index: 200;

    width: min(
        390px,
        88vw
    );

    padding: 28px;

    background:
        linear-gradient(
            180deg,
            #11111a,
            #09090e
        );

    border-left:
        1px solid var(--border);

    box-shadow:
        -30px 0 100px rgba(0,0,0,.5);

    transform:
        translateX(105%);

    transition:
        transform .45s cubic-bezier(.16,1,.3,1);
}

.mobile-menu-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 50px;
}

.mobile-logo {
    font-weight: 900;
    letter-spacing: .12em;
}

.menu-close {
    width: 44px;
    height: 44px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background:
        rgba(255,255,255,.05);

    color: white;

    font-size: 28px;

    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.mobile-nav a {
    padding: 16px;

    border-radius: 16px;

    font-size: 18px;
    font-weight: 700;

    color: #aaaab5;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.mobile-nav a:hover {
    color: white;

    background:
        rgba(139,92,246,.13);

    transform:
        translateX(5px);
}

.mobile-socials {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin-top: 40px;
    padding-top: 28px;

    border-top:
        1px solid var(--border);
}

.mobile-socials a {
    display: flex;
    justify-content: space-between;

    padding: 12px 0;

    color: var(--muted);

    font-size: 15px;
    font-weight: 700;
}

.mobile-socials a:hover {
    color: white;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 900px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        150px 24px
        120px;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 800px;
    height: 800px;

    top: -350px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(139,92,246,.22),
            transparent 65%
        );

    filter: blur(20px);

    pointer-events: none;
}

.hero-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    right: -150px;
    bottom: -150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(34,211,238,.09),
            transparent 70%
        );

    filter: blur(20px);
}

.hero-content {
    position: relative;

    z-index: 2;

    width: min(
        100%,
        850px
    );

    text-align: center;
}


/* =========================================================
   AVATAR
   ========================================================= */

.hero-avatar {
    width: 150px;
    height: 150px;

    margin:
        0 auto 30px;

    padding: 5px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--cyan)
        );

    box-shadow:
        0 0 80px rgba(139,92,246,.28);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #1b1728,
            #0d0d13
        );

    font-size: 54px;
    font-weight: 900;

    color: white;
}


/* =========================================================
   HERO TEXT
   ========================================================= */

.hero-badge {
    display: inline-flex;

    padding: 8px 14px;

    margin-bottom: 24px;

    border:
        1px solid
        rgba(192,132,252,.25);

    border-radius: 999px;

    background:
        rgba(139,92,246,.08);

    color:
        var(--accent-2);

    font-size: 15px;
    font-weight: 900;

    letter-spacing: .18em;
}

.hero h1 {
    font-size:
        clamp(
            58px,
            11vw,
            150px
        );

    line-height: .85;

    letter-spacing:
        -.07em;

    font-weight: 950;

    text-transform: uppercase;

    margin-bottom: 34px;
}

.hero h1 span {
    display: block;

    color: transparent;

    background:
        linear-gradient(
            100deg,
            #fff,
            var(--accent-2),
            var(--cyan)
        );

    background-clip: text;
    -webkit-background-clip: text;
}

.hero-description {
    max-width: 560px;

    margin:
        0 auto 34px;

    color: var(--muted);

    font-size:
        clamp(16px, 2vw, 20px);

    line-height: 1.7;
}


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

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding:
        0 24px;

    border-radius: 15px;

    font-size: 15px;
    font-weight: 800;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.button:hover {
    transform:
        translateY(-3px);
}

.button.primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #a855f7
        );

    box-shadow:
        0 12px 40px
        rgba(139,92,246,.25);
}

.button.primary:hover {
    box-shadow:
        0 18px 55px
        rgba(139,92,246,.4);
}

.button.secondary {
    color: white;

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,.05);
}

.button.secondary:hover {
    background:
        rgba(255,255,255,.09);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    width: min(
        100%,
        var(--max-width)
    );

    margin:
        0 auto;

    padding:
        120px 24px;
}

.section-heading {
    margin-bottom: 42px;
}

.section-heading span {
    display: block;

    margin-bottom: 10px;

    color:
        var(--accent-2);

    font-size: 15px;
    font-weight: 900;

    letter-spacing: .18em;
}

.section-heading h2 {
    font-size:
        clamp(34px, 5vw, 62px);

    line-height: 1;

    letter-spacing: -.05em;
}


/* =========================================================
   SOCIALS
   ========================================================= */

.social-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}

.social-card {
    display: flex;

    align-items: center;

    gap: 16px;

    padding: 20px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.02)
        );

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.social-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(139,92,246,.4);

    background:
        rgba(139,92,246,.08);
}

.social-icon {
    width: 52px;
    height: 52px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        rgba(139,92,246,.14);

    color:
        var(--accent-2);

    font-size: 20px;
    font-weight: 900;
}

.social-card strong {
    display: block;

    margin-bottom: 3px;

    font-size: 16px;
}

.social-card small {
    color: var(--muted);

    font-size: 15px;
}

.social-arrow {
    margin-left: auto;

    color: #777784;

    font-size: 20px;

    transition:
        color var(--transition),
        transform var(--transition);
}

.social-card:hover .social-arrow {
    color: white;

    transform:
        translate(3px,-3px);
}


/* =========================================================
   FEATURES
   ========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;
}

.feature-card {
    position: relative;

    min-height: 270px;

    padding: 28px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

    transition:
        transform var(--transition),
        border-color var(--transition);
}

.feature-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(139,92,246,.18),
            transparent 70%
        );
}

.feature-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(139,92,246,.35);
}

.feature-card > span {
    color:
        var(--accent-2);

    font-size: 15px;
    font-weight: 900;

    letter-spacing: .12em;
}

.feature-card h3 {
    margin:
        55px 0 12px;

    font-size: 25px;
}

.feature-card p {
    max-width: 320px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    border-top:
        1px solid var(--border);

    background:
        rgba(255,255,255,.015);
}

.footer-inner {
    width: min(
        100%,
        var(--max-width)
    );

    margin: auto;

    padding:
        40px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    flex-wrap: wrap;
}

.footer-inner > strong {
    letter-spacing: .1em;
}

.footer-links {
    display: flex;

    gap: 18px;

    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);

    font-size: 15px;
    font-weight: 700;

    transition:
        color var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-inner small {
    color: #60606b;

    font-size: 15px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */







/* =========================================================
   REDUCED MOTION
   ========================================================= */

/* =========================================================
   MOBILE MENU — JAVASCRIPT STATES
   ========================================================= */

.mobile-menu.is-open {
    transform: translateX(0);
}

.menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

body:has(.mobile-menu.is-open) {
    overflow: hidden;
}/* =========================================================
   PROFILE PAGE
   ========================================================= */

.profile-page {
    min-height: calc(100vh - 80px);
    padding: 110px 24px 100px;
    position: relative;
}

.profile-section {
    width: min(1100px, 100%);
    margin: 0 auto;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.profile-header {
    margin-bottom: 45px;
}

.profile-label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #8d4cff;
}

.profile-header h1 {
    margin: 0 0 12px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -3px;
    background: linear-gradient(
        90deg,
        #ffffff,
        #8d4cff,
        #19b5ff
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.profile-header p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,0.55);
    font-size: 16px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   MAIN PROFILE CARD
   --------------------------------------------------------- */

.profile-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 35px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(141,76,255,0.20),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,0.07),
            rgba(255,255,255,0.025)
        );
    box-shadow:
        0 30px 90px rgba(0,0,0,0.35);
    overflow: hidden;
}

.profile-card::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -150px;
    top: -150px;
    border-radius: 50%;
    background: rgba(25,181,255,0.08);
    filter: blur(30px);
    pointer-events: none;
}


/* ---------------------------------------------------------
   AVATAR
   --------------------------------------------------------- */

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 130px;
    height: 130px;
}

.profile-avatar,
.profile-avatar-fallback {
    width: 130px;
    height: 130px;
    border-radius: 50%;
}

.profile-avatar {
    display: none;
    object-fit: cover;
    border: 3px solid rgba(141,76,255,0.8);
    box-shadow:
        0 0 0 8px rgba(141,76,255,0.08),
        0 0 45px rgba(141,76,255,0.30);
}

.profile-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    font-weight: 900;
    color: white;
    background:
        linear-gradient(
            135deg,
            #8d4cff,
            #19b5ff
        );
    box-shadow:
        0 0 0 8px rgba(141,76,255,0.08),
        0 0 45px rgba(141,76,255,0.25);
}


/* ---------------------------------------------------------
   USER INFO
   --------------------------------------------------------- */

.profile-main-info {
    position: relative;
    z-index: 1;
}

.profile-online {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.55);
    font-size: 15px;
}

.profile-online span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #35d07f;
    box-shadow: 0 0 12px rgba(53,208,127,0.8);
}

.profile-main-info h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.profile-username {
    margin-top: 9px;
    color: rgba(255,255,255,0.48);
    font-size: 15px;
}

.profile-role {
    display: inline-flex;
    margin-top: 18px;
    padding: 6px 12px;
    border: 1px solid rgba(141,76,255,0.35);
    border-radius: 999px;
    background: rgba(141,76,255,0.10);
    color: #ad7cff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


/* ---------------------------------------------------------
   DATA GRID
   --------------------------------------------------------- */

.profile-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    background: rgba(255,255,255,0.025);
}

.profile-field {
    position: relative;
}

.profile-field-full {
    grid-column: 1 / -1;
}

.profile-field label {
    display: block;
    margin-bottom: 9px;
    color: rgba(255,255,255,0.62);
    font-size: 15px;
    font-weight: 700;
}

.profile-field input,
.profile-field textarea,
.profile-readonly {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    padding: 14px 16px;
    outline: none;
    background: rgba(0,0,0,0.20);
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.profile-field input {
    height: 50px;
}

.profile-field textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.profile-readonly {
    min-height: 20px;
}

.profile-field input:focus,
.profile-field textarea:focus {
    border-color: rgba(141,76,255,0.75);
    background: rgba(141,76,255,0.06);
    box-shadow:
        0 0 0 3px rgba(141,76,255,0.08);
}

.profile-field input:disabled,
.profile-field textarea:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.profile-counter {
    position: absolute;
    right: 12px;
    bottom: 10px;
    color: rgba(255,255,255,0.35);
    font-size: 15px;
}


/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.profile-actions .button {
    cursor: pointer;
}

.danger-button {
    border: 1px solid rgba(255,70,100,0.25) !important;
    background: rgba(255,70,100,0.07) !important;
    color: #ff7188 !important;
}

.danger-button:hover {
    border-color: rgba(255,70,100,0.55) !important;
    background: rgba(255,70,100,0.14) !important;
}


/* ---------------------------------------------------------
   MESSAGE
   --------------------------------------------------------- */

.profile-message {
    min-height: 24px;
    margin-top: 18px;
    color: #8d4cff;
    font-size: 15px;
    font-weight: 600;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

/* =========================================================
   ACCOUNT WIDGET
   ========================================================= */

.account-widget {
    position: relative;
    margin-left: 18px;
    z-index: 1000;
}


/* ---------------------------------------------------------
   ACCOUNT BUTTON
   --------------------------------------------------------- */

.account-button {
    display: flex;
    align-items: center;
    gap: 9px;

    height: 44px;
    padding: 5px 12px 5px 6px;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;

    background: rgba(255,255,255,0.04);
    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.account-button:hover {
    background: rgba(141,76,255,0.12);
    border-color: rgba(141,76,255,0.35);
}

.account-widget.is-open .account-button {
    /* Открытие меню не меняет внешний вид кнопки аккаунта.
       На всех страницах она выглядит одинаково, как в закрытом состоянии. */
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.10);
}


/* ---------------------------------------------------------
   AVATAR
   --------------------------------------------------------- */

.account-avatar,
.account-avatar-fallback {
    width: 32px;
    height: 32px;

    flex-shrink: 0;

    border-radius: 50%;
}

.account-avatar {
    display: block;

    object-fit: cover;

    border: 2px solid rgba(141,76,255,0.65);
}

.account-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #8d4cff,
        #19b5ff
    );

    color: #ffffff;

    font-size: 15px;
    font-weight: 900;
}


/* ---------------------------------------------------------
   NAME
   --------------------------------------------------------- */

.account-name {
    max-width: 120px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ---------------------------------------------------------
   ARROW
   --------------------------------------------------------- */

.account-arrow {
    color: rgba(255,255,255,0.55);
    font-size: 15px;

    transition:
        transform 0.2s ease;
}

.account-widget.is-open .account-arrow {
    transform: rotate(180deg);
}


/* ---------------------------------------------------------
   DROPDOWN
   --------------------------------------------------------- */

.account-dropdown {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    width: 230px;

    padding: 10px;

    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(24,20,35,0.98),
            rgba(10,12,18,0.98)
        );

    box-shadow:
        0 25px 70px rgba(0,0,0,0.55);

    backdrop-filter: blur(20px);

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-8px)
        scale(0.97);

    transform-origin: top right;

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;
}

.account-widget.is-open .account-dropdown {
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


/* ---------------------------------------------------------
   USER INFO
   --------------------------------------------------------- */

.dropdown-user {
    display: flex;
    flex-direction: column;

    padding: 12px;

    margin-bottom: 5px;

    border-radius: 12px;

    background: rgba(255,255,255,0.035);
}

.dropdown-user strong {
    color: #ffffff;

    font-size: 15px;
    font-weight: 800;
}

.dropdown-user span {
    margin-top: 4px;

    color: rgba(255,255,255,0.45);

    font-size: 15px;
}


/* ---------------------------------------------------------
   DROPDOWN LINKS
   --------------------------------------------------------- */

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    min-height: 42px;

    box-sizing: border-box;

    padding: 9px 11px;

    border: 0;
    border-radius: 11px;

    background: transparent;

    color: rgba(255,255,255,0.80);

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.dropdown-link:hover {
    background: rgba(141,76,255,0.12);
    color: #ffffff;
}


/* ---------------------------------------------------------
   SEPARATOR
   --------------------------------------------------------- */

.dropdown-separator {
    height: 1px;

    margin: 7px 5px;

    background: rgba(255,255,255,0.07);
}


/* ---------------------------------------------------------
   LOGOUT
   --------------------------------------------------------- */

.logout-link {
    color: #ff7188;
}

.logout-link:hover {
    background: rgba(255,70,100,0.10);
    color: #ff8da0;
}


/* ---------------------------------------------------------
   LOGIN BUTTON
   --------------------------------------------------------- */

.header-login-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 18px;

    margin-left: 18px;

    border: 1px solid rgba(141,76,255,0.30);
    border-radius: 999px;

    background: rgba(141,76,255,0.12);

    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.header-login-button:hover {
    background: rgba(141,76,255,0.22);
    border-color: rgba(141,76,255,0.55);
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

/* =========================================================
   KIOSHI — COLLECTION
   ========================================================= */

.collection-hero {
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 45px;
}

.collection-hero-inner {
    max-width: 900px;
}

.collection-label,
.collection-heading > div > span {
    display: block;
    margin-bottom: 10px;

    color: rgba(255,255,255,0.45);

    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.collection-title {
    margin: 0;

    font-size: clamp(42px, 7vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.collection-description {
    max-width: 620px;
    margin: 24px 0 0;

    color: rgba(255,255,255,0.58);

    font-size: 17px;
    line-height: 1.7;
}

.collection-actions {
    margin-top: 28px;
}


/* =========================================================
   OVERVIEW
   ========================================================= */

.collection-overview {
    padding-top: 10px;
    padding-bottom: 55px;
}

.collection-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.collection-overview-card {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 90px;
    padding: 18px;

    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;

    background: rgba(255,255,255,0.035);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.collection-overview-card:hover {
    transform: translateY(-3px);

    border-color: rgba(141,76,255,0.28);

    background: rgba(141,76,255,0.06);
}

.collection-overview-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    flex-shrink: 0;

    border-radius: 13px;

    background: rgba(141,76,255,0.10);

    font-size: 20px;
}

.collection-overview-card div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.collection-overview-card span {
    color: rgba(255,255,255,0.42);

    font-size: 15px;
    font-weight: 700;
}

.collection-overview-card strong {
    color: #ffffff;

    font-size: 24px;
    line-height: 1;
}


/* =========================================================
   COLLECTION SECTION
   ========================================================= */

.collection-section {
    padding-top: 20px;
    padding-bottom: 100px;
}

.collection-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 28px;
}

.collection-heading h2 {
    margin: 0;

    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.035em;
}

.collection-heading p {
    max-width: 360px;
    margin: 0;

    color: rgba(255,255,255,0.43);

    font-size: 15px;
    line-height: 1.6;
    text-align: right;
}


/* =========================================================
   TOOLS
   ========================================================= */

.collection-tools {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 15px;
}

.collection-search {
    position: relative;
    display: flex;
    align-items: center;

    flex: 1;

    min-height: 50px;

    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;

    background: rgba(255,255,255,0.035);

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.collection-search:focus-within {
    border-color: rgba(141,76,255,0.45);

    background: rgba(141,76,255,0.045);
}

.collection-search > span {
    margin-left: 16px;

    opacity: 0.55;

    font-size: 16px;
}

.collection-search input {
    width: 100%;
    height: 48px;

    padding: 0 15px;

    border: 0;
    outline: 0;

    background: transparent;

    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
}

.collection-search input::placeholder {
    color: rgba(255,255,255,0.32);
}

.collection-sort {
    height: 50px;

    padding: 0 15px;

    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;

    outline: none;

    background: rgba(255,255,255,0.035);

    color: rgba(255,255,255,0.72);

    font-family: inherit;
    font-size: 15px;

    cursor: pointer;
}

.collection-sort option {
    background: #15131c;
    color: #ffffff;
}


/* =========================================================
   FILTERS
   ========================================================= */

.collection-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 20px;
}

.collection-filter {
    min-height: 38px;

    padding: 0 15px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;

    background: rgba(255,255,255,0.035);

    color: rgba(255,255,255,0.55);

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.collection-filter:hover {
    color: #ffffff;

    border-color: rgba(141,76,255,0.3);
}

.collection-filter.active {
    border-color: rgba(141,76,255,0.45);

    background: rgba(141,76,255,0.15);

    color: #ffffff;
}


/* =========================================================
   RESULTS
   ========================================================= */

.collection-results {
    margin-bottom: 18px;

    color: rgba(255,255,255,0.38);

    font-size: 15px;
}


/* =========================================================
   GRID
   ========================================================= */

.collection-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* =========================================================
   CARD
   ========================================================= */

.collection-card {
    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;

    background: rgba(255,255,255,0.035);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.collection-card:hover {
    transform: translateY(-6px);

    border-color: rgba(141,76,255,0.32);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.30);
}


/* =========================================================
   POSTER
   ========================================================= */

.collection-poster {
    position: relative;

    aspect-ratio: 2 / 3;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(141,76,255,0.22),
            transparent 55%
        ),
        rgba(255,255,255,0.025);
}

.collection-poster-placeholder {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 42px;

    background:
        linear-gradient(
            145deg,
            rgba(141,76,255,0.13),
            rgba(25,181,255,0.05)
        );
}

.collection-type {
    position: absolute;

    top: 12px;
    left: 12px;

    padding: 6px 9px;

    border-radius: 999px;

    background: rgba(10,10,15,0.78);

    color: #ffffff;

    font-size: 15px;
    font-weight: 800;

    backdrop-filter: blur(10px);
}

.collection-type.anime {
    background: rgba(141,76,255,0.78);
}

.collection-type.series {
    background: rgba(25,181,255,0.72);
}

.collection-rating {
    position: absolute;

    top: 12px;
    right: 12px;

    padding: 6px 9px;

    border-radius: 999px;

    background: rgba(10,10,15,0.78);

    color: #ffffff;

    font-size: 15px;
    font-weight: 800;

    backdrop-filter: blur(10px);
}


/* =========================================================
   CARD BODY
   ========================================================= */

.collection-card-body {
    padding: 15px;
}

.collection-card-body h3 {
    margin: 0;

    overflow: hidden;

    color: #ffffff;

    font-size: 15px;
    font-weight: 800;

    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.collection-meta {
    margin: 7px 0 14px;

    overflow: hidden;

    color: rgba(255,255,255,0.40);

    font-size: 15px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.collection-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    padding-top: 11px;

    border-top: 1px solid rgba(255,255,255,0.06);
}

.collection-status span {
    color: rgba(120,255,175,0.82);

    font-size: 15px;
    font-weight: 700;
}

.collection-status time {
    color: rgba(255,255,255,0.32);

    font-size: 15px;
}


/* =========================================================
   EMPTY
   ========================================================= */

.collection-empty {
    padding: 70px 20px;

    border: 1px dashed rgba(255,255,255,0.10);
    border-radius: 20px;

    text-align: center;
}

.collection-empty > div {
    margin-bottom: 15px;

    font-size: 34px;
}

.collection-empty h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 20px;
}

.collection-empty p {
    margin: 0;

    color: rgba(255,255,255,0.42);

    font-size: 15px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 45px 20px;

    border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
    max-width: 1200px;

    margin: 0 auto;
}

.footer-brand {
    color: #ffffff;

    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.footer-links,
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;

    margin-top: 18px;
}

.footer-links a,
.footer-socials a {
    color: rgba(255,255,255,0.45);

    font-size: 15px;

    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-socials a:hover {
    color: #ffffff;
}

.footer-copy {
    margin-top: 25px;

    color: rgba(255,255,255,0.25);

    font-size: 15px;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */




/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */




/* =========================================================
   SMALL PHONES
   ========================================================= */

/* =========================================================
   KIOSHI — ADMIN COLLECTION
   ========================================================= */

.admin-page {
    min-height: 100vh;
    padding: 130px 24px 100px;
    position: relative;
}

.admin-container {
    width: min(900px, 100%);
    margin: 0 auto;
}

.admin-header {
    margin-bottom: 35px;
}

.admin-label {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-2);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.admin-header h1 {
    margin: 0;
    font-size: clamp(40px, 6vw, 68px);
    line-height: .95;
    letter-spacing: -.05em;
}

.admin-header p {
    max-width: 600px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}


/* FORM */

.admin-form {
    position: relative;
    padding: 32px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(139,92,246,.12),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 30px 90px rgba(0,0,0,.35);

    backdrop-filter: blur(20px);
}


/* FORM GROUP */

.admin-form-group {
    margin-bottom: 22px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 9px;

    color: rgba(255,255,255,.65);

    font-size: 15px;
    font-weight: 800;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    width: 100%;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;

    outline: none;

    background:
        rgba(0,0,0,.22);

    color: #fff;

    font-family: inherit;
    font-size: 15px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.admin-form-group input,
.admin-form-group select {
    height: 52px;
    padding: 0 16px;
}

.admin-form-group textarea {
    min-height: 150px;
    padding: 14px 16px;
    resize: vertical;
    line-height: 1.6;
}

.admin-form-group input::placeholder,
.admin-form-group textarea::placeholder {
    color: rgba(255,255,255,.28);
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
    border-color: rgba(139,92,246,.65);

    background:
        rgba(139,92,246,.055);

    box-shadow:
        0 0 0 4px rgba(139,92,246,.08);
}

.admin-form-group select option {
    background: #111019;
    color: #fff;
}


/* TWO COLUMNS */

.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}


/* FILE */

.admin-file {
    position: relative;

    padding: 24px;

    border: 1px dashed rgba(255,255,255,.16);
    border-radius: 18px;

    background:
        rgba(255,255,255,.025);

    text-align: center;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.admin-file:hover {
    border-color: rgba(139,92,246,.5);

    background:
        rgba(139,92,246,.05);
}

.admin-file input[type="file"] {
    height: auto;
    padding: 12px;
    cursor: pointer;
}

.admin-file small {
    display: block;

    margin-top: 8px;

    color: rgba(255,255,255,.35);
    font-size: 15px;
}


/* BUTTON AREA */

.admin-actions {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 30px;
    padding-top: 25px;

    border-top:
        1px solid rgba(255,255,255,.07);
}

.admin-actions button {
    min-height: 52px;

    padding: 0 24px;

    border: 0;
    border-radius: 14px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.admin-actions button:hover {
    transform: translateY(-2px);
}

.admin-actions .primary {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #a855f7
        );

    box-shadow:
        0 12px 35px rgba(139,92,246,.25);
}

.admin-actions .primary:hover {
    box-shadow:
        0 18px 50px rgba(139,92,246,.4);
}

.admin-actions .secondary {
    color: rgba(255,255,255,.75);

    border:
        1px solid rgba(255,255,255,.10);

    background:
        rgba(255,255,255,.045);
}


/* MESSAGE */

.admin-message {
    margin-top: 18px;

    min-height: 24px;

    color: var(--accent-2);

    font-size: 15px;
    font-weight: 700;
}


/* MOBILE */

/* =========================================================
   KIOSHI — ADMIN COLLECTION LIST
   PREMIUM ADMIN UI
   ========================================================= */

.admin-collection-page {
    position: relative;
    min-height: 100vh;
    padding: 130px 24px 100px;
    overflow: hidden;
}

/* Фоновое свечение */

.admin-collection-page::before,
.admin-collection-page::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: .12;
    pointer-events: none;
    z-index: -1;
}

.admin-collection-page::before {
    top: -220px;
    left: -180px;
    background: #8b5cf6;
}

.admin-collection-page::after {
    right: -220px;
    bottom: -220px;
    background: #38bdf8;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.admin-collection-container {
    width: min(1250px, 100%);
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.admin-collection-header {
    position: relative;
    margin-bottom: 45px;
}

.admin-collection-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 13px;

    color: #c084fc;

    font-size: 15px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.admin-collection-kicker::before {
    content: "";
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #8b5cf6;

    box-shadow:
        0 0 16px rgba(139,92,246,.8);
}

.admin-collection-header h1 {
    margin: 0;

    font-size: clamp(42px, 6vw, 72px);
    line-height: .95;
    letter-spacing: -.055em;

    background:
        linear-gradient(
            110deg,
            #ffffff 0%,
            #ffffff 35%,
            #c084fc 70%,
            #67e8f9 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.admin-collection-header p {
    max-width: 650px;

    margin: 18px 0 0;

    color: rgba(255,255,255,.48);

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   TOP ACTION
   ========================================================= */

.admin-collection-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;

    margin-bottom: 35px;
}

.admin-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 50px;

    padding: 0 21px;

    border: 1px solid rgba(192,132,252,.25);
    border-radius: 14px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgba(139,92,246,.85),
            rgba(168,85,247,.7)
        );

    box-shadow:
        0 15px 45px rgba(139,92,246,.18);

    font-size: 15px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.admin-add-button:hover {
    transform: translateY(-3px);

    border-color:
        rgba(192,132,252,.6);

    box-shadow:
        0 20px 55px rgba(139,92,246,.32);
}


/* =========================================================
   STATISTICS
   ========================================================= */

.admin-collection-stats {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 42px;
}

.admin-stat {
    position: relative;

    min-height: 115px;

    padding: 21px;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 20px 55px rgba(0,0,0,.2);

    backdrop-filter: blur(18px);
}

.admin-stat::after {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -40px;
    bottom: -50px;

    border-radius: 50%;

    background: #8b5cf6;

    filter: blur(45px);

    opacity: .12;
}

.admin-stat-icon {
    font-size: 20px;
    margin-bottom: 12px;
}

.admin-stat-label {
    color: rgba(255,255,255,.4);

    font-size: 15px;
    font-weight: 700;
}

.admin-stat-value {
    margin-top: 4px;

    color: #fff;

    font-size: 26px;
    font-weight: 900;
    letter-spacing: -.03em;
}


/* =========================================================
   COLLECTION GRID
   ========================================================= */

#adminCollectionGrid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(220px, 1fr)
        );

    gap: 22px;
}


/* =========================================================
   CARD
   ========================================================= */
#adminCollectionGrid .collection-card {
    position: relative;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 18px 55px rgba(0,0,0,.30);

    backdrop-filter: blur(18px);

    transition:
        transform .3s cubic-bezier(.2,.8,.2,1),
        border-color .3s ease,
        box-shadow .3s ease;
}

#adminCollectionGrid .collection-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(139,92,246,.38);

    box-shadow:
        0 28px 70px rgba(0,0,0,.40),
        0 0 40px rgba(139,92,246,.10);
}


/* ПОСТЕР */

#adminCollectionGrid .collection-poster {
    position: relative;

    width: 100%;
    aspect-ratio: 2 / 3;

    overflow: hidden;

    background: #111019;
}

#adminCollectionGrid .collection-poster img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .55s cubic-bezier(.2,.8,.2,1);
}

#adminCollectionGrid .collection-card:hover
.collection-poster img {
    transform: scale(1.06);
}


/* ЗАТЕМНЕНИЕ ПОСТЕРА */

#adminCollectionGrid .collection-poster::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 50%,
            rgba(0,0,0,.55)
        );

    pointer-events: none;
}


/* ИНФОРМАЦИЯ */

#adminCollectionGrid .collection-card-body {
    padding: 18px;
}

#adminCollectionGrid .collection-card-body h3 {
    margin: 0;

    color: #fff;

    font-size: 18px;
    font-weight: 800;

    line-height: 1.25;
    letter-spacing: -.025em;
}

#adminCollectionGrid .collection-meta {
    margin: 8px 0 17px;

    color: rgba(255,255,255,.45);

    font-size: 15px;
    line-height: 1.5;
}


/* КНОПКИ */

#adminCollectionGrid .button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 14px;

    border:
        1px solid rgba(139,92,246,.30);

    border-radius: 11px;

    color: #e9d5ff;

    background:
        rgba(139,92,246,.10);

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

#adminCollectionGrid .button:hover {
    transform: translateY(-2px);

    background:
        rgba(139,92,246,.20);

    border-color:
        rgba(168,85,247,.60);
}

#adminCollectionGrid .button.danger {
    margin-left: 7px;

    color: #fda4af;

    border-color:
        rgba(244,63,94,.22);

    background:
        rgba(244,63,94,.06);
}

#adminCollectionGrid .button.danger:hover {
    background:
        rgba(244,63,94,.14);

    border-color:
        rgba(244,63,94,.50);
}/* Финальная ширина карточек админки */

#adminCollectionGrid {
    grid-template-columns: repeat(
        auto-fill,
        minmax(280px, 1fr)
    );

    gap: 24px;
    align-items: start;
}

#adminCollectionGrid .collection-card {
    width: 100%;
    max-width: 320px;
}

#adminCollectionGrid .collection-card-body {
    min-height: 145px;
    display: flex;
    flex-direction: column;
}

#adminCollectionGrid .collection-meta {
    margin-bottom: 18px;
}

#adminCollectionGrid .button {
    flex: 1;
}

#adminCollectionGrid .button.danger {
    margin-left: 8px;
}

#adminCollectionGrid .collection-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

#adminCollectionGrid .collection-card-body h3 {
    grid-column: 1 / -1;
}

#adminCollectionGrid .collection-card-body .collection-meta {
    grid-column: 1 / -1;
}

#adminCollectionGrid .collection-card-body .button {
    margin: 0;
    width: 100%;
}/* =========================================================
   ADMIN COLLECTION — SECTION TITLE
   ========================================================= */

.admin-collection-section-head {
    display: flex;
    align-items: center;
    gap: 24px;

    margin-bottom: 22px;
}

.admin-collection-section-head > div {
    flex-shrink: 0;
}

.admin-collection-section-label {
    display: block;

    margin-bottom: 7px;

    color: #c084fc;

    font-size: 15px;
    font-weight: 900;
    letter-spacing: .18em;
}

.admin-collection-section-head h2 {
    margin: 0;

    color: #fff;

    font-size: 28px;
    font-weight: 850;

    letter-spacing: -.035em;
}

.admin-collection-section-line {
    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(139,92,246,.35),
            rgba(255,255,255,.05),
            transparent
        );
}

 /* =========================================================
   БЕЙДЖИ НА ПОСТЕРЕ
   ========================================================= */

#adminCollectionGrid .collection-poster {
    position: relative !important;
}

#adminCollectionGrid .admin-poster-type,
#adminCollectionGrid .admin-poster-rating {
    position: absolute !important;

    top: 14px;

    z-index: 10;

    display: inline-flex;
    align-items: center;

    padding: 7px 10px;

    border-radius: 10px;

    color: #ffffff;

    background: rgba(10, 8, 18, 0.82);

    border: 1px solid rgba(255, 255, 255, 0.14);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(12px);

    font-size: 15px;
    font-weight: 900;

    line-height: 1;
}

#adminCollectionGrid .admin-poster-type {
    left: 14px;

    color: #e9d5ff;

    border-color:
        rgba(192, 132, 252, 0.35);
}

#adminCollectionGrid .admin-poster-rating {
    right: 14px;

    color: #fde68a;

    border-color:
        rgba(251, 191, 36, 0.35);
}  /* =========================================================
   ADMIN DELETE MODAL
   ========================================================= */

.admin-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.admin-modal.is-open {
    display: flex;
}

.admin-modal-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(3, 2, 8, .78);

    backdrop-filter: blur(12px);
}

.admin-modal-box {
    position: relative;
    z-index: 1;

    width: min(460px, 100%);

    padding: 28px;

    border:
        1px solid rgba(255,255,255,.10);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(31,27,43,.96),
            rgba(12,11,18,.98)
        );

    box-shadow:
        0 35px 100px rgba(0,0,0,.65),
        0 0 50px rgba(139,92,246,.08);

    animation:
        adminModalIn .2s ease-out;
}

@keyframes adminModalIn {

    from {
        opacity: 0;
        transform: translateY(12px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.admin-modal-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border:
        1px solid rgba(244,63,94,.20);

    border-radius: 14px;

    background:
        rgba(244,63,94,.08);

    font-size: 20px;
}

.admin-modal-label {
    color: #fb7185;

    font-size: 15px;
    font-weight: 900;

    letter-spacing: .18em;
}

.admin-modal-content h2 {
    margin: 7px 0 9px;

    color: #fff;

    font-size: 26px;
    line-height: 1.15;

    letter-spacing: -.035em;
}

.admin-modal-content p {
    margin: 0;

    color: rgba(255,255,255,.48);

    font-size: 15px;
    line-height: 1.6;
}

.admin-modal-actions {
    display: flex;

    gap: 10px;

    margin-top: 26px;
}

.admin-modal-actions button {
    flex: 1;

    min-height: 46px;

    border-radius: 12px;

    font-family: inherit;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.admin-modal-actions button:hover {
    transform: translateY(-2px);
}

.admin-modal-cancel {
    border:
        1px solid rgba(255,255,255,.10);

    color: rgba(255,255,255,.72);

    background:
        rgba(255,255,255,.045);
}

.admin-modal-cancel:hover {
    background:
        rgba(255,255,255,.08);
}

.admin-modal-delete {
    border:
        1px solid rgba(244,63,94,.35);

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #be123c,
            #e11d48
        );

    box-shadow:
        0 10px 30px rgba(225,29,72,.18);
}

.admin-modal-delete:hover {
    box-shadow:
        0 14px 35px rgba(225,29,72,.30);
}

/* =========================================================
   ADMIN EDIT MODAL
   ========================================================= */

.admin-edit-modal {
    width: min(720px, 100%);
    max-height: 90vh;
    overflow-y: auto;
}

.edit-label {
    color: #c084fc;
}


/* ФОРМА */

#editForm {
    margin-top: 24px;
}

.admin-edit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.admin-edit-grid label,
.edit-full {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-edit-grid label > span,
.edit-field-title {
    color: rgba(255,255,255,.58);

    font-size: 15px;
    font-weight: 800;

    letter-spacing: .02em;
}


/* ПОЛЯ */

.admin-edit-grid input,
.admin-edit-grid select,
.admin-edit-grid textarea {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;

    padding: 12px 13px;

    color: #fff;

    background:
        rgba(255,255,255,.045);

    outline: none;

    font-family: inherit;
    font-size: 15px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.admin-edit-grid input:focus,
.admin-edit-grid select:focus,
.admin-edit-grid textarea:focus {
    border-color:
        rgba(168,85,247,.65);

    background:
        rgba(139,92,246,.07);

    box-shadow:
        0 0 0 3px rgba(139,92,246,.09);
}

.admin-edit-grid textarea {
    min-height: 120px;

    resize: vertical;
}


/* SELECT */

.admin-edit-grid select {
    cursor: pointer;
}

.admin-edit-grid select option {
    color: #fff;
    background: #17131f;
}


/* НА ВСЮ ШИРИНУ */

.edit-full {
    grid-column: 1 / -1;
}


/* ПОСТЕР */

.edit-poster-row {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 14px;

    border:
        1px solid rgba(255,255,255,.07);

    border-radius: 15px;

    background:
        rgba(255,255,255,.025);
}

.edit-poster-preview {
    width: 82px;
    height: 118px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 10px;

    border:
        1px solid rgba(255,255,255,.10);

    background: #111019;
}

.edit-poster-row input[type="file"] {
    padding: 9px;

    cursor: pointer;
}

.edit-poster-hint {
    margin: 9px 0 0;

    color: rgba(255,255,255,.35);

    font-size: 15px;
    line-height: 1.5;
}


/* КНОПКА СОХРАНЕНИЯ */

.edit-save-button {
    border:
        1px solid rgba(139,92,246,.40) !important;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #a855f7
        ) !important;

    box-shadow:
        0 10px 30px rgba(139,92,246,.18);
}

.edit-save-button:hover {
    box-shadow:
        0 14px 40px rgba(139,92,246,.30);
}

.edit-save-button:disabled {
    opacity: .55;

    cursor: wait;

    transform: none !important;
}


/* ПРОКРУТКА */

.admin-edit-modal::-webkit-scrollbar {
    width: 7px;
}

.admin-edit-modal::-webkit-scrollbar-track {
    background: transparent;
}

.admin-edit-modal::-webkit-scrollbar-thumb {
    border-radius: 10px;

    background:
        rgba(168,85,247,.35);
}


/* МОБИЛЬНАЯ ВЕРСИЯ */

/* =========================================================
   ADMIN — ADD TO COLLECTION
   ========================================================= */

.collection-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 20px;
    margin-top: 28px;
}

.collection-form-section {
    padding: 26px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(31,27,43,.88),
            rgba(14,12,20,.94)
        );
    box-shadow:
        0 20px 55px rgba(0,0,0,.22);
}

.collection-form-section-full {
    grid-column: 1 / -1;
}

.collection-form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.collection-form-section-header > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    flex-shrink: 0;

    border: 1px solid rgba(168,85,247,.25);
    border-radius: 10px;

    color: #c084fc;
    background: rgba(139,92,246,.08);

    font-size: 15px;
    font-weight: 900;
}

.collection-form-section-header h2 {
    margin: 0 0 5px;

    color: #fff;

    font-size: 19px;
    font-weight: 850;
    letter-spacing: -.025em;
}

.collection-form-section-header p {
    margin: 0;

    color: rgba(255,255,255,.38);

    font-size: 15px;
    line-height: 1.5;
}


/* ПОЛЯ */

.collection-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field > span {
    color: rgba(255,255,255,.58);

    font-size: 15px;
    font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;

    outline: none;

    color: #fff;
    background: rgba(255,255,255,.045);

    font-family: inherit;
    font-size: 15px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255,255,255,.22);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(168,85,247,.65);

    background: rgba(139,92,246,.07);

    box-shadow:
        0 0 0 3px rgba(139,92,246,.09);
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field select {
    cursor: pointer;
}

.form-field select option {
    color: #fff;
    background: #17131f;
}


/* РЕЙТИНГ */

.rating-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-input > span {
    color: #facc15;
    font-size: 18px;
}

.rating-input input {
    flex: 1;
}

.rating-input small {
    color: rgba(255,255,255,.28);
    font-size: 15px;
}


/* =========================================================
   POSTER UPLOAD
   ========================================================= */

.poster-hidden-input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.poster-upload-area {
    display: flex;
    align-items: center;
    gap: 18px;

    min-height: 220px;

    padding: 18px;

    border: 1px dashed rgba(168,85,247,.28);
    border-radius: 17px;

    background:
        rgba(139,92,246,.035);

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.poster-upload-area:hover {
    border-color: rgba(168,85,247,.65);

    background:
        rgba(139,92,246,.07);

    transform: translateY(-2px);
}

.poster-preview {
    width: 125px;
    height: 180px;

    flex-shrink: 0;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.015)
        );
}

.poster-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    color: rgba(255,255,255,.35);

    text-align: center;
}

.poster-placeholder strong {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border:
        1px solid rgba(168,85,247,.35);

    border-radius: 12px;

    color: #c084fc;

    background:
        rgba(139,92,246,.08);

    font-size: 24px;
    font-weight: 400;
}

.poster-placeholder span {
    font-size: 15px;
    font-weight: 800;
}

.poster-upload-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.poster-upload-info strong {
    color: #fff;

    font-size: 15px;
    font-weight: 850;
}

.poster-upload-info span {
    color: #c084fc;

    font-size: 15px;
    font-weight: 700;
}

.poster-upload-info small {
    color: rgba(255,255,255,.32);

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.collection-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 20px;
    padding: 18px 20px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 17px;

    background:
        rgba(255,255,255,.025);
}

.collection-form-status {
    display: flex;
    align-items: center;
    gap: 9px;

    color: rgba(255,255,255,.38);

    font-size: 15px;
    font-weight: 700;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #72e6a3;

    box-shadow:
        0 0 12px rgba(114,230,163,.55);
}

.collection-submit-button {
    min-height: 46px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    gap: 18px;

    border: 0;
    border-radius: 12px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #a855f7
        );

    box-shadow:
        0 12px 30px rgba(139,92,246,.18);

    font-weight: 850;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.collection-submit-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 40px rgba(139,92,246,.30);
}

.submit-arrow {
    font-size: 18px;
}

.collection-admin-message {
    margin: 15px 0 0;

    min-height: 20px;

    text-align: right;

    font-size: 15px;
    font-weight: 700;
}


/* =========================================================
   MOBILE
   ========================================================= */




/* =========================================================
   POSTER PREVIEW IMAGE
   ========================================================= */

.poster-preview-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 13px;
}/* =========================================================
   KIOSHI — PUBLIC SUGGESTIONS
   Новая стилистика страницы "Предложка"
   ========================================================= */

.suggestions-page {
    min-height: 100vh;
    padding: 120px 24px 100px;
}

.suggestions-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.suggestions-header {
    position: relative;
    margin-bottom: 45px;
}

.suggestions-label {
    display: inline-block;
    margin-bottom: 14px;

    color: var(--accent-2);

    font-size: 15px;
    font-weight: 900;

    letter-spacing: .22em;
    text-transform: uppercase;
}

.suggestions-header h1 {
    margin: 0;

    font-size: clamp(52px, 8vw, 92px);
    line-height: .9;

    letter-spacing: -.06em;

    color: #f5f2ea;
}

.suggestions-header p {
    max-width: 650px;

    margin: 22px 0 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   INFO STRIP
   ========================================================= */

.suggestions-info {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 25px;
}

.suggestions-info-card {
    position: relative;

    padding: 20px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(25,20,38,.95),
            rgba(13,13,18,.95)
        );

    overflow: hidden;
}

.suggestions-info-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #a92cff,
            #39d8ff
        );

    opacity: .9;
}

.suggestions-info-number {
    display: block;

    margin-bottom: 12px;

    color: #9d7cff;

    font-size: 15px;
    font-weight: 900;

    letter-spacing: .12em;
}

.suggestions-info-card strong {
    display: block;

    margin-bottom: 6px;

    color: #f3f0ea;

    font-size: 15px;
}

.suggestions-info-card span {
    color: var(--muted);

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   MAIN PANEL
   ========================================================= */

.suggestion-form {
    position: relative;

    padding: 30px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 85% 0%,
            rgba(142,55,255,.10),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            rgba(25,21,35,.97),
            rgba(11,11,16,.98)
        );

    box-shadow:
        0 30px 80px rgba(0,0,0,.25);
}


/* =========================================================
   SECTION
   ========================================================= */

.suggestion-section {
    padding: 10px 0 30px;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.suggestion-section + .suggestion-section {
    padding-top: 30px;
}

.suggestion-section:last-of-type {
    border-bottom: 0;
}


.suggestion-section-title {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    margin-bottom: 22px;
}

.suggestion-section-title > span {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(160,85,255,.35);
    border-radius: 11px;

    color: #b986ff;

    background:
        rgba(135,55,255,.08);

    font-size: 15px;
    font-weight: 900;
}

.suggestion-section-title h2 {
    margin: 0 0 5px;

    color: #f4f1eb;

    font-size: 19px;
    letter-spacing: -.02em;
}

.suggestion-section-title p {
    margin: 0;

    color: var(--muted);

    font-size: 15px;
}


/* =========================================================
   TYPE SELECTOR
   ========================================================= */

.suggestion-type-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}


.suggestion-type {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 145px;

    padding: 20px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 17px;

    background:
        rgba(255,255,255,.025);

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.suggestion-type:hover {
    transform: translateY(-2px);

    border-color:
        rgba(170,95,255,.35);

    background:
        rgba(145,65,255,.06);
}


.suggestion-type input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}


.suggestion-type:has(input:checked) {
    border-color:
        rgba(168,75,255,.8);

    background:
        linear-gradient(
            145deg,
            rgba(145,50,255,.14),
            rgba(36,28,53,.45)
        );

    box-shadow:
        0 0 0 1px rgba(168,75,255,.12),
        0 15px 40px rgba(100,30,200,.10);
}


.suggestion-type-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 18px;

    border-radius: 14px;

    background:
        rgba(255,255,255,.045);

    font-size: 22px;
}


.suggestion-type strong {
    color: #f4f1eb;

    font-size: 15px;
}


.suggestion-type small {
    margin-top: 5px;

    color: var(--muted);

    font-size: 15px;
}


/* =========================================================
   FIELDS
   ========================================================= */

.suggestion-fields {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.suggestion-field {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.suggestion-field-full {
    grid-column: 1 / -1;
}


.suggestion-field > span {
    color: #aaa3b9;

    font-size: 15px;
    font-weight: 900;

    letter-spacing: .12em;
    text-transform: uppercase;
}


.suggestion-field input,
.suggestion-field textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;

    outline: none;

    color: #f4f1eb;

    background:
        rgba(5,5,9,.58);

    font-family: inherit;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.suggestion-field input {
    height: 50px;

    padding: 0 15px;

    font-size: 15px;
}


.suggestion-field textarea {
    min-height: 130px;

    padding: 14px 15px;

    resize: vertical;

    font-size: 15px;
    line-height: 1.6;
}


.suggestion-field input::placeholder,
.suggestion-field textarea::placeholder {
    color: #625d6d;
}


.suggestion-field input:focus,
.suggestion-field textarea:focus {
    border-color:
        rgba(170,75,255,.75);

    background:
        rgba(12,9,18,.8);

    box-shadow:
        0 0 0 3px rgba(155,55,255,.08);
}


/* =========================================================
   ACTION AREA
   ========================================================= */

.suggestion-actions {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 25px;
}


.suggestion-status {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--muted);

    font-size: 15px;
}


.suggestion-status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #69e6a1;

    box-shadow:
        0 0 14px rgba(105,230,161,.55);
}


.suggestion-submit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    min-width: 210px;
    height: 52px;

    padding: 0 20px;

    border: 0;
    border-radius: 14px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #8b36ff,
            #b13aff
        );

    font-family: inherit;

    font-size: 15px;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 12px 30px rgba(144,45,255,.22);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}


.suggestion-submit:hover {
    transform: translateY(-2px);

    filter: brightness(1.08);

    box-shadow:
        0 18px 40px rgba(144,45,255,.32);
}


.suggestion-submit span:last-child {
    font-size: 18px;
}


/* =========================================================
   MESSAGE
   ========================================================= */

.suggestion-message {
    min-height: 20px;

    margin: 18px 0 0;

    text-align: right;

    color: #8f89a0;

    font-size: 15px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */




/* =========================================================
   KIOSHI KAZEMARU
   PUBLIC SUGGESTIONS — NEW DESIGN
   ========================================================= */


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

.suggestions-page {
    min-height: 100vh;

    padding:
        115px
        24px
        100px;

    background:
        radial-gradient(
            circle at 85% 8%,
            rgba(151, 70, 255, .10),
            transparent 30%
        );
}


.suggestions-container {
    width: min(1180px, 100%);

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.suggestions-header {
    margin-bottom: 34px;
}


.suggestions-header-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 15px;
}


.suggestions-label,
.suggestions-kicker {
    color: #a96cff;

    font-size: 15px;
    font-weight: 900;

    letter-spacing: .18em;

    text-transform: uppercase;
}


.suggestions-counter {
    color: rgba(255,255,255,.30);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.suggestions-header h1 {
    margin: 0;

    color: #f5f2ea;

    font-size:
        clamp(
            52px,
            8vw,
            92px
        );

    line-height: .88;

    letter-spacing: -.065em;
}


.suggestions-header p {
    width: min(650px, 100%);

    margin: 22px 0 0;

    color: rgba(255,255,255,.47);

    font-size: 15px;

    line-height: 1.7;
}


.suggestions-hero-line {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 25px;
}


.suggestions-hero-line span {
    width: 65px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #a855f7,
            transparent
        );
}


.suggestions-hero-line small {
    color: rgba(255,255,255,.24);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .14em;
}


/* =========================================================
   INFO CARDS
   ========================================================= */

.suggestions-info {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 20px;
}


.suggestions-info-card {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 15px;

    min-height: 95px;

    padding: 19px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(28,23,40,.92),
            rgba(13,12,18,.94)
        );

    transition:
        transform .2s ease,
        border-color .2s ease;
}


.suggestions-info-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(168,85,247,.25);
}


.suggestions-info-number {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 35px;

    width: 35px;
    height: 35px;

    border:
        1px solid
        rgba(168,85,247,.24);

    border-radius: 10px;

    color: #b57aff;

    background:
        rgba(139,92,246,.07);

    font-size: 15px;
    font-weight: 900;
}


.suggestions-info-card strong {
    display: block;

    margin:
        1px
        0
        6px;

    color: #f2eee8;

    font-size: 15px;
    font-weight: 850;
}


.suggestions-info-card span {
    display: block;

    color: rgba(255,255,255,.34);

    font-size: 15px;

    line-height: 1.5;
}


/* =========================================================
   MAIN FORM
   ========================================================= */

.suggestion-form {
    padding: 30px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(148,60,255,.10),
            transparent 27%
        ),
        linear-gradient(
            145deg,
            rgba(25,21,35,.97),
            rgba(11,11,16,.98)
        );

    box-shadow:
        0 30px 80px
        rgba(0,0,0,.25);
}


.suggestion-form-heading {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 25px;
}


.suggestion-form-heading h2 {
    margin: 7px 0 5px;

    color: #f4f0e9;

    font-size: 27px;

    letter-spacing: -.035em;
}


.suggestion-form-heading p {
    margin: 0;

    color: rgba(255,255,255,.34);

    font-size: 15px;
}


/* =========================================================
   LIMIT
   ========================================================= */

.suggestions-limit {
    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        10px
        13px;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 12px;

    background:
        rgba(255,255,255,.025);
}


.suggestions-limit span {
    color: rgba(255,255,255,.28);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .1em;
}


.suggestions-limit strong {
    color: #b87cff;

    font-size: 18px;
}


.suggestions-limit small {
    color: rgba(255,255,255,.30);

    font-size: 9px;
}


/* =========================================================
   SOURCE TABS
   ========================================================= */

.suggestion-source-tabs {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 9px;

    margin-bottom: 22px;
}


.suggestion-source-tabs .tab {
    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    min-height: 68px;

    padding: 12px 14px;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 15px;

    color: rgba(255,255,255,.55);

    background:
        rgba(255,255,255,.025);

    cursor: pointer;

    text-align: left;

    transition:
        .2s ease;
}


.suggestion-source-tabs .tab:hover {
    border-color:
        rgba(168,85,247,.30);

    background:
        rgba(139,92,246,.055);
}


.suggestion-source-tabs .tab.on {
    border-color:
        rgba(168,85,247,.70);

    color: #fff;

    background:
        linear-gradient(
            145deg,
            rgba(139,92,246,.14),
            rgba(139,92,246,.035)
        );

    box-shadow:
        inset
        0 0 0 1px
        rgba(168,85,247,.08);
}


.suggestion-tab-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border-radius: 11px;

    background:
        rgba(255,255,255,.045);

    font-size: 18px;
}


.suggestion-source-tabs .tab strong {
    display: block;

    margin-bottom: 4px;

    color: inherit;

    font-size: 15px;
}


.suggestion-source-tabs .tab small {
    display: block;

    color: rgba(255,255,255,.28);

    font-size: 9px;
}


/* =========================================================
   SEARCH BOX
   ========================================================= */

.suggestion-search-box {
    padding: 19px;

    border:
        1px solid
        rgba(255,255,255,.06);

    border-radius: 17px;

    background:
        rgba(255,255,255,.018);
}


.suggestion-search-title {
    margin-bottom: 13px;
}


.suggestion-search-title strong {
    display: block;

    margin-bottom: 4px;

    color: #eee9e3;

    font-size: 15px;
}


.suggestion-search-title span {
    color: rgba(255,255,255,.28);

    font-size: 15px;
}


.suggestion-search-row {
    display: flex;

    gap: 9px;
}


.suggestion-main-search {
    position: relative;

    flex: 1;
}


.suggestion-main-search > span {
    position: absolute;

    left: 14px;
    top: 50%;

    transform:
        translateY(-50%);

    color: rgba(255,255,255,.30);

    font-size: 17px;
}


.suggestion-main-search input {
    width: 100%;
    height: 48px;

    box-sizing: border-box;

    padding:
        0
        15px
        0
        42px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 12px;

    outline: none;

    color: #fff;

    background:
        rgba(4,4,8,.60);

    font-family: inherit;
}


.suggestion-main-search input:focus {
    border-color:
        rgba(168,85,247,.65);

    box-shadow:
        0 0 0 3px
        rgba(139,92,246,.08);
}


.suggestion-main-search input::placeholder {
    color: rgba(255,255,255,.20);
}


.suggestion-search-button {
    min-width: 115px;

    border: 0;
    border-radius: 12px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #8138ef,
            #ae43ff
        );

    font-family: inherit;

    font-size: 15px;
    font-weight: 850;

    cursor: pointer;
}


.suggestion-search-button span {
    margin-left: 10px;

    font-size: 15px;
}


/* =========================================================
   SEARCH RESULTS / PICKED
   ========================================================= */

.suggestion-search-results,
.suggestion-picked {
    margin-top: 14px;
}


.suggestion-result-card {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 11px;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 13px;

    background:
        rgba(255,255,255,.025);

    cursor: pointer;
}


.suggestion-result-card:hover {
    border-color:
        rgba(168,85,247,.35);
}


.suggestion-result-card img {
    width: 55px;
    height: 76px;

    object-fit: cover;

    border-radius: 8px;
}


.suggestion-result-card strong {
    display: block;

    margin-bottom: 4px;

    color: #f4f0eb;

    font-size: 15px;
}


.suggestion-result-card span {
    color: rgba(255,255,255,.32);

    font-size: 9px;
}


/* =========================================================
   MANUAL
   ========================================================= */

.suggestion-manual {
    margin-top: 16px;

    padding: 20px;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 16px;

    background:
        rgba(255,255,255,.018);
}


.suggestion-manual-heading {
    margin-bottom: 20px;
}


.suggestion-manual-heading strong {
    display: block;

    margin-bottom: 5px;

    color: #f2eee9;

    font-size: 15px;
}


.suggestion-manual-heading span {
    color: rgba(255,255,255,.30);

    font-size: 15px;
}


/* =========================================================
   FIELDS
   ========================================================= */

.suggestion-fields {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}


.suggestion-field {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.suggestion-field-full {
    grid-column: 1 / -1;
}


.suggestion-field > span {
    color: rgba(255,255,255,.43);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: .10em;

    text-transform: uppercase;
}


.suggestion-field input,
.suggestion-field textarea {
    width: 100%;

    box-sizing: border-box;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 11px;

    outline: none;

    color: #fff;

    background:
        rgba(4,4,8,.55);

    font-family: inherit;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.suggestion-field input {
    height: 46px;

    padding:
        0
        13px;

    font-size: 15px;
}


.suggestion-field textarea {
    min-height: 120px;

    padding: 12px 13px;

    resize: vertical;

    font-size: 15px;

    line-height: 1.55;
}


.suggestion-field input:focus,
.suggestion-field textarea:focus {
    border-color:
        rgba(168,85,247,.65);

    box-shadow:
        0 0 0 3px
        rgba(139,92,246,.07);
}


.suggestion-field input::placeholder,
.suggestion-field textarea::placeholder {
    color: rgba(255,255,255,.18);
}


/* =========================================================
   DIVIDER
   ========================================================= */

.suggestions-divider {
    display: flex;

    align-items: center;

    gap: 14px;

    margin: 42px 0 32px;
}


.suggestions-divider span {
    flex: 1;

    height: 1px;

    background:
        rgba(255,255,255,.06);
}


.suggestions-divider small {
    color: rgba(255,255,255,.22);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .18em;
}


/* =========================================================
   LIST HEADER
   ========================================================= */

.suggestions-list-heading {
    margin-bottom: 22px;
}


.suggestions-list-heading h2 {
    margin: 7px 0 6px;

    color: #f2eee8;

    font-size: 27px;

    letter-spacing: -.035em;
}


.suggestions-list-heading p {
    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,.32);

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.suggestion-toolbar {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 12px;
}


.suggestion-toolbar-search {
    position: relative;

    flex: 1;
}


.suggestion-toolbar-search > span {
    position: absolute;

    left: 13px;
    top: 50%;

    transform:
        translateY(-50%);

    color: rgba(255,255,255,.25);

    font-size: 16px;
}


.suggestion-toolbar-search input {
    width: 100%;
    height: 42px;

    box-sizing: border-box;

    padding:
        0
        13px
        0
        38px;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 10px;

    outline: none;

    color: #fff;

    background:
        rgba(255,255,255,.025);

    font-family: inherit;
}


.suggestion-toolbar-search input:focus {
    border-color:
        rgba(168,85,247,.55);
}


.suggestion-toolbar-search input::placeholder {
    color: rgba(255,255,255,.20);
}


.suggestion-select {
    height: 42px;

    min-width: 145px;

    padding:
        0
        12px;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 10px;

    outline: none;

    color: rgba(255,255,255,.55);

    background:
        #15121c;

    font-family: inherit;

    font-size: 15px;

    cursor: pointer;
}


.suggestion-icon-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 10px;

    color: rgba(255,255,255,.50);

    background:
        rgba(255,255,255,.025);

    cursor: pointer;
}


.suggestion-icon-button:hover {
    border-color:
        rgba(168,85,247,.35);

    color: #fff;
}


/* =========================================================
   FILTERS
   ========================================================= */

.suggestion-filter-group {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 9px;
}


.suggestion-filter {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    min-height: 34px;

    padding:
        0
        11px;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 9px;

    color: rgba(255,255,255,.40);

    background:
        rgba(255,255,255,.025);

    font-family: inherit;

    font-size: 9px;
    font-weight: 750;

    cursor: pointer;

    transition:
        .18s ease;
}


.suggestion-filter:hover {
    color: #fff;

    border-color:
        rgba(168,85,247,.30);
}


.suggestion-filter.active {
    color: #fff;

    border-color:
        rgba(168,85,247,.55);

    background:
        rgba(139,92,246,.10);
}


.suggestion-filter .n {
    color: rgba(255,255,255,.25);

    font-size: 8px;
}


.suggestion-filter.active .n {
    color: #b47aff;
}


/* =========================================================
   LIST
   ========================================================= */

#list {
    margin-top: 20px;
}


.suggestions-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}


.suggestion-card {
    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(26,22,34,.94),
            rgba(12,12,17,.96)
        );

    transition:
        transform .2s ease,
        border-color .2s ease;
}


.suggestion-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(168,85,247,.30);
}


/* =========================================================
   EMPTY / LOADING
   ========================================================= */

.suggestions-loading,
.suggestions-empty {
    padding: 65px 25px;

    text-align: center;

    border:
        1px dashed
        rgba(255,255,255,.08);

    border-radius: 18px;

    background:
        rgba(255,255,255,.015);
}


.suggestions-loading-icon,
.suggestions-empty > div {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin:
        0
        auto
        16px;

    border:
        1px solid
        rgba(168,85,247,.25);

    border-radius: 15px;

    color: #b478ff;

    background:
        rgba(139,92,246,.07);

    font-size: 21px;
}


.suggestions-loading h3,
.suggestions-empty h2 {
    margin: 0 0 7px;

    color: #eeeae4;

    font-size: 16px;
}


.suggestions-loading p,
.suggestions-empty p {
    margin: 0;

    color: rgba(255,255,255,.27);

    font-size: 15px;
}


/* =========================================================
   MOBILE
   ========================================================= */







/* =========================================================
   SUGGESTION SEARCH RESULTS
   ========================================================= */

.suggestion-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 18px;
}


/* Одна найденная карточка */

.suggestion-search-result {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;

    padding: 0;
    overflow: hidden;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(35,27,53,.95),
            rgba(16,14,23,.98)
        );

    color: #fff;

    cursor: pointer;

    text-align: left;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.suggestion-search-result:hover {
    transform: translateY(-4px);

    border-color: rgba(174,72,255,.75);

    box-shadow:
        0 12px 35px rgba(132,44,255,.18);
}


/* Постер */

.suggestion-search-result img {
    display: block;

    width: 100%;
    height: 220px;

    object-fit: cover;

    background: #17131f;
}


/* Если постера нет */

.suggestion-result-no-poster {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 220px;

    font-size: 30px;

    background:
        linear-gradient(
            145deg,
            #21162f,
            #111019
        );

    color: #a84cff;
}


/* Информация */

.suggestion-result-info {
    display: block;

    padding: 12px 13px 14px;
}

.suggestion-result-info strong {
    display: block;

    font-size: 15px;
    line-height: 1.25;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-result-info small {
    display: block;

    margin-top: 6px;

    color: #8f889d;

    font-size: 15px;
}


/* Стрелка */

.suggestion-result-arrow {
    position: absolute;

    right: 10px;
    bottom: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    border-radius: 8px;

    background: rgba(174,72,255,.14);

    color: #b85cff;

    font-size: 15px;
}


/* =========================================================
   SELECTED TITLE
   ========================================================= */

.suggestion-picked-card {
    display: flex;
    align-items: center;

    gap: 18px;

    padding: 16px;

    margin-top: 18px;

    border: 1px solid rgba(174,72,255,.32);

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(44,25,66,.65),
            rgba(17,15,24,.9)
        );
}

.suggestion-picked-card img,
.suggestion-picked-no-poster {
    flex: 0 0 92px;

    width: 92px;
    height: 130px;

    border-radius: 10px;

    object-fit: cover;
}

.suggestion-picked-no-poster {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #17131f;

    color: #a84cff;

    font-size: 25px;
}

.suggestion-picked-info {
    min-width: 0;
}

.suggestion-picked-info > span {
    display: block;

    margin-bottom: 5px;

    color: #b65cff;

    font-size: 15px;
    font-weight: 800;

    letter-spacing: .12em;
    text-transform: uppercase;
}

.suggestion-picked-info h3 {
    margin: 0;

    font-size: 22px;
    line-height: 1.2;
}

.suggestion-picked-info p {
    margin: 7px 0 12px;

    color: #85808f;

    font-size: 15px;
}

.suggestion-picked-remove {
    padding: 8px 12px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;

    background: rgba(255,255,255,.04);

    color: #aaa3b4;

    cursor: pointer;

    transition: .2s ease;
}

.suggestion-picked-remove:hover {
    border-color: rgba(174,72,255,.5);

    color: #fff;

    background: rgba(174,72,255,.1);
}


/* =========================================================
   ONLY COMMENT + AUTHOR
   ========================================================= */

.suggestion-simple-fields {
    display: grid;

    gap: 18px;

    margin-top: 20px;
}

.suggestion-simple-field {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.suggestion-simple-field span {
    color: #9c95a8;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.suggestion-simple-field textarea,
.suggestion-simple-field input {
    width: 100%;
    box-sizing: border-box;

    padding: 14px 16px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 11px;

    outline: none;

    background: #0b0a0f;

    color: #fff;

    font: inherit;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.suggestion-simple-field textarea {
    min-height: 120px;

    resize: vertical;
}

.suggestion-simple-field textarea:focus,
.suggestion-simple-field input:focus {
    border-color: rgba(174,72,255,.75);

    box-shadow:
        0 0 0 3px rgba(174,72,255,.08);
}

.suggestion-simple-field textarea::placeholder,
.suggestion-simple-field input::placeholder {
    color: #57515f;
}


/* =========================================================
   MOBILE
   ========================================================= */


/* =========================================================
   SUGGESTIONS — FINAL OVERRIDES
   ========================================================= */

[hidden] { display: none !important; }

.suggestion-form,
.suggestions-list-section { position: relative; }

.suggestion-search-box { overflow: visible; }

.suggestion-main-search { min-width: 0; }

.suggestion-main-search input { padding-right: 42px; }

.suggestion-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255,255,255,.28);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.suggestion-search-clear:hover {
    color: #fff;
    background: rgba(255,255,255,.06);
}

.suggestion-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 3px;
}

.suggestion-search-result {
    min-width: 0;
    min-height: 250px;
}

.suggestion-search-result img,
.suggestion-result-no-poster {
    height: 178px;
}

.suggestion-result-info {
    min-width: 0;
    padding: 10px 10px 12px;
}

.suggestion-result-info strong {
    font-size: 15px;
}

.suggestion-result-info small {
    font-size: 15px;
}

.suggestion-result-info em {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: rgba(255,255,255,.24);
    font-size: 9px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suggestion-search-message {
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px dashed rgba(255,255,255,.10);
    border-radius: 13px;
    color: rgba(255,255,255,.42);
    background: rgba(255,255,255,.018);
    font-size: 15px;
    text-align: center;
}

.suggestion-picked-card {
    margin-top: 0;
    padding: 12px;
    gap: 14px;
}

.suggestion-picked-card img,
.suggestion-picked-no-poster {
    flex-basis: 74px;
    width: 74px;
    height: 106px;
}

.suggestion-picked-info h3 {
    font-size: 18px;
}

.suggestion-picked-info p {
    margin: 5px 0 10px;
    font-size: 15px;
}

.suggestion-picked-remove {
    padding: 7px 10px;
    font-size: 15px;
}

.suggestion-details {
    margin-top: 18px;
}

.suggestion-simple-fields {
    margin-top: 0;
}

.suggestion-simple-field select,
.suggestion-field select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    outline: none;
    color: #f4f1eb;
    background: rgba(5,5,9,.70);
    font: inherit;
}

.suggestion-field select:focus {
    border-color: rgba(170,75,255,.75);
    box-shadow: 0 0 0 3px rgba(155,55,255,.08);
}

.suggestion-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.28);
    border-top-color: #fff;
    border-radius: 50%;
    animation: suggestionSpin .7s linear infinite;
}

@keyframes suggestionSpin {
    to { transform: rotate(360deg); }
}

.suggestion-submit:disabled,
.suggestion-search-button:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.suggestion-actions {
    margin-top: 0;
}

.suggestion-message.success { color: #72e8a8; }
.suggestion-message.error { color: #ff8291; }

/* Viewer list */
.suggestions-list-section {
    margin-top: 0;
}

.suggestion-toolbar {
    align-items: stretch;
}

.suggestion-toolbar-search {
    flex: 1 1 320px;
    min-width: 220px;
}

.suggestion-icon-button.active {
    border-color: rgba(168,85,247,.55);
    color: #c28cff;
    background: rgba(139,92,246,.12);
}

.suggestions-grid {
    align-items: stretch;
}

.suggestions-empty-wide,
.suggestions-loading.suggestions-empty-wide {
    grid-column: 1 / -1;
}

.suggestion-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.suggestion-card-poster {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: #14111b;
}

.suggestion-card-poster-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b15cff;
    background: linear-gradient(145deg,#21162f,#111019);
    font-size: 30px;
}

.suggestion-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px;
}

.suggestion-card-topline,
.suggestion-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.suggestion-card-type,
.suggestion-card-status {
    color: rgba(255,255,255,.38);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.suggestion-card-status.status-new { color: #b981ff; }
.suggestion-card-status.status-accepted { color: #69e6a1; }
.suggestion-card-status.status-rejected { color: #ff7789; }

.suggestion-card h3 {
    margin: 10px 0 4px;
    color: #f4f0ea;
    font-size: 17px;
    line-height: 1.2;
}

.suggestion-card-meta {
    margin: 0;
    color: rgba(255,255,255,.30);
    font-size: 15px;
    line-height: 1.5;
}

.suggestion-card-comment {
    display: -webkit-box;
    margin: 12px 0 15px;
    overflow: hidden;
    color: rgba(255,255,255,.47);
    font-size: 15px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.suggestion-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.28);
    font-size: 15px;
}

.suggestion-card-footer strong { color: rgba(255,255,255,.62); }

.suggestion-like {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    color: rgba(255,255,255,.48);
    background: rgba(255,255,255,.025);
    cursor: pointer;
}

.suggestion-like:hover {
    color: #d094ff;
    border-color: rgba(168,85,247,.35);
    background: rgba(139,92,246,.08);
}

.suggestions-grid-compact .suggestion-card {
    display: grid;
    grid-template-columns: 78px minmax(0,1fr);
}

.suggestions-grid-compact .suggestion-card-poster {
    width: 78px;
    height: 112px;
}

.suggestions-grid-compact .suggestion-card-body { padding: 11px; }
.suggestions-grid-compact .suggestion-card-comment { -webkit-line-clamp: 2; }




/* =========================================================
   ПРЕДЛОЖКА — ФИНАЛЬНЫЙ ВИД
   ========================================================= */

.suggestions-page {
    font-size: 16px;
}

.suggestions-list-heading {
    margin-bottom: 24px;
}

.suggestions-list-heading h2 {
    margin: 7px 0 7px;
    color: #f2eee8;
    font-size: 32px;
    line-height: 1.2;
}

.suggestions-list-heading p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.42);
    font-size: 16px;
    line-height: 1.6;
}

.suggestion-toolbar {
    gap: 10px;
    margin-bottom: 14px;
}

.suggestion-toolbar-search input {
    height: 46px;
    font-size: 16px;
}

.suggestion-select {
    height: 46px;
    min-width: 160px;
    font-size: 15px;
}

.suggestion-icon-button {
    width: 46px;
    height: 46px;
    font-size: 16px;
}

.suggestion-filter-group {
    gap: 8px;
    margin-bottom: 12px;
}

.suggestion-filter {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 750;
}

.suggestion-filter .n {
    font-size: 15px;
    font-weight: 700;
}

/* Сетка: две нормальные карточки в ряд */
.suggestions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

/* Карточка: постер слева, информация справа */
.suggestion-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-width: 0;
    min-height: 210px;
    overflow: hidden;
    border-radius: 17px;
}

.suggestion-card-poster {
    display: block;
    width: 150px;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    background: #14111b;
}

.suggestion-card-poster-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    min-height: 210px;
    color: #b15cff;
    background: linear-gradient(145deg,#21162f,#111019);
    font-size: 30px;
}

.suggestion-card-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 18px;
}

.suggestion-card-topline,
.suggestion-card-footer {
    gap: 10px;
}

.suggestion-card-type,
.suggestion-card-status {
    font-size: 15px;
    line-height: 1.3;
    letter-spacing: .055em;
}

.suggestion-card h3 {
    margin: 10px 0 7px;
    color: #f4f0ea;
    font-size: 21px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.suggestion-card-meta {
    color: rgba(255,255,255,.40);
    font-size: 15px;
    line-height: 1.5;
}

.suggestion-card-comment {
    margin: 12px 0 15px;
    color: rgba(255,255,255,.54);
    font-size: 15px;
    line-height: 1.55;
    -webkit-line-clamp: 3;
}

.suggestion-card-footer {
    margin-top: auto;
    padding-top: 12px;
    font-size: 15px;
}

.suggestion-like {
    min-width: 42px;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 15px;
}

.suggestion-like b {
    font-size: 15px;
}

/* Компактный режим */
.suggestions-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.suggestions-grid-compact .suggestion-card {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 118px;
}

.suggestions-grid-compact .suggestion-card-poster,
.suggestions-grid-compact .suggestion-card-poster-empty {
    width: 82px;
    min-height: 118px;
    height: 100%;
}

.suggestions-grid-compact .suggestion-card-body {
    padding: 12px;
}

.suggestions-grid-compact .suggestion-card h3 {
    margin: 6px 0 4px;
    font-size: 17px;
}

.suggestions-grid-compact .suggestion-card-meta {
    font-size: 15px;
}

.suggestions-grid-compact .suggestion-card-comment {
    margin: 7px 0 9px;
    font-size: 15px;
    -webkit-line-clamp: 2;
}

.suggestions-grid-compact .suggestion-card-type,
.suggestions-grid-compact .suggestion-card-status {
    font-size: 15px;
}

.suggestions-grid-compact .suggestion-card-footer {
    padding-top: 8px;
    font-size: 15px;
}

.suggestions-grid-compact .suggestion-like {
    min-width: 34px;
    min-height: 28px;
    padding: 4px 7px;
    font-size: 15px;
}

/* Планшет */


/* Телефон */





/* =========================================================
   KIOSHI KAZEMARU — FINAL VISUAL POLISH
   Читаемость + аккуратная типографика + единый premium-стиль
   ========================================================= */

:root {
    --text: #f7f7fb;
    --muted: #aaa8b8;
    --border: rgba(255,255,255,.12);
    --radius: 22px;
}

/* Базовый размер текста */
html {
    font-size: 16px;
}

body {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.005em;
}

/* Все обычные текстовые элементы */
p,
li,
label,
input,
textarea,
select,
button {
    line-height: 1.55;
}

/* Убираем слишком тусклый основной вторичный текст */
.collection-description,
.profile-header p,
.feature-card p,
.suggestions-page p,
.profile-field label,
.collection-heading p,
.collection-results,
.collection-meta,
.footer-copy {
    color: #aaa8b8;
}

/* Навигация */
.desktop-nav a {
    font-size: 15px;
    padding: 11px 14px;
}

.logo {
    font-size: 19px;
}

/* Кнопки */
.button,
.header-login-button,
.account-button {
    font-size: 15px;
}

.button {
    min-height: 56px;
    padding-left: 26px;
    padding-right: 26px;
}

/* HERO */
.hero-badge {
    font-size: 13px;
    padding: 9px 15px;
}

.hero-description {
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.75;
}

/* Секции */
.section-heading span {
    font-size: 13px;
}

.section-heading h2 {
    line-height: 1.05;
}

/* Социальные карточки */
.social-card strong {
    font-size: 17px;
}

.social-card small {
    font-size: 14px;
    line-height: 1.5;
}

/* Feature-карточки */
.feature-card > span {
    font-size: 13px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
}

/* PROFILE */
.profile-label,
.profile-online,
.profile-role,
.profile-field label,
.profile-counter {
    font-size: 14px;
}

.profile-header p {
    font-size: 17px;
}

.profile-username {
    font-size: 16px;
}

.profile-field input,
.profile-field textarea,
.profile-readonly {
    font-size: 16px;
}

.profile-message {
    font-size: 15px;
}

/* ACCOUNT */
.account-button {
    font-size: 15px;
}

.dropdown-user strong {
    font-size: 15px;
}

.dropdown-user span {
    font-size: 14px;
}

.dropdown-link {
    font-size: 15px;
    min-height: 46px;
    padding: 10px 12px;
}

/* COLLECTION */
.collection-label,
.collection-heading > div > span {
    font-size: 13px;
}

.collection-description {
    font-size: 18px;
    line-height: 1.75;
}

.collection-overview-card span {
    font-size: 14px;
}

.collection-overview-card strong {
    font-size: 25px;
}

.collection-heading p {
    font-size: 15px;
}

.collection-search input,
.collection-sort,
.collection-filter {
    font-size: 15px;
}

.collection-results {
    font-size: 14px;
}

.collection-type,
.collection-rating {
    font-size: 13px;
}

.collection-card-body h3 {
    font-size: 17px;
}

.collection-meta {
    font-size: 14px;
}

.collection-status span,
.collection-status time {
    font-size: 13px;
}

.collection-empty p {
    font-size: 15px;
}

.footer-links a,
.footer-socials a {
    font-size: 14px;
}

.footer-copy {
    font-size: 13px;
}

/* =========================================================
   SUGGESTIONS — ПОЛНОСТЬЮ ЧИТАЕМЫЙ ВИД
   ========================================================= */

.suggestions-page,
.suggestions-page button,
.suggestions-page input,
.suggestions-page textarea,
.suggestions-page select {
    font-size: 16px;
}

.suggestions-page .suggestions-label,
.suggestions-page .suggestions-kicker,
.suggestions-page .suggestions-counter {
    font-size: 13px;
}

.suggestions-page .suggestions-header p {
    font-size: 18px;
    line-height: 1.7;
}

.suggestions-page .suggestions-info-card strong {
    font-size: 17px;
}

.suggestions-page .suggestions-info-card span {
    font-size: 15px;
    line-height: 1.6;
}

.suggestions-page .suggestion-section-title h2,
.suggestions-page .suggestions-list-heading h2 {
    font-size: 26px;
}

.suggestions-page .suggestion-section-title p,
.suggestions-page .suggestions-list-heading p {
    font-size: 16px;
    line-height: 1.7;
}

.suggestions-page .suggestion-field label,
.suggestions-page .suggestion-form label {
    font-size: 15px;
}

.suggestions-page input::placeholder,
.suggestions-page textarea::placeholder {
    font-size: 15px;
}

.suggestions-page .suggestion-type-card strong,
.suggestions-page .suggestion-type-card span {
    font-size: 15px;
}

.suggestions-page .suggestion-message {
    font-size: 15px;
}

.suggestions-page .suggestion-submit {
    min-height: 56px;
    font-size: 16px;
}

.suggestions-page .suggestion-card-title {
    font-size: 24px;
    line-height: 1.3;
}

.suggestions-page .suggestion-card-meta,
.suggestions-page .suggestion-card-author {
    font-size: 15px;
}

.suggestions-page .suggestion-card-description,
.suggestions-page .suggestion-card-comment {
    font-size: 16px;
    line-height: 1.7;
}

.suggestions-page .suggestion-card-status {
    font-size: 14px;
}

/* Не даём маленьким служебным надписям стать микроскопическими */
.suggestions-page small,
.suggestions-page .small,
.suggestions-page [class*="counter"],
.suggestions-page [class*="meta"],
.suggestions-page [class*="status"] {
    line-height: 1.45;
}

/* Общая высота кликабельных элементов */
.suggestions-page button,
.suggestions-page select {
    min-height: 44px;
}

/* =========================================================
   ЕДИНЫЕ HOVER-ЭФФЕКТЫ
   ========================================================= */

.social-card,
.feature-card,
.collection-card,
.collection-overview-card,
.profile-card {
    transition:
        transform .25s cubic-bezier(.2,.8,.2,1),
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

/* Более мягкие карточки */
.social-card,
.feature-card,
.collection-card,
.collection-overview-card {
    border-color: rgba(255,255,255,.11);
}

/* Фокус клавиатуры — красиво и заметно */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid rgba(192,132,252,.9);
    outline-offset: 3px;
}

/* =========================================================
   МОБИЛЬНАЯ ЧИТАЕМОСТЬ
   ========================================================= */




/* =========================================================
   KIOSHI SUGGESTIONS — FINAL RELIABILITY / VISUAL PATCH
   ========================================================= */
.suggestions-page { position:relative; isolation:isolate; background:radial-gradient(circle at 12% 8%,rgba(139,92,246,.13),transparent 28%),radial-gradient(circle at 88% 20%,rgba(34,211,238,.07),transparent 25%); }
.suggestions-container { position:relative; z-index:1; }
.suggestions-header h1 { text-shadow:0 0 60px rgba(139,92,246,.16); }
.suggestions-info-card,.suggestion-form,.suggestions-list-section { backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.suggestions-limit { min-width:150px; text-align:center; }
.suggestions-limit strong { display:block; font-size:42px; line-height:.9; font-weight:950; color:#fff; text-shadow:0 0 28px rgba(192,132,252,.35); }
.suggestions-limit small { display:block; margin-top:7px; }
.suggestion-limit-status { display:flex;align-items:center;gap:9px;width:100%;margin-top:14px;padding:12px 15px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.025);color:#aaaab6;font-size:14px; }
.suggestion-limit-status.is-full { color:#ff8e9c;border-color:rgba(255,93,115,.28);background:rgba(255,70,95,.07); }
.limit-dot { width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#64e6a1;box-shadow:0 0 14px rgba(100,230,161,.7); }
.suggestion-limit-status.is-full .limit-dot { background:#ff6278;box-shadow:0 0 14px rgba(255,98,120,.7); }
.suggestion-manual-grid { display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;margin-top:20px; }
.suggestion-manual-grid label { display:flex;flex-direction:column;gap:8px; }
.suggestion-manual-grid label.wide { grid-column:1/-1; }
.suggestion-manual-grid label>span { color:#aaaab5;font-size:13px;font-weight:800; }
.suggestion-manual-grid input,.suggestion-manual-grid select { width:100%;min-height:50px;padding:0 15px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(0,0,0,.22);color:#fff;outline:none; }
.suggestion-manual-grid input:focus,.suggestion-manual-grid select:focus { border-color:rgba(139,92,246,.65);box-shadow:0 0 0 4px rgba(139,92,246,.10); }
.suggestion-hidden-data { display:none!important; }
.suggestion-search-result { min-height:255px; }
.suggestion-search-result img,.suggestion-result-no-poster { aspect-ratio:2/3;height:auto!important;min-height:0!important;object-fit:cover; }
.suggestion-search-result img { display:block;width:100%; }
.suggestion-picked-card { overflow:hidden; }
.suggestion-picked-card img,.suggestion-picked-no-poster { object-fit:cover;background:#15111e; }
.suggestion-card { overflow:hidden; }
.suggestion-card-poster { object-fit:cover; }
.suggestion-submit:disabled { opacity:.45;cursor:not-allowed;filter:none;transform:none; }
.suggestion-message { display:block;min-height:24px; }
.suggestion-message:empty { display:none; }
.suggestion-message.error { padding:11px 14px;border:1px solid rgba(255,93,115,.25);border-radius:12px;background:rgba(255,70,95,.06); }
.suggestion-message.success { padding:11px 14px;border:1px solid rgba(100,230,161,.18);border-radius:12px;background:rgba(100,230,161,.05); }



.suggestion-main-search { position:relative; }
.suggestion-search-clear { position:absolute;right:10px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:#777784;font-size:24px;line-height:1;cursor:pointer; }
.suggestion-search-clear:hover { color:#fff;background:rgba(255,255,255,.07); }
.suggestion-main-search input { padding-right:48px!important; }


/* =========================================================
   KIOSHI SUGGESTIONS — POLISHED VISUAL PASS
   Только внешний вид. JS/HTML-логику не меняет.
========================================================= */

.suggestions-page{
    --s-bg: #0a0810;
    --s-panel: rgba(19,15,28,.88);
    --s-panel-2: rgba(25,19,37,.78);
    --s-border: rgba(255,255,255,.105);
    --s-border-hover: rgba(175,91,255,.55);
    --s-purple: #a855f7;
    --s-purple-2: #c084fc;
    --s-text: #f6f2f8;
    --s-muted: #96909f;
    --s-soft: #6f6878;
    --s-green: #69e6a1;
}

/* Контейнер — больше воздуха, но без огромных пустот */
.suggestions-page{
    padding-top: 96px;
    padding-bottom: 86px;
}

.suggestions-container{
    width: min(1220px, calc(100% - 48px));
}

/* Заголовок */
.suggestions-header{
    margin-bottom: 34px;
}

.suggestions-header-top{
    align-items: center;
    gap: 18px;
}

.suggestions-label,
.suggestions-kicker{
    color: var(--s-purple-2);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .16em;
}

.suggestions-counter{
    color: #716a7a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.suggestions-header h1{
    margin: 10px 0 12px;
    font-size: clamp(48px, 6vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
    color: var(--s-text);
}

.suggestions-header p{
    max-width: 760px;
    margin: 0;
    color: #aaa3b0;
    font-size: 17px;
    line-height: 1.7;
}

/* Линия под hero */
.suggestions-hero-line{
    margin-top: 25px;
}

.suggestions-hero-line small{
    color: #716a7a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

/* Информационные карточки */
.suggestions-info{
    gap: 14px;
    margin-bottom: 28px;
}

.suggestions-info-card{
    min-height: 94px;
    padding: 20px 21px;
    border: 1px solid var(--s-border);
    border-radius: 18px;
    background: linear-gradient(145deg,rgba(28,21,40,.92),rgba(13,11,19,.90));
    box-shadow: 0 16px 45px rgba(0,0,0,.16);
    transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.suggestions-info-card:hover{
    transform: translateY(-2px);
    border-color: rgba(175,91,255,.30);
    box-shadow: 0 20px 55px rgba(0,0,0,.23);
}

.suggestions-info-number{
    width: 42px;
    height: 42px;
    border: 1px solid rgba(168,85,247,.32);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #c084fc;
    background: rgba(139,92,246,.08);
    font-size: 12px;
    font-weight: 900;
}

/* Главная форма */
.suggestion-form{
    padding: 28px;
    border: 1px solid var(--s-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0,rgba(168,85,247,.08),transparent 28%),
        linear-gradient(145deg,rgba(25,19,37,.94),rgba(12,11,17,.94));
    box-shadow: 0 22px 70px rgba(0,0,0,.24);
}

.suggestions-form-heading{
    gap: 24px;
    margin-bottom: 22px;
}

.suggestion-section-title h2{
    margin: 5px 0 7px;
    color: var(--s-text);
    font-size: 28px;
    letter-spacing: -.025em;
}

.suggestion-section-title p{
    color: #8f8898;
    font-size: 15px;
    line-height: 1.65;
}

/* Лимит */
.suggestions-limit{
    min-width: 176px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
}

.suggestions-limit span{
    color: #777080;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.suggestions-limit strong{
    margin: 5px 0 2px;
    font-size: 38px;
}

.suggestions-limit small{
    color: #777080;
    font-size: 12px;
}

/* Три источника */
.suggestion-source-tabs{
    gap: 12px;
}

.suggestion-source-tabs .tab{
    min-height: 78px;
    padding: 15px 17px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 16px;
    background: rgba(255,255,255,.018);
    transition: transform .2s ease,border-color .2s ease,background .2s ease;
}

.suggestion-source-tabs .tab:hover{
    transform: translateY(-2px);
    border-color: rgba(168,85,247,.35);
    background: rgba(139,92,246,.055);
}

.suggestion-source-tabs .tab.on{
    border-color: rgba(168,85,247,.75);
    background: linear-gradient(145deg,rgba(139,92,246,.13),rgba(168,85,247,.045));
    box-shadow: 0 0 0 1px rgba(168,85,247,.08),0 12px 35px rgba(120,50,190,.12);
}

.suggestion-tab-icon{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.055);
    display: grid;
    place-items: center;
    font-size: 20px;
}

/* Поиск */
.suggestion-main-search input,
.suggestion-search-row input,
.suggestion-toolbar-search input{
    height: 52px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(5,5,9,.72);
    color: #fff;
    font-size: 16px;
    transition: border-color .2s ease,box-shadow .2s ease,background .2s ease;
}

.suggestion-main-search input:focus,
.suggestion-search-row input:focus,
.suggestion-toolbar-search input:focus{
    border-color: rgba(168,85,247,.72);
    background: rgba(8,6,12,.90);
    box-shadow: 0 0 0 4px rgba(168,85,247,.10),0 10px 30px rgba(0,0,0,.18);
}

.suggestion-search-button,
.suggestion-submit{
    min-height: 52px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 900;
    transition: transform .2s ease,box-shadow .2s ease,filter .2s ease;
}

.suggestion-search-button:hover,
.suggestion-submit:hover:not(:disabled){
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(146,61,218,.25);
    filter: brightness(1.05);
}

/* Карточки результатов поиска — компактные и аккуратные */
.suggestion-search-results{
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 14px;
    margin-top: 16px;
}

.suggestion-search-result{
    min-width: 0;
    border-radius: 16px;
    border-color: rgba(255,255,255,.09);
    background: linear-gradient(145deg,rgba(28,21,40,.96),rgba(12,11,17,.98));
}

.suggestion-search-result img,
.suggestion-result-no-poster{
    width: 100%;
    aspect-ratio: 2 / 3;
    height: auto !important;
    min-height: 0 !important;
    max-height: 320px;
    object-fit: cover;
}

.suggestion-result-info{
    min-height: 76px;
    padding: 12px 13px 14px;
}

.suggestion-result-info strong{
    font-size: 15px;
}

.suggestion-result-info small{
    font-size: 12px;
}

/* Выбранный тайтл */
.suggestion-picked-card{
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(168,85,247,.38);
    border-radius: 17px;
    background: linear-gradient(145deg,rgba(45,27,65,.55),rgba(15,12,22,.86));
    box-shadow: 0 14px 40px rgba(0,0,0,.18);
}

.suggestion-picked-card img,
.suggestion-picked-no-poster{
    width: 82px;
    height: 112px;
    border-radius: 11px;
    object-fit: cover;
}

/* Сообщения */
.suggestion-message{
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.55;
}

/* Divider */
.suggestions-divider{
    margin: 48px 0 34px;
    gap: 14px;
}

.suggestions-divider small{
    color: #625b6b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
}

/* Список зрителей */
.suggestions-list-section{
    padding: 28px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 22px;
    background:
        radial-gradient(circle at 0 0,rgba(168,85,247,.055),transparent 30%),
        rgba(15,13,21,.78);
}

.suggestions-list-heading h2{
    margin: 7px 0 8px;
    font-size: 32px;
    letter-spacing: -.03em;
}

.suggestions-list-heading p{
    max-width: 720px;
    margin: 0 0 24px;
    color: #8d8695;
    font-size: 15px;
    line-height: 1.7;
}

/* Панель фильтров */
.suggestion-toolbar{
    display: grid;
    grid-template-columns: minmax(0,1fr) 190px 190px 46px 46px;
    gap: 10px;
    margin-bottom: 12px;
}

.suggestion-toolbar-search{
    min-width: 0;
}

.suggestion-toolbar-search input{
    height: 48px;
    padding-left: 42px;
}

.suggestion-select{
    width: 100%;
    height: 48px;
    min-width: 0;
    padding: 0 38px 0 14px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    color: #ddd7e4;
    background-color: #121019;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg,transparent 50%,#888 50%),
        linear-gradient(135deg,#888 50%,transparent 50%);
    background-position:
        calc(100% - 17px) 20px,
        calc(100% - 12px) 20px;
    background-size: 5px 5px,5px 5px;
    background-repeat: no-repeat;
}

.suggestion-select:focus{
    border-color: rgba(168,85,247,.62);
    box-shadow: 0 0 0 4px rgba(168,85,247,.08);
}

.suggestion-icon-button{
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    color: #aaa3b0;
    background: rgba(255,255,255,.025);
    transition: .2s ease;
}

.suggestion-icon-button:hover{
    color: #fff;
    border-color: rgba(168,85,247,.42);
    background: rgba(139,92,246,.08);
    transform: translateY(-1px);
}

/* Фильтры — не мелкие */
.suggestion-filter-group{
    gap: 8px;
    margin-bottom: 18px;
}

.suggestion-filter{
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    color: #938c9b;
    background: rgba(255,255,255,.018);
    font-size: 14px;
    font-weight: 800;
    transition: .18s ease;
}

.suggestion-filter .n{
    color: #777080;
    font-size: 14px;
}

.suggestion-filter.active{
    color: #fff;
    border-color: rgba(168,85,247,.62);
    background: rgba(139,92,246,.12);
    box-shadow: 0 7px 20px rgba(120,50,190,.10);
}

.suggestion-filter.active .n{
    color: #c084fc;
}

/* Карточки предложений — никакого гигантского пустого пространства */
.suggestions-grid{
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.suggestion-card{
    display: grid;
    grid-template-columns: 150px minmax(0,1fr);
    width: 100%;
    min-width: 0;
    min-height: 218px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 18px;
    background:
        linear-gradient(145deg,rgba(28,21,40,.92),rgba(12,11,17,.96));
    box-shadow: 0 14px 38px rgba(0,0,0,.14);
    transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.suggestion-card:hover{
    transform: translateY(-2px);
    border-color: rgba(168,85,247,.38);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.suggestion-card-poster,
.suggestion-card-poster-empty{
    width: 150px;
    height: 100%;
    min-height: 218px;
    object-fit: cover;
}

.suggestion-card-poster-empty{
    display: grid;
    place-items: center;
    color: #b15cff;
    background: linear-gradient(145deg,#241633,#100d16);
    font-size: 30px;
}

.suggestion-card-body{
    min-width: 0;
    padding: 18px;
}

.suggestion-card-topline{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.suggestion-card-type{
    color: #8f8799;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.suggestion-card-status{
    flex: 0 0 auto;
    color: #c084fc;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.suggestion-card-status.status-accepted{
    color: var(--s-green);
}

.suggestion-card-status.status-rejected{
    color: #ff7d8d;
}

.suggestion-card h3{
    margin: 11px 0 6px;
    color: #f5f1f7;
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.suggestion-card-meta{
    color: #81798b;
    font-size: 14px;
    line-height: 1.5;
}

.suggestion-card-comment{
    margin: 13px 0;
    color: #aaa3b0;
    font-size: 14px;
    line-height: 1.55;
}

.suggestion-card-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #777080;
    font-size: 13px;
}

.suggestion-like{
    min-width: 42px;
    min-height: 34px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 10px;
    color: #8f8797;
    background: rgba(255,255,255,.025);
    font-size: 14px;
    transition: .18s ease;
}

.suggestion-like:hover,
.suggestion-like.liked{
    color: #d29aff;
    border-color: rgba(168,85,247,.45);
    background: rgba(139,92,246,.10);
}

/* Loading / empty — аккуратно по центру */
.suggestions-loading,
.suggestions-empty-wide{
    min-height: 220px;
    border: 1px dashed rgba(255,255,255,.09);
    border-radius: 18px;
    display: grid;
    place-items: center;
    text-align: center;
    background: rgba(255,255,255,.015);
}

.suggestions-loading-icon{
    color: #b15cff;
    font-size: 28px;
}

/* Ручной ввод */
.suggestion-manual-grid{
    gap: 14px;
}

.suggestion-manual-grid label>span{
    color: #99919f;
    font-size: 13px;
}

.suggestion-manual-grid input,
.suggestion-manual-grid select{
    min-height: 52px;
    border-radius: 14px;
    font-size: 15px;
}

/* Планшет */


/* Телефон */





/* =========================================================
   KIOSHI SUGGESTIONS — READABILITY + 24H LIMIT PATCH
   ========================================================= */

/* Текст больше и спокойнее для глаз. */
.suggestions-page {
    --s-readable: #f4f0f7;
    --s-readable-muted: #aaa3b2;
}

.suggestions-page .suggestions-header p,
.suggestions-page .suggestions-info-card span,
.suggestions-page .suggestion-section-title p,
.suggestions-page .suggestion-search-title span,
.suggestions-page .suggestion-manual-heading span,
.suggestions-page .suggestion-status,
.suggestions-page .suggestion-limit-status,
.suggestions-page .suggestion-message {
    font-size: 16px !important;
    line-height: 1.65 !important;
}

.suggestions-page .suggestions-info-card strong,
.suggestions-page .suggestion-manual-heading strong,
.suggestions-page .suggestion-search-title strong {
    font-size: 17px !important;
    line-height: 1.35 !important;
}

.suggestions-page .suggestions-limit {
    min-width: 205px !important;
}

.suggestions-page .suggestions-limit span {
    font-size: 12px !important;
}

.suggestions-page .suggestions-limit small {
    font-size: 13px !important;
}

.suggestions-page .suggestion-limit-status {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: min(100%, 420px);
    margin-top: 12px;
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    color: #aaa3b2;
    font-size: 14px;
    line-height: 1.45;
}

.suggestions-page .suggestion-limit-status strong {
    color: #f5f1fa;
    font-weight: 850;
}

.suggestions-page .suggestion-limit-status.is-full {
    color: #ff9aa7;
    border-color: rgba(255,93,115,.28);
    background: rgba(255,70,95,.07);
}

.suggestions-page .limit-dot {
    width: 9px;
    height: 9px;
    min-width: 9px;
    margin-top: 7px;
    border-radius: 50%;
    background: #64e6a1;
    box-shadow: 0 0 14px rgba(100,230,161,.65);
}

.suggestions-page .suggestion-limit-status.is-full .limit-dot {
    background: #ff6278;
    box-shadow: 0 0 14px rgba(255,98,120,.65);
}

/* Не обрезаем пользовательский текст в карточках. */
.suggestions-page .suggestion-card h3 {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
    font-size: 20px !important;
    line-height: 1.25 !important;
}

.suggestions-page .suggestion-card-meta {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
    color: rgba(255,255,255,.50) !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
}

.suggestions-page .suggestion-card-comment {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    color: rgba(255,255,255,.62) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    overflow-wrap: anywhere;
}

.suggestions-page .suggestion-card-type,
.suggestions-page .suggestion-card-status {
    font-size: 12px !important;
    line-height: 1.3 !important;
}

.suggestions-page .suggestion-card-footer {
    font-size: 15px !important;
}

.suggestions-page .suggestion-card-footer strong {
    color: #eee8f4;
}

.suggestions-page .suggestion-card-poster {
    height: 270px !important;
    aspect-ratio: 2 / 3;
}

.suggestions-page .suggestion-card-body {
    padding: 20px !important;
}

.suggestions-page .suggestion-card {
    min-height: 0;
}

/* Результаты поиска тоже не режем по высоте текста. */
.suggestions-page .suggestion-result-info strong {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
    font-size: 16px !important;
    line-height: 1.35 !important;
}

.suggestions-page .suggestion-result-info small,
.suggestions-page .suggestion-result-info em {
    font-size: 14px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.suggestions-page .suggestion-search-result img,
.suggestions-page .suggestion-result-no-poster {
    height: 250px !important;
    aspect-ratio: 2 / 3;
}

.suggestions-page .suggestion-simple-field > span {
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.suggestions-page .suggestion-simple-field input,
.suggestions-page .suggestion-simple-field textarea,
.suggestions-page .suggestion-manual-grid input,
.suggestions-page .suggestion-manual-grid select {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.suggestions-page .suggestion-manual-grid label > span {
    font-size: 14px !important;
}

.suggestions-page .suggestion-manual-grid {
    margin-top: 22px;
    gap: 16px;
}

.suggestions-page .suggestion-manual-grid input,
.suggestions-page .suggestion-manual-grid select {
    min-height: 52px;
}

.suggestions-page .suggestion-manual-heading {
    margin-bottom: 2px;
}

/* Чтобы длинные строки нигде не вылезали за карточку. */
.suggestions-page .suggestion-card,
.suggestions-page .suggestion-card-body,
.suggestions-page .suggestion-card-footer,
.suggestions-page .suggestion-picked-card,
.suggestions-page .suggestion-picked-info {
    min-width: 0;
}






/* =========================================================
   ТЁМНЫЕ ВЫПАДАЮЩИЕ СПИСКИ
   ========================================================= */

select {
    color-scheme: dark !important;
    background-color: #0b0a10 !important;
    color: #f5f2fa !important;
}

select option {
    background-color: #0b0a10 !important;
    color: #f5f2fa !important;
}

select option:checked {
    background-color: #6d28d9 !important;
    color: #ffffff !important;
}

/* =========================================================
   KIOSHI — FINAL READABILITY / NO-CLIP PATCH
   ========================================================= */

html { font-size: 16px; }

body {
    font-size: 16px;
    line-height: 1.6;
}

p,
li,
label,
input,
textarea,
select,
button {
    font-size: 15px;
}

.collection-card-body h3,
.collection-card-body .collection-meta,
.suggestion-result-info strong,
.suggestion-result-info small,
.admin-suggestion-card h2,
.admin-suggestion-meta,
.admin-suggestion-comment p,
.k-item h3,
.k-item p {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
}

.collection-card-body h3 {
    font-size: 17px;
    line-height: 1.35;
}

.collection-meta {
    line-height: 1.5;
}

.suggestion-result-info strong {
    font-size: 17px;
    line-height: 1.3;
}

.suggestion-result-info small {
    font-size: 14px;
    line-height: 1.4;
}

.admin-suggestion-card h2 {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.25;
}

.admin-suggestion-meta {
    font-size: 14px;
    line-height: 1.55;
}

.admin-suggestion-comment p {
    font-size: 15px;
    line-height: 1.6;
}

.k-item h3 {
    font-size: 18px;
    line-height: 1.35;
}

.k-item p {
    font-size: 15px;
    line-height: 1.6;
}

.suggestion-limit-status {
    min-height: 46px;
    font-size: 14px !important;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.suggestion-limit-status strong {
    font-size: 15px !important;
}

.suggestion-submit:disabled {
    pointer-events: none;
}

button,
a,
select,
input[type="checkbox"],
input[type="radio"] {
    touch-action: manipulation;
}

img {
    max-width: 100%;
}

/* =========================================================
   ADMIN AUTH PROTECTION
   ========================================================= */

html.admin-auth-checking body {
    visibility: hidden;
}

html.admin-auth-checking {
    background: #08070d;
}

html.admin-auth-denied body {
    visibility: hidden;
}/* =========================================================
   KIOSHI ADMIN AUTH PROTECTION
   ========================================================= */

html.admin-auth-checking body {
    visibility: hidden;
}

html.admin-auth-checking {
    background: #08070d;
}

html.admin-auth-denied body {
    visibility: hidden;
}/* =========================================================
   KIOSHI ADMIN AUTH PROTECTION
   ========================================================= */

html.admin-auth-checking body {
    visibility: hidden;
}

html.admin-auth-checking {
    background: #08070d;
}

html.admin-auth-denied body {
    visibility: hidden;
}/* =========================================================
   KIOSHI ADMIN AUTH PROTECTION
   ========================================================= */

html.admin-auth-checking body {
    visibility: hidden;
}

html.admin-auth-checking {
    background: #08070d;
}

html.admin-auth-denied body {
    visibility: hidden;
}


/* =========================================================
   KIOSHI FINAL RESPONSIVE / UX SAFETY LAYER
   ========================================================= */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

button,
a,
select {
    -webkit-tap-highlight-color: transparent;
}

button:not(.icon-button),
.admin-collection-page .button,
.admin-suggestion-button,
.debt-button,
.btn {
    min-height: 44px;
}

.collection-card,
.admin-suggestion-card,
.debt-card,
.k-panel,
.k-page-hero,
.admin-stat,
.admin-suggestion-stat,
.admin-modal-box {
    min-width: 0;
}

.collection-card img,
.admin-suggestion-card img,
.debt-card img {
    max-width: 100%;
}







/* KIOSHI 2026: readable hero and responsive navigation */
.hero h1 { font-size: clamp(48px, 7vw, 92px); line-height: .92; letter-spacing: -.055em; margin-bottom: 24px; }
.hero-description { max-width: 620px; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.55; margin-bottom: 28px; }
.hero-badge { font-size: 12px; letter-spacing: .12em; }



/* KAZEMARU — FINAL CROSS-DEVICE POLISH */
:root{--kaz-container:1240px}html,body{max-width:100%;overflow-x:hidden}body{text-rendering:optimizeLegibility}.site-header{padding-inline:clamp(10px,2vw,24px)}.header-inner{width:min(100%,var(--kaz-container));gap:10px}.logo{flex:0 0 auto;white-space:nowrap}.desktop-nav{min-width:0;flex:1 1 auto;justify-content:center}.desktop-nav a{white-space:nowrap}.account-widget,.header-login-button{flex:0 0 auto}.logo,.mobile-logo,.footer-brand,.brand-text,.footer-inner>strong{font-size:18px!important;line-height:1!important;letter-spacing:.16em!important;white-space:nowrap!important}.hero{min-height:720px}.hero-content{max-width:920px}.hero-avatar{width:118px;height:118px}.hero h1{font-size:clamp(48px,7vw,92px)}.hero-description{max-width:650px}.k-page,.collection-page,.suggestions-page,.profile-page,.debts-page{width:min(100%,var(--kaz-container));margin-inline:auto}img{height:auto}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid rgba(168,85,247,.9);outline-offset:2px}.schedule-public-item{align-items:stretch}.schedule-public-copy{min-width:0}.schedule-day strong{text-transform:none}






/* FINAL MOBILE MENU / HEADER INTERACTION FIX */
.site-header .header-inner { position: relative; z-index: 201; pointer-events: auto; }
.menu-button { position: relative; z-index: 202; pointer-events: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.menu-overlay { pointer-events: none; }
.menu-overlay.is-visible { pointer-events: auto; }
.mobile-menu { pointer-events: auto; }
.menu-close, .mobile-nav a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }


/* KAZEMARU SOCIAL FOOTER — shared across every page */
.site-footer .footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.site-footer .footer-socials a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
    color: rgba(255,255,255,.68);
    text-decoration: none;
    background: rgba(255,255,255,.025);
    transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.site-footer .footer-socials a:hover,
.site-footer .footer-socials a:focus-visible {
    color: #fff;
    border-color: rgba(155,74,255,.65);
    background: rgba(155,74,255,.10);
    transform: translateY(-1px);
}



/* =========================================================
   DYNAMIC ADMIN PANEL LINK
   Добавляется layout.js только пользователю с ролью
   admin/moderator в public.admin_users.
   ========================================================= */

.account-dropdown .admin-panel-link {
    border: 1px solid rgba(168, 85, 247, .28);
    border-radius: 10px;
    background: rgba(168, 85, 247, .09);
    color: #d9b9ff;
    font-weight: 800;
}

.account-dropdown .admin-panel-link:hover {
    border-color: rgba(168, 85, 247, .55);
    background: rgba(168, 85, 247, .16);
    color: #ffffff;
}


/* =========================================================
   KAZEMARU — ACCOUNT BUTTON MASTER STYLE
   The account control must look identical on every page.
   ========================================================= */
.account-widget,
#accountWidget {
    position: relative;
    margin-left: 18px;
    z-index: 1000;
}

.account-widget .account-button,
#accountWidget .account-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 44px;
    min-height: 44px;
    width: auto;
    padding: 5px 12px 5px 6px;
    box-sizing: border-box;

    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.04) !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.account-widget .account-button:hover,
#accountWidget .account-button:hover,
.account-widget.is-open .account-button,
#accountWidget.is-open .account-button {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.10) !important;
    box-shadow: none !important;
    transform: none !important;
}

.account-widget .account-avatar,
#accountWidget .account-avatar,
.account-widget .account-avatar-fallback,
#accountWidget .account-avatar-fallback {
    width: 32px;
    height: 32px;
    min-width: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    box-sizing: border-box;
}

.account-widget .account-avatar,
#accountWidget .account-avatar {
    object-fit: cover;
    border: 2px solid #19d8ff !important;
    box-shadow: 0 0 8px rgba(25,216,255,.35);
}

.account-widget .account-name,
#accountWidget .account-name {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
}

.account-widget .account-arrow,
#accountWidget .account-arrow {
    color: rgba(255,255,255,.55) !important;
    font-size: 11px;
    transform: none !important;
}

.account-widget.is-open .account-arrow,
#accountWidget.is-open .account-arrow {
    transform: rotate(180deg) !important;
}

/* Remove page-specific purple styling from the account wrapper. */
.header-account-button,
.header-account-button:hover {
    background: none !important;
}



/* =========================================================
   MODERATION ACTIONS ON SUGGESTION CARDS
   ========================================================= */
.suggestion-moderation-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.suggestion-moderation-button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 9px;
    background: rgba(255,255,255,.035);
    color: #eeeae4;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .18s ease;
}

.suggestion-moderation-button.approve {
    border-color: rgba(50,220,140,.28);
    color: #69e6a1;
}

.suggestion-moderation-button.approve:hover {
    background: rgba(50,220,140,.10);
    border-color: rgba(50,220,140,.55);
}

.suggestion-moderation-button.reject {
    border-color: rgba(255,70,90,.28);
    color: #ff7789;
}

.suggestion-moderation-button.reject:hover {
    background: rgba(255,70,90,.10);
    border-color: rgba(255,70,90,.55);
}


.suggestion-moderation-button.delete {
    border-color: rgba(255,90,90,.32);
    color: #ff8a8a;
}

.suggestion-moderation-button.delete:hover {
    background: rgba(255,70,90,.10);
    border-color: rgba(255,90,90,.60);
}

.suggestion-moderation-button:disabled {
    opacity: .55;
    cursor: wait;
}



/* Clickable suggestion author. Moderators/admins can use it to open the profile. */
.suggestion-author-link {
    color: inherit;
    text-decoration: none;
    transition: color .15s ease, text-decoration-color .15s ease;
}
.suggestion-author-link:hover {
    color: #b77cff;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   KIOSHI — CLICKABLE PROFILE LINKS
   ========================================================= */
.admin-suggestion-author,
.suggestion-author-link {
    position: relative;
    z-index: 100;
}

.admin-suggestion-author-link,
.suggestion-author-link {
    position: relative;
    z-index: 50;
    pointer-events: auto !important;
    cursor: pointer !important;
    color: #c9a7ff !important;
    text-decoration: none;
    font-weight: 800;
}
.admin-suggestion-author-link:hover,
.suggestion-author-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}


/* =========================================================
   KAZEMARU — custom alert / confirmation dialogs
   ========================================================= */

#kazemaru-alert-root,
#kazemaru-confirm-root,
#kazemaru-prompt-root {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2147483000 !important;
    pointer-events: none;
}

#kazemaru-alert-root .kz-dialog-backdrop,
#kazemaru-confirm-root .kz-dialog-backdrop,
#kazemaru-prompt-root .kz-dialog-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 24px !important;
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(5, 3, 12, 0.78) !important;
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .18s ease,
        visibility .18s ease;
}

#kazemaru-alert-root .kz-dialog-backdrop.is-open,
#kazemaru-confirm-root .kz-dialog-backdrop.is-open,
#kazemaru-prompt-root .kz-dialog-backdrop.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#kazemaru-alert-root .kz-dialog,
#kazemaru-confirm-root .kz-dialog,
#kazemaru-prompt-root .kz-dialog {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;

    width: min(520px, calc(100vw - 48px)) !important;
    max-width: 520px !important;
    max-height: calc(100vh - 48px) !important;
    margin: auto !important;

    box-sizing: border-box !important;
    overflow: auto !important;

    padding: 30px !important;
    border: 1px solid rgba(164, 91, 255, .30) !important;
    border-radius: 22px !important;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(119, 56, 190, .18),
            transparent 55%
        ),
        #120d1d !important;

    box-shadow:
        0 28px 90px rgba(0, 0, 0, .65),
        0 0 45px rgba(122, 62, 190, .16) !important;

    color: #f5f0ff !important;

    transform: translateY(12px) scale(.97);
    opacity: 0;

    transition:
        transform .20s ease,
        opacity .20s ease;
}

#kazemaru-alert-root .kz-dialog-backdrop.is-open .kz-dialog,
#kazemaru-confirm-root .kz-dialog-backdrop.is-open .kz-dialog,
#kazemaru-prompt-root .kz-dialog-backdrop.is-open .kz-dialog {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
}

#kazemaru-alert-root .kz-dialog-icon,
#kazemaru-confirm-root .kz-dialog-icon,
#kazemaru-prompt-root .kz-dialog-icon {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;
    border: 1px solid rgba(180, 112, 255, .35) !important;

    background: rgba(132, 66, 205, .14) !important;
    color: #b978ff !important;

    font-size: 24px !important;
    font-weight: 800 !important;
}

#kazemaru-alert-root .kz-dialog-title,
#kazemaru-confirm-root .kz-dialog-title,
#kazemaru-prompt-root .kz-dialog-title {
    margin: 0 0 10px !important;
    text-align: center !important;

    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

#kazemaru-alert-root .kz-dialog-message,
#kazemaru-confirm-root .kz-dialog-message,
#kazemaru-prompt-root .kz-dialog-message {
    margin: 0 !important;
    text-align: center !important;

    color: rgba(235, 226, 248, .76) !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

#kazemaru-alert-root .kz-dialog-actions,
#kazemaru-confirm-root .kz-dialog-actions,
#kazemaru-prompt-root .kz-dialog-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;

    margin-top: 24px !important;
}

#kazemaru-alert-root .kz-dialog-btn,
#kazemaru-confirm-root .kz-dialog-btn,
#kazemaru-prompt-root .kz-dialog-btn {
    min-width: 120px !important;
    min-height: 44px !important;
    padding: 10px 22px !important;

    border: 1px solid rgba(166, 92, 255, .45) !important;
    border-radius: 12px !important;

    background: linear-gradient(
        135deg,
        #7d3fc0,
        #5b2b91
    ) !important;

    color: #ffffff !important;

    font: inherit !important;
    font-weight: 700 !important;
    cursor: pointer !important;

    box-shadow:
        0 8px 24px rgba(94, 42, 145, .28) !important;

    transition:
        transform .15s ease,
        filter .15s ease,
        box-shadow .15s ease !important;
}

#kazemaru-alert-root .kz-dialog-btn:hover,
#kazemaru-confirm-root .kz-dialog-btn:hover,
#kazemaru-prompt-root .kz-dialog-btn:hover {
    filter: brightness(1.12) !important;
    transform: translateY(-1px) !important;
    box-shadow:
        0 10px 28px rgba(94, 42, 145, .38) !important;
}

#kazemaru-alert-root .kz-dialog-btn:active,
#kazemaru-confirm-root .kz-dialog-btn:active,
#kazemaru-prompt-root .kz-dialog-btn:active {
    transform: translateY(0) !important;
}

#kazemaru-alert-root .kz-dialog-btn:focus-visible,
#kazemaru-confirm-root .kz-dialog-btn:focus-visible,
#kazemaru-prompt-root .kz-dialog-btn:focus-visible {
    outline: 2px solid #b978ff !important;
    outline-offset: 3px !important;
}




/* KAZEMARU — live suggestion state */
.suggestion-like-live {
    transition: transform .18s ease, opacity .18s ease;
}
.suggestion-like-live.is-updating {
    transform: scale(.96);
    opacity: .72;
}


/* KAZEMARU — anonymous author is text, never a profile link */
.debt-anonymous-author{
    color:inherit;
    font-weight:800;
}
.debt-anonymous-revealed{
    color:#c9a7ff !important;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
}
.debt-anonymous-revealed:hover{
    text-decoration:underline;
}
.suggestion-author-link,
.debt-author-link{
    color:#c9a7ff !important;
    font-weight:800;
}


/* KAZEMARU GLOBAL TOOLS — clean desktop header */
.header-inner{
    position:relative;
}
.kioshi-global-tools{
    position:absolute;
    right:92px;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    align-items:center;
    gap:8px;
    z-index:5;
}
.kioshi-global-tool{
    min-height:38px;
    padding:0 11px;
    white-space:nowrap;
    font:inherit;
    font-weight:800;
}
