/* Fifth first-level navigation destination.  It is intentionally a short
 * return surface, never a secondary area of "我的". */
.crushworld-return-panel {
    min-height: min(470px, calc(100svh - 230px));
    display: grid;
    place-items: center;
    padding: clamp(20px, 5vw, 48px);
}
.crushworld-return-card {
    width: min(580px, 100%);
    padding: clamp(24px, 5vw, 46px);
    border: 1px solid rgba(120, 208, 222, .34);
    border-radius: 28px;
    color: #f8f2e8;
    background:
        radial-gradient(circle at 78% 14%, rgba(241, 198, 106, .24), transparent 32%),
        linear-gradient(145deg, #27345e, #11162b 72%);
    box-shadow: 0 20px 55px rgba(17, 22, 43, .25);
}
.crushworld-return-card p { color: rgba(248, 242, 232, .82); line-height: 1.7; }
.crushworld-return-card .eyebrow { margin: 0 0 8px; color: #78d0de; font-size: .82rem; font-weight: 800; letter-spacing: .12em; }
.crushworld-return-card h2 { margin: 0; font-size: clamp(1.55rem, 4vw, 2.3rem); }
.crushworld-return-card .btn { margin-top: 12px; min-height: 44px; }
.crushworld-entry-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.crushworld-entry-actions .btn { margin-top: 0; flex: 1 1 130px; }
.crushworld-entry-progress { display: grid; gap: 8px; margin-top: 18px; }
.crushworld-entry-progress p { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.1); }
.crushworld-entry-progress strong { color: #fff4ca; white-space: nowrap; }
@media (max-width: 440px) {
    .crushworld-return-panel { min-height: calc(100svh - 182px); padding: 14px; }
    .crushworld-return-card { border-radius: 22px; }
}

/* E5V administrator shell: only account administration and CrushWorld remain
 * first-level destinations. Learner cards leave layout and accessibility
 * navigation after trusted app_metadata has been checked. */
body.admin-mode .learner-only,
body.admin-mode #panel-learn,
body.admin-mode #panel-practice,
body.admin-mode #panel-ebb,
body.admin-mode .rail-progress-slot,
body.admin-mode .rail-track-label,
body.admin-mode .rail-note { display: none !important; }
body.admin-mode #panel-me { max-width: 780px; width: 100%; margin-inline: auto; }
body.admin-mode #admin-section { display: block; }
body.admin-mode .tabbar .tab-btn:not([data-tab="crushworld"]):not([data-tab="me"]) { display: none !important; }
body.admin-mode .tabbar { justify-content: center; }
body.admin-mode .tabbar .tab-btn { flex: 0 1 240px; min-width: 120px; }
@media (min-width: 1024px) and (orientation: landscape) and (min-height: 700px) {
    html.rail-aux-ready body.admin-mode .tabbar { grid-template-rows: auto auto 1fr auto; }
    html.rail-aux-ready body.admin-mode .rail-brand { margin-bottom: 8px; }
    html.rail-aux-ready body.admin-mode .tabbar .tab-btn { flex: none; width: 100%; }
}
