summaryrefslogtreecommitdiff
path: root/frontend/src/styles/mobile.css
blob: a36290cd925874a555ba88d4d3f2b83d58fa6517 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* 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; }
}