*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:70px}body{margin:0;padding:10px;background:#e9dfcf;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#171717}.cgi-body{max-width:1000px;margin:auto;background:#fff;border:1px solid #86c8ad}.classic-banner{width:100%;background-image:url('../images/brand-board.png');background-size:100% auto;background-repeat:no-repeat}.hero{aspect-ratio:1983/284;background-position:center top}.section-light{aspect-ratio:1983/238;background-position:center 56%;border-top:6px solid #e9dfcf;border-bottom:6px solid #e9dfcf}.section-dark{aspect-ratio:1983/245;background-position:center bottom;border-top:6px solid #e9dfcf;border-bottom:6px solid #e9dfcf}.nav2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 10px;background:#fff;position:sticky;top:0;z-index:10;border-top:1px solid #bce1d2;border-bottom:1px solid #bce1d2}.nav2 a{display:block;background:#36775c;color:#fff;text-decoration:none;text-align:center;border-radius:24px;line-height:1.7;padding:5px 2px;font-size:20px;border:1px solid #5eba94}.nav2 a:hover{background:#489273}.period-strip{text-align:center;background:#f1e2c8;color:#27694e;font-size:18px;padding:8px;border-bottom:1px solid #77c4a4}.box{margin:10px 0}table{width:100%;border-collapse:collapse;table-layout:auto}th{background:#347258;color:white;text-align:center;padding:9px 5px;font-size:22px;line-height:1.5;border:1px solid #59a787}th span{color:#ffebae}td{border:1px solid #b0d8c7;padding:9px 5px;font-size:22px;line-height:1.6;overflow-wrap:anywhere}.reference-row{text-align:left;background:#fff}.reference-row strong{color:#2e8d65}.draw-status{text-align:center;background:#f7f0e4;color:#4a7a66;font-size:17px}.old-links ul{list-style:none;margin:0;padding:0}.old-links li{border-bottom:1px solid #b0d8c7;background:#fff;line-height:1.7;padding:7px 8px;font-size:21px}.old-links li:nth-child(even){background:#faf4e9}.old-links a{display:block;color:#38795e;text-decoration:none}.old-links span{color:#314455}.old-links em{float:right;font-size:16px;color:#3e9370;font-style:normal}.picture-cell{padding:0;text-align:center}.picture-cell img{display:block;width:100%;height:auto}.picture-cell small{display:block;background:#f7efdf;color:#5a8271;font-size:15px;padding:5px}.draw-widget{margin:0;border-top:1px solid #b9c7d9;border-bottom:2px solid #b9c7d9}.draw-main{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:10px 7px;background:#fcf6eb}.draw-label{text-align:center;font-size:25px;font-weight:bold;min-width:72px;line-height:1.3}.draw-label small{font-size:17px}.draw-ball{flex:1;max-width:110px;background:#2455ce;text-align:center;padding:3px}.draw-ball strong{display:block;color:white;font-size:34px;line-height:1.1}.draw-ball span{display:block;background:#fff;font-size:17px;line-height:1.4;margin-top:5px;color:#487361}.color-1{background:#27824e}.color-2{background:#43b988}.draw-plus{font-size:28px}.draw-toolbar{display:flex;justify-content:space-between;gap:8px;padding:7px;background:#f6e6c9;color:#35795d;font-size:15px}#rules{margin-top:20px;border-top:3px solid #5eba94;padding:18px 15px;background:#f3e9d9;font-size:16px;line-height:1.8;color:#406958}#rules h2{font-size:21px;margin:0 0 8px}#rules a{color:#378062}#rules p{margin:8px 0}.sub-header{display:flex;justify-content:space-between;background:#347258;color:#fff;padding:14px;font-size:21px}.sub-header a{color:#fff;text-decoration:none}@media(max-width:600px){body{padding:0}.cgi-body{border:0}.nav2{gap:6px;padding:10px 6px}.nav2 a{font-size:16px}th{font-size:19px}td{font-size:19px}.old-links li{font-size:18px}.old-links em{font-size:13px}.draw-label{min-width:44px;font-size:19px}.draw-label small{font-size:12px}.draw-main{gap:3px;padding:9px 4px}.draw-ball strong{font-size:25px}.draw-ball span{font-size:11px}.draw-plus{font-size:19px}.draw-toolbar{font-size:12px;flex-wrap:wrap}}
mark{background:#ffeb3b;color:#171717;padding:0 2px}.audit-status{display:block;font-size:15px;color:#5f8776;font-weight:normal}.test-explanation{padding:16px;background:#f8ecd8;line-height:1.8;font-size:17px}
.period-break td{border-top:8px solid #e9dfcf;background:#f0e4d1;color:#347258;padding:12px 8px;font-size:18px;font-weight:bold;letter-spacing:1px}
.next-draw-time{background:#f6e6c9;color:#32946b;padding:7px 8px;font-size:15px;line-height:1.6;border-top:1px solid #99d9be}@media(max-width:600px){.next-draw-time{font-size:13px}}
.feed-blue{background:#2455ce}.feed-red{background:#43b988}.feed-green{background:#27824e}.draw-toolbar button{border:0;border-radius:5px;background:#347258;color:white;padding:4px 12px;cursor:pointer}.draw-toolbar button:disabled{opacity:.6}.feed-source{padding:4px 8px;font-size:13px;background:#f7f0e4;color:#4a7a66}.feed-source a{color:#38795e}

/* Large first brand banner; other section banner dimensions retained. */
.hero{aspect-ratio:1983/550;background-size:100% 279.22535%;background-position:center top}


body{background:radial-gradient(ellipse at top,#fbf4e7,#e7dac4 65%,#9acfb9);background-attachment:fixed}.cgi-body{background:#fffdf7;border:1px solid #7abda1;box-shadow:0 8px 36px #65412122}.classic-banner{background-image:url('../images/brand-board.png?v=jigong1');background-size:100% 300%}.hero{aspect-ratio:1870/520;background-size:100% 300%;background-position:center top}.section-light{aspect-ratio:20/3;background-position:center center}.section-dark{aspect-ratio:20/3;background-position:center bottom}.nav2{background:#faf2e4}.nav2 a{background:linear-gradient(180deg,#449171,#306d54);border-color:#73c4a2;color:#fff1d0;border-radius:6px}.nav2 a:hover{background:#509c7c}th{background:#347258;color:#fff0d2;border-color:#59a787}th span{color:#9fe6c8}.feed-source{background:#faf1e3}.feed-source a{color:#38795e}#rules{border-top-color:#5eba94}.hero{aspect-ratio:1870/520;background-size:100% 286.05442%;background-position:center top}.section-light{aspect-ratio:1870/274;background-size:100% auto;background-position:center 51.85185%}.section-dark{aspect-ratio:1870/273;background-size:100% auto;background-position:center bottom}
/* Folk illustration palette: paper, terracotta and ink, replacing landscape mood. */
body{background-color:#bcead7;background-image:radial-gradient(ellipse at top,#fff4dc 0,#bcead7 65%,#92d7ba 100%);background-attachment:fixed}.cgi-body{background:#fffaf0;border-color:#6cc8a2}.nav2{background:#fcf0da}.nav2 a{background:#2ca371;border:1px solid #6fd5ab;color:#fff3d9}.nav2 a:hover{background:#35bb83}th{background:#287b58;color:#fff0d2;border-color:#54b88e}.period-strip{background:#f5dfb4;color:#256b4e}.reference-row strong{color:#2c986b}.old-links li:nth-child(even){background:#fff3df}.classic-banner{background-image:url('../images/brand-board.png?v=folk2')}
.hero{aspect-ratio:1870/520;background-size:100% 258.76923%;background-position:center top}.section-light{aspect-ratio:1870/245;background-size:100% auto;background-position:center 54.53020%}.section-dark{aspect-ratio:1870/271;background-size:100% auto;background-position:center bottom}

/* Cinnabar lacquer and gilded vessel identity. */
body{background:radial-gradient(ellipse at top,#fff3dd,#f0d3bd 60%,#53b78d);background-attachment:fixed;color:#1e3c30}.cgi-body{background:#fffaf0;border-color:#51bb8f;box-shadow:0 10px 40px #6c1c2522}.classic-banner{background-image:url('../images/brand-board.png?v=treasure1');background-size:100% 300%}.hero{aspect-ratio:1870/520;background-size:100% 300%;background-position:center top}.section-light{aspect-ratio:20/3;background-size:100% 300%;background-position:center center}.section-dark{aspect-ratio:20/3;background-size:100% 300%;background-position:center bottom}.nav2{background:#fff4df}.nav2 a{background:linear-gradient(180deg,#2f9c6f,#741d27);color:#ffe5aa;border-color:#57c597;border-radius:6px}.nav2 a:hover{background:#38ad7c}th{background:#882a2e;color:#fff1be;border-color:#50b88d}th span{color:#ffda85}.period-strip{background:#f9e7c3;color:#348161}.reference-row strong{color:#a32d37}.old-links a{color:#862c33}.old-links li:nth-child(even){background:#fff2e5}.draw-status{background:#fff3e5;color:#47876c}.feed-source{background:#fff2e3}.feed-source a{color:#862c33}.draw-toolbar button{background:#882a2e}.next-draw-time{background:#fff0cf;color:#2a9e6e}.period-break td{border-top-color:#f0d8c2;background:#fae9d6;color:#862c33}#rules{background:#fbefdc;border-top-color:#57c597}#rules a{color:#8c3034}.hero{aspect-ratio:1870/520;background-size:100% 240.28571%;background-position:center top}.section-light{aspect-ratio:1870/270;background-size:100% auto;background-position:center 61.29597%}.section-dark{aspect-ratio:1870/221;background-size:100% auto;background-position:center bottom}
/* Preserve the established detail-page layout with the new site's navy identity. */
body{background:#e9edf6}.cgi-body{border-color:#bac9df}.sub-header,th{background:#17365b!important;color:#fff!important;border-color:#4c749c!important}.sub-header a{color:white!important}th span{color:#82d5f6!important}.reference-row strong{color:#2f4da9}.draw-status{background:#eff3fa;color:#536f92}.period-break td{background:#e9eff9;border-top-color:#dae2f1;color:#365477}#rules{background:#eff3f9;border-top-color:#8aa4ca}#rules a{color:#305b9a}
/* AI detail pages: shared identity with the forum homepage. */
body{background-color:#08142c;background-image:radial-gradient(ellipse at 12% 15%,#16426c77,transparent 45%),radial-gradient(ellipse at 90% 70%,#54337944,transparent 40%),linear-gradient(#65b9ff0b 1px,transparent 1px),linear-gradient(90deg,#65b9ff0b 1px,transparent 1px);background-size:auto,auto,42px 42px,42px 42px;background-attachment:fixed;color:#153456}.cgi-body{background:#10213e;border:1px solid #42618e;box-shadow:0 10px 48px #0004}.sub-header{background:linear-gradient(110deg,#102e51,#1c244e)!important;border-bottom:1px solid #4ca6d7;color:#def4ff!important}.sub-header a{color:#addefb!important}.sub-header b{color:#f0faff;text-shadow:0 0 15px #4ccaff33}.detail-brand{background:#091a36;line-height:0;border-bottom:1px solid #4c9bcc}.detail-brand img{display:block;width:100%;height:auto}.box.van{margin:14px 10px;border-radius:9px;overflow:hidden;box-shadow:0 3px 15px #0002}table{margin:0}th{background:linear-gradient(110deg,#16446b,#232952 70%,#265a44)!important;color:#eefaff!important;border-color:#4b75a4!important;text-shadow:0 1px 2px #0004;font-size:22px}th span{color:#8edaff!important}.reference-row{background:#f4f8ff;color:#173654;border-color:#c4d5ec}.reference-row strong{color:#3151a9}.audit-status{color:#526f98;font-size:15px}.draw-status{background:#e7f0fc;color:#486b98;border-color:#bfd1eb}.period-break td{background:#e3eaf9;border-top-color:#10213e;color:#44658d}.picture-cell{background:#f3f7ff}.picture-cell small{background:#e5eefb;color:#557196}#rules{background:#101f38;border-top:2px solid #42658f;color:#b2c7df}#rules h2{color:#e2f2ff}#rules a{color:#86cdef}
@media(max-width:600px){body{padding:0}.box.van{margin:10px 5px}th{font-size:19px}.sub-header{font-size:19px;padding:12px}.reference-row{font-size:19px}}
body{background:radial-gradient(ellipse at top,#fbf1df,#afe5cf 75%);color:#2a644c}.cgi-body{background:#fff8ea;border-color:#6dc29f;box-shadow:0 10px 40px #7a2a1e20}.sub-header{background:linear-gradient(110deg,#32a072,#6d1e28)!important;color:#ffedc8!important;border-color:#64d0a3}.sub-header a,.sub-header b{color:#fff0cc!important;text-shadow:none}.detail-brand{background:#701d28;border-color:#6acda4}th{background:linear-gradient(110deg,#33a173,#76232c)!important;color:#fff0c3!important;border-color:#63c49c!important}th span{color:#ffd990!important}.reference-row{background:#fffaf0;color:#2b654d;border-color:#9cdfc3}.reference-row strong{color:#309d70}.audit-status{color:#539479}.draw-status{background:#f7ead4;color:#459272;border-color:#8cdfbc}.period-break td{background:#f2dfc1;border-top-color:#b9edd7;color:#3f8c6c}#rules{background:#f4e5cd;border-color:#61c89d;color:#4d8a71}#rules h2{color:#2c7959}#rules a{color:#32a173}

body{background:radial-gradient(ellipse at top,#e8f5f0,#d2e8df 75%)}.sub-header,th{background:linear-gradient(110deg,#478d70,#285c46)!important;color:#fff0c8!important;border-color:#ba9b67!important}.detail-brand{background:#1d4333}.reference-row strong{color:#418d6d}.draw-status{background:#e4f5ee;color:#588874}.period-break td{background:#d8ede4;border-top-color:#e8f5f0}#rules{background:#dfeee8;color:#618777}

body{background:radial-gradient(ellipse at top,#f1f6e9,#dbe8dc 75%)}.sub-header,th{background:linear-gradient(110deg,#326b53,#1d4a3c)!important}.detail-brand{background:#173c32}.reference-row strong{color:#2e7055}#rules{background:#e1ecdc;color:#5a7567}

/* home-period-gap-v2 */
.home-reference .period-break td{padding:0!important;height:5px!important;line-height:0;font-size:0;border-top-width:1px!important;border-bottom-width:1px!important}
.home-reference.multi-row-period .period-break td{padding:0!important;height:30px!important;border-top-width:8px!important}
