
    @import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=SUIT:wght@500;600;700;800;900&display=swap");

    :root {
      --pink: #ff5fa8;
      --pink2: #ff82ba;
      --pink3: #ffd7e9;
      --deep: #7c5b6d;
      --text: #7f6a77;
      --muted: #b28ea2;
      --line: #f2d8e7;
      --line2: #efbcd5;
      --soft: #fff0f7;
      --white: #fff;
      --purple: #caa7ff;
      --shadow: 0 14px 34px rgba(232, 191, 211, 0.15);
      --shadow2: 0 24px 70px rgba(255, 95, 168, 0.18);
      --phone-max-mobile: 430px;
      --safe-top: env(safe-area-inset-top, 0px);
      --safe-bottom: env(safe-area-inset-bottom, 0px);
    }

    * { box-sizing: border-box; }

    html,
    body {
      margin: 0;
      min-height: 100%;
    }

    html {
      background: #fff7fb;
      color: var(--text);
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }

    body {
      min-height: 100vh;
      font-family: SUIT, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, sans-serif;
      color: var(--text);
      line-height: 1.55;
    }

    #bg-layer {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      contain: strict;
      background:
        radial-gradient(circle at 7% 5%, rgba(255, 205, 226, 0.58), transparent 26%),
        radial-gradient(circle at 92% 12%, rgba(227, 211, 255, 0.60), transparent 30%),
        linear-gradient(180deg, #fffafd, #fff7fb);
    }

    button,
    input { font: inherit; }

    button {
      border: 0;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }

    button:disabled { cursor: default; }

    a {
      color: inherit;
      text-decoration: none;
    }

    .hidden { display: none !important; }

    html.profile-title-modal-open,
    body.profile-title-modal-open {
      overflow: hidden !important;
      overscroll-behavior: none;
    }

    p {
      margin: 0;
      color: #8f7183;
      font-size: 14px;
      line-height: 1.72;
      font-weight: 800;
      word-break: keep-all;
    }

    input {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      padding: 13px 14px;
      color: #76586a;
      font-size: 14px;
      font-weight: 900;
      outline: none;
      text-align: center;
    }

    input:focus {
      border-color: var(--line2);
      box-shadow: 0 0 0 4px rgba(255, 130, 186, 0.14);
    }

    .root {
      min-height: 100vh;
      padding: max(8px, var(--safe-top)) 8px calc(12px + var(--safe-bottom));
      display: flex;
      justify-content: center;
      align-items: flex-start;
    }

    .phone {
      width: min(100%, var(--phone-max-mobile));
      min-height: calc(100vh - 28px);
      border-radius: 40px;
      border: 7px solid #ff78b8;
      background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,241,249,.88));
      box-shadow: var(--shadow2);
      padding: 8px;
      position: relative;
    }

    .phone::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 11px;
      transform: translateX(-50%);
      width: 88px;
      height: 21px;
      border-radius: 999px;
      background: rgba(92, 70, 84, 0.72);
      z-index: 4;
    }

    .screen {
      min-height: calc(100vh - 64px);
      border-radius: 29px;
      border: 1px solid rgba(255, 180, 215, 0.78);
      background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,246,251,.95));
      overflow: hidden;
      position: relative;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.78);
    }

    .screen-inner { padding: 24px 10px 14px; }

    .view,
    .page,
    .mini-page,
    .detail-box { display: none; }

    .view.active,
    .page.active,
    .mini-page.active,
    .detail-box.active { display: block; }

    .login-view {
      min-height: calc(100vh - 96px);
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 42px 0 18px;
    }

    .login-card {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 28px;
      background: rgba(255,255,255,.92);
      box-shadow: var(--shadow);
      padding: 24px 18px 22px;
      text-align: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 28px;
      padding: 0 13px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .06em;
      white-space: nowrap;
    }

    .login-title {
      margin: 12px 0 8px;
      font-family: "Cormorant Garamond", serif;
      color: var(--pink);
      font-size: clamp(48px, 14vw, 64px);
      line-height: .86;
      letter-spacing: -.05em;
      font-weight: 700;
    }

    .login-card p {
      font-size: 13px;
      line-height: 1.62;
    }

    .form {
      display: grid;
      gap: 9px;
      margin-top: 18px;
    }

    .btn {
      min-height: 44px;
      border-radius: 999px;
      padding: 0 16px;
      font-size: 14px;
      font-weight: 900;
    }

    .primary {
      color: #fff;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 9px 18px rgba(255,95,168,.20);
    }

    .sub {
      color: #d77ca7;
      background: #fff;
      border: 1px solid var(--line2);
    }

    .help-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .msg,
    .toast {
      display: none;
      margin-top: 12px;
      padding: 12px;
      border-radius: 18px;
      background: #fff8ef;
      border: 1px solid #f4d7c5;
      color: #bc7138;
      font-size: 13px;
      line-height: 1.6;
      font-weight: 900;
      text-align: left;
      word-break: keep-all;
    }

    .msg.show,
    .toast.show { display: block; }

    .statusbar {
      min-height: 26px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      color: #b3839b;
      font-size: 12px;
      font-weight: 900;
      padding: 0 2px 6px;
      white-space: nowrap;
    }

    .statusbar span {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .top-actions {
      display: flex;
      gap: 7px;
      margin-bottom: 10px;
    }

    .top-actions a,
    .top-actions button {
      flex: 1;
      min-height: 36px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 12px;
      font-weight: 900;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .header {
      margin-bottom: 12px;
      padding: 16px 16px 15px;
      border: 1px solid var(--line);
      border-radius: 26px;
      background:
        radial-gradient(circle at 90% 10%, rgba(202,167,255,.2), transparent 24%),
        linear-gradient(135deg, #fff5fb, #fff, #f8f0ff);
      box-shadow: var(--shadow);
    }

    .header h1 {
      margin: 7px 0 5px;
      color: var(--pink);
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(38px, 11vw, 44px);
      line-height: .9;
      letter-spacing: -.04em;
      font-weight: 700;
    }

    .header p {
      font-size: 12px;
      line-height: 1.58;
    }

    .tabs {
      position: sticky;
      top: 0;
      z-index: 20;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
      margin-bottom: 12px;
      padding: 7px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: rgba(255,255,255,.88);
      backdrop-filter: blur(10px);
    }

    .tab {
      position: relative;
      min-height: 39px;
      border: 1px solid var(--line);
      border-radius: 15px;
      background: #fff;
      color: #9f748d;
      font-size: 11.5px;
      line-height: 1.2;
      font-weight: 900;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .tab.active {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 10px 20px rgba(255,95,168,.18);
    }

    .badge {
      position: absolute;
      right: 5px;
      top: 4px;
      min-width: 18px;
      height: 18px;
      padding: 0 5px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: #ff3d8f;
      color: #fff;
      font-size: 8.5px;
      font-weight: 900;
      line-height: 1;
    }

    .kawaii-home {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 28px;
      background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,248,252,.92));
      box-shadow: var(--shadow);
      padding: 14px;
    }

    .kawaii-home::before,
    .kawaii-home::after {
      content: "";
      position: absolute;
      left: 18px;
      right: 18px;
      height: 18px;
      opacity: .45;
      background: radial-gradient(circle at 9px 0, #ffc2dc 0 8px, transparent 9px) 0 0 / 28px 18px repeat-x;
      pointer-events: none;
    }

    .kawaii-home::before { top: 0; }
    .kawaii-home::after { bottom: 0; transform: rotate(180deg); }

    .clock-card {
      position: relative;
      border-radius: 26px;
      border: 1px solid #f5d2e3;
      background:
        radial-gradient(circle at 88% 18%, rgba(255,255,255,.75), transparent 21%),
        linear-gradient(135deg, #fff, #fff5fb 55%, #f5edff);
      padding: 21px 18px 18px;
      min-height: 136px;
      display: grid;
      align-items: center;
      margin-bottom: 10px;
    }

    .clock-card::before {
      content: "🎀";
      position: absolute;
      top: -9px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 34px;
      filter: drop-shadow(0 6px 8px rgba(255,95,168,.14));
    }

    .clock-eyebrow {
      color: #d77ca7;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .08em;
      margin-bottom: 6px;
    }

    .time {
      color: #ff67ac;
      font-size: clamp(44px, 14vw, 56px);
      line-height: .9;
      font-weight: 900;
      letter-spacing: -.04em;
      white-space: nowrap;
    }

    .date {
      margin-top: 7px;
      color: #b894a7;
      font-size: 13px;
      font-weight: 900;
      letter-spacing: .08em;
      white-space: nowrap;
    }

    .copy {
      margin-top: 7px;
      color: #7c5b6d;
      font-size: 12.5px;
      font-weight: 900;
      line-height: 1.5;
    }

    .search {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 10px 0 12px;
      padding: 0 13px;
      min-height: 38px;
      border: 1px solid #f4d2e3;
      border-radius: 999px;
      background: rgba(255,255,255,.86);
      color: #b98aa2;
      font-size: 12.5px;
      font-weight: 900;
      text-align: left;
    }

    .search span:last-child {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .home-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 9px;
      margin-bottom: 12px;
    }

    .home-card {
      position: relative;
      border: 1px solid #f3d2e3;
      border-radius: 22px;
      background: #fff;
      padding: 13px 13px 13px 58px;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
      overflow: hidden;
    }

    .home-card.no-icon { padding-left: 13px; }

    .home-card-icon {
      position: absolute;
      left: 13px;
      top: 14px;
      width: 36px;
      height: 36px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, #fff0f7, #f8f0ff);
      color: #d77ca7;
      font-style: normal;
      font-size: 19px;
      border: 1px solid #f3d2e3;
    }

    .home-card small,
    .summary-card small,
    .profile-stat small {
      display: block;
      color: #b5869c;
      font-size: 11.5px;
      font-weight: 900;
      letter-spacing: .02em;
    }

    .home-card b {
      display: block;
      margin-top: 4px;
      color: #715269;
      font-size: 17px;
      line-height: 1.22;
      font-weight: 900;
      word-break: keep-all;
    }

    .home-card span {
      display: block;
      margin-top: 6px;
      color: #8d6b7d;
      font-size: 12px;
      line-height: 1.48;
      font-weight: 800;
      word-break: keep-all;
    }

    .home-card.pass b {
      color: var(--pink);
      font-size: 31px;
      letter-spacing: .06em;
      line-height: 1;
    }

    .widget-link,
    .outline-pill {
      min-height: 32px;
      margin-top: 9px;
      padding: 0 11px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 11.5px;
      font-weight: 900;
    }

    .launch-card {
      border: 1px solid #f3d2e3;
      border-radius: 26px;
      background: rgba(255,255,255,.86);
      box-shadow: var(--shadow);
      padding: 14px;
      margin-top: 10px;
    }

    .launch-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 11px;
    }

    .launch-head h2 {
      margin: 0;
      color: #d77ca7;
      font-size: 20px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: -.03em;
    }

    .icon-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 9px;
    }

    .app-icon {
      position: relative;
      min-height: 92px;
      border: 1px solid var(--line);
      border-radius: 21px;
      background: #fff;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
      color: #7f5f72;
      font-size: 12.5px;
      font-weight: 900;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 7px;
      text-align: center;
      overflow: hidden;
    }

    .app-icon i {
      width: 48px;
      height: 48px;
      border-radius: 17px;
      display: grid;
      place-items: center;
      background: linear-gradient(180deg, #ffc4df, #ffddeb);
      border: 1px solid #f4b8d2;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 20px rgba(255,95,168,.13);
      font-style: normal;
      font-size: 23px;
    }

    .mini {
      position: absolute;
      right: 7px;
      top: 7px;
      min-height: 20px;
      padding: 0 6px;
      display: flex;
      align-items: center;
      border-radius: 999px;
      background: #ff3d8f;
      color: #fff;
      font-size: 9.5px;
      font-weight: 900;
    }

    .placeholder,
    .module-card {
      border: 1px solid var(--line);
      border-radius: 28px;
      background: rgba(255,255,255,.9);
      box-shadow: var(--shadow);
      padding: 16px;
      margin-bottom: 12px;
    }

    .placeholder h2,
    .module-card h2 {
      margin: 0 0 8px;
      color: #d77ca7;
      font-size: 24px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: -.03em;
    }

    .placeholder p,
    .module-card > p {
      font-size: 13px;
      line-height: 1.65;
    }

    .mini-tabs {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin: 12px 0;
    }

    .mini-tab {
      min-height: 40px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .mini-tab.active {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .ticket-card {
      position: relative;
      overflow: hidden;
      border-radius: 28px;
      color: #fff;
      background:
        radial-gradient(circle at 95% 0%, rgba(255,255,255,.42), transparent 28%),
        linear-gradient(135deg, #ff7eb3, #ff5fa8 58%, #caa7ff);
      box-shadow: 0 15px 32px rgba(255,95,168,.22);
      margin-bottom: 12px;
    }

    .ticket-card.soft {
      color: var(--deep);
      background:
        radial-gradient(circle at 92% 8%, rgba(255,255,255,.55), transparent 24%),
        linear-gradient(135deg, #fff3fa, #ffd9e8 46%, #f5edff 100%);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .ticket-card.birthday {
      color: var(--deep);
      background:
        radial-gradient(circle at 90% 8%, rgba(255,255,255,.50), transparent 24%),
        linear-gradient(135deg, #ffd9e8, #ff8cc5 48%, #ffe6a9 100%);
      box-shadow: 0 15px 32px rgba(255, 140, 197, .18);
    }

    .ticket-card::before,
    .ticket-card::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: #fff7fb;
      transform: translateY(-50%);
      z-index: 2;
    }

    .ticket-card::before { left: -17px; }
    .ticket-card::after { right: -17px; }

    .ticket-inner {
      position: relative;
      z-index: 3;
      margin: 11px;
      border: 2px dotted rgba(255,255,255,.52);
      border-radius: 22px;
      padding: 18px;
    }

    .ticket-card.soft .ticket-inner { border-color: rgba(210,105,166,.24); }
    .ticket-card.birthday .ticket-inner { border-color: rgba(124,91,109,.24); }

    .ticket-kicker {
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .12em;
      opacity: .88;
    }

    .ticket-title {
      margin-top: 7px;
      font-size: 24px;
      font-weight: 900;
      line-height: 1.12;
      letter-spacing: -.03em;
      word-break: keep-all;
    }

    .ticket-sub {
      margin-top: 6px;
      font-size: 12px;
      line-height: 1.5;
      font-weight: 900;
      opacity: .86;
      word-break: keep-all;
    }

    .ticket-number {
      margin: 14px 0 10px;
      padding: 13px;
      border-radius: 18px;
      background: rgba(255,255,255,.18);
      text-align: center;
    }

    .ticket-card.soft .ticket-number { background: rgba(255,255,255,.50); }
    .ticket-card.birthday .ticket-number { background: rgba(255,255,255,.42); }

    .ticket-number small {
      display: block;
      font-size: 11px;
      font-weight: 900;
      opacity: .82;
    }

    .ticket-number strong {
      display: block;
      margin-top: 3px;
      font-size: 44px;
      line-height: 1;
      letter-spacing: .10em;
      font-weight: 900;
    }

    .ticket-meta {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .ticket-cell {
      min-height: 44px;
      padding: 8px 10px;
      border-radius: 14px;
      background: rgba(255,255,255,.16);
    }

    .ticket-card.soft .ticket-cell { background: rgba(255,255,255,.52); }
    .ticket-card.birthday .ticket-cell { background: rgba(255,255,255,.36); }

    .ticket-cell small {
      display: block;
      font-size: 10px;
      opacity: .78;
      font-weight: 900;
    }

    .ticket-cell b {
      display: block;
      margin-top: 2px;
      font-size: 12px;
      line-height: 1.35;
      font-weight: 900;
      word-break: keep-all;
    }


    /* Ticket current card: old LUMI PASS inspired design */
    .ticket-card.lumi-pass {
      color: #76586a;
      background:
        linear-gradient(135deg, #fff, #fff4fa 58%, #f4ebff);
      border: 1px solid #f2bfd7;
      box-shadow: 0 18px 38px rgba(255,95,168,.18);
    }

    .ticket-card.lumi-pass::before,
    .ticket-card.lumi-pass::after {
      background: #fff7fb;
    }

    .ticket-card.lumi-pass .ticket-inner {
      position: relative;
      margin: 13px;
      border: 2px dashed #f2b6d2;
      background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,247,251,.66));
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.9);
    }

    .ticket-card.lumi-pass .ticket-inner::before {
      content: none;
      display: none;
    }

    .lumi-pass-top {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
      margin-top: 9px;
    }

    .lumi-pass-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 32px;
      padding: 0 12px;
      border: 1px solid #efbcd5;
      border-radius: 999px;
      background: #fffafd;
      color: #c7779a;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .08em;
    }

    .lumi-pass-date {
      text-align: right;
      color: #b8869d;
      font-size: 12px;
      line-height: 1.35;
      font-weight: 900;
    }

    .lumi-pass-title {
      margin: 16px 0 4px;
      color: #d879a5;
      font-family: "Cormorant Garamond", serif;
      font-size: 46px;
      line-height: .88;
      font-weight: 700;
      letter-spacing: -.035em;
    }

    .lumi-pass-sub {
      color: #76586a;
      font-size: 20px;
      font-weight: 900;
      line-height: 1.35;
      word-break: keep-all;
    }

    .lumi-pass-place {
      margin-top: 7px;
      color: #9a7187;
      font-size: 13px;
      line-height: 1.45;
      font-weight: 850;
    }

    .lumi-entry-box {
      margin: 16px 0 12px;
      border-radius: 24px;
      background: linear-gradient(135deg, #ffedf6, #fff, #f7efff);
      border: 1px solid #f2c5da;
      padding: 16px;
      text-align: center;
    }

    .lumi-entry-box small {
      display: block;
      color: #b28ea2;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .10em;
    }

    .lumi-entry-box strong {
      display: block;
      margin-top: 4px;
      color: #ef6ca8;
      font-size: 58px;
      line-height: 1;
      letter-spacing: .14em;
      font-weight: 900;
    }

    .ticket-card.lumi-pass .ticket-meta {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ticket-card.lumi-pass .ticket-cell {
      background: #fff;
      border: 1px solid #f3d2e3;
      color: #76586a;
      min-height: 58px;
    }

    .ticket-card.lumi-pass .ticket-cell small {
      color: #c184a3;
      opacity: 1;
    }

    .ticket-card.lumi-pass .ticket-cell b {
      color: #76586a;
    }

    @media (max-width: 430px) {
      .lumi-pass-top {
        display: block;
      }

      .lumi-pass-date {
        text-align: left;
        margin-top: 8px;
      }

      .lumi-pass-title {
        font-size: 40px;
      }

      .lumi-pass-sub {
        font-size: 18px;
      }

      .lumi-entry-box strong {
        font-size: 48px;
      }
    }

    .status-chip,
    .pill {
      display: inline-flex;
      align-items: center;
      min-height: 26px;
      padding: 0 10px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--line2);
      color: #d77ca7;
      font-size: 11px;
      font-weight: 900;
      margin: 5px 5px 0 0;
      white-space: nowrap;
    }

    .ticket-list,
    .mail-list,
    .record-list,
    .guide-list,
    .stack-list { display: grid; gap: 10px; }

    .plain-row {
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fff;
      padding: 14px;
    }

    .plain-row b {
      display: block;
      color: #76586a;
      font-size: 15px;
      line-height: 1.35;
      font-weight: 900;
      word-break: keep-all;
    }

    .plain-row span {
      display: block;
      margin-top: 5px;
      color: #9a7187;
      font-size: 12px;
      line-height: 1.55;
      font-weight: 800;
      word-break: keep-all;
    }

    .mail-item {
      position: relative;
      width: 100%;
      min-height: 78px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 12px;
      display: grid;
      grid-template-columns: 42px 1fr 22px;
      gap: 10px;
      align-items: center;
      text-align: left;
      color: inherit;
    }

    .mail-item .icon,
    .list-icon {
      width: 42px;
      height: 42px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: #fff0f7;
      color: #d77ca7;
      font-size: 20px;
      border: 1px solid var(--line);
      flex: 0 0 auto;
      align-self: center;
    }

    .mail-item b {
      display: block;
      color: #76586a;
      font-size: 14px;
      line-height: 1.35;
      font-weight: 900;
    }

    .mail-item span {
      display: block;
      margin-top: 4px;
      color: #b28ea2;
      font-size: 11.5px;
      line-height: 1.35;
      font-weight: 800;
    }

    .mail-item .arrow {
      color: #d77ca7;
      font-size: 18px;
      font-weight: 900;
    }

    .mail-dot {
      position: absolute;
      left: 10px;
      top: 9px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #ff3d8f;
    }

    .detail-box {
      margin-top: 12px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fffafd;
      padding: 16px;
    }

    .detail-box h3 {
      margin: 0 0 8px;
      color: #d77ca7;
      font-size: 18px;
      line-height: 1.25;
      font-weight: 900;
    }

    .detail-box p {
      font-size: 13px;
      line-height: 1.75;
      font-weight: 800;
    }

    .mail-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 14px;
    }

    .mail-action-btn {
      min-height: 38px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .mail-action-btn.primary-look {
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      color: #fff;
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .mail-action-btn:disabled { opacity: .78; }

    .message-phone {
      display: grid;
      gap: 10px;
      margin-top: 14px;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 26px;
      background: linear-gradient(180deg, #fffafd, #fff0f7);
    }

    .bubble {
      max-width: 92%;
      padding: 12px 14px;
      border-radius: 20px;
      background: #fff;
      border: 1px solid var(--line);
      color: #76586a;
      font-size: 13px;
      line-height: 1.6;
      font-weight: 850;
      box-shadow: 0 8px 16px rgba(232,191,211,.10);
      word-break: keep-all;
    }

    .bubble.from { justify-self: start; border-bottom-left-radius: 8px; }
    .bubble.to {
      justify-self: end;
      border-bottom-right-radius: 8px;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      color: #fff;
      border-color: transparent;
    }

    .summary-grid,
    .point-grid,
    .profile-stat-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
      margin: 12px 0;
    }

    .summary-card,
    .profile-stat {
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fff;
      padding: 13px;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
    }

    .summary-card b,
    .profile-stat b {
      display: block;
      margin-top: 4px;
      color: var(--pink);
      font-size: 24px;
      line-height: 1;
      font-weight: 900;
    }

    .summary-card span {
      display: block;
      margin-top: 7px;
      color: #8d6b7d;
      font-size: 11.5px;
      line-height: 1.45;
      font-weight: 800;
      word-break: keep-all;
    }

    .record-hero {
      border: 1px solid var(--line);
      border-radius: 24px;
      background: linear-gradient(135deg, #fff, #fff0f7 70%, #f8f0ff);
      padding: 16px;
      margin: 12px 0;
    }

    .record-hero small {
      display: block;
      color: #b5869c;
      font-size: 12px;
      font-weight: 900;
    }

    .record-hero b {
      display: block;
      margin-top: 4px;
      color: var(--pink);
      font-size: 42px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: -.03em;
    }

    .record-hero span {
      display: block;
      margin-top: 8px;
      color: #8d6b7d;
      font-size: 12.5px;
      line-height: 1.45;
      font-weight: 900;
      word-break: keep-all;
    }

    .filter-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin: 12px 0;
    }

    .month-row {
      display: grid;
      grid-template-columns: 44px 1fr 44px;
      align-items: center;
      gap: 8px;
      margin: 12px 0;
    }

    .month-btn {
      width: 42px;
      height: 42px;
      border: 1px solid var(--line2);
      border-radius: 50%;
      background: #fff;
      color: #d77ca7;
      font-size: 18px;
      font-weight: 900;
    }

    .month-title {
      text-align: center;
      color: #76586a;
      font-size: 17px;
      font-weight: 900;
    }

    .record-compact-list {
      display: grid;
      gap: 10px;
      margin-top: 12px;
    }

    .record-card {
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 14px;
      display: grid;
      grid-template-columns: 46px 1fr;
      gap: 12px;
      align-items: flex-start;
    }

    .record-card-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, #ff82ba, #ff5fa8);
      color: #fff;
      font-size: 20px;
      box-shadow: 0 8px 16px rgba(255,95,168,.14);
    }

    .record-card time,
    .record-card small {
      display: block;
      color: #b5869c;
      font-size: 11px;
      line-height: 1.3;
      font-weight: 900;
    }

    .record-card b {
      display: block;
      margin-top: 4px;
      color: #76586a;
      font-size: 15px;
      line-height: 1.32;
      font-weight: 900;
      word-break: keep-all;
    }

    .record-card span {
      display: block;
      margin-top: 5px;
      color: #9a7187;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 800;
      word-break: keep-all;
    }

    .stamp-status {
      border: 1px solid var(--line);
      border-radius: 24px;
      background: linear-gradient(135deg, #fff, #fff0f7 62%, #f8f0ff);
      padding: 15px;
      margin: 12px 0;
    }

    .stamp-status small {
      display: block;
      color: #b5869c;
      font-size: 11.5px;
      font-weight: 900;
    }

    .stamp-status b {
      display: block;
      margin-top: 5px;
      color: var(--pink);
      font-size: 28px;
      line-height: 1;
      font-weight: 900;
    }

    .stamp-status span {
      display: block;
      margin-top: 8px;
      color: #8d6b7d;
      font-size: 12px;
      line-height: 1.55;
      font-weight: 800;
    }

    .stamp-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 8px;
      margin: 12px 0;
    }

    .stamp-cell {
      aspect-ratio: 1;
      border: 2px solid #f0cddd;
      border-radius: 50%;
      background: #fff;
      display: grid;
      place-items: center;
      color: #efc3d7;
      font-size: 15px;
      font-weight: 900;
    }

    .stamp-cell.done {
      border-color: transparent;
      background: linear-gradient(135deg, #ff82ba, #ff5fa8);
      color: #fff;
      box-shadow: 0 8px 16px rgba(255,95,168,.16);
    }

    .code-box {
      display: grid;
      gap: 9px;
      margin-top: 12px;
    }

    .code-box label {
      color: #b07693;
      font-size: 12px;
      font-weight: 900;
      padding-left: 2px;
    }

    .code-box input { text-align: left; }

    .disabled-note-btn {
      min-height: 42px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 12px;
      font-weight: 900;
    }

    .guide-card {
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 16px;
    }

    .guide-card h3 {
      margin: 0 0 8px;
      color: #d77ca7;
      font-size: 18px;
      line-height: 1.25;
      font-weight: 900;
    }

    .guide-card p,
    .guide-card li {
      color: #8f7183;
      font-size: 13px;
      line-height: 1.7;
      font-weight: 800;
      word-break: keep-all;
    }

    .guide-card ul {
      margin: 10px 0 0;
      padding-left: 20px;
    }

    /* Message inbox v10.6: list first, ON AIR direct detail */
    .message-inbox-list {
      display: grid;
      gap: 10px;
      margin-top: 14px;
    }

    .message-preview-card {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 13px;
      display: grid;
      grid-template-columns: 46px minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      text-align: left;
      color: #76586a;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
    }

    .message-preview-icon {
      width: 46px;
      height: 46px;
      border-radius: 17px;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, #fff0f7, #f8f0ff);
      border: 1px solid var(--line);
      font-size: 21px;
    }

    .message-preview-card b {
      display: block;
      color: #76586a;
      font-size: 14.5px;
      line-height: 1.35;
      font-weight: 900;
      word-break: keep-all;
    }

    .message-preview-card span {
      display: block;
      margin-top: 4px;
      color: #9a7187;
      font-size: 11.5px;
      line-height: 1.45;
      font-weight: 800;
      word-break: keep-all;
    }

    .message-preview-chip {
      min-height: 26px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 9px;
      border-radius: 999px;
      background: #ff3d8f;
      color: #fff;
      font-size: 10px;
      font-weight: 900;
      white-space: nowrap;
    }

    .message-detail-head {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 10px;
      align-items: center;
      margin-top: 13px;
      margin-bottom: 10px;
    }

    .message-back-btn {
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 11.5px;
      font-weight: 900;
      white-space: nowrap;
    }

    .message-detail-title b {
      display: block;
      color: #76586a;
      font-size: 14.5px;
      line-height: 1.3;
      font-weight: 900;
      word-break: keep-all;
    }

    .message-detail-title span {
      display: block;
      margin-top: 3px;
      color: #9a7187;
      font-size: 11.5px;
      line-height: 1.35;
      font-weight: 800;
      word-break: keep-all;
    }

    .message-save-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      margin-top: 10px;
    }

    .message-save-row button {
      min-height: 38px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 12px;
      font-weight: 900;
    }

    .message-save-row button.saved {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
    }


    /* Profile: mobile-first Twitter-like layout */
    .profile-shell {
      display: grid;
      gap: 10px;
    }

    .profile-card {
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 30px;
      background: #fff;
      box-shadow: var(--shadow);
    }

    .profile-cover {
      position: relative;
      min-height: 140px;
      background:
        radial-gradient(circle at 15% 52%, rgba(255,255,255,.75), transparent 19%),
        radial-gradient(circle at 78% 22%, rgba(202,167,255,.44), transparent 28%),
        linear-gradient(135deg, #ffd0e7 0%, #ff8fc2 44%, #e9d8ff 100%);
      overflow: hidden;
    }

    .profile-cover::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(255,255,255,.16), transparent 36%, rgba(255,255,255,.12)),
        radial-gradient(circle at 35% 85%, rgba(255,255,255,.26), transparent 22%);
      opacity: .78;
      pointer-events: none;
    }

    .profile-cover img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: var(--pos-x, 50%) var(--pos-y, 50%);
      transform: scale(var(--scale, 1));
      transform-origin: var(--pos-x, 50%) var(--pos-y, 50%);
      display: block;
      z-index: 0;
    }

    .profile-cover.has-image {
      background: #fff7fb;
    }

    .profile-cover.has-image::before {
      content: none;
    }

    .profile-cover-chip-removed {
      position: absolute;
      right: 11px;
      top: 11px;
      z-index: 1;
      min-height: 30px;
      display: inline-flex;
      align-items: center;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(255,255,255,.82);
      border: 1px solid rgba(239,188,213,.88);
      color: #b07693;
      font-size: 10.5px;
      font-weight: 900;
      backdrop-filter: blur(10px);
    }

    .profile-main {
      position: relative;
      padding: 0 14px 13px;
      margin-top: -46px;
    }

    .profile-avatar {
      position: relative;
      width: 92px;
      height: 92px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, #ff5fa8, #caa7ff);
      border: 5px solid rgba(255,255,255,.95);
      box-shadow: 0 14px 26px rgba(255,95,168,.18);
      color: #fff;
      font-size: 40px;
      z-index: 2;
    }

    .profile-title-row {
      display: grid;
      gap: 5px;
      margin-top: 7px;
    }

    .profile-id {
      width: fit-content;
      min-height: 24px;
      display: inline-flex;
      align-items: center;
      padding: 0 11px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff7fb;
      color: #b07693;
      font-size: 10.8px;
      font-weight: 900;
      letter-spacing: .03em;
    }

    .profile-name {
      margin: 0;
      color: #624459;
      font-size: 32px;
      line-height: 1.02;
      font-weight: 900;
      letter-spacing: -.05em;
      word-break: keep-all;
    }

    .profile-meta {
      color: #85677a;
      font-size: 12.8px;
      line-height: 1.42;
      font-weight: 900;
      word-break: keep-all;
    }

    .profile-title-pill {
      width: auto;
      max-width: 100%;
      justify-self: start;
      align-self: flex-start;
      display: inline-flex;
      min-height: 30px;
      align-items: center;
      justify-content: flex-start;
      padding: 0 13px;
      border-radius: 999px;
      border: 1px solid rgba(239, 188, 213, 0.82);
      background: #fff;
      color: #9a7187;
      font-size: 11px;
      line-height: 1.3;
      font-weight: 900;
      text-align: left;
      word-break: keep-all;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      margin: 4px 0 9px;
    }

    .profile-stat-grid {
      margin: 0;
    }

    .profile-stat {
      text-align: center;
      min-height: 62px;
      display: grid;
      align-content: center;
      padding: 8px 7px;
    }

    .profile-stat b {
      font-size: 23px;
      margin-top: 4px;
    }

    .profile-info-list {
      display: grid;
      gap: 7px;
    }

    .profile-info-item {
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr);
      gap: 9px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fff;
      padding: 10px 11px;
    }

    .profile-info-item .list-icon {
      width: 40px;
      height: 40px;
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      line-height: 1;
      font-size: 19px;
      overflow: hidden;
    }

    .profile-info-item > div {
      min-width: 0;
      align-self: center;
    }

    .profile-info-item b {
      display: block;
      color: #76586a;
      font-size: 15.5px;
      line-height: 1.35;
      font-weight: 900;
      word-break: keep-all;
    }

    .profile-info-item span {
      display: block;
      margin-top: 4px;
      color: #9a7187;
      font-size: 11.5px;
      line-height: 1.42;
      font-weight: 800;
      word-break: keep-all;
    }

    .profile-ready {
      width: 100%;
      min-height: 42px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: linear-gradient(180deg, #fff, #fff7fb);
      color: #d77ca7;
      font-size: 12.5px;
      font-weight: 900;
    }

    .point-grid {
      margin: 12px 0;
    }

    .point-card {
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fff;
      padding: 14px;
      text-align: center;
    }

    .point-card small {
      display: block;
      color: #b5869c;
      font-size: 12px;
      font-weight: 900;
    }

    .point-card b {
      display: block;
      margin-top: 5px;
      color: var(--pink);
      font-size: 28px;
      line-height: 1;
      font-weight: 900;
    }

    .point-card span {
      display: block;
      margin-top: 8px;
      color: #8d6b7d;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 800;
      word-break: keep-all;
    }


    /* Profile editor v2: Twitter-like compact settings */
    .profile-avatar {
      overflow: hidden;
    }

    .profile-avatar img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: var(--pos-x, 50%) var(--pos-y, 50%);
      transform: scale(var(--scale, 1));
      transform-origin: var(--pos-x, 50%) var(--pos-y, 50%);
      display: block;
      border-radius: 50%;
    }

    .profile-avatar span {
      position: relative;
      z-index: 1;
    }

    .profile-avatar.has-image span {
      display: none;
    }

    .profile-edit-panel {
      border: 1px solid var(--line);
      border-radius: 24px;
      background: linear-gradient(180deg, #fff, #fff7fb);
      padding: 12px;
      box-shadow: var(--shadow);
      display: grid;
      gap: 10px;
    }

    .profile-edit-panel h3 {
      margin: 0;
      color: #d77ca7;
      font-size: 20px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: -.03em;
    }

    .profile-edit-panel p {
      font-size: 12px;
      line-height: 1.55;
    }

    .profile-setting-list {
      display: grid;
      gap: 8px;
    }

    .profile-setting-row {
      min-height: 52px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      padding: 10px 11px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      align-items: center;
    }

    .profile-setting-main {
      min-width: 0;
    }

    .profile-setting-main b {
      display: block;
      color: #76586a;
      font-size: 14px;
      line-height: 1.3;
      font-weight: 900;
      word-break: keep-all;
    }

    .profile-setting-main span {
      display: block;
      margin-top: 3px;
      color: #9a7187;
      font-size: 11.5px;
      line-height: 1.35;
      font-weight: 800;
      word-break: keep-all;
    }

    .profile-setting-action,
    .profile-setting-value {
      min-height: 32px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 11.5px;
      font-weight: 900;
      white-space: nowrap;
    }

    .profile-setting-action {
      background: linear-gradient(180deg, #fff, #fff7fb);
    }

    .profile-edit-btn {
      min-height: 38px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 12px;
      line-height: 1.2;
      font-weight: 900;
      white-space: nowrap;
    }

    .profile-edit-btn.primary-look {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .profile-edit-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }


    /* Profile form: slim Twitter-like edit UI */
    .profile-form {
      display: grid;
      gap: 9px;
    }

    .profile-field {
      display: grid;
      gap: 6px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      padding: 10px 11px;
    }

    .profile-field-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: #76586a;
      font-size: 13px;
      line-height: 1.25;
      font-weight: 900;
    }

    .profile-field-head b {
      min-width: 0;
      word-break: keep-all;
    }

    .profile-counter {
      flex: 0 0 auto;
      color: #b28ea2;
      font-size: 11px;
      line-height: 1.2;
      font-weight: 900;
      white-space: nowrap;
    }

    .profile-field input,
    .profile-field textarea,
    .birthday-selects select {
      width: 100%;
      border: 1px solid rgba(242, 216, 231, 0.95);
      border-radius: 15px;
      background: #fffafd;
      color: #76586a;
      font-size: 13px;
      font-weight: 900;
      outline: none;
      box-shadow: none;
    }

    .profile-field input,
    .birthday-selects select {
      min-height: 40px;
      padding: 9px 11px;
      text-align: left;
    }

    .profile-field textarea {
      min-height: 76px;
      resize: vertical;
      padding: 10px 11px;
      font-family: inherit;
      line-height: 1.55;
    }

    .profile-field input:focus,
    .profile-field textarea:focus,
    .birthday-selects select:focus {
      border-color: var(--line2);
      box-shadow: 0 0 0 3px rgba(255, 130, 186, 0.12);
    }

    .profile-field input[readonly] {
      background: #fff7fb;
      color: #9a7187;
    }

    .birthday-selects {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .profile-error {
      display: none;
      border: 1px solid #f4d7c5;
      border-radius: 16px;
      background: #fff8ef;
      color: #bc7138;
      padding: 10px;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 900;
      word-break: keep-all;
    }

    .profile-error.show {
      display: block;
    }
    .profile-public-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 4px;
    }

    .profile-public-tag {
      min-height: 25px;
      display: inline-flex;
      align-items: center;
      padding: 0 9px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: #fff7fb;
      color: #9a7187;
      font-size: 10.8px;
      font-weight: 900;
      white-space: nowrap;
    }


    /* Profile form iOS input final patch */
    .profile-edit-panel {
      gap: 8px;
      padding: 11px;
    }

    .profile-edit-panel > div:first-child p {
      margin-top: 4px;
      font-size: 11.5px;
      line-height: 1.45;
      color: #9a7187;
    }

    .profile-setting-list {
      gap: 7px;
    }

    .profile-setting-row {
      min-height: 46px;
      padding: 8px 10px;
      border-radius: 16px;
    }

    .profile-form {
      gap: 7px;
    }

    .profile-field {
      gap: 5px;
      padding: 8px 10px;
      border-radius: 16px;
    }

    .profile-field input,
    .profile-field textarea,
    .birthday-selects select {
      -webkit-appearance: none;
      appearance: none;
      min-height: 38px;
      border-radius: 13px;
      font-size: 16px;
      font-weight: 800;
      -webkit-font-smoothing: antialiased;
      transition: none !important;
    }

    .profile-field input,
    .birthday-selects select {
      padding: 8px 10px;
    }

    .profile-field textarea {
      min-height: 68px;
      padding: 9px 10px;
    }

    .profile-field input:focus,
    .profile-field textarea:focus,
    .birthday-selects select:focus {
      border-color: var(--line2);
      box-shadow: none;
      outline: 2px solid rgba(255, 130, 186, 0.16);
      outline-offset: 0;
    }

    .profile-field-head {
      font-size: 12.5px;
    }

    .profile-counter {
      font-size: 10.5px;
    }

    .profile-section-title {
      margin: 2px 0 -2px;
      color: #d77ca7;
      font-size: 12px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: .02em;
    }

    .profile-edit-actions {
      margin-top: 2px;
    }

    @media (max-width: 430px) {
      .profile-media-modal {
        padding: 10px;
      }

      .profile-media-body {
        padding: 12px;
      }

      .profile-media-stage-wrap {
        min-height: 250px;
      }

      .profile-media-stage {
        height: 150px;
      }

      .profile-media-stage[data-mode="avatar"] {
        width: min(74vw, 300px);
        height: min(74vw, 300px);
      }
    }


    /* Profile title picker + iPhone input stabilization */
    .profile-title-edit-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
    }

    .profile-selected-title {
      min-height: 38px;
      display: flex;
      align-items: center;
      padding: 8px 11px;
      border-radius: 15px;
      border: 1px solid rgba(242, 216, 231, 0.95);
      background: #fffafd;
      color: #76586a;
      font-size: 13px;
      font-weight: 900;
      line-height: 1.3;
      word-break: keep-all;
    }

    .profile-title-change {
      min-height: 38px;
      padding: 0 12px;
    }

    .profile-title-modal {
      position: fixed;
      inset: 0;
      z-index: 1001;
      display: grid;
      place-items: center;
      width: 100vw;
      height: 100vh;
      height: 100dvh;
      min-height: 100vh;
      padding: max(14px, env(safe-area-inset-top, 0px)) 14px max(14px, env(safe-area-inset-bottom, 0px));
      overflow: hidden;
      overscroll-behavior: none;
      background: rgba(70, 50, 64, 0.42);
      backdrop-filter: blur(8px);
    }

    .profile-title-dialog {
      width: min(720px, 100%);
      max-height: calc(100dvh - 28px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
      display: grid;
      grid-template-rows: auto auto auto minmax(0, 1fr);
      overflow: hidden;
      overscroll-behavior: contain;
      border-radius: 28px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 28px 80px rgba(70, 50, 64, .24);
      padding: 18px;
    }

    .profile-title-topbar {
      display: grid;
      grid-template-columns: 1fr 40px;
      gap: 12px;
      align-items: center;
      margin-bottom: 6px;
    }

    .profile-title-topbar h3 {
      margin: 0;
      color: #d77ca7;
      font-size: 25px;
      line-height: 1.15;
      font-weight: 900;
    }

    .profile-title-close {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 22px;
      font-weight: 900;
    }

    .profile-title-note {
      margin: 0 0 12px;
      font-size: 12px;
      line-height: 1.45;
      color: #9a7187;
    }

    .profile-title-tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 12px;
    }

    .profile-title-tab {
      min-height: 38px;
      padding: 0 16px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 12px;
      font-weight: 900;
    }

    .profile-title-tab.active {
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      color: #fff;
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .profile-title-panel {
      display: none;
      min-height: 0;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      padding-right: 2px;
      padding-bottom: 2px;
    }

    .profile-title-panel.active { display: grid; align-content: start; }

    .profile-title-option {
      min-height: 58px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      color: #76586a;
      padding: 12px;
      text-align: left;
      font-size: 13px;
      font-weight: 900;
      line-height: 1.35;
    }

    .profile-title-option b {
      display: block;
      font-weight: 900;
      word-break: keep-all;
    }

    .profile-title-option span {
      display: block;
      margin-top: 4px;
      color: #9a7187;
      font-size: 11.5px;
      line-height: 1.4;
      font-weight: 800;
      word-break: keep-all;
    }

    .profile-title-option.active {
      border-color: #ff5fa8;
      background: #fff0f7;
      color: #624459;
      box-shadow: 0 8px 18px rgba(255,95,168,.12);
    }

    .profile-title-option.locked {
      opacity: .78;
      background: #fffafd;
    }
@media (max-width: 430px) {
      .profile-title-modal {
        place-items: center;
        padding: max(10px, env(safe-area-inset-top, 0px)) 10px max(10px, env(safe-area-inset-bottom, 0px));
      }
      .profile-title-dialog {
        width: 100%;
        max-height: calc(100dvh - 20px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        padding: 14px;
        border-radius: 24px;
      }
      .profile-title-topbar h3 { font-size: 22px; }
      .profile-title-panel { grid-template-columns: 1fr; }
      .profile-title-edit-row { grid-template-columns: 1fr; }
      .profile-title-change { width: 100%; }
    }


    /* Profile card spacing + iPhone input lag fix v2 */
    .profile-title-row {
      gap: 4px;
    }

    .profile-title-pill {
      width: auto;
      max-width: 100%;
      justify-self: start;
      align-self: flex-start;
      justify-content: flex-start;
      min-height: 28px;
      padding: 0 11px;
      margin: 3px 0 4px;
      border-color: rgba(239, 188, 213, 0.72);
      background: #fffafd;
      font-size: 10.8px;
      line-height: 1.25;
      text-align: left;
      box-shadow: none;
    }
    .profile-public-tags {
      margin-top: 7px;
    }

    .profile-edit-panel,
    .profile-form,
    .profile-field,
    .profile-setting-row {
      box-shadow: none !important;
    }

    .profile-edit-panel *,
    .profile-title-dialog *,
    .profile-media-dialog * {
      transition: none !important;
      animation: none !important;
    }

    .profile-field input,
    .profile-field textarea,
    .birthday-selects select {
      font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif !important;
      font-weight: 650 !important;
      background: #fff !important;
      box-shadow: none !important;
      text-shadow: none !important;
      transform: none !important;
      -webkit-transform: none !important;
      will-change: auto !important;
      contain: none !important;
      caret-color: var(--pink);
    }

    .profile-field input:focus,
    .profile-field textarea:focus,
    .birthday-selects select:focus {
      box-shadow: none !important;
      outline: none !important;
      border-color: var(--line2);
    }

    .profile-field:focus-within {
      border-color: var(--line2);
      box-shadow: none !important;
    }


    /* Profile no-bio + oshi + iOS input stabilization patch */
    .profile-title-pill {
      width: auto;
      max-width: 100%;
      justify-self: start;
      align-self: flex-start;
      justify-content: flex-start;
      min-height: 30px;
      padding: 0 13px;
      text-align: left;
      font-size: 11px;
      border-color: rgba(239, 188, 213, 0.78);
      background: #fffafd;
      margin-top: 3px;
      margin-bottom: 8px;
      box-shadow: none;
    }

    .profile-public-tags {
      margin-top: 4px;
    }

    .profile-field input,
    .profile-field textarea,
    .birthday-selects select {
      transition: none !important;
      box-shadow: none !important;
      filter: none !important;
      -webkit-tap-highlight-color: transparent;
    }

    .profile-field input:focus,
    .profile-field textarea:focus,
    .birthday-selects select:focus {
      box-shadow: none !important;
      outline: 1px solid rgba(255, 130, 186, 0.22);
      outline-offset: 0;
    }

    .profile-oshi-select {
      text-align: left;
    }


    /* Profile final: title pill spacing + custom oshi picker */
    .profile-title-row {
      gap: 5px;
    }

    .profile-title-pill {
      width: auto !important;
      max-width: 100%;
      justify-self: start;
      align-self: flex-start;
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      min-height: 31px;
      padding: 0 14px;
      margin: 7px 0 9px;
      border: 1px solid rgba(239, 188, 213, 0.76);
      border-radius: 999px;
      background: #fffafd;
      color: #9a7187;
      font-size: 11.4px;
      line-height: 1.25;
      font-weight: 900;
      text-align: left;
      box-shadow: none !important;
      word-break: keep-all;
    }

    .profile-public-tags {
      margin-top: 8px;
    }

    .profile-oshi-select {
      display: none !important;
    }

    .profile-oshi-button {
      width: 100%;
      min-height: 44px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 10px;
      padding: 9px 13px;
      border-radius: 15px;
      border: 1px solid rgba(242, 216, 231, 0.98);
      background: linear-gradient(180deg, #fff, #fffafd);
      color: #76586a;
      text-align: left;
      font-size: 15px;
      font-weight: 900;
      box-shadow: none;
      -webkit-tap-highlight-color: transparent;
    }

    .profile-oshi-button span:first-child {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .profile-oshi-button span:last-child {
      min-height: 28px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 11px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 11.5px;
      font-weight: 900;
      white-space: nowrap;
    }

    .profile-oshi-modal,
    .profile-confirm-modal {
      position: fixed;
      inset: 0;
      z-index: 1002;
      display: grid;
      place-items: end center;
      padding: 14px;
      background: rgba(70, 50, 64, 0.36);
      backdrop-filter: blur(7px);
    }

    .profile-oshi-dialog,
    .profile-confirm-dialog {
      width: min(520px, 100%);
      max-height: min(660px, calc(100vh - 28px));
      overflow: auto;
      border-radius: 28px;
      border: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 28px 80px rgba(70, 50, 64, .24);
      padding: 16px;
    }

    .profile-oshi-topbar,
    .profile-confirm-topbar {
      display: grid;
      grid-template-columns: 1fr 40px;
      align-items: center;
      gap: 12px;
      margin-bottom: 10px;
    }

    .profile-oshi-topbar h3,
    .profile-confirm-topbar h3 {
      margin: 0;
      color: #d77ca7;
      font-size: 22px;
      line-height: 1.15;
      font-weight: 900;
    }

    .profile-oshi-close,
    .profile-confirm-close {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 20px;
      font-weight: 900;
    }

    .profile-oshi-list {
      display: grid;
      gap: 8px;
    }

    .profile-oshi-option {
      min-height: 48px;
      display: grid;
      grid-template-columns: 28px 1fr;
      align-items: center;
      gap: 8px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      color: #76586a;
      padding: 10px 12px;
      text-align: left;
      font-size: 14px;
      font-weight: 900;
      line-height: 1.3;
      box-shadow: none;
    }

    .profile-oshi-check {
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid var(--line2);
      color: transparent;
      background: #fffafd;
      font-size: 13px;
      font-weight: 900;
    }

    .profile-oshi-option.active {
      border-color: rgba(255, 95, 168, 0.62);
      background: #fff0f7;
      color: #624459;
    }

    .profile-oshi-option.active .profile-oshi-check {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
    }

    .profile-confirm-dialog {
      place-self: center;
      max-width: 440px;
    }

    .profile-confirm-dialog p {
      margin: 0 0 14px;
      color: #8f7183;
      font-size: 13px;
      line-height: 1.68;
      font-weight: 850;
    }

    .profile-confirm-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .profile-confirm-btn {
      min-height: 40px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 13px;
      font-weight: 900;
    }

    .profile-confirm-btn.primary-look {
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      color: #fff;
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    @media (min-width: 760px) {
      .profile-oshi-modal {
        place-items: center;
      }
    }
/* Profile title pill centered final adjustment */
    .profile-title-pill {
      width: 100%;
      max-width: 100%;
      justify-self: stretch;
      align-self: stretch;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 32px;
      padding: 0 13px;
      margin: 8px 0 8px;
      border-radius: 999px;
      border: 1px solid rgba(239, 188, 213, 0.70);
      background: #fffafd;
      color: #9a7187;
      font-size: 11.2px;
      line-height: 1.25;
      font-weight: 900;
      text-align: center;
      box-shadow: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }


    


    /* Profile media picker: PC modal cropper + mobile touch cropper */
    .profile-media-modal {
      position: fixed;
      inset: 0;
      z-index: 999;
      display: grid;
      place-items: center;
      padding: 18px;
      background: rgba(70, 50, 64, 0.42);
      backdrop-filter: blur(8px);
    }

    .profile-media-dialog {
      width: min(680px, 100%);
      max-height: min(760px, calc(100vh - 36px));
      display: grid;
      grid-template-rows: auto 1fr auto;
      overflow: hidden;
      border-radius: 26px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 28px 80px rgba(70, 50, 64, .24);
    }

    .profile-media-topbar {
      min-height: 58px;
      display: grid;
      grid-template-columns: 44px 1fr auto;
      gap: 10px;
      align-items: center;
      padding: 10px 14px;
      border-bottom: 1px solid #f4dce9;
      background: rgba(255,255,255,.96);
    }

    .profile-media-close,
    .profile-media-apply {
      min-height: 36px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 900;
    }

    .profile-media-close {
      width: 36px;
      background: #fff;
      border: 1px solid var(--line2);
      color: #b07693;
    }

    .profile-media-apply {
      padding: 0 16px;
      color: #fff;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .profile-media-title {
      margin: 0;
      color: #624459;
      font-size: 18px;
      font-weight: 900;
      line-height: 1.2;
    }

    .profile-media-body {
      min-height: 0;
      overflow: auto;
      padding: 18px;
      background: #f8f1f6;
    }

    .profile-media-stage-wrap {
      width: 100%;
      min-height: 320px;
      display: grid;
      place-items: center;
    }

    .profile-media-stage {
      position: relative;
      width: min(100%, 560px);
      height: 188px;
      overflow: hidden;
      border: 3px solid #ff5fa8;
      background: #110b10;
      box-shadow: 0 14px 30px rgba(70, 50, 64, .18);
      touch-action: none;
      cursor: grab;
    }

    .profile-media-stage:active { cursor: grabbing; }

    .profile-media-stage[data-mode="avatar"] {
      width: min(78vw, 360px);
      height: min(78vw, 360px);
      max-width: 360px;
      max-height: 360px;
      border-radius: 50%;
      border-color: rgba(255,255,255,.95);
      outline: 2px solid rgba(255,95,168,.85);
    }

    .profile-media-stage img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: var(--pos-x, 50%) var(--pos-y, 50%);
      transform: scale(var(--scale, 1));
      transform-origin: var(--pos-x, 50%) var(--pos-y, 50%);
      user-select: none;
      pointer-events: none;
    }

    .profile-media-controls {
      display: grid;
      gap: 10px;
      padding: 14px 18px 18px;
      border-top: 1px solid #f4dce9;
      background: #fff;
    }

    .profile-media-hint {
      color: #9a7187;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 900;
      text-align: center;
      word-break: keep-all;
    }

    .profile-zoom-row {
      display: grid;
      grid-template-columns: 28px 1fr 28px;
      gap: 10px;
      align-items: center;
      color: #b07693;
      font-size: 16px;
      font-weight: 900;
    }

    .profile-zoom-row input[type="range"] {
      padding: 0;
      height: 28px;
      accent-color: var(--pink);
      box-shadow: none;
      border: 0;
    }

    .profile-media-reset {
      min-height: 36px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 12px;
      font-weight: 900;
    }


    .achievement-summary-card.achievement-summary-mini {
      width: 100%;
      min-height: 92px;
      text-align: center;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: linear-gradient(180deg, #fff, #fff7fb);
      color: inherit;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
      display: grid;
      align-content: center;
      gap: 4px;
      padding: 10px 8px;
    }

    .achievement-summary-card.achievement-summary-mini i {
      width: 34px;
      height: 34px;
      margin: 1px auto 0;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: #fff0f7;
      border: 1px solid var(--line);
      color: #d77ca7;
      font-size: 18px;
      font-style: normal;
    }

    .achievement-summary-card.achievement-summary-mini b {
      font-size: 15px;
      line-height: 1.15;
      color: #76586a;
      word-break: keep-all;
    }

    .achievement-summary-card.achievement-summary-mini span {
      margin-top: 0;
      font-size: 10.5px;
      line-height: 1.25;
    }

    .achievement-pagination {
      display: grid;
      grid-template-columns: 42px 1fr 42px;
      align-items: center;
      gap: 8px;
      margin: 12px 0 0;
    }

    .achievement-pagination button {
      width: 42px;
      height: 36px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 22px;
      line-height: 1;
      font-weight: 900;
    }

    .achievement-pagination button:disabled {
      opacity: .38;
      cursor: default;
    }

    .achievement-pagination span {
      min-height: 36px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, #fff, #fff7fb);
      color: #9a7187;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .03em;
    }

    @media (max-width: 374px) {
      .profile-edit-panel {
        padding: 12px;
      }

      .profile-setting-row {
        min-height: 52px;
        padding: 9px 10px;
      }

      .profile-setting-main b {
        font-size: 13.5px;
      }

      .profile-setting-main span {
        font-size: 11px;
      }

      .profile-setting-action,
      .profile-setting-value {
        min-height: 30px;
        padding: 0 10px;
        font-size: 11px;
      }
    }

    @media (max-width: 374px) {
      .root { padding-left: 6px; padding-right: 6px; }
      .phone { border-width: 7px; padding: 8px; }
      .screen-inner { padding-left: 9px; padding-right: 9px; }
      .login-view { padding-top: 34px; }
      .login-title { font-size: 50px; }
      .help-row,
      .ticket-meta,
      .summary-grid,
      .point-grid { grid-template-columns: 1fr; }
      .header h1 { font-size: 36px; }
      .tab { font-size: 11px; }
      .clock-card { min-height: 128px; padding-left: 16px; padding-right: 16px; }
      .time { font-size: 46px; }
      .home-card { padding-left: 55px; }
      .home-card.no-icon { padding-left: 12px; }
      .home-card b { font-size: 16px; }
      .app-icon { min-height: 88px; }
      .app-icon i { width: 45px; height: 45px; font-size: 21px; }
      .mini-tabs { gap: 6px; }
      .mini-tab { font-size: 11px; }
      .ticket-title { font-size: 21px; }
      .ticket-number strong { font-size: 36px; }
      .filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .profile-cover { min-height: 132px; }
      .profile-avatar { width: 86px; height: 86px; font-size: 37px; }
      .profile-main { padding-left: 12px; padding-right: 12px; margin-top: -42px; }
      .profile-name { font-size: 30px; }
      .profile-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .profile-stat { min-height: 60px; }
    }

    @media (min-width: 760px) {
      .root { padding: 28px 18px; }
      .phone {
        width: min(100%, 980px);
        border-width: 12px;
        padding: 22px;
        border-radius: 48px;
      }
      .phone::before { width: 118px; height: 28px; top: 16px; }
      .screen { border-radius: 34px; min-height: 760px; }
      .screen-inner { width: min(920px, 100%); margin: 0 auto; padding: 44px 24px 24px; }
      .login-card { width: min(540px, 100%); margin: 0 auto; padding: 36px 26px; }
      .tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
      .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .icon-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
      .app-icon { min-height: 102px; }
      .clock-card { padding: 28px 24px 24px; }
      .time { font-size: 72px; }
      .summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .stamp-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
      .profile-cover { min-height: 188px; }
      .profile-main {
        display: grid;
        grid-template-columns: 112px 1fr;
        column-gap: 18px;
        align-items: start;
        margin-top: -50px;
        padding: 0 24px 20px;
      }
      .profile-avatar { width: 112px; height: 112px; font-size: 50px; }
      .profile-title-row { margin-top: 58px; }
      .profile-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .point-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    }
  
    /* Profile card order + action buttons + clean oshi modal final patch */
    .profile-title-row {
      gap: 6px;
    }

    .profile-title-pill {
      display: inline-flex !important;
      width: auto !important;
      max-width: 100%;
      justify-self: start;
      align-self: flex-start;
      align-items: center;
      justify-content: flex-start;
      min-height: 32px;
      padding: 0 15px;
      margin: 7px 0 7px;
      border-radius: 999px;
      border: 1px solid rgba(239, 188, 213, 0.78);
      background: #fffafd;
      color: #9a7187;
      font-size: 12px;
      line-height: 1.25;
      font-weight: 900;
      text-align: left;
      box-shadow: none !important;
      word-break: keep-all;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .profile-id {
      margin-top: 0;
    }

    .profile-meta {
      margin-top: 1px;
    }

    .profile-public-tags {
      margin-top: 8px;
    }

    .profile-confirm-body {
      display: grid;
      gap: 7px;
      margin-bottom: 14px;
    }

    .profile-confirm-body p {
      margin: 0;
      color: #8f7183;
      font-size: 13px;
      line-height: 1.62;
      font-weight: 850;
      word-break: keep-all;
    }

    .profile-confirm-body .profile-confirm-line {
      display: block;
      color: #76586a;
      font-size: 13px;
      line-height: 1.55;
      font-weight: 900;
      word-break: keep-all;
    }

    .profile-confirm-body .profile-confirm-date {
      display: inline-flex;
      width: fit-content;
      max-width: 100%;
      min-height: 28px;
      align-items: center;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff7fb;
      color: #d77ca7;
      font-size: 12px;
      font-weight: 900;
      word-break: keep-all;
    }

    .profile-confirm-btn.hidden {
      display: none !important;
    }

  
    /* Profile modal + spacing clean patch */
    .profile-title-row {
      gap: 3px !important;
      margin-top: 7px;
    }

    .profile-name {
      margin: 0 0 2px !important;
    }

    .profile-id {
      display: block !important;
      width: auto !important;
      min-height: 0 !important;
      padding: 0 !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: transparent !important;
      color: #b28ea2 !important;
      font-size: 11.2px !important;
      line-height: 1.25 !important;
      font-weight: 900 !important;
      letter-spacing: .02em !important;
    }

    .profile-meta {
      margin-top: 4px !important;
      color: #85677a !important;
      font-size: 12.5px !important;
      line-height: 1.35 !important;
      font-weight: 900 !important;
    }

    .profile-title-pill {
      width: 100% !important;
      max-width: 100% !important;
      justify-self: stretch !important;
      align-self: stretch !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      min-height: 31px !important;
      padding: 0 12px !important;
      margin: 7px 0 7px !important;
      border-radius: 999px !important;
      border: 1px solid rgba(239, 188, 213, 0.76) !important;
      background: #fffafd !important;
      color: #9a7187 !important;
      font-size: 11.2px !important;
      line-height: 1.25 !important;
      font-weight: 900 !important;
      text-align: center !important;
      box-shadow: none !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
    }

    .profile-public-tags {
      margin-top: 6px !important;
    }

    .profile-edit-modal {
      position: fixed;
      inset: 0;
      z-index: 1002;
      display: grid;
      place-items: center;
      padding: 12px;
      background: rgba(70, 50, 64, 0.42);
      backdrop-filter: blur(8px);
    }

    .profile-edit-modal.hidden {
      display: none !important;
    }

    .profile-edit-dialog {
      width: min(680px, 100%);
      max-height: calc(100vh - 28px);
      overflow: auto;
      border: 1px solid var(--line);
      border-radius: 28px;
      background: linear-gradient(180deg, #fff, #fff7fb);
      box-shadow: 0 28px 80px rgba(70, 50, 64, .24);
      padding: 15px;
      display: grid;
      gap: 9px;
    }

    .profile-edit-dialog > div:first-child {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      align-items: start;
    }
.profile-oshi-modal,
    .profile-confirm-modal,
    .profile-title-modal,
    .profile-media-modal {
      z-index: 1004;
    }

    @media (max-width: 430px) {
      .profile-edit-modal {
        align-items: end;
        padding: 10px;
      }

      .profile-edit-dialog {
        width: 100%;
        max-height: calc(100vh - 26px);
        border-radius: 26px;
        padding: 14px;
      }
    }

  

    /* LUMIPHONE PROFILE FINAL CLEAN PATCH - consolidated profile-only overrides */
    #page-profile .profile-card{position:relative;overflow:hidden;}
    #page-profile .profile-share-button{position:absolute;right:10px;top:10px;z-index:3;width:34px;height:34px;border-radius:999px;border:1px solid rgba(239,188,213,.88);background:rgba(255,255,255,.86);color:#b07693;font-size:16px;font-weight:900;display:grid;place-items:center;box-shadow:0 8px 18px rgba(70,50,64,.08);backdrop-filter:blur(8px);}
    #page-profile .profile-main{padding-bottom:14px!important;}
    #page-profile .profile-title-row{gap:4px!important;margin-top:7px!important;}
    #page-profile .profile-name{margin:0 0 2px!important;line-height:.98!important;}
    #page-profile .profile-id{display:inline-block!important;width:auto!important;min-height:0!important;padding:0!important;border:0!important;background:transparent!important;color:#b28ea2!important;font-size:11.2px!important;line-height:1.25!important;font-weight:900!important;letter-spacing:.02em!important;}
    #page-profile .profile-meta{margin-top:4px!important;color:#85677a!important;font-size:12.5px!important;line-height:1.35!important;font-weight:900!important;}
    #page-profile .profile-title-pill{width:auto!important;max-width:100%!important;justify-self:start!important;align-self:start!important;display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;min-height:28px!important;padding:0 13px!important;margin:7px 0 6px!important;border-radius:999px!important;border:1px solid rgba(239,188,213,.78)!important;background:#fffafd!important;color:#9a7187!important;font-size:11.3px!important;font-weight:900!important;text-align:left!important;box-shadow:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
    #page-profile .profile-public-tags{margin-top:5px!important;gap:6px!important;}
    #page-profile .profile-public-tag{min-height:25px!important;padding:0 9px!important;font-size:11px!important;}
    #page-profile .profile-stat-grid{margin-top:10px!important;}

    #page-profile .profile-edit-modal{position:fixed;inset:0;z-index:1002;display:grid;place-items:center;padding:12px;background:rgba(70,50,64,.42);backdrop-filter:blur(8px);}
    #page-profile .profile-edit-modal.hidden{display:none!important;}
    #page-profile .profile-edit-dialog{width:min(640px,100%);max-height:calc(100vh - 28px);overflow:auto;border:1px solid var(--line);border-radius:28px;background:linear-gradient(180deg,#fff,#fff7fb);box-shadow:0 28px 80px rgba(70,50,64,.24);padding:0;display:grid;gap:0;}
    #page-profile .profile-edit-topbar{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:8px;min-height:58px;padding:10px 13px;border-bottom:1px solid #f4dce9;background:rgba(255,255,255,.96);}
    #page-profile .profile-edit-topbar h3{margin:0;color:#624459;font-size:17px;font-weight:900;line-height:1.2;}
    #page-profile .profile-editor-close{width:36px;height:36px;border-radius:50%;border:1px solid var(--line2);background:#fff;color:#b07693;font-size:20px;font-weight:900;}
    #page-profile .profile-editor-save{min-height:36px;padding:0 16px;border-radius:999px;background:#111923;color:#fff;font-size:13px;font-weight:900;}
    #page-profile .profile-edit-hero{position:relative;margin:0;background:transparent;}
    #page-profile .profile-edit-cover{position:relative;height:134px;background:linear-gradient(135deg,#ffd0e7,#ff8fc2 44%,#e9d8ff);overflow:hidden;}
    #page-profile .profile-edit-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos-x,50%) var(--pos-y,50%);transform:scale(var(--scale,1));transform-origin:var(--pos-x,50%) var(--pos-y,50%);}
    #page-profile .profile-edit-avatar{position:relative;width:88px;height:88px;margin:-38px 0 0 18px;border-radius:50%;border:5px solid #fff;background:linear-gradient(135deg,#ff5fa8,#caa7ff);display:grid;place-items:center;color:#fff;font-size:36px;box-shadow:0 12px 26px rgba(255,95,168,.16);overflow:hidden;}
    #page-profile .profile-edit-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos-x,50%) var(--pos-y,50%);transform:scale(var(--scale,1));transform-origin:var(--pos-x,50%) var(--pos-y,50%);border-radius:50%;}
    #page-profile .profile-edit-avatar.has-image span{display:none;}
    #page-profile .profile-form-compact{padding:0 14px 14px;gap:8px!important;}
    #page-profile .profile-section-title.compact-title{margin:4px 0 0;color:#d77ca7;font-size:12px;font-weight:900;}
    #page-profile .profile-field{gap:5px!important;border-radius:17px!important;padding:9px 10px!important;}
    #page-profile .profile-field input,#page-profile .birthday-selects select{min-height:38px!important;padding:8px 10px!important;font-size:13px!important;}
    #page-profile .profile-field input:focus,#page-profile .birthday-selects select:focus{box-shadow:0 0 0 2px rgba(255,130,186,.08)!important;}
    #page-profile .profile-oshi-button{width:100%;min-height:38px;padding:0 10px;border-radius:15px;border:1px solid rgba(242,216,231,.95);background:#fffafd;color:#76586a;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;text-align:left;font-size:13px;font-weight:900;}
    #page-profile .profile-oshi-button span:last-child{min-height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--line2);display:inline-flex;align-items:center;color:#d77ca7;background:#fff;font-size:11px;}
    #page-profile .profile-edit-actions-bottom{position:sticky;bottom:0;z-index:5;padding:10px 14px 14px;margin:0;background:linear-gradient(180deg,rgba(255,247,251,.86),#fff7fb);border-top:1px solid #f4dce9;}

    #page-profile .profile-oshi-modal,#page-profile .profile-confirm-modal,#page-profile .profile-simple-modal,#page-profile .profile-media-modal{position:fixed;inset:0;z-index:1004;display:grid;place-items:center;padding:14px;background:rgba(70,50,64,.42);backdrop-filter:blur(8px);}
    #page-profile .profile-oshi-modal.hidden,#page-profile .profile-confirm-modal.hidden,#page-profile .profile-simple-modal.hidden,#page-profile .profile-media-modal.hidden{display:none!important;}
    #page-profile .profile-simple-dialog,#page-profile .profile-confirm-dialog{width:min(380px,100%);border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:0 28px 80px rgba(70,50,64,.24);padding:18px;}
    #page-profile .profile-simple-topbar,#page-profile .profile-confirm-topbar{display:grid;grid-template-columns:1fr 36px;gap:10px;align-items:start;margin-bottom:12px;}
    #page-profile .profile-simple-topbar h3,#page-profile .profile-confirm-topbar h3{margin:0;color:#d77ca7;font-size:20px;line-height:1.25;font-weight:900;word-break:keep-all;}
    #page-profile .profile-simple-close,#page-profile .profile-confirm-close{width:34px;height:34px;border-radius:50%;border:1px solid var(--line2);background:#fff;color:#b07693;font-size:18px;font-weight:900;}
    #page-profile .profile-simple-body,#page-profile .profile-confirm-body{display:grid;gap:7px;margin-bottom:14px;}
    #page-profile .profile-simple-body p,#page-profile .profile-confirm-body p{margin:0;color:#8f7183;font-size:13px;line-height:1.62;font-weight:850;word-break:keep-all;}
    #page-profile .profile-simple-ok,#page-profile .profile-confirm-btn{min-height:38px;border-radius:999px;border:1px solid var(--line2);background:#fff;color:#b07693;font-size:13px;font-weight:900;}
    #page-profile .profile-simple-ok,#page-profile .profile-confirm-btn.primary-look{border-color:transparent;background:linear-gradient(180deg,#ff82ba,#ff5fa8);color:#fff;}
    #page-profile .profile-confirm-date{display:inline-flex;width:fit-content;max-width:100%;min-height:28px;align-items:center;padding:0 10px;border-radius:999px;border:1px solid var(--line2);background:#fff7fb;color:#d77ca7;font-size:12px;font-weight:900;}
    #page-profile .profile-confirm-btn.hidden{display:none!important;}
    #page-profile .profile-oshi-dialog{width:min(390px,100%);max-height:min(620px,calc(100vh - 34px));overflow:auto;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:0 28px 80px rgba(70,50,64,.24);padding:15px;}
    #page-profile .profile-oshi-topbar{display:grid;grid-template-columns:1fr 36px;gap:10px;align-items:center;margin-bottom:10px;}
    #page-profile .profile-oshi-topbar h3{margin:0;color:#d77ca7;font-size:20px;font-weight:900;}
    #page-profile .profile-oshi-close{width:34px;height:34px;border-radius:50%;border:1px solid var(--line2);background:#fff;color:#b07693;font-size:18px;font-weight:900;}
    #page-profile .profile-oshi-list{display:grid;gap:8px;}
    #page-profile .profile-oshi-option{min-height:44px;border-radius:18px;border:1px solid var(--line);background:#fffafd;color:#76586a;display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:center;text-align:left;padding:0 12px;font-size:13px;font-weight:900;}
    #page-profile .profile-oshi-option .profile-oshi-check{opacity:0;color:#ff5fa8;}
    #page-profile .profile-oshi-option.active{border-color:var(--line2);background:#fff0f7;}
    #page-profile .profile-oshi-option.active .profile-oshi-check{opacity:1;}

    @media (max-width:430px){
      #page-profile .profile-edit-modal{align-items:end;padding:8px;}
      #page-profile .profile-edit-dialog{width:100%;height:calc(100dvh - 16px)!important;max-height:calc(100vh - 16px);border-radius:26px;}
      #page-profile .profile-edit-cover{height:122px;}
      #page-profile .profile-edit-avatar{width:82px;height:82px;margin-top:-36px;}
    }


    /* LUMIPHONE PROFILE FINAL CLEAN PATCH */
    #page-profile .profile-card {
      margin-bottom: 0 !important;
    }

    #page-profile .profile-card-actions {
      display: grid !important;
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 8px !important;
      margin: 6px 0 8px !important;
      padding: 0 !important;
      min-height: 0 !important;
    }

    #page-profile .profile-action-button {
      min-height: 38px !important;
      border-radius: 999px !important;
      border: 1px solid var(--line2) !important;
      background: #fff !important;
      color: #b07693 !important;
      font-size: 12.5px !important;
      line-height: 1.2 !important;
      font-weight: 900 !important;
      box-shadow: none !important;
      white-space: nowrap !important;
    }

    #page-profile .profile-action-button:first-child {
      color: #fff !important;
      border-color: transparent !important;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8) !important;
      box-shadow: 0 8px 18px rgba(255,95,168,.14) !important;
    }

    #page-profile .profile-stat-grid {
      margin-top: 0 !important;
    }

    #page-profile .profile-edit-modal {
      background: rgba(70, 50, 64, 0.42) !important;
    }

    #page-profile .profile-edit-dialog {
      background: linear-gradient(180deg, #fff, #fff7fb) !important;
      height: min(720px, calc(100dvh - 18px)) !important;
      max-height: calc(100vh - 18px) !important;
      overflow: hidden !important;
      display: flex !important;
      flex-direction: column !important;
      min-height: 0 !important;
    }

    #page-profile .profile-edit-topbar {
      position: sticky !important;
      top: 0 !important;
      z-index: 20 !important;
      flex: 0 0 auto !important;
      min-height: 58px !important;
      padding: calc(env(safe-area-inset-top, 0px) + 10px) 13px 10px !important;
      background: rgba(255,255,255,.98) !important;
      border-bottom: 1px solid #f4dce9 !important;
    }

    #page-profile .profile-edit-hero {
      margin: 0 0 8px !important;
      background: #fff7fb !important;
    }

    #page-profile .profile-edit-cover {
      height: 122px !important;
    }

    #page-profile .profile-edit-avatar {
      width: 82px !important;
      height: 82px !important;
      margin-top: -36px !important;
    }

    #page-profile .profile-edit-cover .profile-camera-button {
      position: absolute !important;
      top: 10px !important;
      right: 10px !important;
      bottom: auto !important;
      left: auto !important;
      width: 36px !important;
      height: 36px !important;
      border-radius: 50% !important;
      transform: none !important;
      background: #fff7fb !important;
      border: 1px solid rgba(239, 188, 213, 0.96) !important;
      color: #d77ca7 !important;
      font-size: 16px !important;
      line-height: 1 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }

    #page-profile .profile-edit-avatar .profile-camera-button {
      position: absolute !important;
      top: auto !important;
      right: -1px !important;
      bottom: 5px !important;
      left: auto !important;
      width: 30px !important;
      height: 30px !important;
      border-radius: 50% !important;
      transform: none !important;
      background: #fff7fb !important;
      border: 1px solid rgba(239, 188, 213, 0.96) !important;
      color: #d77ca7 !important;
      font-size: 13px !important;
      line-height: 1 !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }

    #page-profile .profile-form-compact {
      flex: 1 1 auto !important;
      min-height: 0 !important;
      overflow-y: auto !important;
      -webkit-overflow-scrolling: touch !important;
      overscroll-behavior: contain !important;
      gap: 8px !important;
      padding: 0 14px calc(env(safe-area-inset-bottom, 0px) + 12px) !important;
      background: #fff7fb !important;
    }

    #page-profile .profile-field {
      gap: 5px !important;
      padding: 10px 11px !important;
      border-radius: 16px !important;
      background: #fff !important;
    }

    #page-profile .profile-field input,
    #page-profile .birthday-selects select,
    #page-profile .profile-oshi-button {
      min-height: 40px !important;
      padding: 8px 10px !important;
      font-size: 16px !important;
      line-height: 1.35 !important;
      box-shadow: none !important;
      transition: none !important;
      transform: none !important;
      -webkit-transform: none !important;
    }

    #page-profile .profile-field input:focus,
    #page-profile .birthday-selects select:focus,
    #page-profile .profile-oshi-button:focus {
      box-shadow: none !important;
      outline: none !important;
      border-color: var(--line2) !important;
    }

    #page-profile .profile-section-title.compact-title {
      margin: 8px 0 0 !important;
      color: #d77ca7 !important;
      font-size: 12px !important;
      font-weight: 900 !important;
    }

    #page-profile .profile-edit-actions-bottom {
      display: none !important;
    }

    #page-profile .profile-edit-dialog,
    #page-profile .profile-form-compact {
      background-color: #fff7fb !important;
    }

    #page-profile .profile-edit-dialog > div:first-child::after{content:none!important;display:none!important;}

    /* PC 전용 프로필 꾸미기 다이얼로그 최적화 */
    @media (min-width: 760px) {
      /* 다이얼로그 크기 & 레이아웃 */
      #page-profile .profile-edit-modal {
        padding: 20px !important;
        align-items: center !important;
      }

      #page-profile .profile-edit-dialog {
        width: min(780px, calc(100vw - 64px)) !important;
        height: min(820px, calc(100dvh - 40px)) !important;
        max-height: calc(100vh - 40px) !important;
        border-radius: 32px !important;
        box-shadow: 0 32px 90px rgba(70, 50, 64, 0.28) !important;
      }

      /* 상단 바 */
      #page-profile .profile-edit-topbar {
        min-height: 62px !important;
        padding: 12px 18px !important;
        border-radius: 32px 32px 0 0 !important;
      }

      #page-profile .profile-edit-topbar h3 {
        font-size: 18px !important;
      }

      #page-profile .profile-editor-close {
        width: 40px !important;
        height: 40px !important;
        font-size: 22px !important;
      }

      #page-profile .profile-editor-save {
        min-height: 40px !important;
        padding: 0 22px !important;
        font-size: 14px !important;
        border-radius: 999px !important;
      }

      /* 커버 & 아바타 */
      #page-profile .profile-edit-cover {
        height: 160px !important;
      }

      #page-profile .profile-edit-avatar {
        width: 96px !important;
        height: 96px !important;
        margin: -44px 0 0 22px !important;
        border-width: 5px !important;
      }

      #page-profile .profile-edit-cover .profile-camera-button {
        width: 40px !important;
        height: 40px !important;
        font-size: 17px !important;
        top: 12px !important;
        right: 12px !important;
      }

      #page-profile .profile-edit-avatar .profile-camera-button {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
        bottom: 4px !important;
        right: 0px !important;
      }

      /* 폼 영역: 2열 그리드 */
      #page-profile .profile-form-compact {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 14px 18px 18px !important;
        align-content: start !important;
        overflow-y: auto !important;
      }

      /* 내부용 이름 섹션 타이틀 — 2열 전체 차지 */
      #page-profile .profile-section-title.compact-title {
        grid-column: 1 / -1 !important;
        margin: 4px 0 0 !important;
        font-size: 12px !important;
      }

      /* 에러 메시지 — 2열 전체 차지 */
      #page-profile .profile-error {
        grid-column: 1 / -1 !important;
      }

      /* 각 필드 */
      #page-profile .profile-field {
        gap: 6px !important;
        padding: 11px 13px !important;
        border-radius: 18px !important;
      }

      #page-profile .profile-field input,
      #page-profile .birthday-selects select,
      #page-profile .profile-oshi-button {
        min-height: 42px !important;
        font-size: 14px !important;
        padding: 9px 12px !important;
      }

      #page-profile .profile-field-head {
        font-size: 13px !important;
      }
    }

    /* Mailbox mobile v1: list, filters, pager, modal */
    .mail-card .mini-tabs.mail-tabs {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mail-filter-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 12px 0;
    }

    .mail-filter-row button {
      min-height: 40px;
      padding: 0 15px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .mail-filter-row button.active {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255, 95, 168, .14);
    }

    .mail-list {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      margin-top: 12px;
    }

    .mail-item {
      position: relative;
      width: 100%;
      min-height: 96px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 12px 74px 12px 12px;
      display: grid;
      grid-template-columns: 52px minmax(0, 1fr);
      gap: 12px;
      align-items: center;
      text-align: left;
      color: inherit;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
    }

    .mail-item .icon {
      width: 52px;
      height: 52px;
      border-radius: 17px;
      display: grid;
      place-items: center;
      background: #fff0f7;
      color: #d77ca7;
      font-size: 23px;
      line-height: 1;
      border: 1px solid var(--line);
      align-self: center;
      justify-self: center;
      overflow: hidden;
      white-space: nowrap;
    }

    .mail-item-main {
      min-width: 0;
      align-self: center;
    }

    .mail-item-meta {
      display: block;
      color: #b28ea2;
      font-size: 11px;
      line-height: 1.25;
      font-weight: 900;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mail-item b {
      display: block;
      margin-top: 5px;
      color: #76586a;
      font-size: 15px;
      line-height: 1.3;
      font-weight: 900;
      word-break: keep-all;
    }

    .mail-item-preview {
      display: -webkit-box;
      margin-top: 5px;
      color: #9a7187;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 800;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 1;
      line-clamp: 1;
      word-break: keep-all;
    }

    .mail-status-chip {
      position: absolute !important;
      right: 12px !important;
      top: 12px !important;
      margin: 0 !important;
      width: auto !important;
      min-width: 0 !important;
      max-width: none !important;
      min-height: 23px !important;
      height: 23px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 0 8px !important;
      border-radius: 999px !important;
      border: 1px solid var(--line2) !important;
      background: #fff7fb !important;
      color: #d77ca7 !important;
      font-size: 10px !important;
      line-height: 1 !important;
      font-weight: 900 !important;
      white-space: nowrap !important;
      text-align: center !important;
      box-shadow: none !important;
      z-index: 3 !important;
      grid-column: auto !important;
      grid-row: auto !important;
      transform: none !important;
    }

    .mail-status-chip.read {
      color: #9a7187 !important;
      background: #fff !important;
      border-color: var(--line2) !important;
    }

    .mail-status-chip.saved {
      color: #fff !important;
      background: #b28ea2 !important;
      border-color: transparent !important;
    }

    .mail-status-chip.new {
      color: #fff !important;
      border-color: transparent !important;
      background: #ff5fa8 !important;
    }

    .mail-status-chip::before,
    .mail-status-chip::after {
      content: none !important;
      display: none !important;
    }

    .mail-pager {
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr) 44px;
      align-items: center;
      gap: 10px;
      margin-top: 14px;
      padding: 0 2px;
    }

    .mail-pager button {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 18px;
      font-weight: 900;
    }

    .mail-pager button:disabled {
      opacity: .42;
    }

    .mail-pager span {
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: #fff;
      color: #9a7187;
      font-size: 13px;
      font-weight: 900;
    }

    .mail-empty {
      margin-top: 12px;
      border: 1px dashed var(--line2);
      border-radius: 20px;
      background: #fffafd;
      padding: 14px;
      color: #9a7187;
      font-size: 13px;
      line-height: 1.55;
      font-weight: 900;
      text-align: center;
      word-break: keep-all;
    }

    .mail-guide-list {
      display: grid;
      gap: 10px;
      margin-top: 12px;
    }

    .mail-modal {
      position: fixed;
      inset: 0;
      z-index: 1100;
      display: grid;
      place-items: center;
      padding: max(14px, env(safe-area-inset-top, 0px)) 14px max(14px, env(safe-area-inset-bottom, 0px));
    }

    .mail-modal.hidden {
      display: none !important;
    }

    .mail-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(72, 49, 63, .38);
      backdrop-filter: blur(8px);
    }

    .mail-modal-dialog {
      position: relative;
      z-index: 1;
      width: min(430px, 100%);
      max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      border-radius: 28px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, #fff, #fff7fb);
      box-shadow: 0 28px 80px rgba(70, 50, 64, .24);
      padding: 20px;
    }

    .mail-modal-x {
      position: absolute;
      right: 14px;
      top: 14px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 21px;
      font-weight: 900;
    }

    .mail-modal-icon {
      width: 52px;
      height: 52px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      background: #fff0f7;
      border: 1px solid var(--line);
      color: #d77ca7;
      font-size: 24px;
      margin-bottom: 10px;
    }

    .mail-modal-meta {
      padding-right: 42px;
      color: #b28ea2;
      font-size: 12px;
      line-height: 1.4;
      font-weight: 900;
      word-break: keep-all;
    }

    .mail-modal-dialog h3 {
      margin: 7px 0 10px;
      color: #76586a;
      font-size: 21px;
      line-height: 1.28;
      font-weight: 900;
      letter-spacing: -.03em;
      word-break: keep-all;
    }

    .mail-modal-dialog p {
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 14px;
      color: #85677a;
      font-size: 13px;
      line-height: 1.75;
      font-weight: 850;
      word-break: keep-all;
      white-space: pre-line;
    }

    .mail-modal-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      margin-top: 14px;
    }

    .mail-save-main {
      min-height: 44px;
      border-radius: 999px;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      color: #fff;
      font-size: 13px;
      font-weight: 900;
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .mail-close-sub {
      min-height: 42px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 13px;
      font-weight: 900;
    }

    @media (min-width: 760px) {
      .mail-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }


    .lumiLog-card {
      overflow: hidden;
    }

    .lumiLog-card h2 {
      margin-bottom: 10px;
    }

    .lumiLog-intro {
      margin: 12px 0 16px;
      padding: 15px 16px;
      border: 1px dashed var(--line2);
      border-radius: 22px;
      background: rgba(255, 250, 253, .72);
      color: #76586a;
      font-size: 13px;
      line-height: 1.72;
      font-weight: 900;
      word-break: keep-all;
    }

    .lumiLog-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin: 12px 0 14px;
    }

    .lumiLog-tabs button {
      flex: 0 0 auto;
      min-height: 36px;
      padding: 0 13px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .lumiLog-tabs button.active {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .lumiLog-list {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      margin-top: 4px;
    }

    .lumiLog-item {
      position: relative;
      width: 100%;
      min-height: 126px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: rgba(255,255,255,.92);
      padding: 16px;
      display: block;
      text-align: left;
      color: inherit;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
      overflow: hidden;
    }

    .lumiLog-item.locked {
      opacity: .68;
      background: rgba(255, 250, 253, .78);
    }

    .lumiLog-label-pill {
      display: inline-flex;
      align-items: center;
      min-height: 27px;
      padding: 0 10px;
      border-radius: 999px;
      background: #fff0f7;
      color: #d77ca7;
      font-size: 10.5px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: .04em;
      white-space: nowrap;
    }

    .lumiLog-label-pill.live {
      background: #fff0f7;
      color: #d77ca7;
    }

    .lumiLog-label-pill.letter {
      background: rgba(255, 240, 247, .72);
      color: #c783a6;
    }

    .lumiLog-label-pill.upcoming {
      background: rgba(255, 240, 247, .55);
      color: #cfa1b8;
    }

    .lumiLog-item b {
      display: block;
      margin-top: 11px;
      color: #76586a;
      font-size: 17px;
      line-height: 1.35;
      font-weight: 900;
      letter-spacing: -.02em;
      word-break: keep-all;
    }

    .lumiLog-item-preview {
      display: block;
      margin-top: 8px;
      color: #8f7183;
      font-size: 12.5px;
      line-height: 1.6;
      font-weight: 850;
      word-break: keep-all;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .lumiLog-pager {
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr) 44px;
      align-items: center;
      gap: 10px;
      margin-top: 14px;
      padding: 0 2px;
    }

    .lumiLog-pager button {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 18px;
      font-weight: 900;
    }

    .lumiLog-pager button:disabled { opacity: .42; }

    .lumiLog-pager span {
      min-height: 42px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: #fff;
      color: #9a7187;
      font-size: 13px;
      font-weight: 900;
    }

    .lumiLog-empty {
      margin-top: 12px;
      border: 1px dashed var(--line2);
      border-radius: 20px;
      background: #fffafd;
      padding: 14px;
      color: #9a7187;
      font-size: 13px;
      line-height: 1.55;
      font-weight: 900;
      text-align: center;
      word-break: keep-all;
    }

    .lumiLog-modal {
      position: fixed;
      inset: 0;
      z-index: 1100;
      display: grid;
      place-items: center;
      padding: max(14px, env(safe-area-inset-top, 0px)) 14px max(14px, env(safe-area-inset-bottom, 0px));
    }

    .lumiLog-modal.hidden { display: none !important; }

    .lumiLog-modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(72, 49, 63, .38);
      backdrop-filter: blur(8px);
    }

    .lumiLog-modal-dialog {
      position: relative;
      z-index: 1;
      width: min(430px, 100%);
      max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      border-radius: 28px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, #fff, #fff7fb);
      box-shadow: 0 28px 80px rgba(70, 50, 64, .24);
      padding: 20px;
    }

    .lumiLog-modal-x {
      position: absolute;
      right: 14px;
      top: 14px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 21px;
      font-weight: 900;
    }

    .lumiLog-modal-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 28px;
      padding: 0 11px;
      border-radius: 999px;
      background: #fff0f7;
      border: 1px solid var(--line);
      color: #d77ca7;
      font-size: 11px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: .04em;
      margin-bottom: 10px;
    }

    .lumiLog-modal-meta {
      padding-right: 42px;
      color: #b28ea2;
      font-size: 12px;
      line-height: 1.4;
      font-weight: 900;
      word-break: keep-all;
    }

    .lumiLog-modal-dialog h3 {
      margin: 7px 0 10px;
      color: #76586a;
      font-size: 21px;
      line-height: 1.28;
      font-weight: 900;
      letter-spacing: -.03em;
      word-break: keep-all;
    }

    .lumiLog-modal-dialog p {
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 14px;
      color: #85677a;
      font-size: 13px;
      line-height: 1.75;
      font-weight: 850;
      word-break: keep-all;
      white-space: pre-line;
    }

    .lumiLog-modal-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      margin-top: 14px;
    }

    .lumiLog-save-main {
      min-height: 44px;
      border-radius: 999px;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      color: #fff;
      font-size: 13px;
      font-weight: 900;
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .lumiLog-close-sub {
      min-height: 42px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 13px;
      font-weight: 900;
    }

    @media (min-width: 760px) {
      .lumiLog-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .lumiLog-item {
        min-height: 150px;
        padding: 20px;
      }
      .lumiLog-item b {
        font-size: 20px;
      }
      .lumiLog-item-preview {
        font-size: 14px;
      }
    }



    /* Game Zone mobile clean patch */
    .game-zone-section {
      overflow: hidden;
    }

    .game-zone-section > h2 {
      margin-top: 12px;
    }

    .game-zone-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      margin-top: 16px;
    }

    .game-zone-card {
      min-height: 134px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: #fff;
      padding: 14px;
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr);
      gap: 13px;
      align-items: center;
      box-shadow: 0 8px 16px rgba(232,191,211,.07);
    }

    .game-zone-card.muted-card {
      background: linear-gradient(180deg, #fff, #fffafd);
    }

    .game-zone-card.ai-chat-card {
      background: linear-gradient(135deg, #fff, #fff6fb 62%, #f8f0ff);
    }

    .game-zone-icon {
      width: 56px;
      height: 56px;
      border-radius: 20px;
      display: grid;
      place-items: center;
      background: #fff0f7;
      border: 1px solid var(--line);
      font-size: 26px;
      align-self: center;
    }

    .game-zone-body {
      min-width: 0;
    }

    .game-zone-chip {
      width: fit-content;
      min-height: 24px;
      display: inline-flex;
      align-items: center;
      padding: 0 9px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff7fb;
      color: #d77ca7;
      font-size: 10.5px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: .04em;
      white-space: nowrap;
    }

    .game-zone-card h3 {
      margin: 8px 0 4px;
      color: #76586a;
      font-size: 18px;
      line-height: 1.25;
      font-weight: 900;
      letter-spacing: -.03em;
      word-break: keep-all;
    }

    .game-zone-card p {
      font-size: 12px;
      line-height: 1.5;
      font-weight: 850;
      color: #9a7187;
      word-break: keep-all;
    }

    .game-zone-btn {
      width: fit-content;
      min-height: 34px;
      margin-top: 10px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 11.5px;
      font-weight: 900;
    }

    .game-zone-btn.primary-look {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .game-zone-btn[aria-disabled="true"] {
      opacity: .78;
    }

    .game-zone-policy {
      margin-top: 13px;
      padding: 13px 14px;
      border: 1px dashed var(--line2);
      border-radius: 20px;
      background: #fffafd;
    }

    .game-zone-policy b {
      display: block;
      color: #d77ca7;
      font-size: 14px;
      line-height: 1.35;
      font-weight: 900;
      margin-bottom: 5px;
    }

    .game-zone-policy p {
      font-size: 12px;
      line-height: 1.58;
      font-weight: 850;
      color: #8f7183;
    }

    @media (min-width: 760px) {
      .game-zone-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .game-zone-card {
        min-height: 184px;
        grid-template-columns: 72px minmax(0, 1fr);
        padding: 20px;
      }

      .game-zone-icon {
        width: 68px;
        height: 68px;
        border-radius: 24px;
        font-size: 32px;
      }

      .game-zone-card h3 {
        font-size: 24px;
      }

      .game-zone-card p,
      .game-zone-policy p {
        font-size: 14px;
      }
    }


    /* v10.26: unify message/mail/lumilog filter rows with calendar filter style */
    .lumiMsg-filters,
    .mail-filter-row,
    .lumiLog-tabs {
      display: flex !important;
      flex-wrap: nowrap !important;
      gap: 8px !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch;
      padding: 0 2px 9px !important;
      margin: 6px 0 10px !important;
      scrollbar-width: none;
    }

    .lumiMsg-filters::-webkit-scrollbar,
    .mail-filter-row::-webkit-scrollbar,
    .lumiLog-tabs::-webkit-scrollbar {
      display: none;
    }

    .lumiMsg-filters button,
    .mail-filter-row button,
    .lumiLog-tabs button {
      flex: 0 0 auto !important;
      min-height: 38px !important;
      padding: 0 17px !important;
      border-radius: 999px !important;
      border: 1px solid var(--line2) !important;
      background: #fff !important;
      color: #9f748d !important;
      font-size: 13px !important;
      font-weight: 900 !important;
      white-space: nowrap !important;
      box-shadow: none;
    }

    .lumiMsg-filters button.active,
    .mail-filter-row button.active,
    .lumiLog-tabs button.active {
      color: #fff !important;
      border-color: transparent !important;
      background: linear-gradient(180deg,#ff82ba,#ff5fa8) !important;
      box-shadow: 0 8px 18px rgba(255,95,168,.14) !important;
    }



    /* Home final polish: centered clock, no ribbon, soft pink-white vertical stripe background */
    .kawaii-home {
      background:
        repeating-linear-gradient(
          90deg,
          rgba(255, 239, 247, 0.78) 0 56px,
          rgba(255, 255, 255, 0.84) 56px 112px
        ),
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,248,252,.92));
      background-size: auto, auto;
    }

    .clock-card {
      text-align: center;
      justify-items: center;
      place-items: center;
      background:
        radial-gradient(circle at 50% 18%, rgba(255,255,255,.82), transparent 24%),
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,245,251,.92) 58%, rgba(248,240,255,.88));
    }

    .clock-card::before {
      content: none !important;
      display: none !important;
    }

    .clock-card > div {
      width: 100%;
      display: grid;
      justify-items: center;
      text-align: center;
    }

    .clock-eyebrow,
    .time,
    .date,
    .copy {
      text-align: center;
    }

    .copy {
      max-width: 260px;
      margin-left: auto;
      margin-right: auto;
      word-break: keep-all;
    }

    .header p {
      word-break: keep-all;
    }



    /* Responsive v1 desktop layout: mobile stable kept, PC/tablet only */
    @media (min-width: 760px) {
      :root {
        --phone-max-mobile: 980px;
      }

      .root {
        padding: 28px 18px 40px;
      }

      .phone {
        width: min(100%, 980px);
        border-width: 12px;
        border-radius: 48px;
        padding: 22px;
      }

      .phone::before {
        width: 118px;
        height: 28px;
        top: 16px;
      }

      .screen {
        min-height: 760px;
        border-radius: 34px;
      }

      .screen-inner {
        width: min(920px, 100%);
        margin: 0 auto;
        padding: 44px 24px 28px;
      }

      .login-view {
        min-height: 680px;
        align-items: center;
        padding: 54px 0 28px;
      }

      .login-card {
        width: min(540px, 100%);
        margin: 0 auto;
        padding: 36px 28px;
      }

      .login-title {
        font-size: 72px;
      }

      .statusbar {
        padding: 0 4px 10px;
      }

      .top-actions {
        gap: 10px;
        margin-bottom: 14px;
      }

      .top-actions a,
      .top-actions button {
        min-height: 42px;
        font-size: 13px;
      }

      .header {
        padding: 22px 24px;
        border-radius: 30px;
        margin-bottom: 16px;
      }

      .header h1 {
        font-size: 58px;
      }

      .header p {
        font-size: 14px;
        line-height: 1.68;
      }

      .tabs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-radius: 24px;
        margin-bottom: 16px;
      }

      .tab {
        min-height: 46px;
        font-size: 13px;
      }

      .badge {
        right: 8px;
        top: 6px;
      }

      .kawaii-home {
        padding: 20px 22px;
        border-radius: 32px;
      }

      .clock-card {
        min-height: 174px;
        padding: 30px 28px 26px;
        margin-bottom: 14px;
      }

      .clock-eyebrow {
        font-size: 13px;
      }

      .time {
        font-size: 78px;
      }

      .date {
        font-size: 15px;
      }

      .copy {
        max-width: none;
        font-size: 14px;
        line-height: 1.6;
      }

      .search {
        min-height: 46px;
        padding: 0 18px;
        font-size: 14px;
        margin: 14px 0 16px;
      }

      .home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .home-card {
        min-height: 134px;
        padding: 18px 18px 18px 72px;
        border-radius: 26px;
      }

      .home-card.no-icon {
        padding-left: 18px;
      }

      .home-card-icon {
        left: 18px;
        top: 18px;
        width: 42px;
        height: 42px;
        border-radius: 16px;
        font-size: 22px;
      }

      .home-card b {
        font-size: 20px;
      }

      .home-card span {
        font-size: 13.5px;
        line-height: 1.55;
      }

      .launch-card {
        padding: 18px;
        border-radius: 30px;
      }

      .launch-head h2 {
        font-size: 24px;
      }

      .icon-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 12px;
      }

      .app-icon {
        min-height: 104px;
        font-size: 13.5px;
      }

      .app-icon i {
        width: 54px;
        height: 54px;
        border-radius: 19px;
        font-size: 26px;
      }

      .module-card,
      .placeholder {
        padding: 24px;
        border-radius: 32px;
        margin-bottom: 16px;
      }

      .module-card h2,
      .placeholder h2 {
        font-size: 30px;
      }

      .module-card > p,
      .placeholder p {
        font-size: 14px;
        line-height: 1.72;
      }

      .mini-tabs {
        grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
        gap: 10px;
      }

      .mini-tab {
        min-height: 44px;
        font-size: 13px;
      }

      .ticket-list,
      .ticket-paged-list,
      .mail-list,
      .message-inbox-list,
      .lumiMsg-list,
      .lumiLog-list,
      .exchange-list,
      .achievement-list,
      .songbook-list,
      .calendar-event-list,
      .stack-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .record-card-grid:not(.record-timeline-list) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .summary-grid,
      .profile-stat-grid,
      .point-grid,
      .record-stat-grid,
      .calendar-summary-grid,
      .point-ledger-summary-grid,
      .homework-status-grid,
      .stamp-benefit-grid,
      .guide-quick-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
      }

      .ticket-card {
        margin-bottom: 0;
      }

      .ticket-card.lumi-pass .ticket-meta,
      .ticket-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .mail-card,
      .lumiLog-card {
        padding: 26px;
      }

      .mail-card .mini-tabs.mail-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .mail-card .mini-tabs.mail-tabs .mini-tab,
      .lumiMsg-tabs .mini-tab,
      .songbook-tabs .mini-tab {
        min-height: 46px;
      }

      .mail-filter-row,
      .lumiMsg-filters,
      .lumiLog-tabs,
      .calendar-filter-row,
      .exchange-filter-row,
      .achievement-filter-row {
        gap: 9px !important;
      }

      .mail-filter-row button,
      .lumiMsg-filters button,
      .lumiLog-tabs button,
      .calendar-filter-row button,
      .exchange-filter-pill,
      .achievement-filter-pill {
        min-height: 40px !important;
        font-size: 13px !important;
        padding: 0 18px !important;
      }

      .lumiMsg-card,
      .mail-item,
      .lumiLog-item,
      .exchange-card,
      .achievement-card,
      .songbook-row,
      .calendar-event-card,
      .guide-card {
        border-radius: 24px;
      }

      .lumiMsg-card,
      .mail-item,
      .lumiLog-item {
        min-height: 132px;
      }

      .lumiMsg-icon,
      .mail-item .icon,
      .list-icon {
        width: 54px;
        height: 54px;
        border-radius: 18px;
        font-size: 24px;
      }

      .mail-modal-dialog,
      .lumiMsg-dialog,
      .lumiLog-modal-dialog,
      .achievement-dialog,
      .profile-title-dialog,
      .profile-media-dialog {
        width: min(720px, calc(100vw - 64px));
        max-height: calc(100vh - 64px);
      }

      .lumiMsg-chatLog,
      .message-phone {
        padding: 22px;
        gap: 12px;
      }

      .bubble {
        max-width: 82%;
        font-size: 14px;
      }

      .profile-cover {
        min-height: 210px;
      }

      .profile-main {
        grid-template-columns: 128px minmax(0, 1fr);
        column-gap: 22px;
        padding: 0 28px 24px;
      }

      .profile-avatar {
        width: 128px;
        height: 128px;
        font-size: 54px;
      }

      .profile-title-row {
        margin-top: 70px;
      }

      .profile-name {
        font-size: 38px;
      }

      .profile-info-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }

      .profile-edit-panel {
        padding: 18px;
      }

      .profile-setting-list,
      .profile-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }

      .profile-edit-actions,
      .mail-actions,
      .lumiMsg-actions,
      .lumiLog-modal-actions,
      .mail-modal-actions {
        gap: 10px;
      }

      .stamp-grid {
        grid-template-columns: repeat(10, minmax(0, 1fr));
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
      }

      .homework-main-card,
      .homework-pickup-card {
        padding: 20px;
      }

      .homework-info-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .game-zone-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .game-zone-card {
        min-height: 184px;
      }
    }


    /* PC size tune v1: reference old wide LUMI PHONE frame, mobile kept intact */
    @media (min-width: 760px) {
      :root {
        --phone-max-mobile: 1000px;
      }

      .root {
        padding: 22px 16px 42px;
      }

      .phone {
        width: min(1000px, calc(100vw - 32px));
        max-width: 1000px;
        padding: 22px;
        border-width: 12px;
        border-radius: 48px;
      }

      .phone::before {
        width: 118px;
        height: 28px;
        top: 16px;
      }

      .screen {
        min-height: 900px;
        border-radius: 34px;
      }

      .screen-inner {
        width: min(920px, 100%);
        padding: 44px 24px 28px;
      }

      .statusbar {
        padding: 0 4px 10px;
      }

      .header {
        padding: 22px 24px;
        border-radius: 30px;
        margin-bottom: 16px;
      }

      .header h1 {
        font-size: 56px;
      }

      .tabs {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 8px;
        padding: 10px;
        border-radius: 24px;
        margin-bottom: 16px;
      }

      .tab {
        min-height: 46px;
        font-size: 12px;
      }

      .kawaii-home {
        padding: 20px;
        border-radius: 32px;
      }

      .clock-card {
        min-height: 156px;
        padding: 26px 24px 22px;
        margin-bottom: 14px;
      }

      .time {
        font-size: 72px;
      }

      .date {
        font-size: 15px;
      }

      .copy {
        font-size: 14px;
        line-height: 1.6;
      }

      .search {
        min-height: 46px;
        padding: 0 16px;
        font-size: 14px;
      }

      .home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .icon-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 10px;
      }

      .app-icon {
        min-height: 98px;
      }

      .module-card,
      .placeholder {
        padding: 22px;
        border-radius: 30px;
      }

      .mail-modal-dialog,
      .lumiMsg-dialog,
      .lumiLog-modal-dialog,
      .achievement-dialog,
      .profile-title-dialog,
      .profile-media-dialog,
      .game-ready-dialog,
      .onair-ready-dialog {
        width: min(720px, calc(100vw - 64px));
        max-height: calc(100vh - 64px);
      }
    }

@supports (-webkit-touch-callout: none) {
      #page-profile .profile-edit-modal,
      #page-profile .profile-title-modal {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
      }

      #page-profile .profile-edit-dialog {
        height: calc(100dvh - 18px) !important;
        overflow: hidden !important;
        transition: none !important;
        will-change: auto !important;
        backface-visibility: hidden;
        box-shadow: none !important;
        transform: none !important;
        -webkit-transform: none !important;
      }

      #page-profile .profile-edit-topbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 30 !important;
        padding-top: calc(env(safe-area-inset-top, 0px) + 10px) !important;
      }

      #page-profile .profile-field,
      #page-profile .profile-field input,
      #page-profile .birthday-selects select,
      #page-profile .profile-oshi-button {
        transition: none !important;
        will-change: auto !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
        box-shadow: none !important;
        transform: none !important;
        -webkit-transform: none !important;
      }

      #page-profile .profile-field input,
      #page-profile .birthday-selects select,
      #page-profile .profile-oshi-button {
        font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif !important;
        font-size: 16px !important;
        font-weight: 650 !important;
        line-height: 1.35 !important;
        color: #76586a !important;
        background: #fff !important;
        caret-color: #ff5fa8 !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        isolation: isolate !important;
        contain: paint !important;
      }

      #page-profile .profile-field input:focus,
      #page-profile .birthday-selects select:focus,
      #page-profile .profile-oshi-button:focus {
        box-shadow: none !important;
        outline: none !important;
        border-color: var(--line2);
      }
    }


    /* Profile final mobile polish: no bottom action bar, no gray icon haze */
    #page-profile .profile-main {
      padding-bottom: 10px !important;
    }

    #page-profile .profile-public-tags {
      margin-top: 5px !important;
      margin-bottom: 0 !important;
    }

    #page-profile .profile-share-button,
    #page-profile .profile-camera-button {
      background: #fff7fb !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      filter: none !important;
    }

    #page-profile .profile-edit-hero {
      flex: 0 0 auto !important;
    }

    #page-profile .profile-edit-actions-bottom {
      display: none !important;
    }

  

    /* LUMIPHONE PROFILE INPUT CARET FLICKER PATCH - profile modal only */
    #page-profile .profile-edit-modal {
      -webkit-backdrop-filter: none !important;
      backdrop-filter: none !important;
    }

    #page-profile .profile-edit-dialog,
    #page-profile .profile-form-compact,
    #page-profile .profile-field,
    #page-profile .profile-field input,
    #page-profile .birthday-selects select,
    #page-profile .profile-oshi-button {
      -webkit-font-smoothing: antialiased !important;
      -webkit-backface-visibility: hidden !important;
      backface-visibility: hidden !important;
      isolation: isolate !important;
      will-change: auto !important;
      transform: none !important;
      -webkit-transform: none !important;
      transition: none !important;
      animation: none !important;
      filter: none !important;
      text-shadow: none !important;
      box-shadow: none !important;
    }

    #page-profile .profile-field input,
    #page-profile .birthday-selects select {
      background: #fff !important;
      background-image: none !important;
      caret-color: #ff5fa8 !important;
      outline: none !important;
      -webkit-tap-highlight-color: transparent !important;
    }

    #page-profile .profile-field input:focus,
    #page-profile .birthday-selects select:focus {
      background: #fff !important;
      border-color: rgba(239,188,213,.98) !important;
      outline: none !important;
      box-shadow: none !important;
    }

    #page-profile .profile-field:focus-within {
      border-color: rgba(239,188,213,.98) !important;
      outline: none !important;
      box-shadow: none !important;
    }


    /* Achievement tab final: summary boxes + category archive + detail/share modal */
    .achievement-module > p {
      font-size: 12.5px;
      line-height: 1.62;
      word-break: keep-all;
    }

    .achievement-summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
      margin: 12px 0 10px;
    }

    .achievement-summary-card {
      min-height: 74px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fff;
      padding: 11px 10px;
      box-shadow: 0 8px 16px rgba(232,191,211,.07);
      display: grid;
      align-content: center;
      text-align: center;
    }

    .achievement-summary-card small {
      display: block;
      color: #b5869c;
      font-size: 11px;
      line-height: 1.25;
      font-weight: 900;
      letter-spacing: .02em;
    }

    .achievement-summary-card b {
      display: block;
      margin-top: 5px;
      color: var(--pink);
      font-size: 23px;
      line-height: 1;
      font-weight: 900;
      word-break: keep-all;
    }

    .achievement-summary-card span {
      display: block;
      margin-top: 6px;
      color: #8d6b7d;
      font-size: 10.8px;
      line-height: 1.35;
      font-weight: 850;
      word-break: keep-all;
    }

    .achievement-share-tool {
      margin: 10px 0 14px;
      padding: 12px 11px 11px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: linear-gradient(180deg, #fff, #fff7fb);
      box-shadow: 0 8px 16px rgba(232,191,211,.06);
      text-align: center;
    }

    .achievement-share-tool small,
    .achievement-inline-share small {
      display: block;
      margin-bottom: 9px;
      color: #b5869c;
      font-size: 11px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: .04em;
    }

    .achievement-share-icons {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 7px;
    }

    .achievement-share-action {
      min-height: 58px;
      border: 1px solid var(--line2);
      border-radius: 18px;
      background: #fff;
      color: #9a7187;
      display: grid;
      place-items: center;
      gap: 2px;
      padding: 7px 4px 6px;
      box-shadow: 0 6px 12px rgba(232,191,211,.06);
      -webkit-tap-highlight-color: transparent;
    }

    .achievement-share-action b {
      display: block;
      color: #d77ca7;
      font-size: 20px;
      line-height: 1;
      font-weight: 900;
    }

    .achievement-share-action span {
      display: block;
      color: #8d6b7d;
      font-size: 10.5px;
      line-height: 1.1;
      font-weight: 900;
      white-space: nowrap;
    }

    .achievement-filter-label {
      margin: 12px 0 7px;
      color: #d77ca7;
      font-size: 12px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: .02em;
    }

    .achievement-filter-row {
      display: flex;
      gap: 7px;
      margin: 0 -2px 12px;
      padding: 0 2px 4px;
      overflow-x: auto;
      overscroll-behavior-x: contain;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .achievement-filter-row::-webkit-scrollbar { display: none; }

    .achievement-filter-pill {
      flex: 0 0 auto;
      min-height: 31px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 11px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 11.5px;
      font-weight: 900;
      white-space: nowrap;
      -webkit-tap-highlight-color: transparent;
    }

    .achievement-filter-pill.active {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 16px rgba(255,95,168,.12);
    }

    .achievement-list-title {
      margin: 10px 0 2px;
      color: #d77ca7;
      font-size: 12px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: .02em;
    }

    .achievement-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
      margin-top: 10px;
    }

    .achievement-card {
      position: relative;
      min-height: 128px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 11px 9px 10px;
      display: grid;
      align-content: center;
      justify-items: center;
      gap: 6px;
      text-align: center;
      color: #76586a;
      box-shadow: 0 8px 16px rgba(232,191,211,.07);
      -webkit-tap-highlight-color: transparent;
    }

    .achievement-card[hidden] { display: none !important; }

    .achievement-card.locked { background: #fffafd; color: #9a7187; }
    .achievement-card.progressing { background: linear-gradient(180deg, #fff, #fff7fb); }
    .achievement-card.hidden-achievement { background: linear-gradient(135deg, #fff, #fff7fb); border-style: dashed; }

    .achievement-more-button {
      position: absolute;
      right: 8px;
      top: 7px;
      width: 25px;
      height: 25px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: #fffafd;
      color: #d77ca7;
      font-size: 17px;
      line-height: 1;
      font-weight: 900;
      pointer-events: none;
    }

    .achievement-icon {
      width: 43px;
      height: 43px;
      border-radius: 17px;
      display: grid;
      place-items: center;
      background: linear-gradient(180deg, #fff0f7, #f8f0ff);
      border: 1px solid var(--line);
      color: #d77ca7;
      font-size: 21px;
      line-height: 1;
    }

    .achievement-card.locked .achievement-icon,
    .achievement-card.hidden-achievement .achievement-icon { color: #b28ea2; background: #fff; }

    .achievement-state {
      min-height: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 8px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff7fb;
      color: #d77ca7;
      font-size: 10.2px;
      line-height: 1;
      font-weight: 900;
      white-space: nowrap;
    }

    .achievement-state.locked { border-color: #ead7e2; background: #fff; color: #b28ea2; }

    .achievement-card h3 {
      margin: 0;
      color: inherit;
      font-size: 13.8px;
      line-height: 1.28;
      font-weight: 900;
      word-break: keep-all;
    }

    .achievement-title-line {
      display: block;
      color: #d77ca7;
      font-size: 10.6px;
      line-height: 1.35;
      font-weight: 900;
      word-break: keep-all;
    }

    .achievement-card.locked .achievement-title-line,
    .achievement-card.hidden-achievement .achievement-title-line { color: #b28ea2; }

    .achievement-more-hint {
      margin-top: 11px;
      color: #9a7187;
      font-size: 11.5px;
      line-height: 1.55;
      font-weight: 850;
      text-align: center;
      word-break: keep-all;
    }

    .achievement-modal {
      position: fixed;
      inset: 0;
      z-index: 1004;
      display: grid;
      place-items: center;
      padding: 14px;
      background: rgba(70, 50, 64, 0.42);
      backdrop-filter: blur(8px);
      overscroll-behavior: none;
    }

    .achievement-modal.hidden { display: none !important; }

    .achievement-dialog {
      width: min(440px, 100%);
      max-height: min(680px, calc(100dvh - 28px));
      overflow: auto;
      border-radius: 28px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.98);
      box-shadow: 0 28px 80px rgba(70, 50, 64, .24);
      padding: 16px;
      text-align: center;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
    }

    .achievement-modal-topbar {
      display: grid;
      grid-template-columns: 40px 1fr 40px;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
    }

    .achievement-modal-topbar h3 {
      margin: 0;
      color: #d77ca7;
      font-size: 21px;
      line-height: 1.15;
      font-weight: 900;
      word-break: keep-all;
    }

    .achievement-close {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 20px;
      font-weight: 900;
    }

    .achievement-modal-icon {
      width: 72px;
      height: 72px;
      display: grid;
      place-items: center;
      margin: 10px auto 12px;
      border-radius: 24px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, #fff0f7, #f8f0ff);
      color: #d77ca7;
      font-size: 34px;
    }

    .achievement-modal-states {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 6px;
      margin-bottom: 10px;
    }

    .achievement-modal-desc {
      margin: 0 auto 12px;
      color: #7c5b6d;
      font-size: 13px;
      line-height: 1.65;
      font-weight: 850;
      word-break: keep-all;
    }

    .achievement-meta {
      display: grid;
      grid-template-columns: 88px minmax(0, 1fr);
      gap: 7px 9px;
      margin: 12px 0;
      padding: 13px;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: #fffafd;
      text-align: left;
    }

    .achievement-meta b,
    .achievement-meta span {
      color: #7c5b6d;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 900;
      word-break: keep-all;
    }

    .achievement-meta b { color: #b07693; }

    .achievement-modal-actions {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      margin-top: 12px;
    }

    .achievement-btn {
      min-height: 38px;
      padding: 0 14px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 12.5px;
      font-weight: 900;
      white-space: nowrap;
    }

    .achievement-btn.primary-look {
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      color: #fff;
      box-shadow: 0 8px 18px rgba(255,95,168,.12);
    }

    .achievement-btn:disabled,
    .achievement-share-action:disabled { opacity: .55; cursor: default; }

    .achievement-inline-share {
      margin-top: 13px;
      padding: 12px 10px 10px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fffafd;
      text-align: center;
    }

    @media (max-width: 374px) {
      .achievement-summary-card { min-height: 70px; padding: 10px 8px; }
      .achievement-summary-card b { font-size: 20px; }
      .achievement-list { gap: 8px; }
      .achievement-card { min-height: 118px; padding: 11px 7px 10px; }
      .achievement-icon { width: 39px; height: 39px; border-radius: 15px; font-size: 20px; }
      .achievement-card h3 { font-size: 13px; }
      .achievement-title-line { font-size: 10.2px; }
      .achievement-meta { grid-template-columns: 1fr; }
      .achievement-share-action b { font-size: 18px; }
      .achievement-share-action span { font-size: 10px; }
    }


    /* Global simple modal for achievement share notices */
    .profile-simple-modal {
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: grid;
      place-items: center;
      padding: 14px;
      background: rgba(70, 50, 64, 0.42);
      backdrop-filter: blur(8px);
    }

    .profile-simple-modal.hidden { display: none !important; }

    .profile-simple-dialog {
      width: min(380px, 100%);
      border: 1px solid var(--line);
      border-radius: 26px;
      background: #fff;
      box-shadow: 0 28px 80px rgba(70, 50, 64, .24);
      padding: 18px;
    }

    .profile-simple-topbar {
      display: grid;
      grid-template-columns: 1fr 36px;
      gap: 10px;
      align-items: start;
      margin-bottom: 12px;
    }

    .profile-simple-topbar h3 {
      margin: 0;
      color: #d77ca7;
      font-size: 20px;
      line-height: 1.25;
      font-weight: 900;
      word-break: keep-all;
    }

    .profile-simple-close {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 18px;
      font-weight: 900;
    }

    .profile-simple-body {
      display: grid;
      gap: 7px;
      margin-bottom: 14px;
    }

    .profile-simple-body p {
      margin: 0;
      color: #8f7183;
      font-size: 13px;
      line-height: 1.62;
      font-weight: 850;
      word-break: keep-all;
    }

    .profile-simple-ok {
      width: 100%;
      min-height: 38px;
      border-radius: 999px;
      border: 0;
      background: linear-gradient(180deg,#ff82ba,#ff5fa8);
      color: #fff;
      font-size: 13px;
      font-weight: 900;
    }


    .profile-simple-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .profile-simple-action-btn {
      min-height: 38px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 13px;
      font-weight: 900;
    }

    .profile-simple-action-btn.primary-look {
      border-color: transparent;
      background: linear-gradient(180deg,#ff82ba,#ff5fa8);
      color: #fff;
    }

    /* Profile share final clean block */
    .profile-simple-modal.is-profile-share,
    #page-profile .profile-simple-modal.is-profile-share {
      background: rgba(70, 50, 64, 0.16) !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      padding: 2px !important;
      place-items: center !important;
    }

    .profile-simple-modal.is-profile-share .profile-simple-dialog,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-dialog {
      width: min(780px, calc(100vw - 2px)) !important;
      max-height: calc(100dvh - 4px) !important;
      overflow-y: auto !important;
      padding: 6px 6px 10px !important;
      border: 0 !important;
      border-radius: 26px !important;
      background: #fff !important;
      filter: none !important;
      box-shadow: 0 14px 42px rgba(70, 50, 64, .10) !important;
    }

    .profile-simple-modal.is-profile-share .profile-simple-topbar,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-topbar {
      margin-top: 10px !important;
      margin-bottom: 8px !important;
      padding-left: 10px !important;
      padding-right: 8px !important;
      align-items: center !important;
    }

    .profile-simple-modal.is-profile-share .profile-simple-topbar h3,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-topbar h3 {
      padding-left: 14px !important;
      padding-top: 6px !important;
      font-size: 26px !important;
      line-height: 1.12 !important;
      letter-spacing: -0.03em !important;
    }

    .profile-simple-modal.is-profile-share .profile-simple-body,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-body {
      gap: 4px !important;
      margin-bottom: 6px !important;
      padding: 0 !important;
    }

    .profile-simple-modal.is-profile-share .profile-share-preview-wrap,
    #page-profile .profile-simple-modal.is-profile-share .profile-share-preview-wrap {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      border: 0 !important;
      outline: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }

    .profile-simple-modal.is-profile-share .profile-share-preview-img,
    #page-profile .profile-share-preview-img {
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
      border: 0 !important;
      border-radius: 22px !important;
      background: transparent !important;
      box-shadow: none !important;
      filter: none !important;
    }

    .profile-simple-modal.is-profile-share .profile-simple-body > p,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-body > p {
      margin: 2px 0 0 !important;
      font-size: 12.5px !important;
      line-height: 1.28 !important;
      text-align: center !important;
      color: #8d6b7d !important;
    }

    .profile-simple-modal.is-profile-share .profile-simple-actions,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-actions {
      display: grid !important;
      grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      gap: 8px !important;
    }

    .profile-simple-modal.is-profile-share .profile-simple-action-btn,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-action-btn {
      min-height: 58px !important;
      border: 1px solid var(--line2) !important;
      border-radius: 18px !important;
      background: #fff !important;
      color: #8d6b7d !important;
      display: grid !important;
      grid-template-rows: auto auto !important;
      place-items: center !important;
      gap: 3px !important;
      padding: 7px 4px 6px !important;
      box-shadow: 0 6px 12px rgba(232,191,211,.06) !important;
      font-size: 10.5px !important;
      line-height: 1.08 !important;
      font-weight: 900 !important;
      white-space: normal !important;
    }

    .profile-simple-modal.is-profile-share .profile-simple-action-btn b,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-action-btn b {
      display: block !important;
      color: #d77ca7 !important;
      font-size: 20px !important;
      line-height: 1 !important;
      font-weight: 900 !important;
    }

    .profile-simple-modal.is-profile-share .profile-simple-action-btn span,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-action-btn span {
      display: block !important;
      color: #8d6b7d !important;
      font-size: 10.5px !important;
      line-height: 1.08 !important;
      font-weight: 900 !important;
      white-space: nowrap !important;
    }

    .profile-simple-modal.is-profile-share .profile-simple-action-btn.primary-look,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-action-btn.primary-look {
      border-color: transparent !important;
      background: linear-gradient(180deg,#ff82ba,#ff5fa8) !important;
    }

    .profile-simple-modal.is-profile-share .profile-simple-action-btn.primary-look b,
    .profile-simple-modal.is-profile-share .profile-simple-action-btn.primary-look span,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-action-btn.primary-look b,
    #page-profile .profile-simple-modal.is-profile-share .profile-simple-action-btn.primary-look span {
      color: #fff !important;
    }

    #profileJoinTag {
      display: none !important;
    }




    /* Ticket wallet pagination */
    .ticket-pager-scope {
      display: none;
      gap: 10px;
    }

    .ticket-pager-scope.active {
      display: grid;
    }

    .ticket-paged-list {
      display: grid;
      gap: 10px;
    }

    .ticket-page-item {
      display: none;
      gap: 8px;
    }

    .ticket-page-item.active {
      display: grid;
    }

    .ticket-pagination {
      display: grid;
      grid-template-columns: 42px 1fr 42px;
      align-items: center;
      gap: 8px;
      margin-top: 8px;
    }

    .ticket-pagination button {
      width: 42px;
      height: 36px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 18px;
      line-height: 1;
      font-weight: 900;
      box-shadow: 0 6px 12px rgba(232,191,211,.06);
    }

    .ticket-pagination button:disabled {
      opacity: .42;
    }

    .ticket-pagination span {
      text-align: center;
      color: #9a7187;
      font-size: 12px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: .03em;
    }

    .ticket-filter-row {
      display: flex;
      gap: 7px;
      overflow-x: auto;
      padding: 2px 1px 6px;
      margin: 2px 0 2px;
      scrollbar-width: none;
    }

    .ticket-filter-row::-webkit-scrollbar {
      display: none;
    }

    .ticket-filter-pill {
      flex: 0 0 auto;
      min-height: 34px;
      padding: 0 13px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 11.5px;
      font-weight: 900;
      white-space: nowrap;
    }

    .ticket-filter-pill.active {
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      color: #fff;
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }


    /* Ticket wallet compact main tabs */
    .ticket-main-tabs {
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      gap: 7px !important;
    }

    .ticket-main-tabs .mini-tab {
      min-height: 36px !important;
      font-size: 11.2px !important;
      letter-spacing: -0.02em;
    }


    /* Current Ticket compact tuning */
    .ticket-card.lumi-pass .ticket-inner::before {
      content: none;
      display: none;
    }

    .ticket-card.lumi-pass .ticket-inner {
      margin: 11px;
      padding: 15px;
    }

    .ticket-card.lumi-pass .lumi-pass-top {
      margin-top: 0;
      gap: 8px;
    }

    .ticket-card.lumi-pass .lumi-pass-label {
      min-height: 28px;
      padding: 0 10px;
      font-size: 10.5px;
    }

    .ticket-card.lumi-pass .lumi-pass-date {
      font-size: 10.5px;
      line-height: 1.3;
    }

    .ticket-card.lumi-pass .lumi-pass-title {
      margin: 12px 0 3px;
      font-size: 36px;
    }

    .ticket-card.lumi-pass .lumi-pass-sub {
      font-size: 16px;
      line-height: 1.3;
    }

    .ticket-card.lumi-pass .lumi-pass-place {
      margin-top: 5px;
      font-size: 12px;
      line-height: 1.4;
    }

    .ticket-card.lumi-pass .lumi-entry-box {
      margin: 12px 0 10px;
      padding: 12px;
      border-radius: 20px;
    }

    .ticket-card.lumi-pass .lumi-entry-box small {
      font-size: 10.5px;
    }

    .ticket-card.lumi-pass .lumi-entry-box strong {
      font-size: 42px;
      letter-spacing: .12em;
    }

    .ticket-card.lumi-pass .ticket-cell {
      min-height: 46px;
      padding: 7px 9px;
    }

    .ticket-card.lumi-pass .ticket-cell small {
      font-size: 9.5px;
    }

    .ticket-card.lumi-pass .ticket-cell b {
      font-size: 11px;
    }

    @media (max-width: 430px) {
      .ticket-card.lumi-pass .lumi-pass-title {
        font-size: 34px;
      }

      .ticket-card.lumi-pass .lumi-pass-sub {
        font-size: 15px;
      }

      .ticket-card.lumi-pass .lumi-entry-box strong {
        font-size: 38px;
      }
    }


    /* Birthday Ticket compact limited design */
    .ticket-card.birthday-pass {
      color: #76586a;
      background:
        radial-gradient(circle at 90% 8%, rgba(255,255,255,.58), transparent 24%),
        linear-gradient(135deg, #fff8fb, #ffd9e8 52%, #fff2d9 100%);
      border: 1px solid #f4c8dc;
      box-shadow: 0 18px 36px rgba(255,149,190,.16);
    }

    .ticket-card.birthday-pass .ticket-inner {
      margin: 11px;
      padding: 15px;
      border-color: rgba(124,91,109,.22);
      background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,248,252,.58));
    }

    .ticket-card.birthday-pass .ticket-kicker {
      color: #c7779a;
      opacity: 1;
    }

    .ticket-card.birthday-pass .ticket-title {
      color: #d879a5;
      font-family: "Cormorant Garamond", serif;
      font-size: 38px;
      line-height: .96;
      letter-spacing: -.035em;
    }

    .ticket-card.birthday-pass .ticket-sub {
      color: #76586a;
      font-size: 14px;
      line-height: 1.45;
    }

    .ticket-card.birthday-pass .ticket-number {
      margin: 12px 0 10px;
      padding: 12px;
      border-radius: 20px;
      background: rgba(255,255,255,.48);
      border: 1px solid rgba(244,200,220,.75);
    }

    .ticket-card.birthday-pass .ticket-number small {
      color: #b28ea2;
      opacity: 1;
      letter-spacing: .10em;
    }

    .ticket-card.birthday-pass .ticket-number strong {
      color: #ef6ca8;
      font-size: 42px;
      letter-spacing: .08em;
    }

    .ticket-card.birthday-pass .ticket-cell {
      min-height: 46px;
      padding: 7px 9px;
      background: rgba(255,255,255,.48);
      border: 1px solid rgba(244,200,220,.55);
    }

    .ticket-card.birthday-pass .ticket-cell small {
      color: #c184a3;
      opacity: 1;
      font-size: 9.5px;
    }

    .ticket-card.birthday-pass .ticket-cell b {
      color: #76586a;
      font-size: 11px;
    }


    /* Birthday Ticket date-range layout */
    .ticket-card.birthday-pass .birthday-ticket-inner {
      padding: 15px;
    }

    .birthday-pass-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 12px;
    }

    .birthday-pass-label {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0 12px;
      border: 1px solid #f2b6d2;
      border-radius: 999px;
      background: rgba(255,255,255,.70);
      color: #d879a5;
      font-size: 11px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: .08em;
      white-space: nowrap;
    }

    .birthday-pass-period {
      flex: 0 0 auto;
      text-align: right;
      color: #ff5fa8;
      font-weight: 900;
      line-height: 1.25;
    }

    .birthday-pass-period small {
      display: block;
      font-size: 10.5px;
      letter-spacing: .03em;
    }

    .birthday-pass-period b {
      display: block;
      margin-top: 2px;
      font-size: 13px;
    }

    .ticket-card.birthday-pass .birthday-period-box {
      margin: 13px 0 11px;
      padding: 13px 10px;
      border-radius: 20px;
    }

    .ticket-card.birthday-pass .birthday-period-box small {
      font-size: 10.5px;
    }

    .ticket-card.birthday-pass .birthday-period-box strong {
      font-size: 31px;
      letter-spacing: .04em;
    }

    .ticket-card.birthday-pass .birthday-meta {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .ticket-card.birthday-pass .birthday-meta .ticket-cell {
      min-height: 58px;
      border-radius: 16px;
    }

    .ticket-card.birthday-pass .birthday-meta .ticket-cell b {
      line-height: 1.35;
    }

    @media (max-width: 430px) {
      .birthday-pass-top {
        display: grid;
        gap: 7px;
      }

      .birthday-pass-period {
        text-align: left;
      }

      .birthday-pass-label {
        width: fit-content;
        max-width: 100%;
        font-size: 10px;
        padding: 0 10px;
      }

      .ticket-card.birthday-pass .ticket-title {
        font-size: 34px;
      }

      .ticket-card.birthday-pass .ticket-sub {
        font-size: 13px;
      }

      .ticket-card.birthday-pass .birthday-period-box strong {
        font-size: 25px;
      }

      .ticket-card.birthday-pass .birthday-meta {
        grid-template-columns: 1fr 1fr;
      }
    }


    /* Ticket benefit Z Flip Chrome grid stabilization patch */
    #ticket-benefit .ticket-card.soft .ticket-meta,
    #ticket-benefit .ticket-card.birthday-pass .ticket-meta,
    #ticket-benefit .ticket-card.birthday-pass .birthday-meta {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 8px !important;
    }

    #ticket-benefit .ticket-card.soft .ticket-inner {
      padding: 16px !important;
    }

    #ticket-benefit .ticket-card.soft .ticket-cell,
    #ticket-benefit .ticket-card.birthday-pass .ticket-cell,
    #ticket-benefit .ticket-card.birthday-pass .birthday-meta .ticket-cell {
      min-height: 58px !important;
      padding: 8px 10px !important;
    }

    #ticket-benefit .ticket-card.soft .ticket-cell small,
    #ticket-benefit .ticket-card.birthday-pass .ticket-cell small {
      font-size: 10.5px !important;
      line-height: 1.25 !important;
    }

    #ticket-benefit .ticket-card.soft .ticket-cell b,
    #ticket-benefit .ticket-card.birthday-pass .ticket-cell b {
      font-size: 12px !important;
      line-height: 1.35 !important;
    }

    #ticket-benefit .ticket-pagination {
      margin-top: 4px !important;
    }

    @media (max-width: 330px) {
      #ticket-benefit .ticket-card.soft .ticket-meta,
      #ticket-benefit .ticket-card.birthday-pass .ticket-meta,
      #ticket-benefit .ticket-card.birthday-pass .birthday-meta {
        grid-template-columns: 1fr !important;
      }
    }



    /* Exchange: clean mobile pagination patch */
    .exchange-module > p {
      font-size: 13px;
      line-height: 1.65;
    }

    .exchange-point-rule {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
      margin: 12px 0 13px;
    }

    .exchange-rule-card {
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fff;
      padding: 12px;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
    }

    .exchange-rule-card small {
      display: block;
      color: #b5869c;
      font-size: 11px;
      font-weight: 900;
    }

    .exchange-rule-card b {
      display: block;
      margin-top: 4px;
      color: var(--pink);
      font-size: 20px;
      line-height: 1.1;
      font-weight: 900;
    }

    .exchange-rule-card span {
      display: block;
      margin-top: 7px;
      color: #8d6b7d;
      font-size: 11.5px;
      line-height: 1.45;
      font-weight: 800;
      word-break: keep-all;
    }

    .exchange-filter-label,
    .exchange-list-title {
      margin: 12px 0 8px;
      color: #b07693;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .02em;
    }

    .exchange-filter-row {
      display: flex;
      gap: 7px;
      overflow-x: auto;
      padding: 1px 1px 8px;
      margin-bottom: 5px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .exchange-filter-row::-webkit-scrollbar { display: none; }

    .exchange-filter-pill {
      flex: 0 0 auto;
      min-height: 34px;
      padding: 0 13px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 11.5px;
      font-weight: 900;
      white-space: nowrap;
    }

    .exchange-filter-pill.active {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .exchange-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 8px;
    }

    .exchange-card {
      position: relative;
      min-height: 136px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 11px 7px 10px;
      color: #7f5f72;
      display: grid;
      justify-items: center;
      align-content: start;
      gap: 6px;
      text-align: center;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
      overflow: hidden;
    }

    .exchange-card[hidden] { display: none !important; }

    .exchange-cost {
      position: absolute;
      right: 7px;
      top: 7px;
      min-height: 22px;
      display: inline-flex;
      align-items: center;
      padding: 0 7px;
      border-radius: 999px;
      border: 1px solid rgba(239,188,213,.84);
      background: #fff7fb;
      color: #d77ca7;
      font-size: 9.8px;
      line-height: 1;
      font-weight: 900;
      white-space: nowrap;
    }

    .exchange-icon {
      width: 39px;
      height: 39px;
      border-radius: 15px;
      display: grid;
      place-items: center;
      background: #fff0f7;
      color: #d77ca7;
      font-size: 20px;
      border: 1px solid #f4d2e3;
      margin-top: 5px;
    }

    .exchange-card h3 {
      margin: 1px 0 0;
      color: #76586a;
      font-size: 13px;
      line-height: 1.25;
      font-weight: 900;
      letter-spacing: -.02em;
      word-break: keep-all;
    }

    .exchange-desc {
      display: block;
      color: #9a7187;
      font-size: 10.5px;
      line-height: 1.35;
      font-weight: 800;
      word-break: keep-all;
    }

    .exchange-state {
      min-height: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 8px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fffafd;
      color: #b28ea2;
      font-size: 10px;
      font-weight: 900;
      margin-top: auto;
    }

    .exchange-pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 9px;
      margin: 12px 0 8px;
    }

    .exchange-pagination button {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 20px;
      line-height: 1;
      font-weight: 900;
    }

    .exchange-pagination button:disabled {
      opacity: .42;
      cursor: default;
    }

    .exchange-pagination span {
      min-height: 28px;
      display: inline-flex;
      align-items: center;
      padding: 0 10px;
      border-radius: 999px;
      background: #fff7fb;
      border: 1px solid var(--line);
      color: #b07693;
      font-size: 11px;
      font-weight: 900;
      white-space: nowrap;
    }

    .exchange-note {
      margin-top: 8px;
      padding: 12px;
      border-radius: 18px;
      border: 1px dashed var(--line2);
      background: #fffafd;
      color: #8f7183;
      font-size: 12px;
      line-height: 1.55;
      font-weight: 800;
      word-break: keep-all;
    }

    @media (max-width: 360px) {
      .exchange-list { gap: 7px; }
      .exchange-card { min-height: 132px; padding-left: 6px; padding-right: 6px; }
      .exchange-card h3 { font-size: 12.5px; }
      .exchange-desc { font-size: 10px; }
    }



    /* Record: memory card pagination patch */
    .record-module > p {
      font-size: 13px;
      line-height: 1.65;
    }

    .record-summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin: 12px 0 13px;
    }

    .record-summary-card {
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fff;
      padding: 12px;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
    }

    .record-summary-card small {
      display: block;
      color: #b5869c;
      font-size: 10.8px;
      font-weight: 900;
    }

    .record-summary-card b {
      display: block;
      margin-top: 4px;
      color: var(--pink);
      font-size: 22px;
      line-height: 1;
      font-weight: 900;
    }

    .record-summary-card span {
      display: block;
      margin-top: 7px;
      color: #8d6b7d;
      font-size: 10.8px;
      line-height: 1.38;
      font-weight: 800;
      word-break: keep-all;
    }

    .record-filter-label,
    .record-list-title {
      margin: 12px 0 8px;
      color: #b07693;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .02em;
    }

    .record-filter-row {
      display: flex;
      gap: 7px;
      overflow-x: auto;
      padding: 1px 1px 8px;
      margin-bottom: 5px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .record-filter-row::-webkit-scrollbar { display: none; }

    .record-filter-pill {
      flex: 0 0 auto;
      min-height: 34px;
      padding: 0 13px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 11.5px;
      font-weight: 900;
      white-space: nowrap;
    }

    .record-filter-pill.active {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .record-card-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 8px;
    }

    .record-memory-card {
      position: relative;
      min-height: 146px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 12px 8px 10px;
      color: #7f5f72;
      display: grid;
      justify-items: center;
      align-content: start;
      gap: 5px;
      text-align: center;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
      overflow: hidden;
    }

    .record-memory-card[hidden] { display: none !important; }

    .record-memory-icon {
      width: 40px;
      height: 40px;
      border-radius: 15px;
      display: grid;
      place-items: center;
      background: #fff0f7;
      color: #d77ca7;
      font-size: 20px;
      border: 1px solid #f4d2e3;
      margin-top: 2px;
    }

    .record-memory-card time {
      color: #b5869c;
      font-size: 10px;
      line-height: 1.2;
      font-weight: 900;
      white-space: nowrap;
    }

    .record-memory-card b {
      display: block;
      margin-top: 1px;
      color: #76586a;
      font-size: 12.5px;
      line-height: 1.27;
      font-weight: 900;
      word-break: keep-all;
    }

    .record-memory-card span:not(.record-memory-icon) {
      display: block;
      color: #9a7187;
      font-size: 10.3px;
      line-height: 1.32;
      font-weight: 800;
      word-break: keep-all;
    }

    .record-memory-card em {
      min-height: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 8px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fffafd;
      color: #b28ea2;
      font-size: 10px;
      line-height: 1;
      font-style: normal;
      font-weight: 900;
      margin-top: auto;
      white-space: nowrap;
    }

    .record-pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 9px;
      margin: 12px 0 8px;
    }

    .record-pagination button {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 20px;
      line-height: 1;
      font-weight: 900;
    }

    .record-pagination button:disabled {
      opacity: .42;
      cursor: default;
    }

    .record-pagination span {
      min-height: 28px;
      display: inline-flex;
      align-items: center;
      padding: 0 10px;
      border-radius: 999px;
      background: #fff7fb;
      border: 1px solid var(--line);
      color: #b07693;
      font-size: 11px;
      font-weight: 900;
      white-space: nowrap;
    }

    .record-note {
      margin-top: 8px;
      padding: 12px;
      border-radius: 18px;
      border: 1px dashed var(--line2);
      background: #fffafd;
      color: #8f7183;
      font-size: 12px;
      line-height: 1.55;
      font-weight: 800;
      word-break: keep-all;
    }

    @media (max-width: 360px) {
      .record-memory-card { min-height: 142px; padding-left: 6px; padding-right: 6px; }
      .record-memory-card b { font-size: 12px; }
      .record-memory-card span:not(.record-memory-icon) { font-size: 10px; }
    }

    /* Record: PC typography scale — 글씨만 키우기, 레이아웃 유지 */
    @media (min-width: 760px) {
      /* 요약 카드 */
      .record-summary-card small { font-size: 13px; }
      .record-summary-card b { font-size: 30px; }
      .record-summary-card span { font-size: 13px; line-height: 1.45; }

      /* 필터/타이틀 레이블 */
      .record-filter-label,
      .record-list-title { font-size: 15px; }

      /* 필터 필 */
      .record-filter-pill { font-size: 14px; min-height: 40px; padding: 0 16px; }

      /* 메모리 카드 (그리드 뷰) */
      .record-memory-card { min-height: 170px; padding: 16px 12px 13px; gap: 7px; }
      .record-memory-icon { width: 50px; height: 50px; font-size: 25px; border-radius: 18px; }
      .record-memory-card time { font-size: 12.5px; }
      .record-memory-card b { font-size: 16px; line-height: 1.3; }
      .record-memory-card span:not(.record-memory-icon) { font-size: 13px; line-height: 1.38; }
      .record-memory-card em { font-size: 12.5px; min-height: 27px; padding: 0 11px; }

      /* 페이지네이션 */
      .record-pagination span { font-size: 14px; min-height: 34px; padding: 0 14px; }
      .record-pagination button { width: 42px; height: 42px; font-size: 24px; }

      /* 안내 메모 */
      .record-note { font-size: 14px; line-height: 1.6; padding: 15px 16px; }

      /* 모듈 설명 p */
      .record-module > p { font-size: 15px; line-height: 1.7; }
    }

    /* Record: mobile timeline pagination patch */
    .record-card-grid.record-timeline-list {
      position: relative;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      margin-top: 10px;
      padding: 12px 0 4px 0;
      border: 1px solid var(--line);
      border-radius: 24px;
      background:
        linear-gradient(90deg, rgba(242,216,231,.33) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(242,216,231,.27) 0 1px, transparent 1px 100%),
        rgba(255,255,255,.88);
      background-size: 24px 24px;
      overflow: hidden;
    }

    .record-card-grid.record-timeline-list::before {
      content: "";
      position: absolute;
      left: 35px;
      top: 28px;
      bottom: 28px;
      width: 2px;
      border-radius: 999px;
      background: #efbcd5;
      opacity: .9;
    }

    .record-card-grid.record-timeline-list .record-memory-card {
      position: relative;
      min-height: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      padding: 12px 14px 13px 74px;
      color: #7f5f72;
      display: block;
      text-align: left;
      overflow: visible;
    }

    .record-card-grid.record-timeline-list .record-memory-card[hidden] {
      display: none !important;
    }

    .record-card-grid.record-timeline-list .record-memory-icon {
      position: absolute;
      left: 17px;
      top: 13px;
      width: 38px;
      height: 38px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: #fff0f7;
      color: #d77ca7;
      font-size: 19px;
      border: 1px solid #f4d2e3;
      box-shadow: 0 0 0 4px rgba(255,255,255,.92);
      margin: 0;
      z-index: 1;
    }

    .record-card-grid.record-timeline-list .record-memory-card time {
      display: block;
      color: #b5869c;
      font-size: 11px;
      line-height: 1.25;
      font-weight: 900;
      white-space: nowrap;
    }

    .record-card-grid.record-timeline-list .record-memory-card b {
      display: block;
      margin-top: 4px;
      color: #76586a;
      font-size: 15px;
      line-height: 1.32;
      font-weight: 900;
      word-break: keep-all;
    }

    .record-card-grid.record-timeline-list .record-memory-card span:not(.record-memory-icon) {
      display: block;
      margin-top: 4px;
      color: #9a7187;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 800;
      word-break: keep-all;
    }

    .record-card-grid.record-timeline-list .record-memory-card em {
      min-height: 23px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 9px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 10.5px;
      line-height: 1;
      font-style: normal;
      font-weight: 900;
      margin: 7px 5px 0 0;
      white-space: nowrap;
    }

    .record-card-grid.record-timeline-list .record-memory-card + .record-memory-card {
      border-top: 1px solid rgba(242,216,231,.42);
    }

    .record-pagination {
      margin-top: 14px;
    }

    @media (max-width: 360px) {
      .record-card-grid.record-timeline-list::before { left: 31px; }
      .record-card-grid.record-timeline-list .record-memory-card { padding-left: 66px; padding-right: 11px; }
      .record-card-grid.record-timeline-list .record-memory-icon { left: 13px; width: 36px; height: 36px; }
      .record-card-grid.record-timeline-list .record-memory-card b { font-size: 14px; }
      .record-card-grid.record-timeline-list .record-memory-card span:not(.record-memory-icon) { font-size: 11.5px; }
    }

    /* Record timeline: PC 글씨 크기 */
    @media (min-width: 760px) {
      .record-card-grid.record-timeline-list .record-memory-card { padding-left: 88px; padding-right: 20px; }
      .record-card-grid.record-timeline-list::before { left: 42px; }
      .record-card-grid.record-timeline-list .record-memory-icon { left: 18px; width: 50px; height: 50px; font-size: 24px; }
      .record-card-grid.record-timeline-list .record-memory-card time { font-size: 13px; }
      .record-card-grid.record-timeline-list .record-memory-card b { font-size: 17px; line-height: 1.3; }
      .record-card-grid.record-timeline-list .record-memory-card span:not(.record-memory-icon) { font-size: 14px; line-height: 1.45; }
      .record-card-grid.record-timeline-list .record-memory-card em { font-size: 12.5px; }
    }


    /* Record: achievement-like summary boxes + timeline header patch */
    .record-hero-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin: 12px 0 8px;
    }

    .record-hero-card {
      border: 1px solid var(--line);
      border-radius: 22px;
      background: linear-gradient(135deg, #fff, #fff0f7 66%, #f8f0ff);
      padding: 13px 12px;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
      min-width: 0;
    }

    .record-hero-card small,
    .record-stat-card small {
      display: block;
      color: #b5869c;
      font-size: 10.8px;
      line-height: 1.25;
      font-weight: 900;
      word-break: keep-all;
    }

    .record-hero-card b {
      display: block;
      margin-top: 6px;
      color: var(--pink);
      font-size: clamp(23px, 7.2vw, 31px);
      line-height: 1;
      font-weight: 900;
      letter-spacing: -.035em;
      white-space: nowrap;
    }

    .record-hero-card span {
      display: block;
      margin-top: 8px;
      color: #8d6b7d;
      font-size: 11px;
      line-height: 1.42;
      font-weight: 800;
      word-break: keep-all;
    }

    .record-stat-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 7px;
      margin: 8px 0 13px;
    }

    .record-stat-card {
      min-height: 64px;
      display: grid;
      align-content: center;
      text-align: center;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      padding: 9px 6px;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
    }

    .record-stat-card b {
      display: block;
      margin-top: 5px;
      color: var(--pink);
      font-size: 21px;
      line-height: 1;
      font-weight: 900;
      white-space: nowrap;
    }

    .record-box-tabs {
      margin-bottom: 10px;
    }

    .record-month-row {
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr) 38px;
      gap: 8px;
      align-items: center;
      margin: 8px 0 10px;
    }

    .record-month-row button {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 20px;
      line-height: 1;
      font-weight: 900;
    }

    .record-month-row strong {
      display: block;
      text-align: center;
      color: #76586a;
      font-size: 16px;
      line-height: 1.2;
      font-weight: 900;
      word-break: keep-all;
    }

    @media (max-width: 360px) {
      .record-hero-grid { gap: 7px; }
      .record-hero-card { padding: 12px 10px; border-radius: 20px; }
      .record-hero-card b { font-size: 22px; }
      .record-hero-card span { font-size: 10.5px; }
      .record-stat-card b { font-size: 19px; }
      .record-month-row strong { font-size: 15px; }
    }

    /* Record hero/stat: PC 글씨 크기 */
    @media (min-width: 760px) {
      .record-hero-card small,
      .record-stat-card small { font-size: 15px; }
      .record-hero-card b { font-size: clamp(28px, 4vw, 40px); }
      .record-hero-card span { font-size: 15px; line-height: 1.5; }
      .record-stat-card b { font-size: clamp(18px, 2.8vw, 26px); }
      .record-month-row strong { font-size: 19px; }
      .record-month-row button { font-size: 20px; }

      /* 기록 타임라인 글씨 키우기 */
      .record-list-title { font-size: 17px; }

      .record-card-grid.record-timeline-list .record-memory-card time { font-size: 13px; }
      .record-card-grid.record-timeline-list .record-memory-card b { font-size: 18px; margin-top: 5px; }
      .record-card-grid.record-timeline-list .record-memory-card span:not(.record-memory-icon) { font-size: 14px; margin-top: 5px; }
      .record-card-grid.record-timeline-list .record-memory-card em { font-size: 12px; min-height: 26px; padding: 0 11px; margin-top: 8px; }
      .record-card-grid.record-timeline-list .record-memory-icon { width: 44px; height: 44px; font-size: 22px; }

      /* 기록 분류 중앙 정렬 */
      .record-filter-label { text-align: center; }
      .record-filter-row { justify-content: center; }

      /* 포인트 적립 내역 글씨 키우기 */
      .point-ledger-item time { font-size: 13px; }
      .point-ledger-item b { font-size: 18px; margin-top: 5px; }
      .point-ledger-item span:not(.point-ledger-icon) { font-size: 14px; margin-top: 5px; }
      .point-ledger-item em { font-size: 12px; min-height: 26px; padding: 0 11px; margin-top: 8px; }
      .point-ledger-icon { width: 44px; height: 44px; font-size: 22px; }

      /* 포인트 카드 글씨 키우기 */
      .point-card small { font-size: 14px; }
      .point-card b { font-size: clamp(22px, 3vw, 32px); }
    }


    /* Record: month/page control balance + roomy summary boxes patch */
    #page-record .record-hero-grid {
      gap: 10px;
      margin: 14px 0 10px;
    }

    #page-record .record-hero-card {
      padding: 15px 14px 14px;
      border-radius: 24px;
      min-height: 116px;
    }

    #page-record .record-hero-card small,
    #page-record .record-stat-card small {
      line-height: 1.35;
    }

    #page-record .record-hero-card b {
      margin-top: 7px;
      font-size: clamp(22px, 6.9vw, 30px);
      line-height: 1.05;
    }

    #page-record .record-hero-card span {
      margin-top: 9px;
      line-height: 1.5;
    }

    #page-record .record-month-row {
      width: min(78%, 330px);
      margin: 12px auto 12px;
      grid-template-columns: 42px minmax(0, 1fr) 42px;
      gap: 10px;
    }

    #page-record .record-month-row button {
      width: 42px;
      height: 42px;
    }

    #page-record .record-month-row strong {
      font-size: 17px;
    }

    #page-record .record-card-grid.record-timeline-list .record-memory-card {
      padding-left: 70px;
      padding-right: 16px;
    }

    #page-record .record-card-grid.record-timeline-list::before {
      left: 33px;
    }

    #page-record .record-card-grid.record-timeline-list .record-memory-icon {
      left: 15px;
    }

    #page-record .record-card-grid.record-timeline-list .record-memory-card em {
      margin-top: 8px;
      align-self: flex-start;
      justify-content: flex-start;
    }

    #page-record .record-pagination {
      width: min(72%, 280px);
      margin: 18px auto 12px;
      display: grid;
      grid-template-columns: 46px minmax(76px, 1fr) 46px;
      gap: 12px;
      align-items: center;
    }

    #page-record .record-pagination button {
      width: 46px;
      height: 46px;
      justify-self: center;
    }

    #page-record .record-pagination span {
      min-height: 38px;
      justify-content: center;
      padding: 0 17px;
      font-size: 13px;
      background: #fffafd;
      border-color: var(--line2);
    }

    @media (max-width: 380px) {
      #page-record .record-hero-card {
        padding: 14px 12px 13px;
        min-height: 112px;
      }
      #page-record .record-hero-card b {
        font-size: 22px;
      }
      #page-record .record-hero-card span {
        font-size: 10.7px;
      }
      #page-record .record-month-row {
        width: min(82%, 305px);
      }
      #page-record .record-pagination {
        width: min(76%, 270px);
      }
    }



    /* Record: final mobile alignment + achievement pagination consistency patch */
    #page-record .record-hero-grid {
      gap: 12px !important;
    }

    #page-record .record-hero-card {
      padding: 16px 16px 15px !important;
      min-height: 118px !important;
    }

    #page-record .record-hero-card:nth-child(2) b {
      font-size: clamp(20px, 5.8vw, 26px) !important;
      letter-spacing: -.055em !important;
      line-height: 1.04 !important;
    }

    #page-record .record-hero-card span {
      line-height: 1.48 !important;
    }

    #page-record .record-card-grid.record-timeline-list .record-memory-card,
    #page-record .record-card-grid.record-timeline-list .record-memory-card time,
    #page-record .record-card-grid.record-timeline-list .record-memory-card b,
    #page-record .record-card-grid.record-timeline-list .record-memory-card span:not(.record-memory-icon) {
      text-align: left !important;
      justify-items: start !important;
    }

    #page-record .record-card-grid.record-timeline-list .record-memory-card em {
      margin-left: 0 !important;
      align-self: flex-start !important;
      justify-content: center !important;
    }

    #page-record .record-pagination {
      width: 100% !important;
      display: grid !important;
      grid-template-columns: 42px 1fr 42px !important;
      align-items: center !important;
      gap: 8px !important;
      margin: 14px 0 0 !important;
    }

    #page-record .record-pagination button {
      width: 42px !important;
      height: 36px !important;
      border-radius: 999px !important;
      border: 1px solid var(--line2) !important;
      background: #fff !important;
      color: #d77ca7 !important;
      font-size: 22px !important;
      line-height: 1 !important;
      font-weight: 900 !important;
    }

    #page-record .record-pagination span {
      min-height: 36px !important;
      display: grid !important;
      place-items: center !important;
      border-radius: 999px !important;
      border: 1px solid var(--line) !important;
      background: linear-gradient(180deg, #fff, #fff7fb) !important;
      color: #9a7187 !important;
      font-size: 12px !important;
      font-weight: 900 !important;
      letter-spacing: .03em !important;
      padding: 0 12px !important;
    }

    @media (max-width: 380px) {
      #page-record .record-hero-card {
        padding: 15px 14px 14px !important;
      }
      #page-record .record-hero-card:nth-child(2) b {
        font-size: clamp(19px, 5.5vw, 24px) !important;
      }
    }


    /* Guide: mobile accordion + achievement-like pagination patch */
    #page-guide .guide-module > p {
      margin-bottom: 14px;
    }

    .guide-quick-title,
    .guide-filter-label,
    .guide-list-title {
      margin: 14px 0 9px;
      color: #b07693;
      font-size: 13px;
      line-height: 1.3;
      font-weight: 900;
    }

    .guide-quick-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-bottom: 14px;
    }

    .guide-quick-card {
      min-height: 92px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: linear-gradient(180deg, #fff, #fff7fb);
      color: #76586a;
      padding: 12px 10px;
      display: grid;
      gap: 6px;
      align-content: center;
      text-align: left;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
    }

    .guide-quick-card b {
      display: block;
      color: #d77ca7;
      font-size: 13px;
      line-height: 1.3;
      font-weight: 900;
      word-break: keep-all;
    }

    .guide-quick-card span {
      display: block;
      color: #9a7187;
      font-size: 10.5px;
      line-height: 1.35;
      font-weight: 800;
      word-break: keep-all;
    }

    .guide-filter-row {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      overscroll-behavior-x: contain;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      margin-bottom: 14px;
      padding-bottom: 2px;
    }

    .guide-filter-row::-webkit-scrollbar { display: none; }

    .guide-filter-pill {
      flex: 0 0 auto;
      min-height: 39px;
      padding: 0 16px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .guide-filter-pill.active {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .guide-accordion-list {
      display: grid;
      grid-template-columns: 1fr;
      gap: 9px;
    }

    .guide-accordion-card {
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fff;
      overflow: hidden;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
    }

    .guide-accordion-card[hidden] { display: none !important; }

    .guide-accordion-head {
      width: 100%;
      min-height: 54px;
      display: grid;
      grid-template-columns: 24px 1fr auto;
      align-items: center;
      gap: 9px;
      padding: 12px 13px;
      background: #fff;
      color: #76586a;
      text-align: left;
    }

    .guide-accordion-head i {
      font-style: normal;
      font-size: 18px;
      line-height: 1;
    }

    .guide-accordion-head b {
      min-width: 0;
      color: #76586a;
      font-size: 14px;
      line-height: 1.35;
      font-weight: 900;
      word-break: keep-all;
    }

    .guide-accordion-toggle {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      display: grid;
      place-items: center;
      color: #d77ca7;
      background: #fff7fb;
      font-size: 14px;
      font-weight: 900;
    }

    .guide-accordion-card.open .guide-accordion-toggle {
      transform: rotate(180deg);
    }

    .guide-accordion-body {
      display: none;
      padding: 0 14px 14px 46px;
      color: #8f7183;
      font-size: 12px;
      line-height: 1.62;
      font-weight: 800;
      word-break: keep-all;
    }

    .guide-accordion-card.open .guide-accordion-body { display: block; }

    .guide-accordion-body p + p { margin-top: 8px; }

    .guide-pagination {
      display: grid;
      grid-template-columns: 42px 1fr 42px;
      align-items: center;
      gap: 8px;
      margin: 12px 0 0;
    }

    .guide-pagination button {
      width: 42px;
      height: 36px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 22px;
      line-height: 1;
      font-weight: 900;
    }

    .guide-pagination button:disabled {
      opacity: .38;
      cursor: default;
    }

    .guide-pagination span {
      min-height: 36px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, #fff, #fff7fb);
      color: #9a7187;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .03em;
    }

    .guide-note {
      margin-top: 12px;
      padding: 12px 13px;
      border-radius: 18px;
      border: 1px dashed var(--line2);
      background: #fffafd;
      color: #9a7187;
      font-size: 11.5px;
      line-height: 1.55;
      font-weight: 800;
      word-break: keep-all;
    }


    /* Guide alignment micro patch: quick cards centered + accordion toggle centered */
    .guide-quick-card {
      text-align: center !important;
      justify-items: center !important;
      align-content: center !important;
      padding-left: 12px !important;
      padding-right: 12px !important;
    }

    .guide-quick-card b,
    .guide-quick-card span {
      width: 100% !important;
      text-align: center !important;
    }

    .guide-accordion-head {
      grid-template-columns: 28px minmax(0, 1fr) 34px !important;
      align-items: center !important;
    }

    .guide-accordion-toggle {
      width: 34px !important;
      height: 34px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      text-align: center !important;
      line-height: 1 !important;
      padding: 0 0 2px 0 !important;
      transform-origin: 50% 50% !important;
      justify-self: center !important;
      align-self: center !important;
    }

    .guide-accordion-card.open .guide-accordion-toggle {
      transform: rotate(180deg) !important;
    }



/* ===== Homework cheki mobile structure clean patch ===== */
#page-homework .homework-section > p {
  margin-bottom: 16px;
}

.homework-block {
  margin-top: 18px;
}

.homework-block h3 {
  margin: 0 0 10px;
  color: #d77ca7;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.homework-main-card,
.homework-pickup-card,
.homework-status-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #fffafd);
  box-shadow: 0 8px 16px rgba(232, 191, 211, 0.08);
}

.homework-main-card {
  padding: 17px 18px;
}

.homework-main-head {
  display: grid;
  gap: 5px;
  margin-bottom: 13px;
}

.homework-code {
  color: #b07693;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.homework-main-head strong {
  color: #624459;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
  word-break: keep-all;
}

.homework-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.homework-info-list div {
  min-width: 0;
  border: 1px solid rgba(242, 216, 231, 0.95);
  border-radius: 16px;
  background: #fff7fb;
  padding: 10px 11px;
}

.homework-info-list dt {
  margin: 0;
  color: #b28ea2;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 900;
}

.homework-info-list dd {
  margin: 3px 0 0;
  color: #76586a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
  word-break: keep-all;
}

.homework-pickup-card {
  margin-top: 10px;
  padding: 15px 16px;
}

.homework-pickup-card strong {
  display: block;
  color: #d77ca7;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 7px;
}

.homework-pickup-card p {
  color: #8f7183;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 850;
}

.homework-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.homework-status-grid article {
  min-height: 124px;
  padding: 15px 14px;
  display: grid;
  align-content: center;
  text-align: center;
}

.homework-status-grid small {
  display: block;
  color: #b28ea2;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
}

.homework-status-grid b {
  display: block;
  margin-top: 5px;
  color: #624459;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 900;
  word-break: keep-all;
}

.homework-status-grid span {
  display: block;
  margin-top: 6px;
  color: #9a7187;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 850;
  word-break: keep-all;
}

@media (max-width: 430px) {
  .homework-block h3 { font-size: 20px; }
  .homework-main-card { padding: 15px 14px; }
  .homework-main-head strong { font-size: 20px; }
  .homework-info-list { gap: 7px; }
  .homework-info-list div { padding: 9px 10px; }
  .homework-info-list dd { font-size: 12.5px; }
  .homework-status-grid article { min-height: 116px; padding: 13px 10px; }
  .homework-status-grid b { font-size: 20px; }
}


    /* Point ledger: 4 summary boxes + filtered mini timeline */
    .point-ledger-module .point-ledger-summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
      margin: 13px 0 12px;
    }

    .point-ledger-summary-card {
      min-height: 104px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: linear-gradient(180deg, #fff, #fff7fb);
      padding: 13px 12px;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
      display: grid;
      align-content: center;
    }

    .point-ledger-summary-card small {
      display: block;
      color: #b5869c;
      font-size: 11.5px;
      line-height: 1.25;
      font-weight: 900;
      word-break: keep-all;
    }

    .point-ledger-summary-card b {
      display: block;
      margin-top: 5px;
      color: var(--pink);
      font-size: 27px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: -.03em;
      word-break: keep-all;
    }

    .point-ledger-summary-card span {
      display: block;
      margin-top: 7px;
      color: #8d6b7d;
      font-size: 11.5px;
      line-height: 1.45;
      font-weight: 800;
      word-break: keep-all;
    }

    .point-ledger-notice {
      margin: 12px 0 14px;
      padding: 14px;
      border-radius: 22px;
      border: 1px dashed var(--line2);
      background: #fffafd;
    }

    .point-ledger-notice h3,
    .point-ledger-filter-section h3,
    .point-ledger-history h3 {
      margin: 0 0 10px;
      color: #b07693;
      font-size: 16px;
      line-height: 1.25;
      font-weight: 900;
      letter-spacing: -.02em;
    }

    .point-ledger-notice p {
      color: #8f7183;
      font-size: 12.5px;
      line-height: 1.65;
      font-weight: 800;
      word-break: keep-all;
    }

    .point-ledger-filter-row {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding: 0 2px 8px;
      margin: 0 0 8px;
      scrollbar-width: none;
    }

    .point-ledger-filter-row::-webkit-scrollbar { display: none; }

    .point-ledger-filter-pill {
      flex: 0 0 auto;
      min-height: 39px;
      padding: 0 15px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .point-ledger-filter-pill.active {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .point-ledger-timeline {
      position: relative;
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      margin-top: 8px;
      padding: 10px 0 4px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background:
        linear-gradient(90deg, rgba(242,216,231,.30) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, rgba(242,216,231,.24) 0 1px, transparent 1px 100%),
        rgba(255,255,255,.88);
      background-size: 24px 24px;
      overflow: hidden;
    }

    .point-ledger-timeline::before {
      content: "";
      position: absolute;
      left: 35px;
      top: 24px;
      bottom: 24px;
      width: 2px;
      border-radius: 999px;
      background: #efbcd5;
      opacity: .9;
    }

    .point-ledger-item {
      position: relative;
      min-height: 96px;
      padding: 12px 14px 13px 74px;
      color: #7f5f72;
      text-align: left;
      background: transparent;
    }

    .point-ledger-item[hidden] { display: none !important; }

    .point-ledger-icon {
      position: absolute;
      left: 17px;
      top: 14px;
      width: 38px;
      height: 38px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: #fff0f7;
      color: #d77ca7;
      font-size: 19px;
      border: 1px solid #f4d2e3;
      box-shadow: 0 0 0 4px rgba(255,255,255,.92);
      z-index: 1;
    }

    .point-ledger-item time {
      display: block;
      color: #b5869c;
      font-size: 11px;
      line-height: 1.25;
      font-weight: 900;
      white-space: nowrap;
    }

    .point-ledger-item b {
      display: block;
      margin-top: 4px;
      color: #76586a;
      font-size: 15px;
      line-height: 1.32;
      font-weight: 900;
      word-break: keep-all;
    }

    .point-ledger-item span:not(.point-ledger-icon) {
      display: block;
      margin-top: 4px;
      color: #9a7187;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 800;
      word-break: keep-all;
    }

    .point-ledger-item em {
      min-height: 24px;
      display: inline-flex;
      align-items: center;
      margin-top: 8px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: rgba(255,255,255,.86);
      color: #d77ca7;
      font-size: 11px;
      line-height: 1;
      font-weight: 900;
      font-style: normal;
      white-space: nowrap;
    }

    .point-ledger-note {
      margin-top: 10px;
      padding: 12px;
      border-radius: 18px;
      border: 1px dashed var(--line2);
      background: #fffafd;
      color: #8f7183;
      font-size: 12px;
      line-height: 1.55;
      font-weight: 800;
      word-break: keep-all;
    }

    .point-ledger-pagination {
      margin-top: 13px;
    }

    @media (max-width: 374px) {
      .point-ledger-summary-card { min-height: 100px; padding-left: 10px; padding-right: 10px; }
      .point-ledger-summary-card b { font-size: 23px; }
      .point-ledger-summary-card span { font-size: 10.8px; }
      .point-ledger-filter-pill { padding: 0 13px; }
      .point-ledger-item { padding-left: 70px; }
    }

    /* ===== PC Point Page Optimization: 768px+ only, mobile untouched ===== */
    @media (min-width: 768px) {
      /* 포인트 요약 4박스: PC에서 4열 가로 배치 */
      #page-point .point-ledger-summary-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        margin: 16px 0 14px;
      }

      #page-point .point-ledger-summary-card {
        min-height: 120px;
        padding: 16px 14px;
      }

      #page-point .point-ledger-summary-card small {
        font-size: 14px;
      }

      #page-point .point-ledger-summary-card b {
        font-size: 32px;
        margin-top: 7px;
      }

      #page-point .point-ledger-summary-card span {
        font-size: 13px;
        margin-top: 8px;
      }

      /* 중요 내용 박스 */
      #page-point .point-ledger-notice {
        padding: 16px 20px;
        margin: 14px 0 16px;
      }

      #page-point .point-ledger-notice p {
        font-size: 14.5px;
        line-height: 1.72;
      }

      /* 분류 탭 필터: PC에서 중앙 정렬 */
      #page-point .point-ledger-filter-section {
        margin-bottom: 4px;
      }

      #page-point .point-ledger-filter-row {
        gap: 10px;
        flex-wrap: wrap;
        overflow-x: visible;
        padding: 0 0 10px;
        justify-content: center;
      }

      #page-point .point-ledger-filter-pill {
        min-height: 44px;
        padding: 0 22px;
        font-size: 14px;
      }

      /* 최근 적립 내역: 기록 타임라인 스타일로 교체 (세로 1열 타임라인) */
      #page-point .point-ledger-timeline {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 10px;
        padding: 12px 0 4px 0;
        border: 1px solid var(--line);
        border-radius: 24px;
        background:
          linear-gradient(90deg, rgba(242,216,231,.33) 0 1px, transparent 1px 100%),
          linear-gradient(180deg, rgba(242,216,231,.27) 0 1px, transparent 1px 100%),
          rgba(255,255,255,.88);
        background-size: 24px 24px;
        overflow: hidden;
      }

      /* 세로 타임라인 선 복원 */
      #page-point .point-ledger-timeline::before {
        content: "";
        position: absolute;
        left: 42px;
        top: 28px;
        bottom: 28px;
        width: 2px;
        border-radius: 999px;
        background: #efbcd5;
        opacity: .9;
        display: block;
      }

      #page-point .point-ledger-item {
        position: relative;
        min-height: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        padding: 14px 24px 15px 88px;
        color: #7f5f72;
        display: block;
        text-align: left;
        overflow: visible;
        border-bottom: none;
      }

      #page-point .point-ledger-item + .point-ledger-item {
        border-top: 1px solid rgba(242,216,231,.42);
      }

      /* 마지막 아이템 border-bottom 제거 (혹시 남아있으면) */
      #page-point .point-ledger-item:last-child,
      #page-point .point-ledger-item:nth-last-child(2):nth-child(odd) {
        border-bottom: none;
      }

      /* nth-child odd 구분선 제거 (더이상 2열 아님) */
      #page-point .point-ledger-item:nth-child(odd) {
        border-right: none;
      }

      #page-point .point-ledger-icon {
        position: absolute;
        left: 18px;
        top: 13px;
        width: 50px;
        height: 50px;
        border-radius: 18px;
        display: grid;
        place-items: center;
        background: #fff0f7;
        color: #d77ca7;
        font-size: 24px;
        border: 1px solid #f4d2e3;
        box-shadow: 0 0 0 4px rgba(255,255,255,.92);
        margin: 0;
        z-index: 1;
      }

      #page-point .point-ledger-item time {
        display: block;
        color: #b5869c;
        font-size: 13px;
        line-height: 1.25;
        font-weight: 900;
        white-space: nowrap;
      }

      #page-point .point-ledger-item b {
        display: block;
        font-size: 18px;
        margin-top: 5px;
        color: #76586a;
        line-height: 1.32;
        font-weight: 900;
        word-break: keep-all;
      }

      #page-point .point-ledger-item span:not(.point-ledger-icon) {
        display: block;
        font-size: 14px;
        margin-top: 5px;
        color: #9a7187;
        line-height: 1.45;
        font-weight: 800;
        word-break: keep-all;
      }

      #page-point .point-ledger-item em {
        min-height: 26px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid var(--line2);
        background: #fff;
        color: #d77ca7;
        font-size: 12px;
        line-height: 1;
        font-style: normal;
        font-weight: 900;
        margin-top: 8px;
        margin-left: 0;
        align-self: flex-start;
        white-space: nowrap;
      }

      #page-point .point-ledger-note {
        font-size: 14px;
        padding: 14px 18px;
        margin-top: 13px;
      }

      #page-point .point-ledger-pagination {
        margin-top: 16px;
      }

      /* h3 타이틀 크기 */
      #page-point .point-ledger-notice h3,
      #page-point .point-ledger-history h3 {
        font-size: 20px;
        margin-bottom: 12px;
      }

      /* 최근 적립 내역 h3 */
      #page-point .point-ledger-history h3 {
        font-size: 20px;
      }
    }
    /* ===== /PC Point Page Optimization ===== */


    /* Calendar: Lumi personal schedule mobile patch */
    #page-calendar .lumi-calendar-module {
      overflow: hidden;
    }

    #page-calendar .lumi-calendar-module > h2 {
      margin: 0 0 12px;
      color: #d77ca7;
      font-size: 32px;
      line-height: 1.15;
      font-weight: 900;
      letter-spacing: -.04em;
    }

    #page-calendar .lumi-calendar-module > p {
      margin: 0 0 16px;
      color: #8f7183;
      font-size: 15px;
      line-height: 1.7;
      font-weight: 800;
      word-break: keep-all;
    }

    .calendar-summary-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 12px 0 14px;
    }

    .calendar-summary-card {
      min-height: 112px;
      padding: 15px 14px;
      border-radius: 24px;
      border: 1px solid var(--line);
      background: linear-gradient(135deg, #fff, #fff4fa 64%, #f8f0ff);
      box-shadow: 0 8px 18px rgba(232,191,211,.08);
    }

    .calendar-summary-card small {
      display: block;
      color: #b98aa2;
      font-size: 12px;
      line-height: 1.25;
      font-weight: 900;
    }

    .calendar-summary-card b {
      display: block;
      margin-top: 6px;
      color: #ff5fa8;
      font-size: 24px;
      line-height: 1.18;
      font-weight: 900;
      letter-spacing: -.03em;
    }

    .calendar-summary-card span {
      display: block;
      margin-top: 7px;
      color: #7f6a77;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 800;
      word-break: keep-all;
    }

    .calendar-home-link {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      margin: 8px 0 16px;
      padding: 0 16px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 13px;
      font-weight: 900;
      box-shadow: 0 8px 18px rgba(232,191,211,.08);
    }

    .calendar-month-control {
      width: min(78%, 360px);
      margin: 14px auto 12px;
      display: grid;
      grid-template-columns: 48px 1fr 48px;
      align-items: center;
      gap: 10px;
    }

    .calendar-month-control button {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 24px;
      line-height: 1;
      font-weight: 900;
      box-shadow: 0 8px 18px rgba(232,191,211,.08);
    }

    .calendar-month-control strong {
      display: block;
      text-align: center;
      color: #76586a;
      font-size: 22px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: -.02em;
    }

    .calendar-mini {
      border: 1px solid var(--line);
      border-radius: 26px;
      background: linear-gradient(90deg, rgba(242,216,231,.28) 0 1px, transparent 1px 100%),
                  linear-gradient(180deg, rgba(242,216,231,.28) 0 1px, transparent 1px 100%),
                  rgba(255,255,255,.86);
      background-size: 28px 28px;
      padding: 13px 12px 14px;
      margin-bottom: 16px;
      overflow: hidden;
    }

    .calendar-weekdays,
    .calendar-days {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 5px;
    }

    .calendar-weekdays span {
      display: block;
      text-align: center;
      color: #b98aa2;
      font-size: 10px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: .03em;
      padding-bottom: 5px;
    }

    .calendar-day {
      position: relative;
      min-height: 52px;
      border: 1px solid rgba(242,216,231,.72);
      border-radius: 16px;
      background: rgba(255,255,255,.78);
      color: #b18ca0;
      font-size: 12px;
      font-weight: 900;
      padding: 7px 6px;
      text-align: left;
    }

    .calendar-day.blank {
      opacity: 0;
      pointer-events: none;
    }

    .calendar-day.has-event {
      border-color: #efbcd5;
      background: #fff7fb;
      color: #76586a;
      box-shadow: 0 8px 16px rgba(232,191,211,.10);
    }

    .calendar-day.selected {
      outline: 2px solid rgba(255,95,168,.38);
      background: linear-gradient(180deg,#fff,#fff0f7);
    }

    .calendar-day .calendar-mark {
      position: absolute;
      left: 6px;
      bottom: 6px;
      display: inline-flex;
      gap: 3px;
      align-items: center;
    }

    .calendar-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #ff5fa8;
    }

    .calendar-dot.birthday { background: #ff9aca; }
    .calendar-dot.event { background: #caa7ff; }
    .calendar-dot.onair { background: #7ac7d9; }

    .calendar-section-title {
      margin: 16px 0 10px;
      color: #b07693;
      font-size: 18px;
      line-height: 1.25;
      font-weight: 900;
    }

    .calendar-filter-row {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding: 0 2px 9px;
      margin: 6px 0 10px;
      scrollbar-width: none;
    }

    .calendar-filter-row::-webkit-scrollbar { display: none; }

    .calendar-filter-row button {
      flex: 0 0 auto;
      min-height: 38px;
      padding: 0 17px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #9f748d;
      font-size: 13px;
      font-weight: 900;
    }

    .calendar-filter-row button.active {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg,#ff82ba,#ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }

    .calendar-event-list {
      display: grid;
      gap: 10px;
    }

    .calendar-event-card {
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 14px 15px;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
    }

    .calendar-event-card small {
      display: block;
      color: #c183a2;
      font-size: 12px;
      line-height: 1.25;
      font-weight: 900;
    }

    .calendar-event-card b {
      display: block;
      margin-top: 5px;
      color: #76586a;
      font-size: 18px;
      line-height: 1.3;
      font-weight: 900;
      letter-spacing: -.02em;
    }

    .calendar-event-card span {
      display: block;
      margin-top: 6px;
      color: #8f7183;
      font-size: 12.5px;
      line-height: 1.5;
      font-weight: 800;
      word-break: keep-all;
    }

    .calendar-event-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 9px;
    }

    .calendar-event-tags i {
      min-height: 24px;
      display: inline-flex;
      align-items: center;
      padding: 0 9px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fffafd;
      color: #d77ca7;
      font-size: 11px;
      font-style: normal;
      font-weight: 900;
    }

    .calendar-pagination {
      margin: 14px 0 2px;
    }

    @media (min-width: 760px) {
      /* 내 루미 일정 2열 그리드 */
      .calendar-event-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
      }

      .calendar-event-card {
        padding: 24px 22px;
      }

      .calendar-event-card small {
        font-size: 13.5px;
      }

      .calendar-event-card b {
        font-size: 20px;
        margin-top: 8px;
        line-height: 1.35;
        word-break: keep-all;
      }

      .calendar-event-card span {
        font-size: 15px;
        margin-top: 8px;
        line-height: 1.55;
        word-break: keep-all;
      }

      /* 분류 탭 중앙 정렬 */
      .calendar-section-title {
        text-align: center;
      }

      .calendar-filter-row {
        justify-content: center;
        overflow-x: visible;
      }
    }

    @media (max-width: 374px) {
      .calendar-summary-card { min-height: 104px; padding: 13px 11px; }
      .calendar-summary-card b { font-size: 21px; }
      .calendar-summary-card span { font-size: 11.5px; }
      .calendar-month-control { width: 88%; grid-template-columns: 44px 1fr 44px; }
      .calendar-month-control button { width: 44px; height: 44px; }
      .calendar-month-control strong { font-size: 20px; }
      .calendar-day { min-height: 46px; border-radius: 13px; padding: 5px; }
    }


    /* Stamp tab mobile benefits/regulation patch */
    #page-stamp .stamp-benefit-title,
    #page-stamp .stamp-rule-title {
      margin: 18px 0 10px;
      color: #d77ca7;
      font-size: 24px;
      line-height: 1.2;
      font-weight: 900;
      letter-spacing: -.03em;
    }

    #page-stamp .stamp-benefit-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 10px 0 12px;
    }

    #page-stamp .stamp-benefit-card {
      position: relative;
      min-height: 126px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: linear-gradient(180deg, #fff, #fff8fc);
      padding: 15px 13px;
      display: grid;
      align-content: center;
      text-align: center;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
    }

    #page-stamp .stamp-benefit-card small {
      display: inline-flex;
      justify-self: center;
      align-items: center;
      justify-content: center;
      min-height: 25px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff7fb;
      color: #d77ca7;
      font-size: 11px;
      font-weight: 900;
      white-space: nowrap;
    }

    #page-stamp .stamp-benefit-card b {
      display: block;
      margin-top: 9px;
      color: #624459;
      font-size: 17px;
      line-height: 1.25;
      font-weight: 900;
      word-break: keep-all;
    }

    #page-stamp .stamp-benefit-card span {
      display: block;
      margin-top: 7px;
      color: #9a7187;
      font-size: 11.5px;
      line-height: 1.45;
      font-weight: 800;
      word-break: keep-all;
    }

    #page-stamp .stamp-rule-note {
      border: 1px dashed var(--line2);
      border-radius: 20px;
      background: #fffafd;
      padding: 14px;
      margin-top: 12px;
    }

    #page-stamp .stamp-rule-note p {
      font-size: 12.5px;
      line-height: 1.62;
      font-weight: 850;
      color: #8f7183;
    }

    #page-stamp .stamp-rule-button {
      width: 100%;
      min-height: 44px;
      margin-top: 11px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: linear-gradient(180deg, #fff, #fff7fb);
      color: #d77ca7;
      font-size: 13px;
      font-weight: 900;
      box-shadow: 0 8px 18px rgba(255,95,168,.08);
    }

    @media (max-width: 370px) {
      #page-stamp .stamp-benefit-card {
        min-height: 116px;
        padding: 13px 10px;
      }
      #page-stamp .stamp-benefit-card b { font-size: 15.5px; }
      #page-stamp .stamp-benefit-card span { font-size: 11px; }
    }



    /* ON AIR mobile tab structure patch */
    .onair-mobile-module .onair-status-card {
      border: 1px solid var(--line);
      border-radius: 26px;
      background: linear-gradient(135deg, #fff, #fff4fa 62%, #f8f0ff);
      padding: 18px;
      margin: 18px 0 14px;
      box-shadow: var(--shadow-soft);
    }
    .onair-status-head {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }
    .onair-status-head span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 32px;
      padding: 0 15px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b98aa2;
      font-size: 13px;
      font-weight: 1000;
      letter-spacing: .08em;
    }
    .onair-status-head b {
      color: #6f5365;
      font-size: 23px;
      line-height: 1.25;
      font-weight: 1000;
    }
    .onair-status-card p {
      margin: 0 0 12px;
      color: #8f7183;
      font-size: 15px;
      line-height: 1.6;
      font-weight: 900;
    }
    .onair-status-card em {
      display: inline-flex;
      min-height: 34px;
      align-items: center;
      padding: 0 14px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: rgba(255,255,255,.72);
      color: #d77ca7;
      font-style: normal;
      font-size: 13px;
      font-weight: 1000;
    }
    .onair-tab-row {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding: 2px 0 12px;
      margin: 0 0 8px;
      scrollbar-width: none;
    }
    .onair-tab-row::-webkit-scrollbar { display: none; }
    .onair-tab-row button {
      flex: 0 0 auto;
      min-height: 44px;
      padding: 0 17px;
      border: 1px solid var(--line2);
      border-radius: 999px;
      background: #fff;
      color: #9f748d;
      font-size: 14px;
      font-weight: 1000;
    }
    .onair-tab-row button.active {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 10px 22px rgba(255,95,168,.16);
    }
    .onair-panel { display: none; }
    .onair-panel.active { display: block; }
    .onair-panel h3 {
      margin: 8px 0 10px;
      color: #d77ca7;
      font-size: 25px;
      line-height: 1.2;
      font-weight: 1000;
    }
    .onair-panel > p {
      margin: 0 0 14px;
      color: #8f7183;
      font-size: 15px;
      line-height: 1.62;
      font-weight: 900;
    }
    .onair-code-box { margin-top: 0; }
    .onair-note-card,
    .onair-secret-card,
    .onair-reward-list article {
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 15px 16px;
      margin-top: 12px;
    }
    .onair-note-card b,
    .onair-reward-list b {
      display: block;
      color: #6f5365;
      font-size: 16px;
      font-weight: 1000;
      margin-bottom: 5px;
    }
    .onair-note-card span,
    .onair-reward-list span {
      display: block;
      color: #8f7183;
      font-size: 14px;
      line-height: 1.55;
      font-weight: 900;
    }
    .onair-cheer-buttons {
      display: grid;
      grid-template-columns: 1fr;
      gap: 8px;
      margin: 12px 0 0;
    }
    .onair-cheer-buttons button,
    .onair-wide-btn {
      min-height: 46px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 14px;
      font-weight: 1000;
    }
    .onair-cheer-buttons button.primary {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 10px 22px rgba(255,95,168,.16);
    }
    .onair-secret-card {
      display: grid;
      grid-template-columns: 50px 1fr;
      gap: 12px;
      align-items: center;
      margin-bottom: 12px;
    }
    .onair-secret-card i {
      width: 50px;
      height: 50px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      background: #fff0f7;
      font-style: normal;
      font-size: 24px;
    }
    .onair-secret-card small {
      display: block;
      color: #b98aa2;
      font-size: 12px;
      font-weight: 1000;
      letter-spacing: .05em;
    }
    .onair-secret-card b {
      display: block;
      margin-top: 3px;
      color: #6f5365;
      font-size: 16px;
      line-height: 1.35;
      font-weight: 1000;
    }
    .onair-secret-card span {
      display: block;
      margin-top: 5px;
      color: #8f7183;
      font-size: 13px;
      line-height: 1.5;
      font-weight: 900;
    }
    .onair-reward-list { display: grid; gap: 10px; }
    @media (max-width: 430px) {
      .onair-status-head b { font-size: 21px; }
      .onair-panel h3 { font-size: 23px; }
      .onair-secret-card { grid-template-columns: 44px 1fr; }
      .onair-secret-card i { width: 44px; height: 44px; }
    }

    /* ON AIR live badge visibility + cheer cooldown patch */
    body:not(.lumi-onair-live) .tab[data-page="onair"] .badge,
    body:not(.lumi-onair-live) .app-icon[data-go="onair"] .mini {
      display: none !important;
    }
    .onair-cheer-buttons button:disabled {
      opacity: .58;
      filter: saturate(.72);
      box-shadow: none !important;
      cursor: default;
    }



    /* Message / Lumi Letter choice inbox patch v10.13 */
    .lumiMsg-card { overflow: hidden; }
    .lumiMsg-intro { margin-bottom: 12px; }
    .lumiMsg-tabs,
    .lumiMsg-filters {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin: 12px 0;
    }
    .lumiMsg-tabs button,
    .lumiMsg-filters button,
    .lumiMsg-replies button,
    .lumiMsg-actions button,
    .primary-mini {
      min-height: 40px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #b07693;
      font-size: 12px;
      font-weight: 900;
      padding: 0 13px;
    }
    .lumiMsg-tabs button.active,
    .lumiMsg-filters button.active,
    .lumiMsg-replies button:active,
    .primary-mini,
    #lumiMsgSaveBtn:not(.hidden),
    #lumiMsgUnsaveBtn:not(.hidden) {
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }
    .lumiMsg-tools {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      margin: 12px 0;
    }
    .lumiMsg-tools input {
      min-height: 42px;
      text-align: left;
      font-size: 16px;
    }
    .lumiMsg-list {
      display: grid;
      grid-template-columns: 1fr;
      gap: 9px;
      margin-top: 12px;
    }
    .lumiMsg-item {
      position: relative;
      width: 100%;
      min-height: 96px;
      display: grid;
      grid-template-columns: 52px minmax(0, 1fr);
      grid-template-rows: auto auto auto auto;
      column-gap: 12px;
      row-gap: 3px;
      align-items: start;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: #fff;
      padding: 12px 13px;
      text-align: left;
      color: inherit;
      box-shadow: 0 8px 16px rgba(232,191,211,.08);
    }
    .lumiMsg-icon {
      grid-row: 1 / span 4;
      grid-column: 1;
      width: 52px;
      height: 52px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: #fff0f7;
      border: 1px solid var(--line);
      color: #d77ca7;
      font-size: 22px;
      margin: 0;
    }
    .lumiMsg-meta {
      grid-column: 2;
      min-width: 0;
      padding-right: 58px;
      color: #b5869c;
      font-size: 11px;
      font-weight: 900;
      line-height: 1.25;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .lumiMsg-meta small { font-size: 10.5px; }
    .lumiMsg-tag,
    .lumiMsg-state {
      display: inline-flex;
      align-items: center;
      min-height: 23px;
      padding: 0 8px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff7fb;
      color: #d77ca7;
      font-size: 10px;
      font-weight: 900;
      vertical-align: middle;
      font-style: normal;
    }
    .lumiMsg-tag {
      grid-column: 2;
      justify-self: start;
      margin: 2px 0 0;
    }
    .lumiMsg-state {
      position: absolute;
      right: 12px;
      top: 12px;
      margin: 0;
    }
    .lumiMsg-state.read { color: #9a7187; background: #fff; }
    .lumiMsg-state.saved { color: #fff; background: #b28ea2; border-color: transparent; }
    .lumiMsg-title {
      grid-column: 2;
      display: block;
      min-width: 0;
      margin-top: 3px;
      color: #76586a;
      font-size: 15px;
      line-height: 1.3;
      font-weight: 900;
      word-break: keep-all;
    }
    .lumiMsg-preview {
      grid-column: 2;
      display: block;
      min-width: 0;
      margin-top: 2px;
      color: #9a7187;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 800;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .lumiMsg-pager {
      display: grid;
      grid-template-columns: 42px 1fr 42px;
      align-items: center;
      gap: 8px;
      margin: 12px 0 0;
    }
    .lumiMsg-pager button {
      width: 42px;
      height: 36px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 22px;
      line-height: 1;
      font-weight: 900;
    }
    .lumiMsg-pager button:disabled {
      opacity: .38;
      cursor: default;
    }
    .lumiMsg-pager span {
      min-height: 36px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, #fff, #fff7fb);
      color: #9a7187;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .03em;
    }
    .lumiMsg-empty {
      border: 1px dashed var(--line2);
      border-radius: 18px;
      background: #fffafd;
      color: #9a7187;
      padding: 14px;
      font-size: 13px;
      font-weight: 900;
      text-align: center;
    }
    .lumiMsg-view {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 1002;
      width: 100vw;
      height: 100vh;
      height: 100dvh;
      margin: 0;
      border: 0;
      border-radius: 0;
      background: rgba(70, 50, 64, 0.38);
      padding: max(14px, env(safe-area-inset-top, 0px)) 14px max(14px, env(safe-area-inset-bottom, 0px));
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(7px);
    }
    .lumiMsg-view.show { display: flex; }
    .lumiMsg-dialog {
      width: min(100%, 390px);
      max-height: calc(100dvh - 28px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) auto auto;
      border: 1px solid var(--line);
      border-radius: 26px;
      background: linear-gradient(180deg, #fffafd, #fff0f7);
      padding: 14px;
      box-shadow: 0 24px 70px rgba(70, 50, 64, 0.22);
      overflow: hidden;
    }
    .lumiMsg-chatHead {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: center;
      margin-bottom: 12px;
    }
    .lumiMsg-chatHead b {
      display: block;
      color: #76586a;
      font-size: 16px;
      line-height: 1.3;
      font-weight: 900;
      word-break: keep-all;
    }
    .lumiMsg-chatHead small {
      display: block;
      margin-top: 3px;
      color: #b5869c;
      font-size: 11px;
      font-weight: 900;
    }
    #lumiMsgChatTag {
      min-height: 26px;
      display: inline-flex;
      align-items: center;
      padding: 0 10px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--line2);
      color: #d77ca7;
      font-size: 11px;
      font-weight: 900;
      white-space: nowrap;
    }
    .lumiMsg-chatLog {
      display: grid;
      gap: 10px;
      min-height: 0;
      max-height: 52vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding-right: 2px;
      overscroll-behavior: contain;
    }
    .lumiMsg-bubble {
      max-width: 92%;
      padding: 12px 14px;
      border-radius: 20px;
      background: #fff;
      border: 1px solid var(--line);
      color: #76586a;
      font-size: 13px;
      line-height: 1.6;
      font-weight: 850;
      box-shadow: 0 8px 16px rgba(232,191,211,.10);
      word-break: keep-all;
      white-space: pre-line;
    }
    .lumiMsg-bubble.from { justify-self: start; border-bottom-left-radius: 8px; }
    .lumiMsg-bubble.to {
      justify-self: end;
      border-bottom-right-radius: 8px;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      color: #fff;
      border-color: transparent;
    }
    .lumiMsg-bubble.system {
      border-style: dashed;
      background: #fffafd;
      color: #d77ca7;
      font-size: 12px;
    }
    .lumiMsg-replies {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 12px;
    }
    .lumiMsg-replies button { white-space: normal; line-height: 1.35; padding: 8px 12px; }
    .lumiMsg-replies button:only-child {
      grid-column: 1 / -1;
      color: #b07693;
      background: #fff;
      border-color: var(--line2);
      box-shadow: none;
    }
    .lumiMsg-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 12px;
    }
    .lumiMsg-actions button {
      min-height: 38px;
      background: #fff;
      border: 1px solid var(--line2);
      color: #b07693;
      box-shadow: none;
    }
    #lumiMsgSaveBtn:not(.hidden),
    #lumiMsgUnsaveBtn:not(.hidden) {
      grid-column: 1 / -1;
      min-height: 42px;
      color: #fff;
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      box-shadow: 0 8px 18px rgba(255,95,168,.14);
    }
    #lumiMsgReplayBtn,
    #lumiMsgCloseBtn {
      grid-column: auto;
      background: #fff;
      border-color: var(--line2);
      color: #b07693;
    }
    html.lumi-msg-modal-open,
    body.lumi-msg-modal-open {
      overflow: hidden !important;
      overscroll-behavior: none;
    }
    @media (min-width: 760px) {
      .lumiMsg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 430px) {
      .lumiMsg-tools { grid-template-columns: 1fr; }
      .lumiMsg-tabs button,
      .lumiMsg-filters button { flex: 1 1 auto; }
      .lumiMsg-list { grid-template-columns: 1fr; gap: 8px; }
      .lumiMsg-item { min-height: 92px; padding: 11px 12px; border-radius: 18px; grid-template-columns: 52px minmax(0, 1fr); }
      .lumiMsg-title { font-size: 13px; }
      .lumiMsg-preview { font-size: 11px; line-height: 1.42; }
      .lumiMsg-meta { font-size: 10px; }
      .lumiMsg-tag, .lumiMsg-state { min-height: 21px; padding: 0 7px; font-size: 9.5px; }
      .lumiMsg-dialog { width: 100%; max-height: calc(100dvh - 20px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); border-radius: 24px; }
      .lumiMsg-chatLog { max-height: 49vh; }
      .lumiMsg-bubble { max-width: 94%; }
    }


    /* Songbook v1: preparation hub */
    .songbook-card {
      display: grid;
      gap: 14px;
    }

    .songbook-hero {
      border: 1px solid var(--line);
      border-radius: 26px;
      background:
        radial-gradient(circle at 92% 14%, rgba(202,167,255,.16), transparent 26%),
        linear-gradient(135deg, #fff, #fff6fb 68%, #f8f0ff);
      padding: 17px;
    }

    .songbook-hero h2 {
      margin: 10px 0 8px;
      color: var(--pink);
      font-size: 31px;
      line-height: 1.08;
      font-weight: 900;
      letter-spacing: -.04em;
    }

    .songbook-hero p {
      font-size: 13px;
      line-height: 1.65;
    }

    .songbook-tabs {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      margin: 0;
    }

    .songbook-note {
      margin: 0 0 11px;
      border: 1px dashed var(--line2);
      border-radius: 20px;
      background: #fffafd;
      padding: 13px;
    }

    .songbook-note b {
      display: block;
      color: #d77ca7;
      font-size: 14px;
      font-weight: 900;
      line-height: 1.35;
    }

    .songbook-note span {
      display: block;
      margin-top: 5px;
      color: #8f7183;
      font-size: 12px;
      line-height: 1.55;
      font-weight: 800;
      word-break: keep-all;
    }

    .songbook-list {
      display: grid;
      grid-template-columns: 1fr;
      gap: 9px;
    }

    .songbook-row {
      position: relative;
      min-height: 92px;
      display: grid;
      grid-template-columns: 52px minmax(0, 1fr);
      gap: 11px;
      align-items: center;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      padding: 13px 74px 13px 13px;
      box-shadow: 0 8px 16px rgba(232,191,211,.06);
    }

    .songbook-row i {
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: linear-gradient(135deg, #fff0f7, #f8f0ff);
      font-style: normal;
      font-size: 24px;
      overflow: hidden;
    }

    .songbook-row small {
      display: block;
      color: #b5869c;
      font-size: 11.5px;
      line-height: 1.28;
      font-weight: 900;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .songbook-row b {
      display: block;
      margin-top: 5px;
      color: #76586a;
      font-size: 16px;
      line-height: 1.32;
      font-weight: 900;
      word-break: keep-all;
    }

    .songbook-row span {
      display: block;
      margin-top: 5px;
      color: #9a7187;
      font-size: 12px;
      line-height: 1.45;
      font-weight: 800;
      word-break: keep-all;
    }

    .songbook-row em {
      position: absolute;
      right: 13px;
      top: 50%;
      transform: translateY(-50%);
      min-height: 27px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 10px;
      border: 1px solid var(--line2);
      border-radius: 999px;
      background: #fff7fb;
      color: #d77ca7;
      font-style: normal;
      font-size: 11px;
      line-height: 1;
      font-weight: 900;
      white-space: nowrap;
    }

    @media (min-width: 760px) {
      #page-songbook .songbook-card {
        max-width: 100%;
        padding: 30px 34px;
        gap: 18px;
      }

      #page-songbook .songbook-hero {
        padding: 24px 28px;
        border-radius: 30px;
      }

      #page-songbook .songbook-hero h2 {
        margin: 10px 0 8px;
        font-size: 40px;
        letter-spacing: -.045em;
      }

      #page-songbook .songbook-hero p {
        max-width: 860px;
        font-size: 16px;
        line-height: 1.72;
      }

      #page-songbook .songbook-tabs {
        width: min(560px, 100%);
        margin: 0 auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      #page-songbook .songbook-tabs .mini-tab {
        min-height: 46px;
        font-size: 15px;
      }

      #page-songbook .songbook-note {
        padding: 16px 18px;
        border-radius: 22px;
        margin-bottom: 14px;
      }

      #page-songbook .songbook-note b {
        font-size: 17px;
      }

      #page-songbook .songbook-note span {
        font-size: 14px;
        line-height: 1.65;
      }

      #page-songbook .songbook-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      #page-songbook .songbook-row {
        min-height: 118px;
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 14px;
        padding: 17px 82px 17px 16px;
        border-radius: 26px;
      }

      #page-songbook .songbook-row i {
        width: 60px;
        height: 60px;
        border-radius: 20px;
        font-size: 28px;
      }

      #page-songbook .songbook-row small {
        font-size: 13px;
      }

      #page-songbook .songbook-row b {
        font-size: 20px;
        line-height: 1.32;
      }

      #page-songbook .songbook-row span {
        font-size: 14px;
        line-height: 1.52;
      }

      #page-songbook .songbook-row em {
        right: 16px;
        min-height: 31px;
        padding: 0 12px;
        font-size: 12.5px;
      }
    }

    @media (max-width: 430px) {
      .songbook-hero h2 {
        font-size: 28px;
      }

      .songbook-row {
        padding-right: 62px;
      }

      .songbook-row b {
        font-size: 15px;
      }

      .songbook-row span {
        font-size: 11.5px;
      }

      .songbook-row em {
        right: 10px;
        padding: 0 8px;
        font-size: 10.5px;
      }
    }


    /* Login language placeholder: UI only, translation data will be connected later */
    .login-lang-box {
      margin: 14px auto 0;
      padding-top: 12px;
      border-top: 1px dashed rgba(239, 188, 213, 0.72);
      display: grid;
      gap: 7px;
      justify-items: center;
    }

    .login-lang-label {
      color: #b28ea2;
      font-size: 10.8px;
      font-weight: 900;
      letter-spacing: .08em;
    }

    .login-lang-row {
      display: flex;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .login-lang-btn {
      min-width: 47px;
      min-height: 38px;
      border-radius: 999px;
      border: 1px solid var(--line2);
      background: #fff;
      color: #d77ca7;
      font-size: 12px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: .04em;
      box-shadow: 0 6px 14px rgba(232, 191, 211, 0.10);
    }

    .login-lang-btn.active {
      border-color: transparent;
      background: linear-gradient(180deg, #ff82ba, #ff5fa8);
      color: #fff;
      box-shadow: 0 8px 18px rgba(255, 95, 168, 0.18);
    }

    .login-lang-note {
      color: #b28ea2;
      font-size: 10.8px;
      line-height: 1.45;
      font-weight: 800;
      text-align: center;
      word-break: keep-all;
    }


    /* PC login frame adjustment v1: old PC card feeling, mobile kept intact */
    @media (min-width: 760px) {
      .phone:has(#loginView.active) {
        width: min(420px, calc(100vw - 48px));
        max-width: 420px;
        min-height: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
      }

      .phone:has(#loginView.active)::before,
      .phone:has(#loginView.active)::after {
        content: none;
        display: none;
      }

      .phone:has(#loginView.active) .screen {
        min-height: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
      }

      .phone:has(#loginView.active) .screen-inner {
        padding: 0;
      }

      .phone:has(#loginView.active) .login-view {
        min-height: calc(100vh - 72px);
        align-items: center;
        padding: 24px 0;
      }

      .phone:has(#loginView.active) .login-card {
        width: 100%;
        border-radius: 34px;
        padding: 32px 24px 28px;
        background: rgba(255,255,255,.90);
        box-shadow: var(--shadow);
      }

      .phone:has(#loginView.active) .login-title {
        font-size: 66px;
      }
    }


    /* PC home density + readability tune v1: mobile untouched */
    @media (min-width: 760px) {
      .phone:not(:has(#loginView.active)) {
        width: min(980px, calc(100vw - 32px));
        max-width: 980px;
        padding: 18px 22px;
        border-width: 10px;
      }

      .phone:not(:has(#loginView.active))::before {
        top: 13px;
        width: 112px;
        height: 25px;
      }

      .phone:not(:has(#loginView.active)) .screen {
        min-height: 840px;
      }

      .phone:not(:has(#loginView.active)) .screen-inner {
        padding: 32px 24px 26px;
      }

      .phone:not(:has(#loginView.active)) .statusbar {
        padding: 0 4px 8px;
        font-size: 13px;
      }

      .phone:not(:has(#loginView.active)) .top-actions {
        margin-bottom: 12px;
      }

      .phone:not(:has(#loginView.active)) .top-actions a,
      .phone:not(:has(#loginView.active)) .top-actions button {
        min-height: 44px;
        font-size: 13.5px;
      }

      .phone:not(:has(#loginView.active)) .header {
        padding: 20px 24px;
        margin-bottom: 14px;
      }

      .phone:not(:has(#loginView.active)) .header h1 {
        font-size: 62px;
      }

      .phone:not(:has(#loginView.active)) .header p {
        font-size: 14.5px;
        line-height: 1.62;
      }

      .phone:not(:has(#loginView.active)) .tabs {
        margin-bottom: 14px;
      }

      .phone:not(:has(#loginView.active)) .tab {
        min-height: 48px;
        font-size: 13px;
      }

      .phone:not(:has(#loginView.active)) .kawaii-home {
        padding: 18px 20px;
      }

      .phone:not(:has(#loginView.active)) .clock-card {
        min-height: 146px;
        padding: 22px 24px 20px;
        margin-bottom: 10px;
      }

      .phone:not(:has(#loginView.active)) .time {
        font-size: 70px;
      }

      .phone:not(:has(#loginView.active)) .date {
        font-size: 15px;
      }

      .phone:not(:has(#loginView.active)) .copy {
        font-size: 13.5px;
      }

      .phone:not(:has(#loginView.active)) .search {
        min-height: 42px;
        font-size: 14px;
      }

      .phone:not(:has(#loginView.active)) .home-grid {
        gap: 11px;
      }

      .phone:not(:has(#loginView.active)) .home-card {
        min-height: 126px;
        padding: 16px 16px 16px 66px;
      }

      .phone:not(:has(#loginView.active)) .home-card.no-icon {
        padding-left: 16px;
      }

      .phone:not(:has(#loginView.active)) .home-card-icon {
        left: 16px;
        top: 16px;
        width: 42px;
        height: 42px;
        font-size: 21px;
      }

      .phone:not(:has(#loginView.active)) .home-card small,
      .phone:not(:has(#loginView.active)) .summary-card small,
      .phone:not(:has(#loginView.active)) .profile-stat small {
        font-size: 12.5px;
      }

      .phone:not(:has(#loginView.active)) .home-card b {
        font-size: 19px;
      }

      .phone:not(:has(#loginView.active)) .home-card span {
        font-size: 13.5px;
        line-height: 1.55;
      }

      .phone:not(:has(#loginView.active)) .home-card.pass b {
        font-size: 36px;
      }

      .phone:not(:has(#loginView.active)) .placeholder h2,
      .phone:not(:has(#loginView.active)) .module-card h2 {
        font-size: 28px;
      }

      .phone:not(:has(#loginView.active)) .placeholder p,
      .phone:not(:has(#loginView.active)) .module-card > p,
      .phone:not(:has(#loginView.active)) p {
        font-size: 14.5px;
      }

      .phone:not(:has(#loginView.active)) .plain-row b,
      .phone:not(:has(#loginView.active)) .record-card b,
      .phone:not(:has(#loginView.active)) .mail-item b,
      .phone:not(:has(#loginView.active)) .message-preview-card b {
        font-size: 16px;
      }

      .phone:not(:has(#loginView.active)) .plain-row span,
      .phone:not(:has(#loginView.active)) .record-card span,
      .phone:not(:has(#loginView.active)) .mail-item span,
      .phone:not(:has(#loginView.active)) .message-preview-card span {
        font-size: 13px;
      }

      .phone:not(:has(#loginView.active)) .mini-tab,
      .phone:not(:has(#loginView.active)) .status-chip,
      .phone:not(:has(#loginView.active)) .pill {
        font-size: 12.5px;
      }
    }


    /* PC typography match patch v1: old PC file size feeling, mobile untouched */
    @media (min-width: 760px) {
      .phone:not(:has(#loginView.active)) {
        font-size: 16px;
      }

      .phone:not(:has(#loginView.active)) .screen-inner {
        padding-top: 28px;
      }

      .phone:not(:has(#loginView.active)) .header h1 {
        font-size: 68px;
      }

      .phone:not(:has(#loginView.active)) .header p {
        font-size: 16px;
        line-height: 1.68;
      }

      .phone:not(:has(#loginView.active)) .top-actions a,
      .phone:not(:has(#loginView.active)) .top-actions button {
        min-height: 46px;
        font-size: 15px;
      }

      .phone:not(:has(#loginView.active)) .tab {
        min-height: 52px;
        font-size: 15px;
      }

      .phone:not(:has(#loginView.active)) .clock-eyebrow {
        font-size: 13px;
      }

      .phone:not(:has(#loginView.active)) .time {
        font-size: 76px;
      }

      .phone:not(:has(#loginView.active)) .date {
        font-size: 17px;
      }

      .phone:not(:has(#loginView.active)) .copy {
        font-size: 15.5px;
        line-height: 1.58;
      }

      .phone:not(:has(#loginView.active)) .search {
        min-height: 44px;
        font-size: 15.5px;
      }

      .phone:not(:has(#loginView.active)) .home-card {
        min-height: 136px;
        padding: 18px 18px 18px 72px;
      }

      .phone:not(:has(#loginView.active)) .home-card.no-icon {
        padding-left: 18px;
      }

      .phone:not(:has(#loginView.active)) .home-card-icon {
        left: 18px;
        top: 18px;
        width: 46px;
        height: 46px;
        font-size: 23px;
      }

      .phone:not(:has(#loginView.active)) .home-card small,
      .phone:not(:has(#loginView.active)) .summary-card small,
      .phone:not(:has(#loginView.active)) .profile-stat small {
        font-size: 13.5px;
      }

      .phone:not(:has(#loginView.active)) .home-card b {
        font-size: 22px;
        line-height: 1.26;
      }

      .phone:not(:has(#loginView.active)) .home-card span {
        font-size: 15px;
        line-height: 1.6;
      }

      .phone:not(:has(#loginView.active)) .home-card.pass b {
        font-size: 42px;
      }

      .phone:not(:has(#loginView.active)) .placeholder h2,
      .phone:not(:has(#loginView.active)) .module-card h2,
      .phone:not(:has(#loginView.active)) .launch-head h2 {
        font-size: 31px;
      }

      .phone:not(:has(#loginView.active)) .placeholder p,
      .phone:not(:has(#loginView.active)) .module-card > p,
      .phone:not(:has(#loginView.active)) p {
        font-size: 16px;
        line-height: 1.72;
      }

      .phone:not(:has(#loginView.active)) .app-icon {
        min-height: 118px;
        font-size: 15px;
      }

      .phone:not(:has(#loginView.active)) .app-icon i {
        width: 58px;
        height: 58px;
        font-size: 28px;
      }

      .phone:not(:has(#loginView.active)) .plain-row b,
      .phone:not(:has(#loginView.active)) .record-card b,
      .phone:not(:has(#loginView.active)) .mail-item b,
      .phone:not(:has(#loginView.active)) .message-preview-card b,
      .phone:not(:has(#loginView.active)) .calendar-item b,
      .phone:not(:has(#loginView.active)) .guide-card h3 {
        font-size: 18px;
      }

      .phone:not(:has(#loginView.active)) .plain-row span,
      .phone:not(:has(#loginView.active)) .record-card span,
      .phone:not(:has(#loginView.active)) .mail-item span,
      .phone:not(:has(#loginView.active)) .message-preview-card span,
      .phone:not(:has(#loginView.active)) .calendar-item span,
      .phone:not(:has(#loginView.active)) .guide-card p,
      .phone:not(:has(#loginView.active)) .guide-card li {
        font-size: 14.8px;
        line-height: 1.62;
      }

      .phone:not(:has(#loginView.active)) .mini-tab,
      .phone:not(:has(#loginView.active)) .status-chip,
      .phone:not(:has(#loginView.active)) .pill,
      .phone:not(:has(#loginView.active)) .widget-link,
      .phone:not(:has(#loginView.active)) .outline-pill,
      .phone:not(:has(#loginView.active)) .mail-action-btn,
      .phone:not(:has(#loginView.active)) .disabled-note-btn {
        font-size: 14px;
      }
    }



    /* PC ticket legacy layout patch: desktop-only visual structure */
    .ticket-pc-layout { display: none; }

    @media (min-width: 760px) {
      #page-ticket > .module-card > .ticket-main-tabs,
      #page-ticket > .module-card > .ticket-pager-scope {
        display: none !important;
      }

      #page-ticket > .module-card {
        padding: 34px 36px 42px;
        border-radius: 34px;
      }

      #page-ticket > .module-card > h2,
      #page-ticket > .module-card > p {
        display: none;
      }

      .ticket-pc-layout {
        display: grid;
        gap: 28px;
      }

      .ticket-pc-layout h3 {
        margin: 0 0 18px;
        color: #d77ca7;
        font-size: 32px;
        line-height: 1.12;
        font-weight: 900;
        letter-spacing: -0.04em;
      }

      .ticket-pc-current-section,
      .ticket-pc-birthday-section,
      .ticket-pc-wallet-section {
        border: 1px solid var(--line);
        border-radius: 32px;
        background: rgba(255,255,255,.88);
        box-shadow: var(--shadow);
        padding: 26px;
      }

      .ticket-pc-pass {
        position: relative;
        border: 1px solid #f2c5da;
        border-radius: 28px;
        background: linear-gradient(135deg, #fff, #fff8fc 62%, #f7efff);
        color: #76586a;
        overflow: visible;
      }

      .ticket-pc-pass::before,
      .ticket-pc-pass::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #fff7fb;
        border: 1px solid #f2c5da;
        transform: translateY(-50%);
        z-index: 2;
      }

      .ticket-pc-pass::before { left: -15px; }
      .ticket-pc-pass::after { right: -15px; }

      .ticket-pc-pass-inner {
        margin: 12px;
        padding: 18px;
        border: 2px dashed #f3a9cd;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,248,252,.58));
      }

      .ticket-pc-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 12px;
      }

      .ticket-pc-label {
        display: inline-flex;
        min-height: 30px;
        align-items: center;
        padding: 0 14px;
        border-radius: 999px;
        border: 1px solid #efbcd5;
        background: #fff;
        color: #d77ca7;
        font-size: 12px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: .08em;
      }

      .ticket-pc-date {
        color: #c7779a;
        font-size: 14px;
        line-height: 1.35;
        font-weight: 900;
        text-align: right;
      }

      .ticket-pc-title-en {
        margin-top: 8px;
        color: var(--pink);
        font-family: "Cormorant Garamond", serif;
        font-size: 34px;
        line-height: .95;
        font-weight: 700;
        letter-spacing: -.04em;
      }

      .ticket-pc-title-ko {
        margin-top: 10px;
        color: #624459;
        font-size: 25px;
        line-height: 1.2;
        font-weight: 900;
        letter-spacing: -.03em;
      }

      .ticket-pc-place {
        margin-top: 8px;
        color: #76586a;
        font-size: 16px;
        line-height: 1.45;
        font-weight: 900;
      }

      .ticket-pc-entry {
        margin: 20px 0 12px;
        padding: 16px;
        border-radius: 22px;
        border: 1px solid #f2c5da;
        background: linear-gradient(135deg, #fff8fc, #fff, #f7efff);
        text-align: center;
      }

      .ticket-pc-entry small {
        display: block;
        color: #b28ea2;
        font-size: 12px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: .16em;
      }

      .ticket-pc-entry strong {
        display: block;
        margin-top: 8px;
        color: var(--pink);
        font-size: 44px;
        line-height: .9;
        font-weight: 900;
        letter-spacing: .14em;
      }

      .ticket-pc-note {
        margin: 12px 0;
        padding: 16px;
        border-radius: 20px;
        border: 1px solid #f2c5da;
        background: rgba(255,255,255,.84);
        color: #624459;
        font-size: 17px;
        line-height: 1.55;
        font-weight: 900;
        text-align: center;
        word-break: keep-all;
      }

      .ticket-pc-meta {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
      }

      .ticket-pc-meta > div {
        min-height: 84px;
        padding: 14px;
        border-radius: 18px;
        border: 1px solid #f2c5da;
        background: rgba(255,255,255,.84);
      }

      .ticket-pc-meta small {
        display: block;
        color: #c184a3;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 900;
        letter-spacing: .05em;
      }

      .ticket-pc-meta b {
        display: block;
        margin-top: 8px;
        color: #624459;
        font-size: 17px;
        line-height: 1.32;
        font-weight: 900;
        word-break: keep-all;
      }

      .ticket-pc-qr {
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 16px;
        align-items: center;
        margin-top: 12px;
        padding: 14px;
        border-radius: 20px;
        border: 1px solid #f2c5da;
        background: rgba(255,255,255,.86);
      }

      .ticket-pc-qr i {
        width: 52px;
        height: 52px;
        display: grid;
        place-items: center;
        border-radius: 8px;
        background: #111;
        color: #fff;
        font-size: 26px;
        font-style: normal;
        box-shadow: 0 8px 16px rgba(70,50,64,.12);
      }

      .ticket-pc-qr p {
        margin: 0;
        color: #76586a;
        font-size: 15px;
        line-height: 1.5;
        font-weight: 900;
      }

      .ticket-pc-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px;
      }

      .ticket-pc-chips span,
      .ticket-pc-card-actions span,
      .ticket-pc-card-actions button {
        min-height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 13px;
        border-radius: 999px;
        border: 1px solid var(--line2);
        background: #fff;
        color: #d77ca7;
        font-size: 13px;
        font-weight: 900;
        white-space: nowrap;
      }

      .ticket-pc-birthday .ticket-pc-pass-inner {
        background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,247,251,.62));
      }

      .ticket-pc-birthday .ticket-pc-entry strong {
        letter-spacing: .08em;
      }

      .ticket-pc-help,
      .ticket-pc-wallet-lead,
      .ticket-pc-wallet-guide {
        margin: 0;
        color: #7f6a77;
        font-size: 15px;
        line-height: 1.68;
        font-weight: 900;
        word-break: keep-all;
      }

      .ticket-pc-help {
        margin-top: 16px;
        padding: 14px 16px;
        border-radius: 18px;
        border: 1px solid var(--line);
        background: rgba(255,255,255,.82);
      }

      .ticket-pc-wallet-lead {
        margin-bottom: 16px;
      }

      .ticket-pc-wallet-guide {
        margin-bottom: 18px;
        padding: 16px 18px;
        border: 1px dashed var(--line2);
        border-radius: 20px;
        background: #fffafd;
      }

      .ticket-pc-wallet-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin: 0 0 16px;
      }

      .ticket-pc-wallet-tabs .mini-tab {
        min-height: 54px !important;
        border-radius: 22px !important;
        font-size: 17px !important;
      }

      .ticket-pc-wallet-tabs .mini-tab.active {
        background: #624459 !important;
        border-color: #624459 !important;
        color: #fff !important;
        box-shadow: none !important;
      }

      .ticket-pc-wallet-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
      }

      .ticket-pc-wallet-card {
        min-height: 190px;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: #fff;
        padding: 22px;
        box-shadow: 0 8px 16px rgba(232,191,211,.08);
      }

      .ticket-pc-wallet-card small {
        display: block;
        color: #d77ca7;
        font-size: 14px;
        line-height: 1.25;
        font-weight: 900;
      }

      .ticket-pc-wallet-card b {
        display: block;
        margin-top: 10px;
        color: #624459;
        font-size: 24px;
        line-height: 1.2;
        font-weight: 900;
        letter-spacing: -.03em;
      }

      .ticket-pc-wallet-card span {
        display: block;
        margin-top: 10px;
        color: #7f6a77;
        font-size: 16px;
        line-height: 1.55;
        font-weight: 900;
        word-break: keep-all;
      }

      .ticket-pc-card-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 18px;
      }

      .ticket-pc-card-actions button {
        cursor: default;
      }

      .ticket-pc-card-actions button:disabled,
      .ticket-pc-card-actions span:not(.active) {
        opacity: .62;
        background: #fffafd;
      }

      .ticket-pc-card-actions span.active {
        border-color: transparent;
        background: linear-gradient(180deg, #ff82ba, #ff5fa8);
        color: #fff;
      }

      .ticket-pc-wallet-card.is-locked {
        background: rgba(255,255,255,.72);
      }
    }

  

    /* PC ticket legacy fine tune: compact horizontal pass + birthday color match */
    @media (min-width: 760px) {
      .ticket-pc-layout h3 {
        font-size: 30px;
        margin-bottom: 16px;
      }

      .ticket-pc-current-section,
      .ticket-pc-birthday-section,
      .ticket-pc-wallet-section {
        padding: 24px 26px;
      }

      .ticket-pc-pass {
        max-width: 100%;
      }

      .ticket-pc-pass-inner {
        margin: 10px;
        padding: 16px;
      }

      .ticket-pc-top {
        margin-bottom: 10px;
      }

      .ticket-pc-title-en {
        font-size: 30px;
        line-height: .95;
        margin-top: 7px;
      }

      .ticket-pc-title-ko {
        font-size: 23px;
        margin-top: 8px;
      }

      .ticket-pc-place {
        font-size: 15px;
        margin-top: 6px;
      }

      .ticket-pc-entry {
        margin: 16px 0 10px;
        padding: 13px 16px;
      }

      .ticket-pc-entry strong {
        font-size: 40px;
        margin-top: 6px;
      }

      .ticket-pc-note {
        margin: 10px 0;
        padding: 13px 14px;
        font-size: 15px;
      }

      .ticket-pc-meta {
        gap: 9px;
      }

      .ticket-pc-meta > div {
        min-height: 72px;
        padding: 12px;
      }

      .ticket-pc-meta small {
        font-size: 11px;
      }

      .ticket-pc-meta b {
        font-size: 15px;
        margin-top: 6px;
      }

      .ticket-pc-qr {
        grid-template-columns: 54px 1fr;
        gap: 13px;
        padding: 12px 14px;
      }

      .ticket-pc-qr i {
        width: 48px;
        height: 48px;
        font-size: 23px;
      }

      .ticket-pc-qr p {
        font-size: 14px;
      }

      .ticket-pc-chips span,
      .ticket-pc-card-actions span,
      .ticket-pc-card-actions button {
        min-height: 30px;
        padding: 0 12px;
        font-size: 12px;
        line-height: 1;
        vertical-align: middle;
      }

      .ticket-pc-birthday-section {
        padding-top: 22px;
      }

      .ticket-pc-birthday {
        background: linear-gradient(135deg, #fff, #fff5fb 54%, #fff0f7);
        border-color: #f4b8d2;
      }

      .ticket-pc-birthday .ticket-pc-pass-inner {
        background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,244,250,.72));
        border-color: #f3a9cd;
      }

      .ticket-pc-birthday .ticket-pc-title-en,
      .ticket-pc-birthday .ticket-pc-date {
        color: var(--pink);
      }

      .ticket-pc-birthday .ticket-pc-entry {
        background: #fff7fb;
      }

      .ticket-pc-birthday .ticket-pc-entry strong {
        font-size: 38px;
      }

      .ticket-pc-wallet-card {
        min-height: 168px;
        padding: 20px;
      }

      .ticket-pc-wallet-card small {
        font-size: 13px;
      }

      .ticket-pc-wallet-card b {
        font-size: 21px;
        margin-top: 8px;
      }

      .ticket-pc-wallet-card span {
        font-size: 15px;
        line-height: 1.5;
      }

      .ticket-pc-card-actions {
        align-items: center;
      }

      .ticket-pc-card-actions span.active {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        padding-top: 0;
        padding-bottom: 0;
      }
    }


    /* PC ticket wallet detail fix: match legacy card spacing + working detail modal */
    @media (min-width: 760px) {
      .ticket-pc-wallet-card {
        min-height: 218px;
        padding: 22px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
      }

      .ticket-pc-wallet-card small {
        font-size: 13px;
        line-height: 1.25;
      }

      .ticket-pc-wallet-card b {
        margin-top: 9px;
        font-size: 22px;
        line-height: 1.18;
      }

      .ticket-pc-wallet-card > span {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.55;
      }

      .ticket-pc-card-actions {
        margin-top: auto;
        padding-top: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 54px;
      }

      .ticket-pc-card-actions button,
      .ticket-pc-card-actions span {
        min-height: 34px !important;
        padding: 0 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 999px !important;
        font-size: 13px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        vertical-align: middle !important;
        margin-top: 0 !important;
      }

      .ticket-pc-card-actions button {
        cursor: pointer;
      }

      .ticket-pc-card-actions span.active {
        transform: none !important;
        position: static !important;
      }

      .ticket-detail-modal {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: grid;
        place-items: center;
        padding: 24px;
        background: rgba(70, 50, 64, 0.42);
        backdrop-filter: blur(8px);
      }

      .ticket-detail-modal.hidden { display: none !important; }

      .ticket-detail-card {
        position: relative;
        width: min(600px, calc(100vw - 80px));
        border: 1px solid var(--line);
        border-radius: 28px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 24px 64px rgba(70, 50, 64, .22);
        padding: 24px 26px 24px;
      }

      .ticket-detail-close {
        position: absolute;
        right: 16px;
        top: 16px;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid var(--line2);
        background: #fff;
        color: #9f748d;
        font-size: 24px;
        font-weight: 900;
        line-height: 1;
      }

      .perk-ticket-visual {
        position: relative;
        border: 1px dashed var(--line2);
        border-radius: 22px;
        background: linear-gradient(135deg, #fff, #fff7fb 65%, #f8f0ff);
        padding: 24px 24px;
        color: #76586a;
      }

      .perk-ticket-visual::before,
      .perk-ticket-visual::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #fff;
        border: 1px solid var(--line2);
        transform: translateY(-50%);
      }

      .perk-ticket-visual::before { left: -13px; }
      .perk-ticket-visual::after { right: -13px; }

      .perk-ticket-visual small {
        display: block;
        color: #d77ca7;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 900;
        letter-spacing: .10em;
      }

      .perk-ticket-visual h4 {
        margin: 16px 0 8px;
        color: #624459;
        font-size: 28px;
        line-height: 1.1;
        font-weight: 900;
        letter-spacing: -.035em;
      }

      .perk-ticket-visual p {
        margin: 0;
        color: #76586a;
        font-size: 15px;
        line-height: 1.5;
        font-weight: 900;
      }

      .perk-valid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 18px;
      }

      .perk-valid div {
        min-height: 84px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255,255,255,.88);
        padding: 16px;
      }

      .perk-valid b {
        display: block;
        color: #624459;
        font-size: 16px;
        line-height: 1.25;
        font-weight: 900;
      }

      .perk-valid span {
        display: block;
        margin-top: 7px;
        color: #d77ca7;
        font-size: 15px;
        line-height: 1.42;
        font-weight: 900;
        word-break: keep-all;
      }

      .ticket-detail-copy {
        margin: 20px 0 0;
        color: #624459;
        font-size: 15px;
        line-height: 1.68;
        font-weight: 900;
        word-break: keep-all;
      }

      .ticket-detail-ok {
        min-height: 42px;
        margin-top: 20px;
        padding: 0 20px;
        border-radius: 999px;
        background: linear-gradient(180deg, #ff82ba, #ff5fa8);
        color: #fff;
        font-size: 14px;
        font-weight: 900;
      }
    }



/* PC ticket typography match patch: 760px+ only */
@media (min-width: 760px) {
  .lumi-pass-title {
    font-size: 54px;
    letter-spacing: -.05em;
    color: #ff5fa8;
    text-shadow: none;
  }

  .lumi-pass-sub {
    font-size: 24px;
    line-height: 1.2;
    color: #7c5b6d;
  }

  .lumi-entry-box strong {
    font-size: 64px;
    letter-spacing: .14em;
  }

  .lumi-entry-box {
    padding: 17px;
    border-radius: 24px;
  }

  .lumi-pass .ticket-info,
  .ticket-card.lumi-pass .ticket-info {
    grid-template-columns: repeat(4, 1fr);
  }

  .lumi-pass .ticket-cell,
  .ticket-card.lumi-pass .ticket-cell {
    min-height: 64px;
  }

  .lumi-pass .ticket-cell small,
  .ticket-card.lumi-pass .ticket-cell small {
    font-size: 11px;
  }

  .lumi-pass .ticket-cell b,
  .ticket-card.lumi-pass .ticket-cell b {
    font-size: 13px;
  }

  .lumi-pass-label {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }

  .lumi-pass-date {
    font-size: 13px;
  }
}



    /* PC ticket wallet typography down patch */
    @media (min-width: 760px) {
      .ticket-pc-wallet-section h3 {
        font-size: 30px !important;
        line-height: 1.18 !important;
      }

      .ticket-pc-wallet-lead,
      .ticket-pc-wallet-guide {
        font-size: 15px !important;
        line-height: 1.7 !important;
      }

      .ticket-pc-wallet-tabs .mini-tab {
        font-size: 15px !important;
        min-height: 46px !important;
      }

      .ticket-pc-wallet-card {
        padding: 18px !important;
      }

      .ticket-pc-wallet-card small {
        font-size: 13px !important;
        line-height: 1.35 !important;
      }

      .ticket-pc-wallet-card b {
        font-size: 21px !important;
        line-height: 1.24 !important;
      }

      .ticket-pc-wallet-card > span {
        font-size: 15px !important;
        line-height: 1.55 !important;
      }

      .ticket-pc-card-actions {
        align-items: center !important;
        gap: 8px !important;
      }

      .ticket-pc-card-actions button,
      .ticket-pc-card-actions span {
        min-height: 34px !important;
        padding: 0 13px !important;
        font-size: 13px !important;
        line-height: 1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
      }
    }


    /* PC mailbox restore patch: desktop-only 2-column cards, mobile untouched */
    @media (min-width: 760px) {
      #page-mail .mail-card {
        padding: 30px 32px 36px !important;
      }

      #page-mail .mail-card .mini-tabs.mail-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin: 16px 0 14px !important;
      }

      #page-mail .mail-card .mini-tabs.mail-tabs .mini-tab {
        min-height: 48px !important;
        border-radius: 999px !important;
        font-size: 15px !important;
        font-weight: 900 !important;
      }

      #mail-inbox .mail-filter-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin: 12px 0 14px !important;
      }

      #mail-inbox .mail-filter-row button {
        min-height: 38px !important;
        padding: 0 15px !important;
        border-radius: 999px !important;
        font-size: 13px !important;
        line-height: 1 !important;
      }

      #mail-saved .mail-filter-row {
        display: none !important;
      }

      #page-mail .mail-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        margin-top: 12px !important;
      }

      #page-mail .mail-item {
        min-height: 104px !important;
        padding: 16px 42px 16px 16px !important;
        grid-template-columns: 48px minmax(0, 1fr) !important;
        gap: 13px !important;
        border-radius: 23px !important;
        box-shadow: 0 8px 16px rgba(232,191,211,.08) !important;
      }

      #page-mail .mail-item .icon {
        width: 48px !important;
        height: 48px !important;
        border-radius: 16px !important;
        font-size: 22px !important;
      }

      #page-mail .mail-item-main {
        display: flex !important;
        min-width: 0 !important;
        flex-direction: column !important;
        justify-content: center !important;
      }

      #page-mail .mail-item b {
        order: 1 !important;
        margin: 0 !important;
        color: #76586a !important;
        font-size: 19px !important;
        line-height: 1.28 !important;
        font-weight: 900 !important;
        letter-spacing: -0.03em !important;
      }

      #page-mail .mail-item-meta {
        order: 2 !important;
        margin-top: 7px !important;
        color: #b28ea2 !important;
        font-size: 13.5px !important;
        line-height: 1.35 !important;
        font-weight: 900 !important;
      }

      #page-mail .mail-item-preview {
        display: none !important;
      }

      #page-mail .mail-status-chip {
        display: none !important;
      }

      #page-mail .mail-item::after {
        content: "›" !important;
        position: absolute !important;
        right: 17px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: #d77ca7 !important;
        font-size: 26px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
      }

      #page-mail .mail-pager {
        max-width: 240px !important;
        margin: 16px auto 0 !important;
      }

      #page-mail .mail-empty,
      #page-mail .mail-guide-list .plain-row {
        font-size: 15px !important;
      }

      .mail-modal-dialog {
        width: min(640px, calc(100vw - 72px)) !important;
        max-height: calc(100vh - 72px) !important;
        padding: 28px !important;
        border-radius: 30px !important;
      }

      .mail-modal-x {
        right: 18px !important;
        top: 18px !important;
        width: 38px !important;
        height: 38px !important;
      }

      .mail-modal-icon {
        width: 54px !important;
        height: 54px !important;
        border-radius: 18px !important;
        font-size: 24px !important;
        margin-bottom: 12px !important;
      }

      .mail-modal-meta {
        padding-right: 46px !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
      }

      .mail-modal-dialog h3 {
        margin: 9px 0 14px !important;
        font-size: 28px !important;
        line-height: 1.25 !important;
      }

      .mail-modal-dialog p {
        padding: 18px !important;
        border-radius: 22px !important;
        font-size: 16px !important;
        line-height: 1.78 !important;
      }

      .mail-modal-actions {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin-top: 16px !important;
      }

      .mail-save-main,
      .mail-close-sub {
        min-height: 42px !important;
        font-size: 14px !important;
      }
    }


    /* =============================================
       PC PROFILE TAB OPTIMIZATION PATCH (v4)
       모바일 절대 건드리지 않음 - @media min-width:760px 전용
    ============================================= */

    @media (min-width: 760px) {

      /* 헤더 높이 & 패딩 늘리기 */
      .header {
        padding: 28px 32px 26px !important;
        border-radius: 32px !important;
        margin-bottom: 18px !important;
      }

      .header h1 {
        font-size: 64px !important;
        margin: 8px 0 6px !important;
      }

      .header p {
        font-size: 14px !important;
        line-height: 1.6 !important;
      }

      /* 프로필 커버 (헤더 이미지) 높이 확장 */
      #page-profile .profile-card .profile-cover,
      #page-profile .profile-cover {
        min-height: 240px !important;
      }

      /* 프로필 메인 영역 - 2컬럼 그리드, 넓은 여백 */
      #page-profile .profile-main {
        display: grid !important;
        grid-template-columns: 140px minmax(0, 1fr) !important;
        column-gap: 24px !important;
        align-items: start !important;
        margin-top: -58px !important;
        padding: 0 32px 26px !important;
      }

      /* 아바타 크게 */
      #page-profile .profile-avatar {
        width: 140px !important;
        height: 140px !important;
        font-size: 58px !important;
        border-width: 6px !important;
      }

      /* 이름/ID 행 마진 */
      #page-profile .profile-title-row {
        margin-top: 66px !important;
        gap: 5px !important;
      }

      /* 이름 크기 */
      #page-profile .profile-name {
        font-size: 40px !important;
        line-height: 1.0 !important;
        margin: 0 0 3px !important;
      }

      /* ID 텍스트 */
      #page-profile .profile-id {
        font-size: 14px !important;
        color: #b28ea2 !important;
      }

      /* 메타 (오시) */
      #page-profile .profile-meta {
        font-size: 15.5px !important;
        margin-top: 5px !important;
      }

      /* 칭호 pill */
      #page-profile .profile-title-pill {
        font-size: 13.5px !important;
        min-height: 32px !important;
        padding: 0 16px !important;
        margin: 8px 0 8px !important;
      }

      /* 공개 태그 */
      #page-profile .profile-public-tags {
        margin-top: 7px !important;
        gap: 7px !important;
      }

      #page-profile .profile-public-tag {
        min-height: 28px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
      }

      /* 액션 버튼 행 */
      #page-profile .profile-card-actions {
        gap: 10px !important;
        margin: 10px 0 12px !important;
      }

      #page-profile .profile-action-button {
        min-height: 44px !important;
        font-size: 15px !important;
      }

      /* stat 그리드 */
      #page-profile .profile-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        margin-top: 4px !important;
      }

      #page-profile .profile-stat {
        min-height: 72px !important;
        padding: 10px 8px !important;
      }

      #page-profile .profile-stat b {
        font-size: 28px !important;
      }

      #page-profile .profile-stat small {
        font-size: 13.5px !important;
      }

      /* 정보 리스트 2컬럼 */
      #page-profile .profile-info-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
      }

      #page-profile .profile-info-item {
        padding: 18px 16px !important;
        border-radius: 24px !important;
        border: 1.5px solid rgba(255, 200, 225, 0.55) !important;
        background: linear-gradient(145deg, #fff 60%, #fff5fa) !important;
        box-shadow: 0 4px 18px rgba(255, 120, 184, 0.08) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        transition: box-shadow 0.18s, transform 0.18s !important;
      }

      #page-profile .profile-info-item:hover {
        box-shadow: 0 8px 28px rgba(255, 95, 168, 0.14) !important;
        transform: translateY(-2px) !important;
      }

      #page-profile .profile-info-item .list-icon {
        width: 46px !important;
        height: 46px !important;
        font-size: 22px !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #ffe0ef, #f5d9ff) !important;
        box-shadow: 0 2px 8px rgba(255, 95, 168, 0.12) !important;
        flex-shrink: 0 !important;
      }

      #page-profile .profile-info-item > div {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
      }

      #page-profile .profile-info-item b {
        font-size: 17px !important;
        color: #6b4a5e !important;
        letter-spacing: -0.01em !important;
      }

      #page-profile .profile-info-item span {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        color: #a87d97 !important;
      }

      /* 아이콘 색상 개별 지정 */
      #page-profile .profile-info-item:nth-child(1) .list-icon {
        background: linear-gradient(135deg, #ffd6eb, #ffb3d4) !important;
      }
      #page-profile .profile-info-item:nth-child(2) .list-icon {
        background: linear-gradient(135deg, #e8d9ff, #d4b8ff) !important;
      }
      #page-profile .profile-info-item:nth-child(3) .list-icon {
        background: linear-gradient(135deg, #fde8d8, #ffd0b8) !important;
      }

      /* 공유 버튼 크기 */
      #page-profile .profile-share-button {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        right: 14px !important;
        top: 14px !important;
      }

      /* 프로필 꾸미기 모달 - PC 전용 넓은 다이얼로그 */
      #page-profile .profile-edit-modal {
        position: fixed !important;
        inset: 0 !important;
        z-index: 1002 !important;
        display: grid !important;
        place-items: center !important;
        padding: 24px !important;
        background: rgba(70, 50, 64, 0.42) !important;
        backdrop-filter: blur(10px) !important;
      }

      #page-profile .profile-edit-modal.hidden {
        display: none !important;
      }

      #page-profile .profile-edit-dialog {
        width: min(780px, calc(100vw - 48px)) !important;
        height: min(820px, calc(100dvh - 48px)) !important;
        max-height: calc(100vh - 48px) !important;
        border-radius: 32px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        background: linear-gradient(180deg, #fff, #fff7fb) !important;
        box-shadow: 0 32px 100px rgba(70, 50, 64, 0.28) !important;
      }

      /* 꾸미기 탑바 */
      #page-profile .profile-edit-topbar {
        min-height: 64px !important;
        padding: 12px 20px !important;
        border-bottom: 1px solid #f4dce9 !important;
        flex: 0 0 auto !important;
      }

      #page-profile .profile-edit-topbar h3 {
        font-size: 19px !important;
      }

      #page-profile .profile-editor-close {
        width: 40px !important;
        height: 40px !important;
        font-size: 22px !important;
      }

      #page-profile .profile-editor-save {
        min-height: 40px !important;
        padding: 0 22px !important;
        font-size: 14px !important;
        border-radius: 999px !important;
      }

      /* 꾸미기 히어로(커버+아바타) 영역 - 여백·선 제거 */
      #page-profile .profile-edit-hero {
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
      }

      /* 꾸미기 커버 헤더 영역 크게 */
      #page-profile .profile-edit-cover {
        height: 220px !important;
        border-radius: 0 !important;
      }

      /* 꾸미기 아바타 */
      #page-profile .profile-edit-avatar {
        width: 110px !important;
        height: 110px !important;
        margin-top: -52px !important;
        margin-left: 26px !important;
        font-size: 46px !important;
        border-width: 4px !important;
      }

      /* 꾸미기 카메라 버튼 */
      #page-profile .profile-edit-cover .profile-camera-button {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
      }

      #page-profile .profile-edit-avatar .profile-camera-button {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
      }

      /* 폼 스크롤 영역 */
      #page-profile .profile-form-compact {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        padding: 12px 24px 14px !important;
        gap: 10px !important;
        display: grid !important;
      }

      /* 폼 필드 */
      #page-profile .profile-field {
        padding: 12px 14px !important;
        border-radius: 20px !important;
        background: #fff !important;
        gap: 6px !important;
      }

      #page-profile .profile-field input,
      #page-profile .birthday-selects select,
      #page-profile .profile-oshi-button {
        min-height: 44px !important;
        padding: 10px 14px !important;
        font-size: 15px !important;
        border-radius: 14px !important;
      }

      #page-profile .profile-field-head b {
        font-size: 14px !important;
      }

      #page-profile .profile-counter {
        font-size: 12px !important;
      }

      /* 오시 선택 버튼 */
      #page-profile .profile-oshi-button span:last-child {
        min-height: 32px !important;
        padding: 0 14px !important;
        font-size: 12.5px !important;
      }

      /* 섹션 타이틀 */
      #page-profile .profile-section-title.compact-title {
        font-size: 13px !important;
        margin: 10px 0 0 !important;
      }

      /* 오시 모달 */
      #page-profile .profile-oshi-modal,
      #page-profile .profile-confirm-modal,
      #page-profile .profile-simple-modal,
      #page-profile .profile-media-modal {
        position: fixed !important;
        inset: 0 !important;
        z-index: 1006 !important;
        padding: 24px !important;
        backdrop-filter: blur(10px) !important;
      }

      #page-profile .profile-oshi-dialog {
        width: min(480px, calc(100vw - 48px)) !important;
        max-height: min(680px, calc(100vh - 48px)) !important;
        border-radius: 28px !important;
        padding: 20px !important;
      }

      #page-profile .profile-oshi-topbar h3 {
        font-size: 22px !important;
      }

      #page-profile .profile-oshi-close {
        width: 38px !important;
        height: 38px !important;
        font-size: 20px !important;
      }

      #page-profile .profile-oshi-option {
        min-height: 50px !important;
        border-radius: 20px !important;
        font-size: 14.5px !important;
        padding: 0 14px !important;
      }

      /* 심플/확인 모달 */
      #page-profile .profile-simple-dialog,
      #page-profile .profile-confirm-dialog {
        width: min(460px, calc(100vw - 48px)) !important;
        border-radius: 28px !important;
        padding: 24px !important;
      }

      #page-profile .profile-simple-topbar h3,
      #page-profile .profile-confirm-topbar h3 {
        font-size: 22px !important;
      }

      #page-profile .profile-simple-ok,
      #page-profile .profile-confirm-btn {
        min-height: 44px !important;
        font-size: 14.5px !important;
      }

      /* 미디어 편집 모달 */
      #page-profile .profile-media-dialog {
        width: min(620px, calc(100vw - 48px)) !important;
        max-height: min(780px, calc(100vh - 48px)) !important;
        border-radius: 30px !important;
      }

      #page-profile .profile-media-stage-wrap {
        min-height: 380px !important;
      }

      #page-profile .profile-media-stage[data-mode="cover"] {
        height: 240px !important;
      }

      #page-profile .profile-media-stage[data-mode="avatar"] {
        width: 260px !important;
        height: 260px !important;
      }

      #page-profile .profile-media-hint {
        font-size: 13px !important;
      }

      /* 칭호 모달 */
      .profile-title-modal {
        z-index: 1006 !important;
      }

      .profile-title-dialog {
        width: min(720px, calc(100vw - 48px)) !important;
        max-height: min(820px, calc(100vh - 48px)) !important;
        border-radius: 32px !important;
      }

      .profile-title-topbar {
        min-height: 64px !important;
        padding: 14px 24px !important;
      }

      .profile-title-topbar h3 {
        font-size: 24px !important;
      }

      .profile-title-close {
        width: 40px !important;
        height: 40px !important;
        font-size: 22px !important;
      }

      .profile-title-tabs {
        padding: 10px 24px 0 !important;
        gap: 8px !important;
      }

      .profile-title-tab {
        min-height: 40px !important;
        font-size: 14px !important;
        padding: 0 18px !important;
      }

      .profile-title-panel {
        padding: 18px 24px 24px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
      }

      .profile-title-option {
        padding: 16px 18px !important;
        border-radius: 22px !important;
        min-height: 80px !important;
      }

      .profile-title-option b {
        font-size: 15px !important;
      }

      .profile-title-option span {
        font-size: 12.5px !important;
        margin-top: 5px !important;
      }

      .profile-title-edit-row {
        padding: 14px 24px !important;
        gap: 12px !important;
      }

      .profile-title-note {
        padding: 12px 24px !important;
        font-size: 12.5px !important;
      }
    }

    /* PC achievement layout patch: 760px+만, 모바일 절대 건드리지 않음 */
    @media (min-width: 760px) {

      /* 모바일용 요소 PC에서 숨기기 */
      #page-achieve .achievement-summary-grid,
      #page-achieve .achievement-share-tool,
      #page-achieve .achievement-filter-label,
      #page-achieve .achievement-filter-row,
      #page-achieve .achievement-list-title,
      #page-achieve #achievementList,
      #page-achieve .achievement-pagination,
      #page-achieve .achievement-more-hint {
        display: none !important;
      }

      /* PC 전용 래퍼 표시 */
      #page-achieve .ach-pc-wrap {
        display: grid !important;
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 16px;
        align-items: start;
        margin-top: 6px;
      }

      /* 소개 문구 */
      #page-achieve .ach-pc-intro {
        display: block !important;
        padding-left: 4px;
        margin: 0 0 16px;
        color: #7f6a77;
        font-size: 16px !important;
        line-height: 1.72 !important;
        font-weight: 900 !important;
      }

      /* 사이드 + 리스트 공통 박스 */
      #page-achieve .ach-pc-side,
      #page-achieve .ach-pc-list {
        border: 1px solid var(--line);
        border-radius: 28px;
        background: #fff;
        box-shadow: var(--shadow);
        overflow: hidden;
      }

      #page-achieve .ach-pc-side {
        align-self: stretch;
        min-height: 0;
      }

      /* XP 스코어 박스 */
      #page-achieve .ach-pc-score {
        padding: 20px;
        background: linear-gradient(135deg, #fff, #fff0f7 70%, #f8efff);
        border-bottom: 1px solid var(--line);
      }

      #page-achieve .ach-pc-score small {
        display: block;
        color: #b28ea2;
        font-size: 13px;
        line-height: 1.4;
        font-weight: 900;
      }

      #page-achieve .ach-pc-score b {
        display: block;
        margin: 6px 0 4px;
        color: #76586a;
        font-size: 30px;
        line-height: 1;
        font-weight: 900;
      }

      #page-achieve .ach-pc-bar {
        height: 10px;
        margin-top: 12px;
        border-radius: 999px;
        background: #ffe6f1;
        overflow: hidden;
      }

      #page-achieve .ach-pc-bar span {
        display: block;
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(90deg, #ff82ba, #ff5fa8, #caa7ff);
      }

      /* 사이드 필터 메뉴 */
      #page-achieve .ach-pc-menu {
        display: grid;
        grid-auto-rows: minmax(56px, auto);
      }

      #page-achieve .ach-pc-menu button {
        width: 100%;
        min-height: 56px;
        border: 0;
        border-bottom: 1px solid rgba(242, 216, 231, 0.68);
        background: #fff;
        color: #7f6a77;
        text-align: left;
        padding: 0 18px;
        font-size: 15px;
        line-height: 1.25;
        font-weight: 900;
        cursor: pointer;
      }

      #page-achieve .ach-pc-menu button:last-child {
        border-bottom: 0;
      }

      #page-achieve .ach-pc-menu button.active {
        background: #5f4656;
        color: #fff;
      }

      /* 업적 행 */
      #page-achieve .ach-pc-list {
        min-height: 0;
        overflow: visible;
      }

      #page-achieve .ach-pc-row {
        width: 100%;
        min-height: auto;
        border: 0;
        border-bottom: 1px solid var(--line);
        background: #fff;
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr) 96px;
        gap: 18px;
        align-items: start;
        padding: 28px 24px 32px;
        text-align: left;
        color: #76586a;
        cursor: pointer;
        overflow: visible;
      }

      #page-achieve .ach-pc-row:last-child {
        border-bottom: 0;
      }

      #page-achieve .ach-pc-row.done .ach-pc-chip {
        color: #fff;
        border-color: transparent;
        background: #ff5fa8;
      }

      #page-achieve .ach-pc-row.locked,
      #page-achieve .ach-pc-row.secret {
        background: #fffafd;
        opacity: .72;
      }

      /* 아이콘 */
      #page-achieve .ach-pc-icon {
        width: 58px;
        height: 58px;
        min-width: 58px;
        border-radius: 20px;
        display: grid;
        place-items: center;
        background: linear-gradient(135deg, #fff0f7, #fff);
        border: 1px solid var(--line);
        color: #d77ca7;
        font-style: normal;
        font-weight: 900;
        font-size: 29px;
        line-height: 1;
        letter-spacing: 0;
        transform: none;
        text-align: center;
        box-shadow: none;
        align-self: start;
        margin-top: 2px;
      }

      /* 텍스트 블록 */
      #page-achieve .ach-pc-text {
        min-width: 0;
        display: block;
        margin: 0;
        align-self: start;
        overflow: visible;
      }

      #page-achieve .ach-pc-text b {
        display: block;
        margin: 0;
        color: #76586a;
        font-size: 22px;
        line-height: 1.28;
        font-weight: 900;
        letter-spacing: -.03em;
        white-space: normal;
        overflow: visible;
      }

      #page-achieve .ach-pc-text span {
        display: block;
        margin: 9px 0 0;
        color: #8f7183;
        font-size: 15px;
        line-height: 1.62;
        font-weight: 900;
        white-space: normal;
        overflow: visible;
      }

      #page-achieve .ach-pc-text small {
        display: block;
        margin: 12px 0 0;
        color: #d77ca7;
        font-size: 13.5px;
        line-height: 1.48;
        font-weight: 900;
        white-space: normal;
        overflow: visible;
      }

      #page-achieve .ach-pc-date {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: max-content;
        max-width: 100%;
        margin-top: 12px;
        padding: 5px 12px;
        border-radius: 999px;
        background: #fff0f7;
        color: #d77ca7;
        font-size: 13px;
        line-height: 1.1;
        font-style: normal;
        font-weight: 900;
        transform: none;
      }

      /* 상세 버튼 칩 */
      #page-achieve .ach-pc-chip {
        justify-self: end;
        align-self: start;
        margin-top: 14px;
        width: 76px;
        min-width: 76px;
        min-height: 42px;
        border: 1px solid var(--line2);
        border-radius: 999px;
        background: #fff;
        color: #9a7187;
        display: grid;
        place-items: center;
        padding: 0;
        font-size: 13px;
        line-height: 1;
        font-weight: 900;
        white-space: nowrap;
        cursor: pointer;
      }

      /* 빈 상태 */
      #page-achieve .ach-pc-empty {
        margin: 0;
        padding: 34px 20px;
        color: #9a7187;
        font-size: 16px;
        line-height: 1.65;
        font-weight: 900;
        text-align: center;
      }

      /* 하단 안내 노트 */
      #page-achieve .ach-pc-note {
        margin-top: 16px;
        padding: 16px 18px;
        border: 1px dashed var(--line2);
        border-radius: 22px;
        background: #fffafd;
        color: #8f7183;
        font-size: 15px;
        line-height: 1.65;
        font-weight: 900;
      }
    }

    /* 기본(모바일)에서 PC 전용 요소 숨김 */
    #page-achieve .ach-pc-wrap,
    #page-achieve .ach-pc-intro,
    #page-achieve .ach-pc-note {
      display: none;
    }

    /* PC에서는 위 기본 숨김보다 뒤에서 다시 표시 */
    @media (min-width: 760px) {
      #page-achieve .ach-pc-wrap { display: grid !important; }
      #page-achieve .ach-pc-intro,
      #page-achieve .ach-pc-note { display: block !important; }
    }


    /* ===== PC stamp restore patch: desktop-only, mobile stamp untouched ===== */
    .stamp-pc-wrap { display: none; }

    @media (min-width: 760px) {
      #page-stamp .stamp-mobile-wrap {
        display: none !important;
      }

      #page-stamp .stamp-pc-wrap {
        display: grid !important;
        gap: 18px;
      }

      #page-stamp .stamp-pc-card {
        border: 1px solid var(--line);
        border-radius: 32px;
        background: rgba(255,255,255,.92);
        box-shadow: var(--shadow);
        padding: 30px 24px;
        overflow: hidden;
      }

      #page-stamp .stamp-pc-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
      }

      #page-stamp .stamp-pc-head h2,
      #page-stamp .stamp-pc-reward-card > h2 {
        margin: 0;
        color: #d77ca7;
        font-size: 26px;
        line-height: 1.15;
        font-weight: 900;
        letter-spacing: -.04em;
      }

      #page-stamp .stamp-pc-head .status-chip {
        min-height: 38px;
        padding: 0 18px;
        font-size: 16px;
        background: #fff;
      }

      #page-stamp .progress {
        height: 14px;
        border-radius: 999px;
        background: #ffe6f1;
        overflow: hidden;
        margin: 24px 0 20px;
      }

      #page-stamp .progress-fill {
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(90deg,#ff8ac2,#ff5fa8,#caa7ff);
      }

      #page-stamp .stamp-pc-lead {
        margin: 0 0 24px;
        color: #7c5b6d;
        font-size: 18px !important;
        line-height: 1.65 !important;
        font-weight: 900 !important;
      }

      #page-stamp .stamp-pc-grid {
        display: grid;
        grid-template-columns: repeat(10, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 14px;
        width: 100%;
        margin: 4px 0 20px;
      }

      #page-stamp .stamp-pc-grid .stamp {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        justify-self: stretch;
        border-radius: 50%;
        border: 2.5px solid var(--line2);
        background: #fff0f7;
        display: grid;
        place-items: center;
        color: #ff5fa8;
        font-size: clamp(20px, 2vw, 28px);
        font-weight: 1000;
      }

      @media (min-width: 760px) and (max-width: 980px) {
        #page-stamp .stamp-pc-card { padding-left: 18px; padding-right: 18px; }
        #page-stamp .stamp-pc-grid {
          grid-template-columns: repeat(10, minmax(0, 1fr));
          column-gap: 7px;
          row-gap: 12px;
        }
        #page-stamp .stamp-pc-grid .stamp {
          width: 100%;
          height: auto;
          font-size: clamp(18px, 2vw, 24px);
        }
      }

      #page-stamp .stamp-pc-grid .stamp.empty {
        background: #fff;
        color: #ecd0df;
      }

      #page-stamp .stamp-cycle-note {
        margin-top: 18px;
        padding: 18px 20px;
        border: 1px dashed var(--line2);
        border-radius: 24px;
        background: #fffafd;
        color: #76586a;
        font-size: 16px;
        line-height: 1.75;
        font-weight: 900;
      }

      #page-stamp .stamp-cycle-note b {
        color: #d77ca7;
        font-size: 17px;
      }

      #page-stamp .stamp-pc-reward-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        align-items: stretch;
        margin-top: 20px;
      }

      #page-stamp .stamp-pc-reward-list .reward {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 9px;
        min-height: 166px;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: #fffafd;
        padding: 18px;
      }

      #page-stamp .stamp-pc-reward-list .reward::after {
        content: "";
        position: absolute;
        right: -22px;
        bottom: -22px;
        width: 74px;
        height: 74px;
        border-radius: 50%;
        background: rgba(255,95,168,.06);
        pointer-events: none;
      }

      #page-stamp .stamp-pc-reward-list .reward b {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        color: #d77ca7;
        font-size: 19px;
        line-height: 1.2;
        font-weight: 900;
      }

      #page-stamp .stamp-pc-reward-list .reward > span {
        display: block;
        color: #7f6a77;
        font-size: 16px;
        line-height: 1.55;
        font-weight: 900;
      }

      #page-stamp .stamp-reward-state {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        border: 1px solid var(--line2);
        background: #fffafd;
        color: #b28ea2;
        font-size: 12px;
        font-weight: 900;
        white-space: nowrap;
      }

      #page-stamp .stamp-reward-state.ready {
        background: linear-gradient(180deg,#ff82ba,#ff5fa8);
        color: #fff;
        border-color: transparent;
        box-shadow: 0 8px 16px rgba(255,95,168,.13);
      }

      #page-stamp .stamp-reward-state.done {
        background: #fff0f7;
        color: #d77ca7;
      }

      #page-stamp .stamp-reward-progress {
        height: 9px;
        border-radius: 999px;
        background: #ffe6f1;
        overflow: hidden;
        margin-top: auto;
      }

      #page-stamp .stamp-reward-progress i {
        display: block;
        height: 100%;
        width: 0%;
        border-radius: 999px;
        background: linear-gradient(90deg,#ff8ac2,#ff5fa8,#caa7ff);
      }

      #page-stamp .stamp-reward-meta {
        display: block;
        color: #b28ea2 !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        font-weight: 900 !important;
      }

      #page-stamp .stamp-reward-btn {
        min-height: 38px;
        border: 1px solid var(--line2);
        border-radius: 999px;
        background: #fff;
        color: #d77ca7;
        font-size: 13px;
        font-weight: 900;
        padding: 0 12px;
        position: relative;
        z-index: 1;
      }

      #page-stamp .stamp-reward-btn.ready {
        color: #fff;
        border-color: transparent;
        background: linear-gradient(180deg,#ff82ba,#ff5fa8);
      }

      #page-stamp .stamp-reward-btn.done,
      #page-stamp .stamp-reward-btn.lock {
        color: #b28ea2;
        background: #fffafd;
        border-style: dashed;
        cursor: default;
      }

      #page-stamp .stamp-reward-guide {
        margin-top: 16px;
        padding: 17px 18px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: #fff;
        color: #8f7183;
        font-size: 16px;
        line-height: 1.7;
        font-weight: 900;
      }

      #page-stamp .stamp-reward-once-note {
        margin-top: 14px;
        padding: 14px 18px;
        border: 1px dashed var(--line2);
        border-radius: 20px;
        background: #fffafd;
        color: #7c5b6d;
        font-size: 15px;
        line-height: 1.65;
        font-weight: 900;
      }

      #page-stamp .stamp-reward-flow {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 16px;
      }

      #page-stamp .stamp-reward-flow .flow-card {
        border: 1px solid var(--line);
        border-radius: 22px;
        background: #fff;
        padding: 17px;
        min-height: 104px;
      }

      #page-stamp .stamp-reward-flow .flow-card b {
        display: block;
        color: #76586a;
        font-size: 17px;
        line-height: 1.35;
        font-weight: 900;
      }

      #page-stamp .stamp-reward-flow .flow-card span {
        display: block;
        margin-top: 7px;
        color: #8f7183;
        font-size: 14px;
        line-height: 1.55;
        font-weight: 900;
      }
    }


    /* ===== Homework PC restore patch: PC only, mobile untouched ===== */
    @media (min-width: 760px) {
      #page-homework .homework-section {
        max-width: 920px;
        margin-left: auto;
        margin-right: auto;
        padding: 28px 30px 30px;
      }

      #page-homework .homework-section > h2 {
        font-size: 31px;
        line-height: 1.18;
        margin-bottom: 10px;
      }

      #page-homework .homework-section > p {
        max-width: 720px;
        margin: 0 0 20px;
        text-align: left;
        font-size: 13px;
        line-height: 1.62;
      }

      #page-homework .homework-block {
        margin-top: 22px;
      }

      #page-homework .homework-block:first-of-type {
        display: grid;
        grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
        gap: 14px;
        align-items: stretch;
        margin-top: 30px;
      }

      #page-homework .homework-block:first-of-type > h3 {
        grid-column: 1 / -1;
      }

      #page-homework .homework-block h3 {
        font-size: 22px;
        line-height: 1.2;
        margin: 0 0 12px;
        padding-left: 4px;
      }

      #page-homework .homework-main-card,
      #page-homework .homework-pickup-card,
      #page-homework .homework-status-grid article {
        border-radius: 24px;
      }

      #page-homework .homework-main-card {
        min-height: 228px;
        padding: 22px 23px;
        display: grid;
        align-content: start;
      }

      #page-homework .homework-main-head {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        margin-bottom: 16px;
        padding-left: 8px;
      }

      #page-homework .homework-code {
        min-height: 30px;
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
        padding: 0 12px;
        border-radius: 999px;
        background: #fff7fb;
        border: 1px solid var(--line2);
        font-size: 12px;
        white-space: nowrap;
        transform: translateY(3px);
      }

      #page-homework .homework-main-head strong {
        min-width: 0;
        color: #624459;
        font-size: 24px;
        line-height: 1.16;
        text-align: center;
        word-break: keep-all;
      }

      #page-homework .homework-info-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 0;
      }

      #page-homework .homework-info-list div {
        min-height: 72px;
        padding: 12px 13px;
        border-radius: 18px;
      }

      #page-homework .homework-info-list dt {
        font-size: 12px;
      }

      #page-homework .homework-info-list dd {
        margin-top: 5px;
        font-size: 15px;
        line-height: 1.35;
      }

      #page-homework .homework-pickup-card {
        min-height: 228px;
        padding: 22px 23px;
        display: grid;
        align-content: center;
        background:
          radial-gradient(circle at 92% 10%, rgba(255,255,255,.72), transparent 26%),
          linear-gradient(135deg, #fff, #fff0f7 62%, #f8f0ff);
      }

      #page-homework .homework-pickup-card strong {
        display: block;
        color: #d77ca7;
        font-size: 22px;
        line-height: 1.2;
        font-weight: 900;
        margin-bottom: 10px;
      }

      #page-homework .homework-pickup-card p {
        font-size: 14px;
        line-height: 1.72;
        text-align: left;
      }

      #page-homework .homework-status-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
      }

      #page-homework .homework-status-grid article {
        min-height: 128px;
        padding: 18px 14px;
        display: grid;
        align-content: center;
        text-align: center;
      }

      #page-homework .homework-status-grid small {
        font-size: 11px;
      }

      #page-homework .homework-status-grid b {
        font-size: 22px;
        line-height: 1.16;
      }

      #page-homework .homework-status-grid span {
        font-size: 12px;
        line-height: 1.4;
      }
    }
/* ===== Exchange PC original restore v2828 (single-controller) ===== */
#page-exchange [data-legacy-exchange-tabs],
  #page-exchange [data-legacy-exchange-grid],
  #page-exchange .exchange-tabs:not(#exchangeTabsV2828):not(#exchangeTabsV2827),
  #page-exchange #exchangeRewardGrid:not(#exchangeRewardGridV2828):not(#exchangeRewardGridV2827),
  #page-exchange .exchange-reward-grid:not(#exchangeRewardGridV2828):not(#exchangeRewardGridV2827){
    display:none !important;
    height:0 !important;
    overflow:hidden !important;
    pointer-events:none !important;
  }
  









  #page-exchange .exchange-main-card{
    padding:28px 36px 38px;
    border-radius:30px;
  }
  #page-exchange .exchange-hero{
    border:1px solid var(--line);
    border-radius:30px;
    background:
      radial-gradient(circle at 92% 12%, rgba(202,167,255,.34), transparent 30%),
      linear-gradient(135deg,#fff,#fff5fb 58%,#f5edff);
    padding:30px 34px 32px;
    margin-bottom:24px;
  }
  #page-exchange .exchange-hero .eyebrow{
    margin-bottom:14px;
  }
  #page-exchange .exchange-hero h3{
    margin:0 0 14px;
    color:#ff5fa8;
    font-size:44px;
    line-height:1.06;
    letter-spacing:-.05em;
    font-weight:1000;
  }
  #page-exchange .exchange-hero .message-v10-intro{
    color:#7c5b6d;
    font-size:18px;
    line-height:1.72;
    font-weight:950;
    max-width:980px;
  }
  #page-exchange .exchange-hero-note{
    margin:14px 0 0;
    color:#8a6a7c;
    font-size:15px;
    line-height:1.58;
    font-weight:900;
  }
#exchangeTabsV2828{
    display:flex !important;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin:0 auto 24px;
  }
  #exchangeTabsV2828 button{
    min-height:48px;
    min-width:118px;
    border:1px solid var(--line2);
    border-radius:999px;
    background:#fff;
    color:#b07693;
    font-size:16px;
    font-weight:1000;
    padding:0 18px;
  }
  #exchangeTabsV2828 button.active{
    color:#fff;
    border-color:transparent;
    background:linear-gradient(180deg,#ff82ba,#ff5fa8);
    box-shadow:0 8px 18px rgba(255,95,168,.14);
  }
  #exchangeRewardGridV2828{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 14px;
  }
  #exchangeRewardGridV2828 .exchange-reward-card-v2828{
    position:relative;
    min-height:144px;
    border:1px solid var(--line);
    border-radius:22px;
    background:#fff;
    padding:16px 18px;
    box-shadow:0 8px 16px rgba(232,191,211,.07);
  }
  #exchangeRewardGridV2828 .exchange-reward-card-v2828 em{
    position:absolute;
    right:14px;
    top:14px;
    min-height:28px;
    display:inline-flex;
    align-items:center;
    padding:0 10px;
    border-radius:999px;
    background:#fff0f7;
    border:1px solid var(--line2);
    color:#d77ca7;
    font-style:normal;
    font-size:12px;
    font-weight:1000;
  }
  #exchangeRewardGridV2828 .exchange-reward-card-v2828 i{
    width:48px;
    height:48px;
    border-radius:16px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#ffedf6,#f8f0ff);
    font-style:normal;
    font-size:24px;
    margin-bottom:10px;
  }
  #exchangeRewardGridV2828 .exchange-reward-card-v2828 b{
    display:block;
    color:#76586a;
    font-size:18px;
    line-height:1.3;
    font-weight:1000;
    padding-right:70px;
  }
  #exchangeRewardGridV2828 .exchange-reward-card-v2828 span{
    display:block;
    margin-top:7px;
    color:#9a7187;
    font-size:14px;
    line-height:1.55;
    font-weight:850;
  }
  #exchangeRewardGridV2828 .exchange-reward-card-v2828 button{
    margin-top:12px;
    min-height:36px;
    border:1px solid var(--line2);
    border-radius:999px;
    background:#fffafd;
    color:#b28ea2;
    font-size:12px;
    font-weight:1000;
    padding:0 12px;
  }
  @media(max-width:860px){
    #exchangeRewardGridV2828{grid-template-columns:1fr;}
    #exchangeTabsV2828{justify-content:flex-start;margin:16px 0 14px;}
  }

  /* ===== Guide PC optimize: PC only, mobile untouched ===== */
  @media (min-width: 760px) {
    #page-guide .guide-module {
      max-width: 920px;
      margin: 0 auto;
      padding: 30px 36px 36px;
    }

    #page-guide .guide-module > h2 {
      font-size: 34px;
      margin-bottom: 6px;
    }

    #page-guide .guide-module > p {
      font-size: 16.5px;
      line-height: 1.7;
      margin-bottom: 20px;
      max-width: 680px;
    }

    /* 빠른 도움 라벨 */
    #page-guide .guide-quick-title,
    #page-guide .guide-list-title {
      font-size: 15.5px;
      margin: 20px 0 10px;
      letter-spacing: .02em;
    }

    /* 분류 라벨 숨김 */
    #page-guide .guide-filter-label {
      display: none !important;
    }

    /* 빠른 도움 카드: 4열 균등 */
    #page-guide .guide-quick-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      margin-bottom: 20px;
    }

    #page-guide .guide-quick-card {
      min-height: 112px;
      padding: 18px 16px;
      border-radius: 22px;
      gap: 9px;
    }

    #page-guide .guide-quick-card b {
      font-size: 17px;
      line-height: 1.35;
    }

    #page-guide .guide-quick-card span {
      font-size: 14.5px;
      line-height: 1.45;
    }

    /* 필터 필: PC에서 스크롤 없이 중앙 정렬 */
    #page-guide .guide-filter-row {
      flex-wrap: wrap;
      overflow-x: visible;
      gap: 8px;
      margin-bottom: 18px;
      justify-content: center;
    }

    #page-guide .guide-filter-pill {
      min-height: 42px;
      padding: 0 22px;
      font-size: 15.5px;
    }

    /* 필터 탭 위 여백 */
    #page-guide .guide-filter-row {
      margin-top: 14px;
    }

    /* 아코디언 목록: 1열, 간격 유지 */
    #page-guide .guide-accordion-list {
      grid-template-columns: 1fr;
      gap: 10px;
    }

    #page-guide .guide-accordion-card {
      border-radius: 22px;
    }

    #page-guide .guide-accordion-head {
      min-height: 64px;
      padding: 16px 20px;
      gap: 14px;
      grid-template-columns: 32px minmax(0, 1fr) 34px;
      align-items: center;
    }

    #page-guide .guide-accordion-head i {
      font-size: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #page-guide .guide-accordion-head b {
      font-size: 19px;
      line-height: 1.4;
    }

    #page-guide .guide-accordion-toggle {
      width: 34px !important;
      height: 34px !important;
      font-size: 14px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 0 0 1px 0 !important;
      line-height: 1 !important;
      align-self: center !important;
    }

    #page-guide .guide-accordion-body {
      padding: 0 20px 20px 66px;
      font-size: 15.5px;
      line-height: 1.76;
    }

    #page-guide .guide-accordion-body p + p {
      margin-top: 10px;
    }

    /* 페이지네이션 - 원래 크기로, 중앙 정렬 */
    #page-guide .guide-pagination {
      margin-top: 20px;
      grid-template-columns: 42px 1fr 42px;
      align-items: center;
    }

    #page-guide .guide-pagination button {
      width: 42px;
      height: 36px;
      font-size: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      padding: 0;
    }

    #page-guide .guide-pagination span {
      min-height: 36px;
      font-size: 13px;
      display: grid;
      place-items: center;
    }

    /* 안내 노트 */
    #page-guide .guide-note {
      margin-top: 16px;
      padding: 14px 18px;
      font-size: 14px;
      border-radius: 20px;
      line-height: 1.7;
    }
  }

    /* Patch 5: profile avatar image edge cleanup */
    #page-profile .profile-avatar.has-image {
      background: #fff;
    }

    #page-profile .profile-avatar.has-image img {
      inset: -1px;
      width: calc(100% + 2px);
      height: calc(100% + 2px);
      border-radius: 50%;
      object-fit: cover;
      object-position: var(--pos-x, 50%) var(--pos-y, 50%);
      transform: translateZ(0) scale(calc(var(--scale, 1) + 0.02));
      transform-origin: var(--pos-x, 50%) var(--pos-y, 50%);
      clip-path: circle(50% at 50% 50%);
      backface-visibility: hidden;
    }

    /* Patch 7: iOS double-tap zoom / touch enlargement mitigation */
    html,
    body,
    .root,
    .phone,
    .screen,
    .screen-inner {
      touch-action: manipulation;
    }

    button,
    a,
    [role="button"],
    .tab,
    .mini-tab,
    .app-icon,
    .month-btn,
    .record-month-row button,
    .calendar-month-control button,
    .calendar-day,
    .calendar-filter-row button,
    .mail-item,
    .message-preview-card,
    .profile-title-tab,
    .profile-title-option,
    .profile-edit-btn,
    .profile-setting-action,
    .mail-action-btn,
    .disabled-note-btn,
    .exchange-tabs-v2828 button,
    .exchange-reward-card-v2828 button {
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }

    @media (max-width: 430px) {
      input,
      select,
      textarea {
        font-size: 16px !important;
      }
    }

    /* Patch 8: PC message/lumi letter readability + home NEW MESSAGES button alignment */
    @media (min-width: 861px) {
      #page-message .module-card.lumiMsg-card {
        padding: 28px 30px 32px;
        border-radius: 32px;
      }

      #page-message .module-card.lumiMsg-card h2 {
        font-size: 34px;
        line-height: 1.12;
      }

      #page-message .lumiMsg-intro {
        font-size: 16px;
        line-height: 1.72;
        margin-bottom: 16px;
      }

      #page-message .lumiMsg-tabs,
      #page-message .lumiMsg-filters {
        gap: 10px;
        margin: 15px 0;
      }

      #page-message .lumiMsg-tabs button,
      #page-message .lumiMsg-filters button {
        min-height: 46px;
        padding: 0 17px;
        font-size: 14.5px;
      }

      #page-message .lumiMsg-tools {
        gap: 10px;
        margin: 16px 0;
      }

      #page-message .lumiMsg-tools input {
        min-height: 48px;
        font-size: 16px;
        padding: 13px 16px;
      }

      #page-message .lumiMsg-tools .btn {
        min-height: 48px;
        padding: 0 18px;
        font-size: 14.5px;
      }

      #page-message .lumiMsg-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 15px;
      }

      #page-message .lumiMsg-item {
        min-height: 118px;
        grid-template-columns: 62px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 5px;
        padding: 16px 17px;
        border-radius: 24px;
      }

      #page-message .lumiMsg-icon {
        width: 62px;
        height: 62px;
        border-radius: 20px;
        font-size: 27px;
      }

      #page-message .lumiMsg-meta {
        padding-right: 70px;
        font-size: 12.5px;
      }

      #page-message .lumiMsg-meta small {
        font-size: 12px;
      }

      #page-message .lumiMsg-tag,
      #page-message .lumiMsg-state {
        min-height: 27px;
        padding: 0 10px;
        font-size: 11.5px;
      }

      #page-message .lumiMsg-title {
        font-size: 18px;
        line-height: 1.34;
      }

      #page-message .lumiMsg-preview {
        margin-top: 3px;
        font-size: 14.5px;
        line-height: 1.5;
      }

      #page-message .lumiMsg-pager {
        grid-template-columns: 48px 1fr 48px;
        gap: 10px;
        margin-top: 16px;
      }

      #page-message .lumiMsg-pager button {
        width: 48px;
        height: 42px;
        font-size: 24px;
      }

      #page-message .lumiMsg-pager span {
        min-height: 42px;
        font-size: 13.5px;
      }

      #page-message .lumiMsg-dialog {
        width: min(620px, calc(100vw - 56px));
        max-height: calc(100dvh - 56px);
        border-radius: 32px;
        padding: 20px;
      }

      #page-message .lumiMsg-chatHead {
        gap: 12px;
        margin-bottom: 16px;
      }

      #page-message .lumiMsg-chatHead b {
        font-size: 21px;
        line-height: 1.28;
      }

      #page-message .lumiMsg-chatHead small {
        font-size: 13px;
      }

      #page-message #lumiMsgChatTag {
        min-height: 31px;
        padding: 0 12px;
        font-size: 12.5px;
      }

      #page-message .lumiMsg-chatLog {
        max-height: 57vh;
        gap: 12px;
        padding-right: 4px;
      }

      #page-message .lumiMsg-bubble {
        max-width: 88%;
        padding: 14px 16px;
        border-radius: 22px;
        font-size: 15.5px;
        line-height: 1.68;
      }

      #page-message .lumiMsg-bubble.system {
        font-size: 13.5px;
      }

      #page-message .lumiMsg-replies {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
        margin-top: 14px;
      }

      #page-message .lumiMsg-replies button {
        min-height: 44px;
        padding: 9px 12px;
        font-size: 13.5px;
        line-height: 1.35;
      }

      #page-message .lumiMsg-actions {
        gap: 9px;
        margin-top: 14px;
      }

      #page-message .lumiMsg-actions button {
        min-height: 42px;
        font-size: 13.5px;
      }

      #page-message #lumiMsgSaveBtn:not(.hidden),
      #page-message #lumiMsgUnsaveBtn:not(.hidden) {
        min-height: 46px;
      }

      #homeMessageCard .widget-link {
        display: flex;
        width: fit-content;
        min-width: 122px;
        margin-left: auto;
        margin-right: 0;
        align-items: center;
        justify-content: center;
      }
    }


/* Patch 13: login LUMI ID fixed prefix */
.login-id-prefix-field {
  width: 100%;
  min-height: 47px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.login-id-prefix-field:focus-within {
  border-color: var(--line2);
  box-shadow: 0 0 0 4px rgba(255, 130, 186, 0.14);
}

.login-id-prefix {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px 0 15px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff7fb, #fff0f7);
  color: #d77ca7;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .03em;
  white-space: nowrap;
}

.login-id-prefix-field input {
  min-height: 47px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0 14px;
  text-align: left;
  letter-spacing: .14em;
}

.login-id-prefix-field input:focus {
  border: 0;
  box-shadow: none;
}

/* Patch 15: Birthday Ticket detail modal close button layer fix */
.ticket-detail-card {
  position: relative;
}

.ticket-detail-close {
  position: absolute;
  z-index: 10;
  pointer-events: auto;
}

.perk-ticket-visual,
.perk-ticket-visual::before,
.perk-ticket-visual::after {
  z-index: 1;
}

/* Patch 36: ticket/story typography calm-down patch */
.ticket-pc-current-section .info-card,
#ticket-current .info-card {
  display: grid;
  gap: 6px;
  align-items: start;
}

.ticket-pc-current-section .info-card small,
#ticket-current .info-card small {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid #f0bfd4;
  background: #fff8fc;
  color: #c781a4;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.ticket-pc-current-section .info-card b,
#ticket-current .info-card b {
  display: block;
  margin-top: 2px;
  color: #7c5b6d;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ticket-pc-current-section .info-card span,
#ticket-current .info-card span {
  display: block;
  color: #9a788c;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 650;
  word-break: keep-all;
}

@media (min-width: 760px) {
  .ticket-pc-layout h3,
  .ticket-pc-current-section h3,
  .ticket-pc-wallet-section h3 {
    margin: 0 0 16px !important;
    color: #d77ca7 !important;
    font-family: "SUIT", "Noto Sans KR", sans-serif !important;
    font-size: 30px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    text-shadow: none !important;
  }

  .ticket-pc-current-section .info-card b {
    font-size: 16px;
  }

  .ticket-pc-current-section .info-card span {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .ticket-pc-wallet-lead {
    font-size: 14px !important;
    line-height: 1.62 !important;
    font-weight: 700 !important;
    color: #8f7183 !important;
  }

  .ticket-pc-wallet-guide {
    font-size: 13.5px !important;
    line-height: 1.72 !important;
    font-weight: 600 !important;
    color: #9a788c !important;
  }

  .phone:not(:has(#loginView.active)) .header h1,
  .header h1 {
    font-size: 48px !important;
    line-height: .96 !important;
    letter-spacing: -0.035em !important;
    margin: 7px 0 8px !important;
  }

  .phone:not(:has(#loginView.active)) .header p,
  .header p {
    margin-top: 4px !important;
    font-size: 13.5px !important;
    line-height: 1.62 !important;
  }
}

@media (max-width: 759px) {
  .header h1 {
    font-size: clamp(34px, 9vw, 38px) !important;
    line-height: .98 !important;
    margin: 7px 0 7px !important;
  }

  .header p {
    margin-top: 4px !important;
    line-height: 1.58 !important;
  }
}


/* ===== Patch 37: 홈 티켓 준비 카드 타이포 조정 ===== */
.home-card.no-icon.pass small {
  color: #b78aa0;
  font-size: 11.2px;
  font-weight: 800;
  letter-spacing: .015em;
}

.home-card.no-icon.pass b {
  color: #d77ca7;
  font-size: 18px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.015em;
}

.home-card.no-icon.pass span {
  color: #8d6b7d;
  font-size: 12px;
  line-height: 1.52;
  font-weight: 700;
}

@media (min-width: 861px) {
  .phone:not(:has(#loginView.active)) .home-card.no-icon.pass b {
    font-size: 23px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.018em;
  }

  .phone:not(:has(#loginView.active)) .home-card.no-icon.pass small {
    font-size: 12px;
    font-weight: 800;
  }

  .phone:not(:has(#loginView.active)) .home-card.no-icon.pass span {
    font-size: 13.5px;
    line-height: 1.55;
    font-weight: 700;
  }
}

@media (max-width: 430px) {
  .home-card.no-icon.pass b {
    font-size: 17px;
    line-height: 1.24;
    letter-spacing: -.014em;
  }
}


/* ===== fix2L-3-6R-fix5: member first-cheki multi-emoji icon sizing =====
   멤버별 첫 특전 카드의 2개 이모지 조합(🎀⭐️, 🍼🐰)이 PC/모달에서 넘치지 않도록
   아이콘 글자 크기와 자간만 보정한다. 레이아웃/업적 로직/자동 지급은 변경하지 않음. */
#page-achieve .ach-pc-icon {
  font-size: 23px !important;
  letter-spacing: -0.12em !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

#page-achieve .achievement-icon {
  font-size: 18px !important;
  letter-spacing: -0.10em !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

#page-achieve .achievement-modal-icon {
  font-size: 28px !important;
  letter-spacing: -0.10em !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

@media (max-width: 430px) {
  #page-achieve .achievement-icon { font-size: 17px !important; }
  #page-achieve .achievement-modal-icon { font-size: 27px !important; }
}


/* ===== fix2L-3-6U-fix4: member first-cheki message emoji micro sizing =====
   마리링/루루 첫 특전 메시지 전용 2개 이모지 아이콘만 살짝 줄인다.
   문자 렌더링/선택지/답장/업적 로직은 변경하지 않음. */
#page-message .lumiMsg-item.member-first-cheki-message .lumiMsg-icon {
  font-size: 21px !important;
  line-height: 1 !important;
  letter-spacing: -0.18em !important;
  transform: scale(0.88) !important;
  transform-origin: center center !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

#page-message #lumiMsgView.member-first-cheki-message .lumiMsg-chatHead b {
  letter-spacing: -0.035em !important;
}

@media (min-width: 861px) {
  #page-message .lumiMsg-item.member-first-cheki-message .lumiMsg-icon {
    font-size: 20px !important;
    transform: scale(0.86) !important;
  }
}

@media (max-width: 430px) {
  #page-message .lumiMsg-item.member-first-cheki-message .lumiMsg-icon {
    font-size: 19px !important;
    transform: scale(0.86) !important;
  }
}


/* fix2L-3-6U-fix6 / 3-6V-fix1: ticket bullet copy line breaks */
.ticket-pc-wallet-card > span,
.ticket-sub,
.ticket-pc-place {
  white-space: pre-line;
}
