/* Single mature mobile menu bar — tile layer. Owner orders 22 Nov 2026,
   Update 1 (~19:46 WAT) + item 101 (23 Nov 2026, owner order: menu icons
   as powerful and colourful as Facebook's).
   This file IS the tile/label layer for the ONE menu, the mature homepage
   menu bar, on every page including Purpose & Destiny. The bar's skin
   itself (approved royal-blue gradient bar, gold top border) is owned by
   mobile-community-navigation.css (the single skin source);
   community-premium-navigation.css agrees with it now (its white-bar skin
   was neutralised in #801), so no sheet fights over the bar.
   What this file alone defines: the 32px white tile + cropped menu-icon
   image over the name under it, the 82px bar, the active-tile scale + gold
   ring, and the More drawer's 32px badges — plus, in #812b, the More
   drawer's 3-column icon grid (owner order 24 Nov ~23:11 WAT).
   Release #821 follow-up (25 Nov 2026, pin 20261125-821f, owner orders
   25 Nov ~01:12–01:13 WAT): dock tiles 40px → 32px, tile img 32px →
   24px; drawer badges 32px → 28px, badge img 28px → 24px (Facebook
   size); labels stay 16px bold; the 'Destiny & Purpose' dock label
   wraps to two lines (per-item rule below, not a font change); bar
   min-height 76px → 82px single-row, 136px → 142px two-row.
   Release #819 (25 Nov 2026, pin 20261125-831, owner order ~13:47 WAT):
   every menu icon one consistent Facebook size — drawer badges 28px →
   32px (img stays 24px), joining the dock tiles and the rail badges
   (community-premium-navigation.css) at the same 32px tile / 24px glyph
   standard.
   Release #812b (24 Nov 2026, owner orders ~22:49 + ~23:07 WAT): the SVG
   sprite glyphs are GONE — every tile/badge now carries a cropped WebP
   from the owner-supplied menu sheet (assets/menu-icons/, pin
   20261124-812b), glyph region only, baked label strip excluded; each
   crop keeps its own distinct colours.
   KEPT, and why (recorded exactly):
   - Side padding 4px, not the homepage sheets' 7–8px: with a name under
     every icon the longest label ("Notifications", 13 chars) needs the
     extra room to fit at 360px (57px share at 4px; see dock-menu tests).
   - Labels are 14px in #808 (owner font standard, 24 Nov 2026: body
     16px, small print minimum 14px — the old 8px clamp is gone: it was
     the smallest text on the site and the owner called the bottom menu
     bar not okay, 24 Nov ~10:03 WAT). Weight stays 700: the owner noted
     the bold names 23 Nov ~17:21 WAT and the question of normal weight
     is still unanswered — weight is not changed here.
   - Geometry at 14px: labels are centred under their tiles, so two
     neighbours collide only when (w1+w2)/2 exceeds the slot. Worst pair
     is Chats/Notifications at ~70px, so a single row of six fits at
     >=560px (slot ~93px) and the bar goes two rows of three below
     560px (share (100% - 4px)/3: 116px at 360px, 126px at 390px —
     the basis subtracts the two 2px column gaps first, or the third
     item wraps and the bar becomes three rows of two; worst pair ~70px
     — no collision).
     Bar min-height 82px single-row, 142px two-row. Six items stay:
     the owner's item-68 order (Home, Groups, Purpose, Chats,
     Notifications, More) overrules the design skill's bottom-nav ≤5
     guideline. "Notifications" is the settled label (19:42 WAT
     correction), not "Alerts".
   - The 24px text glyphs (.gcc-dock-symbol) are GONE in #801, superseded
     by the owner's item-101 order: every dock item is now an SVG badge
     tile (white tile, glyph in the item's own bright colour). The
     buildcheck pins were updated with the switch (nav-bounce + dock-menu).
   The old second variant (the standalone dark-blue bar with
   Home/Groups/Purpose/Chats/Alerts/More as plain links) is gone: this file
   no longer defines it and no page loads it. */
html body.community-unified-theme .mobile-dock{padding-left:4px!important;padding-right:4px!important;min-height:82px!important}
html body.community-unified-theme .mobile-dock>.dock-action,
html body.community-unified-theme .mobile-dock>.mobile-more>summary{flex-direction:column!important;gap:2px!important;padding:4px 0!important}
html body.community-unified-theme .mobile-dock .gcc-dock-tile{display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 6px #06135833!important}
html body.community-unified-theme .mobile-dock .gcc-dock-tile img{display:block!important;width:24px!important;height:auto!important;max-width:24px!important;max-height:24px!important;object-fit:contain!important}
html body.community-unified-theme .mobile-dock .dock-label{display:block!important;font-size:16px!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap!important;color:#fff!important}
/* #821 follow-up (25 Nov 2026): 'Destiny & Purpose' (17 chars at 16px
   bold) cannot fit on one line under a 32px tile, so THIS item's label
   wraps to two lines. Every other dock label keeps nowrap; the font
   stays 16px bold for all labels. The More-grid drawer labels already
   wrap to two lines (see the #812b grid rule at the foot of this file). */
html body.community-unified-theme .mobile-dock .dock-action[data-dock="purpose"] .dock-label{white-space:normal!important;text-align:center!important}
/* Per-item glyph colours (design §3a). The tile stays white; the glyph
   takes the item's colour. */
html body.community-unified-theme .mobile-dock .gcc-dock-tile--home{color:#1877f2!important}
html body.community-unified-theme .mobile-dock .gcc-dock-tile--groups{color:#4f46e5!important}
html body.community-unified-theme .mobile-dock .gcc-dock-tile--purpose{color:#7c3aed!important}
html body.community-unified-theme .mobile-dock .gcc-dock-tile--messages{color:#0084ff!important}
html body.community-unified-theme .mobile-dock .gcc-dock-tile--notifications{color:#dc2626!important}
html body.community-unified-theme .mobile-dock .gcc-dock-tile--more{color:#1e293b!important}
/* Active item: tile scales to ~35px + 2px gold ring (transform only, no
   layout shift). Hover: gentle scale. Reduced motion: no scale. */
html body.community-unified-theme .mobile-dock .dock-action[aria-current="page"] .gcc-dock-tile,html body.community-unified-theme .mobile-dock .mobile-more[open] .gcc-dock-tile{transform:scale(1.1)!important;box-shadow:0 0 0 2px #ffcf32,0 2px 6px #06135833!important}
html body.community-unified-theme .mobile-dock .dock-action:hover .gcc-dock-tile{transform:scale(1.06)!important;transition:transform .2s ease!important}
@media(prefers-reduced-motion:reduce){html body.community-unified-theme .mobile-dock .dock-action[aria-current="page"] .gcc-dock-tile,html body.community-unified-theme .mobile-dock .mobile-more[open] .gcc-dock-tile,html body.community-unified-theme .mobile-dock .dock-action:hover .gcc-dock-tile{transform:none!important;transition:none!important}}
/* More drawer rows: 32px badge (colour from .rail-icon-badge--<key> in
   community-premium-navigation.css) + label. Release #819: badge 28px →
   32px so every menu icon (dock, More grid, rails, drawer) is the one
   Facebook size (32px tile, 24px glyph). */
html body.community-unified-theme .mobile-dock .mobile-more-menu a{display:flex!important;align-items:center!important;gap:10px!important;min-height:48px!important;padding:8px 12px!important;text-decoration:none!important;color:#173462!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:12px!important;box-shadow:0 2px 5px #001b6c22!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge img{display:block!important;width:24px!important;height:auto!important;max-width:24px!important;max-height:24px!important;object-fit:contain!important}
/* The drawer badge colours live here (not only in the rail sheet) so the
   More drawer is colourful on every dock page, including the three that
   do not load the rail sheet (purpose, ai-assistants, ai-assistant-profile). */
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--home{background:#1877f2!important;color:#fff!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--feeds{background:#0d9488!important;color:#fff!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--fellowship{background:#e11d48!important;color:#fff!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--purpose{background:#7c3aed!important;color:#fff!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--groups{background:#4f46e5!important;color:#fff!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--prayer{background:#059669!important;color:#fff!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--resources{background:#d97706!important;color:#1e293b!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--members{background:#db2777!important;color:#fff!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--missions{background:#0284c7!important;color:#fff!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--messages{background:linear-gradient(135deg,#0084ff,#a033ff)!important;color:#fff!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--comments{background:#ea580c!important;color:#fff!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--profile{background:#c026d3!important;color:#fff!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--safety{background:#84cc16!important;color:#1e293b!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge.rail-icon-badge--settings{background:#475569!important;color:#fff!important}
/* #808 (24 Nov 2026, owner font standard): 14px labels cannot fit six
   across below 560px, so the bar goes two rows of three there (see the
   header comment for the geometry). The nav-qualified selectors beat
   the equal-width block in community-premium-navigation.css /
   mobile-community-navigation.css (0,3,2) regardless of load order. */
@media (max-width:559px){
html body.community-unified-theme nav.mobile-dock{flex-wrap:wrap!important;min-height:142px!important;align-items:flex-start!important;align-content:flex-start!important}
/* #811 dock fix (owner order 24 Nov ~18:07 WAT, "The bottom menu bar not
   working well"): the old basis was a raw 33.333%, but the bar also
   carries 2px column gaps, so three items needed 100% + 4px and the
   third wrapped — the bar rendered as THREE rows of two (218px tall,
   empty right third) instead of two rows of three, and the More menu,
   anchored to the More button, hung 39px off the left edge with its
   badges cut. The basis below subtracts the two gaps first, so three
   items + gaps fit the row exactly at every width below 560px. */
html body.community-unified-theme nav.mobile-dock>.dock-action,html body.community-unified-theme nav.mobile-dock>.mobile-more{flex:0 0 calc((100% - 4px)/3)!important;max-width:calc((100% - 4px)/3)!important}
/* The two-row bar is ~142px tall (row 1 carries the two-line
   'Destiny & Purpose' label: 32px tile + 2px gap + 2 × 19.2px label +
   8px padding ≈ 80px; row 2 single-line ≈ 61px), but the body only
   cleared 78px, so the bottom of the page sat behind it. Below 560px
   the body clears the bar plus a margin. (Beats
   mobile-community-navigation.css:51 at (0,1,2)
   vs (0,1,1); the 78px rule still clears the single-row bar at >=560px.)
   #821 follow-up: the 168px clearance still covers the 142px bar. */
html body.community-unified-theme{padding-bottom:calc(168px + env(safe-area-inset-bottom))!important}
}
/* #811 dock fix, part 2 (owner order 24 Nov ~18:07 WAT): the "More" label
   rendered blue (#1558f5) on the dark-blue bar while the other five labels
   are white. Full chain, all !important: approved-community-launch-layout.css
   paints the home summary blue (0,4,1, beats premium-global-header.css:28's
   white (0,3,2)); premium-global-header.css:30 then sets the More small to
   color:inherit (0,4,3, beats the white dock-label rule (0,3,2)), so the
   small inherits the summary's blue. The rule below is (0,4,5), so it beats
   the inherit rule outright and the More label is white like the rest. */
@media (max-width:760px){
html body.community-unified-theme nav.mobile-dock .mobile-more>summary>small.dock-label{color:#fff!important}
}
/* #812b — More menu as a 3-column icon grid (owner order 24 Nov ~23:11
   WAT, pin 20261124-812b). The 10 entries fill 3,3,3,1. The menu panel
   itself is 300px max (mobile-community-navigation.css:39), so each cell
   is ~90px: icon on top, label under it at 16px (wraps to two lines
   where the name is long — "Purpose & Destiny", "Fellowship Center" —
   and stays aligned). Drawer badges are 32px since #819 (24px img; they
   were 28px in #821–#818),
   on white now
   (the crops carry the colour; the old per-key badge paints would show
   through the crops' rounded corners). These rules sit after the row
   rule above, so on equal specificity they win for the grid layout. */
html body.community-unified-theme .mobile-dock .mobile-more-menu{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:12px 6px!important;padding:14px 10px!important;align-items:start!important}
html body.community-unified-theme .mobile-dock .mobile-more-menu a{flex-direction:column!important;justify-content:flex-start!important;align-items:center!important;gap:6px!important;min-height:0!important;padding:6px 2px!important;text-align:center!important;font-size:16px!important;line-height:1.25!important}
html body.community-unified-theme .mobile-dock .mobile-more-menu .gcc-drawer-badge{background:#fff!important}
/* #820 (25 Nov 2026, owner order ~15:11 WAT): menu-bar polish — every
   dock tile and every More-grid badge carries the same 2px magenta
   border (#b40059, the approved theme colour — the owner's "red or
   blue", settled on the theme magenta) so the tiles read as one
   finished set. Sizes unchanged (32px tile / 24px glyph, labels under
   the icons, active gold ring untouched); box-sizing keeps each tile
   at exactly 32px including the border. */
html body.community-unified-theme .mobile-dock .gcc-dock-tile{border:2px solid #b40059!important;box-sizing:border-box!important}
html body.community-unified-theme .mobile-dock .gcc-drawer-badge{border:2px solid #b40059!important;box-sizing:border-box!important}
