/* Home feed cards (Curry 2026-10-01) — shared by the portal Home tab and the /home/ staff
   page. Theme variables come from the page: --line, --line-2, --text, --muted, --accent,
   --open-bg, and --s-panel / --s-input under the dark and synthwave themes. */
.hf-card { background: var(--s-panel, #fff); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; color: var(--text); }
.hf-card.pinned { border-color: var(--accent); }
.hf-card.tap, .hf-head.tap { cursor: pointer; }
.hf-head { display: flex; gap: 10px; align-items: flex-start; }
.hf-ico { font-size: 22px; line-height: 1.1; flex: none; }
.hf-htext { min-width: 0; }
.hf-title { font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.hf-sub, .hf-cmeta { color: var(--muted); font-size: 12px; }
.hf-line { margin-top: 6px; font-size: 13px; }
.hf-link { margin-top: 6px; color: var(--accent); font-weight: 600; font-size: 13px; }
.hf-text { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.hf-strip { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.hf-photo { flex: 0 0 100%; width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 8px; scroll-snap-align: start; cursor: zoom-in; background: var(--line); }
.hf-strip.multi .hf-photo { flex-basis: 88%; }
.hf-react { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.hf-rbtn, .hf-cbtn, .hf-emo { border: 1px solid var(--line-2); background: transparent; color: var(--text); border-radius: 999px; padding: 4px 10px; font-size: 15px; min-height: 34px; cursor: pointer; }
.hf-rbtn.on, .hf-emo.on { border-color: var(--accent); background: var(--open-bg, #eef4f4); }
.hf-rsum { color: var(--muted); font-size: 13px; }
.hf-cbtn { margin-left: auto; font-size: 13px; }
.hf-pick { display: flex; gap: 4px; flex-basis: 100%; }
.hf-emo { font-size: 20px; padding: 4px 8px; }
.hf-tools { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line-2); }
.hf-alert { background: #fdecea; color: #8a1c12; border: 1px solid #f5c2bd; border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; font-weight: 600; font-size: 13px; }
.hf-shift-time { font-size: 20px; font-weight: 800; margin: 2px 0; }
.hf-shift .btn.wide { margin-top: 10px; }
.hf-ok { margin-top: 8px; color: var(--green, #1e7c3d); font-weight: 700; }
.hf-bday, .hf-anniv { background: linear-gradient(135deg, rgba(240, 108, 39, .10), rgba(15, 147, 146, .10)), var(--s-panel, #fff); }
.hf-note { color: var(--muted); text-align: center; padding: 14px 6px; font-size: 13px; }
.hf-note.hf-err { color: var(--text); }
.hf-pull { height: 0; overflow: hidden; text-align: center; color: var(--muted); font-size: 12px; transition: height .15s; }
.hf-pull.armed { height: 28px; line-height: 28px; }
.hf-full { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .92); display: flex; align-items: center; }
.hf-full-strip { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
.hf-full-strip img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.hf-full-x { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.hf-sheet-back { position: fixed; inset: 0; z-index: 900; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; justify-content: center; }
.hf-sheet { background: var(--s-panel, #fff); color: var(--text); width: 100%; max-width: 560px; max-height: 85vh; max-height: 85dvh; border-radius: 14px 14px 0 0; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
.hf-sheet-top { position: relative; padding: 14px 56px 10px 16px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.hf-sheet-x { position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.hf-sheet-body { overflow-y: auto; padding: 8px 16px 12px; }
.hf-comment { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hf-comment.is-hidden { opacity: .6; }
.hf-comment.is-deleted .hf-ctext { text-decoration: line-through; opacity: .6; }
.hf-cname { font-size: 13px; }
.hf-ctext { white-space: pre-wrap; overflow-wrap: anywhere; margin: 2px 0; font-size: 14px; }
.hf-cacts { display: flex; gap: 6px; margin-top: 4px; }
.hf-cform { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; padding-top: 10px; }
.hf-cform textarea { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--s-input, #fff); color: var(--text); resize: none; }
.hf-cform.muted textarea { opacity: .6; }
.hf-cform .hf-note { flex-basis: 100%; padding: 4px 0 0; text-align: left; }
html[data-theme] .hf-alert { background: #3a1a17; color: #ffd7d2; border-color: #6b2a23; }
html[data-theme] .hf-rbtn.on, html[data-theme] .hf-emo.on { background: var(--s-panel-2); border-color: var(--s-accent); }
html[data-theme] .hf-card.pinned { border-color: var(--s-accent); }
html[data-theme] .hf-link { color: var(--s-accent); }
