:root {
      --bg-page: #f4f8fc;
      --card-bg: #ffffff;
      --text-title: #0f172a;
      --text-body: #334155;
      --shadow-card: 0 10px 25px -3px rgba(99, 102, 241, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
      --shadow-hover: 0 16px 36px -4px rgba(99, 102, 241, 0.16);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Outfit', 'Prompt', 'Kanit', 'Nunito', 'Sarabun', 'Leelawadee UI', system-ui, sans-serif;
      background: radial-gradient(circle at 8% 18%, rgba(251, 113, 133, 0.14) 0 95px, transparent 96px),
                  radial-gradient(circle at 92% 37%, rgba(34, 211, 238, 0.14) 0 120px, transparent 121px),
                  linear-gradient(180deg, #e0f2fe 0%, #fdf4ff 18%, #fff7ed 45%, #f8fafc 100%);
      color: var(--text-body);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      line-height: 1.5;
    }

    /* Sticky Bilingual Top Dock */
    .language-dock {
      position: sticky;
      top: 0;
      z-index: 1000;
      width: 100%;
      background: linear-gradient(135deg, #36c4dc 0%, #7269ef 52%, #ed5fa0 100%);
      border-bottom: 5px solid #ffffff;
      box-shadow: 0 9px 25px rgba(46, 67, 145, 0.25);
    }

    .dock-inner {
      max-width: 1100px;
      margin: auto;
      min-height: 95px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 6px 24px;
    }

    .dock-side {
      display: flex;
      align-items: center;
      min-width: 140px;
    }

    .dock-side.left { justify-content: flex-start; }
    .dock-side.right { justify-content: flex-end; }

    .dock-art-left {
      display: block;
      height: 75px;
      width: auto;
      max-width: 115px;
      object-fit: contain;
      filter: drop-shadow(0 6px 14px rgba(18, 38, 85, 0.35));
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .dock-art-left:hover {
      transform: scale(1.1) translateY(-2px);
    }

    .dock-art-right {
      display: block;
      height: 85px;
      width: auto;
      max-width: 120px;
      object-fit: contain;
      filter: drop-shadow(0 6px 14px rgba(18, 38, 85, 0.35));
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .dock-art-right:hover {
      transform: scale(1.1) translateY(-2px);
    }

    .language-center {
      text-align: center;
      flex: 1;
    }

    .switch-label {
      color: #ffffff;
      font-size: 12.5px;
      font-weight: 900;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      margin-bottom: 6px;
      text-shadow: 0 2px 4px rgba(41, 54, 130, 0.35);
    }

    .language-switch {
      display: inline-flex;
      gap: 8px;
      padding: 6px;
      background: rgba(255, 255, 255, 0.28);
      border: 2px solid rgba(255, 255, 255, 0.76);
      border-radius: 999px;
      box-shadow: inset 0 2px 4px rgba(43, 53, 120, 0.12);
    }

    .lang-btn {
      border: 0;
      border-radius: 999px;
      padding: 8px 24px;
      min-width: 95px;
      background: rgba(255, 255, 255, 0.88);
      color: #334266;
      font: 900 15.5px 'Nunito', 'Kanit', sans-serif;
      cursor: pointer;
      transition: 0.18s;
    }

    .lang-btn:hover {
      transform: translateY(-1px);
    }

    .lang-btn.active {
      color: #ffffff;
      background: linear-gradient(135deg, #ff596f 0%, #ff8a53 100%);
      box-shadow: 0 4px 0 #cf405f, 0 8px 18px rgba(174, 49, 92, 0.3);
    }

    /* Hero Banner matching screenshot */
    .hero-container {
      position: relative;
      width: 100%;
      max-width: 1080px;
      height: 440px;
      margin: 28px 20px 0;
      border-radius: 36px;
      overflow: hidden;
      border: 6px solid #ffffff;
      box-shadow: 0 16px 45px rgba(14, 165, 233, 0.25);
      background: #38bdf8;
    }

    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 25%;
      filter: saturate(1.08) brightness(0.98);
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(180deg, rgba(3, 8, 20, 0.04) 0%, rgba(8, 20, 35, 0.02) 50%, rgba(7, 24, 38, 0.12) 100%);
    }

    .hero-content {
      position: relative;
      z-index: 5;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 0 20px;
    }

    .server-logo {
      display: block;
      width: min(720px, 86vw);
      max-height: 230px;
      object-fit: contain;
      filter: drop-shadow(0 12px 25px rgba(15, 55, 150, 0.42));
      animation: logoFloat 4s ease-in-out infinite alternate;
    }

    @keyframes logoFloat {
      0% { transform: translateY(0); }
      100% { transform: translateY(-6px); }
    }

    /* Hero Bottom Pill Wrapper matching screenshot */
    .hero-pill-wrapper {
      position: relative;
      z-index: 10;
      margin-top: -42px;
      display: flex;
      justify-content: center;
      width: 100%;
      margin-bottom: 20px;
    }

    .hero-cbt-pill {
      background: linear-gradient(135deg, #ff5f8f 0%, #ff8758 100%);
      border: 4px solid #ffffff;
      border-radius: 26px;
      padding: 12px 42px;
      text-align: center;
      color: #ffffff;
      box-shadow: 0 8px 0 #d84670, 0 16px 28px rgba(216, 70, 112, 0.32);
      min-width: min(540px, 92vw);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
    }

    .cbt-title {
      font-size: 23px;
      font-weight: 900;
      letter-spacing: 0.4px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
    }

    .cbt-subtitle {
      font-size: 14.5px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      opacity: 0.96;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    }

    .potion-mini-icon {
      width: 22px;
      height: 22px;
      object-fit: contain;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

    /* View Switcher */
    .view-container {
      width: 100%;
      max-width: 1080px;
      padding: 0 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .lang-view {
      width: 100%;
      display: none;
      flex-direction: column;
      align-items: center;
      animation: fadeIn 0.25s ease-in-out;
    }

    .lang-view.active {
      display: flex;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Section Badges */
    .section-title-pill {
      margin: 45px 0 22px;
      font-size: 18px;
      font-weight: 800;
      color: #ffffff;
      background: linear-gradient(135deg, #8b5cf6, #d946ef);
      padding: 12px 32px;
      border-radius: 999px;
      box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
      border: 3px solid #ffffff;
      text-align: center;
      letter-spacing: 0.5px;
    }

    .section-title-pill.pill-cyan {
      background: linear-gradient(135deg, #0284c7, #10b981);
      box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
    }

    .section-title-pill.pill-orange {
      background: linear-gradient(135deg, #f59e0b, #ef4444);
      box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
    }

    .section-title-pill.pill-gold {
      background: linear-gradient(135deg, #eab308, #f97316);
      box-shadow: 0 8px 24px rgba(234, 179, 8, 0.35);
    }

    /* Grids & Cards */
    .grid-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(490px, 1fr));
      gap: 28px;
      width: 100%;
    }

    .patch-card {
      background: var(--card-bg);
      border-radius: 22px;
      padding: 24px;
      box-shadow: var(--shadow-card);
      border: 1.5px solid #e2e8f0;
      display: flex;
      flex-direction: column;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .patch-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
    }

    .card-title-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
      border-radius: 14px;
      padding: 10px 16px;
      margin-bottom: 20px;
      border: 1px solid #e2e8f0;
    }

    .bar-gacha {
      background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
      border-color: #bae6fd;
    }

    .bar-char {
      background: linear-gradient(135deg, #fefce8 0%, #fff7ed 100%);
      border-color: #fef08a;
    }

    .card-title {
      font-size: 16.5px;
      font-weight: 800;
      color: var(--text-title);
    }

    .card-badge {
      font-size: 11.5px;
      font-weight: 800;
      padding: 4px 12px;
      border-radius: 999px;
      color: #ffffff;
      white-space: nowrap;
    }

    .badge-vip { background: linear-gradient(135deg, #f59e0b, #d97706); }
    .badge-special { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
    .badge-gacha { background: linear-gradient(135deg, #0284c7, #06b6d4); }
    .badge-fuse { background: linear-gradient(135deg, #f97316, #ef4444); }
    .badge-char { background: linear-gradient(135deg, #eab308, #ca8a04); }

    .card-body {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 20px;
    }

    .illu-box {
      position: relative;
      width: 120px;
      height: 120px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .illu-inner {
      position: absolute;
      width: 104px;
      height: 104px;
      background: radial-gradient(circle, #ffffff 0%, #f1f5f9 100%);
      border-radius: 18px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
    }

    .illu-inner img {
      max-width: 95%;
      max-height: 95%;
      object-fit: contain;
    }

    .frame-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 120px;
      height: 120px;
      pointer-events: none;
      z-index: 2;
    }

    .item-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 14.5px;
      font-weight: 600;
      color: #334155;
    }

    .item-list.two-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px 18px;
      margin-bottom: 20px;
    }

    .item-list li {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .bullet {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .bullet-purple { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
    .bullet-cyan { background: linear-gradient(135deg, #0284c7, #06b6d4); }
    .bullet-gold { background: linear-gradient(135deg, #eab308, #f97316); }

    .card-icons {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      padding: 12px;
      background: #f8fafc;
      border-radius: 14px;
      border: 1px solid #e2e8f0;
      margin-top: auto;
    }

    .card-icons img {
      width: 32px;
      height: 32px;
      object-fit: contain;
      image-rendering: pixelated;
      transition: transform 0.15s ease;
    }

    .card-icons img:hover {
      transform: scale(1.35);
    }

    /* Fuses Layout */
    .fuses-container {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 26px;
    }

    .fuse-card {
      background: var(--card-bg);
      border-radius: 22px;
      padding: 22px 26px;
      box-shadow: var(--shadow-card);
      border: 1.5px solid #fed7aa;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .fuse-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 16px 36px -4px rgba(249, 115, 22, 0.2);
    }

    .fuse-card-header {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 20px;
    }

    .fuse-title {
      font-size: 17.5px;
      font-weight: 800;
      color: var(--text-title);
    }

    .fuse-strip {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 16px;
      width: 100%;
    }

    .fuse-unit {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }

    .fuse-frame {
      position: relative;
      width: 78px;
      height: 78px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.18s ease;
    }

    .fuse-frame:hover {
      transform: scale(1.12);
    }

    .fuse-inner {
      position: absolute;
      width: 66px;
      height: 66px;
      background: #fafbfd;
      border-radius: 13px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
    }

    .fuse-inner img {
      max-width: 90%;
      max-height: 90%;
      object-fit: contain;
    }

    .fuse-frame-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 78px;
      height: 78px;
      pointer-events: none;
      z-index: 2;
    }

    .fuse-label {
      font-size: 12px;
      color: #64748b;
      font-weight: 700;
      text-align: center;
    }

    footer {
      margin: 60px 0 40px;
      text-align: center;
      color: #94a3b8;
      font-size: 14px;
      font-weight: 600;
    }

    /* Events Section Styles */
    .pill-events {
      background: linear-gradient(135deg, #10b981 0%, #059669 50%, #0284c7 100%) !important;
      box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35) !important;
    }

    .badge-event {
      background: linear-gradient(135deg, #10b981, #059669);
    }

    .bar-event {
      background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
      border-color: #a7f3d0;
    }

    .event-full-card {
      grid-column: 1 / -1;
      background: #ffffff;
      border-radius: 20px;
      padding: 26px 28px;
      box-shadow: var(--shadow-card);
      border: 1.5px solid #a7f3d0;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: 16px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .event-full-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
    }

    .event-body-layout {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .event-penguin-container {
      flex-shrink: 0;
      width: 105px;
      height: 105px;
      background: radial-gradient(circle, #f0fdf4 0%, #e0f2fe 100%);
      border-radius: 20px;
      border: 2px solid #a7f3d0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6px;
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    }

    .event-penguin-img {
      max-width: 86px;
      max-height: 86px;
      object-fit: contain;
      animation: penguinFloat 3s ease-in-out infinite;
    }

    @keyframes penguinFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-6px); }
    }

    .event-text-wrap {
      flex: 1;
      font-size: 15.5px;
      line-height: 1.75;
      color: #334155;
      font-weight: 500;
    }

    .event-text-wrap strong {
      color: #059669;
      font-weight: 700;
    }

    .event-npc-bottom-row {
      display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      gap: 16px;
      padding-top: 14px;
      border-top: 1px dashed #cbd5e1;
    }

    .event-npc-info-text {
      text-align: right;
      font-size: 13px;
      color: #64748b;
      font-weight: 600;
      line-height: 1.4;
      align-self: center;
    }

    .event-npc-info-text strong {
      display: block;
      font-size: 14.5px;
      color: #0f172a;
    }

    .event-npc-img {
      width: 135px;
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 6px 14px rgba(0,0,0,0.12));
      transition: transform 0.2s ease;
    }

    .event-npc-img:hover {
      transform: scale(1.05);
    }

    .card-event {
      border: 1.5px solid #a7f3d0;
      background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    }

    .card-event:hover {
      border-color: #34d399;
    }

    .event-mini-info {
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }

    .event-sub-desc {
      font-size: 15px;
      font-weight: 600;
      color: #334155;
      line-height: 1.5;
    }

    .event-discord-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      align-self: flex-start;
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      color: #1d4ed8;
      font-size: 12.5px;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: 999px;
    }

    .event-materials-row {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 12px;
    }

    .event-mat-item {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #f8fafc;
      border: 1.5px solid #e2e8f0;
      border-radius: 12px;
      padding: 6px 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.03);
      transition: transform 0.15s ease, border-color 0.15s ease;
    }

    .event-mat-item:hover {
      transform: translateY(-2px);
      border-color: #8b5cf6;
    }

    .event-mat-icon {
      width: 26px;
      height: 26px;
      object-fit: contain;
    }

    .event-mat-name {
      font-size: 13px;
      font-weight: 700;
      color: #334155;
    }

    .event-mat-qty {
      background: linear-gradient(135deg, #8b5cf6, #ec4899);
      color: #ffffff;
      font-size: 11.5px;
      font-weight: 800;
      padding: 2px 9px;
      border-radius: 999px;
    }

    @media (max-width: 640px) {
      .event-body-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      .event-npc-bottom-row {
        justify-content: center;
        flex-direction: column;
        align-items: center;
      }
      .event-npc-info-text {
        text-align: center;
      }
    }


    @media (max-width: 768px) {
      .dock-side { display: none; }
      .dock-inner { justify-content: center; }
      .grid-container { grid-template-columns: 1fr; }
      .hero-container { height: 320px; }
      .cbt-title { font-size: 19px; }
      .section-title-pill { font-size: 16px; padding: 10px 22px; }
    }

    /* General Changes / Patch Changelog Section */
    .pill-changelog {
      background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%) !important;
      box-shadow: 0 10px 25px rgba(99, 102, 241, 0.38) !important;
    }

    .changelog-section {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 22px;
      margin-bottom: 10px;
    }

    .changelog-group {
      background: #ffffff;
      border-radius: 20px;
      border: 1.5px solid #e0e7ff;
      box-shadow: 0 6px 20px rgba(99,102,241,0.07);
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .changelog-group:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(99,102,241,0.14);
    }

    .changelog-group-header {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 22px;
      background: linear-gradient(135deg, #eef2ff 0%, #faf5ff 100%);
      border-bottom: 1.5px solid #e0e7ff;
    }

    .changelog-group-icon {
      font-size: 22px;
      flex-shrink: 0;
    }

    .changelog-group-title {
      font-size: 17px;
      font-weight: 800;
      color: #3730a3;
      letter-spacing: 0.2px;
    }

    .changelog-group-title-th {
      font-size: 15px;
      color: #6d28d9;
      font-weight: 600;
      margin-top: 1px;
    }

    .changelog-entries {
      padding: 18px 22px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .changelog-entry {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .changelog-tag {
      flex-shrink: 0;
      font-size: 10.5px;
      font-weight: 900;
      letter-spacing: 0.8px;
      padding: 3px 10px;
      border-radius: 999px;
      margin-top: 2px;
      text-transform: uppercase;
    }

    .tag-qol   { background: #dbeafe; color: #1d4ed8; }
    .tag-balance { background: #fef3c7; color: #b45309; }
    .tag-refine  { background: #ede9fe; color: #6d28d9; }
    .tag-boss    { background: #fee2e2; color: #b91c1c; }
    .tag-exp     { background: #d1fae5; color: #065f46; }
    .tag-new     { background: #ecfdf5; color: #047857; border: 1.5px solid #6ee7b7; }
    .tag-economy { background: #fef9c3; color: #854d0e; }
    .tag-party   { background: #fce7f3; color: #9d174d; }
    .tag-reward  { background: #fff1f2; color: #be123c; }
    .tag-npc     { background: #e0f2fe; color: #0369a1; }
    .tag-shop    { background: #f0fdf4; color: #15803d; }
    .tag-quest   { background: #fdf4ff; color: #7e22ce; }
    .tag-mycamp  { background: #fef3c7; color: #92400e; }
    .tag-drop    { background: #fff7ed; color: #c2410c; }

    .changelog-entry-text {
      font-size: 14.5px;
      color: #334155;
      line-height: 1.65;
      font-weight: 500;
    }

    /* Mobile: keep every card readable without horizontal clipping. */
    @media (max-width: 640px) {
      body { overflow-x: hidden; }
      .wrap { padding-left: 12px; padding-right: 12px; }

      .dock-inner { min-height: 72px; padding: 6px 12px; }
      .switch-label { font-size: 10px; letter-spacing: 0.7px; }
      .language-switch { gap: 4px; padding: 4px; }
      .lang-btn { min-width: 76px; padding: 7px 15px; font-size: 14px; }

      .hero-container {
        width: 100%;
        height: 250px;
        margin: 18px 0 0;
        border-width: 4px;
        border-radius: 26px;
      }
      .hero-content { padding: 0 12px; }
      .hero-bg { filter: none; }
      .hero-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 55%, rgba(255, 255, 255, 0.04) 100%);
      }
      .server-logo {
        width: min(500px, 78vw);
        max-height: 125px;
        filter: drop-shadow(0 7px 14px rgba(15, 55, 150, 0.24));
      }
      .hero-pill-wrapper {
        width: 100%;
        margin: -30px 0 14px;
      }
      .hero-cbt-pill {
        min-width: 0;
        width: 100%;
        padding: 10px 14px;
        border-width: 3px;
        border-radius: 20px;
      }
      .cbt-title { font-size: 17px; line-height: 1.25; }
      .cbt-subtitle { font-size: 12.5px; line-height: 1.35; }

      .view-container { padding: 0 12px; }
      .section-title-pill {
        max-width: 100%;
        margin: 30px 0 16px;
        padding: 9px 14px;
        font-size: 14px;
        line-height: 1.25;
      }
      .grid-container { gap: 16px; }
      .patch-card { padding: 14px; border-radius: 16px; }
      .card-title-bar {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 8px;
        padding: 9px 11px;
        margin-bottom: 14px;
      }
      .card-title {
        min-width: 0;
        flex: 1 1 100%;
        font-size: 15px;
        line-height: 1.3;
        overflow-wrap: anywhere;
      }
      .card-badge {
        max-width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
      }
      .card-body {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 14px;
      }
      .illu-box { align-self: center; }
      .item-list { font-size: 13.5px; overflow-wrap: anywhere; }
      .item-list.two-col { grid-template-columns: 1fr; gap: 5px; margin-bottom: 14px; }
      .card-icons { gap: 7px; padding: 8px; }
      .card-icons img { width: 28px; height: 28px; }

      .fuse-card { padding: 16px 12px; border-radius: 16px; }
      .fuse-card-header { gap: 8px; margin-bottom: 14px; text-align: center; }
      .fuse-title { font-size: 15px; line-height: 1.3; }
      .fuse-strip { gap: 10px; }
      .fuse-frame, .fuse-frame-img { width: 68px; height: 68px; }
      .fuse-inner { width: 56px; height: 56px; }

      .event-full-card { padding: 16px 14px; border-radius: 16px; }
      .event-body-layout { gap: 14px; }
      .event-text-wrap { font-size: 14px; line-height: 1.6; }
      .event-npc-img { width: min(135px, 70vw); }

      .changelog-group-header { gap: 9px; padding: 13px 14px; }
      .changelog-group-icon { font-size: 19px; }
      .changelog-group-title { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
      .changelog-group-title-th { font-size: 13px; }
      .changelog-entries { padding: 14px; gap: 10px; }
      .changelog-entry { gap: 8px; }
      .changelog-tag { padding: 3px 7px; font-size: 9.5px; }
      .changelog-entry-text { font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
    }
[data-patch-rule="patch-rule-1"]{width: 110px; height: 110px;}
[data-patch-rule="patch-rule-2"]{width: 96px; height: 96px;}
[data-patch-rule="patch-rule-3"]{max-width: 90%; max-height: 90%;}
[data-patch-rule="patch-rule-4"]{width: 110px; height: 110px;}
[data-patch-rule="patch-rule-5"]{width: 115px;}
[data-patch-rule="patch-rule-6"]{grid-column: 1 / -1;}
[data-patch-rule="patch-rule-7"]{background: linear-gradient(135deg, #ef4444, #f97316); color: #fff;}
[data-patch-rule="patch-rule-8"]{font-size: 16px; font-weight: 700; color: #dc2626;}
[data-patch-rule="patch-rule-9"]{background: #fef2f2; border-color: #fecaca; color: #b91c1c;}
[data-patch-rule="patch-rule-10"]{width: 110px; height: 110px;}
[data-patch-rule="patch-rule-11"]{width: 96px; height: 96px;}
[data-patch-rule="patch-rule-12"]{max-width: 90%; max-height: 90%;}
[data-patch-rule="patch-rule-13"]{width: 110px; height: 110px;}
[data-patch-rule="patch-rule-14"]{width: 115px;}
[data-patch-rule="patch-rule-15"]{grid-column: 1 / -1;}
[data-patch-rule="patch-rule-16"]{background: linear-gradient(135deg, #ef4444, #f97316); color: #fff;}
[data-patch-rule="patch-rule-17"]{font-size: 16px; font-weight: 700; color: #dc2626;}
[data-patch-rule="patch-rule-18"]{background: #fef2f2; border-color: #fecaca; color: #b91c1c;}

/* Shared CBT/OBT hero: keep the banner, logo, overlapping badge, and scale identical. */
body.patch-note-shell .hero-container {
  position: relative;
  width: 100%;
  max-width: 1080px;
  height: 440px;
  margin: 28px auto 0;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 36px;
  background: #38bdf8;
  box-shadow: 0 16px 45px rgba(14,165,233,.25);
}
body.patch-note-shell .hero-bg { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 25%;filter:saturate(1.08) brightness(.98); }
body.patch-note-shell .hero-overlay { position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,8,20,.04),rgba(8,20,35,.02) 50%,rgba(7,24,38,.12)); }
body.patch-note-shell .hero-content { position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0 20px; }
body.patch-note-shell .server-logo { display:block;width:min(720px,86vw);max-height:230px;object-fit:contain;filter:drop-shadow(0 12px 25px rgba(15,55,150,.42));animation:patchHeroLogoFloat 4s ease-in-out infinite alternate; }
@keyframes patchHeroLogoFloat { to { transform:translateY(-6px); } }
body.patch-note-shell .hero-pill-wrapper { position:relative;z-index:2;display:flex;justify-content:center;width:100%;margin:-42px auto 20px; }
body.patch-note-shell .hero-cbt-pill { display:flex;flex-direction:column;align-items:center;gap:3px;min-width:min(540px,92vw);padding:12px 42px;border:4px solid #fff;border-radius:26px;background:linear-gradient(135deg,#ff5f8f 0%,#ff8758 100%);color:#fff;text-align:center;box-shadow:0 8px 0 #d84670,0 16px 28px rgba(216,70,112,.32); }
body.patch-note-shell .cbt-title { margin:0;color:#fff;font-family:'Baloo 2',sans-serif;font-size:23px;font-weight:800;line-height:1.25;letter-spacing:.4px;text-shadow:0 2px 4px rgba(0,0,0,.22); }
body.patch-note-shell .cbt-subtitle { display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:14.5px;font-weight:700;line-height:1.35;opacity:.96;text-shadow:0 1px 3px rgba(0,0,0,.18); }
body.patch-note-shell .potion-mini-icon { width:22px;height:22px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2)); }
@media (max-width: 760px) {
  body.patch-note-shell .hero-container { height:250px;margin:18px auto 0;border-width:4px;border-radius:26px; }
  body.patch-note-shell .hero-content { padding:0 12px; }
  body.patch-note-shell .hero-bg { filter:none; }
  body.patch-note-shell .hero-overlay { background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.08) 55%,rgba(255,255,255,.04)); }
  body.patch-note-shell .server-logo { width:min(500px,78vw);max-height:125px;filter:drop-shadow(0 7px 14px rgba(15,55,150,.24)); }
  body.patch-note-shell .hero-pill-wrapper { margin:-30px auto 20px; }
  body.patch-note-shell .hero-cbt-pill { min-width:0;width:100%;padding:10px 14px;border-width:3px;border-radius:20px; }
  body.patch-note-shell .cbt-title { font-size:17px;line-height:1.25; }
  body.patch-note-shell .cbt-subtitle { font-size:12.5px; }
}

/* Shell compartilhado: o CSS da Patch Note não pode alterar header/footer do site. */
body.patch-note-shell {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  background: transparent;
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  -webkit-font-smoothing: antialiased;
  display: block;
  flex-direction: initial;
  align-items: initial;
  line-height: normal;
}
body.patch-note-shell .wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
body.patch-note-shell header {
  padding: 20px 0;
  position: relative;
  z-index: 2;
}
body.patch-note-shell footer.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  text-align: initial;
  color: initial;
  font-size: initial;
  font-weight: initial;
}
@media (max-width: 760px) {
  body.patch-note-shell .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}
