    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      background:
        radial-gradient(circle at 12% 4%, rgba(196, 155, 57, 0.16), transparent 30%),
        radial-gradient(circle at 88% 2%, rgba(45, 108, 207, 0.12), transparent 28%),
        linear-gradient(180deg, #fff9ef 0%, var(--bg) 34%, #f8f5ef 100%);
      color: var(--ink);
      font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
      line-height: 1.75;
      overflow-wrap: anywhere;
    }

    a {
      color: #1559b7;
      text-decoration: none;
      font-weight: 700;
    }

    a:hover {
      text-decoration: underline;
    }

    a:focus-visible {
      outline: 3px solid #1f6feb;
      outline-offset: 3px;
    }

    .skip-link {
      position: absolute;
      left: 16px;
      top: 12px;
      z-index: 20;
      transform: translateY(-140%);
      padding: 8px 12px;
      background: #fff;
      border: 2px solid #1f6feb;
      border-radius: 10px;
      color: #12376f;
    }

    .skip-link:focus {
      transform: translateY(0);
    }

    html {
      scroll-behavior: smooth;
    }

    .page {
      max-width: 1180px;
      margin: 0 auto;
      padding: 28px clamp(14px, 3vw, 24px) 72px;
    }

    .page-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }

    .page-actions a {
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      padding: 7px 14px;
      background: var(--paper-strong);
      border: 1px solid var(--line);
      border-radius: 999px;
      box-shadow: 0 8px 20px rgba(81, 54, 20, 0.08);
    }

    .page-actions a:hover {
      background: var(--blue-soft);
      text-decoration: none;
    }

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

    .page-actions-bottom {
      justify-content: center;
      margin-bottom: 12px;
    }

    .hero {
      background:
        linear-gradient(135deg, rgba(20, 29, 47, 0.94) 0%, rgba(34, 72, 120, 0.93) 52%, rgba(23, 132, 90, 0.91) 100%),
        url("https://gametora.com/images/umamusume/supports/tex_support_card_30296.png");
      background-size: cover;
      background-position: center;
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.24);
      border-radius: 20px;
      padding: clamp(22px, 3vw, 34px);
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 56%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 13px);
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
      gap: 28px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      padding: 4px 10px;
      background: rgba(255, 255, 255, 0.16);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
    }

    h1 {
      margin: 18px 0 10px;
      font-size: clamp(30px, 4.6vw, 52px);
      line-height: 1.16;
      letter-spacing: 0;
      text-wrap: balance;
    }

    .lead {
      max-width: 780px;
      margin: 0 0 24px;
      color: rgba(255, 255, 255, 0.9);
      font-size: 17px;
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 22px 0 0;
    }

    .tag {
      display: inline-flex;
      align-items: center;
      min-height: 32px;
      padding: 5px 11px;
      background: rgba(255, 255, 255, 0.16);
      border: 1px solid rgba(255, 255, 255, 0.28);
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
    }

    .hero-deck {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      align-items: end;
    }

    .hero-card {
      position: relative;
      min-height: 230px;
      overflow: hidden;
      border-radius: 18px;
      border: 1px solid rgba(255, 255, 255, 0.24);
      background: rgba(255, 255, 255, 0.12);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
      transform: rotate(-3deg);
    }

    .hero-card:nth-child(2) {
      transform: translateY(26px) rotate(4deg);
    }

    .hero-card img {
      width: 100%;
      height: 100%;
      min-height: 230px;
      object-fit: cover;
      display: block;
    }

    .hero-card span {
      position: absolute;
      left: 10px;
      right: 10px;
      bottom: 10px;
      padding: 6px 8px;
      border-radius: 999px;
      background: rgba(20, 24, 34, 0.76);
      color: #fff;
      font-size: 11px;
      font-weight: 900;
      text-align: center;
    }

    .image-source {
      position: absolute;
      right: 10px;
      top: 10px;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.9);
      color: #17345f;
      font-size: 11px;
      font-weight: 900;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    }

    .image-source:hover {
      background: #fff;
      text-decoration: none;
    }

    .section {
      margin-top: 24px;
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 16px;
      box-shadow: 0 12px 34px rgba(81, 54, 20, 0.07);
      padding: clamp(18px, 3vw, 26px);
    }

    .section-title {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 0 0 18px;
      font-size: 26px;
      line-height: 1.3;
    }

    .section-title::before {
      content: "";
      display: block;
      width: 8px;
      height: 34px;
      border-radius: 8px;
      background: var(--blue);
    }

    .section-title.red::before {
      background: var(--red);
    }

    .section-title.green::before {
      background: var(--green);
    }

    .section-title.orange::before {
      background: var(--orange);
    }

    .summary-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
      gap: 14px;
    }

    .summary-card,
    .style-card,
    .source-card {
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 16px;
      background: var(--paper-strong);
    }

    .summary-card strong {
      display: block;
      margin-bottom: 6px;
      font-size: 18px;
    }

    .summary-card.critical {
      background: var(--red-soft);
      border-color: #ffd0d7;
    }

    .summary-card.high {
      background: var(--orange-soft);
      border-color: #ffdfb8;
    }

    .summary-card.factor {
      background: var(--green-soft);
      border-color: #c8ebdc;
    }

    .callout {
      margin: 16px 0;
      padding: 14px 16px;
      border-radius: 14px;
      border: 1px solid;
      font-weight: 700;
    }

    .callout.red {
      color: #8d1728;
      background: var(--red-soft);
      border-color: #ffc8d1;
    }

    .callout.green {
      color: #0d6040;
      background: var(--green-soft);
      border-color: #bbe8d7;
    }

    .callout.orange {
      color: #8a4a0d;
      background: var(--orange-soft);
      border-color: #ffd8a6;
    }

    .callout.gray {
      color: #485568;
      background: var(--gray-soft);
      border-color: var(--line);
    }

    table {
      width: 100%;
      border-collapse: collapse;
      overflow: hidden;
      table-layout: fixed;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: var(--paper-strong);
    }

    th,
    td {
      padding: 12px 14px;
      border-bottom: 1px solid var(--line);
      text-align: left;
      vertical-align: top;
    }

    th {
      background: #f1e8da;
      color: #22314a;
      font-size: 14px;
    }

    tr:last-child td {
      border-bottom: 0;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      min-height: 25px;
      padding: 2px 9px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 900;
      white-space: nowrap;
    }

    .badge.red {
      background: var(--red-soft);
      color: var(--red);
    }

    .badge.orange {
      background: var(--orange-soft);
      color: var(--orange);
    }

    .badge.blue {
      background: var(--blue-soft);
      color: var(--blue);
    }

    .badge.green {
      background: var(--green-soft);
      color: var(--green);
    }

    .style-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
      gap: 14px;
    }

    .style-card {
      border-top: 5px solid var(--blue);
      box-shadow: 0 10px 28px rgba(81, 54, 20, 0.06);
    }

    .style-card.escape {
      border-top-color: var(--red);
    }

    .style-card.front {
      border-top-color: var(--orange);
    }

    .style-card.late {
      border-top-color: var(--violet);
    }

    .style-card h3 {
      margin: 0 0 8px;
      font-size: 21px;
    }

    .style-card ul,
    .checklist {
      padding-left: 18px;
      margin: 10px 0 0;
    }

    .style-card li,
    .checklist li {
      margin: 5px 0;
    }

    .two-column {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
      gap: 18px;
      align-items: start;
    }

    .mini-source {
      margin-top: 12px;
      color: var(--muted);
      font-size: 13px;
    }

    .sources {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
      gap: 14px;
    }

    .feedback-section {
      background: linear-gradient(135deg, #fff, var(--green-soft));
    }

    .feedback-summary {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .feedback-summary p {
      margin: -8px 0 0;
      color: var(--muted);
      font-weight: 700;
    }

    .feedback-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      min-height: 42px;
      padding: 8px 16px;
      color: #fff;
      background: linear-gradient(135deg, var(--green), var(--blue));
      border-radius: 999px;
      box-shadow: 0 10px 20px rgba(22, 132, 90, 0.2);
    }

    .feedback-button:hover {
      text-decoration: none;
      background: linear-gradient(135deg, #126f4d, #255db5);
    }

    .support-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
      gap: 14px;
    }

    .support-card {
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 16px;
      background: var(--paper-strong);
      border-top: 5px solid var(--blue);
      box-shadow: 0 12px 28px rgba(81, 54, 20, 0.08);
      overflow: hidden;
    }

    .support-card.core {
      border-top-color: var(--red);
      background: var(--red-soft);
    }

    .support-card.factor {
      border-top-color: var(--green);
      background: var(--green-soft);
    }

    .support-card.latest {
      border-top-color: var(--violet);
      background: var(--violet-soft);
    }

    .support-card h3 {
      margin: 12px 0 8px;
      font-size: 20px;
      line-height: 1.35;
    }

    .support-card p {
      margin: 8px 0 0;
    }

    .support-media {
      display: block;
      position: relative;
      margin: -16px -16px 0;
      height: 180px;
      overflow: hidden;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(244, 239, 231, 0.55));
    }

    .support-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 23%;
      display: block;
      border: 0;
      box-shadow: none;
      background: transparent;
    }

    .support-body {
      padding-top: 2px;
    }

    .support-points {
      display: grid;
      gap: 7px;
      padding: 0;
      margin: 12px 0 0;
      list-style: none;
    }

    .support-points li {
      padding: 8px 10px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.64);
      border: 1px solid rgba(0, 0, 0, 0.05);
      font-weight: 700;
      font-size: 14px;
    }

    .card-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
      gap: 14px;
      margin: 18px 0;
    }

    .card-tile {
      position: relative;
      min-height: 290px;
      overflow: hidden;
      border-radius: 14px;
      border: 1px solid var(--line);
      background: #1d2535;
      box-shadow: 0 18px 40px rgba(42, 28, 12, 0.16);
    }

    .card-tile img {
      width: 100%;
      height: 100%;
      min-height: 290px;
      object-fit: cover;
      display: block;
      transition: transform 180ms ease;
    }

    .card-tile:hover img {
      transform: scale(1.04);
    }

    .card-tile figcaption {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 28px 13px 13px;
      color: #fff;
      font-weight: 900;
      background: linear-gradient(180deg, transparent, rgba(13, 18, 28, 0.88));
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    }

    .card-tile figcaption a {
      display: inline-flex;
      margin-top: 7px;
      padding: 3px 8px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.92);
      color: #17345f;
      font-size: 11px;
      text-shadow: none;
    }

    .card-tile figcaption a:hover {
      background: #fff;
      text-decoration: none;
    }

    .image-roster .card-tile {
      background: linear-gradient(180deg, #fff8ed, #1d2535);
    }

    .image-roster .card-tile img {
      object-fit: contain;
      object-position: center bottom;
      padding: 10px 10px 78px;
    }

    .rotation-flow {
      display: grid;
      gap: 12px;
    }

    .rotation-layout {
      grid-template-columns: 1fr;
    }

    .rotation-layout > div:first-child {
      min-width: 0;
    }

    .rotation-layout .rotation-flow {
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
      margin-top: 2px;
    }

    .rotation-table {
      table-layout: auto;
    }

    .rotation-table th:nth-child(1),
    .rotation-table td:nth-child(1) {
      width: 13%;
      min-width: 110px;
    }

    .rotation-table th:nth-child(2),
    .rotation-table td:nth-child(2) {
      width: 16%;
      min-width: 130px;
    }

    .rotation-table th:nth-child(3),
    .rotation-table td:nth-child(3) {
      width: 37%;
    }

    .rotation-step {
      position: relative;
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr);
      gap: 10px 12px;
      align-items: start;
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: var(--paper-strong);
      box-shadow: 0 10px 24px rgba(81, 54, 20, 0.06);
    }

    .rotation-step span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: 999px;
      color: #fff;
      background: var(--green);
      font-weight: 900;
      line-height: 1;
    }

    .rotation-step strong {
      display: block;
      margin-top: 2px;
      font-size: 17px;
      line-height: 1.35;
    }

    .rotation-step p {
      grid-column: 2;
      margin: -6px 0 0;
      color: var(--muted);
      font-size: 14px;
      font-weight: 700;
    }

    .blog-nav {
      position: sticky;
      top: 0;
      z-index: 5;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 18px 0 0;
      padding: 12px;
      border: 1px solid rgba(234, 223, 206, 0.9);
      border-radius: 18px;
      background: rgba(255, 250, 242, 0.84);
      backdrop-filter: blur(14px);
      box-shadow: 0 12px 30px rgba(81, 54, 20, 0.08);
    }

    .blog-nav a {
      min-height: 34px;
      display: inline-flex;
      align-items: center;
      padding: 5px 12px;
      border-radius: 999px;
      background: #fff;
      color: #293448;
      border: 1px solid var(--line);
      font-size: 13px;
    }

    .stat-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
      gap: 12px;
      margin: 18px 0;
    }

    .stat-card {
      position: relative;
      overflow: hidden;
      border-radius: 14px;
      padding: 16px 14px;
      border: 1px solid var(--line);
      background: #fff;
      box-shadow: 0 12px 28px rgba(81, 54, 20, 0.07);
    }

    .stat-card::before {
      content: "";
      position: absolute;
      inset: 0 0 auto;
      height: 6px;
      background: var(--blue);
    }

    .stat-card.speed::before {
      background: #2d6ccf;
    }

    .stat-card.stamina::before {
      background: #d98228;
    }

    .stat-card.power::before {
      background: #d74444;
    }

    .stat-card.guts::before {
      background: #16845a;
    }

    .stat-card.wisdom::before {
      background: #7a4dcc;
    }

    .stat-label {
      display: block;
      color: var(--muted);
      font-size: 13px;
      font-weight: 900;
    }

    .stat-value {
      display: block;
      margin-top: 4px;
      font-size: clamp(25px, 3.5vw, 36px);
      line-height: 1;
      font-weight: 900;
      letter-spacing: 0;
    }

    .stat-note {
      display: block;
      margin-top: 8px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 700;
    }

    .skill-priority {
      display: grid;
      gap: 14px;
      margin: 18px 0;
    }

    .skill-row {
      display: grid;
      grid-template-columns: minmax(88px, 116px) minmax(0, 1fr);
      gap: 14px;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 10px 24px rgba(81, 54, 20, 0.06);
    }

    .skill-rank {
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: flex-start;
      font-weight: 900;
    }

    .skill-rank strong {
      font-size: 26px;
      line-height: 1;
    }

    .skill-row h3 {
      margin: 0 0 8px;
      font-size: 19px;
      line-height: 1.35;
    }

    .skill-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 9px 0;
    }

    .skill-row p {
      margin: 7px 0 0;
    }

    .skill-source {
      margin-top: 14px;
      color: var(--muted);
      font-size: 13px;
    }

    .source-card {
      background: #fbfcff;
    }

    .source-card span {
      display: block;
      margin-top: 6px;
      color: var(--muted);
      font-size: 13px;
    }

    footer {
      margin-top: 24px;
      color: var(--muted);
      font-size: 13px;
      text-align: center;
    }

    .share-section {
      background: linear-gradient(135deg, #fff, var(--blue-soft));
    }

    .share-summary {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .share-summary p {
      margin: -8px 0 0;
      color: var(--muted);
      font-weight: 700;
    }

    .share-open-button,
    .share-copy-button,
    .share-close-button {
      border: 0;
      font: inherit;
      font-weight: 900;
      cursor: pointer;
    }

    .share-open-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 8px 18px;
      border-radius: 999px;
      color: #fff;
      background: linear-gradient(135deg, var(--blue), var(--green));
      box-shadow: 0 12px 24px rgba(45, 108, 207, 0.18);
    }

    .share-open-button:hover {
      transform: translateY(-1px);
    }

    .share-dialog {
      width: min(520px, calc(100vw - 28px));
      padding: 0;
      color: var(--ink);
      background: transparent;
      border: 0;
    }

    .share-dialog::backdrop {
      background: rgba(30, 35, 48, 0.46);
      backdrop-filter: blur(4px);
    }

    .share-dialog-panel {
      padding: 22px;
      border: 1px solid rgba(234, 223, 206, 0.94);
      border-radius: 18px;
      background: var(--paper-strong);
      box-shadow: 0 26px 70px rgba(30, 35, 48, 0.24);
    }

    .share-dialog-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 18px;
    }

    .share-dialog-head h3 {
      margin: 0;
      font-size: 20px;
      line-height: 1.35;
    }

    .share-close-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 999px;
      color: var(--ink);
      background: var(--gray-soft);
    }

    .share-links {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
      gap: 12px;
    }

    .share-link {
      display: grid;
      gap: 8px;
      place-items: center;
      min-height: 112px;
      padding: 12px 8px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fff;
      color: var(--ink);
      box-shadow: 0 10px 22px rgba(81, 54, 20, 0.08);
    }

    .share-link span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 54px;
      height: 54px;
      border-radius: 999px;
      color: #fff;
      font-size: 22px;
      font-weight: 900;
    }

    .share-link strong {
      font-size: 13px;
      line-height: 1.25;
    }

    .share-link:hover {
      transform: translateY(-1px);
      text-decoration: none;
    }

    .share-link.x {
      border-color: #24292f33;
    }

    .share-link.x span {
      background: #111;
    }

    .share-link.line {
      border-color: #16845a55;
    }

    .share-link.line span {
      background: #16845a;
    }

    .share-link.mixi2 {
      border-color: #16a08555;
    }

    .share-link.mixi2 span {
      background: #16a085;
      font-size: 18px;
    }

    .share-link.facebook {
      border-color: #2d6ccf55;
    }

    .share-link.facebook span {
      background: #2d6ccf;
      font-family: Arial, sans-serif;
    }

    .share-copy {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      margin-top: 18px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: var(--gray-soft);
    }

    .share-url {
      width: 100%;
      min-width: 0;
      border: 0;
      background: transparent;
      color: var(--ink);
      font: inherit;
      font-weight: 800;
    }

    .share-copy-button {
      min-height: 40px;
      padding: 7px 16px;
      border-radius: 999px;
      color: #fff;
      background: var(--blue);
    }

    .share-copy-status {
      min-height: 24px;
      margin: 8px 0 0;
      color: var(--green);
      font-size: 13px;
      font-weight: 800;
    }

    .floating-menu {
      position: fixed;
      right: max(16px, env(safe-area-inset-right));
      bottom: max(16px, env(safe-area-inset-bottom));
      z-index: 30;
      display: grid;
      justify-items: end;
      gap: 10px;
      pointer-events: none;
    }

    .floating-menu-button,
    .floating-menu-close {
      border: 0;
      font: inherit;
      font-weight: 900;
      cursor: pointer;
    }

    .floating-menu-button {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      min-height: 50px;
      padding: 10px 16px;
      border-radius: 999px;
      color: #fff;
      background: linear-gradient(135deg, var(--blue), var(--green));
      box-shadow: 0 16px 34px rgba(30, 35, 48, 0.2);
      pointer-events: auto;
    }

    .floating-menu-button:hover {
      transform: translateY(-1px);
    }

    .floating-menu-icon,
    .floating-menu-icon::before,
    .floating-menu-icon::after {
      display: block;
      width: 18px;
      height: 2px;
      border-radius: 999px;
      background: currentColor;
    }

    .floating-menu-icon {
      position: relative;
    }

    .floating-menu-icon::before,
    .floating-menu-icon::after {
      content: "";
      position: absolute;
      left: 0;
    }

    .floating-menu-icon::before {
      top: -6px;
    }

    .floating-menu-icon::after {
      top: 6px;
    }

    .floating-menu-panel {
      order: -1;
      width: min(360px, calc(100vw - 28px));
      max-height: min(72vh, 620px);
      overflow: auto;
      padding: 14px;
      border: 1px solid rgba(234, 223, 206, 0.96);
      border-radius: 18px;
      background: rgba(255, 250, 242, 0.96);
      box-shadow: 0 24px 64px rgba(30, 35, 48, 0.2);
      backdrop-filter: blur(14px);
      pointer-events: auto;
    }

    .floating-menu-panel[hidden] {
      display: none;
    }

    .floating-menu-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
    }

    .floating-menu-head strong {
      font-size: 17px;
      line-height: 1.35;
    }

    .floating-menu-close {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 999px;
      color: var(--ink);
      background: var(--gray-soft);
    }

    .floating-menu-group {
      display: grid;
      gap: 8px;
      padding: 12px 0;
      border-top: 1px solid var(--line);
    }

    .floating-menu-group:first-of-type {
      border-top: 0;
      padding-top: 0;
    }

    .floating-menu-label {
      color: var(--muted);
      font-size: 12px;
      font-weight: 900;
    }

    .floating-menu-links {
      display: grid;
      gap: 8px;
    }

    .floating-menu-group > a,
    .floating-menu-links a {
      display: flex;
      align-items: center;
      min-height: 38px;
      padding: 7px 11px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: #fff;
      color: var(--ink);
      font-size: 13px;
      line-height: 1.35;
      box-shadow: 0 8px 18px rgba(81, 54, 20, 0.06);
    }

    .floating-menu-group > a:hover,
    .floating-menu-links a:hover {
      background: var(--blue-soft);
      text-decoration: none;
    }

    .floating-menu-share .share-open-button {
      width: 100%;
      min-height: 38px;
      padding: 7px 11px;
      border-radius: 12px;
      box-shadow: 0 8px 18px rgba(81, 54, 20, 0.08);
    }

    html[data-view="mobile"] .floating-menu {
      right: max(10px, env(safe-area-inset-right));
      bottom: max(10px, env(safe-area-inset-bottom));
    }

    html[data-view="mobile"] .floating-menu-button {
      justify-content: center;
      width: 46px;
      height: 46px;
      min-width: 0;
      min-height: 0;
      padding: 0;
      border-radius: 999px;
      box-shadow: 0 12px 26px rgba(30, 35, 48, 0.18);
    }

    html[data-view="mobile"] .floating-menu-button-text {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
    }

    html[data-view="mobile"] .floating-menu-icon,
    html[data-view="mobile"] .floating-menu-icon::before,
    html[data-view="mobile"] .floating-menu-icon::after {
      width: 20px;
    }

    html[data-view="mobile"] .floating-menu-icon::before {
      top: -7px;
    }

    html[data-view="mobile"] .floating-menu-icon::after {
      top: 7px;
    }

    html[data-view="mobile"] .floating-menu.is-open .floating-menu-icon {
      background: transparent;
    }

    html[data-view="mobile"] .floating-menu.is-open .floating-menu-icon::before {
      top: 0;
      transform: rotate(45deg);
    }

    html[data-view="mobile"] .floating-menu.is-open .floating-menu-icon::after {
      top: 0;
      transform: rotate(-45deg);
    }

    html[data-view="mobile"] .floating-menu-panel {
      width: min(320px, calc(100vw - 20px));
      max-height: 68vh;
    }


/* ── トグルボタン ── */
.view-toggle-btn {
  display: none;
  min-height: 38px;
  padding: 7px 14px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(81, 54, 20, 0.08);
}

.view-toggle-btn:hover {
  background: var(--blue-soft);
}

/* ── モバイルレイアウト（html[data-view="mobile"] が付いた場合のみ有効） ── */
@media (max-width: 768px) {
  html[data-view="mobile"] .page {
    padding: 10px 10px 44px;
  }

  html[data-view="mobile"] .hero,
  html[data-view="mobile"] .section {
    padding: 18px 14px;
    border-radius: 12px;
  }

  html[data-view="mobile"] .section {
    margin-top: 16px;
  }

  html[data-view="mobile"] .section-title {
    font-size: 20px;
    gap: 9px;
  }

  html[data-view="mobile"] .section-title::before {
    width: 6px;
    height: 28px;
  }

  html[data-view="mobile"] h1 {
    font-size: 29px;
    line-height: 1.2;
  }

  html[data-view="mobile"] .lead {
    margin-bottom: 18px;
    font-size: 15px;
  }

  html[data-view="mobile"] .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  html[data-view="mobile"] .hero-deck {
    gap: 8px;
  }

  html[data-view="mobile"] .hero-card {
    min-height: 128px;
    border-radius: 12px;
    transform: none;
  }

  html[data-view="mobile"] .hero-card img {
    min-height: 128px;
  }

  html[data-view="mobile"] .hero-card:nth-child(2) {
    transform: none;
  }

  html[data-view="mobile"] .summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  html[data-view="mobile"] .style-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  html[data-view="mobile"] .support-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  html[data-view="mobile"] .card-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  html[data-view="mobile"] .image-roster {
    grid-template-columns: 1fr;
  }

  html[data-view="mobile"] .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  html[data-view="mobile"] .two-column {
    grid-template-columns: 1fr;
  }

  html[data-view="mobile"] .sources {
    grid-template-columns: 1fr;
  }

  html[data-view="mobile"] .feedback-summary {
    align-items: stretch;
    flex-direction: column;
  }

  html[data-view="mobile"] .feedback-button {
    width: 100%;
  }

  html[data-view="mobile"] .skill-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  html[data-view="mobile"] .blog-nav {
    flex-wrap: nowrap;
    margin-top: 12px;
    overflow-x: auto;
    padding: 8px;
    border-radius: 12px;
    scrollbar-width: thin;
  }

  html[data-view="mobile"] .blog-nav a {
    flex: 0 0 auto;
  }

  html[data-view="mobile"] .share-summary {
    align-items: stretch;
    flex-direction: column;
  }

  html[data-view="mobile"] .share-open-button {
    width: 100%;
  }

  html[data-view="mobile"] .share-links,
  html[data-view="mobile"] .share-copy {
    grid-template-columns: 1fr;
  }

  html[data-view="mobile"] .share-link,
  html[data-view="mobile"] .share-copy-button {
    width: 100%;
  }

  /* テーブル: ブロック表示 */
  html[data-view="mobile"] table,
  html[data-view="mobile"] thead,
  html[data-view="mobile"] tbody,
  html[data-view="mobile"] th,
  html[data-view="mobile"] td,
  html[data-view="mobile"] tr {
    display: block;
    width: 100%;
  }

  html[data-view="mobile"] thead {
    display: none;
  }

  html[data-view="mobile"] tr {
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }

  html[data-view="mobile"] td {
    border-bottom: 0;
    padding: 8px 12px;
  }

  html[data-view="mobile"] td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }
}
