/* Native V6 background alpha is a surface, never a whole-window text fade. */
html[data-time14-editorial].native-alpha-enabled body[data-native-theme].native-overlay-mode{
 min-height:100vh!important;box-sizing:border-box!important;
 background:rgba(var(--native-bg-rgb,19,21,17),var(--native-background-alpha,1))!important;
 background-image:none!important;
}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode .native-time-overlay{
 min-height:100vh;box-sizing:border-box;align-content:start;gap:12px;padding:12px;
 font-family:'Noto Sans TC','Microsoft JhengHei',sans-serif;
}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode .native-overlay-module{min-width:0;padding:4px}
/* The editorial home uses six tracks. Do not inherit the overlay's two-track grid. */
html[data-time14-editorial] body[data-native-theme].native-overlay-mode .native-overlay-module>#home>.grid{
 grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:16px!important;
}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode .native-overlay-module>#home>.grid>[data-wk-home-id]{grid-column:1/-1!important;min-width:0}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode .native-overlay-module>#home>.grid>:is([data-wk-home-id=boss],[data-wk-home-id=event]){grid-column:span 3!important}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode .native-overlay-module #home .m14-stack-card{
 min-height:220px!important;padding:24px!important;align-self:stretch;box-sizing:border-box;
}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode .native-time-overlay :where(.native-time-card strong,#home .big){
 font-family:'Noto Sans TC','Microsoft JhengHei',sans-serif!important;font-weight:650!important;
 font-size:clamp(20px,2.5vw,32px)!important;line-height:1.4!important;letter-spacing:.015em!important;
}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode .native-time-overlay :where(.native-time-count,#home .countdown){
 font-family:'Segoe UI','Noto Sans TC','Microsoft JhengHei',sans-serif!important;font-weight:650!important;
 font-size:clamp(28px,4.2vw,48px)!important;line-height:1.18!important;letter-spacing:.025em!important;
 font-variant-numeric:tabular-nums!important;
}
/* Minimal mode has its own viewport-scaled geometry; keep that sizing intact. */
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay{align-content:stretch;min-height:0}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-card strong{font-size:clamp(14px,min(3vw,11vh),24px)!important;line-height:1.2!important}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-count{font-size:clamp(18px,min(5vw,17vh),38px)!important;line-height:1.12!important}
@media(max-width:700px){
 html[data-time14-editorial] body[data-native-theme].native-overlay-mode .native-overlay-module>#home>.grid>:is([data-wk-home-id=boss],[data-wk-home-id=event]){grid-column:1/-1!important}
 html[data-time14-editorial] body[data-native-theme].native-overlay-mode .native-overlay-module #home .m14-stack-card{min-height:180px!important;padding:18px!important}
}

/* Only the native minimal mode uses this picker and viewport-fit geometry. */
#nativeMinimalPicker{display:none!important}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode #nativeMinimalPicker{
 display:flex!important;align-items:center;justify-content:center;gap:3px;height:28px;min-height:28px;padding:2px 6px;box-sizing:border-box;
 font:11px/1.2 'Segoe UI','Microsoft JhengHei',sans-serif;position:relative;z-index:1;
}
#nativeMinimalPicker button{all:unset;box-sizing:border-box;cursor:pointer;min-height:24px;padding:3px 12px;border:1px solid transparent;border-radius:5px;color:var(--muted,#b4b8b0);font:inherit;text-align:center;white-space:nowrap}
#nativeMinimalPicker button[aria-pressed=true]{color:var(--text,#f2efe7);border-color:var(--taupe,#cab17d);background:rgba(150,145,126,.12)}
#nativeMinimalPicker button:focus-visible{outline:2px solid var(--taupe,#cab17d);outline-offset:1px}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay{
 height:calc(100dvh - 28px)!important;min-height:0!important;max-height:calc(100dvh - 28px)!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;
 padding:3px!important;gap:4px!important;align-content:stretch!important;overflow:hidden;
}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay[data-minimal-choice]:not([data-minimal-choice=both]){grid-template-columns:minmax(0,1fr)!important}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay>.native-time-card{
 display:none!important;min-width:0!important;min-height:0!important;max-width:100%;margin:0!important;box-sizing:border-box!important;
 flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center!important;
 gap:3px!important;padding:5px 6px!important;overflow:hidden!important;container-type:inline-size;
}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay[data-minimal-choice=both]>.native-time-card:nth-child(-n+2),
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay[data-minimal-choice=boss]>.native-time-card:first-child,
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay[data-minimal-choice=event]>.native-time-card:nth-child(2){display:flex!important}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay>.native-time-card>*{flex:0 0 auto!important;min-width:0!important;max-width:100%;margin:0!important;box-sizing:border-box}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay>.native-time-card>strong{
 font-size:clamp(12px,min(10cqw,14vh),22px)!important;line-height:1.2!important;letter-spacing:0!important;
 width:100%;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;
}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay>.native-time-card>.native-time-count{
 font-size:clamp(18px,min(15cqw,20vh),38px)!important;line-height:1.12!important;letter-spacing:0!important;white-space:nowrap!important;
}
html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay>.native-time-card>small{
 font-size:clamp(9px,min(6cqw,7vh),11px)!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
@media(max-height:110px){html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay>.native-time-card>small:first-child{display:none!important}}
@media(max-height:85px){html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay>.native-time-card>small{display:none!important}}
@media(max-height:85px){html[data-time14-editorial] body[data-native-theme].native-overlay-mode.native-minimal-mode .native-time-overlay>.native-time-card{padding:2px 4px!important;gap:2px!important}}

/* V6.0.16 collapses its native toolbar at small sizes: cards only. */
html[data-time14-editorial] body[data-native-theme].native-minimal-mode.native-chrome-collapsed #nativeMinimalPicker{display:none!important}
html[data-time14-editorial] body[data-native-theme].native-minimal-mode.native-chrome-collapsed .native-time-overlay{height:100dvh!important;max-height:100dvh!important;}
