* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f5eee3; color: #262019; font: 16px/1.5 system-ui, sans-serif; }
main { max-width: 440px; margin: auto; padding: clamp(20px, 6vw, 38px); }
header { display: flex; align-items: center; gap: 12px; padding: 0 0 20px; border-bottom: 1px solid #ddcebc; font-weight: 650; }
small { display: block; font-weight: 400; color: #61544a; }
.mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #262019; color: #e4c299; font: 26px Georgia, serif; }
.mode { margin-left: auto; background: #ead7bc; border-radius: 999px; padding: 3px 11px; font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; margin: 0; }
h1 { margin-top: 20px; font-size: clamp(40px, 11vw, 58px); }
p { margin: 8px 0 16px; }
.card { border-radius: 24px; background: #262019; color: #fbefde; padding: 24px; text-align: center; }
.card img { display: block; margin: 18px auto 12px; width: min(100%, 240px); height: auto; border-radius: 14px; }
.code { font: 700 1rem ui-monospace, monospace; letter-spacing: .04em; overflow-wrap: anywhere; }
button { min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 12px; background: #262019; color: #fbefde; font: inherit; font-weight: 650; cursor: pointer; }
.card button { background: #fbefde; color: #262019; }
button:focus-visible { outline: 3px solid #ad753c; outline-offset: 3px; }
footer { margin-top: 30px; font-size: .8rem; color: #61544a; }
