100100 Header
101101 ========================================================================== */
102102.c2-header {
103- display : flex; flex-direction : column; gap : 8 px ;
104- padding : 14 px 20 px 12 px ;
103+ display : flex; flex-direction : column; gap : 4 px ;
104+ padding : 8 px 16 px 6 px ;
105105 background : linear-gradient (color-mix (in srgb, var (--surface ) 70% , transparent), color-mix (in srgb, var (--bg ) 60% , transparent));
106106 backdrop-filter : var (--c2-blur );
107107 border-bottom : 1px solid var (--c2-line );
119119 those overlays still cover the header exactly as before. */
120120 z-index : 20 ;
121121}
122- .c2-header-top { display : flex; align-items : center; gap : 20 px ; }
122+ .c2-header-top { display : flex; align-items : center; gap : 12 px ; }
123123/* Icon-only "go somewhere" links: the hub link on the left of the header and
124124 the settings gear on the right. Deliberately one rule, not two lookalikes —
125125 they are the same affordance pointing at different destinations, and the
145145.c2-new : hover { filter : brightness (1.08 ); }
146146
147147.c2-header-echo { display : flex; align-items : center; gap : 8px ; font-size : 12px ; color : var (--text-dim ); min-height : 22px ; }
148+ .c2-header-echo : empty { display : none; }
148149.c2-header-echo b { color : var (--text ); font-variant-numeric : tabular-nums; }
149150.c2-header-echo .sep { color : var (--text-faint ); }
150151
240241/* Mobile-only collapse toggle for the whole pulse area — desktop never
241242 renders it and never honors .pb-collapsed (see the responsive block). */
242243.c2-pb-collapse { display : none; }
243- .c2-pulsebar { display : flex; align-items : stretch; gap : 12 px ; padding : 8 px 16px ; }
244- .c2-pb-tiles { display : flex; gap : 8 px ; flex : 1 1 auto; min-width : 0 ; overflow-x : auto; scrollbar-width : thin; }
244+ .c2-pulsebar { display : flex; align-items : stretch; gap : 8 px ; padding : 5 px 16px ; }
245+ .c2-pb-tiles { display : flex; gap : 6 px ; flex : 1 1 auto; min-width : 0 ; overflow-x : auto; scrollbar-width : thin; }
245246.c2-pb-item { position : relative; display : flex; flex-direction : column; align-items : center; justify-content : center; gap : 1px ;
246- flex : 1 0 86 px ; min-height : 52 px ; padding : 6 px 10 px ; background : var (--c2-glass ); border : 1px solid var (--c2-line );
247+ flex : 1 0 80 px ; min-height : 48 px ; padding : 4 px 8 px ; background : var (--c2-glass ); border : 1px solid var (--c2-line );
247248 border-radius : 10px ; box-shadow : inset 0 1px 0 var (--c2-rim-soft ); cursor : pointer; color : var (--text );
248249 transition : border-color 0.15s var (--ease ), transform 0.1s var (--ease ); }
249250.c2-pb-item : hover { transform : translateY (-1px ); border-color : var (--c2-line-2 ); }
250- .c2-pb-v { font-family : var (--font-display ); font-size : 20 px ; font-weight : 700 ; line-height : 1 ; font-variant-numeric : tabular-nums; }
251+ .c2-pb-v { font-family : var (--font-display ); font-size : 18 px ; font-weight : 700 ; line-height : 1 ; font-variant-numeric : tabular-nums; }
251252.c2-pb-k { font-family : var (--font-display ); font-size : 9px ; letter-spacing : 0.12em ; text-transform : uppercase; color : var (--text-faint ); }
252253.c2-pb-sub { font-size : 9px ; color : var (--text-dim ); }
253254.c2-pb-item .tone-green .c2-pb-v { color : var (--green ); }
@@ -775,14 +776,15 @@ select.c2-linktype { flex: 0 0 auto; max-width: 140px; }
775776 html , body { overflow-x : hidden; }
776777
777778 /* ---- header: wrap + condense to icon + short label ---------------------- */
778- .c2-header { padding : calc (10 px + env (safe-area-inset-top)) 12 px 8px ; gap : 6 px ; }
779- .c2-header-top { flex-wrap : wrap; gap : 8 px ; }
779+ .c2-header { padding : calc (6 px + env (safe-area-inset-top)) 8px 6 px ; gap : 4 px ; }
780+ .c2-header-top { flex-wrap : wrap; gap : 4 px ; }
780781 .c2-brand { min-width : 0 ; flex : 1 1 auto; }
781782 .c2-brand-name { max-width : 46vw ; overflow : hidden; text-overflow : ellipsis; white-space : nowrap; }
782783 .c2-brand-sub { display : none; }
783784 .c2-omni { order : 3 ; flex-basis : 100% ; max-width : none; }
784785 .c2-hublink , .c2-setlink { min-width : 44px ; min-height : 44px ; }
785- .c2-header-right { gap : 6px ; }
786+ .c2-header-right { flex-wrap : nowrap; gap : 4px ; max-width : 100% ; overflow-x : auto; scrollbar-width : none; }
787+ .c2-header-right ::-webkit-scrollbar { display : none; }
786788 .c2-sync { display : inline-flex; align-items : center; min-height : 44px ; padding : 6px 8px ; }
787789 .c2-header-echo { flex-wrap : wrap; row-gap : 4px ; }
788790
@@ -792,8 +794,8 @@ select.c2-linktype { flex: 0 0 auto; max-width: 140px; }
792794 .c2-themesw-pulse .c2-themesw-btn { min-width : 44px ; min-height : 44px ; }
793795
794796 /* ---- pulse bar: tiles scroll horizontally; sparkline yields its space --- */
795- .c2-pulsebar { padding : 8 px 12px ; gap : 8 px ; }
796- .c2-pb-item { flex : 1 0 72px ; min-height : 48 px ; }
797+ .c2-pulsebar { padding : 5 px 12px ; gap : 6 px ; }
798+ .c2-pb-item { flex : 1 0 72px ; min-height : 44 px ; }
797799 .c2-pb-side .c2-spark { display : none; }
798800 .c2-pb-more { min-height : 48px ; min-width : 44px ; }
799801 .c2-pulsex { grid-template-columns : 1fr ; padding : 8px 12px 12px ; }
0 commit comments