/* 此刻的溫室 v2：卡片截圖＋點開即播（scoped .fo / .fo-sheet / .fo-back / .fo-lb） */
.fo,.fo-sheet,.fo-lb{--g:#16a34a;--g7:#15803d;--g8:#166534;--g50:#f0fdf4;--gm:#ecfdf5;--ink:#0f172a;--mute:#475569;--line:#e2e8f0;--red:#dc2626;--r:18px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Noto Sans TC","Noto Sans CJK TC","Microsoft JhengHei",sans-serif;color:var(--ink)}
.fo *,.fo-sheet *,.fo-lb *{box-sizing:border-box}
.fo{max-width:1200px;margin:0 auto;padding:24px 20px 80px}
.fo .eyebrow{font-size:14px;color:var(--g7);font-weight:700;letter-spacing:.04em}
.fo h1{font-size:clamp(28px,3.4vw,40px);line-height:1.2;margin:4px 0 6px;font-weight:900}
.fo h2{font-size:18px;font-weight:800;margin:0 0 4px}
.fo .lead{color:var(--mute);margin:0 0 12px;font-size:15.5px}
.fo .own{margin:0 0 12px;font-size:14.5px;font-weight:700}
.fo .own a,.fo .adm a{color:var(--g7)}
.fo .fo-chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.fo .chip{flex:none;white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 14px;font-size:14px;font-weight:700;color:var(--mute);min-height:38px;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.fo .chip.on{background:var(--ink);border-color:var(--ink);color:#fff}
.fo .chip .n{opacity:.7;font-weight:500}
.fo .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:16px}
.fo .card{display:block;text-decoration:none;color:inherit;background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.05),0 8px 24px rgba(15,23,42,.06);position:relative;cursor:pointer}
.fo .card:hover{color:inherit}
.fo .card.sel{outline:3px solid var(--g);outline-offset:2px}
.fo .card.hide{display:none}
.fo .th{aspect-ratio:16/9;position:relative;background:#e2e8f0}
.fo .th img{width:100%;height:100%;object-fit:cover;display:block}
.fo .th.dim img{filter:saturate(.55) brightness(.92)}
.fo .tl,.fo-sheet .tl{position:absolute;top:8px;left:8px;display:flex;gap:6px}
.fo .tr,.fo-sheet .tr{position:absolute;top:8px;right:8px}
.fo .live,.fo-sheet .live{display:inline-flex;align-items:center;gap:6px;background:var(--red);color:#fff;font-weight:800;font-size:12px;letter-spacing:.08em;padding:2px 9px;border-radius:999px}
.fo .live i,.fo-sheet .live i{width:6px;height:6px;border-radius:50%;background:#fff;display:inline-block}
.fo .paused,.fo-sheet .paused{display:inline-flex;background:rgba(15,23,42,.72);color:#fff;font-weight:700;font-size:12px;padding:2px 9px;border-radius:999px}
.fo .cap,.fo-sheet .cap{background:rgba(255,255,255,.92);color:#1e293b;font-size:12px;font-weight:700;padding:1px 8px;border-radius:6px}
.fo .when{position:absolute;left:8px;bottom:7px;color:#fff;font-size:12px;font-weight:600;text-shadow:0 1px 3px rgba(0,0,0,.7)}
.fo .when.old{color:#fde68a}
.fo .play{position:absolute;right:8px;bottom:8px;width:36px;height:36px;border-radius:50%;background:rgba(15,23,42,.62);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;padding-left:3px}
.fo .tb{padding:10px 14px 14px}
.fo .nm{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.fo .nm b{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fo .nm span{font-size:13px;color:var(--mute);white-space:nowrap}
.fo .cl{margin-top:6px;font-size:15px;font-weight:700}
.fo .cl em,.fo-sheet .cl em{font-style:normal;color:var(--g7)}
.fo .mini{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.fo .mini span{background:var(--g50);color:var(--g8);border-radius:999px;padding:1px 9px;font-size:12.5px;font-weight:600;white-space:nowrap}
.fo .quiet{margin-top:6px;font-size:14px;color:var(--mute)}
.fo .anote{margin-top:6px;font-size:12px;color:#92400e;background:#fffbeb;border-radius:6px;padding:2px 6px}
.fo .foot{font-size:13px;color:var(--mute);margin-top:18px}
.fo .adm{margin-top:34px;border-top:2px dashed #fcd34d;padding-top:16px}
/* 彈窗 */
.fo-back{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:1040;display:none}
.fo-sheet{position:fixed;z-index:1041;background:#fff;display:none;left:50%;top:50%;transform:translate(-50%,-50%);width:min(920px,calc(100vw - 48px));max-height:calc(100vh - 32px);overflow:auto;border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.35);overscroll-behavior:contain}
body.fo-open{overflow:hidden}
body.fo-open .fo-back,body.fo-open .fo-sheet{display:block}
.fo-sheet .grab{display:none}
.fo-sheet .sh{display:flex;align-items:center;gap:10px;padding:14px 18px}
.fo-sheet .sh b{font-size:19px}
.fo-sheet .sh .d{color:var(--mute);font-size:14px}
.fo-sheet .x,.fo-lb .x{margin-left:auto;width:44px;height:44px;border-radius:50%;border:0;background:#f1f5f9;font-size:20px;color:#334155;display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none}
.fo-sheet .warnbar{background:#fef3c7;color:#92400e;font-weight:700;font-size:13.5px;padding:6px 18px}
.fo-sheet .pl{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden;cursor:pointer}
.fo-sheet .pl img,.fo-sheet .pl video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;background:#000}
.fo-sheet .pl img{object-fit:cover}
.fo-sheet .pl video{opacity:0;transition:opacity .2s}
.fo-sheet .pl.playing video{opacity:1}
.fo-sheet .pl.dim img{filter:saturate(.55) brightness(.9)}
.fo-sheet .pl:fullscreen,.fo-sheet .pl:-webkit-full-screen{aspect-ratio:auto;width:100%;height:100%}
.fo-sheet .pl .tl{top:12px;left:12px;z-index:2}.fo-sheet .pl .tr{top:12px;right:12px;z-index:2}
.fo-sheet .cn{position:absolute;left:12px;bottom:10px;color:#fff;font-weight:700;font-size:14px;text-shadow:0 1px 3px rgba(0,0,0,.7);z-index:2}
.fo-sheet .fs{position:absolute;right:10px;bottom:10px;min-height:40px;border-radius:12px;background:rgba(15,23,42,.66);color:#fff;font-weight:800;font-size:14px;padding:0 12px;display:flex;align-items:center;gap:6px;border:0;z-index:3;cursor:pointer}
.fo-sheet .msg{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(15,23,42,.78);color:#fff;font-weight:800;border:0;border-radius:14px;padding:12px 18px;font-size:15px;z-index:3;cursor:pointer;max-width:86%}
.fo-sheet .spin{position:absolute;left:50%;top:50%;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50%;border:4px solid rgba(255,255,255,.35);border-top-color:#fff;animation:fospin 1s linear infinite;z-index:2}
@keyframes fospin{to{transform:rotate(360deg)}}
.fo-sheet .cams{display:flex;gap:6px;padding:10px 18px 0;overflow-x:auto}
.fo-sheet .cams:empty{display:none}
.fo-sheet .cams button{flex:none;border:1px solid var(--line);background:#fff;border-radius:999px;padding:4px 12px;font-size:13.5px;font-weight:700;color:var(--mute);cursor:pointer}
.fo-sheet .cams button.on{background:var(--ink);border-color:var(--ink);color:#fff}
.fo-sheet .cams button.off{color:#94a3b8;border-style:dashed}
.fo-sheet .sb{padding:14px 18px 18px;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}
.fo-sheet .cl{margin:0;font-size:17px;font-weight:800}
.fo-sheet .note{font-size:13px;color:var(--mute);margin-top:2px}
.fo-sheet .mlinks{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px;font-size:13.5px;font-weight:700}
.fo-sheet .mlinks a{color:var(--g7)}
.fo-sheet .mlinks .raw{color:#92400e;font-weight:600}
.fo-sheet .acts{display:flex;gap:8px;flex-wrap:wrap}
.fo-sheet .btn2{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;border-radius:14px;font-weight:800;text-decoration:none;padding:0 18px;white-space:nowrap;font-size:15.5px;border:0}
.fo-sheet .btn2.pri{background:var(--g7);color:#fff}.fo-sheet .btn2.alt{background:var(--gm);color:var(--g8)}
.fo-lb{position:fixed;inset:0;z-index:1050;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;touch-action:pinch-zoom}
.fo-lb[hidden]{display:none}
.fo-lb img{max-width:100%;max-height:100%;object-fit:contain}
.fo-lb .x{position:absolute;top:12px;right:12px}
@media (max-width:1100px){.fo .grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:860px){.fo .grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:767px){
 .fo-sheet{left:0;right:0;bottom:0;top:auto;transform:none;width:100%;max-height:92vh;border-radius:22px 22px 0 0;padding-bottom:env(safe-area-inset-bottom)}
 .fo-sheet .grab{display:block;width:40px;height:5px;border-radius:9px;background:#cbd5e1;margin:8px auto 0}
 .fo-sheet .sh{padding:6px 14px 10px}
 .fo-sheet .sh b{font-size:18px}
 .fo-sheet .sb{grid-template-columns:1fr;padding:12px 14px 18px;gap:12px}
 .fo-sheet .acts{display:grid;grid-template-columns:1fr 1fr}
 .fo-sheet .cams{padding:10px 14px 0}
}
@media (max-width:575px){
 .fo{padding:14px 14px 60px}
 .fo h1{font-size:28px}
 .fo .lead{font-size:15px;margin-bottom:12px}
 .fo .grid{grid-template-columns:1fr;gap:12px;margin-top:12px}
 .fo .card{display:grid;grid-template-columns:140px 1fr}
 .fo .card .th{aspect-ratio:auto;height:100%;min-height:112px}
 .fo .card .when{font-size:11px;left:6px;bottom:5px}
 .fo .card .play{width:30px;height:30px;font-size:12px;right:6px;bottom:6px}
 .fo .card .tl{top:6px;left:6px}.fo .card .tr{top:6px;right:6px}
 .fo .card .tr .cap{font-size:12px;padding:0 6px}
 .fo .card .tb{padding:9px 12px 11px}
 .fo .card .nm{flex-direction:column;gap:0}
 .fo .card .nm b{font-size:16px;white-space:normal}
 .fo .card .cl{font-size:14px;margin-top:3px}
}
body.fo-open #chatFab{display:none !important}
/* 2026-11-11：非直播卡說明會跳到農場介紹；封面固定 16:9 */
.fo .go{margin-top:4px;font-size:13px;font-weight:700;color:var(--g7)}
.fo .card .th img{object-fit:cover}

.fo .cam-nav,.fo-sheet .cam-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:40px;height:40px;border:0;border-radius:50%;background:rgba(15,23,42,.62);color:#fff;font-size:28px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0 0 3px}
.fo .cam-nav.prev,.fo-sheet .cam-nav.prev{left:6px}
.fo .cam-nav.next,.fo-sheet .cam-nav.next{right:6px}
.fo .cam-idx,.fo-sheet .cam-idx{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);z-index:5;background:rgba(15,23,42,.66);color:#fff;font-size:12px;font-weight:800;padding:2px 10px;border-radius:999px;white-space:nowrap}
.fo .cam-shot,.fo-sheet .cam-shot{position:absolute;right:8px;top:36px;z-index:6;min-height:36px;padding:0 12px;border:0;border-radius:12px;background:#fff;color:#111;font-weight:800;font-size:14px;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.fo .stale{position:absolute;left:8px;bottom:28px;z-index:5;background:#facc15;color:#111;font-size:11px;font-weight:800;padding:2px 8px;border-radius:6px}
.fo .cam-note{font-size:12px;margin-top:4px}
.fo-sheet .pl .fs-exit{display:none;position:absolute;left:50%;bottom:max(16px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:8;min-height:52px;min-width:min(90vw,280px);padding:12px 24px;border:0;border-radius:16px;font-size:18px;font-weight:800;background:#fff;color:#111;box-shadow:0 4px 20px rgba(0,0,0,.4);cursor:pointer}
.fo-sheet .pl.is-fs .fs-exit,.fo-sheet .pl:fullscreen .fs-exit,.fo-sheet .pl:-webkit-full-screen .fs-exit,.fo-sheet .pl.is-css-fs .fs-exit{display:flex;align-items:center;justify-content:center}
.fo-sheet .pl .fs-exit[hidden]{display:none !important}
.fo-sheet .pl.is-css-fs{position:fixed !important;inset:0 !important;z-index:9999;width:100vw !important;height:100dvh !important;aspect-ratio:auto;margin:0;border-radius:0;background:#000}
@media (max-width:860px){
  .fo .cam-nav{width:34px;height:34px;font-size:24px}
  .fo .cam-shot{min-height:32px;font-size:13px;padding:0 10px;top:30px}
}
