:root { color-scheme: dark; font-family: Arial, sans-serif; color: #dfe6f2; background: #09111b; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(#09111b, #111); }
[hidden] { display: none !important; }
a { color: #e3c763; text-underline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 3px solid #8bcbd8; outline-offset: 4px; }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 20px; }
.page-header a { font-size: .875rem; text-decoration: none; }
.page-header span { font-family: Georgia, serif; font-weight: 700; color: #d4af37; letter-spacing: .1em; }
main { padding: 0 20px 42px; }
.kicker { color: #baa269; letter-spacing: .15em; text-align: center; font-size: .8rem; }
h1 { margin: 16px auto; max-width: 1000px; font: 700 clamp(1.55rem, 3vw, 2rem)/1.25 Georgia, serif; color: #f4e9be; text-align: center; overflow-wrap: anywhere; }
.published { margin: 12px 0 24px; color: #a3adc0; font-size: .875rem; text-align: center; }
.body-card, .share-panel { border: 1px solid #d4af3738; border-radius: 20px; padding: 20px; margin-bottom: 22px; }
.body-card { background: #0a121eb8; line-height: 1.7; font-size: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.body-card a { color: #a2cfed; }
.share-panel { background: #0006; }
.share-panel h2 { margin: 0 0 10px; font-size: 1rem; color: #d4af37; }
.share-panel p { font-size: .875rem; line-height: 1.6; color: #bcc7d8; }
.primary, .secondary { display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 12px 18px; text-decoration: none; border-radius: 14px; font-size: .875rem; font-weight: 700; }
.primary { width: 100%; border: 0; background: #d4af37; color: #09111b; }
.primary:hover { background: #e0bd4e; }
.secondary { background: #d4af3714; border: 1px solid #d4af3759; color: #f4e9be; }
.secondary:hover { background: #d4af3728; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.invitation { margin-top: 20px; padding-top: 14px; border-top: 1px solid #d4af3738; }
.invitation strong { overflow-wrap: anywhere; color: #f4e9be; user-select: all; }
.invitation .secondary { width: fit-content; }
.feedback:empty { display: none; }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 22px; }
.gallery a { max-width: 100%; }
.gallery img { display: block; max-width: 100%; max-height: 640px; object-fit: contain; border-radius: 16px; }
.video { width: min(100%, 960px); margin: 0 auto 22px; aspect-ratio: 16/9; }
.video iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 16px; }
.status { text-align: center; padding: 40px 20px; }
.status button { padding: 12px; margin: 12px; border: 1px solid #d4af3759; border-radius: 10px; }
dialog { width: min(440px, calc(100% - 32px)); border: 1px solid #d4af37; border-radius: 22px; padding: 28px; background: #111b26; color: #dfe6f2; }
dialog::backdrop { background: #000b; }
dialog h2 { color: #e1c269; font: 700 1.5rem Georgia, serif; margin: 16px 0; }
dialog p { line-height: 1.65; margin-bottom: 24px; }
.close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; background: none; border: none; color: #e1c269; font-size: 2rem; }
@media (max-width: 480px) {
  main { padding: 0 12px 24px; }
  .page-header { padding: 20px 12px; flex-wrap: wrap; }
  .page-header span { font-size: .9rem; }
  .body-card, .share-panel { padding: 16px; border-radius: 16px; }
  .actions { grid-template-columns: 1fr; }
}
