    *, *::before, *::after { box-sizing: border-box; }
    html { overflow-x: hidden; }
    body {
      margin: 0;
      padding: 1.5rem;
      overflow-x: hidden;
      background: #f9f9f9;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
    }
    .page-bg {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background-image: var(--all-png-url);
      background-size: cover;
      background-position: center;
      opacity: 0.2;
      pointer-events: none;
      z-index: 0;
    }
    body > *:not(.page-bg):not(.mobile-header):not(.mobile-nav) {
      position: relative;
      z-index: 1;
    }
    .coming-soon-hero {
      position: relative;
      width: 100%;
      max-width: 900px;
      margin: 0 auto 2rem;
      border-radius: 12px;
      overflow: hidden;
    }
    .coming-soon-hero img {
      width: 100%;
      display: block;
    }
    .coming-soon-hero-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      background: rgba(255, 255, 255, 0.85);
      padding: 1.2rem 2.5rem;
      border-radius: 10px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.15);
      white-space: nowrap;
    }
    .coming-soon-hero-title {
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      font-size: 3rem;
      color: #222;
      margin: 0 0 0.4rem;
    }
    .coming-soon-hero-subtitle {
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      font-size: 1.1rem;
      color: #856404;
      margin: 0;
    }
    .warning-bar {
      background: #fff3cd;
      border: 1px solid #ffc107;
      border-radius: 8px;
      text-align: center;
      padding: 0.7rem 1rem;
      margin-bottom: 1.2rem;
      font-size: 1rem;
      color: #856404;
    }
    h1 {
      text-align: center;
      font-size: 2.5rem;
      font-weight: 400;
      color: #222;
      margin: 0 0 1.2rem;
    }

    /* ── Subpage title (e.g. "Your personal page") ── */
    .subpage-title {
      text-align: center;
      font-size: 2.2rem;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      font-weight: 400;
      color: #222;
      margin: 0 auto 1.5rem;
      max-width: 600px;
    }

    /* ── Filter bar ── */
    .filters {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.5rem;
      margin-bottom: 2rem;
      z-index: 10;
    }
    .filters button {
      padding: 0.35rem 0.9rem;
      border: 1.5px solid #bbb;
      border-radius: 20px;
      background: #fff;
      font-family: inherit;
      font-size: 0.82rem;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }
    .filters button.active,
    .filters button:hover {
      background: #222;
      color: #fff;
      border-color: #222;
    }

    /* ── Language switcher ── */
    .lang-switcher {
      display: flex;
      gap: 0.35rem;
      margin-left: 0.4rem;
    }

    /* ── Column ── */
    .grid {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
    }
    .category-header {
      width: 100%;
      max-width: 600px;
      position: relative;
    }
    .category-header img {
      width: 100%;
      border-radius: 10px;
      display: block;
    }
    .subcategory-header {
      width: 100%;
      max-width: 600px;
      text-align: center;
      font-size: 1.65rem;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      color: #333;
      letter-spacing: 0.03em;
      padding: 0.6rem 0 0.3rem;
      border-bottom: 1px solid #333;
    }
    .category-header-name {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      padding: 0.4rem 1.2rem;
      border-radius: 6px;
      font-size: 2.6rem;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      color: #333;
      letter-spacing: 0.03em;
      white-space: nowrap;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    .card {
      width: 100%;
      max-width: 600px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
      position: relative;   /* anchor for .card-number */
      padding-bottom: 14px;
    }
    .card.card-has-note {
      padding-bottom: 0;
    }
    .card-img {
      width: 100%;
      aspect-ratio: 3 / 2;
      position: relative;
      overflow: hidden;
      background: #eee;
      display: block;
      border-radius: 10px 10px 0 0;  /* top corners rounded, card no longer clips */
    }
    .card-img img {
      position: absolute;
      display: block;
    }
    .card-body {
      padding: 1.4rem 1rem 1rem;
      text-align: center;
    }
    .card-text {
      margin: 0 0 0.35rem;
      font-size: 1rem;
      color: #333;
      line-height: 1.4;
    }
    .card-category {
      display: inline-block;
      font-size: 0.72rem;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #888;
    }
    .card-subcategory {
      display: inline-block;
      font-size: 0.72rem;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #bbb;
    }
    .card-subcategory::before {
      content: " · ";
      color: #ccc;
    }
    .card-img-container {
      position: relative;   /* anchor for the badge */
    }
    .card-number {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translate(-50%, 50%);
      background: #fff;
      border: 1.5px solid #ddd;
      border-radius: 999px;
      width: 4.5rem;
      padding: 0.225rem 0;
      text-align: center;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      font-size: 1.125rem;
      font-weight: 600;
      color: #555;
      white-space: nowrap;
      z-index: 1;
      box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    }
    .card-note-anchor {
      position: relative;
      height: 14px;   /* exactly half the button height — button centre sits on card bottom */
    }
    .card-has-note {
      margin-bottom: 0;
    }
    .card-note-btn {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      padding: 0.25rem 0.9rem;
      background: #fff;
      border: 1.5px solid #ccc;
      border-radius: 999px;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      font-size: 0.8rem;
      color: #888;
      cursor: pointer;
      white-space: nowrap;
      box-shadow: 0 1px 3px rgba(0,0,0,0.10);
      transition: border-color 0.15s, color 0.15s;
    }
    .card-note-btn:hover {
      border-color: #888;
      color: #444;
    }
    .card-note {
      display: none;
      margin: 0 0.8rem 0.8rem;
      padding: 0.7rem 1rem;
      background: #f5f5f5;
      border-radius: 8px;
      font-size: 0.88rem;
      color: #444;
      line-height: 1.5;
      text-align: left;
    }
    .card-note.open {
      display: block;
    }
    .card-note-text {
      margin: 0 0 0.6rem;
      text-align: justify;
    }
    .card-note-text:empty {
      display: none;
    }
    .card-note-video {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      margin-top: 0.6rem;
    }
    .card-note-video iframe {
      position: absolute;
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 4px;
    }

    /* ── Introduction ── */
    .contact-section {
      max-width: 600px;
      margin: 0 auto;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
      padding: 1.8rem 2rem;
      font-size: 0.97rem;
      color: #333;
    }
    .contact-section a {
      color: #333;
    }
    .intro-section {
      max-width: 600px;
      margin: 0 auto 2.5rem;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
      padding: 1.8rem 2rem;
      font-size: 0.97rem;
      color: #333;
      line-height: 1.7;
    }
    .intro-section p {
      margin: 0 0 1rem;
      text-align: justify;
    }
    .intro-section p:last-child {
      margin-bottom: 0;
    }
    .intro-section h2 {
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      font-size: 1.1rem;
      color: #222;
      margin: 1.6rem 0 0.5rem;
    }

    .intro-toggle {
      display: block;
      margin: 1rem auto 0;
      background: none;
      border: 1.5px solid #bbb;
      border-radius: 20px;
      padding: 0.3rem 1rem;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      font-size: 0.85rem;
      color: #666;
      cursor: pointer;
    }
    .intro-toggle:hover {
      border-color: #888;
      color: #333;
    }

    /* ── Filter group with subcategory submenu ── */
    .filter-group {
      position: relative;
      display: inline-flex;
      align-items: center;
    }
    .filter-group > button {
      padding: 0.35rem 0.9rem;
      border: 1.5px solid #bbb;
      border-radius: 20px;
      background: #fff;
      font-family: inherit;
      font-size: 0.82rem;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }
    .filter-group > button:hover {
      background: #222;
      color: #fff;
      border-color: #222;
    }
    .filter-submenu {
      display: none;
      position: absolute;
      top: calc(100% + 4px);
      left: 0;
      background: #fff;
      border: 1.5px solid #ddd;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.12);
      z-index: 50;
      min-width: 100%;
      padding: 0.3rem 0;
    }
    .filter-submenu.open { display: block; }
    .filter-submenu button {
      display: block;
      width: 100%;
      padding: 0.4rem 1rem;
      background: none;
      border: none;
      border-bottom: 1px solid #f0f0f0;
      font-family: inherit;
      font-size: 0.8rem;
      color: #333;
      text-align: left;
      cursor: pointer;
      white-space: nowrap;
    }
    .filter-submenu button:last-child { border-bottom: none; }
    .filter-submenu button:hover { background: #f5f5f5; }

    /* ── Mobile nav submenu ── */
    .mobile-nav-cat-expandable {
      display: flex !important;
      justify-content: space-between;
      align-items: center;
    }
    .mobile-nav-arrow {
      font-size: 0.8rem;
      color: #888;
      min-width: 1rem;
      text-align: right;
    }
    .mobile-nav-submenu {
      display: none;
    }
    .mobile-nav-submenu.open { display: block; }
    .mobile-nav-submenu button {
      display: block;
      width: 100%;
      padding: 0.38rem 1.5rem 0.38rem 4rem;
      background: #fafafa;
      border: none;
      border-bottom: 1px solid #f0f0f0;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      font-size: 0.9rem;
      color: #555;
      text-align: left;
      cursor: pointer;
    }
    .mobile-nav-submenu button:last-child { border-bottom: none; }
    .mobile-nav-submenu button:active { background: #f0f0f0; }

    /* ── Bonus section header ── */
    .bonus-header {
      width: 100%;
      max-width: 600px;
      text-align: center;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      font-size: 2rem;
      color: #333;
      letter-spacing: 0.03em;
      padding: 1rem 0 0.5rem;
      border-top: 2px solid #ddd;
      margin-top: 1rem;
    }

    /* ── Layout toggle button ── */
    .layout-toggle {
      display: inline-block;
      margin-left: 1.2rem;
      padding: 0.35rem 1rem;
      border: 1.5px solid #bbb;
      border-radius: 20px;
      background: none;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      font-size: 0.85rem;
      color: #666;
      cursor: pointer;
      vertical-align: middle;
    }
    .layout-toggle:hover {
      border-color: #888;
      color: #333;
    }

    /* ── Text-only card layout ── */
    .card-text-only {
      display: flex;
      flex-direction: row;
      align-items: center;
      width: 100%;
      max-width: 600px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
      padding: 0.7rem 1rem;
      box-sizing: border-box;
    }
    .card-text-only .card-to-number {
      width: 20%;
      flex-shrink: 0;
      align-self: stretch;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Google Sans Flex', 'Nunito', sans-serif;
      font-size: 1.7rem;
      font-weight: 400;
      color: #000;
      border: 1px solid #000;
      border-radius: 10px 0 0 10px;
      box-sizing: border-box;
      margin: -0.7rem 0.7rem -0.7rem -1rem;
      padding: 0.7rem 0.5rem;
    }
    .card-text-only .card-to-text {
      flex: 1;
      font-size: 1rem;
      color: #333;
      line-height: 1.4;
      padding-left: 0.5rem;
    }
    .card-to-note-btn {
      flex-shrink: 0;
      margin-left: 0.5rem;
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1.1rem;
      padding: 0.1rem 0.2rem;
      opacity: 0.55;
      transition: opacity 0.15s;
    }
    .card-to-note-btn:hover { opacity: 1; }
    .card-text-only-wrap {
      width: 100%;
      max-width: 600px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }
    .card-text-only-wrap .card-text-only {
      box-shadow: none;
      border-radius: 10px;
      background: transparent;
    }
    .card-text-only-wrap .card-note {
      display: none;
      margin: 0.8rem;
      border-radius: 8px;
    }
    .card-text-only-wrap .card-note.open {
      display: block;
    }

    /* ── Personal page: one rounded box per category ── */
    .personal-category-group {
      width: 100%;
      max-width: 600px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      background: #FFFAF3;
      border-radius: 16px;
      padding: 1.5rem;
      box-sizing: border-box;
    }

    /* ── Mobile header (hidden on desktop) ── */
    .mobile-header,
    .mobile-nav {
      display: none;
    }

    /* ── Mobile styles ── */
    @media (max-width: 600px) and (orientation: portrait) {
      body {
        padding: 0;
        padding-top: 52px; /* space for fixed header */
      }
      h1 { display: none; }
      .filters { display: none; }
      .subpage-title { font-size: 1.6rem; margin: 1rem auto 1.2rem; padding: 0 1rem; }

      .mobile-header {
        display: flex;
        align-items: center;
        position: fixed;
        top: 0; left: 0; right: 0;
        height: 52px;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0,0,0,0.10);
        z-index: 100;
        padding: 0 1rem;
      }
      .mobile-menu-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.3rem;
        display: flex;
        flex-direction: column;
        gap: 5px;
        flex-shrink: 0;
      }
      .mobile-menu-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: #333;
        border-radius: 2px;
      }
      .mobile-header-title {
        flex: 1;
        text-align: center;
        font-family: 'Google Sans Flex', 'Nunito', sans-serif;
        font-size: 1.1rem;
        color: #222;
        margin: 0;
        padding: 0;
      }

      .mobile-nav {
        display: none;
        position: fixed;
        top: 52px; left: 0;
        max-height: calc(100vh - 52px);
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
        z-index: 999;
        padding: 0.5rem 0;
        width: max-content;
        max-width: calc(100vw - 1rem);
        overflow-y: auto;
      }
      .mobile-nav.open { display: block; }
      .mobile-nav button {
        display: block;
        width: 100%;
        padding: 0.42rem 1.5rem;
        background: none;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        font-family: 'Google Sans Flex', 'Nunito', sans-serif;
        font-size: 1rem;
        color: #333;
        text-align: left;
        cursor: pointer;
      }
      .mobile-nav button:last-child { border-bottom: none; }
      .mobile-nav button:active { background: #f5f5f5; }
      .mobile-nav .lang-switcher {
        padding: 0.6rem 1.5rem;
        margin-left: 0;
        gap: 0.5rem;
      }
      .mobile-nav .lang-switcher button {
        display: inline-block;
        width: auto;
        border: 1.5px solid #ccc;
        border-radius: 20px;
        padding: 0.3rem 0.9rem;
        font-size: 0.85rem;
      }
      .mobile-nav .lang-switcher button.active {
        background: #222;
        color: #fff;
        border-color: #222;
      }
      .mobile-nav-submenu button {
        padding-left: 4rem;
        background: #fafafa;
        color: #555;
        font-size: 0.9rem;
      }
      .mobile-nav-submenu button:active { background: #f0f0f0; }
      .mobile-layout-btn {
        flex-shrink: 0;
        background: none;
        border: 1.5px solid #ccc;
        border-radius: 20px;
        padding: 0.2rem 0.6rem;
        font-family: 'Google Sans Flex', 'Nunito', sans-serif;
        font-size: 0.72rem;
        color: #555;
        cursor: pointer;
        white-space: nowrap;
      }
      .mobile-layout-btn:active { background: #f5f5f5; }

      .grid {
        gap: 1rem;
        padding: 1rem 2%;
      }
      .card {
        max-width: 100%;
        width: 100%;
      }
      .category-header {
        max-width: 100%;
      }
      .subcategory-header {
        max-width: 100%;
      }
      .category-header-name {
        font-size: 1.6rem;
        white-space: normal;
        text-align: center;
        max-width: 80%;
      }
      .card-has-note {
        margin-bottom: 14px;
      }
    }
