/* Tablet and small-laptop widths: the 1080px desktop bar cannot fit, so the
   header collapses to brand + language before the content grid changes. */
@media (max-width: 1099px) {
  :root {
    --mobile-gutter: 16px;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  html,
  body {
    width: 100%;
    min-width: 0 !important;
    overflow-x: hidden;
  }
  .pc-wrap,
  .pc-container,
  .wrap {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden;
  }
  /* The fixed 1080px containers must shrink before the phone breakpoint. */
  .w1080,
  .sixone.w1080,
  .welcome-content[data-v-46a06c32],
  .footer-content[data-v-117b81bc] {
    width: min(1080px, calc(100% - 48px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
  .pb[data-v-7ac29dd9] {
    width: min(1080px, calc(100% - 48px)) !important;
    height: auto !important;
    min-height: 88px;
    padding: 14px 20px !important;
  }
  .sixone-content .books[data-v-3756d484] {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px 20px !important;
  }
  .sixone-content .books .book[data-v-3756d484] {
    width: 100% !important;
    margin: 0 !important;
  }
  .sixone-content .books .book .cover[data-v-3756d484] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5;
  }
  .sixone-content .books .book .cover[data-v-3756d484] img {
    width: 100% !important;
    height: 100% !important;
  }
  .head-content[data-v-541f1c68],
  .head-vis[data-v-541f1c68] {
    height: 56px !important;
  }
  .head-center[data-v-541f1c68] {
    width: 100% !important;
    min-width: 0 !important;
    height: 56px !important;
    padding: 0 var(--mobile-gutter) !important;
  }
  .head-center-left[data-v-541f1c68] {
    min-width: 0;
    flex: 1;
  }
  .head-center-left .logo[data-v-541f1c68],
  .head-center-left .logo[data-v-541f1c68] .br-brand {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }
  .head-center-left .bars[data-v-541f1c68],
  .head-center-search[data-v-541f1c68],
  .head-center-right .flowing[data-v-541f1c68] {
    display: none !important;
  }
  .head-center-right[data-v-541f1c68] {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto;
    gap: 4px;
  }
  .head-center-right .switch-language[data-v-541f1c68] {
    margin: 0 !important;
  }
  .head-center-right .switch-language span[data-v-541f1c68] {
    padding-right: 10px;
    font-size: 12px;
    line-height: 40px;
  }
  .head-center-right .switch-language .switch-language__trigger {
    height: 40px;
  }
  .head-center-right .switch-language .arrow {
    width: 10px;
    height: 10px;
  }
  .head-center-right .switch-language .drop-box {
    top: 44px;
  }
  .head-center-right .switch-language .drop-box .arrow-white {
    margin-right: 0;
    margin-left: 0;
  }
  .head-center-right .switch-language .drop-box .drop-items {
    width: 148px;
  }
  .head-center-right .switch-language .drop-box .drop-item {
    max-width: 148px;
    padding: 9px 16px;
  }
}
/* Mobile layout overrides for the static landing page. */
@media (max-width: 767px) {
  :root {
    --mobile-gutter: 16px;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  html,
  body {
    width: 100%;
    min-width: 0 !important;
    overflow-x: hidden;
  }
  body {
    font-size: 14px;
  }
  img {
    max-width: 100%;
  }
  .pc-wrap,
  .pc-container,
  .wrap {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden;
  }
  .w1080,
  .welcome-content[data-v-46a06c32],
  .footer-content[data-v-117b81bc] {
    width: auto !important;
    max-width: none !important;
    margin-right: var(--mobile-gutter) !important;
    margin-left: var(--mobile-gutter) !important;
  }
  /* Earn-by-watching strip. */
  .pb[data-v-7ac29dd9] {
    width: auto !important;
    height: auto !important;
    min-height: 72px;
    margin: 16px var(--mobile-gutter) 20px !important;
    padding: 12px !important;
    gap: 10px;
  }
  .pb-title[data-v-7ac29dd9] {
    display: block !important;
    min-width: 0;
    height: auto;
    flex: 1;
    line-height: 20px;
    text-align: start;
    word-break: normal;
  }
  .pb-title[data-v-7ac29dd9] span {
    display: inline !important;
    margin: 0 2px !important;
    white-space: nowrap;
  }
  .pb-btn[data-v-7ac29dd9] {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 12px !important;
    font-size: 12px;
    line-height: 34px;
    white-space: nowrap;
  }
  /* Section headings and card grids. */
  .title[data-v-ea8fa98a] {
    margin-bottom: 10px !important;
  }
  .title h2[data-v-ea8fa98a] {
    font-size: 20px;
    line-height: 30px;
  }
  .sixone.w1080 {
    width: auto !important;
    margin-right: var(--mobile-gutter) !important;
    margin-left: var(--mobile-gutter) !important;
  }
  .sixone-content[data-v-3756d484] {
    width: auto !important;
  }
  .sixone-content .books[data-v-3756d484] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px !important;
  }
  .sixone-content .books .book[data-v-3756d484] {
    width: 100% !important;
    margin: 0 !important;
  }
  .sixone-content .books .book .cover[data-v-3756d484] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5;
  }
  .sixone-content .books .book .cover[data-v-3756d484] img {
    width: 100% !important;
    height: 100% !important;
  }
  .sixone-content .books .book .book-name[data-v-3756d484] {
    margin-top: 6px;
  }
  /* Narrative block. */
  .welcome[data-v-46a06c32],
  .footer[data-v-117b81bc] {
    min-width: 0 !important;
  }
  .welcome[data-v-46a06c32] {
    padding: 20px var(--mobile-gutter) !important;
  }
  .welcome-content[data-v-46a06c32] {
    margin: 0 !important;
  }
  .welcome-content .title[data-v-46a06c32] {
    font-size: 18px;
    line-height: 27px;
  }
  .welcome-content p[data-v-46a06c32] {
    font-size: 13px;
    line-height: 20px;
  }
  .footer-company[data-v-117b81bc] {
    padding: 0 8px;
    font-size: 12px;
    line-height: 18px;
  }
}
@media (max-width: 374px) {
  :root {
    --mobile-gutter: 12px;
  }
  .pb[data-v-7ac29dd9] {
    gap: 8px;
    padding: 10px !important;
  }
  .pb-btn[data-v-7ac29dd9] {
    padding: 0 10px !important;
  }
  .head-center-right .switch-language span[data-v-541f1c68] {
    font-size: 11px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .sixone-content .books[data-v-3756d484] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 18px !important;
  }
}
