:root { color-scheme: dark; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #151515; color: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
main { min-height: 100svh; display: grid; place-items: center; padding: 24px; border-top: 6px solid #ef3545; }
.farewell { display: block; width: min(100%, 800px); padding: 64px 16px; border: 0; background: transparent; color: inherit; text-align: center; font: inherit; cursor: pointer; }
.year { display: block; color: #ff6472; font-size: 12px; font-weight: 750; letter-spacing: 0; }
h1 { margin: 24px 0; font-size: 64px; line-height: 1.08; letter-spacing: 0; font-weight: 800; }
.message { display: block; max-width: 360px; margin: auto; color: #b9b9b9; font-size: 17px; line-height: 1.65; }
.farewell:focus-visible, .close:focus-visible { outline: 2px solid #ff6472; outline-offset: 8px; }
dialog { position: fixed; overflow: visible; max-width: calc(100vw - 40px); max-height: calc(100svh - 64px); padding: 0; border: 0; background: transparent; }
dialog::backdrop { background: rgb(0 0 0 / 88%); }
dialog img { display: block; max-width: 100%; max-height: calc(100svh - 64px); object-fit: contain; }
.close { position: absolute; top: -16px; right: -16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: white; color: #151515; font-size: 30px; cursor: pointer; }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width: 600px) { h1 { font-size: 40px; } .farewell { padding: 48px 0; } }
@media (max-width: 340px) { h1 { font-size: 34px; } }
