/* BrandON "Get alerts" panel + homepage group row. Ported from the Design Lab (option 9). Loaded on first open and by the homepage. */
.al9{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid #e8eaed;box-shadow:0 14px 28px rgba(0,0,0,.18);padding:16px 14px 16px;animation:alup .2s ease;max-height:min(82vh,640px);overflow:auto}.al9[hidden]{display:none}
.al9x{position:absolute;right:8px;top:8px;border:0;background:none;font-size:18px;color:#6b7280;cursor:pointer;padding:6px}
.al9t{display:block;font-size:18px;line-height:1.25;font-weight:800;padding-right:28px;text-wrap:balance}.al9s{margin:6px 0 12px;color:#6b7280;font-size:13.5px}
.al9g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 6px}
.al9b{background:none;border:0;padding:2px;cursor:pointer;font-family:inherit;text-align:center;color:#1A1A2E}
.al9l{position:relative;display:block;width:52px;height:52px;margin:0 auto 4px}.al9l img,.al9l i{width:52px;height:52px;border-radius:50%;object-fit:cover;display:block;border:2px solid #e8eaed;background:#fff;font-style:normal;line-height:48px;font-weight:800;color:#E8391D;transition:border-color .15s,transform .15s}
.al9l em{position:absolute;right:-3px;top:-3px;width:20px;height:20px;border-radius:50%;background:#E8391D;color:#fff;font:700 12px/20px inherit;font-style:normal;transform:scale(0);transition:transform .15s}
.al9b[aria-pressed=true] .al9l img,.al9b[aria-pressed=true] .al9l i{border-color:#E8391D;transform:scale(1.06)}.al9b[aria-pressed=true] .al9l em{transform:scale(1)}
.al9n{display:block;font-size:11.5px;font-weight:600;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.al9m{display:inline-block;margin:8px 0 2px;color:#E8391D!important;font-weight:700;font-size:13px}
.al9ex{margin:8px 0;background:#fff7f5;border:1px dashed #f3b8ab;border-radius:10px;padding:8px 10px;font-size:13px}.al9ex small{display:block;color:#6b7280;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.al9ex b{font-weight:700}
.al9f{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.al9f input{flex:1 1 150px;min-width:0;padding:11px;border:1.5px solid #cfd5df;border-radius:10px;font:inherit;font-size:15px}
.al9go{flex:1 1 140px;background:#E8391D;color:#fff;border:0;border-radius:10px;padding:11px 14px;font:700 14px inherit;font-family:inherit;cursor:pointer}.al9go:disabled{background:#d6d9df;cursor:not-allowed}
.al9fine{display:block;margin-top:8px;color:#6b7280;font-size:11.5px;text-align:center}
.al9ok{text-align:center;padding:18px 6px}.al9ok b{font-size:17px}.al9ok p{color:#6b7280;margin:6px 0 0}
.al9more{background:none;border:0;color:#E8391D;font:700 13.5px inherit;font-family:inherit;cursor:pointer;padding:4px 0}
@media (min-width:700px){.al9{left:auto;right:max(20px,calc((100vw - 1200px)/2 + 20px));top:calc(100% + 6px);width:min(640px,calc(100vw - 40px));padding:22px 24px;border:1px solid #e8eaed;border-radius:16px}.al9t{font-size:22px}.al9s{font-size:15px}.al9tabs button{padding:12px 14px}.al9tabs b{font-size:15px}.al9tabs small{font-size:12.5px}.al9chips{margin:0 -24px 10px;padding:2px 24px}.al9gp{font-size:13.5px;padding:7px 13px}.al9l,.al9l img,.al9l i{width:60px;height:60px}.al9l i{line-height:56px;font-size:22px}.al9n{font-size:13px}.al9g{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px}.al9go,.al9f input{font-size:16px;padding:13px 16px}.al9cons{font-size:13px}.al9fine{font-size:12.5px}.al9ex{font-size:14px}}
.al9tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}.al9tabs button{display:block;text-align:left;border:1.5px solid #e8eaed;background:#fff;border-radius:12px;padding:9px 10px;cursor:pointer;font-family:inherit;color:#1A1A2E}.al9tabs i{font-style:normal;margin-right:5px}.al9tabs b{font-size:14px}.al9tabs small{display:block;font-size:11.5px;color:#6b7280;line-height:1.3;margin-top:2px}
.al9tabs button.on{border-color:#E8391D;background:#fff7f5;box-shadow:0 0 0 1px #E8391D inset}
.al9chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -14px 8px;padding:2px 14px}.al9gp{flex:none;border:1px solid #e8eaed;background:#fff;border-radius:99px;padding:6px 11px;font:600 12.5px inherit;font-family:inherit;color:#1A1A2E;cursor:pointer;white-space:nowrap}.al9gp.on{background:#1A1A2E;color:#fff;border-color:#1A1A2E}.al9gp b{display:inline-block;min-width:16px;margin-left:5px;border-radius:99px;background:#E8391D;color:#fff;font-size:11px;line-height:16px;text-align:center}.al9gp b:empty{display:none}
.al9bar{text-align:right;margin:0 0 6px}.al9sa{background:none;border:0;color:#E8391D;font:700 13px inherit;font-family:inherit;cursor:pointer;padding:2px 0}
.al9wk{display:none;background:#fff7f5;border-radius:12px;padding:14px;margin:0 0 4px}.al9wk b{font-size:16px}.al9wk p{margin:6px 0 10px;color:#6b7280;font-size:13.5px}.al9wex{background:#fff;border:1px dashed #f3b8ab;border-radius:10px;padding:8px 10px;font-size:13px}.al9wex small{display:block;color:#6b7280;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.al9.weekly .al9bp{display:none}.al9.weekly .al9wk{display:block}
.al9gc{flex:none;width:132px;background:#fff;border:1.5px solid #e8eaed;border-radius:14px;padding:10px 8px;cursor:pointer;font-family:inherit;color:#1A1A2E;text-align:center}.al9gc .gi{display:block;font-size:22px;line-height:1.1}.al9gc b{display:block;font-size:13px;margin:3px 0 6px;line-height:1.2}.al9gc .gl{display:flex;justify-content:center;margin-bottom:8px}.al9gc .gl img,.al9gc .gl i{width:30px;height:30px;border-radius:50%;object-fit:cover;border:2px solid #fff;margin-left:-8px;background:#fff;box-shadow:0 0 0 1px #e8eaed;font-style:normal;line-height:26px;font-weight:800;color:#E8391D}.al9gc .gl>:first-child{margin-left:0}.al9gc u{display:block;text-decoration:none;background:#E8391D;color:#fff;border-radius:99px;padding:5px 6px;font-size:12px;font-weight:700}
.al9cons{margin:8px 0 0;font-size:12px;line-height:1.4;color:#1A1A2E}.al9cons a{text-decoration:underline;color:#1A1A2E}
@keyframes alup{from{transform:translateY(16px);opacity:.0}to{transform:none;opacity:1}}
.al9,.al9 *{box-sizing:border-box}
.al9{font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang HK","Noto Sans TC",sans-serif;color:#1A1A2E;font-size:14px;line-height:1.5;z-index:60}
.al9 button{font-family:inherit}.al9 a{color:inherit}
.al9hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.al9msg{margin:6px 0 0;min-height:0;font-size:13px;color:#b91c1c}.al9msg:empty{display:none}
.al9ts{flex:1 1 100%}.al9ts:empty{display:none}
.al9.weekly .al9tabs button[data-al=tab-w]{border-color:#E8391D}
.al9tabs button[hidden]{display:none}
.al9tabs:has(button[hidden]){grid-template-columns:1fr}
/* homepage group row (server-rendered in HomePage.astro, uses the same look) */
.al9row{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:12px -4px 8px;padding:2px 4px}
.al9more{background:none;border:0;color:#E8391D;font:700 13.5px inherit;font-family:inherit;cursor:pointer;padding:4px 0}
@media (max-width:699px){.al9{max-height:calc(100vh - 70px);}}

/* sideways rows: arrow buttons (mouse users); hidden on touch-size screens, where swiping works */
.al9sw{position:relative}
.al9arr{display:none;position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:34px;height:34px;border-radius:50%;border:1px solid #e8eaed;background:#fff;color:#1A1A2E;box-shadow:0 2px 8px rgba(0,0,0,.22);cursor:pointer;font:400 22px/30px inherit;font-family:inherit;padding:0;text-align:center;transition:opacity .15s}
.al9arr:hover{background:#f3f4f6}.al9arr:disabled{opacity:0;pointer-events:none}
.al9arrL{left:-14px}.al9arrR{right:-14px}
.al9chips+.al9arrR{right:-12px}.al9arrL+.al9chips{}
@media (min-width:700px){.al9arr{display:block}.al9row{scroll-behavior:smooth}}
