summaryrefslogblamecommitdiff
path: root/frontend/src/styles/mobile.css
blob: 3b2e9c87e01b1a157ed2d3cfddb3af917b136b12 (plain) (tree)






















                                                                         



                                                                           


                                                       
                     

                      


                                                                                                    











                                                                                 



                                                         
 
/* Mobile overrides: relocate CTA to bottom and compact masthead/issue */
@media (max-width: 768px) {
  /* Bottom-fixed CTA bar */
  .cta-area {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
  }
  .cta-left { display: flex; flex-direction: column; gap: 8px; }
  .cta-right { display: flex; }
  .taisho-cta { width: 100%; justify-content: center; transform: none; }

  /* Lift stats higher above CTA (mobile only) */
  .bottom-stats { bottom: calc(280px + env(safe-area-inset-bottom, 0px)); }
  .bottom-stats .rf-stats { padding: 6px 10px; }
  .bottom-stats .rf-stat { font-size: 11px; }

  /* Compact masthead and issue badge */
  .modern-landing-page.manga-style .masthead-vertical {
    padding: 6px 6px;
    border-width: 2px;
  }
  .modern-landing-page.manga-style .masthead-vertical .jp { font-size: 20px; }
  .modern-landing-page.manga-style .masthead-vertical .en { font-size: 8px; letter-spacing: 0.5px; }
  .modern-landing-page.manga-style .issue-badge { padding: 3px 7px; font-size: 10px; gap: 6px; }
  .modern-landing-page.manga-style .issue-badge .led-heart {
    width: 6px;
    height: 6px;
    margin-right: 6px;
  }
  .modern-landing-page.manga-style .issue-badge .led-heart::before,
  .modern-landing-page.manga-style .issue-badge .led-heart::after {
    width: 6px;
    height: 6px;
  }
  .modern-landing-page.manga-style .issue-badge .led-heart::before { top: -3px; }
  .modern-landing-page.manga-style .issue-badge .led-heart::after { left: 3px; }

  .makima-logo { padding: 14px; }
  .makima-list { gap: 4px; }
  .makima-list li { font-size: 12px; line-height: 1.45; }
}