/* ==========================================================================
   AMG TEMA — Komponen bersama
   Header, navigasi, tombol, input, panel, kartu, modal, tabel, float, dsb.
   ========================================================================== */

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .375rem;
  min-height: 2.5rem; padding: .5rem 1rem;
  border-radius: var(--radius); font-weight: 600; line-height: 1.1; text-align: center;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--text-on-accent); }
.btn--accent:hover { background: var(--accent-2); }
.btn--grad { background: var(--grad-action); color: var(--text-on-accent); }
.btn--grad:hover { filter: brightness(1.05); }
.btn--primary { background: var(--primary); color: var(--text-on-primary); border: 1px solid var(--accent); }
.btn--primary:hover { background: var(--accent); color: var(--text-on-accent); }
.btn--secondary { background: var(--secondary); color: var(--text-on-primary); }
.btn--secondary:hover { filter: brightness(1.08); }
.btn--outline { background: transparent; border: 1px solid var(--line); color: var(--text-on-primary); }
.btn--outline:hover { background: rgba(255,255,255,.08); }
.btn--ghost { background: transparent; color: inherit; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { min-height: 3rem; font-size: 1rem; }
.btn--sm { min-height: 2rem; padding: .25rem .75rem; font-size: .8125rem; }
.btn--pill { border-radius: 999px; }
.btn svg { width: 1.125rem; height: 1.125rem; }

/* ---------- Input ---------- */
.field { display: flex; flex-direction: column; gap: .5rem; }
.field__label {
  font-weight: 700; font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep, #8a6a12);
}
.field__label .req { color: var(--danger); margin-left: .125rem; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > svg.lead { position: absolute; left: .875rem; width: 1.125rem; height: 1.125rem; opacity: .55; pointer-events: none; }
.input-wrap > .trail { position: absolute; right: .75rem; display: inline-flex; opacity: .6; }
.input-wrap > .trail svg { width: 1.25rem; height: 1.25rem; }
.input {
  width: 100%; min-height: 3.15rem; padding: .75rem 1.05rem;
  border: 1px solid rgba(180, 138, 28, .22); border-radius: 16px;
  background: linear-gradient(180deg, #fffef8 0%, #f7f3e8 100%);
  color: #14110a;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 1px 2px rgba(20, 16, 8, .04);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input::placeholder { color: #a39880; }
.input:hover { background: #fffefb; border-color: rgba(180, 138, 28, .4); }
.input:focus {
  outline: none; background: #fffefb;
  border-color: var(--gold, #f3d35a);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 0 0 4px color-mix(in srgb, var(--gold, #f3d35a) 28%, transparent);
}
.input--lead { padding-left: 2.75rem; }
.input--trail { padding-right: 2.75rem; }
.input--accent { border: 1.5px solid var(--accent-2); }
.input--muted { background: var(--paper-muted); color: #8a8f98; border-color: transparent; }
.input--dark { background: rgba(0,0,0,.5); border: 1px solid #4b5563; color: #fff; backdrop-filter: blur(6px); border-radius: var(--radius-lg); }
.input--dark::placeholder { color: rgba(255,255,255,.7); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23374151'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 1rem; padding-right: 2.25rem; }
.search { position: relative; }
.search .input { padding-right: 2.5rem; }
.search svg { position: absolute; right: .75rem; top: 50%; translate: 0 -50%; width: 1.125rem; height: 1.125rem; opacity: .7; }

/* ---------- Header: tamu ---------- */
.header {
  position: sticky; top: 0; z-index: 30; width: 100%;
  display: flex; align-items: center; justify-content: center;
  height: var(--header-h-mobile); padding: 1rem;
  background: var(--grad-header);
}
.header__logo { height: 3rem; display: flex; align-items: center; }
.header__logo img { height: 100%; width: auto; object-fit: contain; transition: transform .2s; }
.header__logo:hover img { transform: scale(1.02); }
.header__right { display: none; }
@media (min-width: 1024px) {
  .header { height: var(--header-h-desktop); max-width: var(--container); margin-inline: auto; justify-content: space-between; }
  .header__logo { height: 8rem; flex: 1; justify-content: flex-start; }
  .header__right { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; min-width: 600px; }
}
.login-inline { display: flex; gap: 1rem; width: 100%; }
.login-inline .input-wrap { flex: 1; }
.login-inline .input { min-height: 3rem; }
.login-inline .btn { min-width: 6rem; min-height: 3rem; }

/* Navigasi utama desktop (PROMOSI / HUBUNGI / DAFTAR / LAINNYA) */
.topnav {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; width: 100%;
  padding: .5rem; border-radius: var(--radius-lg); background: var(--primary);
}
.topnav__item {
  position: relative; display: flex; align-items: center; justify-content: center; gap: .25rem;
  height: 2.5rem; padding: .25rem; border-radius: var(--radius);
  border: 1px solid var(--accent); font-size: .75rem; font-weight: 700; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.topnav__item svg { width: 1.125rem; height: 1.125rem; }
.topnav__item:hover, .topnav__item[aria-expanded="true"] { background: var(--accent); color: var(--text-on-accent); }

/* Dropdown LAINNYA */
.dropdown { position: relative; }
.dropdown__menu {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 40; min-width: 13.5rem;
  padding: .5rem; border-radius: var(--radius-lg); background: #fff; color: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.dropdown__menu a { display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; border-radius: var(--radius); font-weight: 700; font-size: .875rem; }
.dropdown__menu a:hover { background: var(--paper-muted); }
.dropdown__menu img { width: 2rem; height: 2rem; object-fit: contain; }

/* ---------- Header: member (logo tengah + tombol kembali) ---------- */
.header--member { justify-content: center; background: var(--grad-header); height: 6rem; }
.header--member .header__logo { height: 3.25rem; flex: none; }
.header--member .header__logo img { max-width: none; }
.header--member .back { position: absolute; left: 1rem; top: 50%; translate: 0 -50%; display: inline-flex; padding: .5rem; }
.header--member .back svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) { .header--member { height: 6rem; } .header--member .back { left: 1.25rem; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: 2rem; padding: 0 .5rem; background: #000; font-weight: 500; font-size: .875rem;
}
.marquee__icon { position: absolute; left: 0; z-index: 2; display: flex; align-items: center; padding: .25rem; background: inherit; }
.marquee__icon svg { width: 1.25rem; height: 1.25rem; color: var(--accent-2); }
.marquee__track { display: flex; width: max-content; padding: .5rem 0; animation: marquee 28s linear infinite; }
.marquee__track span { padding-inline: 1rem; white-space: nowrap; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 1024px) { .marquee { background: var(--primary); font-size: 1rem; } }

/* ---------- Panel seksi (bg hijau cerah) ---------- */
.panel { background: var(--secondary); border-radius: var(--radius-xl); padding: 1rem; color: var(--text-on-primary); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .75rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.35); }
.panel__title { display: flex; align-items: center; gap: .5rem; font-size: 1.125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.panel__title svg { width: 1.375rem; height: 1.375rem; }
.panel__head .search { width: 100%; max-width: 18rem; }
@media (max-width: 1023px) { .panel { border-radius: 0; background: rgba(0,0,0,.2); backdrop-filter: blur(6px); } .panel__head .search { max-width: 11rem; } }

/* Kartu polos hijau tua di dalam panel */
.card { background: var(--primary); border-radius: var(--radius-lg); padding: 1rem; }
.card--accent { border: 2px solid var(--accent); }
.card--paper { background: var(--paper); color: #111; border-radius: 0; }
@media (min-width: 1024px) { .card--paper { border-radius: var(--radius-lg); } }

/* ---------- Grid helper ---------- */
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
.grid--8 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--8 { grid-template-columns: repeat(8, 1fr); } .grid--2-desktop { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Info box ---------- */
.infobox { display: flex; align-items: flex-start; gap: .625rem; padding: .875rem 1rem; border-radius: var(--radius); background: var(--primary-deep); color: #fff; font-size: .875rem; }
.infobox svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .05rem; }

/* ---------- Tab pilihan (QRIS / TRANSFER, kategori bet) ---------- */
.choice-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem;
  width: 8.5rem; height: 4.5rem; border-radius: var(--radius); border: 1px solid var(--accent);
  background: transparent; color: #8a8f98; font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.choice-tab svg { width: 2rem; height: 2rem; }
.choice-tab.is-active { background: var(--accent); color: var(--text-on-accent); }

/* ---------- Form baris label : input ---------- */
.form-row { display: grid; grid-template-columns: 1fr; gap: .375rem; align-items: center; }
.form-row > label { font-weight: 600; }
@media (min-width: 640px) { .form-row { grid-template-columns: 11rem 1fr; gap: 1rem; } }
.form-stack { display: flex; flex-direction: column; gap: 1.2rem; }
.member-form, .auth-card {
  background: linear-gradient(180deg, #fffef9 0%, #f6f1e4 100%) !important;
  color: #16120a;
  border: 1px solid rgba(180, 138, 28, .28);
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 18px 40px rgba(0,0,0,.18);
}
.member-form h1, .auth-card h1 {
  letter-spacing: .16em !important;
  font-weight: 800 !important;
}
.member-form .btn--block, .auth-card .btn--block, .form-stack .btn--lg {
  min-height: 3.25rem; border-radius: 16px; font-weight: 800; letter-spacing: .06em;
}
.form-sep { border: 0; border-top: 1px solid var(--line-dark); margin: .25rem 0; }

/* ---------- Tombol nominal cepat ---------- */
.quick-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quick-amounts .btn { background: linear-gradient(to bottom, var(--secondary), var(--primary)); color: #fff; min-height: 3rem; border-radius: var(--radius); }
.quick-amounts .btn:hover { filter: brightness(1.1); }

/* ---------- Tabel data ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--paper); color: #111; }
.table { min-width: 36rem; font-size: .875rem; }
.table th { padding: .625rem .75rem; text-align: left; font-weight: 500; color: #9ca3af; background: var(--paper-muted); text-transform: uppercase; letter-spacing: .04em; }
.table td { padding: .625rem .75rem; border-top: 1px solid #e5e7eb; }
.table .num { font-family: var(--font-mono); font-weight: 700; text-align: right; }
.table .center { text-align: center; }
.table--striped tbody tr:nth-child(odd) { background: #fafafa; }
.empty { padding: 2.5rem 1rem; text-align: center; color: #8a8f98; }

/* ---------- Bottom navigation (mobile tamu & semua member) ---------- */
.bottomnav {
  position: fixed; left: 50%; bottom: .75rem; translate: -50% 0; z-index: 40;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .25rem;
  width: calc(100% - 1.5rem); max-width: 36rem; padding: .375rem;
  border-radius: 1.25rem; background: var(--primary); border: 2px solid var(--accent);
  box-shadow: var(--shadow-float);
  padding-bottom: calc(.375rem + env(safe-area-inset-bottom, 0px));
}
.bottomnav a, .bottomnav button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem;
  height: 4rem; border-radius: .875rem; font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-on-primary); transition: background .2s, color .2s;
}
.bottomnav svg { width: 1.5rem; height: 1.5rem; }
.bottomnav .is-active { background: var(--accent); color: var(--text-on-accent); }
.bottomnav .is-open { background: var(--primary-deep); border: 2px solid var(--accent); }
@media (min-width: 1024px) { .bottomnav--guest { display: none; } }

/* Tamu & member: bar gelap semi-transparan, tab aktif kapsul lime */
.bottomnav--guest,
.bottomnav--member {
  left: 0;
  right: 0;
  bottom: 0;
  translate: none;
  width: 100%;
  max-width: none;
  gap: .4rem;
  padding: .4rem .45rem calc(.4rem + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-radius: 0;
  background: rgba(10, 10, 10, .62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .28);
}
.bottomnav--guest a,
.bottomnav--guest button,
.bottomnav--member a,
.bottomnav--member button {
  height: auto;
  min-height: 3.65rem;
  padding: .45rem .2rem .4rem;
  gap: .2rem;
  border-radius: 1.15rem;
  background: transparent;
  color: #cfcfcf;
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .06em;
}
.bottomnav--guest svg,
.bottomnav--member svg {
  width: 1.7rem;
  height: 1.7rem;
  stroke-width: 2;
}
.bottomnav--guest .is-active,
.bottomnav--member .is-active {
  background: var(--accent);
  color: var(--text-on-accent, #111);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 45%, transparent);
}
.bottomnav--guest .is-open,
.bottomnav--member .is-open {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 0;
}

/* Sheet "LAINNYA" (mobile) */
.sheet { position: fixed; inset: 0; z-index: 45; display: none; }
.sheet.is-open { display: block; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.sheet__body {
  position: absolute; left: 50%; bottom: calc(var(--bottom-nav-h) + 1.25rem); translate: -50% 0;
  width: calc(100% - 1.5rem); max-width: 36rem; padding: .75rem;
  border-radius: var(--radius-xl); background: #fff; color: #111; box-shadow: var(--shadow-float);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
}
.sheet__body a { display: flex; flex-direction: column; align-items: center; gap: .375rem; padding: .75rem .25rem; border-radius: var(--radius); font-size: .6875rem; font-weight: 700; text-transform: uppercase; text-align: center; }
.sheet__body a:hover { background: var(--paper-muted); }
.sheet__body img { width: 3rem; height: 3rem; object-fit: contain; }
.sheet__member {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  padding-bottom: .5rem;
  margin-bottom: .25rem;
  border-bottom: 1px solid #eee;
}
.sheet__member .ic { width: 1.75rem; height: 1.75rem; }
.bottomnav--member a { position: relative; }
.bn-badge {
  position: absolute; top: .3rem; right: calc(50% - 1.35rem);
  min-width: 1rem; height: 1rem; padding: 0 .25rem;
  border-radius: 999px; background: #ef4444; color: #fff;
  font-size: .5625rem; font-weight: 800; line-height: 1rem; text-align: center;
}

/* ---------- Ikon melayang kiri ---------- */
.float-side { position: fixed; left: 0; top: 7.5rem; z-index: 35; display: none; flex-direction: column; gap: .5rem; }
.float-side a { display: block; width: 3.75rem; height: 3.25rem; border: 2px solid var(--gold); border-left: 0; border-radius: 0 .5rem .5rem 0; background: #0b1a05; overflow: hidden; transition: width .2s; }
.float-side a:hover { width: 4.25rem; }
.float-side img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .float-side { display: flex; } }

/* Baris ikon cepat (mobile) */
.quick-icons { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(8rem, 1fr); gap: .5rem; overflow-x: auto; padding: .5rem; }
.quick-icons a { border: 2px solid var(--gold); border-radius: var(--radius-lg); overflow: hidden; background: #0b1a05; aspect-ratio: 1/1; }
.quick-icons img { width: 100%; height: 100%; object-fit: cover; }

/* Gelembung live chat */
.livechat { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 5.5rem; height: 5.5rem; display: block; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); animation: livechat-float 2.6s ease-in-out infinite; transition: transform .2s; }
.livechat img { width: 100%; height: 100%; object-fit: contain; display: block; }
.livechat:hover { transform: scale(1.06); animation-play-state: paused; }
@keyframes livechat-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .livechat { animation: none; } }
@media (max-width: 1023px) { .livechat { bottom: calc(var(--bottom-nav-h) + 1.25rem); right: .5rem; width: 4.5rem; height: 4.5rem; } }

/* Banner APK (mobile) */
.apk-bar { display: flex; align-items: center; gap: .625rem; padding: .5rem .75rem; background: #1b2e0e; color: #fff; }
.apk-bar__close { display: inline-flex; padding: .25rem; }
.apk-bar__close svg { width: 1.25rem; height: 1.25rem; }
.apk-bar__icon { width: 2.5rem; height: 2.5rem; color: #8bd145; }
.apk-bar__text { flex: 1; line-height: 1.2; font-size: .8125rem; }
.apk-bar__text strong { display: block; font-size: .9375rem; letter-spacing: .02em; }
@media (min-width: 1024px) { .apk-bar { display: none; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal__box { position: relative; width: 100%; max-width: 24rem; padding: 1.5rem; border-radius: var(--radius-lg); background: #fff; color: #111; box-shadow: var(--shadow-float); animation: pop .18s ease-out; }
.modal__box h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.modal__box p { color: #4b5563; margin-bottom: 1.25rem; }
.modal__actions { display: flex; justify-content: flex-end; gap: .5rem; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* Toast kecil (notifikasi WD) */
.toast { position: fixed; left: 0; bottom: 4.5rem; z-index: 35; display: none; align-items: center; gap: .625rem; padding: .5rem 1.25rem .5rem .75rem; border-radius: 0 999px 999px 0; background: rgba(0,0,0,.8); color: #fff; font-size: .8125rem; box-shadow: var(--shadow-float); }
.toast img { width: 2rem; height: 2rem; border-radius: 50%; }
.toast strong { display: block; }
@media (min-width: 1024px) { .toast { display: flex; } }

/* ---------- Seksi mitra & teks SEO ---------- */
.partners { padding: 2.5rem 1rem; }
.partners h2 { text-align: center; font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.partners .grid { gap: 1rem; }
.partners img { width: 100%; height: 6rem; object-fit: contain; }
.seo { background: var(--secondary); border-radius: var(--radius-lg); padding: 1rem; font-size: .9375rem; line-height: 1.5; }
.seo h2, .seo h3, .seo__footer h2, .seo__footer h3 { font-size: 1rem; font-weight: 700; }
.seo h3, .seo__footer h3 { margin-top: 1rem; }
.seo p a, .seo__footer a { color: #6fd0ff; }
.seo__footer { margin-top: .75rem; }
.seo__footer p { margin: .5rem 0; }
.seo__footer ul, .seo__footer ol { margin: .5rem 0 .5rem 1.25rem; padding: 0; }
.seo__footer li { margin: .25rem 0; }
.seo__footer img { max-width: 100%; height: auto; }
.seo__footer strong { font-weight: 700; }
@media (max-width: 1023px) { .seo { margin: 0 .5rem; } }

/* ---------- Pengganti tema (tombol melayang + panel) ---------- */
.theme-fab { position: fixed; right: .75rem; top: calc(.5rem + env(safe-area-inset-top, 0px)); z-index: 46; display: inline-flex; align-items: center; gap: .375rem; padding: .5rem .75rem; border-radius: 999px; background: rgba(0,0,0,.75); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); box-shadow: var(--shadow-float); }
.theme-fab svg { width: 1rem; height: 1rem; }
.theme-fab__dot { width: .875rem; height: .875rem; border-radius: 50%; background: var(--accent); border: 2px solid var(--secondary); }
@media (max-width: 1023px) { .theme-fab span[data-theme-name] { display: none; } .theme-fab { padding: .5rem; } }
@media (min-width: 1024px) { .theme-fab { top: auto; right: auto; bottom: 1.25rem; left: 5.25rem; } }
.theme-panel { position: fixed; inset: 0; z-index: 70; display: none; }
.theme-panel.is-open { display: block; }
.theme-panel__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.theme-panel__box { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(56rem, calc(100% - 2rem)); max-height: 85vh; overflow: auto; padding: 1rem; border-radius: var(--radius-xl); background: #fff; color: #111; box-shadow: var(--shadow-float); }
.theme-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.theme-panel__head h2 { font-size: 1.125rem; }
.theme-panel__head a { font-size: .8125rem; text-decoration: underline; }
.theme-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .625rem; }
.theme-item { display: flex; flex-direction: column; gap: .375rem; padding: .5rem; border-radius: var(--radius); border: 2px solid #e5e7eb; text-align: left; background: #fff; }
.theme-item:hover { border-color: #9ca3af; }
.theme-item.is-active { border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.2); }
.theme-item__bar { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr 1fr; height: 1.5rem; border-radius: var(--radius-sm); overflow: hidden; }
.theme-item__name { font-weight: 700; font-size: .8125rem; }
.theme-item__src { font-size: .6875rem; color: #6b7280; }
