body.certpage { background: linear-gradient(180deg, #0b1530 0%, #12214a 100%); color: #eef3ff; min-height: 100vh; }
.chead { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; }
.chead .brand { font-size: 17px; }
.chead .lang-toggle { color: #fff; }
.chead .lang-toggle { flex-shrink: 0; }
.chead .lang-toggle button { padding: 5px 12px; font-size: 14px; white-space: nowrap; }
@media (max-width: 420px) { .chead .brand { font-size: 15px; } }
.chead .lang-toggle button.on { background: #fff; color: var(--navy); }
.chead .lang-toggle button.on span { filter: none; }
main { padding: 6px 16px 24px; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.hello { display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 900; }
.hello img { width: 46px; height: 34px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.hello span { overflow-wrap: anywhere; }
.card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.card img { width: 100%; border-radius: 12px; display: block; background: #0b1530; aspect-ratio: 1080 / 1350; }
.card .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card .acts .btn { padding: 14px; font-size: 17px; text-decoration: none; text-align: center; }
.card .cap { font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; color: #c7d2fe; }
.results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.results li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; background: rgba(255, 255, 255, 0.06); padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.results li .s { font-size: 24px; font-weight: 900; }
.results li .tt { font-size: 12px; padding: 3px 8px; border-radius: 999px; color: var(--navy); font-weight: 900; }
.results li small { display: block; color: #9fb0d8; font-weight: 600; font-size: 13px; }
h2 { margin: 6px 0 0; font-size: 18px; color: #9fb0d8; letter-spacing: 0.04em; }
.hint { background: rgba(245, 197, 66, 0.12); border: 1px solid rgba(245, 197, 66, 0.4); color: #ffe7a3; border-radius: 14px; padding: 14px; font-weight: 700; }
.asof { color: #7f8fb8; font-size: 13px; text-align: right; margin-top: -10px; }
.loading, .err { text-align: center; padding: 60px 10px; font-size: 18px; color: #c7d2fe; }
.cfoot { text-align: center; padding: 10px 20px 40px; color: #7f8fb8; font-size: 13px; line-height: 1.6; }
.cfoot a { color: #c7d2fe; font-weight: 700; }
