#description-reference-view { position: relative; height: 100%; z-index: 0; }
.description-writing { grid-column: 1 / -1; width: min(900px, 100%); margin: 12px auto; }
.description-writing > label { display: block; font-size: 16px; margin-bottom: 14px; }
.description-writing textarea { width: 100%; min-height: 220px; padding: 20px; font: inherit; font-size: 18px; line-height: 1.6; resize: vertical; border: 1px solid var(--glass-border); border-radius: 24px; background: var(--glass-strong); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); box-shadow: inset 0 1px 0 var(--glass-hi); color: var(--text); }
.description-writing-meta { display: flex; gap: 24px; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 13px; }
.description-writing-meta p { max-width: 620px; margin: 0; }
.description-writing-meta output { flex-shrink: 0; font-family: var(--mono); }
.received-description { margin: 0; padding: 16px; width: 100%; height: 100%; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); background: var(--glass-solid); font-size: 14px; line-height: 1.6; }
.description-guess .original-panel { width: 340px; height: 260px; }
.description-guess .original-view { background: var(--glass-solid); }
.description-guess .original-panel.expanded .received-description { padding: clamp(24px, 6vw, 100px); font-size: clamp(20px, 3vw, 38px); }
.reveal-drawing > .reveal-description { margin: 0; padding: 20px 24px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; text-align: left; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; }
@media (max-width: 960px) { .reveal-drawing > .reveal-description { padding: 14px 16px; font-size: 15px; } }
.description-notice { position: fixed; right: 20px; bottom: 20px; z-index: 100; width: min(390px, calc(100vw - 40px)); max-height: min(420px, 60dvh); overflow: auto; padding: 20px; background: var(--glass-solid); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); border-radius: 26px; box-shadow: inset 0 1px 0 var(--glass-hi), 0 14px 40px var(--shadow); }
.description-notice > button { float: right; margin: -10px -10px 8px 12px; }
.description-notice > strong { display: block; margin-bottom: 16px; }
.description-notice p { margin: 14px 0 4px; overflow-wrap: anywhere; }
.description-notice small { color: var(--muted); line-height: 1.5; }
#openrouter-form { display: grid; gap: 12px; max-width: 620px; }
#openrouter-form input[type="checkbox"] { width: auto; height: auto; }
@media (max-width: 600px) {
  .description-guess .original-panel { width: min(240px, calc(100vw - 24px)); height: 190px; }
  .description-writing-meta { flex-direction: column; gap: 8px; }
  .description-writing textarea { padding: 14px; font-size: 16px; }
}
