    /* ---------------- P3R PATCH NOTES SIDE DRAWER PANEL ---------------- */

    .patch-drawer-wrapper {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: clamp(520px, 48vw, 840px);
      overflow: hidden;
      pointer-events: none;
      z-index: 75;
    }

    .patch-panel {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      z-index: 75;
      display: flex;
      flex-direction: column;
      background: #020817;
      border-left: 4px solid #0088ff;
      box-shadow: -12px 0 36px rgba(0, 0, 0, 0.85);
      transform: translateX(105%);
      transition: transform 540ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 540ms;
      visibility: hidden;
      overflow: hidden;
      pointer-events: none;
    }

    .patch-panel.open {
      visibility: visible;
      pointer-events: auto;
      transform: translateX(0);
      transition: transform 540ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0s;
    }

    /* P3R Slash removed to keep UI clean and uncluttered */
    .patch-slash {
      display: none;
    }

    .patch-panel-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding: 30px 32px 18px;
      border-bottom: 2px solid #08244f;
      position: relative;
      z-index: 5;
    }

    .patch-header-title h3 {
      margin: 4px 0 2px;
      font-family: Inter, sans-serif;
      font-size: clamp(1.8rem, 3.2vw, 2.8rem);
      font-weight: 900;
      line-height: 0.85;
      letter-spacing: -0.05em;
      text-transform: uppercase;
      color: #ffffff;
      text-shadow: 2px 2px 0 #000000;
    }

    .patch-header-title h3 span {
      color: #52b6ff;
      -webkit-text-stroke: 0;
    }

    .patch-header-tag {
      display: inline-block;
      font-family: Inter, sans-serif;
      font-size: 10px;
      font-weight: 900;
      letter-spacing: 0.22em;
      color: #52b6ff;
    }

    .patch-header-title small {
      display: block;
      color: #8bbce0;
      font-size: 11px;
      letter-spacing: 0.05em;
      margin-top: 4px;
    }

    .close-patch-panel {
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      cursor: pointer;
      color: var(--navy);
      background: var(--ice);
      border: 0;
      font-family: Inter, sans-serif;
      font-size: 18px;
      font-weight: 900;
      clip-path: polygon(15% 0, 100% 12%, 84% 100%, 0 82%);
      box-shadow: 4px 4px 0 #000000;
      transition: 180ms ease;
    }

    .close-patch-panel:hover {
      background: #0088ff;
      color: #ffffff;
      transform: rotate(8deg) scale(1.08);
      box-shadow: 6px 6px 0 #000000;
    }

    /* Patch selection tabs: Clean P3R capsule pills */
    .patch-tabs-scroll {
      padding: 16px 32px 14px;
      border-bottom: 2px solid #08244f;
      overflow-x: auto;
      scrollbar-width: thin;
      scrollbar-color: #0088ff #020817;
      position: relative;
      z-index: 5;
    }

    .patch-tabs {
      display: flex;
      gap: 10px;
      min-width: max-content;
    }

    .patch-tab {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 7px 16px;
      cursor: pointer;
      background: #04142b;
      border: 1.5px solid #0c356f;
      border-radius: 20px;
      color: #8bbce0;
      font-family: Inter, sans-serif;
      font-size: 13px;
      font-weight: 800;
      box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.4);
      transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    }

    .patch-tab:hover {
      color: #ffffff;
      background: #082c66;
      border-color: #0088ff;
      transform: translateY(-1px);
    }

    .patch-tab.active {
      color: #00122e;
      background: #ffffff;
      border-color: #ffffff;
      box-shadow: 3px 4px 0 #000000;
      transform: translateY(-1px);
    }

    .patch-tab-version {
      font-family: Inter, sans-serif;
      font-size: 12.5px;
      font-weight: 900;
      letter-spacing: -0.01em;
    }

    .patch-tab-tag {
      font-family: Inter, sans-serif;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: 0.1em;
      padding: 2px 6px;
      background: rgba(0, 0, 0, 0.4);
      color: #52b6ff;
      border-radius: 10px;
    }

    .patch-tab.active .patch-tab-tag {
      background: #00122e;
      color: #ffffff;
    }

    /* Patch Content Card: Paper sliding over like P3R document layer */
    .patch-body {
      flex: 1;
      overflow-y: auto;
      padding: 22px 32px 36px;
      position: relative;
      z-index: 5;
      scrollbar-width: thin;
      scrollbar-color: #0d3878 #020c1f;
    }

    .patch-body::-webkit-scrollbar {
      width: 6px;
    }

    .patch-body::-webkit-scrollbar-track {
      background: #020c1f;
    }

    .patch-body::-webkit-scrollbar-thumb {
      background: #0d3878;
      border-radius: 3px;
    }

    .patch-body::-webkit-scrollbar-thumb:hover {
      background: var(--cyan);
    }

    .patch-card {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .patch-card.revealing {
      animation: p3rPaperSlideOver 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    @keyframes p3rPaperSlideOver {
      0% {
        opacity: 0;
        transform: translateX(80px) translateY(6px) rotate(-1.8deg);
        box-shadow: -22px 10px 30px rgba(0, 0, 0, 0.85);
      }
      50% {
        opacity: 1;
      }
      100% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(0deg);
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
      }
    }

    .patch-card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
    }

    .patch-card-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .patch-card-ver {
      font-family: Inter, sans-serif;
      font-size: 24px;
      font-weight: 900;
      color: #ffffff;
      letter-spacing: -0.03em;
      text-shadow: 3px 3px 0 #000000;
    }

    .patch-card-tag {
      font-family: Inter, sans-serif;
      font-size: 10px;
      font-weight: 900;
      letter-spacing: 0.15em;
      padding: 3px 9px;
      color: #00122e;
      background: var(--cyan);
      clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 0 100%);
    }

    .patch-card-date {
      font-family: Inter, sans-serif;
      font-size: 11px;
      font-weight: 700;
      color: #8bbce0;
      letter-spacing: 0.08em;
    }

    .patch-card-title {
      font-family: "Chakra Petch", sans-serif;
      font-size: 17px;
      font-weight: 700;
      line-height: 1.4;
      color: #ffffff;
      margin: 0;
      padding-left: 12px;
      border-left: 4px solid var(--cyan);
    }

    /* Lead Summary box */
    .patch-summary-lead {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 12px 16px;
      background: #f0f7ff;
      border: 1px solid #bad8f5;
      border-left: 5px solid #0066ee;
      box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.35);
      color: #0a1f3d;
      font-size: 13.5px;
      line-height: 1.6;
      font-weight: 500;
    }

    .patch-summary-lead .summary-icon {
      display: inline-grid;
      place-items: center;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #0066ee;
      color: #ffffff;
      font-family: Inter, sans-serif;
      font-size: 11px;
      font-weight: 900;
      flex-shrink: 0;
      margin-top: 2px;
    }

    /* Categorized Section Blocks */
    .patch-section {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 6px;
    }

    .patch-section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding-bottom: 6px;
      border-bottom: 1.5px solid #0a2d64;
    }

    .patch-section-title {
      font-family: "Chakra Petch", sans-serif;
      font-size: 13.5px;
      font-weight: 700;
      letter-spacing: 0.03em;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .patch-section-title::before {
      content: "";
      display: inline-block;
      width: 4px;
      height: 13px;
      background: #52b6ff;
      transform: skewX(-12deg);
    }

    .patch-section-tag {
      font-family: Inter, sans-serif;
      font-size: 9.5px;
      font-weight: 800;
      letter-spacing: 0.12em;
      color: #004ecc;
      background: #e1efff;
      border: 1px solid #bcd8fa;
      padding: 2px 8px;
      border-radius: 12px;
      text-transform: uppercase;
    }

    /* Structured Section Lists */
    .patch-items-list {
      display: grid;
      gap: 8px;
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .patch-item {
      position: relative;
      padding: 10px 14px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: #0d2342;
      font-size: 13px;
      line-height: 1.55;
      font-weight: 500;
      background: #f4f8fd;
      border: 1px solid #cfe0f2;
      border-left: 4px solid #0077ff;
      box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.25);
      transform: skewX(-2deg);
      transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
    }

    .patch-item:hover {
      transform: skewX(-2deg) translateX(3px);
      background: #ffffff;
      border-color: #0077ff;
    }

    .patch-item-bullet {
      font-size: 9px;
      line-height: 1.7;
      color: #0066ee;
      font-weight: 900;
      flex-shrink: 0;
      transform: skewX(2deg);
    }

    .patch-item-content {
      flex: 1;
      transform: skewX(2deg);
    }

    .patch-item-content strong {
      color: #00122e;
      font-weight: 800;
    }

    /* Pure Multiline Text Section */
    .patch-text-content {
      padding: 14px 18px;
      color: #0d2342;
      font-size: 13.5px;
      line-height: 1.75;
      font-weight: 500;
      background: #f4f8fd;
      border: 1px solid #cfe0f2;
      border-left: 4px solid #0077ff;
      box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.25);
      transform: skewX(-2deg);
      transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
    }

    .patch-text-content:hover {
      transform: skewX(-2deg) translateX(3px);
      background: #ffffff;
      border-color: #0077ff;
    }

    .patch-text-content-inner {
      transform: skewX(2deg);
      white-space: pre-wrap;
      word-break: break-word;
    }

    .patch-text-content-inner p {
      margin: 0 0 10px 0;
    }

    .patch-text-content-inner p:last-child {
      margin-bottom: 0;
    }

    .patch-text-content-inner strong {
      color: #00122e;
      font-weight: 800;
    }

    /* Flow Step Chain (How to Play) */
    .patch-flow-list {
      display: grid;
      gap: 10px;
    }

    .patch-flow-card {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 12px 14px;
      background: #eaf2fa;
      border: 1px solid #c0d7ed;
      border-left: 4px solid #0066ee;
      box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.25);
    }

    .patch-flow-chain {
      display: flex;
      align-items: stretch;
      gap: 8px;
      flex-wrap: wrap;
    }

    .patch-flow-step {
      display: flex;
      flex-direction: column;
      gap: 4px;
      background: #ffffff;
      border: 1px solid #b8d4f0;
      padding: 8px 12px;
      border-radius: 4px;
      flex: 1 1 180px;
      min-width: 140px;
    }

    .step-badge {
      font-family: Inter, sans-serif;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: 0.1em;
      color: #0055cc;
    }

    .step-text {
      font-size: 12.5px;
      line-height: 1.45;
      color: #0d2342;
      font-weight: 600;
    }

    .step-arrow {
      display: grid;
      place-items: center;
      color: #0066ee;
      font-size: 13px;
      font-weight: 900;
      align-self: center;
      user-select: none;
    }

    /* Achievement Cards */
    .patch-achievements-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 8px;
    }

    .patch-achievement-card {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 14px;
      background: #fffdf5;
      border: 1px solid #fed7aa;
      border-left: 4px solid #f59e0b;
      box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.25);
      transform: skewX(-2deg);
      transition: transform 180ms ease, background 180ms ease;
    }

    .patch-achievement-card:hover {
      transform: skewX(-2deg) translateX(3px);
      background: #ffffff;
    }

    .achievement-icon {
      font-size: 18px;
      flex-shrink: 0;
      transform: skewX(2deg);
    }

    .achievement-info {
      display: flex;
      flex-direction: column;
      transform: skewX(2deg);
    }

    .achievement-name {
      font-family: Inter, sans-serif;
      font-size: 12.5px;
      font-weight: 800;
      color: #1e293b;
      letter-spacing: 0.01em;
    }

    .achievement-sub {
      font-size: 9.5px;
      font-weight: 800;
      color: #d97706;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    /* Developer Schedule / Announcement Callout Box */
    .patch-notice-box {
      margin-top: 6px;
      padding: 14px 18px;
      background: #fff7ed;
      border: 1.5px solid #fdba74;
      border-left: 5px solid #ea580c;
      box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.3);
      position: relative;
    }

    .patch-notice-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
      color: #c2410c;
      font-family: "Chakra Petch", sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .patch-notice-header span.notice-icon {
      font-size: 15px;
    }

    .patch-notice-content {
      font-size: 12.5px;
      line-height: 1.6;
      color: #431407;
      font-weight: 500;
      margin: 0;
    }

    /* Backward compatibility: Classic highlights list */
    .patch-highlights-title {
      font-family: Inter, sans-serif;
      font-size: 11px;
      font-weight: 900;
      letter-spacing: 0.18em;
      color: #52b6ff;
      margin: 8px 0 4px;
    }

    .patch-highlights-list {
      display: grid;
      gap: 8px;
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .patch-highlights-list li {
      position: relative;
      padding: 11px 14px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: #0d2342;
      font-size: 13px;
      line-height: 1.5;
      font-weight: 500;
      background: #f4f8fd;
      border: 1px solid #cfe0f2;
      border-left: 4px solid #0077ff;
      box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.25);
      transform: skewX(-2deg);
      transition: transform 180ms ease, background 180ms ease;
    }

    .patch-highlights-list li:hover {
      transform: skewX(-2deg) translateX(3px);
      background: #ffffff;
      border-color: #0077ff;
    }

    .patch-highlights-list li.highlight-active {
      background: #ffffff;
      color: #00122e;
      border: 1px solid #ffffff;
      border-top: 3px solid #ff1a55;
      border-left: 5px solid #0077ff;
      box-shadow: 3px 5px 0 #000000;
      font-weight: 700;
    }

    .patch-highlights-list li.highlight-active .highlight-bullet {
      color: #ff1a55;
    }

    .patch-highlights-list li.highlight-active .highlight-text {
      color: #00122e;
    }

    .highlight-bullet {
      font-size: 10px;
      line-height: 1.5;
      color: #0066ee;
      font-weight: 900;
      flex-shrink: 0;
      transform: skewX(2deg);
    }

    .highlight-text {
      flex: 1;
      transform: skewX(2deg);
    }

    .patch-download-btn {
      margin-top: 14px;
      width: 100%;
      text-align: center;
      padding: 16px 22px;
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 0.05em;
      color: #ffffff;
      background: #0066ff;
      box-shadow: 5px 6px 0 #000000;
      clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    }

    .patch-download-btn:hover {
      background: #0052cc;
      transform: translate(-3px, -3px) skewX(-7deg);
      box-shadow: 8px 9px 0 #000000;
    }

    /* Patch Images / Previews Section */
    .patch-images-wrapper {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin: 10px 0 6px;
      padding: 12px;
      background: rgba(4, 18, 42, 0.6);
      border: 1px solid rgba(82, 182, 255, 0.22);
      border-left: 3px solid #0088ff;
    }

    .patch-images-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 4px;
    }

    .patch-images-tag {
      font-family: Inter, sans-serif;
      font-size: 9px;
      font-weight: 900;
      letter-spacing: 0.14em;
      color: #004ecc;
      background: #cbe5ff;
      padding: 2px 7px;
      border-radius: 2px;
      text-transform: uppercase;
    }

    .patch-images-title {
      font-family: "Chakra Petch", sans-serif;
      font-size: 12px;
      font-weight: 700;
      color: #8ed2ff;
      letter-spacing: 0.02em;
    }

    .patch-images-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 10px;
    }

    .patch-images-grid.single-image {
      grid-template-columns: 1fr;
    }

    .patch-image-item {
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 4px;
      transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
      outline: none;
    }

    .patch-image-item:hover,
    .patch-image-item:focus-visible {
      transform: translateY(-2px);
    }

    .patch-image-thumb-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: #020b18;
      border: 1px solid rgba(82, 182, 255, 0.35);
      box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.4);
    }

    .patch-image-thumb {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 300ms ease, filter 300ms ease;
    }

    .patch-image-item:hover .patch-image-thumb,
    .patch-sec-image-wrap:hover .patch-image-thumb {
      transform: scale(1.06);
      filter: brightness(1.08);
    }

    .patch-image-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 40%, rgba(0, 20, 50, 0.85) 100%);
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding: 8px;
      opacity: 0;
      transition: opacity 200ms ease;
      pointer-events: none;
    }

    .patch-image-item:hover .patch-image-overlay,
    .patch-image-item:focus-visible .patch-image-overlay,
    .patch-sec-image-wrap:hover .patch-image-overlay,
    .patch-sec-image-wrap:focus-visible .patch-image-overlay {
      opacity: 1;
    }

    .patch-image-expand-icon {
      font-family: "Chakra Petch", sans-serif;
      font-size: 11px;
      font-weight: 700;
      color: #ffffff;
      background: rgba(0, 102, 255, 0.85);
      border: 1px solid #52b6ff;
      padding: 3px 9px;
      clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
      letter-spacing: 0.05em;
    }

    .patch-image-badge {
      position: absolute;
      top: 6px;
      left: 6px;
      font-family: Inter, sans-serif;
      font-size: 8.5px;
      font-weight: 900;
      letter-spacing: 0.1em;
      color: #ffffff;
      background: rgba(0, 60, 214, 0.88);
      border: 1px solid rgba(82, 182, 255, 0.6);
      padding: 2px 6px;
      border-radius: 2px;
      text-transform: uppercase;
      pointer-events: none;
    }

    .patch-image-caption {
      font-family: "Chakra Petch", sans-serif;
      font-size: 11px;
      color: #9eccf2;
      line-height: 1.35;
      padding: 0 2px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    /* Section-level Image */
    .patch-sec-image-wrap {
      cursor: pointer;
      margin: 6px 0;
      outline: none;
    }
    .patch-sec-image-wrap .patch-image-thumb-wrap {
      max-height: 220px;
    }

    @media (max-width: 860px) {
      .patch-drawer-wrapper {
        width: 100% !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
      }
      .patch-panel {
        width: 100% !important;
        border-left: none;
      }
      .patch-panel-header {
        padding: 20px 20px 14px;
      }
      .patch-header-title h3 {
        font-size: clamp(1.4rem, 5vw, 2.2rem);
      }
      .patch-tabs-bar {
        padding: 0 16px;
      }
      .patch-content-body {
        padding: 16px 18px 36px;
      }
    }

    @media (max-width: 480px) {
      .patch-panel-header {
        padding: 14px 14px 10px;
      }
      .patch-header-title h3 {
        font-size: 1.35rem;
      }
      .patch-header-title p {
        font-size: 10px;
      }
      .patch-close-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
      }
      .patch-tabs-bar {
        padding: 0 12px;
        gap: 6px;
      }
      .patch-tab-item {
        padding: 6px 12px;
        font-size: 11px;
      }
      .patch-content-body {
        padding: 12px 14px 30px;
      }
      .patch-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
      }
    }
