/* enso.artist UDF — 罗盘时钟 premium skin
   Layers over ceshi9_1/2/3. Touch: color · typography · ring tracks · indicator.
   UDF: 克制即高级 — cinnabar · antique-gold · moonsilver on deep-space ground */

/* ── 1. Ground ──────────────────────────────────────────────────────────────── */
body {
    background: radial-gradient(ellipse at 50% 50%,
        #0d001a 0%,
        #080010 55%,
        #030008 100%);
}

#sum {
    /* soft ambient halo */
    filter: drop-shadow(0 0 80px rgba(180, 120, 40, 0.08));
}

/* outer decorative bezel ring */
#sum::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(200, 168, 74, 0.18);
    box-shadow:
        0 0 0 6px rgba(200, 168, 74, 0.04),
        inset 0 0 20px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* ── 2. Ring track circles ──────────────────────────────────────────────────── */
#second, #minute, #hour, #AP, #solar, #data, #mouth {
    border-radius: 50%;
}
#second  { border: 1px solid rgba(150, 60, 60, 0.22); }
#minute  { border: 1px solid rgba(180, 190, 210, 0.15); }
#hour    { border: 1px solid rgba(200, 168, 74, 0.28); }
#AP      { border: 1px solid rgba(140, 40, 40, 0.18); }
#solar   { border: 1px solid rgba(80, 150, 110, 0.2); }
#data    { border: 1px solid rgba(200, 168, 74, 0.18); }
#mouth   { border: 1px solid rgba(180, 150, 80, 0.2); }

/* ── 3. Seconds ring — cinnabar, small, urgent ───────────────────────────────  */
#second li {
    font-size: 8px;
    font-family: 'Songti SC', 'SimSun', 'Noto Serif SC', serif;
    color: rgba(185, 65, 55, 0.7);
    letter-spacing: 0;
}

/* every 5th second marker brighter */
#second ul li:nth-child(5n) {
    color: rgba(210, 80, 60, 0.95);
    font-size: 9px;
    text-shadow: 0 0 6px rgba(210, 60, 50, 0.5);
}

/* ── 4. Minutes ring — moonsilver ───────────────────────────────────────────── */
#minute li {
    font-size: 9.5px;
    font-family: 'Songti SC', 'SimSun', 'Noto Serif SC', serif;
    color: rgba(205, 215, 230, 0.72);
    letter-spacing: 0;
}

#minute ul li:nth-child(5n) {
    color: rgba(220, 232, 248, 0.95);
    text-shadow: 0 0 5px rgba(180, 200, 240, 0.4);
    font-size: 10.5px;
}

/* ── 5. Hours ring — antique gold, anchor ───────────────────────────────────── */
#hour li {
    font-size: 13px;
    font-family: 'Songti SC', 'STSong', 'SimSun', 'Noto Serif SC', serif;
    color: #c8a84a;
    letter-spacing: 0.5px;
    text-shadow:
        0 0 10px rgba(200, 168, 74, 0.55),
        0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* ── 6. AM/PM — cinnabar red indicator ──────────────────────────────────────── */
#AP li {
    font-size: 12px;
    font-family: 'Songti SC', 'SimSun', serif;
    color: #c0392b;
    text-shadow:
        0 0 12px rgba(192, 57, 43, 0.7),
        0 0  4px rgba(220, 80, 60, 0.5);
    font-weight: 600;
    letter-spacing: 1px;
}

/* ── 7. Solar terms — jade ───────────────────────────────────────────────────── */
#solar li {
    font-size: 9px;
    font-family: 'Songti SC', 'SimSun', serif;
    color: rgba(100, 175, 135, 0.78);
    letter-spacing: 0;
    cursor: pointer;
    transition: color 0.25s, text-shadow 0.25s;
}

#solar li:hover, #solar li.mm:hover {
    color: #7fcfa0;
    text-shadow: 0 0 8px rgba(100, 200, 140, 0.6);
}

/* ── 8. Date ring — warm amber ───────────────────────────────────────────────── */
#data li {
    font-size: 8.5px;
    font-family: 'Songti SC', 'SimSun', serif;
    color: rgba(220, 185, 100, 0.75);
    letter-spacing: 0;
}

/* ── 9. Month ring — pale gold (innermost) ──────────────────────────────────── */
#mouth li {
    font-size: 9px;
    font-family: 'Songti SC', 'SimSun', serif;
    color: rgba(195, 165, 85, 0.85);
    letter-spacing: 0;
    text-shadow: 0 0 6px rgba(200, 160, 60, 0.25);
}

/* ── 10. Year center — gold emblem ──────────────────────────────────────────── */
#year {
    z-index: 100;
}

#year ul {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 35%,
        rgba(50, 35, 10, 0.95) 0%,
        rgba(18, 10, 4, 0.98) 100%);
    border: 1px solid rgba(200, 168, 74, 0.6);
    box-shadow:
        0 0 0 3px rgba(10, 5, 2, 0.9),
        0 0 0 4px rgba(200, 168, 74, 0.2),
        0 0 20px rgba(200, 168, 74, 0.18),
        inset 0 0 16px rgba(0, 0, 0, 0.7);
}

#yearAll {
    font-size: 14px;
    font-family: 'Songti SC', 'STSong', 'SimSun', serif;
    color: #d4a853;
    text-shadow: 0 0 10px rgba(212, 168, 83, 0.7);
    letter-spacing: 2px;
    font-weight: 500;
}

/* ── 11. Shade indicator — cinnabar beam ────────────────────────────────────── */
#shade {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(150, 35, 25, 0.15) 10%,
        rgba(180, 50, 35, 0.55) 40%,
        rgba(200, 60, 45, 0.72) 55%,
        rgba(220, 80, 60, 0.85) 68%,
        rgba(230, 90, 70, 0.95) 78%,
        rgba(245, 110, 80, 1.0) 88%,
        rgba(255, 130, 90, 0.6) 100%
    );
    height: 2px;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(200, 60, 45, 0.5);
}

/* ── 12. Message panel — refined ────────────────────────────────────────────── */
#message {
    color: rgba(120, 190, 140, 0.88);
    font-family: 'Songti SC', 'SimSun', serif;
    font-size: 16px;
}

#message ul li {
    border: 1px solid rgba(100, 160, 115, 0.35);
    color: rgba(130, 200, 150, 0.85);
    background: rgba(5, 20, 12, 0.7);
    border-radius: 2px;
}
