/* ============================================================
   العب وربح — تصميم داكن بأسلوب TikTok (للهاتف أولاً)
   ============================================================ */
:root {
    --bg: #000;
    --bg2: #0d0d10;
    --card: #161823;
    --card2: #1f2130;
    --line: rgba(255,255,255,.09);
    --line2: rgba(255,255,255,.16);
    --text: #fff;
    --text2: #c9cad2;
    --muted: #8a8b99;
    --pink: #fe2c55;
    --pink2: #ff5c7c;
    --cyan: #25f4ee;
    --gold: #ffc107;
    --green: #22c55e;
    --red: #ef4444;
    --radius: 18px;
    --radius-sm: 14px;
    --top-h: 56px;
    --nav-h: 62px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --maxw: 520px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { height: 100%; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Cairo', system-ui, sans-serif;
    background: #050507;
    color: var(--text);
    min-height: 100dvh;
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: none;
}
button { font-family: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 4px; }

/* ---------- الإشعارات ---------- */
#notification-container {
    position: fixed; top: calc(var(--safe-top) + 12px); left: 50%; transform: translateX(-50%);
    z-index: 30000; display: flex; flex-direction: column; align-items: center; gap: 8px;
    pointer-events: none; width: 92%; max-width: 400px;
}
.notification {
    background: rgba(30,31,44,.96); color: #fff; padding: 12px 18px; border-radius: 14px;
    font-size: .88em; font-weight: 700; text-align: center; width: 100%;
    border: 1px solid var(--line2); box-shadow: 0 10px 30px rgba(0,0,0,.6);
    backdrop-filter: blur(14px); animation: notifIn .3s cubic-bezier(.34,1.56,.64,1) both;
}
.notification.success { border-color: var(--green); }
.notification.error { border-color: var(--pink); }
.notification.info { border-color: var(--cyan); }
@keyframes notifIn { from { transform: translateY(-16px) scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- الأزرار ---------- */
.btn-primary, .btn-game {
    background: var(--pink); color: #fff; border: none; border-radius: 12px;
    padding: 0 22px; min-height: 48px; font-size: 1em; font-weight: 800; letter-spacing: .2px;
    transition: transform .12s, filter .15s; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-primary:active:not(:disabled), .btn-game:active:not(:disabled) { transform: scale(.97); filter: brightness(.9); }
.btn-primary:disabled, .btn-game:disabled { background: #3a3b48; color: var(--muted); cursor: not-allowed; }
.btn-full { width: 100%; }
.btn-secondary {
    background: var(--card2); color: var(--text); border: 1px solid var(--line2); border-radius: 12px;
    padding: 0 18px; min-height: 44px; font-weight: 700; font-size: .92em;
}
.btn-secondary:active { background: var(--line); }

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%; min-height: 48px; padding: 0 14px; background: var(--card2); color: #fff;
    border: 1.5px solid transparent; border-radius: 12px; outline: none; font-family: inherit;
    font-size: 16px; /* يمنع تكبير iOS */ -webkit-appearance: none; transition: border-color .15s;
}
input::placeholder { color: var(--muted); }
input:focus { border-color: var(--pink); }

/* ---------- شاشة الدخول ---------- */
#auth-section {
    min-height: 100dvh; display: flex; align-items: center; justify-content: center;
    padding: calc(var(--safe-top) + 20px) 18px calc(var(--safe-bottom) + 20px);
    background: radial-gradient(circle at 20% 0%, rgba(37,244,238,.12), transparent 45%),
                radial-gradient(circle at 90% 100%, rgba(254,44,85,.16), transparent 45%), #000;
}
.auth-container { width: 100%; max-width: 400px; animation: slideUp .45s cubic-bezier(.2,.9,.3,1) both; }
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.auth-tab { flex: 1; background: none; border: none; padding: 12px; font-weight: 800; color: var(--muted); font-size: .95em; position: relative; }
.auth-tab.active { color: #fff; }
.auth-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 25%; right: 25%; height: 3px; background: var(--pink); border-radius: 3px; }
.auth-form { display: flex; flex-direction: column; }
.input-group { margin-bottom: 14px; }
.input-group label { display: block; color: var(--text2); font-weight: 700; margin-bottom: 6px; font-size: .84em; }
.remember-row { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.remember-label { display: flex; align-items: center; gap: 8px; color: var(--text2); font-weight: 600; font-size: .86em; cursor: pointer; }
.remember-label input { width: 18px; height: 18px; accent-color: var(--pink); }
.auth-switch { text-align: center; color: var(--muted); font-size: .86em; margin-top: 16px; }
.auth-switch a { color: var(--pink); font-weight: 800; text-decoration: none; }
@keyframes shake { 0%,100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- الهيكل ---------- */
#game-section { max-width: var(--maxw); margin: 0 auto; min-height: 100dvh; background: var(--bg); position: relative; }
@media (min-width: 560px) { #game-section { border-inline: 1px solid var(--line); } }

.topbar {
    position: sticky; top: 0; z-index: 100; height: calc(var(--top-h) + var(--safe-top)); padding: var(--safe-top) 12px 0;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    background: rgba(0,0,0,.88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.top-avatar { width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; background: var(--card2); padding: 0; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.top-avatar svg, .me-avatar svg, .lb-avatar svg { width: 100%; height: 100%; display: block; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--card2); border: none; display: flex; align-items: center; justify-content: center; font-size: 1.05em; padding: 0; }
.mail-badge { position: absolute; top: -2px; left: -2px; width: 16px; height: 16px; background: var(--pink); border-radius: 50%; font-size: 10px; font-weight: 900; color: #fff; display: flex; align-items: center; justify-content: center; border: 2px solid #000; animation: pulse 1.5s infinite; }
@keyframes pulse { 50% { transform: scale(1.2); } }

.game-main { }
.page { padding: 12px 12px calc(var(--nav-h) + var(--safe-bottom) + 18px); animation: fadeIn .25s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.card { background: var(--card); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; border: 1px solid var(--line); }
.card-title { font-size: 1em; font-weight: 900; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }

/* ---------- التبويبات السفلية ---------- */
.bottom-nav {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--maxw); z-index: 500;
    height: calc(var(--nav-h) + var(--safe-bottom)); padding: 6px 4px var(--safe-bottom);
    background: rgba(0,0,0,.95); backdrop-filter: blur(18px); border-top: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-around;
}
.bnav-btn { flex: 1; background: none; border: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; color: var(--muted); position: relative; transition: color .15s; }
.bnav-btn svg { width: 24px; height: 24px; transition: transform .2s cubic-bezier(.34,1.56,.64,1); }
.bnav-btn span { font-size: .66em; font-weight: 800; }
.bnav-btn.active { color: #fff; }
.bnav-btn.active svg { transform: scale(1.12); }
.bnav-btn:active svg { transform: scale(.88); }
.bnav-btn.live::after { content: ''; position: absolute; top: 6px; right: calc(50% - 18px); width: 9px; height: 9px; border-radius: 50%; background: var(--pink); animation: pulse 1s infinite; }
/* الزر المركزي بتصميم تيك توك */
.bnav-center { position: relative; width: 52px; height: 34px; background: none; border: none; padding: 0; margin: 0 6px; flex-shrink: 0; }
.bnav-center::before, .bnav-center::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80%; border-radius: 10px; }
.bnav-center::before { background: #f2f3f4; left: 0; }
.bnav-center::after { background: #d6d7d7; right: 0; }
.bnav-center b { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; background: #fff; color: #000; width: 80%; height: 100%; margin: 0 auto; border-radius: 10px; font-size: 1.2em; transition: transform .12s; }
.bnav-center:active b { transform: scale(.9); }

/* ---------- أزرار الألعاب (pills) ---------- */



@keyframes matchPop { from { transform: scale(.85); } to { transform: scale(1); } }



/* ---------- المهام اليومية ---------- */

/* ---------- المتصدرون ---------- */

/* ---------- صفحة "أنا" ---------- */
.me-card { background: linear-gradient(180deg, #1f1228, var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; margin-bottom: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.me-avatar { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--pink), 0 0 28px rgba(37,244,238,.35); }
.me-name { font-size: 1.3em; font-weight: 900; margin-top: 6px; }
.me-stats { display: flex; gap: 6px; width: 100%; margin: 8px 0; }
.me-stats div { flex: 1; text-align: center; background: var(--card2); border-radius: 12px; padding: 10px 4px; display: flex; flex-direction: column; gap: 2px; }
.me-stats b { font-size: 1.2em; font-variant-numeric: tabular-nums; }
.me-stats span { font-size: .7em; color: var(--muted); font-weight: 700; }
.me-card .btn-primary { width: 100%; }
.list-card { padding: 4px 16px; }
.row-btn { width: 100%; display: flex; align-items: center; gap: 12px; background: none; border: none; padding: 15px 0; border-bottom: 1px solid var(--line); text-align: right; min-height: 54px; }
.row-btn:last-child { border-bottom: none; }
.row-btn span { font-size: 1.3em; }
.row-btn b { flex: 1; font-weight: 800; font-size: .95em; }
.row-btn i { color: var(--muted); font-style: normal; font-size: 1.4em; }
.row-btn.danger b { color: var(--pink); }

/* ---------- النوافذ (Bottom Sheet) ---------- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 10000; align-items: flex-end; justify-content: center; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--card); width: 100%; max-width: var(--maxw); max-height: 88dvh; border-radius: 22px 22px 0 0; display: flex; flex-direction: column; overflow: hidden; padding-bottom: var(--safe-bottom); animation: sheetUp .3s cubic-bezier(.2,.9,.3,1) both; border: 1px solid var(--line); border-bottom: none; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 12px; flex-shrink: 0; }
.modal-header h3 { font-size: 1.05em; font-weight: 900; }
.modal-close { width: 34px; height: 34px; border-radius: 50%; background: var(--card2); border: none; font-size: .95em; display: flex; align-items: center; justify-content: center; padding: 0; }
.modal-box > .btn-primary, .modal-box > .btn-secondary { margin: 10px 16px 16px; flex-shrink: 0; }
.mailbox-list { list-style: none; padding: 0 12px; overflow-y: auto; flex: 1; min-height: 60px; }
.mailbox-list li { padding: 12px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: .9em; line-height: 1.6; }
.mailbox-list li small { color: var(--muted); font-size: .78em; }
.contact-links { display: flex; flex-direction: column; gap: 10px; padding: 4px 16px 8px; }
.contact-link { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-sm); background: var(--card2); text-decoration: none; color: #fff; }
.contact-link span { font-size: 1.5em; }
.contact-link div { display: flex; flex-direction: column; }
.contact-link strong { font-size: .95em; }
.contact-link small { color: var(--muted); font-size: .78em; margin-top: 2px; }

/* ---------- الملف الشخصي (محرر الأفاتار) ---------- */
.pf-body { overflow-y: auto; padding: 4px 16px 6px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pf-preview { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--pink), 0 0 26px rgba(37,244,238,.35); }
.pf-name { font-weight: 900; font-size: 1.05em; }
.pf-stats { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; font-size: .78em; font-weight: 800; color: var(--text2); }
.pf-stats span { background: var(--card2); border-radius: 50px; padding: 4px 10px; }
.pf-label { align-self: stretch; font-weight: 900; font-size: .85em; color: var(--cyan); margin-top: 6px; }
.pf-animals, .pf-accs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-self: stretch; }
.pf-animals button, .pf-accs button { background: var(--card2); border: 2px solid transparent; border-radius: 14px; padding: 6px 2px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .68em; font-weight: 800; color: var(--text2); min-height: 44px; }
.pf-animals button svg { width: 100%; max-width: 54px; height: auto; }
.pf-animals button.sel, .pf-accs button.sel { border-color: var(--pink); background: rgba(254,44,85,.12); color: #fff; }
.pf-colors { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-self: stretch; }
.pf-colors button { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #000; box-shadow: 0 0 0 2px var(--line2); padding: 0; }
.pf-colors button.sel { box-shadow: 0 0 0 3px #fff; transform: scale(1.12); }
.pf-accs .ai { font-size: 1.5em; }
.pf-actions { display: flex; gap: 10px; padding: 12px 16px 16px; flex-shrink: 0; }
.pf-actions button { flex: 1; margin: 0; }

/* ---------- تحدّي اللاعبين ---------- */

#bt-game { position: relative; }

/* ---------- الدردشة (ملء الشاشة) ---------- */
.page-chat { padding: 0 !important; height: calc(100dvh - var(--top-h) - var(--safe-top)); }
.chat-card { height: 100%; display: flex; flex-direction: column; padding: 10px 12px calc(var(--nav-h) + var(--safe-bottom) + 8px); }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chat-head .card-title, .chat-head .section-title { margin-bottom: 0; font-size: 1.05em; font-weight: 900; }
.online-chip { background: rgba(34,197,94,.12); color: var(--green); border-radius: 50px; padding: 4px 12px; font-size: .8em; font-weight: 800; white-space: nowrap; }
.online-strip { display: flex; gap: 10px; overflow-x: auto; padding: 10px 0; flex-shrink: 0; scrollbar-width: none; }
.online-item { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; width: 54px; }
.online-item span { font-size: .62em; font-weight: 800; color: var(--text2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.online-item.me span { color: var(--cyan); }
.online-av { position: relative; width: 38px; height: 38px; }
.online-av svg { border-radius: 50%; display: block; }
.online-av i { position: absolute; bottom: 0; right: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid #000; }
.chat-messages { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 6px 0; overscroll-behavior: contain; }
.chat-msg { display: flex; gap: 8px; align-items: flex-end; animation: fadeIn .2s both; }
.chat-msg.mine { flex-direction: row-reverse; }
.chat-av { width: 32px; height: 32px; flex-shrink: 0; }
.chat-av svg { border-radius: 50%; display: block; }
.chat-bubble { background: var(--card2); border-radius: 18px 18px 18px 4px; padding: 7px 12px; max-width: 78%; }
.chat-msg.mine .chat-bubble { background: var(--pink); border-radius: 18px 18px 4px 18px; }
.chat-meta { display: flex; gap: 8px; align-items: center; font-size: .66em; color: var(--muted); font-weight: 700; }
.chat-name { background: none; border: none; padding: 0; font: inherit; color: var(--cyan); font-weight: 900; }
.chat-msg.mine .chat-meta, .chat-msg.mine .chat-name { color: rgba(255,255,255,.8); }
.chat-text { font-size: .92em; word-break: break-word; white-space: pre-wrap; line-height: 1.55; }
.chat-empty { margin: auto; color: var(--muted); font-weight: 700; text-align: center; }
.chat-input-row { display: flex; gap: 8px; margin-top: 8px; align-items: center; flex-shrink: 0; }
.chat-input-row input { flex: 1; min-width: 0; border-radius: 50px; padding: 0 16px; }
.chat-send { background: var(--pink); color: #fff; transform: scaleX(-1); }
.chat-send:active { filter: brightness(.85); }
.chat-note { min-height: 1.2em; color: var(--pink2); font-size: .78em; font-weight: 700; margin-top: 4px; flex-shrink: 0; }

@media (max-width: 360px) {
    .bnav-btn span { font-size: .6em; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- ألوان غرفة اللعب: أزرق فقط ---------- */

/* ---------- شبكة الألعاب: بطاقات متوهجة ---------- */
.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.game-tile {
    position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 26px; color: #fff; padding: 12px 8px 10px;
    border: 1.5px solid var(--c1);
    background: radial-gradient(120% 85% at 50% 0%, var(--c2) 0%, #0e0f18 72%);
    box-shadow: 0 0 24px var(--glow), 0 12px 26px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.14);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
}
.game-tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, rgba(255,255,255,.14), transparent 40%); pointer-events: none; }
.game-tile:active { transform: scale(.94); box-shadow: 0 0 36px var(--glow), 0 6px 14px rgba(0,0,0,.5); }
.gt-ico { width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 4px;
    background: linear-gradient(145deg, var(--c1), var(--c2)); box-shadow: 0 0 20px var(--glow), inset 0 2px 0 rgba(255,255,255,.35);
    animation: gtFloat 3.2s ease-in-out infinite; }
.gt-ico i { font-style: normal; font-size: 2.2rem; line-height: 1; filter: drop-shadow(0 3px 4px rgba(0,0,0,.4)); }
.game-tile:nth-child(even) .gt-ico { animation-delay: -1.6s; }
@keyframes gtFloat { 50% { transform: translateY(-5px) rotate(-3deg); } }
.game-tile b { font-weight: 900; font-size: 1.02em; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.game-tile small { font-weight: 700; font-size: .7em; color: rgba(255,255,255,.72); }
.gt-play { margin-top: 6px; background: rgba(255,255,255,.14); border-radius: 50px; padding: 4px 16px; font-size: .74em; font-weight: 900; backdrop-filter: blur(4px); }
.gt-badge { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; background: #ff3b6b; color: #fff; font-size: .62em; font-weight: 900; padding: 3px 9px; border-radius: 50px; box-shadow: 0 0 12px rgba(255,59,107,.7); animation: pulse 1.6s infinite; }
@media (min-width: 480px) { .games-grid { gap: 16px; } }

/* ---------- لودو (شاشة كاملة) ---------- */
.ludo-screen { position: fixed; inset: 0; z-index: 900; background: #0b0f1e; }
.ludo-screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.ludo-back { position: absolute; top: calc(var(--safe-top) + 10px); inset-inline-start: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(0,0,0,.6); font-size: 1.5em; line-height: 1; padding: 0; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); }

/* ---------- الدردشة: تبويبات عامة / خاصة ---------- */
.page-chat { display: flex; flex-direction: column; }
.chat-tabs { display: flex; gap: 6px; padding: 8px 12px 4px; flex-shrink: 0; }
.chat-tabs button { flex: 1; min-height: 40px; border-radius: 50px; border: none; background: var(--card2); color: var(--text2); font-weight: 800; font-size: .9em; position: relative; }
.chat-tabs button.active { background: #fff; color: #000; }
.tab-badge { background: var(--pink); color: #fff; font-style: normal; font-size: .7em; font-weight: 900; min-width: 18px; height: 18px; border-radius: 9px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; margin-inline-start: 4px; }
.page-chat .chat-card { flex: 1; min-height: 0; height: auto; }
.bnav-btn.dm::after { content: ''; position: absolute; top: 6px; right: calc(50% - 18px); width: 9px; height: 9px; border-radius: 50%; background: var(--pink); animation: pulse 1s infinite; }

.dm-pane { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 6px 12px calc(var(--nav-h) + var(--safe-bottom) + 8px); }
#dm-list-view { flex: 1; overflow-y: auto; }
#dm-chat-view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.dm-add { display: flex; gap: 8px; margin: 6px 0 2px; }
.dm-add input { border-radius: 50px; padding: 0 16px; }
.dm-add .btn-primary { min-height: 48px; padding: 0 16px; white-space: nowrap; border-radius: 50px; }
#dm-note.ok { color: var(--green); }
.dm-h { font-weight: 900; font-size: .85em; color: var(--muted); margin: 12px 2px 8px; }
.dm-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: right; min-height: 64px; }
.dm-row b { font-size: .95em; }
.dm-row.friend:active { background: var(--card2); }
.dm-row.pending { opacity: .7; } .dm-row.pending span, .dm-row.req b { flex: 1; font-size: .8em; color: var(--muted); }
.dm-row.req b { color: #fff; font-size: .95em; }
.dm-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dm-mid span { font-size: .78em; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-row.unread .dm-mid span { color: #fff; font-weight: 800; }
.dm-dot { width: 10px; height: 10px; border-radius: 50%; background: transparent; flex-shrink: 0; }
.dm-row.unread .dm-dot { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.dm-av { position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.dm-av svg { width: 100%; height: 100%; border-radius: 50%; display: block; }
.dm-av.online::after { content: ''; position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid var(--card); }
.dm-ok, .dm-no { width: 42px; height: 42px; border-radius: 50%; border: none; font-size: 1.1em; font-weight: 900; padding: 0; }
.dm-ok { background: var(--green); color: #fff; } .dm-no { background: var(--card2); }
.dm-head { display: flex; align-items: center; gap: 10px; padding: 6px 0 10px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.dm-head b { flex: 1; font-weight: 900; }
.dm-head button { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--card2); font-size: 1.2em; padding: 0; }
.dm-head .dm-av { width: 38px; height: 38px; }
#dm-chat-view .chat-messages { padding-top: 10px; }
/* ============================================================
   الفيديوهات القصيرة
   ============================================================ */
.page-shorts { padding: 0 !important; position: relative; height: calc(100dvh - var(--top-h) - var(--safe-top)); background: #000; }
.sh-feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; padding-bottom: calc(var(--nav-h) + var(--safe-bottom)); scrollbar-width: none; }
.sh-feed::-webkit-scrollbar { display: none; }
.sh-item { position: relative; height: calc(100dvh - var(--top-h) - var(--safe-top) - var(--nav-h) - var(--safe-bottom)); scroll-snap-align: start; scroll-snap-stop: always; background: #000; overflow: hidden; }
.sh-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.sh-item video.wide { object-fit: contain; }
.sh-item::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.75)); pointer-events: none; }
.sh-pause { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; font-size: 4.5em; color: rgba(255,255,255,.8); pointer-events: none; z-index: 2; text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.sh-item.paused .sh-pause { display: flex; }
.sh-side { position: absolute; inset-inline-start: 10px; bottom: 90px; z-index: 3; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.sh-act { background: none; border: none; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0; min-width: 48px; min-height: 52px; text-shadow: 0 2px 8px rgba(0,0,0,.7); }
.sh-act .ic { font-size: 2em; line-height: 1.1; transition: transform .2s cubic-bezier(.34,1.56,.64,1); filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.sh-act:active .ic { transform: scale(.8); }
.sh-item.liked .like .ic { animation: matchPop .35s; }
.sh-act b { font-size: .72em; font-weight: 800; }
.sh-info { position: absolute; inset-inline-end: 12px; inset-inline-start: 74px; bottom: 16px; z-index: 3; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.sh-who { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.sh-av { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; overflow: hidden; display: block; flex-shrink: 0; }
.sh-av svg { width: 100%; height: 100%; display: block; }
.sh-who b { font-size: .95em; font-weight: 900; }
.sh-info p { font-size: .88em; line-height: 1.6; word-break: break-word; max-height: 4.8em; overflow: hidden; }
.sh-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); z-index: 4; }
.sh-bar i { display: block; height: 100%; width: 0; background: #fff; }
.sh-heart { position: absolute; z-index: 5; font-size: 5em; margin: -.6em 0 0 -.5em; pointer-events: none; animation: shHeart .8s ease-out forwards; }
@keyframes shHeart { 0% { transform: scale(.3); opacity: 0; } 25% { transform: scale(1.2); opacity: 1; } 100% { transform: translateY(-60px) scale(1); opacity: 0; } }
.sh-sound { inset-inline-end: 12px; }
.sh-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 1.2em; font-weight: 800; line-height: 2; color: var(--text2); pointer-events: none; padding-bottom: 80px; }
.sh-empty small { color: var(--muted); font-size: .7em; }
.sh-off { background: #000; z-index: 6; padding: 0 24px 80px; }
.bnav-btn span { white-space: nowrap; }

/* المسجّل */
.sh-rec { position: fixed; inset: 0; z-index: 950; background: #000; }
.sh-cam, .sh-review { position: absolute; inset: 0; }
.sh-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #111; }
.sh-cam video.mirror { transform: scaleX(-1); }
.sh-x, .sh-flip { position: absolute; top: calc(var(--safe-top) + 12px); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(0,0,0,.5); color: #fff; font-size: 1.1em; padding: 0; backdrop-filter: blur(6px); }
.sh-x { inset-inline-start: 12px; } .sh-flip { inset-inline-end: 12px; }
.sh-time { direction: ltr; unicode-bidi: isolate; position: absolute; top: calc(var(--safe-top) + 20px); left: 50%; transform: translateX(-50%); z-index: 3; background: rgba(0,0,0,.55); color: #fff; padding: 4px 14px; border-radius: 50px; font-weight: 900; font-size: .85em; font-variant-numeric: tabular-nums; }
.sh-ctl { position: absolute; left: 0; right: 0; bottom: calc(var(--safe-bottom) + 38px); z-index: 3; display: flex; align-items: center; justify-content: space-around; }
.sh-gal { width: 48px; height: 48px; border-radius: 14px; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; font-size: 1.5em; backdrop-filter: blur(6px); cursor: pointer; }
.sh-gal.ghost { visibility: hidden; }
.sh-rbtn { position: relative; width: 78px; height: 78px; border: none; background: none; padding: 0; }
.sh-rbtn svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sh-rbtn .bg { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 5; }
.sh-rbtn .ring { fill: none; stroke: #fe2c55; stroke-width: 5; stroke-linecap: round; }
.sh-rbtn i { position: absolute; inset: 11px; border-radius: 50%; background: #fe2c55; transition: all .2s; }
.sh-rbtn.on i { inset: 24px; border-radius: 8px; }
.sh-hint { position: absolute; left: 0; right: 0; bottom: calc(var(--safe-bottom) + 12px); text-align: center; z-index: 3; font-size: .75em; color: rgba(255,255,255,.75); font-weight: 700; }
.sh-review video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.sh-rpanel { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px calc(var(--safe-bottom) + 16px); background: linear-gradient(transparent, rgba(0,0,0,.92) 40%); display: flex; flex-direction: column; gap: 10px; }
.sh-rpanel input { border-radius: 50px; padding: 0 18px; background: rgba(255,255,255,.14); }
.sh-prog { height: 6px; background: rgba(255,255,255,.2); border-radius: 6px; overflow: hidden; }
.sh-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--pink)); transition: width .2s; }
.sh-rbtns { display: flex; gap: 10px; }
.sh-rbtns button { flex: 1; min-height: 50px; border-radius: 50px; }

/* ============================================================
   التحديثات: أيقونات SVG، الشريط السفلي، المتابعة، التعديل
   ============================================================ */
.icon-btn svg { width: 20px; height: 20px; }

/* الزر المركزي: نشر فيديو */
.bnav-center b { font-size: 1em; }
.bnav-center b svg { width: 20px; height: 20px; display: block; }

/* الصفحة الرئيسية هي الفيديو: لا حشوة علوية */
.sh-sound { position: absolute; top: 12px; z-index: 10; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(0,0,0,.5); color: #fff; backdrop-filter: blur(6px); padding: 0; display: flex; align-items: center; justify-content: center; inset-inline-end: 12px; }
.sh-sound svg { width: 22px; height: 22px; }

/* خلاصة الفيديو */
.sh-pause svg { width: 72px; height: 72px; }
.sh-act .ic { display: block; line-height: 0; }
.sh-act .ic svg { width: 32px; height: 32px; }
.sh-item.liked .like .ic { color: #fe2c55; }
.sh-heart { color: #fe2c55; line-height: 0; }
.sh-heart svg { width: 84px; height: 84px; }
.sh-who { flex-wrap: wrap; }
.sh-follow { background: #fe2c55; color: #fff; border: none; border-radius: 6px; padding: 5px 14px; min-height: 30px; font-weight: 900; font-size: .78em; font-family: inherit; text-shadow: none; transition: background .15s, transform .1s; }
.sh-follow:active { transform: scale(.94); }
.sh-follow.on { background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.45); }
.sh-empty span { font-size: 1em; }

/* المسجّل */
.sh-x svg, .sh-flip svg { width: 22px; height: 22px; }
.sh-x, .sh-flip { display: flex; align-items: center; justify-content: center; }
.sh-gal svg { width: 26px; height: 26px; }
.sh-gal span { display: flex; }

/* المراجعة + أدوات التعديل */
.sh-review { display: flex; flex-direction: column; background: #000; }
.sh-stagebox { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: calc(var(--safe-top) + 10px) 10px 8px; }
.sh-stage { position: relative; overflow: hidden; background: #000; border-radius: 12px; max-width: 100%; max-height: 100%; }
.sh-review .sh-stage video, #sh-rv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.sh-rpanel { position: relative; left: auto; right: auto; bottom: auto; flex-shrink: 0; padding: 10px 14px calc(var(--safe-bottom) + 12px); background: #0d0d0d; border-top: 1px solid var(--line); gap: 8px; }
.sh-edit { background: var(--card2); border-radius: 14px; padding: 8px 10px 10px; }
.sh-edtabs { display: flex; gap: 6px; margin-bottom: 8px; }
.sh-edtabs button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; border-radius: 50px; border: 1.5px solid var(--line2); background: transparent; color: var(--text2); font-family: inherit; font-weight: 800; font-size: .82em; padding: 0 10px; }
.sh-edtabs button svg { width: 16px; height: 16px; }
.sh-edtabs button.on { background: #fff; border-color: #fff; color: #000; }
.sh-edbody { display: flex; flex-direction: column; gap: 6px; }
.sh-row { display: flex; justify-content: space-between; gap: 6px; font-size: .74em; font-weight: 700; color: var(--muted); }
.sh-row b { color: #fff; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.sh-edbody input[type=range] { width: 100%; height: 28px; margin: 0; padding: 0; background: none; border: none; accent-color: #fe2c55; direction: ltr; }
.sh-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.sh-chips button { flex: 1; min-width: 56px; min-height: 36px; border-radius: 10px; border: 1.5px solid var(--line2); background: transparent; color: #fff; font-family: inherit; font-weight: 800; font-size: .8em; direction: ltr; padding: 0 8px; }
.sh-chips button.on { background: #fe2c55; border-color: #fe2c55; }
.sh-status { min-height: 1.1em; text-align: center; font-size: .78em; font-weight: 700; color: var(--text2); }
.sh-rbtns .btn-primary, .sh-rbtns .btn-secondary { flex: 1; margin: 0; }

/* مشغّل فيديوهاتي */
.sh-viewer { position: fixed; inset: 0; z-index: 960; background: #000; display: flex; align-items: center; justify-content: center; }
.sh-viewer video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.sh-viewer-cap { position: absolute; left: 0; right: 0; bottom: calc(var(--safe-bottom) + 70px); padding: 0 18px; color: #fff; text-align: center; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.8); pointer-events: none; }
.sh-viewer .sh-x, .sh-viewer .sh-flip { z-index: 3; }

/* فيديوهاتي في قسم "أنا" */
.count-chip { background: var(--card2); border-radius: 50px; padding: 2px 10px; font-size: .78em; font-weight: 800; color: var(--text2); }
.my-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mv-item { position: relative; aspect-ratio: 9 / 14; background: #111; border-radius: 8px; overflow: hidden; cursor: pointer; }
.mv-item video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.mv-likes { position: absolute; bottom: 5px; inset-inline-start: 6px; display: flex; align-items: center; gap: 3px; color: #fff; font-size: .72em; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.mv-likes svg { width: 13px; height: 13px; }
.mv-del { position: absolute; top: 5px; inset-inline-end: 5px; width: 30px; height: 30px; border-radius: 50%; border: none; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; padding: 0; }
.mv-del svg { width: 15px; height: 15px; }
.my-empty { text-align: center; color: var(--muted); font-weight: 700; font-size: .9em; padding: 18px 0 8px; }

/* الألعاب */
.gt-ico svg { width: 38px; height: 38px; color: #fff; filter: drop-shadow(0 3px 4px rgba(0,0,0,.4)); }

/* قائمة الصفحة الشخصية / الاتصال / الإغلاق */
.row-btn span { display: flex; }
.row-btn span svg { width: 22px; height: 22px; }
.modal-close svg { width: 16px; height: 16px; }
.contact-link span { display: flex; }
.contact-link span svg { width: 26px; height: 26px; }
.mail-empty { text-align: center; color: var(--muted); padding: 18px; }
.pf-accs .ai { display: flex; align-items: center; justify-content: center; min-height: 44px; }
.pf-accs .ai svg { width: 44px; height: 44px; }
.pf-accs .ai svg[viewBox="0 0 24 24"] { width: 26px; height: 26px; }

/* الدردشة */
.chat-send, .dm-ok, .dm-no { display: flex; align-items: center; justify-content: center; }
.chat-send { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; border: none; background: var(--pink); color: #fff; padding: 0; transform: scaleX(-1); }
.chat-send svg { width: 20px; height: 20px; }
.chat-input-row input { flex: 1; min-width: 0; }
.dm-ok svg, .dm-no svg { width: 20px; height: 20px; }
.dm-head button svg { width: 22px; height: 22px; }
.dm-head button { display: flex; align-items: center; justify-content: center; }
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-inline-end: 4px; vertical-align: middle; }

/* ============================================================
   صور في الشورت، التعليقات، اقتصاص الصور، إطارات الأفاتار، صور الألعاب
   ============================================================ */

/* منشور صورة في الخلاصة */
.sh-item img.sh-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; user-select: none; -webkit-user-drag: none; }
.sh-item img.sh-media.wide { object-fit: contain; }
.sh-act .ic svg { overflow: visible; }

/* مسجّل: وضع فيديو / صورة */
.sh-modes { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-bottom) + 132px); z-index: 3; display: flex; gap: 4px; background: rgba(0,0,0,.5); border-radius: 50px; padding: 4px; backdrop-filter: blur(6px); }
.sh-modes button { min-width: 74px; min-height: 34px; border-radius: 50px; border: none; background: transparent; color: rgba(255,255,255,.8); font-family: inherit; font-weight: 800; font-size: .85em; padding: 0 14px; }
.sh-modes button.on { background: #fff; color: #000; }
.sh-rbtn.photo i { background: #fff; }
.sh-rbtn.photo .ring { opacity: 0; }
.sh-rbtn.photo .bg { stroke: rgba(255,255,255,.85); }
#sh-ri { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }

/* مشغّل المنشورات */
.sh-viewer img { width: 100%; height: 100%; object-fit: contain; background: #000; }

/* التعليقات */
.sh-cm { position: fixed; inset: 0; z-index: 940; display: flex; align-items: flex-end; justify-content: center; }
.sh-cm-back { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.sh-cm-sheet { position: relative; width: 100%; max-width: var(--maxw); height: min(72dvh, 620px); background: #121212; border-radius: 20px 20px 0 0; border: 1px solid var(--line); border-bottom: none; display: flex; flex-direction: column; padding: 12px 14px calc(var(--safe-bottom) + 10px); animation: sheetUp .22s ease both; }
.sh-cm-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-weight: 900; }
.sh-cm-head span { color: var(--muted); font-weight: 700; font-size: .85em; margin-inline-start: 4px; }
.sh-cm-head button { width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--card2); color: #fff; padding: 0; display: flex; align-items: center; justify-content: center; }
.sh-cm-head button svg { width: 16px; height: 16px; }
.sh-cm-list { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 0; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.sh-cm-empty { margin: auto; color: var(--muted); font-weight: 700; text-align: center; padding: 20px; }
.sh-c { display: flex; gap: 10px; align-items: flex-start; }
.sh-c-av { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; overflow: hidden; }
.sh-c-av svg { display: block; width: 100%; height: 100%; }
.sh-c-body { flex: 1; min-width: 0; }
.sh-c-head { display: flex; align-items: center; gap: 8px; }
.sh-c-head b { font-size: .85em; font-weight: 900; color: var(--text2); }
.sh-c-head small { color: var(--muted); font-size: .68em; font-weight: 700; }
.sh-c-del { margin-inline-start: auto; background: none; border: none; color: var(--muted); padding: 4px; display: flex; }
.sh-c-del svg { width: 16px; height: 16px; }
.sh-c-text { font-size: .92em; line-height: 1.6; word-break: break-word; white-space: pre-wrap; margin-top: 2px; }
.sh-cm-row { display: flex; gap: 8px; align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }
.sh-cm-row input { flex: 1; min-width: 0; margin: 0; }

/* أداة الاقتصاص */
.crop-ov { position: fixed; inset: 0; z-index: 10100; background: rgba(0,0,0,.86); display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(4px); }
.crop-box { width: 100%; max-width: 380px; background: #121212; border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; animation: fadeIn .2s ease both; }
.crop-box h3 { font-weight: 900; font-size: 1em; align-self: flex-start; }
.crop-stage { position: relative; overflow: hidden; background: #000; touch-action: none; cursor: grab; user-select: none; box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(254,44,85,.55); }
.crop-stage:active { cursor: grabbing; }
.crop-stage.circle { border-radius: 50%; }
.crop-stage.square { border-radius: 16px; }
.crop-stage img { position: absolute; max-width: none; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.crop-zoom { display: flex; align-items: center; gap: 10px; width: 100%; font-size: .8em; font-weight: 800; color: var(--text2); }
.crop-zoom input { flex: 1; margin: 0; padding: 0; height: 28px; background: none; border: none; accent-color: #fe2c55; }
.crop-tip { font-size: .74em; color: var(--muted); font-weight: 700; margin: -4px 0 0; }
.crop-actions { display: flex; gap: 10px; width: 100%; }
.crop-actions button { flex: 1; margin: 0; }

/* الملف الشخصي: صورة وإطارات */
.pf-photo { display: flex; gap: 8px; align-self: stretch; flex-wrap: wrap; }
.pf-photo .btn-secondary { flex: 1; margin: 0; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .9em; cursor: pointer; }
.pf-photo svg { width: 20px; height: 20px; }
.pf-frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-self: stretch; }
.pf-frames button { background: var(--card2); border: 2px solid transparent; border-radius: 14px; padding: 6px 2px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .68em; font-weight: 800; color: var(--text2); font-family: inherit; margin: 0; }
.pf-frames button.sel { border-color: var(--pink); background: rgba(254,44,85,.12); color: #fff; }
.pf-frames .fi { display: flex; width: 52px; height: 52px; }
.pf-frames .fi svg { width: 100%; height: 100%; display: block; }
.pf-body.has-photo .pf-char, .pf-body.has-photo .pf-char + div { opacity: .45; }

/* صور بطاقات الألعاب */
.game-tile.has-img { justify-content: flex-end; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.88) 100%), var(--img) center / cover no-repeat; }
.game-tile.has-img .gt-ico { display: none; }
.game-tile.has-img b, .game-tile.has-img small { text-shadow: 0 2px 8px rgba(0,0,0,.9); }
.gt-edit, .gt-rm { display: none; position: absolute; top: 8px; z-index: 4; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.65); border: 1.5px solid rgba(255,255,255,.7); color: #fff; align-items: center; justify-content: center; }
.gt-edit { inset-inline-end: 8px; }
.gt-rm { inset-inline-start: 8px; }
.gt-edit svg, .gt-rm svg { width: 19px; height: 19px; }
.games-grid.editing .gt-edit, .games-grid.editing .gt-rm:not([hidden]) { display: flex; }
.games-grid.editing .game-tile { outline: 2px dashed rgba(255,255,255,.55); outline-offset: -6px; }
.gt-admin { margin-bottom: 12px; }
.gt-admin .btn-secondary { width: 100%; margin: 0; }
.gt-admin .btn-secondary.on { background: #fe2c55; border-color: #fe2c55; color: #fff; }
.pf-body > * { flex-shrink: 0; }