:root {
--cp-bg: #131417;
--cp-surface: #1e1f26;
--cp-surface-hover: #252830;
--cp-border: #2c303a;
--cp-text: #ffffff;
--cp-text-muted: #868e96;
--cp-accent: #0ebeff;
--cp-green: #47cf73;
--cp-yellow: #ffdd40;
--cp-red: #f43f5e;
--cp-purple: #a855f7;
--cp-gold: #f59e0b;
}
body.light-theme {
--cp-bg: #f8fafc;
--cp-surface: #ffffff;
--cp-surface-hover: #f1f5f9;
--cp-border: #e2e8f0;
--cp-text: #0f172a;
--cp-text-muted: #64748b;
--cp-accent: #0284c7;
}
body.light-theme .cp-header { background: #ffffff; border-bottom-color: #e2e8f0; }
body.light-theme .cp-brand-text { color: #0f172a; }
body.light-theme .cp-side-drawer { background: #ffffff; border-right-color: #e2e8f0; }
body.light-theme .cp-search-wrap input { background: #f1f5f9; color: #0f172a; border-color: #cbd5e1; }
body.light-theme .cp-card,
body.light-theme .cp-drawer-stats-box,
body.light-theme .cp-prompt-snippet,
body.light-theme .cp-footer-rank-card,
body.light-theme .cp-inv-card,
body.light-theme .cp-mail-card,
body.light-theme .pass-quest-card,
body.light-theme .pass-tier-box,
body.light-theme .cp-chest-card,
body.light-theme .cp-shop-card,
body.light-theme .cp-user-box,
body.light-theme .cp-avatar-builder {
background: #ffffff;
border-color: #e2e8f0;
color: #0f172a;
}
body.light-theme .cp-drawer-item { background: rgba(241, 245, 249, 0.75); border-color: #e2e8f0; color: #334155; }
body.light-theme .cp-drawer-item.active {
background: linear-gradient(90deg, rgba(2, 132, 199, 0.16) 0%, rgba(2, 132, 199, 0.04) 100%);
color: #0f172a;
border-color: #0284c7;
}
body.light-theme .cp-subitem { background: rgba(248, 250, 252, 0.95); border-color: #e2e8f0; color: #475569; }
body.light-theme .cp-subitem.active { background: #e0f2fe; color: #0369a1; border-color: #0284c7; }
body.light-theme .cp-subitem-icon-box { background: rgba(2, 132, 199, 0.08); border-color: rgba(2, 132, 199, 0.2); }
body.light-theme .cp-prompt-code { color: #0369a1; }
body.light-theme .cp-dropdown { background: #ffffff; border-color: #e2e8f0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
body.light-theme .cp-drop-link { color: #334155; }
body.light-theme .cp-drop-link:hover { background: #f1f5f9; color: #0f172a; }
body.light-theme .cp-settings-row { background: #f8fafc; border-color: #e2e8f0; }
body.light-theme .cp-settings-title,
body.light-theme .cp-card-title,
body.light-theme .cp-stat-val,
body.light-theme .inv-item-title,
body.light-theme .pass-quest-title,
body.light-theme .cp-author-uname,
body.light-theme .cp-stats-row strong { color: #0f172a; }
body.light-theme .cp-toggle-btn { background: #e2e8f0; color: #334155; border-color: #cbd5e1; }
body.light-theme .cp-toggle-btn.active { background: #0284c7; color: #ffffff; border-color: #0284c7; }
body.light-theme .cp-input { background: #f8fafc; border-color: #cbd5e1; color: #0f172a; }
body.light-theme .cp-chat-popup { background: #ffffff; border-color: #e2e8f0; }
body.light-theme .cp-chat-header,
body.light-theme .cp-chat-input-row,
body.light-theme .cp-card-comments { background: #f8fafc; border-color: #e2e8f0; }
body.light-theme .cp-chat-bubble { background: #f1f5f9; border-color: #e2e8f0; color: #0f172a; }
*, *::before, *::after, html, body, button, a, input, select, textarea, img, div, span, svg {
box-sizing: border-box;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
-webkit-tap-highlight-color: transparent !important;
-webkit-touch-callout: none !important;
}
button, a, .cp-chip, .cp-avatar-btn, .cp-icon-btn, .cp-drawer-item, .cp-subitem, .cp-drop-link, .cp-stat-btn {
outline: none !important;
box-shadow: none;
-webkit-user-select: none !important;
user-select: none !important;
}
button:focus, button:active, button:focus-visible, a:focus, a:active, a:focus-visible,
.cp-chip:focus, .cp-chip:active, .cp-chip:focus-visible, .cp-avatar-btn:focus, .cp-avatar-btn:active,
.cp-icon-btn:focus, .cp-icon-btn:active {
outline: none !important;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background-color: var(--cp-bg);
color: var(--cp-text);
line-height: 1.5;
overflow-x: hidden;
transition: background-color 0.25s ease, color 0.25s ease;
}
.cp-header {
position: sticky;
top: 0;
z-index: 100;
background: var(--cp-surface);
border-bottom: 1px solid var(--cp-border);
height: 56px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 12px;
}
.cp-header-left { display: flex; align-items: center; gap: 12px; }
.cp-icon-btn {
position: relative;
background: transparent;
border: none;
color: var(--cp-text-muted);
width: 38px;
height: 38px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: 0.2s ease;
}
.cp-icon-btn:hover { background: var(--cp-surface-hover); color: var(--cp-text); }
.cp-btn-menu-highlight {
width: 44px !important;
height: 44px !important;
background: rgba(14, 190, 255, 0.08) !important;
border: 1.5px solid rgba(14, 190, 255, 0.45) !important;
color: #38bdf8 !important;
border-radius: 10px !important;
box-shadow: 0 0 14px rgba(14, 190, 255, 0.3) !important;
animation: menuPulseAttention 2.2s infinite ease-in-out !important;
cursor: pointer;
}
.cp-btn-menu-highlight svg { width: 24px !important; height: 24px !important; transition: transform 0.2s ease; }
.cp-btn-menu-highlight:hover {
background: #0ebeff !important;
color: #0b1329 !important;
box-shadow: 0 0 22px rgba(14, 190, 255, 0.8) !important;
transform: scale(1.08);
}
.cp-btn-menu-highlight:active { transform: scale(0.96); }
@keyframes menuPulseAttention {
0%, 100% { box-shadow: 0 0 8px rgba(14, 190, 255, 0.25); border-color: rgba(14, 190, 255, 0.35); }
50% { box-shadow: 0 0 20px rgba(14, 190, 255, 0.7), 0 0 32px rgba(14, 190, 255, 0.3); border-color: #38bdf8; transform: scale(1.04); }
}
.cp-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.cp-logo-box {
width: 34px;
height: 34px;
border-radius: 8px;
overflow: hidden;
background: #000;
border: 1px solid var(--cp-border);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.cp-logo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-brand-text { font-weight: 800; font-size: 17px; color: #fff; letter-spacing: 0.2px; }
.cp-header-center { flex: 1; max-width: 440px; margin: 0 12px; }
.cp-search-wrap { position: relative; display: flex; align-items: center; }
.cp-search-wrap .search-ico { position: absolute; left: 10px; color: var(--cp-text-muted); pointer-events: none; }
.cp-search-wrap input {
width: 100%;
background: #131417;
border: 1px solid var(--cp-border);
color: #fff;
padding: 8px 12px 8px 34px;
border-radius: 8px;
font-size: 13px;
outline: none;
transition: 0.2s;
}
.cp-search-wrap input:focus { border-color: var(--cp-accent); }
.cp-header-right { display: flex; align-items: center; gap: 8px; }
.cp-btn-create-nav {
background: linear-gradient(135deg, #0284c7, #02b0ff);
color: #fff;
border: none;
padding: 7px 15px;
font-size: 13px;
font-weight: 700;
border-radius: 8px;
cursor: pointer;
transition: opacity 0.2s, transform 0.15s;
}
.cp-btn-create-nav:hover { opacity: 0.92; transform: scale(1.02); }
@media (max-width: 640px) {
.cp-btn-create-nav { display: none; }
.cp-brand-text { display: none; }
}
.cp-badge-counter {
position: absolute;
top: 0px;
right: 0px;
background: linear-gradient(135deg, #ff0844, #f43f5e);
color: #ffffff;
font-size: 10px;
font-weight: 900;
min-width: 18px;
height: 18px;
border-radius: 9px;
display: flex;
align-items: center;
justify-content: center;
padding: 0 4px;
border: 1.5px solid var(--cp-surface);
box-shadow: 0 0 10px rgba(244, 63, 94, 0.8);
z-index: 15;
pointer-events: none;
animation: badgePopPulse 1.8s infinite ease-in-out;
}
@keyframes badgePopPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.12); }
}
.cp-user-menu-wrap { position: relative; }
.cp-avatar-btn {
background: transparent !important;
border: none !important;
padding: 0 !important;
border-radius: 50% !important;
display: inline-flex !important;
align-items: center;
justify-content: center;
overflow: visible !important;
cursor: pointer;
outline: none !important;
box-shadow: none !important;
}
.cp-avatar-btn img {
width: 36px;
height: 36px;
border-radius: 50% !important;
object-fit: cover;
border: 1px solid var(--cp-border);
transition: transform 0.18s ease;
display: block !important;
}
.cp-avatar-btn:hover img { transform: scale(1.06); }
.cp-dropdown {
position: absolute;
top: 48px;
right: 0;
width: 225px;
background: #171922;
border: 1px solid #2d3342;
border-radius: 12px;
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.1);
z-index: 200;
padding: 8px;
animation: dropdownFadeIn 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes dropdownFadeIn {
from { opacity: 0; transform: translateY(-8px) scale(0.96); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.cp-dropdown-header {
padding: 10px 12px;
font-size: 13px;
font-weight: 700;
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(255, 255, 255, 0.03);
border-radius: 8px;
margin-bottom: 4px;
}
.cp-dropdown-divider { height: 1px; background: rgba(255, 255, 255, 0.08); margin: 6px 4px; }
.cp-drop-link {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
font-size: 13.5px;
font-weight: 600;
color: #cbd5e1;
text-decoration: none;
border-radius: 8px;
transition: 0.15s ease;
}
.cp-drop-link:hover { background: rgba(255, 255, 255, 0.06); color: #ffffff; }
.text-danger { color: #fb7185 !important; }
.text-danger:hover { background: rgba(244, 63, 94, 0.12) !important; color: #f43f5e !important; }
.text-accent { color: var(--cp-accent) !important; font-weight: 600; }
.text-success { color: var(--cp-green) !important; font-weight: 700; }
.cp-drawer-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(2px);
z-index: 300;
}
.cp-side-drawer {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 295px;
background: var(--cp-surface);
border-right: 1px solid var(--cp-border);
z-index: 310;
transform: translateX(-100%);
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
flex-direction: column;
}
.cp-side-drawer.open { transform: translateX(0); }
.cp-drawer-head {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px;
border-bottom: 1px solid var(--cp-border);
}
.cp-drawer-section-title { font-size: 11px; font-weight: 800; color: var(--cp-text-muted); letter-spacing: 0.8px; }
.cp-close-drawer { background: transparent; border: none; color: var(--cp-text-muted); font-size: 18px; cursor: pointer; }
.cp-create-box { padding: 14px 16px; }
.cp-btn-gradient {
width: 100%;
background: linear-gradient(135deg, #0284c7, #06b6d4);
color: #fff;
border: none;
padding: 10px;
border-radius: 8px;
font-weight: 700;
font-size: 14px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.cp-btn-gradient:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5); }
.cp-drawer-nav {
flex: 1;
overflow-y: auto;
padding: 10px 14px;
display: flex;
flex-direction: column;
gap: 5px;
}
.cp-drawer-item {
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
padding: 9px 12px;
font-size: 13.5px;
font-weight: 600;
color: #94a3b8;
text-decoration: none;
border-radius: 10px;
border: 1px solid rgba(44, 48, 58, 0.7);
background: rgba(22, 28, 43, 0.45);
backdrop-filter: blur(8px);
cursor: pointer;
transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
user-select: none;
}
.cp-drawer-item:hover {
border-color: rgba(14, 190, 255, 0.6);
background: rgba(25, 33, 52, 0.85);
color: #ffffff;
transform: translateX(4px);
box-shadow: 0 4px 18px -2px rgba(14, 190, 255, 0.2), inset 0 0 10px rgba(14, 190, 255, 0.05);
}
.cp-drawer-item.active {
border-color: #0ebeff;
background: linear-gradient(90deg, rgba(14, 190, 255, 0.22) 0%, rgba(14, 190, 255, 0.05) 100%);
color: #ffffff;
box-shadow: 0 0 18px -2px rgba(14, 190, 255, 0.38), inset 0 0 12px rgba(14, 190, 255, 0.08);
}
.cp-nav-left { display: flex; align-items: center; gap: 10px; }
.cp-nav-icon-box {
width: 28px;
height: 28px;
border-radius: 7px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
flex-shrink: 0;
}
.cp-drawer-item:hover .cp-nav-icon-box {
transform: scale(1.1) rotate(-3deg);
background: rgba(14, 190, 255, 0.15);
border-color: rgba(14, 190, 255, 0.5);
color: #38bdf8;
}
.cp-nav-right { display: flex; align-items: center; gap: 8px; }
.cp-nav-icon { width: 17px; height: 17px; stroke: #94a3b8; flex-shrink: 0; transition: stroke 0.18s ease; }
.cp-drawer-item:hover .cp-nav-icon, .cp-drawer-item.active .cp-nav-icon { stroke: #38bdf8; }
.cp-chevron { width: 15px; height: 15px; stroke: #64748b; transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1); }
.cp-nav-group.open .cp-chevron { transform: rotate(180deg); }
.cp-nav-badge { font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; line-height: 1; }
.badge-mint { background: #6ee7b7; color: #064e3b; }
.badge-peach { background: #fdba74; color: #7c2d12; }
.badge-admin-pill { background: linear-gradient(135deg, #f43f5e, #fb7185); color: #fff; }
.cp-nav-group { margin-bottom: 4px; }
.cp-submenu {
position: relative;
display: none;
flex-direction: column;
gap: 5px;
padding-left: 14px;
margin: 6px 0 6px 8px;
border-left: 1.5px solid rgba(14, 190, 255, 0.25);
}
.cp-nav-group.open .cp-submenu { display: flex; }
.cp-subitem {
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 10px;
padding: 7px 11px;
font-size: 12.5px;
font-weight: 500;
color: #cbd5e1;
text-decoration: none;
border-radius: 8px;
border: 1px solid rgba(35, 45, 68, 0.65);
background: rgba(18, 23, 36, 0.5);
transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.cp-subitem-icon-box {
width: 25px;
height: 25px;
border-radius: 6px;
background: rgba(14, 190, 255, 0.08);
border: 1px solid rgba(14, 190, 255, 0.2);
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
flex-shrink: 0;
transition: transform 0.2s ease, border-color 0.2s ease;
}
.cp-subitem:hover {
border-color: rgba(14, 190, 255, 0.55);
background: rgba(25, 33, 52, 0.9);
color: #38bdf8;
transform: translateX(5px);
box-shadow: 0 3px 14px -2px rgba(14, 190, 255, 0.22);
}
.cp-subitem:hover .cp-subitem-icon-box {
transform: scale(1.15) rotate(4deg);
border-color: #38bdf8;
background: rgba(14, 190, 255, 0.2);
}
.cp-subitem.active {
border-color: #38bdf8;
background: rgba(30, 42, 68, 0.95);
color: #ffffff;
font-weight: 700;
box-shadow: 0 0 14px -2px rgba(14, 190, 255, 0.35);
}
.cp-subitem.active .cp-subitem-icon-box { border-color: #38bdf8; background: rgba(14, 190, 255, 0.3); }
.cp-settings-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 14px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--cp-border);
border-radius: 10px;
margin-bottom: 10px;
}
.cp-settings-info { text-align: left; }
.cp-settings-title { font-size: 13.5px; font-weight: 700; color: #ffffff; display: flex; align-items: center; gap: 6px; }
.cp-settings-sub { font-size: 11px; color: var(--cp-text-muted); margin-top: 2px; }
.cp-toggle-btn {
background: #252830;
border: 1px solid var(--cp-border);
color: #cbd5e1;
padding: 6px 14px;
border-radius: 8px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s;
}
.cp-toggle-btn.active {
background: var(--cp-accent);
color: #0b1329;
border-color: var(--cp-accent);
box-shadow: 0 0 12px rgba(14, 190, 255, 0.4);
}
.cp-btn-reset-session {
width: 100%;
background: linear-gradient(135deg, #f43f5e, #be123c);
color: #ffffff;
border: none;
padding: 11px;
border-radius: 8px;
font-weight: 700;
font-size: 13px;
cursor: pointer;
transition: transform 0.15s, opacity 0.2s;
margin-top: 8px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.cp-btn-reset-session:hover { opacity: 0.92; transform: scale(1.02); }
.cp-drawer-stats-box { background: #131417; border: 1px solid var(--cp-border); border-radius: 8px; padding: 12px; }
.cp-drawer-stats-title { font-size: 11px; font-weight: 800; color: var(--cp-text-muted); text-transform: uppercase; margin-bottom: 8px; }
.cp-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.cp-stat-metric { display: flex; flex-direction: column; }
.cp-stat-val { font-weight: 800; font-size: 14px; color: #fff; }
.cp-stat-lbl { font-size: 9px; color: var(--cp-text-muted); line-height: 1.1; margin-top: 2px; }
.cp-drawer-footer { border-top: 1px solid var(--cp-border); }
.cp-footer-rank-card { background: var(--cp-bg); border: 1px solid var(--cp-border); padding: 10px; border-radius: 8px; }
.cp-main-container { max-width: 1200px; margin: 0 auto; padding: 16px 12px 60px 12px; }
.cp-tabs-bar { margin-bottom: 16px; }
.cp-chips-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.cp-chips-scroll::-webkit-scrollbar { display: none; }
.cp-chip {
background: var(--cp-surface);
border: 1px solid var(--cp-border);
color: var(--cp-text-muted);
padding: 6px 14px;
border-radius: 20px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
white-space: nowrap;
transition: 0.15s;
}
.cp-chip:hover, .cp-chip.active { background: var(--cp-accent); color: #0b1329; border-color: var(--cp-accent); }
.cp-feed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
@media (max-width: 680px) { .cp-feed-grid { grid-template-columns: 1fr; } }
.cp-card {
background: var(--cp-surface);
border: 1px solid var(--cp-border);
border-radius: 10px;
overflow: hidden;
display: flex;
flex-direction: column;
transition: border-color 0.2s, box-shadow 0.2s;
position: relative;
}
.cp-card:hover { border-color: #404552; }
.cp-card.boosted { border: 2px solid #eab308 !important; box-shadow: 0 0 22px rgba(234, 179, 8, 0.28) !important; }
.cp-card.boosted::before {
content: "🔥 ТОП ПРОМПТ";
position: absolute;
top: -11px;
right: 16px;
background: #eab308;
color: #0b1329;
font-size: 10px;
font-weight: 800;
padding: 2px 8px;
border-radius: 10px;
z-index: 10;
letter-spacing: 0.5px;
}
.cp-card-header { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; }
.cp-author-left { display: flex; align-items: center; gap: 10px; }
.cp-author-left img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; cursor: pointer; }
.cp-author-uname { font-weight: 700; font-size: 13px; color: #fff; cursor: pointer; }
.cp-author-uname:hover { color: var(--cp-accent); }
.cp-card-tags { display: flex; align-items: center; gap: 6px; }
.cp-pill-tag {
font-size: 11px;
padding: 2px 7px;
border-radius: 4px;
background: #131417;
color: var(--cp-accent);
border: 1px solid var(--cp-border);
font-weight: 600;
}
.cp-slider-box {
position: relative;
width: 100%;
aspect-ratio: 4 / 3;
background: #000;
overflow: hidden;
user-select: none;
container-type: inline-size;
}
.cp-slider-box > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-cut-layer {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 50%;
overflow: hidden;
border-right: 2px solid var(--cp-accent);
z-index: 2;
}
.cp-cut-layer img {
position: absolute;
top: 0;
left: 0;
width: 100cqw;
min-width: 100cqw;
max-width: none;
height: 100%;
object-fit: cover;
display: block;
}
.cp-slider-handle {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--cp-accent);
color: #000;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-size: 13px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
z-index: 5;
pointer-events: none;
}
.cp-slider-range { position: absolute; inset: 0; opacity: 0; cursor: ew-resize; z-index: 10; width: 100%; height: 100%; margin: 0; }
.cp-tag-label {
position: absolute;
bottom: 8px;
background: rgba(0, 0, 0, 0.75);
color: #fff;
font-size: 10px;
font-weight: 800;
padding: 2px 6px;
border-radius: 4px;
z-index: 6;
text-transform: uppercase;
}
.tag-l { left: 8px; }
.tag-r { right: 8px; background: #0284c7; }
.cp-single-box { width: 100%; aspect-ratio: 4 / 3; background: #000; }
.cp-single-box img { width: 100%; height: 100%; object-fit: cover; }
.cp-card-body { padding: 12px 14px; flex: 1; }
.cp-card-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: #f8fafc; }
.cp-prompt-snippet {
background: #131417;
border: 1px solid var(--cp-border);
border-radius: 8px;
padding: 10px 12px !important;
position: relative;
margin-bottom: 8px;
}
.cp-prompt-code {
font-family: monospace;
font-size: 12px;
color: #bae6fd;
white-space: pre-wrap;
word-break: break-word !important;
line-height: 1.45 !important;
padding-right: 0 !important;
transition: max-height 0.2s ease;
}
.cp-code-actions {
position: static !important;
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
gap: 8px !important;
margin-top: 8px !important;
padding-top: 8px !important;
border-top: 1px dashed rgba(255, 255, 255, 0.08) !important;
}
.cp-btn-action-sm {
background: #252830;
border: 1px solid var(--cp-border);
color: #cbd5e1;
font-size: 11px;
font-weight: 600;
padding: 5px 10px;
border-radius: 6px;
cursor: pointer;
transition: 0.15s ease;
}
.cp-btn-action-sm:hover { background: #313540; color: #fff; }
.cp-card-footer {
padding: 8px 14px;
border-top: 1px solid var(--cp-border);
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12px;
color: var(--cp-text-muted);
}
.cp-footer-left { display: flex; align-items: center; gap: 12px; }
.cp-stat-btn {
background: transparent;
border: none;
color: var(--cp-text-muted);
display: flex;
align-items: center;
gap: 4px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: 0.15s;
}
.cp-stat-btn:hover { color: #fff; }
.cp-stat-btn.active-like { color: var(--cp-red) !important; }
.cp-stat-btn.active-fav { color: #f59e0b !important; }
.cp-stat-btn.active-fav svg { fill: #f59e0b !important; stroke: #f59e0b !important; }
.like-heart-icon.heart-pop { animation: heartPop 0.3s ease; }
@keyframes heartPop {
0% { transform: scale(1); }
50% { transform: scale(1.4); }
100% { transform: scale(1); }
}
.cp-card-comments { border-top: 1px solid var(--cp-border); padding: 10px 14px; background: #17181c; }
.cp-comment-row { display: flex; justify-content: space-between; align-items: flex-start; font-size: 12px; padding: 5px 0; border-bottom: 1px dashed var(--cp-border); }
.btn-del-comm { background: transparent; border: none; color: #f43f5e; cursor: pointer; font-size: 12px; padding: 0 4px; opacity: 0.7; }
.btn-del-comm:hover { opacity: 1; }
.cp-form-card { padding: 18px; margin-bottom: 20px; }
.cp-form-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cp-close-btn { background: transparent; border: none; color: var(--cp-text-muted); font-size: 18px; cursor: pointer; }
.cp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .cp-form-grid { grid-template-columns: 1fr; } }
label { font-size: 12px; color: var(--cp-text-muted); margin-bottom: 4px; display: block; }
.cp-input {
width: 100%;
padding: 8px 12px;
background: #131417;
border: 1px solid var(--cp-border);
color: #fff;
border-radius: 6px;
margin-bottom: 12px;
outline: none;
font-size: 13px;
}
.cp-input:focus { border-color: var(--cp-accent); }
.cp-code-area { font-family: monospace; }
.cp-file-status { font-size: 11px; color: var(--cp-green); margin-top: -8px; margin-bottom: 8px; }
.cp-btn-primary {
background: var(--cp-accent);
color: #0b1329;
border: none;
padding: 8px 16px;
font-weight: 700;
border-radius: 6px;
font-size: 13px;
cursor: pointer;
transition: 0.2s;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
}
.cp-btn-primary:hover:not(:disabled) { opacity: 0.9; }
.cp-btn-primary:disabled { background: #334155 !important; color: #94a3b8 !important; cursor: not-allowed !important; opacity: 0.7; }
.cp-btn-outline { background: transparent; border: 1px solid var(--cp-border); color: #cbd5e1; padding: 8px 14px; font-weight: 600; border-radius: 6px; font-size: 13px; cursor: pointer; }
.cp-btn-danger { background: transparent; border: 1px solid var(--cp-red); color: var(--cp-red); padding: 8px 14px; font-weight: 700; border-radius: 6px; cursor: pointer; }
.cp-profile-banner { background: var(--cp-surface); border: 1px solid var(--cp-border); border-radius: 10px; padding: 24px 20px; margin-bottom: 24px; }
.cp-profile-header-wrap { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.cp-profile-avatar-box { position: relative; cursor: zoom-in; display: inline-block; border-radius: 50%; }
.cp-profile-avatar-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cp-accent); transition: transform 0.22s ease, filter 0.22s ease; display: block; }
.cp-profile-avatar-box:hover img { transform: scale(1.06); filter: brightness(1.1); }
.cp-avatar-zoom-hint {
position: absolute;
bottom: 0;
right: 0;
background: rgba(14, 190, 255, 0.9);
color: #0b1329;
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
border: 2px solid var(--cp-surface);
pointer-events: none;
box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.cp-avatar-inspect-card {
background: rgba(20, 23, 33, 0.96);
border: 1px solid rgba(14, 190, 255, 0.4);
border-radius: 20px;
padding: 28px 24px;
max-width: 380px;
width: 100%;
text-align: center;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(14, 190, 255, 0.2);
animation: dropdownFadeIn 0.2s ease;
}
.cp-avatar-inspect-img-wrap { width: 220px; height: 220px; margin: 16px auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #131417; position: relative; }
.cp-avatar-inspect-img-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.cp-profile-details h1 { font-size: 22px; margin-bottom: 4px; }
.cp-profile-subline { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.cp-badge-title { background: #854d0e; color: #fef08a; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.cp-badge-xp { background: #065f46; color: #6ee7b7; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.cp-stats-row { display: flex; gap: 12px; font-size: 13px; color: var(--cp-text-muted); }
.cp-stats-row strong { color: #fff; }
.cp-section-heading { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.cp-profile-bio { font-size: 13px; color: #cbd5e1; margin: 6px 0 8px 0; line-height: 1.4; white-space: pre-line; }
.cp-avatar-builder { background: #141721; border: 1px solid var(--cp-border); border-radius: 12px; padding: 16px; margin-top: 8px; }
.builder-preview-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--cp-border); }
.builder-preview-img { width: 84px; height: 84px; border-radius: 50%; background: #1e1f26; border: 2px solid var(--cp-accent); object-fit: cover; flex-shrink: 0; }
.builder-controls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
@media (max-width: 540px) { .builder-controls-grid { grid-template-columns: 1fr; } }
.cp-btn-oauth { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.15); background: #ffffff; color: #1f2937; }
.name-admin {
background: linear-gradient(135deg, #ff0844 0%, #ffb199 45%, #ff0844 90%) !important;
background-size: 200% auto !important;
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent !important;
font-weight: 900 !important;
animation: adminFire 2.2s ease-in-out infinite alternate !important;
text-shadow: 0 0 16px rgba(255, 8, 68, 0.7) !important;
display: inline-flex;
align-items: center;
gap: 4px;
}
@keyframes adminFire {
0% { background-position: 0% 50%; filter: drop-shadow(0 0 4px #ff0844); }
100% { background-position: 100% 50%; filter: drop-shadow(0 0 12px #ff4e50); }
}
.badge-admin { background: linear-gradient(135deg, #e11d48, #9f1239); color: #ffffff !important; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.4); box-shadow: 0 0 10px rgba(225, 29, 72, 0.6); display: inline-block; margin-left: 4px; }
.btn-admin-del { background: transparent; border: none; color: #f43f5e; cursor: pointer; font-size: 13px; padding: 0 4px; opacity: 0.75; }
.frame-gold { box-shadow: 0 0 0 3px #eab308, 0 0 16px rgba(234, 179, 8, 0.85) !important; border-radius: 50% !important; }
.frame-neon { box-shadow: 0 0 0 3px #06b6d4, 0 0 16px rgba(168, 85, 247, 0.9) !important; border-radius: 50% !important; animation: neonPulseFrame 2.2s infinite alternate ease-in-out !important; }
@keyframes neonPulseFrame {
0% { box-shadow: 0 0 0 3px #06b6d4, 0 0 12px #06b6d4; }
100% { box-shadow: 0 0 0 3px #a855f7, 0 0 22px #a855f7; }
}
.frame-fire { box-shadow: 0 0 0 3px #f43f5e, 0 0 18px rgba(249, 115, 22, 0.95) !important; border-radius: 50% !important; animation: firePulseFrame 1.4s infinite alternate ease-in-out !important; }
@keyframes firePulseFrame {
0% { box-shadow: 0 0 0 3px #f43f5e, 0 0 12px #f97316; }
100% { box-shadow: 0 0 0 3.5px #fbbf24, 0 0 24px #ef4444; }
}
.frame-epic-neon, .frame-epic_neon { box-shadow: 0 0 0 3px #ec4899, 0 0 18px #8b5cf6, 0 0 28px #3b82f6 !important; border-radius: 50% !important; animation: epicNeonSpin 2s infinite alternate ease-in-out !important; }
@keyframes epicNeonSpin {
0% { box-shadow: 0 0 0 3px #ec4899, 0 0 16px #ec4899, 0 0 28px #8b5cf6; }
50% { box-shadow: 0 0 0 3px #8b5cf6, 0 0 20px #3b82f6, 0 0 32px #06b6d4; }
100% { box-shadow: 0 0 0 3px #06b6d4, 0 0 22px #ec4899, 0 0 34px #f43f5e; }
}
.frame-glitch { box-shadow: -3px 0 0 #00ffff, 3px 0 0 #ff0055, 0 0 16px rgba(0, 255, 255, 0.7) !important; border-radius: 50% !important; animation: glitchFrameAnim 0.8s infinite alternate steps(2) !important; }
@keyframes glitchFrameAnim {
0% { box-shadow: -3px 0 0 #00ffff, 3px 0 0 #ff0055, 0 0 14px #00ffff; }
50% { box-shadow: 3px -2px 0 #ff0055, -3px 2px 0 #00ff88, 0 0 18px #ff0055; }
100% { box-shadow: -2px 3px 0 #ffe600, 2px -3px 0 #00ffff, 0 0 20px #00ff88; }
}
.frame-rainbow, .frame-spectrum { box-shadow: 0 0 0 3px #22c55e, 0 0 20px #eab308 !important; border-radius: 50% !important; animation: rainbowHueFrame 3s infinite linear !important; }
@keyframes rainbowHueFrame {
0% { filter: hue-rotate(0deg); box-shadow: 0 0 0 3px #ff0844, 0 0 18px #ff0844; }
50% { filter: hue-rotate(180deg); box-shadow: 0 0 0 3px #00e5ff, 0 0 22px #00e5ff; }
100% { filter: hue-rotate(360deg); box-shadow: 0 0 0 3px #ff0844, 0 0 18px #ff0844; }
}
.frame-matrix { box-shadow: 0 0 0 3px #10b981, 0 0 18px #059669, inset 0 0 8px #34d399 !important; border-radius: 50% !important; animation: matrixGlow 1.6s infinite alternate !important; }
@keyframes matrixGlow {
0% { box-shadow: 0 0 0 2.5px #10b981, 0 0 10px #10b981; }
100% { box-shadow: 0 0 0 3.5px #4ade80, 0 0 24px #22c55e; }
}
.frame-ice { box-shadow: 0 0 0 3px #38bdf8, 0 0 18px #bae6fd, 0 0 28px #0284c7 !important; border-radius: 50% !important; }
.frame-cosmic { box-shadow: 0 0 0 3px #c084fc, 0 0 20px #7e22ce, 0 0 32px #4f46e5 !important; border-radius: 50% !important; animation: cosmicPulse 2.5s infinite alternate ease-in-out !important; }
@keyframes cosmicPulse {
0% { box-shadow: 0 0 0 3px #c084fc, 0 0 14px #7e22ce; }
100% { box-shadow: 0 0 0 3.5px #818cf8, 0 0 28px #c084fc; }
}
.name-gold { color: #fbbf24 !important; text-shadow: 0 0 10px rgba(251, 191, 36, 0.45); font-weight: 800 !important; }
.name-gradient { background: linear-gradient(90deg, #ec4899, #8b5cf6, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800 !important; }
.name-neon { color: #00f5d4 !important; text-shadow: 0 0 10px rgba(0, 245, 212, 0.65); font-weight: 800 !important; }
.name-fire { background: linear-gradient(90deg, #ff4e50, #f9d423); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800 !important; }
.name-matrix { color: #4ade80 !important; text-shadow: 0 0 10px rgba(74, 222, 128, 0.6); font-family: monospace; font-weight: 800 !important; }
.name-diamond { background: linear-gradient(90deg, #e0f2fe, #38bdf8, #bae6fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 12px rgba(56, 189, 248, 0.4); font-weight: 900 !important; }
.name-cosmic { background: linear-gradient(90deg, #c084fc, #f472b6, #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800 !important; }
.cp-inventory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cp-inv-card { background: #141721; border: 1px solid var(--cp-border); border-radius: 12px; padding: 16px; text-align: center; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s, border-color 0.2s; }
.cp-inv-card:hover { transform: translateY(-3px); }
.inv-rarity-rare { border-color: rgba(14, 190, 255, 0.5) !important; box-shadow: 0 0 14px rgba(14, 190, 255, 0.15); }
.inv-rarity-epic { border-color: rgba(168, 85, 247, 0.6) !important; box-shadow: 0 0 16px rgba(168, 85, 247, 0.22); }
.inv-rarity-legendary { border-color: rgba(245, 158, 11, 0.7) !important; box-shadow: 0 0 20px rgba(245, 158, 11, 0.3); }
.inv-item-icon { font-size: 42px; margin: 8px 0; }
.inv-item-title { font-size: 14px; font-weight: 800; margin-bottom: 4px; color: #fff; }
.inv-item-desc { font-size: 11px; color: #868e96; margin-bottom: 12px; line-height: 1.3; }
.inv-item-qty { position: absolute; top: 8px; right: 8px; background: rgba(255, 255, 255, 0.1); padding: 2px 6px; border-radius: 10px; font-size: 10px; font-weight: 800; }
.craft-slot { width: 70px; height: 70px; border: 2px dashed var(--cp-border); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; background: #131417; color: #868e96; transition: 0.2s; }
.craft-slot.filled { border-style: solid; border-color: var(--cp-accent); color: #fff; background: rgba(14, 190, 255, 0.1); }
.wheel-outer-wrapper { position: relative; display: inline-block; margin: 0 auto; }
.wheel-pointer { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 28px; color: #f43f5e; z-index: 10; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8)); }
#lucky-wheel-canvas { display: block; border-radius: 50%; box-shadow: 0 0 24px rgba(0, 0, 0, 0.7); transition: transform 4s cubic-bezier(0.15, 0.9, 0.25, 1); }
.quiz-guess-btn { background: var(--cp-surface); border: 1px solid var(--cp-border); color: #cbd5e1; padding: 12px 14px; border-radius: 8px; font-size: 13px; text-align: left; cursor: pointer; transition: 0.15s; }
.quiz-guess-btn:hover { background: var(--cp-surface-hover); border-color: var(--cp-accent); color: #fff; }
.cp-battle-card { background: var(--cp-surface); border: 1px solid var(--cp-border); border-radius: 12px; overflow: hidden; padding: 16px; display: flex; flex-direction: column; }
.battle-vs-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.battle-vs-badge { background: linear-gradient(135deg, #ef4444, #f59e0b); color: #fff; font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 6px; letter-spacing: 0.5px; }
.battle-arena-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.battle-side { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #000; }
.battle-side img { width: 100%; height: 100%; object-fit: cover; }
.battle-vote-btn { width: 100%; padding: 8px; margin-top: 6px; font-size: 12px; font-weight: 700; border-radius: 6px; cursor: pointer; border: 1px solid var(--cp-border); background: #17181c; color: #fff; transition: 0.15s; }
.battle-vote-btn:hover { background: var(--cp-accent); color: #000; }
.pass-quest-card { background: #141721; border: 1px solid var(--cp-border); border-radius: 10px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pass-quest-left { display: flex; align-items: center; gap: 12px; }
.pass-quest-icon { font-size: 26px; }
.pass-quest-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.pass-quest-progress { font-size: 11px; color: #868e96; }
.pass-rewards-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.pass-tier-box { background: #141721; border: 1px solid var(--cp-border); border-radius: 10px; padding: 14px 10px; text-align: center; position: relative; }
.pass-tier-box.unlocked { border-color: #fbbf24; box-shadow: 0 0 12px rgba(251, 191, 36, 0.2); }
.pass-tier-lvl { font-size: 10px; font-weight: 800; color: #868e96; text-transform: uppercase; }
.pass-tier-icon { font-size: 30px; margin: 6px 0; }
.pass-tier-name { font-size: 11px; font-weight: 700; color: #cbd5e1; }
.builder-chips-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; margin-bottom: 12px; }
.builder-chips-group .cp-chip.active { background: linear-gradient(135deg, #0284c7, #06b6d4) !important; color: #fff !important; border-color: #38bdf8 !important; }
.cp-mailbox-container { display: flex; flex-direction: column; gap: 10px; }
.cp-mail-card { background: var(--cp-surface); border: 1px solid var(--cp-border); border-radius: 8px; padding: 14px; transition: 0.15s; }
.cp-mail-card.unread { border-left: 4px solid var(--cp-accent); background: #232530; }
.cp-mail-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cp-mail-author { font-weight: 700; font-size: 13px; color: var(--cp-accent); }
.cp-mail-date { font-size: 11px; color: var(--cp-text-muted); }
.cp-mail-subject { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cp-mail-body { font-size: 13px; color: #cbd5e1; white-space: pre-wrap; margin-bottom: 8px; }
.cp-floating-chat-trigger {
position: fixed;
bottom: 20px;
right: 20px;
background: linear-gradient(135deg, #0284c7, #06b6d4);
color: #fff;
padding: 10px 18px;
border-radius: 30px;
font-weight: 700;
font-size: 13px;
box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
cursor: pointer;
z-index: 250;
display: flex;
align-items: center;
gap: 8px;
transition: transform 0.22s ease, opacity 0.22s ease;
}
.cp-floating-chat-trigger:hover { transform: scale(1.04); }
body.drawer-open .cp-floating-chat-trigger,
body.drawer-open .cp-chat-popup,
.cp-floating-chat-trigger.drawer-hidden {
opacity: 0 !important;
pointer-events: none !important;
transform: translateY(24px) scale(0.9) !important;
}
.cp-chat-pulse { width: 8px; height: 8px; background: #47cf73; border-radius: 50%; box-shadow: 0 0 6px #47cf73; }
.cp-chat-popup {
position: fixed;
bottom: 74px;
right: 20px;
width: 360px;
height: 480px;
max-width: calc(100vw - 30px);
background: var(--cp-surface);
border: 1px solid var(--cp-border);
border-radius: 12px;
box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
z-index: 260;
display: flex;
flex-direction: column;
overflow: hidden;
transition: opacity 0.2s ease, transform 0.2s ease;
}
.cp-chat-header { padding: 12px 14px; background: #17181c; border-bottom: 1px solid var(--cp-border); display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.cp-chat-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cp-chat-msg-row { display: flex; gap: 8px; font-size: 12px; }
.cp-chat-msg-row img { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.cp-chat-bubble { background: #131417; border: 1px solid var(--cp-border); border-radius: 8px; padding: 6px 10px; max-width: 80%; }
.cp-chat-uname { font-weight: 700; font-size: 11px; color: var(--cp-accent); margin-bottom: 2px; }
.cp-chat-input-row { padding: 8px; border-top: 1px solid var(--cp-border); background: #17181c; display: flex; gap: 6px; }
.cp-chat-input-row input { margin-bottom: 0; }
.cp-modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.85); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 12px; }
.cp-notifs-box { max-height: 340px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.cp-notif-item { padding: 10px 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--cp-border); border-radius: 8px; font-size: 12.5px; }
.cp-notif-item.unread { border-left: 3px solid var(--cp-accent); background: rgba(14, 190, 255, 0.08); }
.cp-crop-dialog { background: var(--cp-surface); border: 1px solid var(--cp-border); width: 100%; max-width: 640px; border-radius: 10px; padding: 16px; }
.cp-crop-workspace { width: 100%; height: 350px; background: #000; overflow: hidden; margin: 12px 0; border-radius: 6px; }
.cp-crop-workspace img { max-width: 100%; display: block; }
.cp-crop-actions { display: flex; justify-content: flex-end; gap: 8px; }
.cp-leader-list { padding: 12px; }
.cp-leader-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--cp-border); }
.cp-leader-pos { width: 30px; font-weight: 800; color: var(--cp-accent); }
.cp-users-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cp-user-box { background: var(--cp-surface); border: 1px solid var(--cp-border); padding: 12px; border-radius: 8px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: 0.15s; }
.cp-user-box:hover { border-color: var(--cp-accent); }
.cp-user-box img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.cp-auth-card { max-width: 420px; margin: 30px auto; background: var(--cp-surface); border: 1px solid var(--cp-border); padding: 24px; border-radius: 10px; width: 100%; }
.cp-toast { position: fixed; bottom: 20px; right: 20px; background: var(--cp-green); color: #000; font-weight: 700; padding: 10px 18px; border-radius: 6px; z-index: 2000; }
.hidden { display: none !important; }
.cp-chests-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
.cp-chest-card { position: relative; background: #141721; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 24px 20px; text-align: center; overflow: hidden; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); transition: transform 0.2s, border-color 0.2s; }
.cp-chest-card:hover { transform: translateY(-4px); border-color: rgba(71, 207, 115, 0.4); }
.cp-chest-card.gold:hover { border-color: rgba(234, 179, 8, 0.5); }
.cp-chest-icon-box { font-size: 54px; line-height: 1; margin-bottom: 16px; display: inline-block; transition: transform 0.2s; }
.cp-chest-card:hover .cp-chest-icon-box { transform: scale(1.15) rotate(4deg); }
.cp-chest-glow { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 140px; height: 140px; background: radial-gradient(circle, rgba(71, 207, 115, 0.25) 0%, transparent 70%); filter: blur(20px); pointer-events: none; }
.cp-chest-glow.gold-glow { background: radial-gradient(circle, rgba(234, 179, 8, 0.3) 0%, transparent 70%); }
.cp-shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-bottom: 24px; }
.cp-shop-card { position: relative; background: #141721; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 20px 16px 18px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); transition: transform 0.2s ease, border-color 0.2s ease; }
.cp-shop-card:hover { transform: translateY(-4px); border-color: rgba(14, 190, 255, 0.4); }
.shop-badge-tag { position: absolute; top: 10px; right: 10px; font-size: 9px; font-weight: 900; padding: 2px 7px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.shop-badge-new { background: #0ebeff; color: #0b1329; }
.shop-badge-epic { background: linear-gradient(135deg, #ec4899, #8b5cf6); color: #fff; }
.shop-badge-hit { background: #eab308; color: #000; }
.cp-shop-card h4 { font-size: 16px; margin: 10px 0 6px; }
.cp-shop-card p { font-size: 12px; color: #868e96; margin-bottom: 14px; flex-grow: 1; }
.shop-preview-ava { width: 64px; height: 64px; margin: 0 auto 4px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.shop-preview-ava img { width: 100%; height: 100%; border-radius: 50%; }
.cp-cyber-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; grid-column: 1 / -1; }
.loader-orbit-box { position: relative; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; }
.orbit-ring { position: absolute; border-radius: 50%; border: 2px solid transparent; }
.ring-1 { width: 100%; height: 100%; border-top-color: #0ebeff; border-bottom-color: #0ebeff; animation: cyberSpin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; box-shadow: 0 0 14px rgba(14, 190, 255, 0.4); }
.ring-2 { width: 75%; height: 75%; border-left-color: #47cf73; border-right-color: #47cf73; animation: cyberSpinReverse 0.9s linear infinite; box-shadow: 0 0 12px rgba(71, 207, 115, 0.4); }
.orbit-core { font-size: 20px; animation: corePulse 1.4s ease-in-out infinite alternate; }
.loader-text-glow { margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #bae6fd; text-transform: uppercase; animation: textBlink 1.4s ease-in-out infinite alternate; }
@keyframes cyberSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes cyberSpinReverse { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
@keyframes corePulse { 0% { transform: scale(0.85); opacity: 0.6; } 100% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 8px #0ebeff); } }
@keyframes textBlink { 0% { opacity: 0.4; } 100% { opacity: 1; text-shadow: 0 0 8px rgba(14, 190, 255, 0.8); } }
#btn-nav-fav, .cp-btn-fav-highlight {
  width: 40px !important;
  height: 40px !important;
  color: #fbbf24 !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(234, 179, 8, 0.06)) !important;
  border: 1.5px solid rgba(251, 191, 36, 0.55) !important;
  border-radius: 10px !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.28) !important;
  animation: favEntranceOnce 0.85s ease-in-out 0.4s 1 both !important;
}
#btn-nav-fav svg, .cp-btn-fav-highlight svg {
  width: 22px !important;
  height: 22px !important;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.65));
  transition: transform 0.22s ease !important;
}
#btn-nav-fav:hover, #btn-nav-fav:active {
  background: linear-gradient(135deg, #f59e0b, #eab308) !important;
  color: #0b1329 !important;
  border-color: #fef08a !important;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.85) !important;
  transform: scale(1.08);
}
@keyframes favEntranceOnce {
  0%, 100% { transform: translateX(0) rotate(0deg); box-shadow: 0 0 12px rgba(245, 158, 11, 0.28); }
  15% { transform: translateX(-3px) rotate(-7deg); box-shadow: 0 0 20px rgba(251, 191, 36, 0.75); border-color: #fef08a; }
  30% { transform: translateX(3px) rotate(7deg); }
  45% { transform: translateX(-2.5px) rotate(-5deg); }
  60% { transform: translateX(2.5px) rotate(5deg); }
  75% { transform: translateX(-1.5px) rotate(-2deg); }
  90% { transform: translateX(1px) rotate(1deg); }
}
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@800;900&display=swap');
.cp-drawer-head {
  padding: 16px 16px 14px !important;
  background: linear-gradient(180deg, rgba(14, 190, 255, 0.07) 0%, transparent 100%) !important;
  border-bottom: 1px solid rgba(14, 190, 255, 0.2) !important;
}
.cp-drawer-section-title {
  font-family: 'Orbitron', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  background: linear-gradient(90deg, #0ebeff 0%, #38bdf8 45%, #a855f7 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 10px rgba(14, 190, 255, 0.45)) !important;
  animation: upromptLogoShine 3.5s linear infinite !important;
}
@keyframes upromptLogoShine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.cp-close-drawer {
  width: 40px !important;
  height: 40px !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.16), rgba(14, 190, 255, 0.08)) !important;
  border: 1.5px solid rgba(244, 63, 94, 0.5) !important;
  color: #fb7185 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.25) !important;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.cp-close-drawer svg {
  width: 24px !important;
  height: 24px !important;
  transition: transform 0.3s ease !important;
}
.cp-side-drawer.open .cp-close-drawer {
  animation: closeBtnEntrance 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s both !important;
}
.cp-close-drawer:hover, .cp-close-drawer:active {
  background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
  color: #ffffff !important;
  border-color: #fda4af !important;
  box-shadow: 0 0 22px rgba(244, 63, 94, 0.8) !important;
  transform: rotate(90deg) scale(1.1) !important;
}
@keyframes closeBtnEntrance {
  0% { transform: scale(0.4) rotate(-180deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
#drawer-btn-create-prompt {
  position: relative !important;
  overflow: hidden !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #0284c7 0%, #0ebeff 50%, #3b82f6 100%) !important;
  border: 1.5px solid rgba(186, 230, 253, 0.55) !important;
  box-shadow: 0 4px 18px rgba(14, 190, 255, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.2) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
#drawer-btn-create-prompt::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -120% !important;
  width: 65% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent) !important;
  transform: skewX(-25deg) !important;
  animation: newPromptBtnSweep 3.2s infinite ease-in-out !important;
}
@keyframes newPromptBtnSweep {
  0% { left: -120%; }
  45%, 100% { left: 160%; }
}
.cp-btn-plus-icon {
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
  background: rgba(11, 19, 41, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: plusIconPulse 2s infinite ease-in-out !important;
}
@keyframes plusIconPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.12) rotate(90deg); }
}

