.reference-section{--ref-bg:#101420;--ref-panel:#191e2c;--ref-text:#eaf0f9;--ref-muted:#919aa9;--ref-gold:#ffcf6c;color:var(--ref-text);padding-block:75px}.reference-heading{margin-bottom:34px}.reference-heading h2{font-weight:900;letter-spacing:-1px;font-size:38px;margin:12px 0 8px}.reference-heading h2 span{color:var(--ref-gold);margin-left:8px}.reference-heading>p{margin:9px 0 0;color:var(--ref-muted);font-size:14px;line-height:1.9}.reference-ornament{display:block;position:relative;width:108px;height:20px;background:linear-gradient(90deg,transparent,#e0aa39 35%,transparent 36% 64%,#e0aa39 65%,transparent) center/100% 2px no-repeat}.reference-ornament:after{content:'';position:absolute;width:13px;height:13px;left:48px;top:3px;background:#ffca59;clip-path:polygon(29% 0,71% 0,100% 29%,100% 71%,71% 100%,29% 100%,0 71%,0 29%)}.notice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:21px}.notice-card{padding:25px 25px 24px;text-align:left;border-radius:25px;border:1px solid #2c303d;background:linear-gradient(155deg,#1b2030,#10141f);box-shadow:0 6px 8px #0002;display:flex;flex-direction:column;align-items:start;transition:border-color .2s,transform .2s;min-height:252px;color:var(--ref-text)}.notice-card:hover{transform:translateY(-4px);border-color:#a98b45}.notice-card.featured{border-color:#8b7131;background:linear-gradient(145deg,#393122 0%,#1a1c24 45%,#10141f 100%)}.notice-top{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:31px}.reference-tag{font-size:10px;letter-spacing:.7px;color:var(--ref-gold);font-weight:800;background:#344058;border:1px solid #766747;border-radius:99px;padding:2px 11px;display:inline-flex;align-items:center;white-space:nowrap}.notice-top>strong{font-size:25px;line-height:1;color:var(--ref-gold);font-weight:900}.notice-card h3{font-size:19px;font-weight:900;line-height:1.45;margin:16px 0 12px}.notice-card p{font-size:13px;line-height:1.8;color:var(--ref-muted);margin:0 0 18px}.notice-card>small{margin-top:auto;color:var(--ref-muted);font-size:11px}.reference-action{text-align:center;margin-top:26px}.reference-button{border:1px solid #353b4b;background:#242c3d;padding:11px 21px;border-radius:13px;color:#f1f4fa;font-weight:800;font-size:13px;transition:background .2s}.reference-button:hover{background:#374259}.reference-button:disabled{opacity:.45;cursor:default}.reference-panel{border-radius:25px;border:1px solid #2b303e;overflow:hidden;background:linear-gradient(160deg,#1b2030,#0f1420);box-shadow:0 7px 10px #0002}.reference-panel>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 21px;border-bottom:1px solid #ffffff09;min-height:61px;background:#20253542}.reference-panel>header h3{font-size:16px;font-weight:900;color:var(--ref-gold);margin:0;letter-spacing:.2px}.reference-panel>header h3 .reference-tag{font-size:10px;margin-left:8px;vertical-align:middle}.live-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin-bottom:20px}.live-featured{border-color:#76612f;background:radial-gradient(ellipse at top left,#74613c45,transparent 62%),linear-gradient(145deg,#1c2231,#0f1420);padding:35px 25px;display:flex;flex-direction:column;justify-content:center;min-height:500px}.featured-identity{display:flex;gap:20px;align-items:center}.featured-icon{width:112px;min-width:112px;height:112px;background:linear-gradient(#ffe9a1,#b87b20);padding:7px;clip-path:polygon(29% 0,71% 0,100% 29%,100% 71%,71% 100%,29% 100%,0 71%,0 29%);position:relative;display:grid;place-items:center}.featured-icon:before{content:'';position:absolute;inset:7px;background:radial-gradient(circle,#526cb0,#1a2856 80%);clip-path:inherit}.featured-icon .activity-icon{position:relative;width:85px;height:85px}.live-pill{color:#8ee8b3;background:#365b466e;border:1px solid #3f8259;border-radius:99px;padding:3px 10px;font-size:10px;font-weight:800;display:inline-flex;gap:5px;letter-spacing:.6px}.live-pill.upcoming{color:#a4c8ff;background:#263a62;border-color:#49638a}.featured-identity h3{font-size:24px;font-weight:900;line-height:1.5;color:var(--ref-gold);margin:10px 0 12px}.featured-identity p{font-size:12px;color:var(--ref-muted);margin:0}.feature-countdown{margin-top:25px}.feature-countdown>span{font-size:10px;color:#9ba4b6;font-weight:800;letter-spacing:1px}.clock-boxes{display:flex;gap:10px;margin-top:7px;font-variant-numeric:tabular-nums}.clock-boxes>div{display:flex;flex-direction:column;align-items:center;background:linear-gradient(#273147,#171d2c);border:1px solid #354057;border-radius:16px;padding:8px 9px 11px;min-width:72px}.clock-boxes b{font-size:31px;line-height:1.35;font-weight:900;color:#f5f6fd}.clock-boxes small{font-size:9px;line-height:1.5;margin-top:5px;color:#8f9db3;font-weight:700}.feature-progress{background:#2e374b;border-radius:99px;height:10px;overflow:hidden;margin-top:16px}.feature-progress i{height:100%;display:block;background:linear-gradient(90deg,#db941c,#ffe190);border-radius:inherit}.live-list{padding:17px 20px;display:grid;gap:9px}.live-row{display:flex;align-items:center;gap:14px;width:100%;padding:11px 13px;min-height:59px;color:var(--ref-text);border-radius:15px;background:#252e42;border:1px solid #373d50;text-align:left}.live-row:hover{background:#303c54;border-color:#887145}.activity-icon{width:32px;height:32px;flex:none;filter:drop-shadow(0 2px 2px #0005)}.live-row>strong{font-size:12px;font-weight:800;flex:1}.live-row>span{text-align:right;font-size:11px;flex:none;line-height:1.4}.live-row>span b{display:block;color:var(--ref-gold);font-weight:900}.live-row>span small{font-size:9px;color:var(--ref-muted)}.timeline-panel{margin-bottom:20px}.timeline-legend{display:flex;gap:15px;font-size:10px;color:#a5afbd;align-items:center}.timeline-legend>span{display:flex;align-items:center;gap:6px;white-space:nowrap}.timeline-legend i{display:inline-block;width:17px;height:7px;border-radius:20px}.timeline-legend .live{background:#edb33e;box-shadow:0 0 8px #ffd77b70}.timeline-legend .upcoming{background:#3069cc}.timeline-legend .ended{background:#454f66}.timeline-scroll{padding:21px 20px 24px;overflow:auto}.timeline{min-width:790px}.timeline-axis{display:grid;grid-template-columns:182px 1fr;height:31px}.timeline-axis>div{position:relative;font-size:10px;font-weight:800;color:#949eb0}.timeline-axis>div>span{position:absolute;transform:translateX(-50%)}.timeline-axis>div>span:first-child{transform:none}.timeline-axis>div>span:nth-child(9){transform:translateX(-100%)}.time-marker-label{position:absolute;top:-4px;transform:translateX(-50%);padding:0 7px;color:#342909;background:#ffd578;border-radius:10px;font-size:9px;white-space:nowrap;box-shadow:0 0 10px #ffc75166;z-index:3}.timeline-row{display:grid;grid-template-columns:182px 1fr;min-height:55px;gap:0;align-items:center}.timeline-label{display:flex;align-items:center;gap:12px;text-align:left;padding:4px 14px 4px 0;color:#e3e9f4}.timeline-label .activity-icon{width:28px;height:28px}.timeline-label>span{font-size:11px;font-weight:800;line-height:1.6}.timeline-label small{display:block;color:#8c98aa;font-size:9px;font-weight:400}.timeline-track{position:relative;height:30px;background:repeating-linear-gradient(90deg,transparent 0 calc(12.5% - 1px),#c1cfed07 calc(12.5% - 1px) 12.5%),#101521;border:1px solid #2a303c;border-radius:11px}.time-marker{height:calc(100% + 14px);position:absolute;top:-7px;width:2px;background:#ffdc86;box-shadow:0 0 9px 1px #ffda8155;z-index:3;pointer-events:none}.time-slot{position:absolute;top:3px;bottom:3px;border-radius:7px;min-width:8px;color:#e5edff;padding:0;font-size:9px;font-weight:800;white-space:nowrap;line-height:22px}.time-slot.live{background:linear-gradient(#ffda78,#d68b1f);color:#35280a;box-shadow:0 0 17px #ffc85670}.time-slot.upcoming{background:linear-gradient(#4a7fdf,#1746a1)}.time-slot.ended{background:#3a455c;color:#b9c4d9}.time-slot.short-slot span{position:absolute;right:calc(100% + 5px);color:#aab8cf;font-size:9px;line-height:23px}.time-slot:hover{outline:1px solid #ffe69f;z-index:4}.week-scroll{overflow:auto;padding:20px 20px 0}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;min-width:850px}.week-day{background:#242d41;border:1px solid #353e52;border-radius:17px;padding:14px 10px;min-height:150px}.week-day.today{background:linear-gradient(#3a3529,#242b3c);border-color:#8b702e}.week-day h4{font-size:13px;margin:0;font-weight:900;line-height:1.4}.week-day.today h4{color:var(--ref-gold)}.week-day>time{display:block;font-size:10px;color:#9aa5b6;margin:5px 0 11px}.week-day>button{background:#30394f;border-radius:9px;display:block;width:100%;margin:6px 0 0;padding:7px 6px;text-align:left;font-size:9px;font-weight:700;line-height:1.5;color:#e4eafa;overflow-wrap:anywhere}.week-day>button:hover{background:#43516e}.week-day>button>span{color:#e9c675;white-space:nowrap}.week-day>p{font-size:9px;color:#9faabd;line-height:1.6}.daily-summary{font-size:10px;color:#95a1b3;padding:0 20px;margin:17px 0 22px;line-height:1.9}.daily-summary strong{color:#cdd6e5;font-weight:700}.weather-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:20px;margin-bottom:20px}.game-clock{position:relative;padding:27px 28px;background:linear-gradient(155deg,#374c78,#37463f);min-height:326px;display:flex;flex-direction:column;align-items:start}.game-clock.dusk{background:linear-gradient(160deg,#303464,#534139 90%)}.game-clock>strong{font-size:73px;font-weight:900;line-height:1.3;margin:12px 0 13px;color:#fff;font-variant-numeric:tabular-nums;position:relative;text-shadow:0 4px 0 #0002}.game-clock h3{font-size:20px;font-weight:900;color:var(--ref-gold);margin:3px 0 15px}.game-clock p{font-size:12px;color:#d0d6e0;position:relative;max-width:95%;margin:0 0 25px}.game-clock>small{font-size:10px;color:#d0d6e0;margin-top:auto}.sky-disc{position:absolute;top:25px;right:30px;width:84px;height:84px;background:#e5bd61;border-radius:50%;box-shadow:0 0 45px #f1c25e20}.sky-disc.moon{background:#dae4f2;box-shadow:-20px -10px 0 0 #303464 inset}.current-weather-main{display:flex;gap:20px;align-items:center;padding:20px 25px}.current-weather-icon{width:120px;height:95px;border:2px solid #9b8140;border-radius:18px;display:grid;place-items:center;flex:none;background:radial-gradient(circle,#4d423240,transparent)}.current-weather-icon .activity-icon{width:70px;height:70px}.current-weather-main>div>h3{font-size:24px;font-weight:900;color:var(--ref-gold);margin:0 0 10px}.current-weather-main p{font-size:12px;color:#9faabd;margin:0 0 11px}.next-weather{display:inline-block;background:#2b3e64;border:1px solid #425f92;border-radius:99px;color:#a5c5ff;font-size:9px;font-weight:800;padding:3px 11px}.weather-strip-wrap{padding:10px 25px 20px}.weather-strip{height:41px;border-radius:12px;border:1px solid #353b49;background:#202536;position:relative;overflow:hidden}.weather-segment{position:absolute;top:0;bottom:0;background:#3c3e38;display:grid;place-items:center}.weather-segment.type-sunny{background:linear-gradient(#3c382d,#26282c)}.weather-segment.type-rain{background:linear-gradient(#354974,#19283e)}.weather-segment.type-snow{background:linear-gradient(#798697,#3c5673)}.weather-segment.type-sand{background:linear-gradient(#9f864d,#534427)}.weather-segment .activity-icon{width:24px;height:24px}.weather-segment.current{outline:2px solid #ffdb7c;outline-offset:-2px;z-index:1}.weather-axis{display:flex;justify-content:space-between;font-size:9px;color:#969fb0;font-weight:800;margin-top:5px}.weather-report{margin-bottom:20px}.weather-report-items{display:flex;align-items:stretch;gap:14px;padding:22px;min-height:194px;flex-wrap:wrap}.weather-report-card{border:1px solid #384053;background:#252e42;border-radius:17px;min-width:154px;padding:17px 15px;text-align:center;display:flex;flex-direction:column;align-items:center}.weather-report-card .activity-icon{height:43px;width:43px;margin-bottom:9px}.weather-report-card h4{font-size:13px;line-height:1.5;margin:0 0 5px}.weather-report-card>strong{font-size:13px;color:var(--ref-gold);font-weight:900}.weather-report-card>small{font-size:9px;color:#96a3b6;margin-top:6px}.weather-week .week-scroll{padding-bottom:20px}.weather-week .week-day{min-height:137px}.weather-week-item{display:flex;align-items:center;gap:6px;font-size:9px;margin:11px 0;line-height:1.5}.weather-week-item .activity-icon{width:21px;height:21px}.weather-week-item>span{flex:1}.weather-week-item>b{color:var(--ref-gold);font-size:9px;white-space:nowrap}.data-message{padding:25px;color:#99aabe;font-size:13px;min-height:100px}.data-message button{display:block;margin-top:15px}.calendar-empty{padding:25px 15px;color:#a7b4c7;font-size:13px}.all-activity-list{display:grid;gap:9px;margin-top:25px}.all-activity-list>button{padding:15px;background:#223446;color:#edf2ff;text-align:left;border:1px solid #3d5364;border-radius:9px;display:grid;grid-template-columns:65px 1fr 20px;gap:10px;align-items:center}.all-activity-list>button>span{font-size:9px;color:#ffd277}.all-activity-list>button>strong{font-size:12px}.all-activity-list>button>b{color:#ffd277}.all-activity-list>button:hover{border-color:#e3bd69}@media(max-width:1050px){.featured-identity{gap:14px}.featured-icon{width:85px;height:85px;min-width:85px}.featured-icon .activity-icon{width:64px;height:64px}.featured-identity h3{font-size:22px}.current-weather-icon{width:88px;height:90px}.current-weather-main{gap:15px;padding-inline:20px}.sky-disc{right:20px;width:64px;height:64px}.game-clock>strong{font-size:61px}.game-clock p{font-size:11px}.reference-panel>header{padding-inline:17px}.notice-card{padding:21px}.notice-card h3{font-size:17px}.live-list{padding-inline:15px}.live-row{gap:10px}.live-row>strong{font-size:11px}.header nav{gap:19px}}@media(max-width:760px){.reference-section{padding-block:55px}.reference-heading h2{font-size:29px}.reference-heading>p{font-size:12px;line-height:1.9}.notice-grid{grid-template-columns:1fr;gap:15px}.notice-card{border-radius:23px;min-height:230px;padding:23px}.notice-card h3{font-size:19px}.notice-card p{font-size:13px}.notice-top>strong{font-size:27px}.live-grid{grid-template-columns:1fr}.live-featured{min-height:370px;padding:28px 22px}.featured-identity{gap:14px}.featured-icon{width:90px;height:90px;min-width:90px}.featured-identity h3{font-size:22px}.clock-boxes>div{min-width:64px}.clock-boxes b{font-size:30px}.live-row>strong{font-size:12px}.timeline-panel>header{align-items:start;flex-direction:column;gap:9px}.timeline-legend{font-size:9px;gap:12px}.reference-panel>header h3{font-size:14px}.timeline-scroll{padding-inline:15px}.timeline{min-width:840px}.timeline-axis,.timeline-row{grid-template-columns:160px 1fr}.timeline-label>span{font-size:10px}.timeline-label .activity-icon{width:24px;height:24px}.timeline-label{gap:8px}.week-scroll{padding-inline:15px}.week-grid{min-width:900px;gap:8px}.week-day h4{font-size:13px}.week-day>button{font-size:10px}.weather-grid{grid-template-columns:1fr}.game-clock{min-height:340px}.game-clock>strong{font-size:76px}.sky-disc{width:90px;height:90px;right:30px}.current-weather-main{padding:21px 19px;gap:14px}.current-weather-icon{width:80px;height:80px;border-radius:14px}.current-weather-icon .activity-icon{width:58px;height:58px}.current-weather-main>div>h3{font-size:23px}.current-weather-main p{font-size:11px}.next-weather{font-size:8px;padding:3px 8px}.current-weather>header{flex-wrap:wrap;gap:7px}.current-weather>header .reference-tag{font-size:8px}.weather-strip-wrap{padding-inline:19px}.weather-report-card{min-width:125px;padding:14px 10px;flex:1}.weather-report-items{padding:17px;min-height:190px}.weather-report-card h4{font-size:13px}.all-activity-list>button{grid-template-columns:55px 1fr 15px;padding:12px}.header nav{gap:20px}}

/* 当前天气宠物：保留天气区原有网格，最多两行展示。 */
.weather-grid .weather-pets { padding: 22px 24px 18px; background: radial-gradient(circle at 92% 2%,#3b6f8666,transparent 46%),linear-gradient(145deg,#173b59,#102c46); }
.weather-grid .weather-pets > header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0; border:0; background:none; }
.weather-pets-eyebrow { display:block; color:#71dbe5; font-size:9px; letter-spacing:.16em; font-weight:800; margin-bottom:5px; }
.weather-grid .weather-pets > header h3 { color:#f1f7ff; font-size:20px; margin:0; }
.weather-pets-weather { border:1px solid #e8bd63; border-radius:20px; color:#ffd77d; background:#825e2838; padding:4px 12px; font-size:11px; font-weight:700; white-space:nowrap; }
.weather-pets-intro { color:#b3cadb; font-size:11px; margin:7px 0 14px; }
.weather-pets-list { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.weather-pet { min-width:0; text-align:center; }
.weather-pet-portrait { width:min(100%,58px); aspect-ratio:1; position:relative; margin:auto auto 5px; border:1px solid #658ca2; border-radius:13px; background:#24445f; }
.weather-pet-portrait img { width:100%; height:100%; object-fit:cover; border-radius:12px; display:block; }
.weather-pet strong,.weather-pet small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.weather-pet strong { font-size:11px; color:#f4f8ff; }
.weather-pet small { font-size:9px; color:#a8c1d3; margin-top:2px; }
.weather-pets-note,.weather-pets-message { color:#a9c1d1; font-size:10px; line-height:1.5; margin:12px 0 0; }
.weather-pets-message { min-height:100px; padding-top:25px; }
@media(max-width:480px) { .weather-grid .weather-pets { padding:19px 15px; } .weather-pets-list { gap:10px 5px; } .weather-pet strong { font-size:10px; } .weather-pet small { font-size:8px; } }

@media(max-width:760px) { html.weather-section-visible .floating-entries { visibility:hidden; pointer-events:none; } }

/* 天气标题保留卡通字体，以正常字重和字距保持清晰。 */
#weather-dashboard .weather-pets > header h3,
#weather-dashboard .current-weather > header h3,
#weather-dashboard .current-weather-main > div > h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .07em;
  line-height: 1.35;
}
