.home-refined .stories-section { width: min(var(--home-width), calc(100% - 2 * var(--home-gutter))); margin-inline: auto; padding-block: 30px; display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 32px; }
.home-refined .stories-heading .eyebrow { text-align: start; direction: ltr; font-size: 13px; color: #7b693e; margin-bottom: 5px; }
.home-refined .stories-heading h2 { margin: 0; font-size: 25px; line-height: 1.4; }
.home-refined .stories-list { display: flex; gap: 26px; margin: 0; padding: 8px 4px 12px; overflow-x: auto; list-style: none; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #b4cbbf transparent; }
.home-refined .stories-list li { flex: 0 0 104px; scroll-snap-align: start; }
.home-refined .story-bubble { display: grid; justify-items: center; gap: 10px; text-align: center; color: #23473e; border-radius: 4px; }
.home-refined .story-cover { display: block; padding: 4px; width: 100px; height: 100px; border: 2px solid #bd9952; border-radius: 50%; background: white; transition: border-color 180ms ease; }
.home-refined .story-cover img { display: block; width: 100%; height: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.home-refined .story-bubble:hover .story-cover { border-color: #176450; }
.home-refined .story-bubble.is-seen .story-cover { border-color: #c4d1cb; }
.home-refined .story-bubble .story-name { font-size: 15px; font-weight: 500; line-height: 1.5; min-height: 23px; }
.home-refined .stories-section + .trust-strip { border-top: 1px solid var(--line); }

.home-refined .story-viewer { width: min(510px, calc(100% - 32px)); height: min(850px, calc(100dvh - 32px)); max-width: none; max-height: none; margin: auto; padding: 0; color: #fff; background: #162321; border: 1px solid #ffffff20; border-radius: 8px; overflow: hidden; overscroll-behavior: contain; }
.home-refined .story-viewer::backdrop { background: #071613e8; }
.home-refined .story-shell { height: 100%; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; }
.home-refined .story-progress { display: flex; gap: 6px; padding: 12px 16px 0; }
.home-refined .story-segment { position: relative; display: block; flex: 1; min-width: 0; height: 22px; padding: 9px 0; border: 0; background: transparent; cursor: pointer; }
.home-refined .story-segment::before, .home-refined .story-segment > span { position: absolute; inset: 9px 0; height: 3px; border-radius: 1px; background: #ffffff4d; }
.home-refined .story-segment::before { content: ''; }
.home-refined .story-segment > span { display: block; background: #e8c582; transform: scaleX(var(--story-fill, 0)); transform-origin: right; }
.home-refined .story-header { display: flex; align-items: center; gap: 8px; padding: 4px 16px 14px; }
.home-refined .story-heading { flex: 1; min-width: 0; }
.home-refined .story-heading h2 { margin: 0; font-size: 19px; line-height: 1.4; color: white; }
.home-refined .story-heading p { margin: 4px 0 0; color: #d4dfda; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.home-refined .story-icon-button { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 0; color: white; background: #ffffff0d; border: 1px solid #ffffff26; border-radius: 50%; cursor: pointer; }
.home-refined .story-icon-button:hover { background: #ffffff20; }
.home-refined .story-icon-button:disabled { opacity: .3; cursor: default; }
.home-refined .story-viewer :is(button, a):focus-visible { outline-color: #f3d29a; outline-offset: 2px; }
.home-refined .story-stage { position: relative; display: grid; min-height: 0; overflow: hidden; background: #101917; touch-action: pan-y pinch-zoom; user-select: none; }
.home-refined .story-media { width: 100%; height: 100%; min-height: 0; }
.home-refined .story-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-refined .story-loading, .home-refined .story-error { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; margin: 0; padding: 24px; text-align: center; background: #101917; color: #e3ebe7; font-size: 16px; }
.home-refined .story-error p { margin: 0; }
.home-refined .story-error button { background: #fff; color: #174b3e; padding: 10px 20px; border: 0; border-radius: 4px; font: inherit; cursor: pointer; }
.home-refined .story-error a { color: #ebcf9b; text-decoration: underline; text-underline-offset: 4px; }
.home-refined .story-footer { padding: 10px 16px 14px; }
.home-refined .story-navigation { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.home-refined .story-navigation p { color: #d6e2db; margin: 0; font-size: 14px; text-align: center; }
.home-refined .story-actions { display: flex; align-items: stretch; gap: 10px; }
.home-refined .story-actions > a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 12px; font-size: 15px; font-weight: 500; line-height: 1.5; text-align: center; border-radius: 4px; }
.home-refined .story-request { flex: 1; gap: 8px; background: #fff; color: #174c3e; }
.home-refined .story-request:hover { background: #eaf3ed; }
.home-refined [data-story-details] { color: white; border: 1px solid #ffffff45; }
.home-refined .story-terms { margin: 9px 0 0; color: #c6d4cb; font-size: 12px; line-height: 1.5; text-align: center; }
@media (max-width: 1150px) {
  .home-refined .stories-section { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-block: 24px; }
  .home-refined .stories-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .home-refined .stories-heading .eyebrow { order: 1; }
  .home-refined .stories-list { gap: 22px; }
}
@media (max-width: 650px) {
  .home-refined .stories-heading h2 { font-size: 22px; }
  .home-refined .stories-list { gap: 14px; }
  .home-refined .stories-list li { flex-basis: 84px; }
  .home-refined .story-cover { width: 80px; height: 80px; padding: 3px; }
  .home-refined .story-bubble .story-name { font-size: 14px; }
  .home-refined .story-viewer { width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .home-refined .story-progress { padding-top: max(10px, env(safe-area-inset-top)); }
  .home-refined .story-footer { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .home-refined .story-header, .home-refined .story-footer { padding-inline: 12px; }
  .home-refined .story-heading h2 { font-size: 17px; }
  .home-refined .story-heading p { font-size: 13px; }
  .home-refined .story-actions > a { font-size: 14px; padding-inline: 8px; }
}
@media (max-height: 500px) and (min-width: 651px) {
  .home-refined .story-viewer { width: min(950px, calc(100% - 24px)); height: calc(100dvh - 24px); }
  .home-refined .story-shell { grid-template-columns: minmax(0, 1fr) 280px; grid-template-rows: auto 1fr auto; }
  .home-refined .story-progress { grid-column: 2; }
  .home-refined .story-header { grid-column: 2; align-self: start; }
  .home-refined .story-stage { grid-column: 1; grid-row: 1 / 4; }
  .home-refined .story-footer { grid-column: 2; }
  .home-refined .story-actions { flex-direction: column; }
}
