/* Shared shop typography, with compact steps and unframed sections. */
#howView.how-view { left: auto; width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 32px 0 56px; transform: none; }
#howView.how-view :is(h2, h3, h4, .how-action) { font-family: "Archivo Shop Display", Arial, sans-serif; font-style: italic; font-weight: 900; letter-spacing: 0; }
#howView.how-view :is(p, small, summary, button, .how-kicker) { font-family: "Golos Text", Arial, sans-serif; letter-spacing: 0; }
#howView.how-view :is(.how-heading, .recharge-how-heading) { position: relative; display: block; min-height: 0; padding: 0; margin: 0 0 24px; border: 0; border-radius: 0; background: none; box-shadow: none; }
#howView.how-view .how-heading > div:first-child { max-width: 820px; }
#howView.how-view :is(.how-heading h2, .recharge-how-heading h3) { margin: 8px 0 12px; font-size: 30px; line-height: 1.15; text-transform: uppercase; max-width: none; }
#howView.how-view .how-kicker { color: var(--brand-accent); font-size: 12px; text-transform: uppercase; margin: 0; }
#howView.how-view :is(.how-heading-subtitle, .recharge-how-heading > p) { color: #bbc0bc; font-size: 14px; line-height: 1.6; max-width: 760px; margin: 0; }
#howView.how-view .how-layout { display: block; }
#howView.how-view .how-card { display: block; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#howView.how-view .how-card-recharge { margin-top: 44px; padding-top: 36px; border-top: 1px solid #ffffff20; }
#howView.how-view :is(.gift-flow, .recharge-flow) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; align-items: stretch; }
#howView.how-view .how-card :is(.gift-step, .recharge-step) { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; min-height: 0; padding: 24px; border: 1px solid #ffffff20; border-radius: 8px; background: #1b201e; text-align: left; box-shadow: none; }
#howView.how-view .how-card :is(.gift-step, .recharge-step)::after { display: none; }
#howView.how-view .how-card :is(.gift-step, .recharge-step) > span { position: static; display: block; order: 0; width: auto; height: auto; padding: 0; margin: 0; background: none; border: 0; color: var(--brand-accent); font: 700 14px/1 "Golos Text", Arial, sans-serif; }
#howView.how-view :is(.gift-step-icon, .recharge-step-icon) { position: absolute; top: 20px; right: 20px; left: auto; width: 24px; height: 24px; margin: 0; color: #c4cbc7; stroke: currentColor; fill: none; stroke-width: 1.6; }
#howView.how-view .how-card :is(.gift-step, .recharge-step) h4 { order: 1; margin: 10px 0 0; font-size: 18px; line-height: 1.3; color: #fff; text-transform: uppercase; }
#howView.how-view .how-card :is(.gift-step, .recharge-step) p { order: 2; margin: 0 !important; padding: 0; font-size: 14px !important; line-height: 1.6; color: #d0d5d1; }
#howView.how-view .recharge-step small { order: 3; font-size: 13px; line-height: 1.5; color: #b8c0ba; }
#howView.how-view .gift-accounts-trigger { order: 3; margin: 4px 0 0; padding: 10px 14px; border: 1px solid #ffffff40; border-radius: 6px; color: #fff; background: transparent; font-size: 13px; cursor: pointer; transition: background .18s, border-color .18s; }
#howView.how-view .gift-accounts-trigger:is(:hover, :active) { color: var(--brand-accent); border-color: var(--brand-accent); background: #292929; transform: none; }
#howView.how-view .how-card .gift-step { padding: 20px; gap: 10px; background: #1e201f; }
#howView.how-view .gift-flow { align-items: stretch; }
#giftAccountsPanel { order: 4; width: 100%; min-width: 0; padding-top: 14px; border-top: 1px solid #ffffff20; color: #fff; }
#giftAccountsPanel[hidden] { display: none; }
#giftAccountsPanel .gift-accounts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
#giftAccountsPanel button { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; width: 100%; min-height: 40px; padding: 6px 4px; border: 1px solid #ffffff30; border-radius: 6px; background: transparent; color: #ddd; cursor: pointer; font-size: 11px; line-height: 1.3; transition: background .18s, color .18s; }
#giftAccountsPanel button:is(:hover, :active) { color: var(--brand-accent); border-color: var(--brand-accent); background: #333; transform: none; }
#giftAccountsPanel button:focus-visible, #howView .gift-accounts-trigger:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 3px; }
#giftAccountsPanel svg { flex-shrink: 0; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#giftAccountsStatus { display: block; min-height: 20px; margin-top: 8px; color: var(--brand-accent); font: 400 12px/20px "Golos Text", Arial, sans-serif; }
#howView.how-view .gift-copy-hint { display: none; }
#howView.how-view :is(.how-section-footer, .recharge-section-footer) { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 0; background: none; border: 0; text-align: left; }
#howView.how-view :is(.how-section-footer, .recharge-section-footer) p { margin: 0; padding: 0; font-size: 13px; color: #bbc0bc; }
#howView.how-view .how-card .how-action { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-width: 210px; min-height: 46px; padding: 12px 18px; border: 0; border-radius: 8px; background: var(--brand-accent); color: #111; font-size: 14px; text-decoration: none; }
#howView.how-view .recharge-video-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px 0 0; margin-top: 28px; border-top: 1px solid #ffffff20; background: none; }
#howView.how-view .recharge-video-section { border-right: 0; border-left: 0; border-bottom: 0; }
#howView.how-view .recharge-video-copy { padding: 0; }
#howView.how-view .recharge-video-copy h4 { font-size: 20px; line-height: 1.3; margin: 10px 0; }
#howView.how-view .recharge-video-copy p { font-size: 13px; color: #bbc0bc; }
#howView.how-view .recharge-video-play { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; margin-top: 12px; padding: 0 14px; border: 1px solid #ffffff55; border-radius: 5px; background: transparent; color: #f4f5f3; font: 700 13px/1.4 "Golos Text", Arial, sans-serif; cursor: pointer; }
#howView.how-view .recharge-video-play:hover, #howView.how-view .recharge-video-play:focus-visible { border-color: var(--brand-accent); color: var(--brand-accent); }
#howView.how-view .recharge-video-play[hidden] { display: none; }
#howView.how-view .recharge-video-frame { border-radius: 8px; overflow: hidden; }
@media (max-width: 760px) {
  #howView.how-view { width: calc(100% - 32px); padding-top: 24px; }
  #howView.how-view .how-heading > div:first-child { padding-right: 0; }
  #howView.how-view :is(.how-heading h2, .recharge-how-heading h3) { font-size: 24px; }
  #howView.how-view :is(.gift-flow, .recharge-flow, .recharge-video-section) { grid-template-columns: minmax(0, 1fr); }
  #howView.how-view .how-card :is(.gift-step, .recharge-step) { padding: 20px; }
  #howView.how-view :is(.how-section-footer, .recharge-section-footer) { flex-direction: column; align-items: stretch; gap: 14px; }
}
