/* Scoped to the gift feed; existing directory and portrait geometry are untouched. */
#gift-headlines{padding:23px 27px 30px;min-width:0;color:var(--text);background:var(--bg)}
#gift-headlines[hidden]{display:none!important}
#gift-headlines .gh-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}
#gift-headlines .gh-heading>div{min-width:0}
#gift-headlines h1{margin:4px 0 8px;font-size:26px;font-weight:750;letter-spacing:-1.1px;line-height:1.3}
#gift-headlines h1:focus{outline:none}
#gift-headlines .gh-heading p{margin:0;color:var(--muted);font-size:11px;line-height:1.8;word-break:keep-all}
#gift-headlines .gh-heading p .cash-amount{color:var(--text);font-weight:700}
#gift-headlines .gh-demo{flex:none;padding:5px 9px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--muted);font-size:9px;line-height:1.5;white-space:nowrap}
#gift-headlines .gh-feed{min-width:0}
#gift-headlines .gh-feed-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
#gift-headlines .gh-feed-header h2{margin:0;font-size:14px;font-weight:700;letter-spacing:-.4px;line-height:1.5}
#gift-headlines .gh-feed-header h2 span{margin-left:5px;color:var(--accent);font-size:12px;font-variant-numeric:tabular-nums}
#gift-headlines .gh-feed-header p{margin:0;color:var(--muted);font-size:9px;line-height:1.5;white-space:nowrap}
#gift-headlines .gh-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}
#gift-headlines .gh-entry{min-width:0;border:1px solid var(--line);border-radius:var(--radius,9px);background:var(--panel);overflow:hidden}
#gift-headlines .gh-entry:first-child{border-color:color-mix(in srgb,var(--accent) 38%,var(--line));background:linear-gradient(115deg,color-mix(in srgb,var(--accent) 5%,var(--panel)),var(--panel) 65%)}
#gift-headlines .gh-entry article{display:grid;grid-template-columns:minmax(295px,1.5fr) minmax(170px,.8fr) minmax(145px,.65fr);align-items:center;gap:25px;padding:22px 23px}
#gift-headlines .gh-transfer{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);align-items:center;gap:12px;min-width:0}
#gift-headlines .gh-person{min-width:0;display:flex;align-items:center;gap:10px;text-align:left}
#gift-headlines .gh-initial{width:38px;height:44px;display:inline-grid;place-items:center;flex:none;border-radius:9px;border:1px solid color-mix(in srgb,var(--accent) 15%,var(--line));background:color-mix(in srgb,var(--accent) 10%,var(--panel));color:var(--accent);font-size:15px;font-weight:700;line-height:1}
#gift-headlines .gh-person-copy{min-width:0;flex:1}
#gift-headlines .gh-person-copy small{display:block;margin:0 0 4px;font-size:8px;color:var(--muted);line-height:1.5;font-weight:400}
#gift-headlines .gh-person-copy strong{display:block;color:var(--text);font-size:13px;font-weight:700;line-height:1.45;letter-spacing:-.3px;overflow-wrap:anywhere;word-break:keep-all}
#gift-headlines .gh-person img.gh-avatar{width:38px;height:44px;flex:none;object-fit:cover;border-radius:8px}
#gift-headlines .gh-profile{padding:0;border-radius:5px}
#gift-headlines .gh-profile>.icon{width:12px;height:12px;flex:none;color:var(--muted);margin-left:-3px}
#gift-headlines .gh-profile:hover .gh-person-copy strong,#gift-headlines .gh-profile:hover>.icon{color:var(--accent)}
#gift-headlines .gh-transfer-arrow{display:grid;place-items:center;color:var(--muted)}
#gift-headlines .gh-transfer-arrow>.icon{width:17px;height:17px}
#gift-headlines .gh-gift-value{display:flex;align-items:center;gap:12px;min-width:0;border-left:1px solid var(--line);padding-left:22px}
#gift-headlines .gh-gift-value>div{min-width:0}
#gift-headlines .gh-gift-symbol{display:grid;place-items:center;flex:none;width:35px;height:40px;color:var(--accent)}
#gift-headlines .gh-gift-symbol>.icon{width:27px;height:27px;stroke-width:1.4}
#gift-headlines .gh-gift-value h3{margin:0 0 6px;color:var(--muted);font-size:10px;font-weight:500;line-height:1.6;overflow-wrap:anywhere;word-break:keep-all}
#gift-headlines .gh-cash{display:block;font-size:20px;font-weight:750;letter-spacing:-.7px;line-height:1.35}
#gift-headlines .gh-entry-meta{display:flex;align-items:flex-end;flex-direction:column;gap:11px;min-width:0}
#gift-headlines .gh-time{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px 8px;min-width:0;color:var(--muted);font-size:9px;line-height:1.6;font-variant-numeric:tabular-nums}
#gift-headlines .gh-time time{white-space:nowrap}
#gift-headlines .gh-latest{padding:2px 5px;border-radius:3px;background:color-mix(in srgb,var(--accent) 9%,var(--panel));color:var(--accent);font-size:8px;font-weight:700;white-space:nowrap}
#gift-headlines .gh-gift-button,#gift-headlines .gh-discover-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 12px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--text);font-size:10px;font-weight:600;line-height:1.5;white-space:nowrap;transition:color .2s ease,background .2s ease,border-color .2s ease}
#gift-headlines .gh-gift-button>.icon{width:13px;height:13px}
#gift-headlines .gh-gift-button:hover{border-color:var(--accent);color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,var(--panel))}
#gift-headlines .gh-unavailable{font-size:9px;line-height:1.5;color:var(--muted)}
#gift-headlines .gh-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:350px;padding:43px 20px 46px;border:1px solid var(--line);border-radius:var(--radius,9px);background:var(--panel)}
#gift-headlines .gh-empty-icon{display:grid;place-items:center;width:62px;height:62px;margin-bottom:20px;border-radius:19px;background:color-mix(in srgb,var(--accent) 8%,var(--panel));color:var(--accent)}
#gift-headlines .gh-empty-icon>.icon{width:29px;height:29px;stroke-width:1.4}
#gift-headlines .gh-empty h3{margin:0 0 10px;font-size:17px;line-height:1.5;letter-spacing:-.6px;font-weight:700;word-break:keep-all}
#gift-headlines .gh-empty p{margin:0;color:var(--muted);font-size:11px;line-height:1.9;word-break:keep-all}
#gift-headlines .gh-empty p .cash-amount{font-weight:600;color:var(--text)}
#gift-headlines .gh-discover-button{margin-top:24px;background:var(--accent);border-color:var(--accent);color:var(--accent-ink);padding:9px 15px;font-size:11px;min-height:38px}
#gift-headlines .gh-discover-button>.icon{width:14px;height:14px}
#gift-headlines .gh-discover-button:hover{filter:brightness(.96)}
#gift-headlines .gh-note{margin-top:17px;padding:0 2px;color:var(--muted)}
#gift-headlines .gh-note p{margin:0 0 4px;font-size:9px;line-height:1.75;word-break:keep-all}
#gift-headlines button{cursor:pointer}
#gift-headlines button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
#gift-headlines .gh-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1200px){
  #gift-headlines{padding:21px 22px 27px}
  #gift-headlines .gh-entry article{grid-template-columns:minmax(0,1fr) minmax(160px,.6fr);gap:19px 25px;padding:20px}
  #gift-headlines .gh-transfer{grid-column:1;grid-row:1}
  #gift-headlines .gh-gift-value{grid-column:2;grid-row:1;padding-left:17px;gap:8px}
  #gift-headlines .gh-entry-meta{grid-column:1/-1;grid-row:2;flex-direction:row;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px}
  #gift-headlines .gh-time{justify-content:flex-start}
  #gift-headlines .gh-cash{font-size:18px}
}
@media(max-width:960px){
  #gift-headlines .gh-entry article{grid-template-columns:minmax(0,1fr);gap:15px}
  #gift-headlines .gh-gift-value{grid-column:1;grid-row:2;border-left:0;border-top:1px solid var(--line);padding:13px 0 0;gap:9px}
  #gift-headlines .gh-gift-value>div{display:flex;align-items:center;justify-content:space-between;flex:1;gap:10px}
  #gift-headlines .gh-gift-value h3{margin:0;font-size:11px}
  #gift-headlines .gh-entry-meta{grid-row:3;border-top:0;padding-top:0}
}
@media(max-width:760px){
  #gift-headlines{padding:20px 16px 25px}
  #gift-headlines .gh-heading{align-items:flex-start;gap:10px;margin-bottom:24px}
  #gift-headlines .gh-heading .section-eyebrow{font-size:7px;letter-spacing:1.3px;margin-bottom:5px}
  #gift-headlines h1{font-size:23px;letter-spacing:-.9px;margin-bottom:8px}
  #gift-headlines .gh-heading p{font-size:10px;line-height:1.8;max-width:255px}
  #gift-headlines .gh-demo{font-size:7px;padding:4px 6px;margin-top:3px}
  #gift-headlines .gh-feed-header h2{font-size:13px}
  #gift-headlines .gh-feed-header p{font-size:8px}
  #gift-headlines .gh-list{gap:10px}
  #gift-headlines .gh-entry article{padding:16px;gap:13px}
  #gift-headlines .gh-transfer{gap:8px;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr)}
  #gift-headlines .gh-person{gap:8px}
  #gift-headlines .gh-initial,#gift-headlines .gh-person img.gh-avatar{width:31px;height:38px;border-radius:7px;font-size:13px}
  #gift-headlines .gh-person-copy small{font-size:7px;margin-bottom:3px}
  #gift-headlines .gh-person-copy strong{font-size:12px}
  #gift-headlines .gh-profile>.icon{display:none}
  #gift-headlines .gh-transfer-arrow>.icon{width:14px;height:14px}
  #gift-headlines .gh-gift-value{padding-top:12px}
  #gift-headlines .gh-gift-symbol{width:30px;height:32px}
  #gift-headlines .gh-gift-symbol>.icon{width:23px;height:23px}
  #gift-headlines .gh-gift-value h3{font-size:10px}
  #gift-headlines .gh-cash{font-size:18px;letter-spacing:-.5px}
  #gift-headlines .gh-time{font-size:8px;gap:5px}
  #gift-headlines .gh-latest{font-size:7px;padding:2px 4px}
  #gift-headlines .gh-gift-button{min-height:34px;font-size:9px;padding:7px 10px}
  #gift-headlines .gh-empty{min-height:335px;padding:35px 17px 38px}
  #gift-headlines .gh-empty h3{font-size:15px;letter-spacing:-.5px}
  #gift-headlines .gh-empty p{font-size:10px}
  #gift-headlines .gh-note{margin-top:14px}
  #gift-headlines .gh-note p{font-size:8px;word-break:normal}
}
@media(prefers-reduced-motion:reduce){#gift-headlines *{transition:none!important;animation:none!important}}
