/* GitHub #82 round 5 (2026-10-27): Home at 200% zoom / very narrow screens (under 300 CSS px = a 360-600 px phone at 200%).
   Reflow instead of squeezing: one column, icon beside the words, words never split letter by letter,
   Morning News above Emergency 911 (no overlap), header buttons wrap instead of running off the screen.
   Loaded LAST in index.html so it wins over earlier Home styles. Normal phone widths are not changed,
   except the Home header: its buttons may wrap to a second line instead of running off a narrow screen. */
#hdr-home{flex-wrap:wrap;row-gap:6px}
#hdr-home .hdr-right{flex-wrap:wrap;justify-content:flex-end;min-width:0;margin-left:auto;row-gap:6px}
/* What's New tiles: long Chinese titles stay inside the tile at every width (zh 360 px ran 7 px past the edge) */
#s-home .wn-tile .t{min-width:0;max-width:100%;white-space:normal}
#s-home .wn-tile .t b,#s-home .wn-tile .t small{white-space:normal;overflow-wrap:break-word}
@media (max-width:300px){
  #hdr-home{padding-left:8px;padding-right:8px}
  #hdr-home .brand{flex:1 1 100%}
  #hdr-home .hdr-right{flex:1 1 100%;justify-content:flex-start;gap:6px}
  #hdr-home .hdr-right .chip{min-width:44px;min-height:44px}
  .shell .nk3-w .nk3{grid-template-columns:1fr!important}
  .shell .nk3-w .nk3 a{font-size:15px!important;min-height:44px!important;word-break:keep-all!important;overflow-wrap:normal!important}

  #s-home.h3 *{word-break:keep-all;overflow-wrap:break-word}
  #s-home.h3 .h3-top,#s-home.h3 .h3-pair,#s-home.h3 .h3-ent,#s-home.h3 .a5-row,#s-home.h3 .a5-home{grid-template-columns:minmax(0,1fr)!important}
  #s-home.h3 .h3-top>*,#s-home.h3 .h3-top .a5-gm{min-width:0;width:100%}
  #s-home.h3 .a5-gm{justify-content:flex-start;gap:8px;padding:8px 10px;min-height:56px}
  #s-home.h3 .a5-gm span{position:static!important;width:auto!important;min-width:0}
  #s-home.h3 .a5-gm b{font-size:1.05rem;line-height:1.15}
  #s-home.h3 a.emg{justify-content:flex-start;gap:8px;padding:8px 10px;min-height:56px}
  #s-home.h3 a.emg .emg-ic{font-size:1.4rem}
  #s-home.h3 a.emg .emg-tx{flex-direction:column;align-items:flex-start;width:auto}
  #s-home.h3 a.emg .emg-l{font-size:.85rem!important;line-height:1.1}
  #s-home.h3 a.emg .emg-n{font-size:1.5rem!important;line-height:1.05}

  /* the 9 picture tiles become one list: picture left, word right */
  #s-home.h3 .tiles{grid-template-columns:minmax(0,1fr)!important;gap:8px;padding-left:12px;padding-right:12px}
  #s-home.h3 .tiles .tile,#s-home.h3 .a5-tile,#s-home.h3 .h3-pair .tile{flex-direction:row!important;justify-content:flex-start!important;align-items:center;gap:8px;min-height:56px!important;height:auto!important;padding:6px 8px!important;text-align:left}
  #s-home.h3 .tiles .tile .ic,#s-home.h3 .a5-tile .i,#s-home.h3 .h3-pair .tile .ic{flex:0 0 auto;margin:0!important;font-size:1.3rem!important}
  #s-home.h3 .tiles .tile span:not(.ic),#s-home.h3 .a5-tile .l,#s-home.h3 .h3-pair .tile span:not(.ic){position:static!important;width:auto!important;min-width:0;flex:1 1 auto;font-size:.95rem!important;line-height:1.2;text-align:left;hyphens:auto!important;-webkit-hyphens:auto!important}
  #s-home.h3 .tiles .tile b{font-size:1rem!important}

  /* Ask Aimee: face left, words right (letters no longer stack) */
  #s-home.h3 .aimee-banner{flex-direction:row!important;align-items:center;gap:10px;min-height:64px;height:auto!important;padding:8px 10px!important}
  #s-home.h3 .aimee-banner .aimee-face{position:static!important;flex:0 0 auto}
  #s-home.h3 .aimee-banner .aimee-txt{position:static!important;flex:1 1 auto;min-width:0;width:auto!important;height:auto!important;writing-mode:horizontal-tb!important;flex-direction:column;align-items:flex-start}
  #s-home.h3 .aimee-banner .aimee-txt b,#s-home.h3 .aimee-banner .aimee-txt small{width:auto!important;height:auto!important;font-size:1rem!important;line-height:1.2}

  /* wide buttons: text gets the room, arrow stays inside */
  #s-home.h3 .lvc-homebtn,#s-home.h3 .lvm-homebtn{gap:8px;padding:8px 10px;margin-left:12px;margin-right:12px;width:auto}
  #s-home.h3 .lvc-homebtn .t,#s-home.h3 .lvm-homebtn .t{min-width:0;width:auto!important}
  #s-home.h3 .lvc-homebtn .ic,#s-home.h3 .lvm-homebtn .ic{font-size:1.4rem}
  #s-home.h3 .lvc-homebtn .chev,#s-home.h3 .lvm-homebtn .chev{flex:0 0 auto;font-size:1.4rem}
  #s-home.h3 .lvc-homebtn b,#s-home.h3 .lvm-homebtn b{font-size:1rem}
  #s-home.h3 .lvc-homebtn small,#s-home.h3 .lvm-homebtn small{font-size:.85rem}

  /* Senior Favorites and New today */
  #s-home.h3 .sf-hhead,#s-home.h3 .wn-head{flex-wrap:wrap;gap:6px;min-height:0;height:auto}
  #s-home.h3 .sf-hhead>span:not(.ic):not(.chev),#s-home.h3 .wn-head .t{flex:1 1 0;min-width:0;width:auto!important}
  #s-home.h3 .sf-hhead .ic{width:auto;flex:0 0 auto;font-size:1.4rem}
  #s-home.h3 .sf-pins{grid-template-columns:minmax(0,1fr)!important}
  #s-home.h3 .sf-pin{flex-direction:row!important;justify-content:flex-start;align-items:center;gap:8px;min-height:52px;height:auto!important;flex-wrap:wrap}
  #s-home.h3 .sf-pin .ic{font-size:1.4rem!important}
  #s-home.h3 .sf-pin .t{width:auto!important;flex:1 1 0;min-width:0;text-align:left;font-size:1rem!important;hyphens:manual!important}
  #s-home.h3 .sf-pin .sf-prov{flex:1 1 100%;width:auto!important;text-align:left}
  #s-home.h3 #h3-mov .h3-mov-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px}
  #s-home.h3 #h3-mov .h3-mov-b{width:100%!important;min-height:48px;border-radius:12px!important}
  #s-home.h3 .h3-mov-b,#s-home.h3 .h3-trv-b{width:auto!important}
  #s-home.h3 .h3-mov-b b,#s-home.h3 .h3-trv-b b,#s-home.h3 .h3-trv-b span{position:static!important;width:auto!important}
  #s-home.h3 .wn-tile .t{min-width:0;width:auto!important;max-width:100%}
  #s-home.h3 .lvc-homebtn,#s-home.h3 .lvm-homebtn,#s-home.h3 .dy-homebtn{width:calc(100% - 24px)!important;box-sizing:border-box}
  #s-home.h3 .dy-homebtn{gap:8px;padding:8px 10px;margin-left:12px;margin-right:12px}
  #s-home.h3 .dy-homebtn>span:not(.ic):not(.chev){min-width:0;flex:1 1 auto;width:auto!important}
  #s-home.h3 .dy-homebtn b,#s-home.h3 .dy-homebtn small{white-space:normal}
  #s-home.h3 .dy-homebtn .chev{flex:0 0 auto}
  #s-home.h3 .aimee-banner .aimee-txt b,#s-home.h3 .aimee-banner .aimee-txt small{white-space:normal!important;max-width:100%}
  /* Neighbors & Connections / Real Estate Market / My Diary buttons: picture and arrow on the first line, words below at full width */
  #s-home.h3 .lvc-homebtn,#s-home.h3 .lvm-homebtn,#s-home.h3 .dy-homebtn{flex-wrap:wrap!important;justify-content:space-between}
  #s-home.h3 .lvc-homebtn .t,#s-home.h3 .lvm-homebtn .t,#s-home.h3 .dy-homebtn>span:not(.ic):not(.chev){order:3;flex:1 1 100%!important}
  /* heads with picture + words + arrow/close: picture and arrow on the first line, words get the full width below */
  #s-home.h3 .wn-head,#s-home.h3 .sf-hhead,#s-home.h3 .lg-hhead{flex-wrap:wrap!important;align-items:center;justify-content:space-between;height:auto!important}
  #s-home.h3 .wn-head .t,#s-home.h3 .sf-hhead>span:not(.ic):not(.chev),#s-home.h3 .lg-hhead .t{order:3;flex:1 1 100%!important;width:auto!important;min-width:0;text-align:left}
  #s-home.h3 .lg-face{width:48px!important;height:48px!important}
  /* A Day with Aimee (Lounge) on Home */
  #s-home.h3 .lg-sug,#s-home.h3 .lg-hfoot{grid-template-columns:minmax(0,1fr)!important}
  #s-home.h3 .lg-sug-it{grid-template-columns:minmax(0,1fr)!important}
  #s-home.h3 .lg-sug-it>*{min-width:0;max-width:100%}
  #s-home.h3 .lg-acts{display:grid!important;grid-auto-flow:row!important;grid-template-columns:minmax(0,1fr)!important;gap:6px}
  #s-home.h3 .lg-btn{min-width:0;max-width:100%;width:100%;height:auto;min-height:44px;white-space:normal}
  #s-home.h3 .lg-btn .ic{position:static!important}
  /* same list layout when A+ (html.bigfs) is also on */
  html.bigfs #s-home.h3 .tiles{grid-template-columns:minmax(0,1fr)!important}
  html.bigfs #s-home.h3 .tiles .tile,html.bigfs #s-home.h3 .tiles .tile.big{grid-column:auto;flex-direction:row!important;justify-content:flex-start!important;font-size:1rem}
  html.bigfs #s-home.h3 .tiles .tile span:not(.ic),html.bigfs #s-home.h3 .a5-tile .l{overflow-wrap:normal;word-break:keep-all;hyphens:auto!important;-webkit-hyphens:auto!important}
  html.bigfs #s-home.h3 .a5-tile .l{font-size:.95rem!important}
  /* A+ and 200% together: picture on its own line so a whole word fits on one line */
  html.bigfs #s-home.h3 .tiles .tile,html.bigfs #s-home.h3 .a5-tile,html.bigfs #s-home.h3 .sf-pin{flex-wrap:wrap!important}
  html.bigfs #s-home.h3 .tiles .tile span:not(.ic),html.bigfs #s-home.h3 .a5-tile .l,html.bigfs #s-home.h3 .sf-pin .t{flex:1 1 100%!important}
  /* Korean "Major life events" bar: less side padding so the words get room */
  #s-home.h3 #h3-life,html.bigfs #s-home.h3 #h3-life{padding:10px 32px 10px 40px!important;width:calc(100% - 16px)}
}

/* #82 round 6 (2026-10-28, app b53): ported to the current b52 Home + these extra fixes found on b52 */
@media (max-width:300px){
  /* top photo: date left, temperature right, "Add to Home" becomes a dark button under the photo so nothing overlaps */
  #s-home.h3 .usenow-btn{position:static!important;transform:none!important;margin:6px auto 0;background:#16264F!important;font-size:15px!important;min-height:44px;padding:0 10px!important;max-width:100%;box-sizing:border-box;white-space:normal;text-align:center;line-height:1.1}
  #h56-wx .d{font-size:13px!important;white-space:normal}
  #h56-tmp .t{font-size:16px!important}#h56-tmp .r{font-size:12px!important}
  /* "Add LWVlife to your home screen?" hint: shown under the photo instead of covering the tiles */
  #a2hs-hint{position:static!important;margin:8px 0 0;line-height:1.3;flex-direction:column}
  #a2hs-hint button{width:100%;font-size:16px!important}
}

/* #82 round 6 / #37 ISS-0009: Daily Living rows (category rows, board cards, What's New mini tiles).
   All widths: words start at the left and may wrap, so the arrow and count badge stay inside the row. */
#s-living .row-link{text-align:left}
#s-living .row-link>span:not(.ic):not(.chev):not(.num){flex:1 1 auto;min-width:0;overflow-wrap:break-word}
#s-living .row-link .chev,#s-living .row-link .num{flex:0 0 auto}
#s-living .cinfo-card .row .txt{min-width:0}
#s-living .cinfo-card .row .cnt{flex:0 0 auto}
/* What's New mini tiles side by side only when there is room for the words */
@media (max-width:379px){#s-living .wn-row{grid-template-columns:minmax(0,1fr)}}
@media (max-width:479px){html.bigfs #s-living .wn-row{grid-template-columns:minmax(0,1fr)}}
@media (max-width:300px){
  #s-living .row-link,#s-living .cinfo-card .row{flex-wrap:wrap;justify-content:space-between;row-gap:4px;padding-left:8px;padding-right:8px}
  #s-living .row-link .ic{width:40px!important;height:40px!important;font-size:1.35rem!important}
  #s-living .row-link>span:not(.ic):not(.chev):not(.num),#s-living .cinfo-card .row .txt{order:3;flex:1 1 100%!important;width:auto!important;font-size:1rem;line-height:1.25;word-break:keep-all;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
  #s-living .cinfo-card .row .txt b,#s-living .cinfo-card .row .txt small{white-space:normal;max-width:100%}
  #s-living .cinfo-card .row .cnt em{font-size:.85rem}
  #s-living .wn-tile.sm{flex-wrap:wrap;justify-content:space-between}
  #s-living .wn-tile.sm .t{order:3;flex:1 1 100%;min-width:0}
  #s-living .wn-tile.sm .t b{overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
}
/* Important contacts rows (name + phone number): the number moves under the name when both do not fit */
#s-living .row-link{min-width:0;max-width:100%;box-sizing:border-box}
#s-living .row-link:has(.num){flex-wrap:wrap}
#s-living .row-link:has(.num)>span:not(.ic):not(.chev):not(.num){flex:1 1 7.5em}
#s-living .row-link .num{margin-left:auto;white-space:nowrap}
@media (max-width:300px){
  #s-living .row-link>span:not(.ic):not(.chev):not(.num){overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
  #s-living .row-link .num{order:4;flex:1 1 100%;text-align:left;white-space:normal;font-size:1rem}
}
@media (max-width:300px){
  /* cards inside Daily Living give their rows more room */
  #s-living .card{padding-left:8px!important;padding-right:8px!important}
  #s-living .card .row-link{padding-left:6px;padding-right:6px}
}

/* ======================================================================================================
   GitHub #82 round 7 (2026-10-29) - large text (A+, html.bigfs) layout repairs measured on served b60-b65
   (#129 / #114 / #109 self-tests) and 48 px tap targets (Master Rulebook 2.1: at least 48 px, 44 px absolute
   minimum). CSS only. Nothing is removed; only sizes, wrapping and column counts change.
   ====================================================================================================== */

/* 1. Restaurants & Cafes "Show" drop-down: was 351 px wide from x=107 (68 px past a 390 px screen) */
.bz-pick{flex-wrap:wrap;max-width:100%}
.bz-pick select{min-width:0;max-width:100%;flex:1 1 12em;box-sizing:border-box}

/* 2. Events & Clubs button grid: "Post an Event" ended 4-18 px past the edge (1fr columns grew to the longest word) */
.grid2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid2>.btn{min-width:0;white-space:normal;overflow-wrap:break-word;word-break:keep-all;line-height:1.2}
@media (max-width:420px){html.bigfs .grid2{grid-template-columns:minmax(0,1fr)}}

/* 3. Village Real Estate Market cards: "$449,500" was cut off inside its half-width card */
.lvm-card{min-width:0}
.lvm-card b{overflow-wrap:anywhere}
@media (max-width:480px){html.bigfs .lvm-grid{grid-template-columns:minmax(0,1fr)}}
#s-market .lvm,#s-market .lvm table{max-width:100%;box-sizing:border-box}
#s-market .lvm img,#s-market .lvm iframe{max-width:100%;height:auto}

/* 4. Morning News page buttons (Listen / Pause / Stop / Refresh / Today's Events / full edition):
   3 equal columns could not shrink below the longest word, so Stop and the full-edition link ran past the edge */
@media (max-width:560px){
  .a5-bar{grid-template-columns:repeat(3,minmax(0,1fr))}
  .a5-bar .a5-btn{min-width:0;overflow-wrap:break-word;line-height:1.2}
  html.bigfs .a5-bar{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.bigfs #a5-bar-gm #a5-gm-more{grid-column:1/-1}
}
.a5-sheet{max-width:100%;box-sizing:border-box}

/* 5. Music player "YouTube could not play this here" box: it was pinned inside the 16:9 video frame, so at A+
   the Open on YouTube button spilled over the box. The box now sits in the page flow and the empty black
   frame is hidden while the message shows. */
.mp-full .mp-stage:has(.mp-err:not([hidden])) .mp-frame{display:none}
.mp-full .mp-err:not([hidden]){position:relative;inset:auto;margin:0}
.mp-err .mp-btn{flex:none;height:auto;white-space:normal;max-width:100%;box-sizing:border-box}
html.bigfs .mp-ic{font-size:34px;overflow:hidden}

/* 6. My Lounge tab chips (My day / Games / Music / My sites / Me / Club): at A+ the words were wider than the pill
   (the globe sat on the border). Two columns at A+ on phones, and words may wrap. */
@media (max-width:559px){html.bigfs .lg-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.lg-tabs .lg-chip{min-width:0;overflow:hidden}
html.bigfs .lg-tabs .lg-chip{white-space:normal;line-height:1.15;text-align:center}
/* Games / Music card buttons ("Open" / "Save") were wider than their half of the row at A+ */
html.bigfs .lg-acts:not(.lg-sw){grid-auto-flow:row;grid-template-columns:repeat(auto-fit,minmax(6.5em,1fr))}
.lg-acts .lg-btn{min-width:0}

/* 7. Tap targets: controls that were 44-47 px tall are now at least 48 px (rulebook 2.1) */
.chip,.chip-font,#btn-lang2,
#s-home.h3 .usenow-btn,#addhome-link,
.wn-x,
.ai-home,#s-index .ai-lang,.ai-find,.ai-aimee,
.cn-chip,
#a2hs-hint button,
#s-news details>summary,
.a5-btn,.a5-acts .a5-btn,#a5-gear,
.lg-btn,.lg-chip,.lg-top .lg-btn,.lg-tabs .lg-chip,.lg-acts .lg-btn,.lg-sug-it .lg-acts .lg-btn,.lg-sug-it .lg-acts .lg-btn.ghost,.lg-btn.wide,
.item .actions a,.item .actions button,.bubble .actions a,.bubble .actions button{min-height:48px!important}
#s-news details>summary{box-sizing:border-box;padding-top:8px;padding-bottom:8px}
.wn-x,.lg-top .lg-btn{min-width:48px}

/* 8. Local Businesses & Services cards (destination of the relabelled Home tile): at A+ the picture (fixed 36 px box,
   44 px emoji) sat on top of the words; the count badge now moves under the words when both do not fit */
html.bigfs .cinfo-card .ic{flex:0 0 auto;width:auto;min-width:36px;font-size:1.5rem}
html.bigfs .cinfo-card .row{flex-wrap:wrap;row-gap:4px}
html.bigfs .cinfo-card .row .txt{flex:1 1 9em}

/* 9. Home "Morning News" tile at A+ on 360-400 px phones: the word "Morning" ran under the 911 tile. The sun goes above
   the words and the words shrink a little with the screen width (never below the 911 tile size). */
@media (max-width:420px){
  html.bigfs #h3-top .a5-gm.a5-gm-t{flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;height:auto;min-height:84px!important}
  html.bigfs #h3-top .a5-gm.a5-gm-t b{font-size:min(1.15rem,7.2vw);hyphens:auto;-webkit-hyphens:auto}
}
/* Current News website rows: long web addresses wrap instead of running out of the row */
.cn-row small{overflow-wrap:anywhere}

/* "A Little Laughter" card in My Lounge > Games: at A+ the title broke inside the word ("Laught / er");
   the Open button now moves under the words when both do not fit */
html.bigfs .lf-tile{flex-wrap:wrap}
html.bigfs .lf-tile .t{flex:1 1 9em}
html.bigfs .lf-tile b{overflow-wrap:normal}

/* 10. Lounge collection cards (Games / Music grid): "Open" and "Save" stack at A+ instead of overflowing half-width cells */
html.bigfs .lg-grid .lg-cat .lg-acts{grid-template-columns:minmax(0,1fr)}
html.bigfs .lg-grid .lg-cat .lg-acts .lg-btn{white-space:normal}

/* 11. Very narrow screens (under 300 CSS px = a 360-600 px phone at 200% zoom), normal text and A+:
   - the largest text setting is held at 22 px there (the browser zoom already doubles it), so words fit the line;
   - very long words wrap inside their box instead of being cut off at the screen edge;
   - site-switch links and header buttons keep 48 px tap targets. */
@media (max-width:300px){
  .grid2{grid-template-columns:minmax(0,1fr)}
  html.bigfs{font-size:min(var(--fs),22px)!important}
  html :is(#shell,.a5-sheet,#mp-dock,.lg-page) :is(h1,h2,h3,h4,p,b,strong,small,summary,label,li,a,button,.t,.txt){overflow-wrap:anywhere}
  #hdr-home .hdr-right .chip,#hdr-inner .chip,#btn-lang2,#btn-font-down,#btn-font-up{min-width:48px;min-height:48px}
  /* blocks that put a picture beside the words become one column, so the words keep the full width */
  .gm-tile{grid-template-columns:minmax(0,1fr);grid-template-areas:"ic" "t" "go"}
  .gm-tile .ic{width:64px;height:64px}
  #ev-list .item{grid-template-columns:minmax(0,1fr)}
  #ev-list .item>*:not(.ev-thumb){grid-column:1}
  #ev-list .item>.ev-thumb{grid-row:auto}
  #ev-list .item .actions>*{max-width:100%;white-space:normal}
  .wx-row{grid-template-columns:minmax(0,1fr)}
  #wx-refresh{max-width:100%;white-space:normal}
  .a5-head .a5-homex{white-space:normal;max-width:100%}
  .lg-chip{white-space:normal;max-width:100%}
  .ev-mode{flex-direction:column}
  .ev-mode button{width:100%;height:auto;flex:none}
  .bz-menu li{flex-wrap:wrap}
  .bz-menu li>span{flex:1 1 100%;min-width:0}
  .mp-card{grid-template-columns:minmax(0,1fr);grid-template-areas:"ic" "t" "btn"}
  .lg-switch{flex-wrap:wrap}
  .lg-switch .t{flex:1 1 100%;min-width:0}
  .lg-win,.lg-win .lg-card,.lg-times,.lg-times>*{min-width:0;max-width:100%;box-sizing:border-box}
  .lg-win h3{flex-wrap:wrap}
  .lg-step{grid-template-columns:auto minmax(0,1fr)}
  .lg-step>.lg-btn,.lg-step>.lg-tag{grid-column:1/-1;justify-self:stretch;max-width:100%;white-space:normal}
  .lg-times input{min-width:0;max-width:100%;box-sizing:border-box}
  .lg-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lg-tabs .lg-chip{white-space:normal;line-height:1.15;flex-direction:column;gap:0;padding:4px 2px;font-size:.85rem;overflow-wrap:normal!important;word-break:keep-all}
  .lg-chip{min-width:48px}
  #lv-sub .lv-btn{white-space:normal;flex-wrap:wrap;max-width:100%;height:auto;box-sizing:border-box;padding-left:8px;padding-right:8px}
  #lv-sub .lv-btn.tel b{white-space:normal}
  .cinfo-card .ic{flex:0 0 auto;width:auto;min-width:36px}
}

/* 12. Site-switch links (site strip) were 44 px tall: 48 px at every width */
html .shell .nk3-w .nk3 a{min-height:48px!important}
/* Landscape phones (short screens): the bottom bar was held to 520 px, so at A+ "Index", "Events" and "Aimee"
   ran out of their buttons; the bar now uses the full width */
@media (orientation:landscape) and (max-height:500px){.bnav{max-width:none}}
/* Daily Living "What's New" mini tiles on wide screens at A+: no tile narrower than its longest word */
@media (min-width:480px){html.bigfs #s-living .wn-row{grid-template-columns:repeat(auto-fit,minmax(min(100%,13em),1fr))}}
/* 13. Bottom bar under 300 CSS px (200% zoom): six buttons side by side were only 33 px wide. Two rows of three
   buttons, each at least 48 px; the page keeps room for the taller bar. App Index search box: 48 px tall. */
@media (max-width:300px){
  html,html.bigfs{--nav-h:100px}
  .bnav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(48px,1fr)}
  .bnav button{min-height:48px!important;min-width:0}
}
#ai-q{min-height:48px;box-sizing:border-box}
/* 14. Chinese text must be allowed to break between characters: "keep-all" (right for Korean) stopped Chinese lines
   from wrapping, so the Morning News page and the What's New tiles ran far past the screen in 繁/简 */
html:lang(zh) .a5-sheet :is(p,b,h2,h3,small,span,div,a,button),
html:lang(zh) #shell :is(.wn-tile,.wn-tile *){word-break:normal}
/* footer "Refresh app" button: 48 px */
.appver-btn{min-height:48px}
@media (max-width:300px){
  #s-home.h3 #h3-trv-h{white-space:normal;word-break:normal;overflow-wrap:anywhere;font-size:1rem}
  .ai-find,.ai-aimee{white-space:normal;max-width:100%}
  .ai-top>*,#ai-form{flex-wrap:wrap;max-width:100%}
  #ai-form>*{min-width:0;max-width:100%}
}
/* 15. Normal text, 380-479 px: Daily Living "What's New" mini tiles were narrower than their words ("My Diary & Health
   Records" ran out of its tile); one tile per row on phones, as already at A+. Star chips: 48 px wide. Business card pictures no longer stick out of their 36 px box. */
@media (max-width:479px){#s-living .wn-row{grid-template-columns:minmax(0,1fr)}}
.lg-chip{min-width:48px}
.cinfo-card .ic{flex:0 0 auto;width:auto;min-width:36px}
