/* Đạo tràng online — khung dọc 2:3 (ảnh nền 1024×1536), co giãn vừa màn hình. */
:root {
  --gold: #ffd77a;
  --robe-text: #8b1010;
  --banner: #7a0f0f;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(ellipse at 50% 30%, #6b4310 0%, #2a1704 70%, #170c02 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
}

#stage {
  position: relative;
  /* vừa khít màn hình, giữ tỉ lệ 2:3 */
  height: min(100dvh, 150vw);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  container-type: size;
  /* nền tạm khi chưa có ảnh hall.webp */
  background:
    linear-gradient(180deg, transparent 58%, #c99a55 60%, #f3dcae 100%),
    radial-gradient(ellipse at 50% 30%, #fff3c4 0%, #f2b640 35%, #a86512 70%, #5a3006 100%);
  background-size: cover;
  background-position: center;
}
#stage.has-art { background: url("hall.webp?v=4") center / cover no-repeat; }
#stage.has-art .halo { display: none; }

.halo {
  position: absolute; left: 50%; top: 24%;
  width: 70cqw; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle, #fffbe6 0%, #ffe28a 25%, rgba(255, 200, 80, .35) 55%, transparent 70%);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .75; scale: 1.04; } }

/* Hai liễn đỏ — chữ do HTML vẽ để dấu tiếng Việt luôn sắc nét */
.banner {
  position: absolute; top: 34.5%; translate: -50% 0;
  width: 7cqw; height: 21.5cqh;
  padding: 1.2cqh 0;
  background: linear-gradient(90deg, #5a0909, var(--banner) 30%, #941919 50%, var(--banner) 70%, #5a0909);
  border: .35cqw solid #d9a441;
  box-shadow: 0 0 1.5cqw rgba(0, 0, 0, .45);
  display: flex; flex-direction: column; align-items: center; justify-content: space-around;
  font-family: "Noto Serif", serif; font-weight: 900;
  color: var(--gold);
  font-size: 2cqw; line-height: 1;
  text-shadow: 0 0 .5cqw rgba(255, 190, 60, .6);
}
.banner.left { left: 23.1%; }
.banner.right { left: 76.9%; }
.banner i { font-style: normal; font-size: 2.2cqw; }

#floor { position: absolute; inset: 0; }

.seat {
  position: absolute;
  width: 19.5cqw;
  aspect-ratio: 1 / 1.42;   /* người (1:1.27) + phần đệm lộ ra dưới chân */
  translate: -50% -100%;   /* (left, top) = điểm giữa mép dưới đệm */
  transform-origin: 50% 100%;
}
/* thảm vuông nâu thêu hoa sen (mat.webp, gpt-image-2, nhìn từ trên xuống) — nghiêng 3D cho nằm trên sàn;
   .seat::before là mặt cạnh trước cho thảm dày như bồ đoàn */
.cushion {
  position: absolute; left: -10%; right: -10%; bottom: 3.2cqw; aspect-ratio: 1;
  background: url("mat.webp?v=1") center / 100% 100% no-repeat, #5a2f14;
  border-radius: 3%;
  transform-origin: 50% 100%;
  transform: perspective(60cqw) rotateX(52deg);
  filter: brightness(1.12) saturate(1.1);
}
.seat::before {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 3.4cqw;
  border-radius: 0 0 .8cqw .8cqw;
  background: linear-gradient(180deg, #8a5a2c 0%, #6b3d1a 18%, #4f2a10 70%, #3a1d08 100%);
  box-shadow: inset 0 .25cqw 0 #c9944f, 0 1.2cqw 1.8cqw rgba(50, 25, 5, .5);
}
.sitter {
  position: absolute; left: 4%; right: 4%; bottom: 26%;
  aspect-ratio: 1 / 1.27;
  opacity: 0; translate: 0 8%;
  transition: opacity .9s ease, translate .9s ease;
}
.seat.on .sitter { opacity: 1; translate: 0 0; }
.seat:not(.on) .cushion, .seat:not(.on)::before { opacity: .6; }
.sitter svg, .sitter img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: 50% 100%; }
.name {
  position: absolute; left: 50%; top: 43%;
  translate: -50% -50%;
  width: 92%;
  text-align: center;
  color: var(--robe-text);
  font-weight: 800;
  /* hàng xa bị thu nhỏ (scale = --s) → phóng chữ bù lại cho đọc được */
  font-size: calc(2.1cqw / pow(var(--s, 1), .5));
  line-height: 1.05;
  text-shadow: 0 0 .25cqw #fff, 0 0 .5cqw #fff;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}
.seat.me .sitter { filter: drop-shadow(0 0 1.1cqw #ffd35a) drop-shadow(0 0 .4cqw #fff2b0); }
.seat.me::after {
  content: "Bạn";
  position: absolute; left: 50%; top: 2%; translate: -50% -100%;
  padding: .3cqw 1.4cqw;
  border-radius: 99px;
  background: #ffe28a; color: #6b2b00;
  font-weight: 800; font-size: calc(1.6cqw / pow(var(--s, 1), .75));
  box-shadow: 0 0 1cqw rgba(255, 210, 90, .8);
}

#top {
  position: absolute; left: 50%; top: 1.2cqh; translate: -50% 0;
  z-index: 50;
  width: 94%;
  display: flex; flex-direction: column; align-items: center; gap: .8cqh;
  color: #fff3d0;
  font-size: 2.3cqw;
  pointer-events: none;
}
#top > * { pointer-events: auto; }
#bar, #me, #session {
  padding: .9cqw 2.8cqw;
  border-radius: 99px;
  background: rgba(40, 20, 2, .6);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis;
}
#bar { display: flex; gap: 2.2cqw; }
#bar b, #me b, #session b { color: var(--gold); }
#session { position: relative; white-space: normal; text-align: center; border-radius: 2cqw; padding-bottom: 1.4cqw; }
#session:empty { display: none; }
#session .progress { position: absolute; left: 3cqw; right: 3cqw; bottom: .5cqw; height: .45cqw; border-radius: 99px; background: rgba(255, 230, 160, .25); overflow: hidden; }
#session .progress i { display: block; height: 100%; background: linear-gradient(90deg, #ffd77a, #fff2b0); }

/* Nút: xếp dọc bên phải (cạnh cột + liễn phải) */
#tools {
  position: absolute; right: 1.8cqw; top: 19%; z-index: 50;
  display: flex; flex-direction: column; align-items: stretch; gap: 1.4cqw;
  font-size: 2.3cqw; color: #fff3d0;
}
#tools button { text-align: left; white-space: nowrap; box-shadow: 0 .4cqw 1.2cqw rgba(0, 0, 0, .35); }
#tools button, button.inline {
  padding: .9cqw 2.4cqw;
  border: .25cqw solid rgba(255, 215, 122, .7);
  border-radius: 99px;
  background: rgba(90, 40, 4, .75);
  color: #fff3d0;
  font: inherit; font-weight: 800;
  cursor: pointer;
}
#tools button:hover, button.inline:hover { background: rgba(140, 70, 10, .85); }
#tools button[aria-pressed="true"] { background: #ffe28a; color: #6b2b00; }
#tools button:focus-visible, button.inline:focus-visible { outline: .4cqw solid #fff2b0; outline-offset: .3cqw; }
button.inline { padding: .3cqw 1.6cqw; background: #ffe28a; color: #6b2b00; border: 0; }
#n-people { display: inline-block; min-width: 3.4cqw; padding: 0 .8cqw; margin-left: .6cqw; border-radius: 99px; background: #ffe28a; color: #6b2b00; }

/* Trong giờ thời khóa: cả đạo tràng sáng dịu theo nhịp thở */
#stage.chanting .seat.on .sitter { animation: chant 5s ease-in-out infinite; }
#stage.chanting .seat.me .sitter { animation: none; }
@keyframes chant { 50% { filter: drop-shadow(0 0 .9cqw rgba(255, 215, 110, .85)); } }

@media (prefers-reduced-motion: reduce) {
  .halo { animation: none; }
  .sitter { transition: none; }
}

.no-anim .sitter, .no-anim .halo { transition: none !important; animation: none !important; }

.toast {
  position: absolute; left: 50%; top: 52%; translate: -50% 0; z-index: 70;
  width: max-content; max-width: 90%;
  padding: 1.4cqw 3cqw;
  border-radius: 2cqw;
  background: #ffe28a; color: #5a2400;
  font-weight: 800; font-size: 2.4cqw; text-align: center;
  box-shadow: 0 0 2cqw rgba(255, 210, 90, .7);
  animation: toast 7s ease forwards;
}
@keyframes toast { 0% { opacity: 0; translate: -50% 2cqh; } 6%, 85% { opacity: 1; translate: -50% 0; } 100% { opacity: 0; } }

#sv { color: #ffe28a; }


/* ===== Bảng "Đạo Tràng Niệm Phật": kem – viền vàng – xanh lá, như mẫu báo cáo tu học ===== */
:root { --cream: #fff9ea; --cream2: #fbefd0; --edge: #d9a441; --green: #1f5a2e; --green2: #2f7a3e; --ink: #3b2a12; --maroon: #7a1f12; }
#drawer {
  position: absolute; inset: 1.6cqw; z-index: 60;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 2.6cqw 3cqw 4cqw;
  border-radius: 2.4cqw;
  border: .5cqw solid var(--edge);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 226, 150, .55), transparent 55%),
    linear-gradient(180deg, #fffdf5, var(--cream) 40%, #fdf1d6);
  box-shadow: 0 0 4cqw rgba(0, 0, 0, .5), inset 0 0 0 .3cqw #fff4cf;
  color: var(--ink);
  font-size: 2.4cqw;
}
#drawer[hidden] { display: none; }
#btn-close {
  position: sticky; top: 0; float: right; z-index: 2;
  width: 6cqw; height: 6cqw; border-radius: 50%;
  border: .3cqw solid var(--edge); background: var(--cream); color: var(--green);
  font-size: 3cqw; font-weight: 800; cursor: pointer;
}
.dt-head { text-align: center; margin: 0 0 2.6cqw; }
.dt-lotus { width: 13cqw; height: auto; display: block; margin: 0 auto -1.2cqw; }
.dt-title {
  display: inline-block;
  margin: 0; padding: 1.4cqw 5cqw;
  border-radius: 99px;
  border: .45cqw solid var(--edge);
  background: linear-gradient(180deg, var(--green2), var(--green));
  color: #fff3c4;
  font-family: "Noto Serif", serif; font-weight: 900; font-size: 4.6cqw; letter-spacing: .03em;
  text-shadow: 0 .3cqw 0 rgba(0, 0, 0, .35);
  box-shadow: 0 .6cqw 1.6cqw rgba(60, 40, 0, .35);
}
.dt-sub {
  display: inline-block; margin-top: -.6cqw;
  padding: .8cqw 4cqw;
  border-radius: 0 0 2cqw 2cqw;
  border: .3cqw solid var(--edge); border-top: 0;
  background: var(--cream2);
  color: var(--maroon);
  font-family: "Noto Serif", serif; font-style: italic; font-weight: 700; font-size: 2.8cqw;
}
.dt-card {
  margin: 4.4cqw 0 2.6cqw;
  padding: 4.2cqw 2.6cqw 2.4cqw;
  position: relative;
  border-radius: 2cqw;
  border: .35cqw solid var(--edge);
  background: linear-gradient(180deg, #fffdf6, var(--cream));
  box-shadow: 0 .4cqw 1.2cqw rgba(120, 80, 10, .18);
}
.dt-card > h3 {
  position: absolute; left: 50%; top: 0; translate: -50% -55%;
  margin: 0; padding: .8cqw 3.6cqw;
  display: flex; align-items: center; gap: 1.2cqw;
  white-space: nowrap;
  border-radius: 99px;
  border: .35cqw solid var(--edge);
  background: linear-gradient(180deg, var(--green2), var(--green));
  color: #fff3c4;
  font-size: 2.6cqw; font-weight: 800; text-transform: uppercase;
}
.dt-card > h3 small { text-transform: none; font-weight: 600; color: #f3e6b8; font-size: 2cqw; }
.dt-card .hint { margin: 0 0 1.4cqw; color: #6b5528; font-size: 2.1cqw; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* Thời khóa trong ngày */
.tk { display: grid; grid-template-columns: auto 1fr; gap: 1.6cqw 2.2cqw; align-items: center; }
.tk-pill {
  display: flex; align-items: center; gap: 1cqw;
  padding: 1.1cqw 2.6cqw 1.1cqw 1.6cqw;
  border-radius: 99px;
  border: .3cqw solid var(--edge);
  background: linear-gradient(180deg, var(--green2), var(--green));
  color: #fff3c4; font-weight: 800; font-size: 2.6cqw; white-space: nowrap;
}
.tk-time { display: flex; align-items: center; gap: 1cqw; color: var(--maroon); font-weight: 800; font-size: 3.1cqw; line-height: 1.1; }
.tk-time .ico { color: #8a6a2a; }
.tk-desc { display: block; color: #5a4a2a; font-weight: 600; font-style: italic; font-size: 2cqw; }
.tk-live { margin-left: 1cqw; padding: .2cqw 1.4cqw; border-radius: 99px; background: #c0392b; color: #fff; font-size: 1.8cqw; font-style: normal; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: .55; } }
.tk-row.live .tk-pill { box-shadow: 0 0 1.6cqw #ffd35a; }

/* Chip: server + pháp danh */
.chips { display: flex; flex-wrap: wrap; gap: 1.2cqw; }
.chips button {
  padding: .8cqw 1.8cqw;
  border: .25cqw solid var(--edge);
  border-radius: 1.4cqw;
  background: #fffdf6;
  color: var(--green);
  font: inherit; font-size: 2.2cqw; font-weight: 800;
  cursor: pointer;
}
.chips button:hover:not(:disabled) { background: #f6e7bd; }
.chips button:disabled { opacity: .38; cursor: default; }
.chips button.me { opacity: 1; background: linear-gradient(180deg, var(--green2), var(--green)); color: #fff3c4; }
#servers button { display: flex; flex-direction: column; align-items: flex-start; min-width: 16cqw; }
#servers button span { font-size: 1.8cqw; font-weight: 600; color: inherit; opacity: .8; }
.names { max-height: 28cqh; overflow-y: auto; padding: .4cqw; }
#cur-name { color: #fff; }

/* Phật tử tham gia */
#people { list-style: none; margin: 0; padding: 0; }
#people li { display: flex; align-items: center; gap: 1.6cqw; padding: 1.1cqw 1cqw; border-bottom: .15cqw solid rgba(217, 164, 65, .35); }
#people li:nth-child(odd) { background: rgba(251, 239, 208, .55); }
#people li.me { background: #f6e1a3; border-radius: 1cqw; }
#people li b { color: var(--green); }
#people li i { color: var(--maroon); font-style: normal; font-weight: 800; }
#people li .where { margin-left: auto; color: #6b5528; font-size: 2.2cqw; font-weight: 700; }
#people li .where em { color: #c0392b; font-style: normal; }
#people li.more { color: #6b5528; justify-content: center; }
.g { flex: none; width: 5.4cqw; text-align: center; padding: .2cqw 0; border-radius: 99px; font-size: 1.9cqw; font-weight: 800; }
.g.nam { background: #d7e8ff; color: #1d3f73; }
.g.nu { background: #ffdbe7; color: #7a1d42; }

.dt-quote {
  margin: 0 0 2.6cqw; padding: 2.6cqw 4cqw;
  border-radius: 2cqw; border: .35cqw solid var(--edge);
  background: linear-gradient(180deg, #fffdf6, var(--cream));
  color: var(--maroon); text-align: center;
  font-family: "Noto Serif", serif; font-style: italic; font-weight: 700; font-size: 3cqw; line-height: 1.45;
}
.dt-quote::before, .dt-quote::after { color: #9a2a14; font-size: 5cqw; line-height: 0; vertical-align: -.35em; }
.dt-quote::before { content: "“"; margin-right: .6cqw; }
.dt-quote::after { content: "”"; margin-left: .6cqw; }
.dt-foot {
  margin: 0 auto; width: max-content; max-width: 100%;
  padding: 1.2cqw 5cqw;
  border-radius: 99px; border: .45cqw solid var(--edge);
  background: linear-gradient(180deg, var(--green2), var(--green));
  color: #fff3c4; font-family: "Noto Serif", serif; font-style: italic; font-weight: 900; font-size: 3.6cqw;
}

/* Tên dài trên lưng áo: cho xuống 2 dòng, chữ nhỏ lại */
.name.long { white-space: normal; font-size: calc(1.8cqw / pow(var(--s, 1), .55)); line-height: 1.05; }

/* Ô đổi tên trong bảng */
.name-form { display: flex; gap: 1.2cqw; margin: 0 0 .6cqw; }
.name-form input, .ask-card input {
  flex: 1; min-width: 0;
  padding: 1.2cqw 1.8cqw;
  border: .3cqw solid var(--edge); border-radius: 1.4cqw;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 2.6cqw; font-weight: 700;
}
.name-form input:focus, .ask-card input:focus { outline: .4cqw solid #f2c45a; outline-offset: 0; }
.name-form button, .ask-go {
  padding: 1.2cqw 2.6cqw;
  border: .3cqw solid var(--edge); border-radius: 1.4cqw;
  background: linear-gradient(180deg, var(--green2), var(--green)); color: #fff3c4;
  font: inherit; font-size: 2.5cqw; font-weight: 800; cursor: pointer;
}
.name-msg { min-height: 1.2em; margin: 0 0 1cqw; color: var(--green); font-size: 2.1cqw; font-weight: 700; }
.name-msg.bad { color: #b3261e; }

/* Hỏi tên lần đầu */
.ask { position: absolute; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(30, 15, 2, .45); backdrop-filter: blur(2px); }
.ask[hidden] { display: none; }
.ask-card {
  width: 84%;
  padding: 3cqw 5cqw 4cqw;
  display: flex; flex-direction: column; align-items: stretch; gap: 1.4cqw;
  text-align: center;
  border-radius: 3cqw; border: .5cqw solid var(--edge);
  background: linear-gradient(180deg, #fffdf5, var(--cream) 50%, #fdf1d6);
  box-shadow: 0 0 5cqw rgba(0, 0, 0, .55);
  color: var(--ink); font-size: 2.7cqw;
}
.ask-card h2 { margin: 0; color: var(--green); font-family: "Noto Serif", serif; font-weight: 900; font-size: 4.4cqw; }
.ask-card p { margin: 0; line-height: 1.4; }
.ask-card input { font-size: 3.2cqw; text-align: center; }
.ask-go { font-size: 3cqw; padding: 1.6cqw; }
.ask-g { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; }
.ask-g button { font: inherit; font-size: 3.2cqw; font-weight: 700; padding: 1.4cqw; border-radius: 1.4cqw; cursor: pointer;
  border: .35cqw solid #c9a45a; background: #fffaf0; color: #6b5528; }
.ask-g button[aria-checked="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.ask-g button[aria-checked="true"]::before { content: "✓ "; }
.gate-go { font-size: 3.8cqw; padding: 2.2cqw; margin-top: 1cqw; }
.gate-hint { font-size: 2.2cqw; color: #6b5528; }
.gate-name { display: inline-block; text-wrap: balance; }
.ask-skip { border: 0; background: none; color: #6b5528; font: inherit; font-size: 2.2cqw; text-decoration: underline; cursor: pointer; }

/* ===== Báo cáo tu học tháng ===== */
.dt-report {
  display: inline-block; margin-top: 1.4cqw; padding: .6cqw 4cqw;
  border-radius: 99px; border: .3cqw solid var(--edge); background: #fffdf6;
  color: var(--maroon); font-family: "Noto Serif", serif; font-style: italic; font-weight: 700; font-size: 3cqw;
}
.st-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6cqw; margin: 1cqw 0 1.2cqw; }
.st-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 4.4cqw 1cqw 2cqw; margin-top: 3cqw;
  border-radius: 1.8cqw; border: .35cqw solid var(--edge);
  background: linear-gradient(180deg, #fffdf6, var(--cream));
  box-shadow: 0 .4cqw 1.2cqw rgba(120, 80, 10, .18);
}
.st-card b { color: var(--green); font-size: 2.15cqw; line-height: 1.15; }
.st-ico {
  position: absolute; top: 0; left: 50%; translate: -50% -50%;
  width: 6.4cqw; height: 6.4cqw; border-radius: 50%;
  display: grid; place-items: center;
  border: .3cqw solid var(--edge); background: linear-gradient(180deg, #f6d27a, #c98a1e); color: #fff;
}
.st-ico svg { width: 3.6cqw; height: 3.6cqw; }
.st-big { margin-top: 1cqw; color: var(--green); font-family: "Noto Serif", serif; font-weight: 900; font-size: 5.4cqw; line-height: 1; }
.st-big small { font-size: 2.6cqw; font-weight: 800; }
.st-rank { color: var(--maroon); font-size: 4.6cqw; }
.st-rank small { font-size: 2.4cqw; color: #6b5528; }
.st-bar { position: relative; width: 92%; height: 3cqw; margin-top: 1.2cqw; border-radius: 99px; background: #efe2bf; overflow: hidden; }
.st-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--green2), var(--green)); border-radius: 99px; }
.st-bar em { position: relative; display: block; text-align: center; color: #fff; font-style: normal; font-weight: 800; font-size: 1.9cqw; line-height: 3cqw; text-shadow: 0 0 .4cqw rgba(0, 0, 0, .6); }
.st-note { margin: 0 0 1cqw; color: #6b5528; font-size: 1.95cqw; text-align: center; }
.hint.center { text-align: center; margin-top: -.6cqw; }

.st-list, .st-recent { list-style: none; margin: 0; padding: 0; }
.st-list li, .st-recent li { display: flex; align-items: baseline; gap: 1.6cqw; padding: 1cqw .6cqw; border-bottom: .15cqw solid rgba(217, 164, 65, .35); }
.st-list li span, .st-recent li span { flex: 1; color: var(--ink); font-weight: 600; }
.st-list li b { color: var(--green); font-family: "Noto Serif", serif; font-weight: 900; font-size: 2.9cqw; }
.st-list li b small { font-family: "Be Vietnam Pro", sans-serif; font-size: 1.9cqw; color: #6b5528; }
.st-recent li b { color: var(--green); }
.st-recent li em { font-style: normal; font-size: 1.9cqw; color: #b3261e; min-width: 17cqw; text-align: right; }
.st-recent li em.ok { color: var(--green2); font-weight: 800; }

.top5 { width: 100%; border-collapse: collapse; font-size: 2.15cqw; }
.top5 th { padding: 1cqw .4cqw; color: #fff3c4; background: linear-gradient(180deg, var(--green2), var(--green)); font-weight: 700; font-size: 1.85cqw; }
.top5 th:first-child { border-radius: 1cqw 0 0 0; } .top5 th:last-child { border-radius: 0 1cqw 0 0; }
.top5 td { padding: 1.1cqw .4cqw; text-align: center; border-bottom: .15cqw solid rgba(217, 164, 65, .35); color: var(--ink); }
.top5 td:nth-child(2) { text-align: left; }
.top5 td b { color: var(--green); }
.top5 tr.me td { background: #f6e1a3; }
.top5 td.empty { color: #6b5528; font-style: italic; padding: 2.4cqw; }
.medal { display: inline-grid; place-items: center; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; font-weight: 900; color: var(--maroon); font-family: "Noto Serif", serif; }
.medal.m1 { background: radial-gradient(circle at 35% 30%, #fff4b0, #e0a91c); color: #6b3a00; box-shadow: 0 0 0 .25cqw #b8860b; }
.medal.m2 { background: radial-gradient(circle at 35% 30%, #ffffff, #b9bec7); color: #333; box-shadow: 0 0 0 .25cqw #8e959f; }
.medal.m3 { background: radial-gradient(circle at 35% 30%, #ffd9b0, #c07a3a); color: #4a2400; box-shadow: 0 0 0 .25cqw #8f5424; }
