/* Build49: approved calendar, map companion lane and NEWS. */
#history>.section-heading{display:none}
#history .calendar-note{display:none}
#history .calendar-card{padding:12px 12px 10px;margin-top:0;margin-bottom:16px}
#history .calendar-heading{margin-bottom:10px}
#history .calendar-weekdays,#history .calendar-days{gap:3px}
#history .calendar-day{min-height:42px;padding:3px 0}
#history .calendar-number{font-size:13px}
#history .calendar-hours{font-size:10px}
#history .day-record-title{font-size:16px;margin:12px 0 7px;font-weight:500}
#history .summary{padding:12px 15px;margin-bottom:10px;gap:8px;flex-wrap:nowrap;border-radius:13px;align-items:center}
#history .summary>div{min-width:0}
#history .summary-label{display:block;font-size:10px;line-height:1.4}
#history .summary strong{font-size:17px;white-space:nowrap;font-weight:500}
#history .summary strong small{font-size:11px;margin:0 2px}
#history #historyRows{margin-top:18px}
.timer-card .map-wrap{min-height:360px}
.map-wrap .map-tools,.map-wrap.compact-map-controls .map-tools{right:12px;top:12px;display:grid;grid-template-columns:44px 44px;gap:4px}
.map-wrap .mode-toggle{bottom:114px}
.map-wrap .course-promotion{bottom:182px}
.map-wrap .mode-menu{bottom:112px}
.map-companion-lane{position:absolute;left:0;right:0;bottom:0;height:112px;z-index:2;pointer-events:none;background:linear-gradient(transparent,#ffffff17)}
.map-companion-lane canvas{display:block;width:100%;height:100%;pointer-events:none}
.seoul-entitlement-locked .map-companion-lane{visibility:hidden}
body.news-open{overflow:hidden;padding-bottom:0}
body.news-open main{padding-top:0}
#newsPage:not([hidden]){box-sizing:border-box;display:flex;flex-direction:column;height:calc(100dvh - 78px - env(safe-area-inset-bottom));max-width:640px;margin:auto;overflow:hidden;padding:10px 0 12px}
#newsPage .news-back{align-self:flex-start;margin:0 0 10px;flex-shrink:0}
#newsPage .news-cat-line{display:flex;justify-content:center;align-items:flex-end;gap:3px;height:58px;flex-shrink:0;margin:0 6px}
#newsPage .news-cat-line img{width:calc((100% - 15px)/6);max-width:70px;height:58px;object-fit:contain;object-position:center bottom}
#newsPage h1{flex-shrink:0;text-align:center;font-size:27px;line-height:1.4;font-weight:400;letter-spacing:.07em;margin:10px 0 19px}
#newsPage .news-frame{flex:1;min-height:0;overflow:hidden;border:1px solid #e8dfd4;border-radius:22px;padding:10px;background:transparent}
#newsPage .news-feed-scroll{height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#c5baaa transparent;border-radius:15px}
#newsPage .news-item{background:white;border:1px solid #e8dfd4;border-radius:16px;box-shadow:none;padding:23px 20px;margin:0 0 12px}
#newsPage .news-item time{font-size:12px;letter-spacing:.08em;color:#78868c}
#newsPage .news-item h2{font-size:17px;line-height:1.85;font-weight:500;margin:16px 0 14px;overflow-wrap:anywhere}
#newsPage .news-item p{font-size:14px;line-height:1.95;white-space:pre-wrap;overflow:visible;display:block;max-height:none;color:#6c7b82;overflow-wrap:anywhere}
#newsPage .news-art{max-width:100%;height:auto;max-height:none;object-fit:contain}
#newsPage .news-feed-scroll>button{margin:10px 0 0}
#bgmSettings input[type=range]{width:100%;margin:12px 0 18px}
#bgmSettings .bgm-actions{display:flex;gap:10px;flex-wrap:wrap}
#bgmStatus{font-size:13px;color:var(--muted)}
@media(max-height:650px){#newsPage .news-cat-line,#newsPage .news-cat-line img{height:42px}#newsPage h1{margin:5px 0 12px}}
