/* Today on WakaHood keeps the map visible and is never a media player. */
#today-home,#today-home *{box-sizing:border-box}
#today-home[hidden],#today-home [hidden],#today-home .details215-close{display:none!important}
#today-home{position:fixed;top:calc(max(12px,env(safe-area-inset-top)) + 54px);left:50%;transform:translateX(-50%);width:min(570px,calc(100% - 24px));z-index:1058;max-height:calc(100dvh - 164px);overflow:auto;overscroll-behavior:contain;background:#fffdf5f7;color:#2d213b;border:1px solid #fff8;border-radius:17px;box-shadow:0 6px 20px #281c3e33;font:600 13px/1.3 system-ui,sans-serif;padding:6px 8px 8px}
#today-home h2{margin:0}
#today-home h2{font-size:15px!important;color:#302145!important;line-height:1.1}
#today-home #today-cardset{margin:0}
#today-home summary{display:flex;align-items:center;gap:5px;min-height:44px;width:max-content;max-width:51%;padding:1px 5px;margin:0;position:relative;font-size:0;list-style:none;color:#594773;background:none;cursor:pointer}
#today-home summary::-webkit-details-marker{display:none}
#today-home summary::after{content:"▸";font:700 16px system-ui;color:#5f3d87}
#today-home details[open]>summary::after{content:"▾"}
#today-home .today-phone-switch{display:none}
#today-home #today-choose{position:absolute;right:8px;top:6px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;background:#52307a;color:#fff;padding:6px 12px;text-align:center;line-height:1.1}
#today-home :is(.today-links,.today-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
/* Old cached markup remains compact during the asset-first installation. */
#today-home .today-tile{display:contents}
#today-home .today-tile>:is(div,img){display:none!important}
#today-home a,#today-home button,.today-home-dialog :is(a,button){display:inline-flex;align-items:center;justify-content:flex-start;border:0;border-radius:9px;color:#432165;background:none;padding:0 3px;min-height:36px;font:800 12px/1.2 system-ui;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#today-home #today-choose{text-decoration:none}
#today-home :is(a,button,summary):focus-visible,.today-home-dialog :is(a,button):focus-visible{outline:3px solid #773583;outline-offset:2px}
#today-home .today-sr-status,#today-home #today-fallback{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#today-home :is(.today-links,.today-grid) :is(a,button){min-width:0;min-height:44px;justify-content:center;text-align:center;white-space:normal;overflow-wrap:anywhere;padding:3px 4px}
#today-home :is(.today-links,.today-grid) :is(a,button):hover{background:#eee6f6}
body:is(.clean-screen,.photo-mode,.wj-on,.cinema580) #today-home{display:none!important}
body.today-no3d:not(.i620-trip) #error{display:none!important}
body.today-no3d #today-home{overflow:auto}
.today-home-dialog{width:min(430px,calc(100vw - 24px));max-height:85dvh;overflow:auto;border:1px solid #e0d2e7;border-radius:16px;background:#fffaf0;color:#2d213b;padding:18px;z-index:2147483010}
.today-home-dialog::backdrop{background:#211533ac}
.today-home-dialog h2{margin:0 0 6px;font:800 20px system-ui}
.today-home-dialog :is(ul,nav){display:grid;gap:2px;padding:0;margin:8px 0;list-style:none}
.today-home-dialog li small{display:block;font:600 11px system-ui;letter-spacing:0}
.today-home-dialog :is(a,button){min-height:44px}
@media(max-width:720px), (max-width:1024px) and (max-height:485px) and (orientation:landscape) and (pointer:coarse){
 #today-home{width:calc(100% - 20px);border-radius:13px;padding:5px 6px 6px;max-height:calc(100dvh - 156px)}
 #today-home #today-choose{right:6px;top:5px;width:var(--today-choose-width);padding:6px 5px}
 #today-home{--today-choose-width:125px}
 #today-home summary{gap:5px;max-width:none;width:calc(100% - var(--today-choose-width) - 5px);padding:1px 2px}
 #today-home summary::after{display:none}
 #today-home .today-phone-switch{display:inline-flex;align-items:center;padding:4px 6px;border-radius:8px;background:#e9ddf7;color:#432165;font:800 11px/1.02 system-ui}
 #today-home details[open] .today-phone-switch span:first-child,#today-home details:not([open]) .today-phone-switch span:last-child{display:none}
 #today-home #today-cardset:not([data-mobile-ready])>:not(summary),#today-home #today-cardset:not([open])>:not(summary){display:none}
 #today-home :is(.today-links,.today-grid){gap:2px}
 #today-home :is(.today-links,.today-grid) :is(a,button){font-size:11px}
}
@media(max-width:350px){#today-home{--today-choose-width:110px}#today-home h2{font-size:13px!important}#today-home #today-choose{font-size:11px}#today-home :is(.today-links,.today-grid) :is(a,button){font-size:11px}}
@media(max-height:485px) and (orientation:landscape){#today-home{max-height:calc(100dvh - 150px)}}

