/* ============================================================
   jrl.css — 巨日禄风格主题（2026-08 界面改版）
   设计规范：
     背景 #14141a / 顶栏 #1e1e28 / 卡片 #22222d / 统计块 #2c2c3a
     主渐变 linear-gradient(90deg,#9926c9,#e848a0)
     强调色 #d848bc / 次级文字 #b8b8c8
   加载顺序：uigg.css → styles.css → 本文件（覆盖生效）
   ============================================================ */

:root {
    --color: #e848a0;
    --lg: linear-gradient(90deg, #9926c9, #e848a0);
    --jrl-bg: #14141a;
    --jrl-bar: #1e1e28;
    --jrl-card: #22222d;
    --jrl-stat: #2c2c3a;
    --jrl-accent: #d848bc;
    --jrl-text: #b8b8c8;
    --111: #14141a;
    --222: #22222d;
    --333: #2c2c3a;
}

body { background-color: #14141a; }

/* ============ 顶部导航栏（60px 深色横条） ============ */
.head {
    position: sticky;
    top: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    height: 60px;
    background-color: #1e1e28;
    padding: 0 16px;
    gap: 12px;
    box-shadow: 0 1px 0 rgba(255,255,255,.04);
}

.head .logo {
    position: static;
    width: 42px;
    height: 42px;
    margin: 0;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.head .logo img { width: 100%; height: 100%; object-fit: contain; }

.head menu { display: block; flex-shrink: 0; }
menu-cont { display: flex; gap: 4px; margin-left: 8px; }
menu-cont li { padding: 0; }
menu-cont li a {
    color: #b8b8c8;
    font-size: 15px;
    height: 60px;
    line-height: 60px;
    padding: 0 14px;
    border-radius: 0;
    transition: color .15s;
}
menu-cont li a:hover { color: #fff; }
menu-cont li.active a {
    color: #fff;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    background-image: none;
}
menu-cont li.active a::after {
    content: '';
    display: block;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #9926c9, #e848a0);
    margin-top: -12px;
}

/* 顶栏右侧区域 */
.head-cont {
    position: static;
    padding: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.head-cont a.btn { width: auto; height: 36px; line-height: 36px; margin: 0; padding: 0 18px; font-size: 14px; }
.head-cont .ico { font-size: 26px; }
.head-cont .belance { font-size: 14px; color: #ddd; padding: 0 4px; }
.enroll-out, .enroll-in { display: flex; align-items: center; gap: 10px; }
.enroll-in .center { display: flex; align-items: center; gap: 10px; }
.head-cont .avatar { width: 40px; height: 40px; }

/* 按钮：渐变胶囊（细长 + 霓虹辉光） */
.btn {
    border-radius: 20px;
    background-image: linear-gradient(90deg, #9926c9, #e848a0);
    border: none;
    height: 30px;
    line-height: 30px;
    padding: 0 16px;
    box-sizing: border-box;
    box-shadow: 0 0 12px rgba(232, 72, 160, 0.30), 0 0 24px rgba(153, 38, 201, 0.16);
    transition: opacity .15s, transform .15s, box-shadow .2s;
}
.btn:hover {
    opacity: .92;
    box-shadow: 0 0 18px rgba(232, 72, 160, 0.55), 0 0 34px rgba(153, 38, 201, 0.32);
}
.btn-empty {
    background-image: none;
    background-color: rgba(232, 72, 160, 0.04);
    border: 1px solid rgba(232, 72, 160, 0.28);
    color: #d8d8e8;
    border-radius: 20px;
    height: 30px;
    line-height: 30px;
    padding: 0 16px;
    box-sizing: border-box;
}
.btn-empty:hover {
    border-color: #e848a0;
    color: #fff;
    box-shadow: 0 0 12px rgba(232, 72, 160, 0.35);
}

/* 下拉菜单 */
hop-cont { background-color: #2c2c3a; border: 1px solid #3a3a4a; border-radius: 14px; overflow: hidden; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
hop-cont a { background-color: transparent; border: 0; color: #ccc; border-radius: 9px; height: 38px; line-height: 38px; padding: 0 16px; }
hop-cont a:hover { background-color: rgba(232,72,160,.18); color: #fff; }

/* ============ 项目管理卡片（work.php） ============ */
.subject { background: transparent; padding: 0 28px; }
.subject-nav { background: transparent; border-bottom: 1px solid #26262f; }
.subject-nav-cont input {
    background-color: #22222d;
    border: 1px solid #3a3a4a;
    border-radius: 20px;
    color: #eee;
}

/* 项目网格：自适应大卡片（参考 minmax(280px,1fr)） */
.subject-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 24px;
    padding: 24px 0 60px;
}

/* 虚线添加项目卡（网格第一项） */
.jrl-add-card {
    position: relative;
    overflow: hidden;
    border: 2px dashed #d848bc;
    background: #1c1c28;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.jrl-add-card:hover { background: rgba(216,72,188,.08); transform: translateY(-3px); box-shadow: 0 0 24px rgba(216,72,188,.35); }
.jrl-add-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(232,72,160,.12), rgba(255,255,255,.22), transparent);
    transform: skewX(-20deg);
    animation: jrl-add-flow 3.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes jrl-add-flow {
    0% { left: -80%; }
    55%, 100% { left: 140%; }
}
.jrl-add-icon {
    width: 50px;
    height: 50px;
    border: 2px solid #d848bc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #d848bc;
    margin-bottom: 12px;
    line-height: 1;
    padding-bottom: 6px;
}
.jrl-add-text { color: #d848bc; font-size: 15px; }

.subject-blcok {
    background-color: #22222d;
    border: 1px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.subject-blcok:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 42px rgba(0,0,0,.55), 0 0 26px rgba(232,72,160,.28);
    border-color: rgba(232,72,160,.55);
}
.subject-blcok em { border-radius: 0; height: 190px; aspect-ratio: auto; overflow: hidden; position: relative; }
.subject-blcok em img { transition: transform .45s ease; }
.subject-blcok:hover em img { transform: scale(1.06); }
.subject-blcok .cover-edit-mask {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 6px;
    background: rgba(0,0,0,.55);
    color: #fff; font-size: 13px;
    opacity: 0; transition: opacity .25s;
    pointer-events: none;
}
.subject-blcok .cover-edit:hover .cover-edit-mask { opacity: 1; }
.subject-blcok .cover-edit-mask i { font-size: 22px; }
.subject-info { padding: 13px 14px 12px; }
.subject-info h5 {
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.subject-info p {
    font-size: 12px;
    color: #9a9aa8;
    line-height: 1.45;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
    margin-bottom: 11px;
    padding: 0;
}
.subject-info ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    background-color: #2c2c3a;
    padding: 8px 6px;
    border-radius: 8px;
    margin-bottom: 11px;
}
.subject-info ul li span { font-size: 11px; color: #9a9aa8; letter-spacing: .2px; }
.subject-info ul li t { font-size: 14px; color: #fff; margin-top: 3px; display: block; font-weight: 600; }
.subject-author { font-size: 11px; color: #888; padding: 0 0 11px; letter-spacing: .2px; }
.subject-info > .btn,
.subject-info a.btn.mono-click {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    border-radius: 10px;
    background-image: none;
    background-color: #444452;
    color: #fff;
    padding: 0;
    transition: background .2s;
}
.subject-info > .btn:hover,
.subject-info a.btn.mono-click:hover {
    background-image: linear-gradient(90deg, #9926c9, #e848a0);
    background-color: transparent;
}
.subject-blcok .subject-title { padding: 0 8px; z-index: 5; }
.subject-blcok .subject-title .btn { height: 26px; line-height: 26px; font-size: 12px; }
.subject-blcok .subject-title hop > a.ico { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 20px; margin: 6px 0; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.subject-blcok .subject-title hop > a.ico:hover { background: rgba(232,72,160,.85); }

/* 空状态 */
empty.default { color: #666; }

/* ============ 首页 Hero（index.php） ============ */
.jrl-home {
    position: relative;
    box-sizing: border-box;
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #14141a;
    text-align: center;
    padding: 20px 20px;
}
/* 背景图：Ken Burns 缓慢推近，营造 3D 镜头纵深 */
.jrl-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(/images/home.jpg) center/cover no-repeat;
    z-index: 0;
    animation: jrl-kenburns 6s ease-in-out infinite alternate, jrl-glitch 9s steps(1) infinite;
    pointer-events: none;
}
/* 霓虹光晕：青 + 品红赛博配色，呼吸脉动 */
.jrl-home::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 55% 45% at 28% 30%, rgba(153,38,201,.5), transparent 70%),
        radial-gradient(ellipse 50% 40% at 72% 62%, rgba(232,72,160,.45), transparent 70%),
        radial-gradient(ellipse 40% 35% at 84% 18%, rgba(0,229,255,.35), transparent 70%),
        radial-gradient(ellipse 30% 30% at 50% 82%, rgba(176,38,255,.42), transparent 70%);
    mix-blend-mode: screen;
    animation: jrl-neon 4s ease-in-out infinite alternate;
    pointer-events: none;
}
.jrl-home > * {
    position: relative;
    z-index: 2;
}
@keyframes jrl-kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}
/* 背景图偶发故障闪烁（glitch） */
@keyframes jrl-glitch {
    0%, 92%, 100% { clip-path: inset(0 0 0 0); }
    93% { clip-path: inset(15% 0 55% 0); }
    94% { clip-path: inset(45% 0 25% 0); }
    95% { clip-path: inset(75% 0 8% 0); }
    96% { clip-path: inset(0 0 0 0); }
}
@keyframes jrl-neon {
    0% { opacity: .55; }
    100% { opacity: 1; }
}

/* 漂浮光点粒子（赛博朋克） */
.jrl-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}
/* 斜向扫描光束 */
.jrl-beam {
    position: absolute;
    top: -20%;
    left: -40%;
    width: 38%;
    height: 140%;
    background: linear-gradient(105deg, transparent, rgba(0,229,255,.16), rgba(232,72,160,.22), transparent);
    transform: skewX(-15deg);
    animation: jrl-beam 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes jrl-beam {
    0% { left: -40%; }
    100% { left: 130%; }
}
/* 透视地平线网格（赛博朋克） */
.jrl-grid {
    position: absolute;
    bottom: -30%;
    left: -50%;
    width: 200%;
    height: 70%;
    background-image:
        linear-gradient(rgba(232,72,160,.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,255,.4) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(400px) rotateX(65deg);
    transform-origin: center top;
    animation: jrl-grid 2.5s linear infinite;
    pointer-events: none;
}
@keyframes jrl-grid {
    0% { background-position: 0 0; }
    100% { background-position: 0 48px; }
}
.jrl-particles i {
    position: absolute;
    bottom: -24px;
    border-radius: 50%;
    opacity: 0;
    animation: jrl-float linear infinite;
}
.jrl-particles i:nth-child(1)  { left: 4%;  width: 10px; height: 10px; background: #00e5ff; box-shadow: 0 0 6px #00e5ff, 0 0 18px #00e5ff, 0 0 34px #00e5ff; animation-duration: 9s;  animation-delay: 0s; }
.jrl-particles i:nth-child(2)  { left: 8%;  width: 6px;  height: 6px;  background: #e848a0; box-shadow: 0 0 5px #e848a0, 0 0 14px #e848a0, 0 0 28px #e848a0; animation-duration: 12s; animation-delay: 1s; }
.jrl-particles i:nth-child(3)  { left: 12%; width: 14px; height: 14px; background: #b026ff; box-shadow: 0 0 8px #b026ff, 0 0 20px #b026ff, 0 0 40px #b026ff; animation-duration: 8s;  animation-delay: 0.5s; }
.jrl-particles i:nth-child(4)  { left: 16%; width: 8px;  height: 8px;  background: #00e5ff; box-shadow: 0 0 6px #00e5ff, 0 0 16px #00e5ff, 0 0 30px #00e5ff; animation-duration: 11s; animation-delay: 2s; }
.jrl-particles i:nth-child(5)  { left: 21%; width: 12px; height: 12px; background: #e848a0; box-shadow: 0 0 7px #e848a0, 0 0 18px #e848a0, 0 0 34px #e848a0; animation-duration: 10s; animation-delay: 1.5s; }
.jrl-particles i:nth-child(6)  { left: 25%; width: 5px;  height: 5px;  background: #b026ff; box-shadow: 0 0 4px #b026ff, 0 0 12px #b026ff, 0 0 24px #b026ff; animation-duration: 13s; animation-delay: 3s; }
.jrl-particles i:nth-child(7)  { left: 29%; width: 11px; height: 11px; background: #00e5ff; box-shadow: 0 0 6px #00e5ff, 0 0 18px #00e5ff, 0 0 34px #00e5ff; animation-duration: 9s;  animation-delay: 0.8s; }
.jrl-particles i:nth-child(8)  { left: 33%; width: 7px;  height: 7px;  background: #e848a0; box-shadow: 0 0 5px #e848a0, 0 0 15px #e848a0, 0 0 28px #e848a0; animation-duration: 14s; animation-delay: 4s; }
.jrl-particles i:nth-child(9)  { left: 37%; width: 13px; height: 13px; background: #b026ff; box-shadow: 0 0 7px #b026ff, 0 0 20px #b026ff, 0 0 38px #b026ff; animation-duration: 8s;  animation-delay: 2.5s; }
.jrl-particles i:nth-child(10) { left: 41%; width: 9px;  height: 9px;  background: #00e5ff; box-shadow: 0 0 6px #00e5ff, 0 0 16px #00e5ff, 0 0 32px #00e5ff; animation-duration: 12s; animation-delay: 5s; }
.jrl-particles i:nth-child(11) { left: 45%; width: 15px; height: 15px; background: #e848a0; box-shadow: 0 0 8px #e848a0, 0 0 22px #e848a0, 0 0 42px #e848a0; animation-duration: 10s; animation-delay: 1.2s; }
.jrl-particles i:nth-child(12) { left: 49%; width: 6px;  height: 6px;  background: #b026ff; box-shadow: 0 0 4px #b026ff, 0 0 13px #b026ff, 0 0 26px #b026ff; animation-duration: 13s; animation-delay: 6s; }
.jrl-particles i:nth-child(13) { left: 53%; width: 10px; height: 10px; background: #00e5ff; box-shadow: 0 0 6px #00e5ff, 0 0 18px #00e5ff, 0 0 34px #00e5ff; animation-duration: 9s;  animation-delay: 3.5s; }
.jrl-particles i:nth-child(14) { left: 57%; width: 8px;  height: 8px;  background: #e848a0; box-shadow: 0 0 6px #e848a0, 0 0 16px #e848a0, 0 0 30px #e848a0; animation-duration: 11s; animation-delay: 7s; }
.jrl-particles i:nth-child(15) { left: 61%; width: 14px; height: 14px; background: #b026ff; box-shadow: 0 0 8px #b026ff, 0 0 20px #b026ff, 0 0 40px #b026ff; animation-duration: 8s;  animation-delay: 0.3s; }
.jrl-particles i:nth-child(16) { left: 65%; width: 7px;  height: 7px;  background: #00e5ff; box-shadow: 0 0 5px #00e5ff, 0 0 15px #00e5ff, 0 0 28px #00e5ff; animation-duration: 14s; animation-delay: 4.5s; }
.jrl-particles i:nth-child(17) { left: 69%; width: 11px; height: 11px; background: #e848a0; box-shadow: 0 0 6px #e848a0, 0 0 18px #e848a0, 0 0 34px #e848a0; animation-duration: 10s; animation-delay: 2s; }
.jrl-particles i:nth-child(18) { left: 73%; width: 5px;  height: 5px;  background: #b026ff; box-shadow: 0 0 4px #b026ff, 0 0 12px #b026ff, 0 0 24px #b026ff; animation-duration: 12s; animation-delay: 5.5s; }
.jrl-particles i:nth-child(19) { left: 77%; width: 12px; height: 12px; background: #00e5ff; box-shadow: 0 0 7px #00e5ff, 0 0 18px #00e5ff, 0 0 36px #00e5ff; animation-duration: 9s;  animation-delay: 1.8s; }
.jrl-particles i:nth-child(20) { left: 81%; width: 9px;  height: 9px;  background: #e848a0; box-shadow: 0 0 6px #e848a0, 0 0 16px #e848a0, 0 0 32px #e848a0; animation-duration: 13s; animation-delay: 6.5s; }
.jrl-particles i:nth-child(21) { left: 85%; width: 15px; height: 15px; background: #b026ff; box-shadow: 0 0 8px #b026ff, 0 0 22px #b026ff, 0 0 42px #b026ff; animation-duration: 8s;  animation-delay: 3s; }
.jrl-particles i:nth-child(22) { left: 89%; width: 7px;  height: 7px;  background: #00e5ff; box-shadow: 0 0 5px #00e5ff, 0 0 15px #00e5ff, 0 0 28px #00e5ff; animation-duration: 11s; animation-delay: 0.6s; }
.jrl-particles i:nth-child(23) { left: 93%; width: 10px; height: 10px; background: #e848a0; box-shadow: 0 0 6px #e848a0, 0 0 18px #e848a0, 0 0 34px #e848a0; animation-duration: 10s; animation-delay: 7.5s; }
.jrl-particles i:nth-child(24) { left: 6%;  width: 13px; height: 13px; background: #b026ff; box-shadow: 0 0 7px #b026ff, 0 0 20px #b026ff, 0 0 38px #b026ff; animation-duration: 12s; animation-delay: 4s; }
.jrl-particles i:nth-child(25) { left: 18%; width: 6px;  height: 6px;  background: #00e5ff; box-shadow: 0 0 4px #00e5ff, 0 0 14px #00e5ff, 0 0 26px #00e5ff; animation-duration: 14s; animation-delay: 2.8s; }
.jrl-particles i:nth-child(26) { left: 48%; width: 8px;  height: 8px;  background: #b026ff; box-shadow: 0 0 5px #b026ff, 0 0 15px #b026ff, 0 0 28px #b026ff; animation-duration: 9s;  animation-delay: 5s; }
.jrl-particles i:nth-child(27) { left: 68%; width: 13px; height: 13px; background: #00e5ff; box-shadow: 0 0 7px #00e5ff, 0 0 20px #00e5ff, 0 0 38px #00e5ff; animation-duration: 11s; animation-delay: 1s; }
.jrl-particles i:nth-child(28) { left: 86%; width: 6px;  height: 6px;  background: #e848a0; box-shadow: 0 0 4px #e848a0, 0 0 13px #e848a0, 0 0 26px #e848a0; animation-duration: 13s; animation-delay: 6s; }
.jrl-particles i:nth-child(29) { left: 35%; width: 15px; height: 15px; background: #00e5ff; box-shadow: 0 0 8px #00e5ff, 0 0 22px #00e5ff, 0 0 42px #00e5ff; animation-duration: 10s; animation-delay: 3.2s; }
.jrl-particles i:nth-child(30) { left: 60%; width: 5px;  height: 5px;  background: #e848a0; box-shadow: 0 0 4px #e848a0, 0 0 12px #e848a0, 0 0 24px #e848a0; animation-duration: 12s; animation-delay: 0.9s; }

@keyframes jrl-float {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    50%  { transform: translateY(-50vh) translateX(24px); opacity: .85; }
    90%  { opacity: .7; }
    100% { transform: translateY(-105vh) translateX(-18px); opacity: 0; }
}
.jrl-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    letter-spacing: 4px;
    color: #e848a0;
    border: 1px solid rgba(232,72,160,.5);
    background: rgba(153,38,201,.14);
    border-radius: 20px;
    padding: 6px 18px;
    margin-bottom: 16px;
    box-shadow: 0 0 16px rgba(232,72,160,.5), inset 0 0 10px rgba(232,72,160,.2);
}
.jrl-home h2 {
    font-size: clamp(26px, 3.5vw, 44px);
    line-height: 1.1;
    letter-spacing: 4px;
    margin: 0 0 12px;
    color: #fff;
}
.jrl-home h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #9926c9, #e848a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.jrl-home-sub {
    font-size: 15px;
    color: #f0f0f5;
    max-width: 640px;
    line-height: 1.6;
    margin: 0 auto 18px;
    text-shadow: 0 1px 8px rgba(0,0,0,.55), 0 0 2px rgba(0,0,0,.45);
}
.jrl-home-actions { display: flex; gap: 14px; justify-content: center; }
.jrl-home-actions .btn { height: 44px; line-height: 44px; padding: 0 36px; font-size: 15px; border-radius: 22px; box-shadow: 0 0 18px rgba(232,72,160,.6), 0 0 38px rgba(153,38,201,.45); }
.jrl-home-actions .btn-empty {
    height: 44px; line-height: 42px; padding: 0 32px; font-size: 15px; border-radius: 22px;
    background-color: rgba(20,20,26,.6);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
}
.jrl-home-actions .btn-empty:hover { border-color: #e848a0; color: #fff; background-color: rgba(20,20,26,.75); }

/* ============ 登录相关按钮：统一参考首页 CTA 紫粉渐变风格 ============ */
/* 头部右上角「登录/注册」按钮：发光 */
.head-cont a.btn[pop="login"] {
    box-shadow: 0 0 16px rgba(232,72,160,.55), 0 0 32px rgba(153,38,201,.4);
}
/* 登录弹窗内容区按钮：统一圆角 + 次按钮紫粉空心（底部按钮栏恢复默认直角） */
pop[pop="login"] pop-cont .btn { border-radius: 20px; }
pop[pop="login"] pop-cont .btn-empty {
    border: 1px solid rgba(232,72,160,.45);
    color: #eee;
}
pop[pop="login"] pop-cont .btn-empty:hover {
    border-color: #e848a0;
    color: #fff;
}

/* 登录弹窗顶部 tab 标签：统一紫粉主题 + 均匀分布不换行 */
pop[pop="login"] tab-list {
    display: flex;
    gap: 8px;
    overflow: visible;
}
pop[pop="login"] tab-list li {
    flex: 1;
    float: none;
    margin: 0;
}
pop[pop="login"] tab-list li a {
    width: 100%;
    justify-content: center;
    padding: 0 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid rgba(232,72,160,.4);
    color: #ccc;
}
pop[pop="login"] tab-list li.active a {
    background-image: linear-gradient(90deg, #9926c9, #e848a0);
    border-color: transparent;
    color: #fff;
}

/* 首页特性卡片条 */
.jrl-features {
    max-width: 1200px;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
}
.jrl-feature {
    background: #22222d;
    border-radius: 12px;
    padding: 16px 18px;
    text-align: left;
    transition: transform .2s, box-shadow .2s;
}
.jrl-feature:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.jrl-feature-ico {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    background: linear-gradient(135deg, rgba(153,38,201,.25), rgba(232,72,160,.25));
    margin-bottom: 10px;
}
.jrl-feature h4 { font-size: 15px; margin-bottom: 5px; color: #fff; }
.jrl-feature p { font-size: 12px; color: #999; line-height: 1.5; }
@media (max-width: 960px) { .jrl-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .jrl-features { grid-template-columns: 1fr; } }

/* 首页轮播（保留后台可配） */
.jrl-home-cards { max-width: 1400px; margin: 20px auto 0; width: 100%; }
.jrl-home-cards img { border-radius: 12px; width: 100%; max-height: 130px; object-fit: cover; }

/* ============ 公共分页条（作品展示等） ============ */
.jrl-pager { margin-top: 36px; text-align: center; display: flex; justify-content: center; align-items: center; gap: 8px; }
.jrl-pager a, .jrl-pager span {
    background: #2c2c3a;
    color: #ccc;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 14px;
}
.jrl-pager a:hover { color: #fff; }
.jrl-pager .on { background: linear-gradient(90deg, #9926c9, #e848a0); color: #fff; }
.jrl-pager .info { background: transparent; color: #888; }

/* ============ 创建/编辑项目 & 项目封面弹窗：赛博朋克统一 ============ */
pop[pop="create"] pop-main,
pop[pop="project-cover"] pop-main {
    background: #14141a;
    border: 1px solid rgba(232,72,160,.25);
    border-radius: 18px;
    box-shadow: 0 0 0 1px rgba(153,38,201,.12), 0 22px 64px rgba(0,0,0,.7), 0 0 48px rgba(232,72,160,.18);
}

/* 标题栏 */
pop[pop="create"] pop-title,
pop[pop="project-cover"] pop-title {
    background: linear-gradient(90deg, rgba(153,38,201,.20), rgba(232,72,160,.20));
    border-bottom: 1px solid rgba(232,72,160,.16);
    border-radius: 18px 18px 0 0;
}
pop[pop="create"] pop-title h3,
pop[pop="project-cover"] pop-title h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    line-height: 52px;
    padding: 0 22px;
}
pop[pop="create"] pop-title a.close,
pop[pop="project-cover"] pop-title a.close {
    margin-left: auto;
    margin-right: 10px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a9ab0;
    font-family: ico;
    font-size: 15px;
    transition: color .15s, background .15s, box-shadow .15s;
}
pop[pop="create"] pop-title a.close:hover,
pop[pop="project-cover"] pop-title a.close:hover {
    color: #fff;
    background: rgba(232,72,160,.18);
    box-shadow: 0 0 12px rgba(232,72,160,.4);
}

/* 内容区 */
pop[pop="create"] pop-cont,
pop[pop="project-cover"] pop-cont {
    background: transparent;
    padding: 24px;
}

/* 底部按钮栏 */
pop[pop="create"] pop-solve,
pop[pop="project-cover"] pop-solve {
    padding: 16px 24px;
    gap: 12px;
    background: rgba(255,255,255,.02);
    border-top: 1px solid rgba(232,72,160,.12);
    border-radius: 0 0 18px 18px;
}
pop[pop="create"] pop-solve .btn,
pop[pop="project-cover"] pop-solve .btn {
    flex: 1;
    width: auto;
    height: 36px;
    line-height: 36px;
    border-radius: 18px;
    padding: 0 20px;
    font-size: 14px;
}
pop[pop="create"] pop-solve .btn.mono,
pop[pop="project-cover"] pop-solve .btn.mono {
    filter: none;
    background: transparent;
    background-image: none;
    border: 1px solid rgba(232,72,160,.4);
    color: #d8d8e8;
    box-shadow: none;
}
pop[pop="create"] pop-solve .btn.mono:hover,
pop[pop="project-cover"] pop-solve .btn.mono:hover {
    border-color: #e848a0;
    color: #fff;
    box-shadow: 0 0 14px rgba(232,72,160,.35);
}

/* ============ 创建/编辑项目表单 ============ */
pop[pop="create"] .form li {
    margin-bottom: 16px;
}
pop[pop="create"] .form li > span:first-child {
    width: 96px;
    line-height: 40px;
    color: #b8b8c8;
    font-size: 13px;
    flex-shrink: 0;
}
pop[pop="create"] .form li input,
pop[pop="create"] .form li select {
    height: 40px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    color: #eee;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
pop[pop="create"] .form li textarea {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    color: #eee;
    min-height: 96px;
    padding: 12px;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
pop[pop="create"] .form li input::placeholder,
pop[pop="create"] .form li textarea::placeholder { color: #5a5a6c; }
pop[pop="create"] .form li input:focus,
pop[pop="create"] .form li select:focus,
pop[pop="create"] .form li textarea:focus {
    border-color: rgba(232,72,160,.55);
    background: rgba(255,255,255,.06);
    box-shadow: 0 0 0 3px rgba(232,72,160,.12);
}

/* 单选组（创作模式 / 类型） */
pop[pop="create"] .pop-add-type {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
pop[pop="create"] .pop-add-type o.radio {
    float: none !important;
    margin: 0 6px 0 0 !important;
    line-height: 1 !important;
    font-size: 18px;
    color: #56566a;
}
pop[pop="create"] .pop-add-type o.radio.active {
    color: #e848a0;
    text-shadow: 0 0 8px rgba(232,72,160,.9);
}
pop[pop="create"] .pop-add-type span {
    float: none !important;
    margin: 0 18px 0 0 !important;
    line-height: 1 !important;
    color: #b8b8c8;
    font-size: 13px;
}

/* 比例：按钮式标签 */
pop[pop="create"] .ratio-tag-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
pop[pop="create"] .ratio-tag-group o.radio {
    display: none !important;
}
pop[pop="create"] .ratio-tag-group span {
    float: none !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: #b8b8c8;
    cursor: pointer;
    user-select: none;
    transition: all .15s;
}
pop[pop="create"] .ratio-tag-group span:hover {
    border-color: rgba(232,72,160,.5);
    color: #fff;
}
pop[pop="create"] .ratio-tag-group o.radio.active + span {
    background: linear-gradient(135deg, rgba(232,72,160,.25), rgba(218,59,255,.2));
    border-color: rgba(232,72,160,.6);
    color: #fff;
}

/* 表单内次级按钮（选择音色 / 风格选择） */
pop[pop="create"] .form li a.btn,
pop[pop="create"] .form li .btn {
    height: 34px;
    line-height: 34px;
    border-radius: 17px;
    padding: 0 16px;
    font-size: 13px;
    margin: 0;
    flex-shrink: 0;
}

/* 下拉选择框 */
pop[pop="create"] .form li .select select {
    height: 40px;
    padding: 0 40px 0 12px;
}

/* 已选风格：与「风格选择」按钮同行，紧跟标签后 */
pop[pop="create"] #pop-create-style-li {
    line-height: 40px;
    font-size: 13px;
    color: #b8b8c8;
}
pop[pop="create"] #pop-create-style-text {
    white-space: nowrap;
    line-height: 40px;
}

/* ============ 项目封面弹窗 ============ */
/* 顶部 Tab */
pop[pop="project-cover"] .cover-tabs {
    display: flex !important;
    gap: 8px !important;
    border-bottom: none !important;
    margin-bottom: 22px !important;
}
pop[pop="project-cover"] .cover-tab {
    padding: 8px 22px !important;
    font-size: 13px !important;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12) !important;
    color: #9a9ab0 !important;
    transition: all .15s;
}
pop[pop="project-cover"] .cover-tab:hover {
    color: #fff !important;
    border-color: rgba(232,72,160,.5) !important;
}
pop[pop="project-cover"] .cover-tab.active {
    color: #fff !important;
    background: linear-gradient(90deg, #9926c9, #e848a0);
    border-color: transparent !important;
    box-shadow: 0 0 14px rgba(232,72,160,.4);
}

/* 区块标题 */
pop[pop="project-cover"] .cover-section-label {
    color: #c9c9d8 !important;
}

/* 上传组件 */
pop[pop="project-cover"] .upload-group {
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 12px !important;
    color: #8a8aa0 !important;
}
pop[pop="project-cover"] .upload-group:hover {
    border-color: rgba(232,72,160,.5) !important;
    color: #e848a0 !important;
}

/* 模型标签 */
pop[pop="project-cover"] .cover-model-tag {
    border-radius: 16px;
}
pop[pop="project-cover"] .cover-model-tag:hover {
    border-color: #e848a0 !important;
    color: #fff !important;
}

/* 提示词预览 */
pop[pop="project-cover"] #pop-cover-prompt-preview {
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 12px !important;
    color: #d8d8e8 !important;
}

/* 右键菜单 / 子菜单 */
#pop-cover-ctxmenu,
#pop-cover-submenu {
    background: #1e1e28 !important;
    border: 1px solid rgba(232,72,160,.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.5) !important;
}
