:root {
      --cream: #F3F8FE;
      --panel: #EAF2FB;
      --panel-solid: #FFFFFF;
      --sky: #B9DAFF;
      --sky-deep: #2D6CDF;
      --blush: #FFE59B;
      --blush-deep: #D89B00;
      --mint: #CFEAFF;
      --mint-deep: #1987C7;
      --ink: #102A43;
      --muted: #61758A;
      --line: rgba(16, 42, 67, 0.12);
      --shadow-card: 0 10px 25px -3px rgba(45, 108, 223, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
      --shadow-hover: 0 16px 36px -4px rgba(45, 108, 223, 0.15);
      --gold: #f59e0b;
      --emerald: #10b981;
      --purple: #8b5cf6;
      --rose: #ef4444;
    }

    html {
      scroll-behavior: smooth;
      background: var(--cream);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Kanit', 'Nunito', 'Outfit', sans-serif;
      background: radial-gradient(circle at 10% 12%, rgba(185, 218, 255, 0.45) 0 140px, transparent 141px),
                  radial-gradient(circle at 90% 28%, rgba(255, 229, 155, 0.35) 0 160px, transparent 161px),
                  linear-gradient(180deg, #f0f7ff 0%, #fdf8ff 25%, #f7faff 60%, #eef5fc 100%);
      color: var(--ink);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* Language Switcher */
    .lang-switcher {
      display: inline-flex;
      background: rgba(255, 255, 255, 0.85);
      border: 1.5px solid var(--line);
      border-radius: 999px;
      padding: 4px;
      box-shadow: 0 2px 8px rgba(16, 42, 67, 0.04);
    }

    .lang-btn {
      border: 0;
      background: transparent;
      padding: 6px 14px;
      border-radius: 999px;
      font-family: inherit;
      font-size: 13.5px;
      font-weight: 800;
      color: var(--muted);
      cursor: pointer;
      transition: all 0.18s ease;
    }

    .lang-btn.active {
      background: linear-gradient(135deg, #2D6CDF 0%, #1987C7 100%);
      color: #ffffff;
      box-shadow: 0 2px 8px rgba(45, 108, 223, 0.3);
    }

    /* Hero Banner */
    .hero-panel {
      background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 60%, #eaf3ff 100%);
      border: 1.5px solid var(--line);
      border-radius: 28px;
      padding: 38px 44px;
      margin: 28px 0 20px;
      box-shadow: var(--shadow-card);
      position: relative;
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 32px;
      align-items: center;
    }

    .eyebrow {
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--sky-deep);
      margin-bottom: 8px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .hero-title {
      font-family: 'Baloo 2', 'Kanit', sans-serif;
      font-size: 34px;
      font-weight: 800;
      line-height: 1.25;
      color: var(--ink);
      margin-bottom: 12px;
    }

    .hero-title .accent {
      color: var(--sky-deep);
    }

    .hero-lede {
      font-size: 15.5px;
      color: var(--muted);
      max-width: 680px;
      line-height: 1.65;
      margin-bottom: 16px;
    }

    .hero-meta-row {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .cbt-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
      border: 1.5px solid #bfdbfe;
      padding: 6px 16px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
      color: var(--sky-deep);
      box-shadow: 0 2px 6px rgba(45, 108, 223, 0.08);
    }

    .cbt-chip .chip-icon {
      width: 18px;
      height: 18px;
      object-fit: contain;
    }

    .chip-ver {
      display: inline-flex;
      align-items: center;
      font-size: 12px;
      font-weight: 800;
      padding: 6px 14px;
      border-radius: 999px;
      background: #ecfdf5;
      color: #059669;
      border: 1.5px solid #a7f3d0;
    }

    .hero-art-side {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-mascot-img {
      width: 145px;
      height: auto;
      filter: drop-shadow(0 12px 24px rgba(45, 108, 223, 0.22));
      animation: floatArt 3.5s ease-in-out infinite alternate;
    }

    @keyframes floatArt {
      0% { transform: translateY(0); }
      100% { transform: translateY(-8px); }
    }

    /* Sticky Control Toolbar */
    .sticky-toolbar {
      position: sticky;
      top: 80px;
      z-index: 90;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(12px);
      border: 1.5px solid var(--line);
      border-radius: 20px;
      padding: 12px 20px;
      margin: 10px 0 32px;
      box-shadow: 0 10px 30px rgba(16, 42, 67, 0.08);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .tabs-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tab-btn {
      border: 1px solid var(--line);
      background: var(--cream);
      color: var(--muted);
      font-family: inherit;
      font-size: 13.5px;
      font-weight: 700;
      padding: 8px 16px;
      border-radius: 999px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.15s ease;
    }

    .tab-btn:hover {
      background: var(--panel-solid);
      color: var(--sky-deep);
      border-color: rgba(45, 108, 223, 0.35);
      transform: translateY(-1px);
    }

    .tab-btn.active {
      background: var(--sky-deep);
      color: #ffffff;
      border-color: var(--sky-deep);
      box-shadow: 0 4px 12px rgba(45, 108, 223, 0.3);
    }

    .search-box-wrap {
      position: relative;
      width: 100%;
      max-width: 300px;
    }

    .search-input {
      width: 100%;
      padding: 9px 18px;
      border-radius: 999px;
      border: 1.5px solid var(--line);
      background: var(--cream);
      font-family: inherit;
      font-size: 13.5px;
      font-weight: 600;
      color: var(--ink);
      outline: none;
      transition: all 0.2s ease;
    }

    .search-input:focus {
      background: #ffffff;
      border-color: var(--sky-deep);
      box-shadow: 0 0 0 3px rgba(45, 108, 223, 0.15);
    }

    /* Views Layout */
    .view-container {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 40px;
    }

    .lang-view {
      width: 100%;
      display: none;
      flex-direction: column;
      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 Pills */
    .section-title-pill {
      margin: 44px auto 24px;
      font-family: 'Baloo 2', 'Kanit', sans-serif;
      font-size: 19px;
      font-weight: 800;
      color: #ffffff;
      background: linear-gradient(135deg, #2D6CDF 0%, #1987C7 100%);
      padding: 10px 32px;
      border-radius: 999px;
      box-shadow: 0 6px 20px rgba(45, 108, 223, 0.25);
      border: 2px solid #ffffff;
      text-align: center;
      letter-spacing: 0.04em;
      display: table;
      scroll-margin-top: 140px;
    }

    .section-title-pill.pill-cyan {
      background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
      box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);
    }

    .section-title-pill.pill-orange {
      background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
      box-shadow: 0 6px 20px rgba(217, 119, 6, 0.25);
    }

    .section-title-pill.pill-gold {
      background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
      box-shadow: 0 6px 20px rgba(124, 58, 237, 0.25);
    }

    .section-title-pill.pill-events {
      background: linear-gradient(135deg, #059669 0%, #0284c7 100%) !important;
      box-shadow: 0 6px 20px rgba(5, 150, 105, 0.25) !important;
    }

    .section-title-pill.pill-changelog {
      background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
      box-shadow: 0 6px 20px rgba(79, 70, 229, 0.25) !important;
    }

    /* Grids & Cards */
    .grid-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(490px, 1fr));
      gap: 24px;
      width: 100%;
      margin-bottom: 30px;
    }

    .patch-card {
      background: var(--panel-solid);
      border-radius: 24px;
      padding: 24px;
      box-shadow: var(--shadow-card);
      border: 1.5px solid var(--line);
      display: flex;
      flex-direction: column;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .patch-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(45, 108, 223, 0.3);
    }

    .card-title-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      background: linear-gradient(135deg, #f8fbff 0%, #edf4fc 100%);
      border-radius: 16px;
      padding: 10px 16px;
      margin-bottom: 18px;
      border: 1.5px solid var(--line);
    }

    .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;
    }

    .bar-event {
      background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
      border-color: #a7f3d0;
    }

    .card-title {
      font-family: 'Baloo 2', 'Kanit', sans-serif;
      font-size: 17px;
      font-weight: 800;
      color: var(--ink);
      line-height: 1.3;
    }

    .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); }
    .badge-event { background: linear-gradient(135deg, #10b981, #059669); }

    .card-body {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 18px;
    }

    .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%, #edf4fc 100%);
      border-radius: 18px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
      border: 1px solid rgba(16, 42, 67, 0.06);
    }

    .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;
      filter: drop-shadow(0 4px 8px rgba(45, 108, 223, 0.12));
    }

    .item-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 14px;
      font-weight: 600;
      color: var(--ink);
    }

    .item-list.two-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px 16px;
      margin-bottom: 16px;
    }

    .item-list li {
      display: flex;
      align-items: center;
      gap: 8px;
      line-height: 1.4;
    }

    .bullet {
      width: 7px;
      height: 7px;
      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, #f59e0b, #d97706); }

    .card-icons {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      padding: 10px 14px;
      background: var(--cream);
      border-radius: 16px;
      border: 1.5px solid var(--line);
      margin-top: auto;
    }

    .card-icons img {
      width: 32px;
      height: 32px;
      object-fit: contain;
      image-rendering: pixelated;
      transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .card-icons img:hover {
      transform: scale(1.35);
    }

    /* Fuses Layout */
    .fuses-container {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 24px;
      margin-bottom: 30px;
    }

    .fuse-card {
      background: var(--panel-solid);
      border-radius: 24px;
      padding: 22px 26px;
      box-shadow: var(--shadow-card);
      border: 1.5px solid var(--line);
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .fuse-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
      border-color: rgba(45, 108, 223, 0.3);
    }

    .fuse-card-header {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 20px;
    }

    .fuse-title {
      font-family: 'Baloo 2', 'Kanit', sans-serif;
      font-size: 18px;
      font-weight: 800;
      color: var(--ink);
    }

    .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: #f4f8fe;
      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;
      filter: drop-shadow(0 3px 6px rgba(45, 108, 223, 0.1));
    }

    .fuse-label {
      font-size: 12px;
      color: var(--muted);
      font-weight: 700;
      text-align: center;
    }

    /* Events Section */
    .event-full-card {
      grid-column: 1 / -1;
      background: var(--panel-solid);
      border-radius: 24px;
      padding: 26px 28px;
      box-shadow: var(--shadow-card);
      border: 1.5px solid rgba(16, 185, 129, 0.3);
      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: 15px;
      line-height: 1.7;
      color: var(--ink);
      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 var(--line);
    }

    .event-npc-info-text {
      text-align: right;
      font-size: 13px;
      color: var(--muted);
      font-weight: 600;
      line-height: 1.4;
      align-self: center;
    }

    .event-npc-info-text strong {
      display: block;
      font-size: 14.5px;
      color: var(--ink);
    }

    .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 rgba(16, 185, 129, 0.3);
      background: linear-gradient(180deg, #ffffff 0%, #f4fdf8 100%);
    }

    .card-event:hover {
      border-color: #10b981;
    }

    .event-mini-info {
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }

    .event-sub-desc {
      font-size: 14.5px;
      font-weight: 600;
      color: var(--ink);
      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 var(--line);
      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: var(--ink);
    }

    .event-mat-qty {
      background: linear-gradient(135deg, #8b5cf6, #ec4899);
      color: #ffffff;
      font-size: 11.5px;
      font-weight: 800;
      padding: 2px 9px;
      border-radius: 999px;
    }

    /* Changelog Section */
    .changelog-section {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-bottom: 30px;
    }

    .changelog-group {
      background: var(--panel-solid);
      border-radius: 22px;
      border: 1.5px solid var(--line);
      box-shadow: var(--shadow-card);
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .changelog-group:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
    }

    .changelog-group-header {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 24px;
      background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fc 100%);
      border-bottom: 1.5px solid var(--line);
    }

    .changelog-group-icon {
      font-size: 22px;
      flex-shrink: 0;
    }

    .changelog-group-title {
      font-family: 'Baloo 2', 'Kanit', sans-serif;
      font-size: 17.5px;
      font-weight: 800;
      color: var(--sky-deep);
      letter-spacing: 0.2px;
    }

    .changelog-entries {
      padding: 18px 24px;
      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: var(--ink);
      line-height: 1.65;
      font-weight: 500;
    }

    
    .changelog-intro-banner {
      background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
      border: 1.5px solid var(--line);
      border-radius: 20px;
      padding: 20px 26px;
      margin-bottom: 22px;
      box-shadow: var(--shadow-card);
      width: 100%;
    }
    .changelog-intro-title {
      font-family: 'Baloo 2', 'Kanit', sans-serif;
      font-size: 21px;
      font-weight: 800;
      color: var(--sky-deep);
      margin-bottom: 4px;
    }
    .changelog-intro-desc {
      font-size: 14.5px;
      color: var(--muted);
      line-height: 1.65;
    }
    .changelog-subhead {
      font-family: 'Baloo 2', 'Kanit', sans-serif;
      font-size: 16px;
      font-weight: 800;
      color: var(--ink);
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 14px;
      margin-bottom: 4px;
      padding-bottom: 4px;
      border-bottom: 1px dashed var(--line);
    }
    .changelog-subhead:first-child {
      margin-top: 0;
    }
    .changelog-table-wrap {
      overflow-x: auto;
      border-radius: 14px;
      border: 1.5px solid var(--line);
      background: #ffffff;
      margin: 8px 0 16px;
      max-width: 460px;
      box-shadow: 0 2px 8px rgba(16, 42, 67, 0.04);
    }
    .changelog-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }
    .changelog-table th {
      background: #f1f7fe;
      padding: 10px 18px;
      text-align: left;
      font-weight: 800;
      color: var(--sky-deep);
      border-bottom: 1.5px solid var(--line);
    }
    .changelog-table td {
      padding: 10px 18px;
      border-bottom: 1px solid var(--line);
      color: var(--ink);
      font-weight: 600;
    }
    .changelog-table tr:last-child td {
      border-bottom: none;
    }
    .changelog-table .rate-val {
      font-weight: 800;
      color: #059669;
      text-align: right;
    }
    .changelog-outro-banner {
      background: linear-gradient(135deg, #f0f7ff 0%, #edf4fc 100%);
      border: 1.5px solid var(--line);
      border-radius: 20px;
      padding: 22px 28px;
      text-align: center;
      margin-top: 24px;
      margin-bottom: 10px;
      box-shadow: var(--shadow-card);
      width: 100%;
    }
    .changelog-outro-title {
      font-family: 'Baloo 2', 'Kanit', sans-serif;
      font-size: 19px;
      font-weight: 800;
      color: var(--sky-deep);
      margin-bottom: 4px;
    }
    .changelog-outro-desc {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.6;
    }

    /* Footer */
    footer {
      margin-top: auto;
      background: #ffffff;
      border-top: 1.5px solid var(--line);
      padding: 26px 0;
      font-size: 13.5px;
      color: var(--muted);
      font-weight: 600;
    }

    .foot-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

    .footer-tools {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .back-to-top {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--cream);
      border: 1px solid var(--line);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--ink);
      text-decoration: none;
      font-weight: 800;
      transition: all 0.15s;
    }

    .back-to-top:hover {
      background: var(--sky-deep);
      color: #ffffff;
      border-color: var(--sky-deep);
      transform: translateY(-2px);
    }

    @media (max-width: 860px) {
      .hero-panel { grid-template-columns: 1fr; text-align: center; gap: 20px; }
      .hero-lede { margin-left: auto; margin-right: auto; }
      .hero-art-side { display: none; }
      .hero-meta-row { justify-content: center; }
      .grid-container { grid-template-columns: 1fr; }
      .foot-row { justify-content: center; text-align: center; }
      .search-box-wrap { max-width: none; }
    }

    @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;
      }
      .card-body {
        flex-direction: column;
        text-align: center;
      }
      .item-list.two-col {
        grid-template-columns: 1fr;
      }
    }
[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"]{font-weight: 700; color: var(--ink); margin-bottom: 6px;}
[data-patch-rule="patch-rule-11"]{font-size: 14px; color: var(--muted); margin-bottom: 4px;}
[data-patch-rule="patch-rule-12"]{text-align: right;}
[data-patch-rule="patch-rule-13"]{width: 110px; height: 110px;}
[data-patch-rule="patch-rule-14"]{width: 96px; height: 96px;}
[data-patch-rule="patch-rule-15"]{max-width: 90%; max-height: 90%;}
[data-patch-rule="patch-rule-16"]{width: 110px; height: 110px;}
[data-patch-rule="patch-rule-17"]{width: 115px;}
[data-patch-rule="patch-rule-18"]{grid-column: 1 / -1;}
[data-patch-rule="patch-rule-19"]{background: linear-gradient(135deg, #ef4444, #f97316); color: #fff;}
[data-patch-rule="patch-rule-20"]{font-size: 16px; font-weight: 700; color: #dc2626;}
[data-patch-rule="patch-rule-21"]{background: #fef2f2; border-color: #fecaca; color: #b91c1c;}
[data-patch-rule="patch-rule-22"]{font-weight: 700; color: var(--ink); margin-bottom: 6px;}
[data-patch-rule="patch-rule-23"]{font-size: 14px; color: var(--muted); margin-bottom: 4px;}
[data-patch-rule="patch-rule-24"]{text-align: right;}
[data-patch-rule="patch-rule-25"]{color: var(--ink);}

/* 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; }
}

/* OBT hero frame spacing and supporting copy. */
body.patch-note-shell .hero-panel {
  display: block;
  margin: 20px 0 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.patch-note-shell .eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(45,108,223,.12);
  color: var(--sky-deep);
  font: 600 13px/1.2 'Baloo 2',sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
body.patch-note-shell .hero-meta-row .eyebrow { margin-bottom: 0; }
@media (max-width: 760px) {
  body.patch-note-shell .hero-panel { padding: 0; text-align: center; }
}

/* 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;
  }
}
