:root{--blue:#3498db;--red:#e74c3c;--green:#2ecc71;--text:#2c3e50}
body{margin:0;background:#f3f4f6;font-family:Arial,sans-serif}
a{text-decoration:none}
.topbg{height:133px;background:linear-gradient(to bottom,#fff,#eea700);text-align:center}
header{background:#fff0cc;color:#fff;padding:16px 0 0;position:sticky;top:0;z-index:50}
.container{max-width:888px;margin:0 auto;padding:0 12px}
header .container{display:flex;justify-content:space-between;align-items:center}
header h1{font-size:24px;margin:0}
header p{font-size:14px;margin:4px 0 0}
#mobile-menu-btn{display:none;background:0 0;border:none;cursor:pointer}
#mobile-menu-btn svg{width:24px;height:24px;color:#efab0b}
nav{background:#efab0b;padding:10px 0}
nav ul{list-style:none;margin:0;padding:0;display:flex;gap:15px}
nav ul li a{color:#fff;font-weight:bold;font-size:14px;background:hsla(0,0%,100%,.15);padding:5px 7px;border-radius:8px}
nav ul li a:hover{background:hsla(0,0%,100%,.3)}
#dropdown-container{position:relative}
#dropdown-btn{display:none;color:#fff;font-size:14px;background:0 0;border:none}
#dropdown-btn:hover{text-decoration:underline}
#dropdown-menu{display:none;position:absolute;top:100%;left:0;background:#efab0b;width:128px;color:#fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.2);padding:8px;z-index:10}
#dropdown-menu.active{display:block}
#dropdown-menu li{margin:20px 0}
#mobile-menu{position:fixed;top:0;left:0;width:100%;height:100%;background:#efab0b;transform:translateX(100%);transition:transform .3s ease-in-out;z-index:50}
#mobile-menu.active{transform:translateX(0)}
#mobile-menu .container{padding:16px}
#mobile-menu ul{padding:15px 0 0 15px;list-style:none}
#mobile-menu ul li{margin-bottom:15px;width:33%;float:left}
#mobile-menu ul li a{padding:5px;font-weight:600;color:#fff;display:block}}
#mobile-menu-close{background:0;border:none;cursor:pointer}
#mobile-menu-close svg{width:24px;height:24px}
#contact-panel{position:fixed;top:0;left:0;width:300px;height:100%;background:#fff;box-shadow:2px 0 8px rgba(0,0,0,.2);transform:translateX(-100%);transition:transform .3s ease-in-out;z-index:50;padding:24px}
#contact-panel.active{transform:translateX(0)}
#contact-close{background:0 0;border:none;cursor:pointer}
#contact-close svg{width:24px;height:24px;stroke:#4b5563}
#contact-panel h2{font-size:20px;margin:0 0 16px;background:linear-gradient(to right,#000,#f00);-webkit-background-clip:text;color:transparent;font-weight:700}
#contact-panel p{color:#4b5563;margin:0 0 16px;font-size:14px}
#contact-panel a{color:#1d4ed8;text-decoration:none}
#contact-panel a:hover{text-decoration:underline}
.amkj{border:2px solid #ffa721;width:888px;padding:12px;border-radius:8px;margin-bottom:15px;background:#fff;display:flex}
.number-grid{display:grid;grid-template-columns:repeat(6,1fr) 1.2fr;gap:1.5rem;border-radius:8px}
.number-card{position:relative;border-radius:8px;padding:5px 10px;text-align:center;color:#fff}
.number-card.blue{background:var(--blue)}
.number-card.red{background:var(--red)}
.number-card.green{background:var(--green)}
.number{font-size:2rem;font-weight:700}
.zodiac{font-size:1.5rem;opacity:.9;background:#fff;color:#000;padding:0 20px;text-align:center}
.period{color:var(--text);text-align:center;align-content:center;font-weight:600;padding:0 16px}
.period a{font-size:.88rem;color:#d00}
.number-card.special{position:relative;transform:scale(1.1);animation:pulse 1.5s infinite}
@keyframes pulse{0%{transform:scale(1)}
50%{transform:scale(1.05)}
100%{transform:scale(1)}
}
#adjs{width:888px;margin:0 auto;font-weight:700;display:flow-root;box-shadow:0 4px 6px rgba(0,0,0,.31);background-color:#fff;padding:15px 0 0}
#adjs li{width:48%;border-bottom:1px dashed #ddd;float:left;margin:0 0 0 15px;list-style:none}
#adjs li.ad{width:100%;list-style:none;padding:0;margin:0;text-align:center}
#adjs li a{font-size:22px;color:#0033f7;display:inline-block;padding:10px 0;line-height:1}
main{max-width:888px;margin:32px auto}
.content-item{padding:16px;margin-bottom:32px;background:#f9fafb;border-radius:0 8px 8px 0}
.content-item.post{border-left:4px solid #efab0b}
.content-item.page{border-left:4px solid #efab0b}
.content-item h2{font-size:28px;margin:0 0 8px;background:linear-gradient(to right,#efab0b,#f00);-webkit-background-clip:text;color:transparent;font-weight:700;text-shadow:1px 1px 2px rgba(0,0,0,.1);border-radius:4px;padding:4px 8px}
.content-item .content{font-size:16px}
.content-item .content img{max-width:100%;height:auto}
.content-item .content a{color:#1d4ed8;text-decoration:underline}
.error{background:#fef2f2;border-left:4px solid #ef4444;padding:16px;margin-bottom:16px}
.error h2{font-size:18px;color:#b91c1c;margin:0 0 8px}
.error p{color:#dc2626;margin:0}
.fixed-buttons{position:fixed;bottom:16px;right:16px;display:flex;flex-direction:column;gap:8px;z-index:50}
.fixed-buttons button{background:linear-gradient(180deg,#ffdb88 0%,#efab0b 64%,#a57400 100%);color:#fff;padding:8px;border:none;border-radius:50%;cursor:pointer;width:60px;height:60px;display:flex;align-items:center;justify-content:center}
.fixed-buttons button:hover{background:#c58e0d}
.fixed-buttons svg{width:24px;height:24px}
footer{background:#fff0cc;text-align:center;padding:16px 0}
footer p{margin:0;color:#efab0b;font-size:13px}
@media (max-width:768px){header{padding:8px 0}
#mobile-menu-btn{display:block}
nav{display:none}
header h1{font-size:20px}
header p{font-size:12px}
#contact-panel{width:70%}
.content-item h2{font-size:24px}
.fixed-buttons{bottom:10px;right:10px}
.fixed-buttons button{width:32px;height:32px}
.fixed-buttons svg{width:14px;height:14px}
}
@media (max-width:992px){.topbg{height:auto}
.topbg img{width:100%;height:auto}
nav ul{gap:20px}
.amkj{padding:5px;width:85%;border:0;margin:0}
.number-grid{gap:.5rem;width:85%}
.period,.zodiac{padding:0 5px;font-size:.7rem}
.period{line-height:1}
.period a{font-size:.65rem}
.number{font-size:1.15rem;margin:0}
.number-card{padding:2px}
#adjs{width:100%;background-size:contain;padding:15px;display:table-cell}
#adjs li{width:100%;list-style:none;margin:0 0 0 5px}
#adjs li a{font-size:18px;padding:10px 0 5px}
#adjs li.ad img{height:50px;width:100%}
}
