:root {
  --sky: #6ed8ff;
  --sky-deep: #149fe3;
  --ocean: #00a9dc;
  --ocean-deep: #0072bd;
  --sand: #ffe2a6;
  --sand-deep: #e7b957;
  --paper: rgba(255,255,255,.96);
  --paper-soft: rgba(243,252,255,.95);
  --ink: #123552;
  --muted: #54758c;
  --line: #66c7e8;
  --accent: #ff7b45;
  --accent-dark: #d94e25;
  --gold: #ffc928;
  --navy: #074a7d;
  --shadow: 0 8px 22px rgba(0,94,151,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -90px, #fff8ae 0 80px, rgba(255,247,159,.44) 81px, transparent 205px),
    linear-gradient(180deg, #76ddff 0, #c9f3ff 38%, #42c8ec 38.1%, #0ca6d9 57%, #91e5f5 57.2%, #fff0bf 77%, #f5cf7c 100%);
  background-attachment: fixed;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  opacity: .22;
}
body::before { width: 420px; height: 420px; left: -180px; top: 110px; border: 26px solid #fff; }
body::after { width: 520px; height: 520px; right: -230px; top: 230px; border: 34px solid #d9fbff; }
button, input, textarea, select { font: inherit; }
a { color: var(--ocean-deep); }
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-shell {
  width: min(820px, calc(100% - 18px));
  margin: 10px auto 38px;
}
.direct-open-warning {
  margin-bottom: 10px;
  padding: 9px 12px;
  border: 1px solid #ff985f;
  border-radius: 12px;
  background: rgba(255,248,211,.96);
  color: #7b3b1f;
  box-shadow: var(--shadow);
  text-align: center;
}
.direct-open-warning b, .direct-open-warning span { display: block; }
.direct-open-warning code { font-weight: 700; }

.site-header { text-align: center; }
.age-note {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 10px;
  color: #07527f;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px rgba(255,255,255,.7);
}
.age-icon {
  width: 30px;
  height: 30px;
  border: 2px solid #ff6948;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #d94e25;
  font-weight: 800;
  background: #fff9d9;
  box-shadow: 0 2px 7px rgba(0,102,160,.18);
}
.brand-art {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.9);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow);
  text-decoration: none;
  aspect-ratio: 1983 / 793;
}
.brand-art img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 7px;
  padding: 9px;
  background: linear-gradient(180deg, rgba(4,155,210,.98), rgba(0,105,178,.98));
  border: 2px solid #fff;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
}
.main-nav .nav-btn {
  --nav-icon: url("assets/icon-beach-ball.png");
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 9px 7px 42px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 14px;
  color: #063a64;
  background: linear-gradient(180deg, #fff8c9 0, #ffd65f 56%, #f3b52e 100%);
  box-shadow: inset 0 1px #fff, 0 3px 0 #bf7c20, 0 5px 12px rgba(0,53,96,.22);
  text-decoration: none;
  font-weight: 900;
  text-shadow: 0 1px rgba(255,255,255,.65);
  transition: transform .16s ease, filter .16s ease;
}
.main-nav .nav-btn::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 31px;
  height: 31px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--nav-icon) center/cover no-repeat;
}
.main-nav .nav-btn:hover { transform: translateY(-1px); filter: saturate(1.08) brightness(1.04); }
.main-nav .nav-btn.active { color: #fff; background: linear-gradient(180deg,#ff945f,#f25a31); box-shadow: inset 0 1px #ffd8c9, 0 3px 0 #b83d22, 0 5px 12px rgba(0,53,96,.22); text-shadow: 0 1px #9b321f; }
.nav-home { --nav-icon: url("assets/icon-beach-ball.png") !important; }
.nav-intro { --nav-icon: url("assets/icon-sun.png") !important; }
.nav-forum { --nav-icon: url("assets/icon-dragon-ball.png") !important; }
.nav-fanpage { --nav-icon: url("assets/icon-surfboard.png") !important; }

.card {
  min-width: 0;
  margin-top: 11px;
  background: var(--paper);
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.download-panel { padding: 11px; }
.beach-hero {
  position: relative;
  min-height: 195px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(220px, 1.05fr);
  align-items: center;
  gap: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  padding: 8px 18px 8px 8px;
  border: 2px solid #8be4f7;
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 20%, #fff2a1 0 38px, rgba(255,234,91,.5) 39px, transparent 100px),
    linear-gradient(180deg,#8ee9ff 0 52%,#00acd9 52.5% 70%,#ffe7a1 70.5%);
}
.beach-hero::after {
  content:"";
  position:absolute;
  left:-4%; right:-4%; bottom:24%;
  height:28px;
  border-radius:50%;
  border-top:8px solid rgba(255,255,255,.86);
  opacity:.9;
}
.beach-hero > img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  border-radius: 12px;
}
.hero-copy { position:relative; z-index:2; text-align:center; color:#054c7c; }
.hero-copy b { display:block; font-size: clamp(24px,5vw,44px); line-height:1; color:#ff6c37; -webkit-text-stroke: 1px #9f351d; text-shadow: 0 2px #fff, 0 5px 0 rgba(2,91,145,.16); }
.hero-copy span { display:block; margin-top:9px; font-weight:800; color:#075f91; }

.placeholder {
  min-width: 0;
  overflow: hidden;
  border: 2px dashed #67cbe7;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(196,245,255,.75));
  color: #3981a5;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  user-select: none;
}
.placeholder img,
.media-frame img,
.gallery-slide img,
.gallery-main img,
.content-card > img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: contain;
  object-position: center;
}
.placeholder.large { min-height: 180px; border-radius: 12px; margin-bottom: 10px; }
.placeholder.square { width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto; font-size: 11px; }
.placeholder.wide { min-height: 180px; max-height: 460px; margin: 8px 0 18px; border-radius: 12px; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px;
}
.download-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid #51bada;
  border-radius: 14px;
  background: linear-gradient(180deg,#ffffff,#e2f8ff 62%,#c5effb);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 3px 0 #77c6df, 0 5px 10px rgba(0,97,148,.12);
  transition: transform .15s ease, filter .15s ease;
}
.download-item:hover { transform: translateY(-2px); filter: brightness(1.03); }
.download-icon { width: 49px; height: 49px; flex: 0 0 49px; object-fit: cover; }
.download-item span { min-width:0; }
.download-item b, .download-item small { display: block; overflow-wrap:anywhere; }
.download-item b { color: #075f91; font-size: 13px; }
.download-item small { color: var(--muted); margin-top: 2px; font-size: 11px; }
.utility-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 11px;
}
.utility-links a,
.text-link {
  display: inline-block;
  padding: 6px 11px;
  border: 1px solid #ffac65;
  border-radius: 999px;
  background: linear-gradient(#fff3c5,#ffd765);
  color: #8d451c;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 2px 0 #dea238;
}

.content-card { min-width:0; padding: 14px 16px; }
.content-card > h1:first-child,
.content-card > h2:first-child {
  margin: -14px -16px 13px;
  padding: 8px 13px;
  font-size: 17px;
  line-height: 1.35;
  color: #fff;
  background: linear-gradient(90deg,#0aa7d4,#0075be 70%,#ff7750);
  border-bottom: 2px solid #9deaff;
  text-shadow: 0 1px #04557f;
}
.intro-detail > h2 {
  margin: 18px 0 8px;
  padding: 7px 10px;
  font-size: 15px;
  line-height: 1.35;
  color: #07537f;
  background: linear-gradient(90deg,#fff0a6,#ffd55f 58%,#ff9a60);
  border: 1px solid #f0af43;
  border-radius: 10px;
}
.content-card h3 { color: #e05c2f; margin: 16px 0 6px; font-size: 14px; }
.content-card p { margin: 7px 0; overflow-wrap:anywhere; }
.content-card ul { padding-left: 22px; margin: 7px 0; }
.content-card li { margin: 4px 0; }
.center { text-align: center; }

.gallery-block { margin: 16px 0; }
.mini-gallery { min-width:0; display: grid; grid-template-columns: 34px minmax(0,1fr) 34px; gap: 7px; align-items: center; }
.gallery-track { min-width:0; min-height: 145px; overflow:hidden; }
.gallery-slide { display: none; min-height: 145px; max-height:460px; border-radius: 12px; overflow:hidden; }
.gallery-slide.active { display: grid; }
.gallery-arrow {
  width: 34px;
  height: 48px;
  border: 1px solid #43bada;
  border-radius: 11px;
  background: linear-gradient(#ddf9ff,#80dcf2);
  color: #07517e;
  cursor: pointer;
  font-size: 24px;
  font-weight:800;
}
.gallery-arrow:hover { background: #b5f2ff; }

.numbered-gallery { min-width:0; margin: 8px 0 18px; }
.gallery-main { min-width:0; min-height: 220px; max-height:460px; border-radius: 12px; overflow:hidden; }
.pagination { display: flex; flex-wrap:wrap; justify-content: center; gap: 5px; margin-top: 8px; }
.pagination button {
  width: 31px; height: 31px; border: 1px solid #4ab9da; border-radius: 50%;
  background: #daf8ff; color: #07557f; cursor: pointer; font-weight:800;
}
.pagination button.active { background: #ff7448; color: white; border-color:#d94e25; }

.site-footer {
  margin-top: 12px;
  padding: 11px 12px;
  text-align: center;
  font-size: 11px;
  color: #075178;
  background: rgba(255,244,197,.78);
  border:1px solid rgba(255,255,255,.8);
  border-radius:14px;
}
.site-footer p { margin: 4px 0; }

.notice-modal[hidden] { display: none; }
.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0,70,115,.52);
  backdrop-filter: blur(4px);
}
.notice-box {
  width: min(520px, 100%);
  position: relative;
  padding: 20px;
  border: 2px solid #61cbe8;
  border-radius: 18px;
  background: linear-gradient(180deg,#fff,#effcff);
  box-shadow: 0 18px 45px rgba(0,63,105,.3);
  text-align: center;
}
.notice-icon {
  width: 48px; height: 48px; margin: 0 auto 8px; display: grid; place-items: center;
  border-radius: 50%; background: linear-gradient(#ff915e,#ef5933); color: white; font-size: 26px; font-weight: 900;
  border:3px solid #fff2bc;
}
.notice-box h2 { margin: 4px 0 8px; font-size: 18px; color: #075b8a; }
.notice-close { position:absolute; right:9px; top:6px; border:0; background:transparent; font-size:26px; color:#3f7695; cursor:pointer; }
.notice-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:12px 0; }
.notice-actions a { padding:7px 11px; border-radius:999px; background:#087eb9; color:white; text-decoration:none; font-weight:800; }
.remember-choice { display:inline-flex; align-items:center; gap:6px; cursor:pointer; color:#466d82; }

.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 1200;
  transform: translate(-50%, 20px);
  max-width:calc(100vw - 24px);
  padding: 9px 13px;
  border-radius: 10px;
  background: #064c77;
  color: white;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  box-shadow: 0 7px 20px rgba(0,53,91,.28);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 700px) {
  .site-shell { width: min(100% - 8px, 820px); margin-top: 4px; }
  .main-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .beach-hero { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); min-height:150px; padding-right:10px; }
  .download-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-card { padding: 12px; }
  .content-card > h1:first-child, .content-card > h2:first-child { margin: -12px -12px 10px; }
  .intro-detail > h2 { margin: 16px 0 8px; }
}
@media (max-width: 430px) {
  body { font-size: 13px; }
  .age-note { font-size:11px; }
  .main-nav { gap:6px; padding:7px; }
  .main-nav .nav-btn { min-height:44px; padding-left:38px; font-size:12px; }
  .main-nav .nav-btn::before { width:29px; height:29px; left:6px; }
  .beach-hero { grid-template-columns:1fr; padding:8px; }
  .beach-hero > img { max-height:180px; }
  .hero-copy b { font-size:28px; }
  .download-item { flex-direction: column; text-align: center; }
  .download-icon { width:52px; height:52px; flex-basis:52px; }
  .mini-gallery { grid-template-columns: 30px minmax(0,1fr) 30px; gap:4px; }
}


/* ===== Media assets supplied by project owner ===== */
.media-frame, .gallery-main-wrap {
  width:100%; min-width:0; margin:8px 0 18px; overflow:hidden;
  border:1px solid rgba(55,173,207,.55); border-radius:12px;
  background:rgba(238,252,255,.8); box-shadow:0 4px 12px rgba(0,98,145,.08);
}
.media-frame { display:grid; place-items:center; }
.media-frame img {
  display:block; width:100%; height:auto; max-width:100%; max-height:none; object-fit:contain; object-position:center;
}
.gallery-main-wrap { display:grid; place-items:center; }
.gallery-main {
  display:block; width:100%; height:auto; max-width:100%; max-height:none; min-height:0; border-radius:0; object-fit:contain;
}
.home-gallery { min-height:112px; display:grid; place-items:center; }
.home-gallery .gallery-slide {
  width:100%; min-height:112px; max-height:none; place-items:center; background:rgba(255,255,255,.78);
  border:1px solid rgba(85,190,220,.45);
}
.home-gallery .gallery-slide.active { display:grid; }
.home-gallery .gallery-slide img {
  display:block; width:auto; height:auto; max-width:100%; max-height:220px; object-fit:contain; image-rendering:auto;
}
@media (max-width:430px){
  .media-frame, .gallery-main-wrap { border-radius:9px; }
  .home-gallery .gallery-slide, .home-gallery { min-height:100px; }
}


/* ===== FIX SWAP: HEADER USES LOGO, DOWNLOAD HERO USES BANNER ===== */
.site-header { text-align: center; }
.brand-art {
  width: min(320px, calc(100% - 18px));
  margin: 0 auto 10px;
  padding: 10px;
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 20px;
  border-bottom: 2px solid rgba(255,255,255,.92);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}
.brand-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.main-nav {
  border-top: 2px solid #fff;
  border-radius: 18px;
}
.banner-hero {
  min-height: 0;
  display: block;
  margin-bottom: 10px;
  padding: 0;
  overflow: hidden;
  border: 2px solid #8be4f7;
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  aspect-ratio: 1983 / 793;
}
.banner-hero::after { display: none; }
.banner-hero > img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}
@media (max-width: 700px) {
  .brand-art { width: min(260px, calc(100% - 12px)); padding: 8px; }
}


/* ===== FIX V3: Logo ở đầu trang, banner sự kiện ở khung tải game ===== */
.brand-art {
  aspect-ratio: auto;
  min-height: 235px;
  display: grid;
  place-items: center;
  padding: 14px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,242,161,.95) 0 42px, transparent 43px),
    linear-gradient(180deg,#8ee9ff 0 58%,#08add9 58.5% 72%,#ffe7a1 72.5%);
}
.brand-art img {
  display: block;
  width: min(300px, 72vw);
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 7px 10px rgba(0,65,110,.24));
}
.beach-hero {
  display: block;
  min-height: 0;
  aspect-ratio: 1983 / 793;
  padding: 0;
  margin-bottom: 10px;
  border: 2px solid #8be4f7;
  background: #0a9ed4;
}
.beach-hero::after { display: none; }
.beach-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}
.hero-copy { display:none !important; }
@media(max-width:700px){
  .brand-art{min-height:190px;padding:10px}
  .brand-art img{width:min(235px,72vw);max-height:180px}
  .beach-hero{aspect-ratio:1983/793;padding:0}
  .beach-hero > img{max-height:none;height:100%}
}
@media(max-width:430px){
  .brand-art{min-height:165px}
  .brand-art img{width:min(205px,70vw);max-height:155px}
}


/* ===== FINAL PUBLISH 2026-08-19: LOGO + BANNER ===== */
/* Logo chính: artwork ngang do chủ dự án cung cấp (2048 × 682). */
.brand-art {
  width: 100%;
  aspect-ratio: 2048 / 682;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  background: #fbfbfb;
  border: 2px solid rgba(255,255,255,.96);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}
.brand-art img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  filter: none;
}
/* Banner Goku Blue + Black Goku nằm trong khung banner lớn ở Trang chủ. */
.download-hero.banner-hero,
.beach-hero {
  display: block;
  width: 100%;
  aspect-ratio: 1983 / 793;
  min-height: 0;
  padding: 0;
  margin: 0 0 10px;
  overflow: hidden;
  border: 2px solid #8be4f7;
  border-radius: 14px;
  background: #0a9ed4;
}
.download-hero.banner-hero::after,
.beach-hero::after { display: none; }
.download-hero.banner-hero > img,
.beach-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}
.hero-copy { display: none !important; }
@media (max-width: 700px) {
  .brand-art { width: 100%; aspect-ratio: 2048 / 682; min-height: 0; padding: 0; }
  .brand-art img { width: 100%; height: 100%; max-height: none; }
  .download-hero.banner-hero, .beach-hero { aspect-ratio: 1983 / 793; }
}
@media (max-width: 430px) {
  .brand-art { min-height: 0; }
  .brand-art img { width: 100%; max-height: none; }
}


/* Donate modal */
.donate-box {
  width: min(560px, 100%);
  max-height: calc(100vh - 28px);
  overflow-y: auto;
}
.donate-icon {
  width: 48px; height: 48px; margin: 0 auto 8px; display: grid; place-items: center;
  border-radius: 50%; background: linear-gradient(#ff8b67,#ef4560); color:#fff;
  border: 3px solid #fff0b7; font-size: 22px; font-weight: 900;
}
.donate-note { color:#466d82; margin: 6px auto 12px; max-width: 460px; }
.donate-bank-card {
  display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:7px; margin: 10px 0;
}
.donate-bank-card > div {
  min-width:0; padding:9px 7px; border:1px solid #8adbf0; border-radius:11px;
  background:#effbff;
}
.donate-bank-card span, .donate-bank-card b { display:block; overflow-wrap:anywhere; }
.donate-bank-card span { font-size:10px; color:#5b7d8e; margin-bottom:3px; }
.donate-bank-card b { color:#075b8a; font-size:12px; }
.donate-qr {
  display:block; width:min(380px,100%); height:auto; max-height:none; margin: 10px auto;
  object-fit:contain; border-radius:14px; border:1px solid #e4edf1; background:#fff;
}
.donate-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:10px; }
.donate-actions button, .donate-actions a {
  border:0; padding:8px 13px; border-radius:999px; background:#087eb9; color:#fff;
  text-decoration:none; font:inherit; font-weight:800; cursor:pointer;
}
.donate-actions button:hover, .donate-actions a:hover { filter:brightness(1.07); }
.donate-disclaimer { margin:10px 0 0; color:#708994; font-size:10px; line-height:1.45; }
@media (max-width: 560px) {
  .donate-bank-card { grid-template-columns:1fr; }
  .donate-qr { width:min(330px,100%); }
}

/* ===== FINAL DONATE QR POLISH ===== */
.donate-box {
  width: min(540px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 18px;
  overscroll-behavior: contain;
}
.donate-box h2 { margin: 4px 0 2px; }
.donate-note { margin: 6px auto 12px; line-height: 1.5; }
.donate-bank-card { margin: 10px 0 12px; }
.donate-bank-card > div {
  padding: 10px 8px;
  background: linear-gradient(180deg,#f7fdff,#eaf9ff);
  box-shadow: inset 0 1px rgba(255,255,255,.9);
}
.donate-bank-card span { font-size: 11px; }
.donate-bank-card b { font-size: 13px; letter-spacing: .1px; }
.donate-qr-frame {
  width: min(410px, 100%);
  margin: 0 auto;
  padding: 9px;
  border: 1px solid #bfeaf6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(0,92,142,.12);
}
.donate-qr {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  object-fit: contain;
  border: 0;
  border-radius: 10px;
  background: #fff;
}
.donate-qr-frame small {
  display: block;
  margin: 7px 5px 1px;
  color: #66808e;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}
.donate-actions { margin-top: 12px; }
.donate-actions button, .donate-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 3px 9px rgba(0,78,122,.14);
}
.donate-actions button:focus-visible, .donate-actions a:focus-visible, .notice-close:focus-visible {
  outline: 3px solid #ffd35a;
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .donate-box { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); padding: 14px 11px; }
  .donate-bank-card { grid-template-columns: 1fr; gap: 6px; }
  .donate-bank-card > div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 8px; align-items: center; text-align: left; }
  .donate-bank-card span { margin: 0; }
  .donate-qr-frame { width: min(340px, 100%); padding: 7px; }
  .donate-actions { display: grid; grid-template-columns: 1fr; }
  .donate-actions button, .donate-actions a { width: 100%; }
}

/* ===== LOGO ONLY UPDATE 2026-08-21 =====
   Chỉ thay cách hiển thị logo: giữ tỉ lệ gốc 469x227, không phóng full khung. */
.brand-art {
  width: 100%;
  height: 270px;
  min-height: 270px;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 14px 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 235, 110, .92) 0 46px, rgba(255, 235, 110, .25) 47px 72px, transparent 73px),
    linear-gradient(180deg, #82e7ff 0%, #42cef2 48%, #09a9d5 49%, #078fc3 68%, #ffe49d 69%, #f7cf77 100%);
  border: 2px solid rgba(255,255,255,.96);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}
.brand-art img {
  display: block;
  width: min(469px, calc(100% - 16px));
  height: auto;
  max-width: 469px;
  max-height: 227px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  filter: drop-shadow(0 7px 10px rgba(0, 46, 86, .32));
}
@media (max-width: 700px) {
  .brand-art { height: 225px; min-height: 225px; padding: 12px; }
  .brand-art img { width: min(410px, calc(100% - 12px)); max-height: 198px; }
}
@media (max-width: 430px) {
  .brand-art { height: 190px; min-height: 190px; padding: 10px; }
  .brand-art img { width: min(350px, calc(100% - 8px)); max-height: 170px; }
}
