:root{
  --blue:#1450a3;
  --blue-dark:#0d3a7d;
  --yellow:#ffc531;
  --red:#e63946;
  --light:#f4f7fc;
  --text:#1c2b45;
  --white:#ffffff;
  --radius:14px;
  --shadow:0 8px 24px rgba(13,58,125,.12);
}
*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family:'Cairo',sans-serif;
  color:var(--text);
  background:var(--light);
  line-height:1.7;
}
.container{max-width:1100px;margin:0 auto;padding:0 20px}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}

/* ===== Header ===== */
.site-header{
  background:var(--white);
  box-shadow:0 2px 12px rgba(0,0,0,.06);
  position:sticky;top:0;z-index:50;
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;gap:16px;flex-wrap:wrap}
.header-logo{height:56px;width:auto;border-radius:8px}
.nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.nav a{font-weight:600}
.nav a.active{color:var(--blue)}

/* ===== Buttons ===== */
.btn{
  display:inline-block;padding:9px 22px;border-radius:50px;
  font-weight:700;font-size:1rem;cursor:pointer;border:2px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--yellow);color:var(--blue-dark);border-color:var(--yellow)}
.btn-outline{border-color:var(--blue);color:var(--blue);background:transparent}
.btn-light{background:var(--white);color:var(--blue)}
.btn-lg{padding:13px 34px;font-size:1.1rem}
.btn-block{width:100%;text-align:center}

/* ===== Hero ===== */
.hero{
  background:linear-gradient(160deg,var(--blue) 0%,var(--blue-dark) 100%);
  color:var(--white);padding:60px 0 80px;
}
.hero-inner{display:flex;align-items:center;gap:40px;flex-wrap:wrap}
.hero-text{flex:1;min-width:280px}
.hero-text h1{font-size:2.6rem;font-weight:900;line-height:1.3;margin-bottom:16px}
.highlight{color:var(--yellow)}
.hero-text p{font-size:1.15rem;opacity:.95;margin-bottom:26px;max-width:520px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-img{flex:0 0 240px}
.hero-img img{width:240px;border-radius:var(--radius);box-shadow:var(--shadow)}

/* ===== Features ===== */
.features{padding:70px 0}
.features h2{text-align:center;font-size:2rem;font-weight:900;color:var(--blue-dark);margin-bottom:40px}
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.feature-card{
  background:var(--white);border-radius:var(--radius);padding:30px 24px;
  text-align:center;box-shadow:var(--shadow);
}
.feature-icon{font-size:2.6rem;margin-bottom:12px}
.feature-card h3{color:var(--blue);margin-bottom:8px}

/* ===== Auth pages ===== */
.auth-wrap{min-height:calc(100vh - 140px);display:flex;align-items:center;justify-content:center;padding:50px 20px}
.auth-card{
  background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);
  width:100%;max-width:420px;padding:36px 30px;text-align:center;
}
.auth-card img{width:110px;margin:0 auto 16px;border-radius:12px}
.auth-card h1{color:var(--blue-dark);font-size:1.6rem;margin-bottom:6px}
.auth-card p.sub{color:#5a6b8c;margin-bottom:24px}
.form-group{margin-bottom:16px;text-align:right}
.form-group label{display:block;font-weight:600;margin-bottom:6px;font-size:.95rem}
.form-group input{
  width:100%;padding:11px 14px;border:1.5px solid #d4ddef;border-radius:10px;
  font-family:inherit;font-size:1rem;direction:ltr;text-align:left;
}
.form-group input:focus{outline:none;border-color:var(--blue)}
.form-error{
  background:#fde8ea;color:var(--red);border-radius:10px;
  padding:10px 14px;margin-bottom:16px;font-size:.92rem;display:none;
}
.form-success{
  background:#e7f7ee;color:#1e7e46;border-radius:10px;
  padding:10px 14px;margin-bottom:16px;font-size:.92rem;display:none;
}
.auth-switch{margin-top:18px;font-size:.95rem}
.auth-switch a{color:var(--blue);font-weight:700}

/* ===== Library ===== */
.library-head{padding:40px 0 10px}
.library-head h1{color:var(--blue-dark);font-size:1.9rem;font-weight:900}
.library-head p{color:#5a6b8c}
.section-title{
  font-size:1.35rem;color:var(--blue);font-weight:800;
  margin:34px 0 16px;padding-bottom:8px;border-bottom:3px solid var(--yellow);display:inline-block;
}
.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;padding-bottom:20px}
.content-card{
  background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:22px;display:flex;flex-direction:column;gap:10px;
}
.content-card .type-badge{
  align-self:flex-start;font-size:.8rem;font-weight:700;
  padding:3px 12px;border-radius:50px;
}
.badge-pdf{background:#fde8ea;color:var(--red)}
.badge-video{background:#e3edfb;color:var(--blue)}
.content-card h3{font-size:1.1rem;color:var(--blue-dark)}
.content-card p{font-size:.92rem;color:#5a6b8c;flex:1}
.content-card .meta{font-size:.82rem;color:#8a97b5}
.empty-note{
  background:var(--white);border:2px dashed #c9d6ec;border-radius:var(--radius);
  padding:30px;text-align:center;color:#5a6b8c;margin-bottom:20px;
}
.login-gate{
  max-width:520px;margin:80px auto;background:var(--white);
  border-radius:var(--radius);box-shadow:var(--shadow);padding:44px 34px;text-align:center;
}
.login-gate h2{color:var(--blue-dark);margin-bottom:10px}
.login-gate p{color:#5a6b8c;margin-bottom:24px}

/* ===== Footer ===== */
.site-footer{background:var(--blue-dark);color:var(--white);text-align:center;padding:22px 0;margin-top:60px}

@media (max-width:640px){
  .hero-text h1{font-size:2rem}
  .hero-img{margin:0 auto}
}

/* ===== لوحة الإدارة والمحتوى ===== */
.admin-main { padding: 32px 0 48px; }
.admin-form { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 28px; }
.admin-form .form-row { margin-bottom: 16px; }
.admin-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.admin-form input, .admin-form select, .admin-form textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid #d7dce5; border-radius: 10px;
  font-family: inherit; font-size: 15px; background: #fbfcfe;
}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline: none; border-color: #1a4f9c; }
.admin-form small { color: #7a8699; display: block; margin-top: 4px; }
.admin-msg { min-height: 22px; font-weight: 700; margin-bottom: 10px; }
.admin-ok { color: #1c8a3e; }
.admin-error { color: #c0392b; }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-item { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
.admin-item-title { flex: 1; font-weight: 600; }
.btn-small { padding: 6px 14px; font-size: 13px; }
.content-card { background: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 1px 8px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 10px; }
.content-card h3 { margin: 0; font-size: 18px; }
.content-card p { margin: 0; color: #445; line-height: 1.7; }
.content-image { width: 100%; border-radius: 10px; border: 1px solid #e5e9f0; }
.video-wrap { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge-announce { background: #fff3d6; color: #8a6d00; }
.badge-schedule { background: #e3f2fd; color: #1565c0; }
.badge-whatsapp { background: #e6f7e9; color: #128c4a; }
.badge-pdf { background: #fde8e8; color: #b03030; }
.badge-video { background: #efe6fb; color: #6a3bb5; }
.type-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; align-self: flex-start; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { flex: 1; text-align: center; padding: 9px 8px; font-size: .95rem; white-space: nowrap; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb85a; }
.btn-youtube { background: #ff0000; color: #fff; }
.btn-youtube:hover { background: #d90000; }
.badge-youtube { background: #fdecec; color: #c4302b; }
.empty-note { background: #fff; border: 1.5px dashed #cfd8e6; border-radius: 12px; padding: 22px; text-align: center; color: #8a94a6; grid-column: 1 / -1; }

/* المسابقات ولوحة الإدارة */
.quiz-q { background: #f7f9fd; border: 1px solid #e3e9f4; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.quiz-q .q-head { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.quiz-q input[type="text"], .quiz-q select, .quiz-q textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #d5dde8; border-radius: 10px; font-family: inherit; font-size: 15px; }
.quiz-choices { display: grid; gap: 8px; margin-top: 10px; }
.choice-line { display: flex; align-items: center; gap: 8px; }
.choice-line input[type="radio"] { width: auto; }
.quiz-score { font-size: 20px; font-weight: 900; color: #1c8a3e; margin: 6px 0; }
.submission { background: #f7f9fd; border-radius: 10px; padding: 12px 14px; margin: 8px 0; }
.submission .sub-ans { color: #41506b; font-size: 14px; margin-top: 6px; }

/* رفع الصور من لوحة الإدارة */
.upload-btn { display: inline-block; cursor: pointer; }
.img-preview { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.img-preview img { max-width: 150px; max-height: 150px; border-radius: 10px; border: 1px solid #e5e9f0; }
.img-info { color: #7a8699; font-size: 14px; }
.img-badge { font-size: 14px; font-weight: 700; color: #1565c0; }
.content-image-wrap { margin: 4px 0 10px; }

/* كارت الفيديو ياخد مساحة أوسع من الكروت العادية */
.content-card.video-card { grid-column: span 2; }
@media (max-width: 640px) { .content-card.video-card { grid-column: 1 / -1; } }

/* صفحة حول */
.about-card { background: #fff; border-radius: 16px; padding: 30px 34px; box-shadow: 0 2px 12px rgba(0,0,0,.06); max-width: 820px; margin: 0 auto; text-align: left; }
.about-name { margin: 0 0 4px; font-size: 1.75rem; color: var(--blue-dark); }
.about-role { margin: 0 0 20px; color: #5a6b8c; font-weight: 700; font-size: 1rem; }
.about-card p { line-height: 1.85; color: #33415c; margin: 0 0 14px; }
.about-card h3 { margin: 22px 0 8px; font-size: 1.05rem; color: var(--blue-dark); text-transform: uppercase; letter-spacing: .4px; }
.about-list { margin: 0 0 18px; padding-left: 22px; line-height: 1.95; color: #33415c; }
.about-cta { text-align: center; margin: 26px 0 10px; }
.site-credit { margin-top: 6px; font-size: .85rem; opacity: .72; letter-spacing: .3px; }

.about-head { text-align: center; }
.about-head h1 { margin-bottom: 4px; }

/* رابط التواصل على واتساب */
.about-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* لوحة المتصدرين */
.leaderboard { margin-bottom: 10px; }
.leader-table { background: #fff; border-radius: 14px; box-shadow: 0 1px 8px rgba(0,0,0,.06); overflow: hidden; }
.leader-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #eef2f8; }
.leader-row:last-child { border-bottom: none; }
.leader-row.is-me { background: #fffbe8; }
.leader-rank { width: 40px; text-align: center; font-weight: 900; font-size: 1.05rem; color: #1a4f9c; }
.leader-name { flex: 1; font-weight: 700; color: #22314f; }
.leader-score { font-weight: 900; color: #1c8a3e; white-space: nowrap; }
.leader-quizzes { color: #7a8699; font-size: .85rem; white-space: nowrap; }

/* ---------- الدعوات ---------- */
.invite-box { position:relative; overflow:hidden;  background: #fff; border-radius: 14px; box-shadow: 0 1px 8px rgba(0,0,0,.06); padding: 18px; }
.invite-title { font-weight: 900; color: #22314f; font-size: 1.05rem; margin-bottom: 6px; }
.invite-sub { color: #7a8699; font-size: .92rem; margin-bottom: 14px; line-height: 1.7; }
.invite-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.invite-code { background: #f3f6fb; border: 1px dashed #cfd8e6; border-radius: 10px; padding: 6px 12px; font-weight: 700; color: #1a4f9c; }
.invite-stats { display: flex; flex-wrap: wrap; gap: 22px; margin: 14px 0 10px; }
.invite-stat { font-weight: 900; color: #1a4f9c; font-size: 1.15rem; }
.invite-stat span { display: block; font-size: .78rem; color: #7a8699; font-weight: 600; }
.invite-bar { height: 12px; background: #eef2f8; border-radius: 8px; overflow: hidden; }
.invite-bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg,#1c8a3e,#34b95c); transition: width .4s; }
.invite-prize { margin-top: 12px; color: #22314f; font-size: .92rem; line-height: 1.7; }
.invite-prize.win { background: #fffbe8; border: 1px solid #f2d675; border-radius: 10px; padding: 10px 12px; font-weight: 800; color: #8a6100; }
.ref-note { background: #fffbe8; border: 1px solid #f2d675; color: #8a6100; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; font-size: .9rem; font-weight: 700; line-height: 1.6; }

/* اختبار تحديد المستوى: شكل تفاعلي */
.pt-progress{height:10px;background:#e3e8f2;border-radius:99px;overflow:hidden}
.pt-progress-fill{height:100%;background:linear-gradient(90deg,#f5b800,#ffd84d);border-radius:99px;transition:width .35s ease}
.pt-count{font-size:.85rem;color:#5a6b8c;margin:6px 0 10px;text-align:center}
.pt-dots{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-bottom:14px}
.pt-dot{width:32px;height:32px;border-radius:50%;border:2px solid #cfd8e6;background:#fff;color:#445;font-weight:700;font-size:.8rem;cursor:pointer;transition:transform .15s}
.pt-dot:hover{transform:scale(1.12)}
.pt-dot.done{background:#111;color:#fff;border-color:#111}
.pt-dot.cur{border-color:#f5b800;box-shadow:0 0 0 3px rgba(245,184,0,.35)}
.pt-card{background:#fff;border-radius:18px;padding:22px;box-shadow:0 4px 18px rgba(0,0,0,.08);animation:ptIn .3s ease}
@keyframes ptIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.pt-qnum{display:inline-block;background:#111;color:#f5b800;font-weight:700;font-size:.8rem;padding:3px 12px;border-radius:99px;margin-bottom:12px}
.pt-q{font-size:1.45rem;font-weight:700;color:#111;direction:ltr;text-align:left;margin-bottom:18px;line-height:1.5}
.pt-opts{display:grid;gap:12px}
.pt-opt{display:flex;align-items:center;gap:14px;width:100%;direction:ltr;text-align:left;background:#111;color:#fff;border:2px solid #111;border-radius:14px;padding:14px 16px;font-size:1.1rem;font-weight:600;font-family:inherit;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s}
.pt-opt:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(0,0,0,.25);background:#222}
.pt-letter{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#333;color:#fff;font-weight:800;flex:none}
.pt-text{flex:1}
.pt-check{opacity:0;font-weight:900;color:#111;background:#f5b800;border-radius:50%;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;transform:scale(.4);transition:all .2s}
.pt-opt.sel{background:#000;border-color:#f5b800;box-shadow:0 0 0 3px rgba(245,184,0,.45)}
.pt-opt.sel .pt-letter{background:#f5b800;color:#111}
.pt-opt.sel .pt-check{opacity:1;transform:scale(1)}
.pt-nav{display:flex;justify-content:space-between;gap:10px;margin-top:18px}
.pt-nav .btn:disabled{opacity:.4;cursor:default}

.remember-row{display:flex;align-items:center;gap:10px;margin:4px 0 14px;font-size:.95rem;color:#223;cursor:pointer;font-weight:600}
.remember-row input{width:20px;height:20px;accent-color:#0d3a7c;cursor:pointer;flex:none}
.fx{position:relative;padding:80px 0 90px;overflow:hidden}
.fx .container{position:relative;z-index:2}
.fx h2{text-align:center;font-size:2.3rem;font-weight:900;margin:6px 0 44px}
.fx-kicker{display:block;text-align:center;font-weight:700;letter-spacing:.5px;font-size:.95rem}
.fx-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:28px}
.fx-card{position:relative;border-radius:26px;padding:46px 26px 34px;text-align:center;transition:transform .3s ease,box-shadow .3s ease}
.fx-card:hover{transform:translateY(-10px)}
.fx-num{position:absolute;top:16px;left:20px;font-weight:900;font-size:1.6rem;opacity:.25}
.fx-orb{width:130px;height:130px;margin:0 auto 20px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative}
.fx-ico{width:84px;height:84px;filter:drop-shadow(0 12px 14px rgba(0,0,0,.35));animation:fxfloat 3.2s ease-in-out infinite}
.fx-card:nth-child(2) .fx-ico{animation-delay:.5s}.fx-card:nth-child(3) .fx-ico{animation-delay:1s}
@keyframes fxfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
.fx-card h3{font-size:1.3rem;font-weight:800;margin-bottom:10px}
.fx-card p{line-height:1.85;font-size:.98rem}
.fx-line{display:block;width:46px;height:4px;border-radius:4px;margin:20px auto 0;background:linear-gradient(90deg,#ffc531,#ffdf7a)}
/* A: dark glass */
.fx-a{background:radial-gradient(circle at 15% 20%,#1d5fc4 0,transparent 45%),radial-gradient(circle at 85% 80%,#2a6fd6 0,transparent 40%),linear-gradient(160deg,#0d3a7d,#071f46)}
.fx-a::before,.fx-a::after{content:"";position:absolute;border-radius:50%;filter:blur(2px);opacity:.25}
.fx-a::before{width:260px;height:260px;border:2px solid #ffc531;top:-90px;right:-70px}
.fx-a::after{width:180px;height:180px;background:#ffc531;opacity:.12;bottom:-60px;left:-40px}
.fx-a h2{color:#fff}.fx-a .fx-kicker{color:#ffc531}
.fx-a .fx-card{background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.05));border:1px solid rgba(255,255,255,.28);box-shadow:0 20px 40px rgba(0,0,0,.3);color:#fff}
.fx-a .fx-card:hover{box-shadow:0 28px 50px rgba(0,0,0,.45),0 0 0 2px #ffc531}
.fx-a .fx-card h3{color:#ffc531}.fx-a .fx-card p{color:#d6e4fb}.fx-a .fx-num{color:#fff}
.fx-a .fx-orb{background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.35),rgba(255,255,255,.06) 70%);box-shadow:inset 0 0 0 2px rgba(255,255,255,.25),0 0 40px rgba(255,197,49,.25)}
/* B: bright, gold border */
.fx-b{background:linear-gradient(180deg,#fff8e1 0%,#eef4ff 100%)}
.fx-b::before{content:"";position:absolute;inset:0;background:radial-gradient(#1450a31a 1.5px,transparent 1.5px) 0 0/26px 26px}
.fx-b h2{color:#0d3a7d}.fx-b .fx-kicker{color:#c58a00}
.fx-b .fx-card{background:#fff;box-shadow:0 18px 40px rgba(20,80,163,.15);border:2px solid transparent;background-clip:padding-box;outline:2px solid #ffc531;outline-offset:-2px;color:#1c2b45}
.fx-b .fx-card:hover{box-shadow:0 26px 50px rgba(20,80,163,.28)}
.fx-b .fx-card h3{color:#0d3a7d}.fx-b .fx-card p{color:#5a6b8c}
.fx-b .fx-orb{background:conic-gradient(from 0deg,#ffe49a,#fff,#cfe0ff,#fff,#ffe49a);box-shadow:inset 0 0 0 6px #fff,0 10px 24px rgba(20,80,163,.2)}
.fx-b .fx-ico{width:78px;height:78px;filter:drop-shadow(0 10px 10px rgba(20,80,163,.3))}

/* ما نعرضش بوابة "سجّل دخولك" قبل ما حالة الدخول تتأكد */
html.kyPend #gateWrap,html.kyPend #quizGate,html.kyPend #adminGate,html.kyPend #teacherGate{display:none!important}
html.kyPend body.ky-wait::after{content:"جاري التحميل…";display:block;text-align:center;padding:60px 0;color:#5a6b8c;font-weight:700}

/* ===== شكل القائمة والأزرار: كبسولة زجاجية عايمة ===== */
.site-header{background:#0d3a7d;box-shadow:none;padding:12px 16px 12px}
.header-inner{background:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,.95);border-radius:999px;box-shadow:0 12px 34px rgba(7,31,74,.3),inset 0 1px 0 #fff;padding:8px 14px;max-width:1100px;margin:0 auto}
.header-logo{height:46px;border-radius:50%}
.nav{gap:4px}
.nav a:not(.btn){padding:9px 16px;border-radius:999px;color:#0d3a7d;font-weight:700;transition:background .2s,color .2s}
.nav a:not(.btn):hover{background:rgba(20,80,163,.1)}
.nav a.active{background:linear-gradient(135deg,#1450a3,#2f7be0);color:#fff!important;box-shadow:0 6px 14px rgba(20,80,163,.4)}
#userArea{display:inline-flex;align-items:center;gap:10px;margin-inline-start:8px;color:#0d3a7d}
.btn{border-radius:999px}
.nav .btn,.btn-primary{background:linear-gradient(135deg,#ffd45e,#ffb800);color:#0a2a5e;border-color:transparent;box-shadow:0 6px 14px rgba(255,184,0,.4);font-weight:800}
.nav .btn{padding:9px 20px}
.btn-light{background:rgba(255,255,255,.92);color:#0d3a7d}
@media (max-width:720px){
  .site-header{padding:8px 10px}
  .header-inner{border-radius:26px;padding:8px 10px;gap:8px;justify-content:center}
  .header-logo{height:40px}
  .nav{justify-content:center;gap:2px}
  .nav a:not(.btn){padding:7px 11px;font-size:.92rem}
  #userArea{margin-inline-start:2px;gap:6px;font-size:.92rem}
  .nav .btn{padding:7px 14px;font-size:.9rem}
}

.pt-sec{direction:ltr;text-align:left;color:#111;font-size:1rem;margin-bottom:8px}
.pt-sec strong{color:#111}.pt-sec span{color:#5a6b8c}
.pt-hint{direction:ltr;text-align:left;color:#5a6b8c;font-size:.9rem;margin:-6px 0 12px}
.pt-dot.gap{margin-inline-start:12px}

.pt-line{min-height:62px;direction:ltr;display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px;border:2px dashed #cfd8e6;border-radius:14px;background:#f7f9fd;margin-bottom:14px}
.pt-line-ph{color:#8a97b0;font-size:.95rem}
.pt-pool{direction:ltr;display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.pt-chip{background:#111;color:#fff;border:2px solid #111;border-radius:12px;padding:10px 16px;font-size:1.1rem;font-weight:700;font-family:inherit;cursor:pointer;transition:transform .12s,box-shadow .12s}
.pt-chip:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(0,0,0,.25)}
.pt-chip.on{background:#000;border-color:#f5b800;box-shadow:0 0 0 3px rgba(245,184,0,.4)}

/* صفحات الدخول والتسجيل على الشاشات القصيرة (تابلت أفقي / موبايل): القائمة ما تغطيش اللوجو */
html{scroll-padding-top:100px}
@media (max-height:820px){
  .site-header{position:static}
  .auth-wrap{align-items:flex-start;padding:24px 16px 36px;min-height:0}
  .auth-card img{width:84px;margin-bottom:10px}
  .auth-card p.sub{margin-bottom:16px}
}
@media (max-width:720px){
  .auth-wrap{padding:18px 12px 30px}
}

/* صفحات الدخول والتسجيل: الشكل الليلي */
body.auth-night{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22440%22%20height%3D%22420%22%3E%3Ctext%20x%3D%2230%22%20y%3D%2260%22%20font-family%3D%22Arial%22%20font-weight%3D%22700%22%20font-size%3D%2234%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.12%22%20transform%3D%22rotate%28-12%2030%2060%29%22%3EHello%3C/text%3E%3Ctext%20x%3D%22190%22%20y%3D%22120%22%20font-family%3D%22Arial%22%20font-weight%3D%22700%22%20font-size%3D%2226%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.12%22%20transform%3D%22rotate%288%20190%20120%29%22%3EABC%3C/text%3E%3Ctext%20x%3D%22330%22%20y%3D%2240%22%20font-family%3D%22Arial%22%20font-weight%3D%22700%22%20font-size%3D%2230%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.12%22%20transform%3D%22rotate%28-5%20330%2040%29%22%3ESpeak%3C/text%3E%3Ctext%20x%3D%2260%22%20y%3D%22210%22%20font-family%3D%22Arial%22%20font-weight%3D%22700%22%20font-size%3D%2228%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.12%22%20transform%3D%22rotate%2810%2060%20210%29%22%3ELearn%3C/text%3E%3Ctext%20x%3D%22250%22%20y%3D%22250%22%20font-family%3D%22Arial%22%20font-weight%3D%22700%22%20font-size%3D%2236%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.12%22%20transform%3D%22rotate%28-8%20250%20250%29%22%3ERead%3C/text%3E%3Ctext%20x%3D%22380%22%20y%3D%22190%22%20font-family%3D%22Arial%22%20font-weight%3D%22700%22%20font-size%3D%2224%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.12%22%20transform%3D%22rotate%286%20380%20190%29%22%3EWrite%3C/text%3E%3Ctext%20x%3D%22120%22%20y%3D%22340%22%20font-family%3D%22Arial%22%20font-weight%3D%22700%22%20font-size%3D%2230%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.12%22%20transform%3D%22rotate%28-10%20120%20340%29%22%3EListen%3C/text%3E%3Ctext%20x%3D%22320%22%20y%3D%22360%22%20font-family%3D%22Arial%22%20font-weight%3D%22700%22%20font-size%3D%2228%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.12%22%20transform%3D%22rotate%289%20320%20360%29%22%3EGrammar%3C/text%3E%3Ctext%20x%3D%2220%22%20y%3D%22380%22%20font-family%3D%22Arial%22%20font-weight%3D%22700%22%20font-size%3D%2222%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.12%22%20transform%3D%22rotate%284%2020%20380%29%22%3EVocabulary%3C/text%3E%3Ctext%20x%3D%22210%22%20y%3D%2230%22%20font-family%3D%22Arial%22%20font-weight%3D%22700%22%20font-size%3D%2220%22%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.12%22%20transform%3D%22rotate%283%20210%2030%29%22%3EDaily%3C/text%3E%3C/svg%3E") ,radial-gradient(circle at 50% 0,#1d5fc4,#0d3a7d 55%,#07244f);background-attachment:fixed}
body.auth-night .auth-wrap{padding:70px 16px 40px;min-height:0;position:relative}
body.auth-night .auth-wrap::before{content:"";position:absolute;left:0;right:0;bottom:0;height:260px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%201000%20300%22%20preserveAspectRatio%3D%22xMidYMax%20slice%22%3E%3Cg%20fill%3D%22%23ffffff%22%20fill-opacity%3D%22.10%22%3E%3Crect%20x%3D%2260%22%20y%3D%22150%22%20width%3D%22140%22%20height%3D%22150%22/%3E%3Crect%20x%3D%22230%22%20y%3D%2290%22%20width%3D%2280%22%20height%3D%22210%22/%3E%3Cpolygon%20points%3D%22230%2C90%20270%2C20%20310%2C90%22/%3E%3Crect%20x%3D%22340%22%20y%3D%22180%22%20width%3D%22170%22%20height%3D%22120%22/%3E%3Ccircle%20cx%3D%22640%22%20cy%3D%22200%22%20r%3D%22100%22/%3E%3Crect%20x%3D%22760%22%20y%3D%22120%22%20width%3D%2260%22%20height%3D%22180%22/%3E%3Cpolygon%20points%3D%22760%2C120%20790%2C50%20820%2C120%22/%3E%3Crect%20x%3D%22850%22%20y%3D%22170%22%20width%3D%22120%22%20height%3D%22130%22/%3E%3C/g%3E%3Cg%20fill%3D%22%23ffc21a%22%20fill-opacity%3D%22.35%22%3E%3Ccircle%20cx%3D%22270%22%20cy%3D%22140%22%20r%3D%2216%22/%3E%3Ccircle%20cx%3D%22790%22%20cy%3D%22170%22%20r%3D%2212%22/%3E%3C/g%3E%3C/svg%3E") bottom/cover no-repeat;pointer-events:none}
body.auth-night .auth-card{background:rgba(255,255,255,.12);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.3);box-shadow:0 20px 50px rgba(0,0,0,.35);color:#fff;border-radius:26px;position:relative;padding-top:70px}
body.auth-night .auth-card img{position:absolute;top:-52px;left:50%;transform:translateX(-50%);width:104px;height:104px;object-fit:cover;border:4px solid #ffc21a;border-radius:50%;box-shadow:0 0 28px rgba(255,194,26,.55)}
body.auth-night .auth-card h1{color:#fff}
body.auth-night .auth-card p.sub{color:#cfe0ff}
body.auth-night .form-group label{color:#fff}
body.auth-night .remember-row span{color:#e6efff}
body.auth-night .auth-switch{color:#cfe0ff}
body.auth-night .auth-switch a{color:#ffc21a}
body.auth-night .site-header{position:static}
body.auth-night .auth-wrap{min-height:0}
@media (max-width:720px){body.auth-night .auth-wrap{padding:60px 12px 30px}}
.pw-wrap{position:relative}
.pw-wrap input{padding-left:46px!important}
.pw-eye{position:absolute;left:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;background:transparent;color:#5a6b8c;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:10px}
.pw-eye:hover{color:#0d3a7d;background:#eef3fc}
/* رسالة نجاح الدخول: كارت */
.auth-card.auth-done form,.auth-card.auth-done .sub,.auth-card.auth-done .auth-switch,.auth-card.auth-done h1,.auth-card.auth-done .form-error,.auth-card.auth-done .form-success{display:none!important}
.ck{width:110px;height:110px;display:block}
.ckc{stroke:#ffc21a;stroke-width:3;stroke-dasharray:145;stroke-dashoffset:145;animation:kyd .7s ease forwards}
.ckp{stroke:#ffc21a;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:kyd .5s .6s ease forwards}
@keyframes kyd{to{stroke-dashoffset:0}}
@keyframes kypop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes kyfill{from{width:0}to{width:100%}}
.ok3{padding:6px 0 10px;animation:kypop .45s ease}
.ok3 .ck{margin:0 auto 14px;filter:drop-shadow(0 0 14px rgba(255,194,26,.7))}
.ok3 b{display:block;color:#fff;font-size:1.5rem;margin-bottom:8px}
.ok3 span{color:#cfe0ff;display:block;margin-bottom:20px}
.ok3 .bar{height:8px;border-radius:8px;background:rgba(255,255,255,.2);overflow:hidden}
.ok3 .bar div{height:100%;background:linear-gradient(90deg,#ffd24a,#ffb800);animation:kyfill 1.2s ease forwards}
/* جدول المحاضرات الأسبوعي */
.wk{margin:0 0 28px}
.wk-head h2{color:#fff;margin-bottom:4px}
.wk-head p{color:rgba(255,255,255,.93);margin-bottom:16px}
.wk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.wk-day{background:#fff;border-radius:18px;box-shadow:0 6px 18px rgba(13,58,125,.12);overflow:hidden;text-align:center;padding-bottom:14px}
.wk-d{background:linear-gradient(135deg,#0d3a7d,#1d5fc4);color:#fff;font-weight:800;padding:10px;font-size:1.1rem;margin-bottom:12px}
.wk-t{font-size:1.35rem;font-weight:800;color:#0d3a7d}
.wk-n{margin-top:4px;font-weight:700;color:#333}
.wk-m{display:inline-block;margin-top:10px;background:#fff3cf;color:#8a5a00;border-radius:999px;padding:3px 12px;font-size:.85rem;font-weight:700}
.wk-day.off{background:#f1f4fa;box-shadow:none}
.wk-day.off .wk-d{background:#aab6cf}
.wk-off{font-size:1.2rem;font-weight:800;color:#7b8aa8;padding:6px 0 4px}
#kyBell{position:relative;margin-inline-end:10px;display:flex;align-items:center}
#kyBellBtn{position:relative;width:42px;height:42px;border-radius:50%;border:0;cursor:pointer;background:#fff;color:var(--blue-dark);display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(13,58,125,.2)}
#kyBell.is-on #kyBellBtn{background:linear-gradient(135deg,#ffd24a,#ffb800)}
#kyBellBtn i{position:absolute;top:8px;inset-inline-end:9px;width:9px;height:9px;border-radius:50%;background:#2ecc71;border:2px solid #fff;display:none}
#kyBell.is-on #kyBellBtn i{display:block}
#kyBellPanel{position:absolute;top:52px;inset-inline-start:0;width:260px;background:#fff;color:var(--blue-dark);border-radius:16px;padding:14px 16px;box-shadow:0 12px 32px rgba(13,58,125,.3);z-index:1000;text-align:right}
#kyBellPanel[hidden]{display:none}
#kyBellPanel p{margin:6px 0 12px;font-size:14px;color:#51658a}
.ky-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:700}
#kyBellSw{width:48px;height:28px;border-radius:999px;border:0;background:#c7d2e6;position:relative;cursor:pointer;flex:none}
#kyBellSw u{position:absolute;top:3px;inset-inline-start:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:inset .15s;box-shadow:0 1px 3px rgba(0,0,0,.3)}
#kyBellSw[aria-checked=true]{background:#1fb866}
#kyBellSw[aria-checked=true] u{inset-inline-start:23px}
#kyBellSw:disabled{opacity:.6}
.wk-cal{display:block;margin:10px auto 0;border:0;border-radius:999px;padding:7px 14px;font:700 13px inherit;font-family:inherit;cursor:pointer;background:linear-gradient(135deg,#2a6fdb,#1450a3);color:#fff}
.wk-cal-all{margin:14px auto 0;font-size:15px;padding:10px 20px}
#kyNext{display:flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(135deg,#e3eeff,#c4dbff);color:#0d3a7d;padding:10px 16px;font-weight:600;font-size:15px;text-align:center}
#kyNext button{border:0;background:rgba(13,58,125,.15);color:#0d3a7d;width:26px;height:26px;border-radius:50%;font-size:18px;line-height:1;cursor:pointer;flex:none}
.ky-help{margin:0 0 10px;padding:10px 12px;background:#fff4e0;border-radius:12px;font-size:13px;color:#7a4b00;line-height:1.7}
.ky-help ol{margin:6px 0 0;padding-inline-start:20px}
#kyBell.has-dot #kyBellBtn::after{content:"";position:absolute;top:4px;inset-inline-end:4px;width:12px;height:12px;border-radius:50%;background:#e53935;border:2px solid #fff}
#kyBellPanel{width:290px;max-height:70vh;overflow:auto}
.ky-item{background:#eef4ff;border-radius:12px;padding:10px 12px;margin-bottom:8px;display:flex;flex-direction:column;gap:2px}
.ky-item small{color:#51658a;font-size:12px}.ky-item b{font-size:16px}.ky-item span{font-size:13px;color:#33476b}
.ky-item em{font-style:normal;font-weight:800;color:#1450a3;font-size:15px}
.ky-ann{background:#fff7e0}.ky-none{font-size:13px;color:#51658a;margin:0 0 8px}
.ky-push{border-top:1px solid #e1e8f5;padding-top:8px;margin-top:4px}.ky-push small{display:block;color:#51658a;margin-bottom:6px;font-size:12px}
.ky-ios-tip{font-size:13px;color:#33476b;line-height:2;background:#eef4ff;border-radius:12px;padding:10px 12px}
/* تصميم C (تيل) */
#kyNext{background:linear-gradient(135deg,#0f9d8a,#1ab7a0);color:#fff}
#kyNext button{background:rgba(255,255,255,.25);color:#fff}
.wk-cal{background:#e6f7f4;color:#0b6e61;border:0;border-radius:12px;padding:8px 14px;box-shadow:0 2px 0 #b7e4dc}
.wk-cal-all{background:linear-gradient(135deg,#0f9d8a,#1ab7a0);color:#fff;border-radius:14px;box-shadow:0 4px 12px rgba(15,157,138,.35)}
#kyBell.is-on #kyBellBtn{background:linear-gradient(135deg,#0f9d8a,#1ab7a0);color:#fff}
#kyBell.is-on #kyBellBtn i{border-color:#1ab7a0}
.ky-item{background:#e6f7f4}.ky-item em{color:#0b6e61}.ky-item b{color:#0d3a7d}
.ky-ann{background:#f0f6ff}
#kyBellSw[aria-checked=true]{background:#0f9d8a}
.ky-new{background:#fff0f0}.ky-new b{display:block}.ky-new small{color:#c62828}
/* المسابقات: تصميم A (ليلي) */
#quizListView .section-title{color:#0d3a7d;border-color:#1ab7a0}
#placementIntro,#inviteBox{background:linear-gradient(160deg,#0d3a7d,#1450a3);color:#fff;border-radius:22px;padding:24px;box-shadow:0 14px 34px rgba(13,58,125,.3);position:relative;overflow:hidden}
#placementIntro::after,#inviteBox::after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.07);top:-80px;left:-60px;pointer-events:none}
#placementIntro .invite-title,#inviteBox .invite-title{color:#fff;font-size:1.3rem}
#placementIntro .invite-sub,#inviteBox .invite-sub{color:#cfe0ff}
#placementIntro .btn-primary,#inviteBox .btn-primary{background:linear-gradient(135deg,#1ab7a0,#0f9d8a);border-color:transparent;color:#fff;border-radius:999px}
#inviteBox .btn-outline{border-color:#fff;color:#fff;border-radius:999px}
#inviteBox .invite-code{background:rgba(255,255,255,.15);border:1px dashed rgba(255,255,255,.5);color:#fff}
#inviteBox .invite-stat{color:#fff}#inviteBox .invite-stat span{color:#cfe0ff}
#inviteBox .invite-bar{background:rgba(255,255,255,.2)}#inviteBox .invite-bar>i{background:linear-gradient(90deg,#1ab7a0,#7ff0dc)}
#inviteBox .invite-prize{color:#fff}
#inviteBox .invite-prize.win{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.4);color:#fff}
/* أيقونات */
.ic{display:inline-block;vertical-align:-.2em;flex:none}
.ic-w{display:inline}
/* عناوين المسابقات: تصميم C */
#quizListView .section-title{display:flex;align-items:center;gap:14px;justify-content:center;text-align:center;border:0;padding:0;color:#0d3a7d}
#quizListView .section-title::before,#quizListView .section-title::after{content:"";flex:1;height:3px;border-radius:3px;background:linear-gradient(90deg,transparent,#1ab7a0)}
#quizListView .section-title::after{background:linear-gradient(270deg,transparent,#1ab7a0)}

/* ===== المكتبة: تصميم الرفوف (H) ===== */
body.lib-page{background:#071a3a;color:#fff}
body.lib-page .site-footer{background:#04122b}
.lib-h{max-width:1180px;padding-bottom:30px}
.lib-h .h-hero{margin:26px 0 10px;border-radius:26px;padding:40px;background:linear-gradient(100deg,rgba(7,26,58,.1),rgba(26,183,160,.35)),linear-gradient(135deg,#1450a3,#0d3a7d);min-height:200px;display:flex;flex-direction:column;justify-content:center;border:1px solid rgba(255,255,255,.12)}
.lib-h .h-hero h1{font-size:2.6rem;margin:0 0 8px;font-weight:900;color:#fff}
.lib-h .h-hero p{color:#bcd0f5;margin:0 0 18px}
.lib-h .h-hero .btn{align-self:flex-start;background:#ffc531;color:#0d3a7d;border-color:#ffc531}
.h-block{margin-top:30px}
.h-row{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}
.h-row h2{margin:0;font-size:1.5rem;color:#fff}
.h-shelf{display:flex;gap:16px;overflow-x:auto;padding:4px 2px 14px;scroll-snap-type:x proximity;scrollbar-width:none;flex-wrap:wrap;overflow-x:visible}
.h-shelf::-webkit-scrollbar{display:none}
.h-shelf>*{scroll-snap-align:start}
.h-shelf .empty-note{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.2);color:#bcd0f5;width:100%}
.h-p{flex:0 0 190px;aspect-ratio:3/4;border-radius:18px;padding:18px;position:relative;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;box-shadow:0 14px 28px rgba(0,0,0,.4);color:#fff}
.h-g0{background:linear-gradient(160deg,#ff5a5f,#ff9a5a)}.h-g1{background:linear-gradient(160deg,#1450a3,#1ab7a0)}.h-g2{background:linear-gradient(160deg,#6d3fd8,#2f7bf0)}.h-g3{background:linear-gradient(160deg,#f59e0b,#ff7a45)}
.h-bigico{position:absolute;top:26px;left:50%;margin-left:-32px;opacity:.38}
.h-t{position:absolute;top:12px;right:12px;background:rgba(0,0,0,.35);padding:2px 10px;border-radius:50px;font-size:.7rem;font-weight:800}
.h-p h4{margin:0 0 6px;font-size:1.05rem;color:#fff;line-height:1.4}
.h-hover{display:flex;gap:6px;margin-top:8px}
.h-hover .btn{padding:6px 14px;font-size:.8rem;border-radius:50px;display:inline-flex;align-items:center}
.h-hover .btn-primary{background:#fff;color:#0d3a7d;border-color:#fff}
.h-hover .btn-outline{border-color:#fff;color:#fff}
.h-v{flex:0 0 330px;color:#fff}
.h-vt{display:block;position:relative;aspect-ratio:16/9;border-radius:16px;background:linear-gradient(135deg,#6d3fd8,#1450a3);margin-bottom:10px;box-shadow:0 14px 28px rgba(0,0,0,.4);overflow:hidden}
.h-vt img{width:100%;height:100%;object-fit:cover;display:block}
.h-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff}
.h-play svg{background:rgba(7,26,58,.6);border-radius:50%;padding:14px;box-sizing:content-box}
.h-v h4{margin:0 0 2px;color:#fff}.h-v small{color:#9fb4de;display:block}
.h-an{flex:0 0 360px;display:flex;gap:14px;align-items:flex-start;background:rgba(255,197,49,.12);border:1px solid rgba(255,197,49,.4);border-radius:18px;padding:18px 20px}
.h-anico{color:#ffc531;flex:none}
.h-an h4{margin:0 0 4px;color:#fff}.h-an p{margin:0 0 8px;color:#d6dff5;font-size:.92rem}
.h-an .btn{margin-top:4px}.h-an .content-image{max-width:100%;border-radius:12px}
.h-wa{flex:0 0 250px;background:rgba(37,211,102,.12);border:1px solid rgba(37,211,102,.4);border-radius:18px;padding:18px 20px;display:flex;flex-direction:column;gap:8px;align-items:flex-start;color:#fff}
.h-wa.h-yt{background:rgba(255,80,80,.12);border-color:rgba(255,80,80,.4)}
.h-wa.h-li{background:rgba(10,102,194,.16);border-color:rgba(61,143,221,.55)}
.h-wa.h-fb{background:rgba(24,119,242,.14);border-color:rgba(74,155,245,.5)}
.h-waico{color:#4be58b}.h-yt .h-waico{color:#ff7b7b}
.h-wa h4{margin:0;color:#fff}.h-wa small{color:#c9d6f0}
.lib-h .btn-small{padding:7px 16px;font-size:.85rem;border-radius:50px}
.lib-h .btn-primary{background:#ffc531;color:#0d3a7d;border-color:#ffc531}
@media (max-width:640px){
  .lib-h .h-hero{padding:26px 22px;min-height:0}.lib-h .h-hero h1{font-size:1.8rem}
  .h-p{flex-basis:150px;padding:14px}.h-v{flex-basis:260px}.h-an{flex-basis:290px}.h-wa{flex-basis:220px}
  .h-row h2{font-size:1.25rem}
}

.h-bigico.h-k{opacity:1;top:18px;margin-left:-48px;line-height:0;filter:drop-shadow(0 8px 10px rgba(0,0,0,.3))}
@media (max-width:640px){.h-bigico.h-k svg{width:80px;height:80px}.h-bigico.h-k{margin-left:-40px;top:14px}}

.h-tile{width:72px;height:72px;border-radius:22px;background:linear-gradient(145deg,#1fb85a,#6ee89a);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 18px rgba(0,0,0,.35);flex:none}
.h-tile-yt{background:linear-gradient(145deg,#e63946,#ff7b7b)}
.h-tile-li{background:linear-gradient(145deg,#0a66c2,#3d8fdd)}
.h-tile-fb{background:linear-gradient(145deg,#1877f2,#4a9bf5)}
.btn-linkedin { background: #0a66c2; color: #fff; }
.btn-linkedin:hover { background: #084f96; }
.btn-facebook { background: #1877f2; color: #fff; }
.btn-facebook:hover { background: #0f5ecf; }

/* ===== حول: بطاقة داكنة (R) ===== */
body.about-page{background:#071a3a}
body.about-page .about-head h1{color:#fff}
body.about-page .about-head p{color:#a9c1ee}
.r-card{max-width:860px;margin:0 auto;background:linear-gradient(160deg,#10305f,#0a2147);border:1px solid rgba(255,197,49,.45);border-radius:30px;padding:44px;color:#e3ecff;text-align:left;box-shadow:0 24px 50px rgba(0,0,0,.45);position:relative;overflow:hidden}
.r-card::before{content:"";position:absolute;right:-120px;top:-120px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(255,197,49,.25),transparent 70%);pointer-events:none}
.r-head{display:flex;align-items:center;gap:22px;margin-bottom:22px;position:relative}
.r-init{width:96px;height:96px;border-radius:50%;border:3px solid #ffc531;color:#ffc531;font-size:2.8rem;font-weight:900;display:flex;align-items:center;justify-content:center;flex:none;background:rgba(255,197,49,.08)}
.r-name{margin:0;color:#fff;font-size:2.2rem;font-weight:900}
.r-role{color:#ffc531;font-weight:700;margin-top:4px}
.r-line{height:1px;background:linear-gradient(90deg,#ffc531,transparent);margin:6px 0 20px;position:relative}
.r-card p{line-height:1.85;margin:0 0 14px;position:relative;color:#e3ecff}
.r-h{color:#ffc531;text-transform:uppercase;letter-spacing:1px;font-size:.9rem;margin:22px 0 12px;position:relative;font-weight:900}
.r-list{display:flex;flex-wrap:wrap;gap:10px;position:relative;margin-bottom:18px}
.r-chip{display:flex;align-items:center;gap:8px;border:1px solid rgba(255,197,49,.55);background:rgba(255,197,49,.08);color:#fff;border-radius:50px;padding:9px 18px;font-weight:700}
.r-chip svg{color:#ffc531;flex:none}
@media (max-width:640px){
  .r-card{padding:26px 20px;border-radius:24px}
  .r-head{gap:14px}.r-init{width:68px;height:68px;font-size:2rem}.r-name{font-size:1.5rem}
  .r-role{font-size:.9rem}
  .r-chip{padding:8px 14px;font-size:.9rem}
}

/* ===== لوحة الإدارة: تصميم U (داكن) ===== */
body.admin-page{background:#0b1220;color:#e8edf7}
body.admin-page .library-head h1{color:#fff}
body.admin-page .library-head p{color:#8d9ab3}
body.admin-page .u-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 18px}
body.admin-page .u-st{background:#121c33;border:1px solid #22314f;border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:2px;color:#ffd34d}
body.admin-page .u-st svg{width:26px;height:26px}
body.admin-page .u-st b{font-size:2rem;line-height:1.2;color:#fff}
body.admin-page .u-st span{color:#8d9ab3;font-size:.9rem}
body.admin-page .u-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
body.admin-page .u-chips a{display:flex;gap:6px;align-items:center;padding:7px 13px;border-radius:999px;border:1px solid #2a3957;font-size:.85rem;color:#b8c4dc;text-decoration:none}
body.admin-page .u-chips a:hover{border-color:#f5b301;color:#ffd34d}
body.admin-page .u-chips svg{width:16px;height:16px}
body.admin-page .section-title{color:#ffd34d;border-color:#ffd34d;scroll-margin-top:12px}
body.admin-page .admin-form{background:#121c33;border:1px solid #22314f;box-shadow:none;color:#e8edf7}
body.admin-page .admin-form h2{color:#ffd34d}
body.admin-page .admin-form input,body.admin-page .admin-form select,body.admin-page .admin-form textarea{background:#0b1220;border-color:#2a3957;color:#e8edf7}
body.admin-page .admin-form small,body.admin-page .form-hint{color:#8d9ab3}
body.admin-page .admin-item{background:#121c33;border:1px solid #22314f;box-shadow:none;color:#e8edf7}
body.admin-page .admin-main .btn-outline{border-color:#ffd34d;color:#ffd34d}
body.admin-page .admin-main .empty-note{color:#8d9ab3}
body.admin-page .admin-main a:not(.btn){color:#8ab4ff}
body.admin-page .admin-main strong{color:#fff}
body.admin-page #noticeList>div{border-color:#22314f!important}
body.admin-page .admin-main [style*="background:#fff"],body.admin-page .admin-main [style*="background: #fff"]{background:#121c33!important;color:#e8edf7}
@media (max-width:640px){
  body.admin-page .u-stats{grid-template-columns:1fr 1fr}
  body.admin-page .u-st b{font-size:1.6rem}
}

/* ===== قوائم الإدارة: تصميم X ===== */
body.admin-page .admin-item{border-radius:12px;padding:9px 14px;border-right:4px solid #f5b301}
body.admin-page .admin-list>.admin-item:nth-child(6n+2){border-right-color:#3fb6a8}
body.admin-page .admin-list>.admin-item:nth-child(6n+3){border-right-color:#7c8cf8}
body.admin-page .admin-list>.admin-item:nth-child(6n+4){border-right-color:#ef6f6c}
body.admin-page .admin-list>.admin-item:nth-child(6n+5){border-right-color:#5ab0f0}
body.admin-page .admin-list>.admin-item:nth-child(6n+6){border-right-color:#b07cf0}
body.admin-page .admin-list{gap:7px}
body.admin-page .x-grp{color:#ffd34d;font-weight:700;font-size:.85rem;margin:12px 4px 0}
body.admin-page .x-row{gap:14px}
body.admin-page .x-bd{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-weight:900;flex:none}
body.admin-page .x-t{flex:1;display:flex;flex-direction:column;line-height:1.35;min-width:0}
body.admin-page .x-t b{overflow:hidden;text-overflow:ellipsis}
body.admin-page .x-t .x-mut{overflow:hidden;text-overflow:ellipsis;text-align:right}
body.admin-page .x-mut{color:#8d9ab3;font-size:.8rem}
body.admin-page .x-tag{background:#1d2b4a;color:#9fd0ff;border-radius:999px;padding:2px 12px;font-size:.78rem}
body.admin-page .x-search{display:block;width:100%;margin:10px 0 0;padding:9px 14px;border:1px solid #2a3957;border-radius:12px;background:#0b1220;color:#e8edf7;font:inherit}
body.admin-page #adminMain .admin-form .x-search{max-width:none}
body.admin-page .admin-main .empty-note{background:#121c33;border-color:#2a3957;color:#8d9ab3}
body.admin-page .quiz-q{background:#0f182c;border-color:#22314f;color:#e8edf7}
body.admin-page .quiz-q input,body.admin-page .quiz-q select,body.admin-page .quiz-q textarea{background:#0b1220;border-color:#2a3957;color:#e8edf7}
body.admin-page .quiz-q label,body.admin-page .quiz-q span{color:#cfd8ea}
body.admin-page .admin-main .quiz-score{color:#9fd0ff}
body.admin-page .admin-item .invite-code{background:#1d2b4a;color:#ffd34d;border:1px solid #2a3957}

/* ===== لوحة الدعوات: منصة تتويج (Y) ===== */
.inv-podium{display:flex;align-items:flex-end;justify-content:center;gap:12px;margin-bottom:16px}
.inv-pc{display:flex;flex-direction:column;align-items:center;flex:1;max-width:200px;min-width:0;gap:2px;text-align:center}
.inv-av{width:60px;height:60px;border-radius:50%;border:4px solid var(--c,#f5b301);background:#fff;display:grid;place-items:center;font-weight:900;font-size:22px;color:#0d3a7d;box-shadow:0 4px 12px rgba(13,58,125,.12)}
.inv-nm{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#22314f}
.inv-me{color:#b07a00;font-weight:800;font-size:.8rem}
.inv-cnt{color:#1c8a3e;font-weight:800;font-size:.9rem}
.inv-pts{color:#7a8699;font-size:.8rem;margin-bottom:6px}
.inv-blk{width:100%;border-radius:12px 12px 0 0;display:grid;place-items:center;font-weight:900;font-size:2.2rem;color:var(--c,#f5b301);background:linear-gradient(#fff,#eaf0fb);border-top:5px solid var(--c,#f5b301);box-shadow:0 4px 14px rgba(13,58,125,.08)}
.inv-p1{--c:#f5b301}.inv-p1 .inv-blk{height:150px}
.inv-p2{--c:#9aa7bd}.inv-p2 .inv-blk{height:110px}
.inv-p3{--c:#c9803f}.inv-p3 .inv-blk{height:80px}
.inv-pc.is-me .inv-av{box-shadow:0 0 0 5px rgba(245,179,1,.35)}
.inv-pc.is-me .inv-nm{color:#8a5d00}
@media (max-width:640px){.inv-av{width:48px;height:48px;font-size:18px}.inv-podium{gap:8px}.inv-p1 .inv-blk{height:110px}.inv-p2 .inv-blk{height:80px}.inv-p3 .inv-blk{height:60px}.inv-blk{font-size:1.6rem}.inv-nm{font-size:.85rem}}

/* تطوع: زرار في صفحة حول + نموذج */
.btn-volunteer{background:transparent;border:2px solid #ffd34d;color:#ffd34d;display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-family:inherit}
.btn-volunteer:hover{background:#ffd34d;color:#0a2147}
body.vol-open{overflow:hidden}
.vol-back{position:fixed;inset:0;background:rgba(3,10,26,.78);z-index:300;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:24px 14px}
.vol-back[hidden]{display:none}
.vol-modal{position:relative;width:100%;max-width:560px;margin:auto;background:linear-gradient(160deg,#10305f,#0a2147);border:1px solid rgba(255,197,49,.45);border-radius:26px;padding:30px 26px;color:#e3ecff;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.vol-modal h2{margin:0 0 4px;color:#ffd34d;font-size:1.5rem}
.vol-sub{margin:0 0 18px;color:#b8c4dc}
.vol-x{position:absolute;top:14px;left:14px;width:36px;height:36px;border-radius:50%;border:1px solid #2a3957;background:transparent;color:#b8c4dc;display:grid;place-items:center;cursor:pointer}
.vol-x:hover{color:#ffd34d;border-color:#ffd34d}
.vol-row{margin-bottom:14px}
.vol-row label{display:block;margin-bottom:5px;font-weight:700;font-size:.92rem;color:#dbe6ff}
.vol-opt{font-weight:400;color:#8d9ab3}
.vol-row input,.vol-row textarea{width:100%;box-sizing:border-box;padding:11px 14px;border:1px solid #2a3957;border-radius:12px;background:#0b1220;color:#e8eefc;font:inherit}
.vol-row input:focus,.vol-row textarea:focus{outline:none;border-color:#ffd34d}
.vol-row textarea{resize:vertical}
.vol-two{display:grid;grid-template-columns:110px 1fr;gap:12px}
.vol-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.vol-msg{min-height:22px;margin:2px 0 10px;font-size:.92rem;color:#b8c4dc}
.vol-err{color:#ff8a8a}
.vol-go{width:100%}
.vol-done{text-align:center;padding:16px 0}
.vol-done svg{color:#3fd08a}
.vol-done h2{margin:10px 0 6px}
.vol-done p{margin:0 0 18px}
@media(max-width:480px){.vol-two{grid-template-columns:1fr}.vol-modal{padding:26px 18px}}

/* الإدارة: صندوق المتطوعين */
body.admin-page .v-det{display:none;flex-basis:100%;margin-top:10px;padding-top:10px;border-top:1px solid #22304f;line-height:1.8;color:#cfd9ee;font-size:.92rem}
body.admin-page .x-row.v-open .v-det{display:block}
body.admin-page .x-row.v-has{flex-wrap:wrap;cursor:pointer}
body.admin-page .v-det b{color:#ffd34d;font-weight:700}
body.admin-page .v-act{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.vol-lbl{display:block;margin-bottom:6px;font-weight:700;font-size:.92rem;color:#dbe6ff}
.vol-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.vol-opt-c{position:relative;display:block;margin:0!important}
.vol-opt-c input{position:absolute;opacity:0;width:100%;height:100%;inset:0;cursor:pointer;margin:0}
.vol-opt-c span{display:block;text-align:center;padding:11px 8px;border:1px solid #2a3957;border-radius:12px;background:#0b1220;color:#b8c4dc;font-weight:700}
.vol-opt-c input:checked+span{border-color:#ffd34d;background:rgba(255,211,77,.14);color:#ffd34d}
.vol-opt-c input:focus-visible+span{outline:2px solid #ffd34d}
body.admin-page .v-role{background:rgba(255,211,77,.14);color:#ffd34d}
.r-more span{display:inline-block}

/* حول: بلاطتين + لوحة بتنفتح */
.acc-wrap{max-width:900px;margin:0 auto}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tile{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:12px;padding:24px;border-radius:24px;background:#0b1a38;border:1px solid #2a3957;color:#b8c4dc;font-family:inherit;direction:rtl;text-align:right;transition:.3s}
.tile:hover{border-color:#4a6094}
.tile:focus-visible{outline:2px solid #ffd34d;outline-offset:2px}
.tile .acc-ico{width:56px;height:56px;border-radius:50%;border:1.5px solid #3a4c74;color:#8fa3cc;display:grid;place-items:center;transition:.3s}
.tile b{font-size:1.25rem;color:#fff}
.tile small{font-size:.85rem}
.tile.on{background:linear-gradient(160deg,#173d75,#0d2a57);border-color:#ffd34d;box-shadow:0 0 0 3px rgba(255,211,77,.12)}
.tile.on .acc-ico{background:#ffd34d;border-color:#ffd34d;color:#0a2147}
.panel{margin-top:16px;background:linear-gradient(160deg,#10305f,#0a2147);border:1px solid rgba(255,197,49,.45);border-radius:26px;display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s ease}
.panel.open{grid-template-rows:1fr}
.panel>div{overflow:hidden}
.acc-in{padding:28px 34px}
.acc-in p{line-height:1.9;margin:0 0 14px;color:#e3ecff}
.acc-in b{color:#fff}
.acc-ar{direction:rtl;text-align:right}
.ini-h{font-size:1.35rem;margin:0 0 14px;color:#ffd34d;font-weight:900}
.acc-in .r-head{margin-bottom:22px}
@media(max-width:560px){.tiles{gap:10px}.tile{padding:16px 14px;gap:8px;border-radius:20px}.tile .acc-ico{width:46px;height:46px}.tile b{font-size:1.05rem}.tile small{font-size:.78rem}.acc-in{padding:22px 18px}.panel{border-radius:22px}}
.panel:not(.open){border-width:0;margin-top:0}.panel{transition:grid-template-rows .45s ease,margin .45s ease}
.acc-en{margin-top:22px;padding-top:22px;border-top:1px solid rgba(255,211,77,.25);direction:ltr;text-align:left}
.acc-cta{margin-top:22px;display:flex;justify-content:center}
@media(max-width:560px){.acc-cta .btn-lg{padding:12px 16px;font-size:.92rem;white-space:nowrap}}
/* selector: circle icons (D1 blue-gold) */
.tiles{display:flex!important;justify-content:center;gap:48px!important}
.tile{align-items:center;text-align:center!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:8px!important;gap:10px!important;width:190px}
.tile small{display:none}.tile .acc-ico{width:88px!important;height:88px!important}
.tile .acc-ico svg{width:38px;height:38px}.tile b{font-size:1.1rem!important}
.tile .acc-ico{background:#16367a!important;border:3px solid #ffc531!important;color:#ffc531!important}.tile b{color:#c9d6f5!important}
.tile.on .acc-ico{background:linear-gradient(135deg,#1e5bd6 0%,#ffc531 100%)!important;border-color:#fff!important;color:#fff!important;box-shadow:0 0 0 7px rgba(255,197,49,.25),0 12px 28px rgba(30,91,214,.5)}.tile.on b{color:#ffc531!important}
@media(max-width:560px){.tiles{gap:14px!important}.tile{width:auto;flex:1}.tile .acc-ico{width:70px!important;height:70px!important}.tile b{font-size:.95rem!important}}

/* educational games */
.games-box{background:linear-gradient(160deg,#0d3a7d,#1450a3);border-radius:22px;padding:22px;margin-bottom:8px}
.gm-card{background:#fff;border-radius:18px;padding:26px;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.gm-hub-head{font-size:1.3rem;font-weight:900;color:#0d3a7d;text-align:center;margin-bottom:16px}
.gm-hub{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px}
.gm-tile{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;background:#f4f7fc;border:3px solid #dbe5f5;border-radius:20px;padding:22px 12px;cursor:pointer;font-family:inherit;color:#0d3a7d}
.gm-tile:hover,.gm-tile:active{border-color:#ffc531;background:#fff8e1}
.gm-tile b{font-size:1.2rem;font-weight:900}.gm-tile small{color:#4a5b78;font-weight:600;min-height:2.6em}.gm-tile em{font-style:normal;font-weight:700;font-size:.85rem;background:#e9f0fb;border-radius:20px;padding:3px 12px}
.gm-start{text-align:center;padding:18px 8px}
.gm-start h3{font-size:1.7rem;font-weight:900;color:#0d3a7d;margin:6px 0 8px}
.gm-start p{color:#4a5b78;margin-bottom:16px;line-height:1.8}
.gm-ico{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,#1450a3,#ffc531);display:flex;align-items:center;justify-content:center;margin:0 auto 6px}
.gm-start .gm-ico{width:84px;height:84px;margin-bottom:10px}
.gm-ico svg{width:40px;height:40px}.gm-start .gm-ico svg{width:46px;height:46px}
.gm-pills{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-bottom:20px}
.gm-pills span{background:#e9f0fb;color:#0d3a7d;font-weight:700;border-radius:30px;padding:6px 14px}
.gm-btn{background:#ffc531;color:#0d3a7d;font-weight:900;font-size:1.2rem;border:0;border-radius:14px;padding:12px 38px;font-family:inherit;box-shadow:0 5px 0 #d9a21a;cursor:pointer}
.gm-btn:active{transform:translateY(3px);box-shadow:0 2px 0 #d9a21a}
.gm-back{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;color:#0d3a7d}
.gm-top{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.gm-top b{white-space:nowrap;color:#0d3a7d}
.gm-bar{flex:1;height:12px;border-radius:10px;background:#e3ebf7;overflow:hidden}
.gm-bar i{display:block;height:100%;background:linear-gradient(90deg,#1450a3,#ffc531);border-radius:10px;transition:width .3s}
.gm-stars{display:flex;align-items:center;gap:4px;font-weight:900;color:#0d3a7d}
.gm-stars svg,.gm-hearts svg{width:22px;height:22px}.gm-hearts{display:flex;gap:3px}
.gm-ar{font-size:1.6rem;font-weight:900;color:#0d3a7d;text-align:center;margin-bottom:8px}
.gm-ar.big{font-size:2.2rem}
.gm-slots{display:flex;gap:10px;direction:ltr;justify-content:center;flex-wrap:wrap;min-height:76px;margin:16px 0;padding:14px;border-radius:16px;background:#f4f7fc;border:3px dashed #b9cbe8;align-items:center}
.gm-empty{width:80px;height:46px;border-radius:12px;background:#e3ebf7}
.gm-bank{display:flex;gap:12px;direction:ltr;justify-content:center;flex-wrap:wrap}
.gm-w{background:#1450a3;color:#fff;font-weight:900;font-size:1.3rem;padding:10px 22px;border-radius:12px;border:0;box-shadow:0 4px 0 #0d3a7d;font-family:inherit;cursor:pointer;direction:ltr}
.gm-bank .gm-w.used{background:#e3ebf7;color:#e3ebf7;box-shadow:none;cursor:default}
.gm-slots .gm-w{background:#ffc531;color:#0d3a7d;box-shadow:0 4px 0 #d9a21a}
.gm-fb{max-width:560px;margin:0 auto 14px;border-radius:14px;padding:10px 18px;font-weight:900;font-size:1.15rem;text-align:center;display:flex;gap:8px;justify-content:center;align-items:center}
.gm-fb.ok{background:#e6f6ee;color:#1f9d62}.gm-fb.ok svg{width:22px;height:22px;background:#1f9d62;border-radius:50%;padding:3px}
.gm-fb.bad{background:#fdecee;color:#e63946}
.gm-tools{text-align:center;margin-top:16px}
.gm-link{background:none;border:0;color:#1450a3;font-weight:700;font-family:inherit;cursor:pointer;text-decoration:underline}
.gm-stars-row{display:flex;gap:6px;justify-content:center;margin-bottom:12px;flex-wrap:wrap}
.gm-s svg{width:34px;height:34px;opacity:.2;filter:grayscale(1)}.gm-s.on svg{opacity:1;filter:none}
.gm-lt{display:flex;gap:12px;direction:ltr;justify-content:center;margin:22px 0}
.gm-lt .l{width:76px;height:90px;border-radius:16px;background:#f4f7fc;border:3px solid #dbe5f5;display:flex;align-items:center;justify-content:center;font-size:2.8rem;font-weight:900;color:#0d3a7d}
.gm-lt .l.m{border-style:dashed;border-color:#ffc531;background:#fff8e1}.gm-lt .l.f{background:#ffc531;border-color:#ffc531;box-shadow:0 5px 0 #d9a21a}
.gm-kb{display:flex;gap:12px;justify-content:center;direction:ltr;flex-wrap:wrap}
.gm-kb .k{width:70px;height:60px;border-radius:14px;background:#1450a3;color:#fff;font-size:1.8rem;font-weight:900;border:0;box-shadow:0 5px 0 #0d3a7d;font-family:inherit;cursor:pointer}
.gm-kb .k.d{background:#e3ebf7;color:#9fb3d3;box-shadow:none;cursor:default}.gm-kb .k.hint{background:#ffc531;color:#0d3a7d;box-shadow:0 5px 0 #d9a21a}
.gm-timer{height:14px;border-radius:10px;background:#e3ebf7;overflow:hidden;margin-bottom:10px}.gm-timer i{display:block;height:100%;background:#ffc531;border-radius:10px;transition:width 1s linear}
.gm-etop{display:flex;justify-content:space-between;align-items:center;color:#0d3a7d}
.gm-streak{display:inline-flex;gap:6px;align-items:center;background:#fff8e1;border:2px solid #ffc531;border-radius:30px;padding:4px 14px;font-weight:900}.gm-streak svg{width:20px;height:20px}
.gm-sent{font-size:2.2rem;font-weight:900;color:#0d3a7d;direction:ltr;text-align:center;margin:26px 0 8px}
.gm-sent u{text-decoration:none;background:#fff8e1;border-bottom:4px solid #ffc531;padding:0 8px;border-radius:6px}
.gm-hint2{text-align:center;color:#4a5b78;font-weight:700}
.gm-tf{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}
.tb{border:0;border-radius:18px;padding:20px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:1.6rem;font-weight:900;color:#fff;font-family:inherit;cursor:pointer}
.tb svg{width:30px;height:30px}.tb.y{background:#1f9d62;box-shadow:0 6px 0 #167a4a}.tb.n{background:#e63946;box-shadow:0 6px 0 #b02632}
.gm-og{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}
.gm-og .oc{border:3px solid #dbe5f5;background:#f4f7fc;border-radius:18px;padding:26px;text-align:center;font-size:1.9rem;font-weight:900;color:#0d3a7d;direction:ltr;font-family:inherit;cursor:pointer}
.gm-og .oc.ok{background:#e6f6ee;border-color:#1f9d62;color:#1f9d62}.gm-og .oc.bad{background:#fdecee;border-color:#e63946;color:#e63946}
@media(max-width:820px){.gm-hub{grid-template-columns:1fr 1fr}.gm-sent{font-size:1.6rem}.gm-lt .l{width:56px;height:70px;font-size:2rem}.gm-kb .k{width:56px}}

/* install bar */
.ky-install{position:fixed;bottom:14px;right:14px;left:14px;max-width:520px;margin:0 auto;background:#0d3a7d;color:#fff;border-radius:16px;padding:12px 14px;display:flex;align-items:center;gap:12px;box-shadow:0 10px 30px rgba(0,0,0,.3);z-index:9999;font-weight:700}
.ky-i-ico{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#1450a3,#ffc531);display:flex;align-items:center;justify-content:center;flex:none}.ky-i-ico svg{width:22px;height:22px}
.ky-i-t{flex:1;font-size:.95rem;line-height:1.6}
.ky-i-go{background:#ffc531;color:#0d3a7d;font-weight:900;border:0;border-radius:10px;padding:8px 18px;font-family:inherit;cursor:pointer}
.ky-i-x{background:none;border:0;color:#fff;font-size:1.6rem;line-height:1;cursor:pointer;opacity:.8}
/* apk download button */
.apkB{display:inline-flex;align-items:center;gap:12px;background:linear-gradient(160deg,#1550b8,#0a2a63);border:2px solid #ffd34d;color:#fff;border-radius:16px;padding:10px 20px;text-decoration:none;box-shadow:0 0 0 4px rgba(255,211,77,.15),0 10px 24px rgba(10,33,71,.5)}
.apkB .ic{color:#ffd34d;display:inline-flex}
.apkB .t{display:flex;flex-direction:column;line-height:1.35;text-align:right}
.apkB .t b{font-size:1.05rem}.apkB .t small{font-size:.75rem;color:#ffe9a6;font-weight:600}
.apkB:hover{background:linear-gradient(160deg,#1a5fd6,#0d3478)}
/* home: groups and channels before login */
.home-links{padding:10px 0 50px}
.home-links .h-row h2{color:#fff;font-size:1.5rem;margin:0 0 14px}
.home-links .btn-small{padding:7px 16px;font-size:.85rem;border-radius:50px}
.home-links .btn-primary{background:#ffc531;color:#0d3a7d;border-color:#ffc531}
.home-links .h-row h2{color:#0d3a7d}
.home-links .h-wa h4{color:#0d3a7d}
.home-links .h-wa small{color:#41537a}

/* تدريب Writing */
.write-item{background:#fff;border:1.5px solid #e2e8f2;border-radius:14px;padding:16px;margin-bottom:12px}
.write-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.write-text{white-space:pre-wrap;direction:ltr;text-align:left;background:#f6f8fc;border-radius:10px;padding:12px 14px;line-height:1.7;color:#243b5e;margin-bottom:10px}
.write-feedback{background:#eefaf3;border:1.5px solid #bfe6cf;border-radius:10px;padding:12px 14px;margin-top:10px}
.write-feedback-title{font-weight:700;color:#187a48;margin-bottom:6px}
body.admin-page .write-item{background:#121c33;border-color:#2a3957}
body.admin-page .write-text{background:#0d1526;color:#d6e0f5}
body.admin-page .write-feedback{background:#0f2417;border-color:#2c5c40}
body.admin-page .write-feedback-title{color:#5fd393}
.write-item textarea{width:100%;box-sizing:border-box;border:1.5px solid #cfd8e6;border-radius:10px;padding:10px;font-family:inherit;font-size:.95rem;margin-bottom:6px}

/* تدريب Writing: المحرر وشريط الأدوات */
.weditor{background:#fff;border:1.5px solid #cfd8e6;border-radius:10px;padding:12px 14px;min-height:180px;line-height:1.7;color:#243b5e;cursor:text}
.weditor:focus{outline:none;border-color:#1a4f9c}
.weditor:empty:before{content:attr(data-placeholder);color:#8a94a6}
.wtools-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#eef2f8;border-radius:10px;padding:8px;direction:ltr}
.wtool-btn{display:inline-flex;align-items:center;gap:6px;border:1.5px solid #cfd8e6;background:#fff;border-radius:8px;padding:7px 12px;cursor:pointer;font-weight:700;color:#243b5e;font-family:inherit;font-size:.9rem;flex-shrink:0;white-space:nowrap}
.wtool-btn.on{background:#e3edfb;border-color:#1a4f9c;color:#1a4f9c}
.wtool-select{border:1.5px solid #cfd8e6;border-radius:8px;padding:7px 8px;background:#fff;color:#243b5e;font-family:inherit;font-size:.9rem;flex:1;min-width:0}
#wKb{margin-top:8px;background:#eef2f8;border-radius:12px;padding:8px}
.wkb-row{display:flex;gap:4px;justify-content:center;margin-top:5px;direction:ltr}
.wkb-row:first-child{margin-top:0}
.wkb-key{flex:1;max-width:44px;padding:9px 0;text-align:center;border:1.5px solid #cfd8e6;border-radius:8px;background:#fff;cursor:pointer;font-weight:700;color:#243b5e;font-size:.95rem}
.wkb-key.wide{max-width:120px;flex:3}

/* تدريب Writing: علامة مائية وتمويه عند السكرين شوت */
.writetext-wrap{position:relative}
.watermark{position:absolute;inset:0;pointer-events:none;overflow:hidden;display:flex;flex-wrap:wrap;gap:18px;align-content:space-around;justify-content:space-around;transform:rotate(-18deg);opacity:.12;font-weight:700;color:#243b5e;font-size:.85rem}
body.w-shielded .weditor, body.w-shielded .write-text, body.w-shielded .write-feedback{filter:blur(10px)}

/* تدريب Writing: زرار أدوات عائم */
.editorwrap{position:relative}
.btnD-fab{position:absolute;left:12px;bottom:12px;width:52px;height:52px;border-radius:50%;background:linear-gradient(180deg,#ffc531,#f5a623);border:none;color:#3a2c00;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px rgba(245,166,35,.45);z-index:2}
.btnD-fab:hover{filter:brightness(1.05)}
.weditor{padding-bottom:74px}

/* قسم الفيديوهات: مشغّل + قايمة */
.h-shelf.vh{display:grid;grid-template-columns:1fr 360px;gap:20px;align-items:start;overflow:visible}
.vh-player{position:relative;aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:#0d3a7d;box-shadow:0 18px 40px rgba(0,0,0,.5)}
.vh-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.vh-thumb{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:pointer;position:relative;color:#fff}
.vh-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.vh-title{color:#fff;font-size:1.5rem;font-weight:900;margin:16px 0 4px}
.vh-desc{color:#bcd0f5;margin:0 0 10px}
.vh-chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.vh-chips b{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;padding:4px 14px;border-radius:50px;font-size:.85rem}
.vh-yt{color:#ffc531;font-size:.85rem;font-weight:700;text-decoration:underline}
.vh-list{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:12px;max-height:620px;overflow:auto}
.vh-list h3{color:#fff;font-size:1.1rem;padding:6px 8px 10px;margin:0}
.vh-tabs{display:flex;gap:6px;padding:0 6px 10px;flex-wrap:wrap}
.vh-tabs button{font-family:inherit;cursor:pointer;background:none;padding:5px 14px;border-radius:50px;font-size:.85rem;color:#cfe0ff;border:1px solid rgba(255,255,255,.2)}
.vh-tabs button.on{background:#ffc531;color:#0d3a7d;font-weight:900;border-color:#ffc531}
.vh-it{display:grid;grid-template-columns:128px 1fr;gap:10px;padding:8px;border-radius:14px;align-items:center;width:100%;text-align:right;font-family:inherit;background:none;border:0;color:#fff;cursor:pointer}
.vh-it:hover{background:rgba(255,255,255,.08)}
.vh-it.cur{background:rgba(255,197,49,.16);outline:2px solid #ffc531}
.vh-th{display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#0d3a7d}
.vh-th img{width:100%;height:100%;object-fit:cover;display:block}
.vh-tx{display:block}
.vh-n{color:#ffc531;font-weight:900;font-size:.8rem;display:block}
.vh-tx strong{display:block;font-size:.92rem;line-height:1.35;color:#fff}
.vh-tx small{color:#9fb4de}
@media(max-width:820px){.h-shelf.vh{grid-template-columns:1fr}.vh-list{max-height:none}.vh-title{font-size:1.25rem}}
.vh-desc.clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}

.gm-listen{display:flex;flex-direction:column;align-items:center;gap:8px;margin:6px 0 18px}
.gm-play{width:92px;height:92px;border-radius:50%;border:0;background:#1a4f9c;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 0 #0d3a7d}
.gm-play svg{width:44px;height:44px}.gm-play:active{transform:translateY(3px);box-shadow:0 3px 0 #0d3a7d}
.gm-lg .oc{font-size:1.15rem}
.wk-head{display:flex;justify-content:space-between;align-items:center;gap:14px;background:linear-gradient(135deg,#0d3a7d,#1a4f9c);color:#fff;border-radius:16px;padding:18px 20px;margin-bottom:12px}
.wk-title{font-weight:900;font-size:1.15rem}.wk-sub{opacity:.9;font-size:.92rem;margin-top:4px;line-height:1.6}
.wk-left{background:#ffc531;color:#3a2a00;border-radius:14px;padding:8px 16px;text-align:center;min-width:78px}.wk-left b{display:block;font-size:1.8rem;line-height:1.1}.wk-left span{font-size:.8rem;font-weight:700}
.wk-me{background:#fffbe8;border:1px solid #f3e2a0;border-radius:12px;padding:10px 14px;margin-bottom:12px;color:#5a4500}
.wk-prev{margin-bottom:12px}.wk-prev-t{font-weight:800;color:#0d3a7d;margin-bottom:8px}
.wk-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.wk-pod{background:#fff;border-radius:14px;box-shadow:0 1px 8px rgba(0,0,0,.07);padding:12px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2px}
.wk-pod b{color:#22314f;word-break:break-word}.wk-pod span{color:#1c8a3e;font-weight:800;font-size:.85rem}
.wk-pod .wk-badge{width:44px;height:44px}.wk-pod.p1{border-top:4px solid #ffc531}.wk-pod.p2{border-top:4px solid #aab7c8}.wk-pod.p3{border-top:4px solid #cd8a4f}
.leader-name .wk-badge{width:20px;height:20px;vertical-align:-5px}
@media(max-width:560px){.wk-head{flex-direction:column;align-items:flex-start}.wk-podium{gap:6px}}

.dc-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.dc-streak{display:flex;align-items:center;gap:10px;background:#fff3e0;border:2px solid #ffd9a3;border-radius:16px;padding:8px 18px}
.dc-fire{width:44px;height:44px}.dc-streak b{display:block;font-size:1.8rem;line-height:1;color:#c25a00}.dc-streak span{font-size:.85rem;font-weight:700;color:#8a5a20}
.dc-best{color:#4a5b78;font-weight:700}.dc-best b{color:#0d3a7d}
.dc-card{background:#fff;border-radius:16px;box-shadow:0 1px 8px rgba(0,0,0,.07);padding:20px;text-align:center;margin-bottom:14px}
.dc-card h3{color:#0d3a7d;font-weight:900;margin-bottom:8px}.dc-card p{color:#4a5b78;line-height:1.8;margin-bottom:12px}
.dc-q{font-size:1.4rem;font-weight:800;color:#0d3a7d;margin:16px 0 18px;text-align:center}
.dc-og .oc{font-size:1.1rem}
.dc-board-t{font-weight:800;color:#0d3a7d;margin:6px 0 8px}

/* games: bold outline design (G) */
.games-box{background:#fff1c9;border:4px solid #111;border-radius:0;padding:14px;box-shadow:7px 7px 0 #111}
.games-box .gm-card{background:transparent;box-shadow:none;padding:4px}
.games-box .gm-hub-head{color:#111;font-size:1.5rem;font-weight:900;background:#ffc531;border:3px solid #111;display:inline-block;padding:2px 14px;box-shadow:4px 4px 0 #111;transform:rotate(-1deg)}
.games-box .gm-tile{border:4px solid #111;border-radius:0;box-shadow:6px 6px 0 #111;color:#111;padding:18px 10px}
.games-box .gm-tile small{color:#111;font-weight:700}.games-box .gm-tile em{background:#fff;border:2px solid #111;border-radius:0;color:#111}
.games-box .gm-tile:hover,.games-box .gm-tile:active{transform:translate(4px,4px);box-shadow:2px 2px 0 #111;border-color:#111}
.games-box .gm-tile[data-g=c]{background:#7ad7ff}.games-box .gm-tile[data-g=d]{background:#9cf27a}.games-box .gm-tile[data-g=e]{background:#ffb35c}.games-box .gm-tile[data-g=f]{background:#c9a8ff}.games-box .gm-tile[data-g=g]{background:#ff8fa8}
.games-box .gm-tile[data-g]:hover{background-color:inherit}
.games-box .gm-ico{border-radius:0;background:#111;border:0}.games-box .gm-hub{gap:20px}
.games-box .gm-start,.games-box .gm-top{background:#fff;border:4px solid #111;border-radius:0}.games-box .gm-start{box-shadow:6px 6px 0 #111}.games-box .gm-top{padding:8px 10px;box-shadow:4px 4px 0 #111}
.games-box .gm-start h3{color:#111}
.games-box .gm-btn{background:#ffc531;color:#111;border:4px solid #111;border-radius:0;box-shadow:5px 5px 0 #111}
.games-box .gm-bar{background:#fff;border:3px solid #111;border-radius:0;height:16px}.games-box .gm-bar i{background:#111;border-radius:0}
.games-box .gm-og .oc{background:#fff;border:4px solid #111;border-radius:0;box-shadow:5px 5px 0 #111;color:#111}
.games-box .gm-og .oc.ok{background:#9cf27a;color:#111;border-color:#111}.games-box .gm-og .oc.bad{background:#ff8fa8;color:#111;border-color:#111}
.games-box .gm-ar{color:#111}
/* games G: inner game screens */
.games-box .gm-slots{background:#fff;border:4px dashed #111;border-radius:0}
.games-box .gm-empty{background:#e6e6e6;border:3px solid #111;border-radius:0}
.games-box .gm-w{background:#7ad7ff;color:#111;border:3px solid #111;border-radius:0;box-shadow:4px 4px 0 #111}
.games-box .gm-slots .gm-w{background:#ffc531;color:#111;box-shadow:4px 4px 0 #111}
.games-box .gm-bank .gm-w.used{background:#e6e6e6;color:#e6e6e6;border-color:#bbb;box-shadow:none}
.games-box .gm-fb{border:3px solid #111;border-radius:0;box-shadow:4px 4px 0 #111}
.games-box .gm-fb.ok{background:#9cf27a;color:#111}.games-box .gm-fb.ok svg{background:#111}
.games-box .gm-fb.bad{background:#ff8fa8;color:#111}
.games-box .gm-lt .l{border:4px solid #111;border-radius:0;background:#fff;color:#111}
.games-box .gm-lt .l.m{border-style:dashed;background:#fff1c9}.games-box .gm-lt .l.f{background:#ffc531;border-color:#111;box-shadow:4px 4px 0 #111}
.games-box .gm-kb .k{background:#7ad7ff;color:#111;border:3px solid #111;border-radius:0;box-shadow:4px 4px 0 #111}
.games-box .gm-kb .k.d{background:#e6e6e6;color:#999;border-color:#bbb;box-shadow:none}.games-box .gm-kb .k.hint{background:#ffc531;color:#111;box-shadow:4px 4px 0 #111}
.games-box .gm-timer{background:#fff;border:3px solid #111;border-radius:0;height:16px}.games-box .gm-timer i{background:#111;border-radius:0}
.games-box .gm-streak{background:#fff;border:3px solid #111;border-radius:0}
.games-box .gm-sent{color:#111}.games-box .gm-sent u{background:#ffc531;border-bottom:4px solid #111;border-radius:0}
.games-box .gm-hint2,.games-box .gm-etop{color:#111}
.games-box .tb{border:3px solid #111!important;border-radius:0!important;box-shadow:5px 5px 0 #111!important;color:#111!important}
.games-box .tb.y{background:#9cf27a!important}.games-box .tb.n{background:#ff8fa8!important}
.games-box .tb svg{stroke:#111}
.games-box .gm-play{background:#ffc531;color:#111;border:4px solid #111;border-radius:0;box-shadow:5px 5px 0 #111}
.games-box .gm-pills span{background:#fff;border:2px solid #111;border-radius:0;color:#111}
.games-box .gm-s svg{opacity:.2}

/* games G v2: patterned background + better buttons */
.games-box{background-color:#ffc531;background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='.16'><circle cx='22' cy='24' r='9'/><path d='M82 14l8 14h-16z'/><path d='M96 80v16M88 88h16'/><path d='M14 84q8-12 16 0t16 0'/><rect x='56' y='62' width='16' height='16' rx='3' transform='rotate(18 64 70)'/></g><g fill='%23fff' opacity='.55'><circle cx='58' cy='20' r='3'/><circle cx='20' cy='60' r='3'/><circle cx='100' cy='46' r='3'/><circle cx='66' cy='104' r='3'/><circle cx='30' cy='108' r='2'/></g></svg>"),radial-gradient(circle at 15% 0%,#ffe27a 0,rgba(255,226,122,0) 55%),linear-gradient(180deg,#ffc531,#ffab2e);background-size:120px 120px,auto,auto;padding:18px}
.games-box .gm-card{background:#fff8e1;border:4px solid #111;border-radius:6px;box-shadow:6px 6px 0 #111;padding:18px 14px}
.games-box .gm-hub-head{background:#111;color:#ffc531;border:0;box-shadow:none;transform:none;display:block;text-align:center;padding:6px 14px;margin-bottom:18px;font-size:1.35rem;letter-spacing:.5px}
.games-box .gm-tile,.games-box .oc,.games-box .gm-w,.games-box .gm-kb .k,.games-box .tb,.games-box .gm-btn,.games-box .gm-play{border-radius:12px!important;transition:transform .12s,box-shadow .12s;box-shadow:0 6px 0 #111,inset 0 3px 0 rgba(255,255,255,.55)!important;border-width:3px!important;border-color:#111!important;cursor:pointer}
.games-box .gm-tile{border-width:4px!important;box-shadow:0 8px 0 #111,inset 0 4px 0 rgba(255,255,255,.5)!important}
.games-box .gm-tile:hover,.games-box .oc:hover,.games-box .gm-kb .k:hover,.games-box .tb:hover,.games-box .gm-btn:hover,.games-box .gm-w:hover{transform:translateY(-3px)}
.games-box .gm-tile:active,.games-box .oc:active,.games-box .gm-w:active,.games-box .gm-kb .k:active,.games-box .tb:active,.games-box .gm-btn:active,.games-box .gm-play:active{transform:translateY(5px)!important;box-shadow:0 1px 0 #111,inset 0 3px 0 rgba(255,255,255,.4)!important}
.games-box .gm-tile:hover{transform:translateY(-3px)}
.games-box .gm-tile .gm-ico{border-radius:14px;background:#111;box-shadow:inset 0 0 0 3px rgba(255,255,255,.25)}
.games-box .gm-tile b{font-size:1.25rem}
.games-box .gm-btn{font-size:1.25rem;padding:12px 40px;background:linear-gradient(#ffd75e,#ffb800)}
.games-box .gm-play{background:linear-gradient(#ffd75e,#ffb800);border-radius:50%!important}
.games-box .oc{background:linear-gradient(#fff,#f1ecd8)}
.games-box .oc.ok{background:linear-gradient(#b6f79b,#7fe05a)!important}.games-box .oc.bad{background:linear-gradient(#ffb0c1,#ff7f9c)!important}
.games-box .gm-w{background:linear-gradient(#a6e6ff,#5cc7f2)}.games-box .gm-slots .gm-w{background:linear-gradient(#ffd75e,#ffb800)}
.games-box .gm-bank .gm-w.used{background:#e6e6e6!important;box-shadow:none!important;border-color:#bbb!important;transform:none}
.games-box .gm-kb .k{background:linear-gradient(#a6e6ff,#5cc7f2)}
.games-box .gm-kb .k.d{background:#e6e6e6!important;box-shadow:none!important;border-color:#bbb!important;transform:none}
.games-box .gm-kb .k.hint{background:linear-gradient(#ffd75e,#ffb800)!important}
.games-box .tb.y{background:linear-gradient(#b6f79b,#6fd84a)!important}.games-box .tb.n{background:linear-gradient(#ffb0c1,#ff6f90)!important}
.games-box .gm-start,.games-box .gm-top{border-radius:12px}
.games-box .gm-bar,.games-box .gm-timer{border-radius:10px}.games-box .gm-bar i,.games-box .gm-timer i{border-radius:6px}
.games-box .gm-link{font-weight:800;color:#111}
@media(max-width:560px){.games-box{padding:12px}.games-box .gm-card{padding:14px 10px}}
/* game icons: clay style */
.games-box .gm-tile .gm-ico,.games-box .gm-start .gm-ico{background:#fff;border:0;border-radius:30px;box-shadow:0 8px 14px rgba(0,0,0,.28),inset 0 -6px 0 rgba(0,0,0,.08)}
.games-box .gm-tile .gm-ico{width:88px;height:88px}
.games-box .gm-start .gm-ico{width:96px;height:96px}
.games-box .gm-ico svg{width:72%;height:72%;filter:drop-shadow(0 4px 3px rgba(0,0,0,.28))}

/* ===== اختبارات تحديد المستوى: جدول السجلات وإشعارات الإدارة ===== */
body.admin-page .pl-table-wrap{overflow-x:auto;border:1px solid #22314f;border-radius:12px;background:#121c33}
body.admin-page .pl-table{width:100%;border-collapse:collapse;font-size:.9rem;color:#e8edf7}
body.admin-page .pl-table th{text-align:right;padding:10px 12px;font-size:.85rem;font-weight:800;color:#ffd34d;background:#0f182c;white-space:nowrap;border-bottom:1px solid #22314f}
body.admin-page .pl-table td{padding:10px 12px;vertical-align:middle;border-top:1px solid #1b2743;color:#e8edf7}
body.admin-page .pl-table td.pl-num{direction:ltr;text-align:right}
body.admin-page .pl-table td.pl-mut{color:#8d9ab3}
body.admin-page .pl-table tbody tr:hover{background:#0f182c}
body.admin-page .pl-notice{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid #22314f;border-radius:12px;padding:10px 12px;margin-top:8px;background:#121c33}
body.admin-page .pl-notice.unread{background:#1a2542;border-color:#3a4a70}
body.admin-page .pl-dot{width:10px;height:10px;border-radius:50%;background:#d6336c;flex:none}
body.admin-page .pl-notice-t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
body.admin-page .pl-notice-t b{color:#fff;font-weight:700}
body.admin-page .pl-mut2{color:#8d9ab3;font-size:.82rem;direction:rtl}
