    .menu-line {
      width: 100%;
      height: 2px;
      background-color: white;
    }

    .logo {
      display: flex;
      align-items: center;
      color: white;
      font-weight: bold;
      font-size: 14px;
      text-decoration: none;
    }

    .logo::before {
      content: '🍀';
      margin-right: 4px;
      font-size: 16px;
    }

    .blue-banner {
      background: linear-gradient(135deg, #1976d2, #2196f3);
      color: white;
      text-align: center;
      padding: 15px 20px;
      font-size: 20px;
      font-weight: bold;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .lotto-top-title-link {
      color: white;
      text-decoration: none;
      font: inherit;
    }

    .lotto-footer-shell {
      position: fixed;
      left: 50%;
      bottom: var(--lotto-ad-offset, 0px);
      transform: translateX(-50%);
      width: 100%;
      max-width: 480px;
      z-index: 1900;
      pointer-events: none;
      padding: 0 8px 8px;
    }

    .lotto-footer-bar {
      pointer-events: auto;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      align-items: center;
      gap: 4px;
      min-height: 88px;
      padding: 9px 8px calc(9px + env(safe-area-inset-bottom));
      background: rgba(255, 255, 255, 0.98);
      border: 1px solid rgba(203, 213, 225, 0.9);
      border-radius: 24px;
      box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.14), 0 8px 22px rgba(15, 23, 42, 0.08);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }

    .lotto-footer-item {
      border: none;
      background: transparent;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      color: #5b677a;
      font-size: 12px;
      font-weight: 800;
      padding: 7px 2px 6px;
      border-radius: 18px;
      cursor: pointer;
      min-width: 0;
      min-height: 70px;
      transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
      -webkit-tap-highlight-color: transparent;
    }

    .lotto-footer-link {
      text-decoration: none;
    }

    .lotto-footer-item:active {
      transform: translateY(1px);
    }

    .lotto-footer-item.active {
      color: #0f62fe;
      background: linear-gradient(180deg, #eef6ff 0%, #e7f0ff 100%);
      box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.08);
    }

    .lotto-footer-icon {
      width: 36px;
      height: 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 16px;
      background: #f1f5f9;
      color: currentColor;
      transition: background-color 0.16s ease, box-shadow 0.16s ease;
    }

    .lotto-footer-item.active .lotto-footer-icon {
      background: #0f62fe;
      color: #fff;
      box-shadow: 0 8px 16px rgba(15, 98, 254, 0.24);
    }

    .lotto-footer-icon svg {
      width: 25px;
      height: 25px;
    }

    .lotto-footer-label {
      line-height: 1.1;
      letter-spacing: 0;
      white-space: nowrap;
      word-break: keep-all;
    }

    @media (max-width: 390px) {
      .lotto-footer-shell {
        padding-left: 5px;
        padding-right: 5px;
        padding-bottom: 6px;
      }

      .lotto-footer-bar {
        gap: 2px;
        min-height: 84px;
        padding-left: 5px;
        padding-right: 5px;
      }

      .lotto-footer-item {
        font-size: 11px;
        padding-left: 1px;
        padding-right: 1px;
        min-height: 66px;
      }

      .lotto-footer-icon {
        width: 33px;
        height: 33px;
        border-radius: 14px;
      }

      .lotto-footer-icon svg {
        width: 23px;
        height: 23px;
      }
    }

    .lotto-top-wrap {
      width: 100%;
    }

    .lotto-menu-button {
      width: 24px;
      height: 18px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background: transparent;
      border: none;
      padding: 0;
      cursor: pointer;
    }

    .lotto-top-banner {
      display: block;
      width: 100%;
      background: #fff;
      line-height: 0;
    }

    .lotto-top-banner img {
      display: block;
      width: 100%;
      height: auto;
    }

    .lotto-top-drawer {
      position: fixed;
      inset: 0;
      z-index: 2000;
      display: none;
    }

    .lotto-top-drawer.open {
      display: block;
    }

    .lotto-top-drawer__dim {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.42);
    }

    .lotto-top-drawer__panel {
      position: absolute;
      top: 0;
      right: 0;
      width: min(86vw, 360px);
      height: 100%;
      background: #f7f8fa;
      box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
      padding: 0;
      overflow-y: auto;
    }

    .lotto-top-drawer__head {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 10px;
      padding: 16px 16px 14px;
      background: #fff;
      border-bottom: 1px solid #eef1f4;
      position: sticky;
      top: 0;
      z-index: 2;
    }

    .lotto-top-drawer__title {
      font-size: 22px;
      font-weight: 800;
      color: #0f172a;
    }

    .lotto-top-drawer__close {
      border: none;
      background: #f1f5f9;
      width: 34px;
      height: 34px;
      border-radius: 17px;
      font-size: 24px;
      line-height: 1;
      color: #475569;
      cursor: pointer;
    }

    .lotto-top-link {
      display: block;
      width: 100%;
      text-align: center;
      text-decoration: none;
      border-radius: 14px;
      padding: 13px 14px;
      font-size: 14px;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .lotto-top-link.primary {
      background: #1d4ed8;
      color: #fff;
      border: none;
    }

    .lotto-top-link.secondary {
      background: #eff6ff;
      color: #1d4ed8;
      border: none;
    }

    .lotto-top-link.neutral {
      background: #0f172a;
      color: #fff;
    }
    .lotto-menu-list {
      display: grid;
      gap: 0;
      margin-top: 0;
    }
    .lotto-menu-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      text-decoration: none;
      background: transparent;
      border: none;
      border-bottom: 1px solid #eff2f5;
      border-radius: 0;
      padding: 14px 12px;
      color: #0f172a;
    }
    .lotto-menu-item:last-child { border-bottom: none; }
    .lotto-menu-item__left {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }
    .lotto-menu-item__icon {
      width: 28px;
      height: 28px;
      border-radius: 0;
      background: transparent;
      color: #0f172a;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      flex-shrink: 0;
    }
    .lotto-menu-item__icon svg {
      width: 22px;
      height: 22px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.65;
      stroke-linecap: round;
      stroke-linejoin: round;
      vector-effect: non-scaling-stroke;
    }
    .lotto-menu-item__label {
      font-size: 15px;
      font-weight: 500;
      color: #111827;
      letter-spacing: -0.01em;
      line-height: 1.35;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .lotto-menu-item__chev {
      color: #a8afb8;
      font-size: 28px;
      font-weight: 400;
      line-height: 1;
      margin-top: -2px;
    }
    .lotto-menu-group {
      margin-top: 12px;
      margin-bottom: 0;
      font-size: 13px;
      font-weight: 500;
      color: #7b838f;
      letter-spacing: -0.01em;
      padding: 10px 16px 8px;
    }
    .lotto-drawer-section {
      background: #fff;
      border-top: 1px solid #eef1f4;
      border-bottom: 1px solid #eef1f4;
      margin-bottom: 10px;
    }

    .lotto-top-section-title {
      font-size: 13px;
      font-weight: 800;
      color: #475569;
      margin: 16px 0 10px;
    }

    .lotto-login-area {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 16px;
    }

    .lotto-login-btn {
      width: 100%;
      background: #1976d2;
      color: #fff;
      border: none;
      border-radius: 12px;
      padding: 13px 16px;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
    }

    .lotto-user-name {
      font-size: 14px;
      font-weight: 700;
      color: #0f172a;
    }

    .lotto-logout-btn {
      background: #fff;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      padding: 10px 12px;
      font-size: 13px;
      color: #475569;
      cursor: pointer;
    }

    .lotto-social-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 14px;
    }

    .lotto-social-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      border-radius: 14px;
      text-decoration: none;
      font-size: 14px;
      font-weight: 800;
      box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
    }

    .lotto-social-btn.kakao { background: #fee500; color: #191600; }
    .lotto-social-btn.naver { background: #03c75a; color: #fff; }
    .lotto-social-btn.google { background: #ffffff; color: #111827; }
    .lotto-social-btn.facebook { background: #1877f2; color: #fff; }

    .lotto-login-methods {
      display: flex;
      gap: 8px;
      margin-bottom: 14px;
    }

    .lotto-login-method {
      flex: 1;
      border: 1px solid #dbe1ea;
      background: #f8fafc;
      color: #475569;
      border-radius: 12px;
      padding: 10px 12px;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
    }

    .lotto-login-method.active {
      border-color: #1976d2;
      background: #eff6ff;
      color: #1d4ed8;
    }

    .lotto-login-panel {
      display: none;
    }

    .lotto-login-panel.active {
      display: block;
    }

    .lotto-member-box__title {
      font-size: 15px;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 12px;
      text-align: center;
    }

    .lotto-member-help {
      margin-top: 12px;
      font-size: 12px;
      line-height: 1.5;
      color: #64748b;
      text-align: center;
    }

    .lotto-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.5);
      z-index: 3000;
      justify-content: center;
      align-items: center;
      padding: 18px;
      box-sizing: border-box;
    }

    .lotto-modal-overlay.active {
      display: flex;
    }

    .lotto-modal-box {
      width: 100%;
      max-width: 340px;
      background: #fff;
      border-radius: 18px;
      padding: 26px 20px 18px;
      box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
    }

    .lotto-modal-title {
      font-size: 18px;
      font-weight: 800;
      color: #0f172a;
      text-align: center;
      margin-bottom: 18px;
    }

    .lotto-modal-input {
      width: 100%;
      border: 1px solid #dbe1ea;
      border-radius: 12px;
      padding: 12px 14px;
      font-size: 14px;
      margin-bottom: 10px;
      box-sizing: border-box;
      outline: none;
    }

    .lotto-modal-input:focus {
      border-color: #1976d2;
    }

    .lotto-modal-alert {
      min-height: 18px;
      font-size: 12px;
      color: #dc2626;
      margin-bottom: 10px;
      text-align: center;
    }

    .lotto-modal-submit {
      width: 100%;
      border: none;
      border-radius: 12px;
      padding: 12px 14px;
      background: #1976d2;
      color: #fff;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
    }

    .lotto-modal-subtle-btn {
      width: 100%;
      border: 1px solid #bfdbfe;
      border-radius: 12px;
      padding: 11px 14px;
      background: #eff6ff;
      color: #1d4ed8;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      margin-top: 8px;
    }

    .lotto-inline-row {
      display: flex;
      gap: 8px;
      align-items: stretch;
    }

    .lotto-inline-row .lotto-modal-input {
      margin-bottom: 0;
      flex: 1;
    }

    .lotto-inline-action {
      border: none;
      border-radius: 10px;
      background: #334155;
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      min-width: 74px;
      padding: 0 10px;
      cursor: pointer;
    }

    .lotto-id-check-msg {
      min-height: 18px;
      font-size: 12px;
      margin: 6px 2px 10px;
      text-align: left;
      color: #64748b;
    }

    .lotto-modal-close {
      display: block;
      margin-top: 12px;
      text-align: center;
      font-size: 13px;
      font-weight: 700;
      color: #64748b;
      cursor: pointer;
    }

    .lotto-switch { position: relative; display: inline-block; width: 46px; height: 26px; }
    .lotto-switch input { opacity: 0; width: 0; height: 0; }
    .lotto-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #cbd5e1; transition: .3s; border-radius: 26px; }
    .lotto-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .3s; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
    .lotto-switch input:checked + .lotto-slider { background-color: #1d4ed8; }
    .lotto-switch input:checked + .lotto-slider:before { transform: translateX(20px); }
