@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Shippori+Mincho:wght@600;700&display=swap");

    #ai-glasses-box-jp {
      --ink: #1f2937;
      --sub: #4b5563;
      --line: #dbe4ef;
      --bg-a: #f7f9fc;
      --bg-b: #edf3fb;
      --card: #ffffff;
      --accent: #0f4c81;
      --accent-2: #d4a373;
      --danger: #b91c1c;
      --ok: #0f766e;
      max-width: 1120px;
      margin: 28px auto;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background:
        radial-gradient(1200px 380px at -10% -20%, #d6e7fa 0%, rgba(214, 231, 250, 0) 65%),
        radial-gradient(850px 280px at 110% 0%, #f7e5d4 0%, rgba(247, 229, 212, 0) 60%),
        linear-gradient(165deg, var(--bg-a), var(--bg-b));
      color: var(--ink);
      font-family: "Zen Kaku Gothic New", sans-serif;
      overflow: hidden;
      position: relative;
      box-sizing: border-box;
    }
    #ai-glasses-box-jp * { box-sizing: border-box; }

    .hero {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 16px;
      align-items: stretch;
      margin-bottom: 18px;
    }
    .hero-main {
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(4px);
      border: 1px solid #e7edf6;
      border-radius: 20px;
      padding: 18px 20px;
      animation: rise 420ms ease;
    }
    .hero-main h2 {
      font-family: "Shippori Mincho", serif;
      margin: 0;
      font-size: 30px;
      line-height: 1.3;
      letter-spacing: 0.02em;
    }
    .hero-main p {
      margin: 10px 0 0;
      color: var(--sub);
      line-height: 1.7;
      font-size: 15px;
    }
    .hero-side {
      border: 1px solid #e7edf6;
      border-radius: 20px;
      padding: 15px;
      background: #fff;
      animation: rise 520ms ease;
    }
    .pill {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      font-size: 13px;
      padding: 7px 13px;
      background: #edf3fb;
      color: #2b4f73;
      margin-right: 8px;
      margin-bottom: 8px;
    }
    .wizard-progress {
      border: 1px solid #d7e1ed;
      border-radius: 14px;
      background: #f8fbff;
      padding: 10px 12px;
    }
    .wizard-progress-track {
      width: 100%;
      height: 12px;
      border-radius: 999px;
      background: #dbe4ef;
      overflow: hidden;
      border: 1px solid #cfdae8;
    }
    .wizard-progress-fill {
      width: 0%;
      height: 100%;
      background: linear-gradient(90deg, #114a7b, #2a77b1);
      transition: width 240ms ease;
    }
    .wizard-progress-labels {
      margin-top: 10px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }
    .wizard-step-label {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      color: #475569;
      font-weight: 700;
      min-width: 0;
    }
    .wizard-step-label .num {
      width: 26px;
      height: 26px;
      border-radius: 999px;
      border: 1.5px solid #b7c9dd;
      background: #fff;
      color: #475569;
      display: grid;
      place-items: center;
      flex: 0 0 26px;
      font-size: 13px;
      line-height: 1;
    }
    .wizard-step-label.current,
    .wizard-step-label.done {
      color: #114a7b;
    }
    .wizard-step-label.current .num,
    .wizard-step-label.done .num {
      border-color: #114a7b;
      background: #114a7b;
      color: #fff;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-bottom: 12px;
    }
    .block {
      border: 1px solid var(--line);
      border-radius: 16px;
      background: var(--card);
      padding: 14px;
      animation: rise 560ms ease;
    }
    .block h3 {
      margin: 0 0 10px;
      font-size: 14px;
      letter-spacing: 0.02em;
      color: #334155;
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .chip {
      border: 1.5px solid #cfd8e4;
      border-radius: 999px;
      padding: 10px 15px;
      cursor: pointer;
      user-select: none;
      background: #fff;
      font-size: 14px;
      color: #1e293b;
      transition: all 0.2s ease;
    }
    .chip.with-icon {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding-left: 10px;
      padding-right: 12px;
    }
    .chip-icon {
      width: 16px;
      height: 16px;
      border-radius: 6px;
      border: 1px solid #cfd8e4;
      background: #f8fbff;
      display: inline-grid;
      place-items: center;
      flex: 0 0 16px;
    }
    .chip-icon svg {
      width: 11px;
      height: 11px;
      stroke: #2d5b8d;
      fill: none;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .chip:hover { transform: translateY(-1px); border-color: #9db8d8; }
    .chip.active {
      background: linear-gradient(135deg, #114a7b, #1f628f);
      color: #fff;
      border-color: #114a7b;
      box-shadow: 0 6px 18px rgba(17, 74, 123, 0.25);
    }
    .chip.active .chip-icon {
      border-color: rgba(255, 255, 255, 0.45);
      background: rgba(255, 255, 255, 0.12);
    }
    .chip.active .chip-icon svg {
      stroke: #ffffff;
    }

    label { font-size: 14px; color: #374151; display: block; margin-bottom: 6px; font-weight: 600; }
    textarea, select, input {
      width: 100%;
      border: 1px solid #d7e1ed;
      border-radius: 12px;
      padding: 10px 12px;
      font-size: 14px;
      font-family: inherit;
      background: #fdfefe;
      color: var(--ink);
    }

    .actions {
      display: grid;
      gap: 10px;
      margin-top: 6px;
    }
    .actions-nav {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }
    .actions .btn,
    .submit {
      min-height: 48px;
      justify-content: center;
      font-size: 15px;
      font-weight: 700;
    }
    .submit {
      border: none;
      border-radius: 14px;
      padding: 14px 18px;
      background: linear-gradient(135deg, #114a7b, #1f628f);
      color: #fff;
      font-weight: 700;
      cursor: pointer;
      letter-spacing: 0.02em;
      box-shadow: 0 10px 24px rgba(17, 74, 123, 0.28);
      font-size: 16px;
    }
    .submit:disabled {
      background: #c8d7e8;
      color: #5f7288;
      box-shadow: none;
      cursor: not-allowed;
    }
    .wizard-hint {
      font-size: 13px;
      color: #8b3d2e;
      min-height: 20px;
      line-height: 1.5;
    }
    .mini-note { font-size: 13px; color: #475569; }
    .hard-filter-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 10px 0 6px;
    }
    .hard-filter-chip {
      border: 1.5px solid #cfd8e4;
      border-radius: 999px;
      background: #fff;
      color: #1e3a5f;
      font-size: 13px;
      font-weight: 700;
      padding: 8px 14px;
      cursor: pointer;
      min-height: 38px;
      display: inline-flex;
      align-items: center;
    }
    .hard-filter-chip.active {
      border-color: #114a7b;
      background: #114a7b;
      color: #fff;
    }
    .hidden-select { display: none !important; }
    .choice-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 6px;
    }
    .choice-btn {
      border: 1.5px solid #cfd8e4;
      border-radius: 14px;
      background: #fff;
      color: #1e293b;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.4;
      min-height: 52px;
      padding: 12px 14px;
      cursor: pointer;
      text-align: left;
    }
    .choice-btn.with-icon {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .choice-icon {
      width: 28px;
      height: 28px;
      border-radius: 9px;
      border: 1.5px solid #cfd8e4;
      background: #f8fbff;
      display: inline-grid;
      place-items: center;
      flex: 0 0 28px;
    }
    .choice-icon svg {
      width: 14px;
      height: 14px;
      stroke: #2d5b8d;
      fill: none;
      stroke-width: 1.9;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .choice-label {
      display: flex;
      flex-direction: column;
      gap: 1px;
      line-height: 1.25;
    }
    .choice-label small {
      font-size: 12px;
      font-weight: 600;
      color: #475569;
    }
    .choice-btn.visual {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .choice-thumb {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      border: 1.5px solid #b8c9dc;
      background: #f1f5f9;
      flex: 0 0 36px;
    }
    .choice-thumb.face-round { border-radius: 999px; }
    .choice-thumb.face-square { border-radius: 7px; }
    .choice-thumb.face-long { border-radius: 14px / 20px; }
    .choice-thumb.face-oval { border-radius: 16px / 22px; }
    .choice-thumb.face-diamond {
      clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
      border-radius: 0;
    }
    .choice-thumb.face-large {
      width: 42px;
      height: 36px;
      border-radius: 999px;
      flex-basis: 42px;
    }
    .choice-thumb.color-black { background: #1f2937; }
    .choice-thumb.color-brown { background: #8b5e3b; }
    .choice-thumb.color-gray { background: #9ca3af; }
    .choice-thumb.color-blue { background: #3b82f6; }
    .choice-thumb.color-red { background: #ef4444; }
    .choice-thumb.color-gold { background: #d4af37; }
    .choice-thumb.color-silver { background: #c0c7cf; }
    .choice-thumb.color-tortoise {
      background: repeating-linear-gradient(45deg, #6b4423, #6b4423 5px, #a97443 5px, #a97443 10px);
    }
    .choice-btn.active {
      border-color: #114a7b;
      background: #114a7b;
      color: #fff;
      box-shadow: 0 8px 18px rgba(17, 74, 123, 0.25);
    }
    .choice-btn.active .choice-label small {
      color: #dbe9f7;
    }
    .choice-btn.active .choice-icon {
      border-color: rgba(255, 255, 255, 0.45);
      background: rgba(255, 255, 255, 0.13);
    }
    .choice-btn.active .choice-icon svg {
      stroke: #ffffff;
    }
    .entry-mode-grid {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .entry-mode-grid .choice-btn {
      min-height: 88px;
      font-size: 18px;
      font-weight: 900;
      border-radius: 14px;
      letter-spacing: 0.01em;
      display: flex;
      align-items: center;
      gap: 12px;
      text-align: left;
    }
    .entry-mode-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      border: 1px solid #cfe0f2;
      background: #f6fbff;
      display: grid;
      place-items: center;
      flex: 0 0 44px;
    }
    .entry-mode-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .entry-mode-text small {
      font-size: 13px;
      font-weight: 600;
      color: #475569;
    }
    .entry-mode-grid .choice-btn.active .entry-mode-text small {
      color: #dbe9f7;
    }
    .quick-face-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 8px;
    }
    .quick-hero {
      display: grid;
      grid-template-columns: 1fr 150px;
      gap: 12px;
      align-items: center;
      margin-top: 8px;
    }
    .quick-hero-illustration,
    .criteria-illustration {
      width: 140px;
      height: 120px;
      border: 1px solid #d5e3f2;
      border-radius: 12px;
      background: linear-gradient(180deg, #f7fbff, #eef5fc);
      display: grid;
      place-items: center;
      margin-left: auto;
    }
    .criteria-hero {
      display: flex;
      justify-content: flex-end;
      margin-top: 6px;
    }
    .quick-face-btn {
      min-height: 52px;
      font-size: 16px;
      font-weight: 800;
      border-radius: 12px;
      border: 1px solid #b9cde4;
      background: #fff;
      color: #174c82;
      cursor: pointer;
    }
    .quick-cam-wrap {
      margin-top: 10px;
      border: 1px solid #dce7f3;
      border-radius: 12px;
      overflow: hidden;
      background: #0f172a;
      display: none;
      position: relative;
      max-width: 420px;
    }
    .quick-cam-wrap.open { display: block; }
    .quick-cam-wrap video {
      width: 100%;
      max-height: 320px;
      display: block;
      object-fit: cover;
    }
    .quick-cam-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 8px;
      max-width: 420px;
    }
    .progress-wrap {
      width: 100%;
      display: none;
      gap: 8px;
      align-items: center;
      margin-top: 8px;
    }
    .progress-wrap.open { display: flex; }
    .progress-track {
      flex: 1;
      height: 8px;
      border-radius: 999px;
      background: #e6eef8;
      overflow: hidden;
      border: 1px solid #d4e0ee;
    }
    .progress-bar {
      height: 100%;
      width: 0%;
      border-radius: 999px;
      background: linear-gradient(90deg, #0f4c81, #2d7ab8);
      transition: width 220ms ease;
    }
    .progress-text {
      font-size: 13px;
      color: #1e3a5f;
      min-width: 44px;
      text-align: right;
      font-weight: 700;
    }

    #ai-result-jp { margin-top: 16px; }
    .summary {
      border: 1px solid #d5e3f2;
      border-radius: 14px;
      background: #fff;
      padding: 12px 14px;
      margin-bottom: 12px;
      color: #1e293b;
    }

    .cards {
      display: grid;
      gap: 12px;
      grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    }
    .card {
      border: 1px solid #dce7f3;
      border-radius: 16px;
      overflow: hidden;
      background: #fff;
      display: flex;
      flex-direction: column;
      min-height: 100%;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .card:hover {
      transform: translateY(-3px);
      box-shadow: 0 16px 30px rgba(15, 47, 75, 0.12);
    }
    .card img {
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      display: block;
      background: #f2f6fb;
    }
    .card .body {
      padding: 11px 12px 12px;
      display: flex;
      flex-direction: column;
      gap: 7px;
      flex: 1;
    }
    .rank {
      font-size: 12px;
      letter-spacing: 0.04em;
      color: #2d5078;
      text-transform: uppercase;
      font-weight: 700;
    }
    .title {
      font-size: 15px;
      line-height: 1.45;
      font-weight: 700;
      color: #111827;
      min-height: 40px;
    }
    .price {
      color: #0f4c81;
      font-weight: 700;
      font-size: 16px;
    }
    .reason {
      font-size: 13px;
      line-height: 1.6;
      color: #334155;
      min-height: 56px;
    }
    .card-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: auto;
    }
    .btn {
      border: 1.5px solid #c9d8e8;
      border-radius: 10px;
      background: #fff;
      color: #1e3a5f;
      font-size: 13px;
      padding: 10px 12px;
      cursor: pointer;
      text-align: center;
      text-decoration: none;
      font-weight: 700;
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    .btn.primary {
      border-color: #114a7b;
      background: #114a7b;
      color: #fff;
    }

    .loading { color: #334155; }
    .error { color: var(--danger); }
    .ok { color: var(--ok); }

    .modal {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100vw !important;
      height: 100vh !important;
      height: 100dvh !important;
      z-index: 2147483647 !important;
      background: rgba(8, 16, 28, 0.56);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
      margin: 0 !important;
      transform: none !important;
    }
    .modal.open { display: flex; }
    .panel {
      width: min(920px, 100%);
      border-radius: 18px;
      background: #fff;
      border: 1px solid #dce7f3;
      overflow: hidden;
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
    }
    .panel-side {
      padding: 14px;
      border-right: 1px solid #e5edf6;
      background: #f8fbff;
    }
    .panel-main {
      padding: 14px;
    }
    .tryon-primary-actions {
      display: flex;
      gap: 8px;
      margin-top: 10px;
    }
    .tryon-primary-actions .btn.primary,
    .tryon-primary-actions .close {
      flex: 1 1 0;
    }
    .tryon-result-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
    }
    #tryonMobileResultMount {
      display: none;
    }
    .tryon-mobile-header {
      display: none;
    }
    .panel h4 { margin: 0 0 8px; font-size: 16px; }
    .upbox {
      border: 1px dashed #aac2dc;
      border-radius: 14px;
      padding: 12px;
      background: #fff;
      text-align: center;
    }
    .cam-wrap {
      margin-top: 8px;
      border: 1px solid #dce7f3;
      border-radius: 12px;
      overflow: hidden;
      background: #0f172a;
      display: none;
      position: relative;
    }
    .cam-wrap.open { display: block; }
    .cam-wrap video {
      width: 100%;
      max-height: 260px;
      display: block;
      object-fit: cover;
    }
    .cam-overlay {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      display: none;
      z-index: 2;
    }
    .cam-wrap.live-mode .cam-overlay { display: block; }
    .cam-wrap.live-mode .cam-guide { display: none; }
    .cam-guide {
      position: absolute;
      inset: 0;
      pointer-events: none;
      display: flex;
      align-items: center;
      justify-content: center;
      background:
        linear-gradient(rgba(10, 20, 36, 0.45), rgba(10, 20, 36, 0.45)),
        radial-gradient(circle at center, transparent 0 38%, rgba(10, 20, 36, 0.55) 39% 100%);
    }
    .cam-guide-frame {
      width: min(72%, 260px);
      aspect-ratio: 3 / 4;
      border: 2px dashed rgba(226, 238, 251, 0.92);
      border-radius: 18px;
      position: relative;
      box-shadow: 0 0 0 999px rgba(9, 18, 33, 0.35);
      background: rgba(255, 255, 255, 0.04);
    }
    .cam-guide-face {
      position: absolute;
      left: 50%;
      top: 17%;
      width: 54%;
      height: 42%;
      transform: translateX(-50%);
      border: 2px solid rgba(172, 208, 243, 0.95);
      border-radius: 999px;
      background: rgba(122, 173, 222, 0.08);
    }
    .cam-guide-shoulder {
      position: absolute;
      left: 50%;
      bottom: 8%;
      width: 82%;
      height: 26%;
      transform: translateX(-50%);
      border: 2px solid rgba(172, 208, 243, 0.88);
      border-top-left-radius: 999px;
      border-top-right-radius: 999px;
      border-bottom-left-radius: 12px;
      border-bottom-right-radius: 12px;
      background: rgba(122, 173, 222, 0.06);
    }
    .cam-guide-note {
      position: absolute;
      left: 50%;
      bottom: 8px;
      transform: translateX(-50%);
      color: #e4eef8;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.01em;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
      white-space: nowrap;
    }
    .cam-actions {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 8px;
      margin-top: 8px;
    }
    .live-tryon-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 8px;
    }
    .preview-pair {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 10px;
    }
    .preview-pair img {
      width: 100%;
      border-radius: 10px;
      border: 1px solid #dce7f3;
      background: #f3f7fc;
      aspect-ratio: 1/1;
      object-fit: cover;
    }
    .result-view {
      min-height: 280px;
      border: 1px solid #dce7f3;
      border-radius: 12px;
      background: #f8fbff;
      display: grid;
      place-items: center;
      overflow: hidden;
      margin-top: 8px;
    }
    .result-view img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #fff;
    }

    .close {
      border: 1.5px solid #cfdceb;
      border-radius: 10px;
      background: #fff;
      padding: 10px 14px;
      font-size: 13px;
      cursor: pointer;
      font-weight: 600;
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    @keyframes rise {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 880px) {
      .hero { grid-template-columns: 1fr; }
      .form-grid { grid-template-columns: 1fr; }
      .panel { grid-template-columns: 1fr; }
      .panel-side { border-right: none; border-bottom: 1px solid #e5edf6; }
    }
    @media (max-width: 640px) {
      #ai-glasses-box-jp {
        margin: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        padding: 16px;
      }
      .hero-main h2 { font-size: 24px; }
      .hero-main p { font-size: 14px; }
      .cards { grid-template-columns: 1fr; }
      .entry-mode-grid { grid-template-columns: 1fr; }
      .quick-face-actions { grid-template-columns: 1fr; }
      .quick-cam-actions { grid-template-columns: 1fr; }
      .quick-hero { grid-template-columns: 1fr; }
      .quick-hero-illustration, .criteria-illustration { margin: 0 auto; }
      .card .body { padding: 14px; }
      .card-actions { grid-template-columns: 1fr; gap: 8px; }
      .card-actions .btn { min-height: 46px; font-size: 14px; }
      .actions-nav { grid-template-columns: 1fr; gap: 8px; }
      .submit { width: 100%; padding: 15px 18px; font-size: 16px; min-height: 52px; }
      .btn, .close { min-height: 44px; padding: 10px 12px; font-size: 14px; }
      .choice-btn { min-height: 50px; font-size: 14px; padding: 12px; }
      .choice-grid { gap: 10px; }
      .chip { padding: 10px 14px; font-size: 14px; }
      .panel-side,
      .panel-main { padding: 14px; }
      .panel-side > p {
        margin: 0 0 6px !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
      }
      .upbox { padding: 12px; }
      .cam-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
      .live-tryon-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
      .cam-actions .btn,
      .live-tryon-actions .btn,
      .tryon-primary-actions .btn,
      .tryon-primary-actions .close {
        font-size: 14px;
        font-weight: 700;
        min-height: 44px;
      }
      .preview-pair { grid-template-columns: 1fr 1fr; margin-top: 10px; gap: 8px; }
      .result-view { min-height: 200px; }
      .modal { padding: 0; align-items: stretch; }
      .panel {
        max-height: 100vh;
        max-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        width: 100%;
        border-radius: 0;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
      }
      .panel h4 {
        display: none;
      }
      .panel-side > p {
        font-size: 15px !important;
        line-height: 1.8 !important;
      }
      .btn, .close {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 15px;
      }
      .cam-actions .btn,
      .live-tryon-actions .btn,
      .tryon-primary-actions .btn,
      .tryon-primary-actions .close {
        font-size: 15px;
        min-height: 48px;
      }
      #tryonShareRow .btn {
        font-size: 14px;
        min-height: 46px;
      }
      #tryonStatus {
        font-size: 14px !important;
      }
      .tryon-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 10;
        background: #f8fbff;
        border-bottom: 1px solid #e5edf6;
        padding: 12px 16px;
        min-height: 48px;
        font-size: 16px;
        font-weight: 700;
        color: #1e3a5f;
      }
      .tryon-mobile-header button {
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        color: #475569;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .panel-side { padding-top: 14px; }
      .tryon-primary-actions { gap: 8px; margin-top: 10px; }
      .tryon-result-head {
        flex-direction: column;
        align-items: flex-start;
      }
      #tryonShareRow {
        gap: 8px !important;
      }
      #tryonShareRow .btn {
        flex: 1 1 calc(50% - 8px);
        min-height: 42px;
        padding: 10px 12px;
        font-size: 13px;
      }
      #tryonColorChoices {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      #tryonColorChoices .choice-btn {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 14px;
        line-height: 1.4;
      }
      #tryonMobileResultMount {
        display: grid;
        gap: 8px;
        margin-top: 10px;
      }
      #tryonMobileResultMount .result-view {
        margin-top: 0;
      }
      #tryonMobileResultMount #tryonStatus {
        margin-top: 0 !important;
      }
      .panel-main.is-mobile-detached {
        display: none;
      }
      .hard-filter-chip { padding: 9px 14px; font-size: 13px; min-height: 40px; }
      .wizard-step-label { font-size: 13px; }
      .wizard-step-label .num { width: 24px; height: 24px; flex: 0 0 24px; }
    }