/* Question → cue → four answers, stable on both short and tall phones. */
.df-quiz{flex:0 0 255px;min-height:255px;max-height:255px;display:grid;grid-template-columns:1fr;grid-template-rows:46px 80px 4px 100px;gap:4px;padding:6px 10px 4px}
.df-question-head{grid-column:1;grid-row:1;position:relative;min-height:0;padding:0;display:flex;align-items:center;justify-content:center}
.df-question-head strong{font-size:17px;line-height:1.22;color:#246c68;background:#e6f3e8;border-radius:12px;padding:7px 8px;width:calc(100% - 54px);max-width:calc(100% - 54px);margin:0 54px 0 0;text-align:center;overflow-wrap:anywhere}
.df-question-head .df-clock{position:absolute;right:0;top:50%;transform:translateY(-50%);margin:0}
.df-question-cue{grid-column:1;grid-row:2;min-height:0;max-height:80px;width:100%;font-size:23px;line-height:1.15;padding:0 3px;overflow:hidden;text-align:center}
.df-question-cue>span{font-size:inherit;text-align:center;overflow-wrap:normal}
.df-question-cue .df-word-art{width:76px;max-width:76px;max-height:78px}
.df-time-track{grid-column:1;grid-row:3}
.df-choices{grid-column:1;grid-row:4;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:6px;width:100%;max-width:none;min-height:0}
.df-choices button{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:6px;min-height:44px;padding:4px 7px;text-align:center;font-size:18px;line-height:1.1;border-radius:13px;background:#fffef6;border-color:#d9cfb6}
.df-choices button>span{flex:1;min-width:0;overflow-wrap:anywhere}
.df-choices .df-answer-goose77{width:25px;height:34px;object-fit:contain;flex:0 0 25px;pointer-events:none}
.df-boss-hp77{position:absolute;left:50%;bottom:-25px;transform:translateX(-50%);color:#fff8d7;background:#654c72;border-radius:8px;padding:2px 8px;font:bold 11px sans-serif;white-space:nowrap}
.df-boss .df-monster-health{height:8px;bottom:-7px;background:repeating-linear-gradient(90deg,#67496e 0 31%,#f8efcf 31% 33.3%);border:1px solid #f8efcf}
.df-shell-tackle77{position:absolute;inset:10% 0;width:100%;height:80%;object-fit:contain;z-index:5;pointer-events:none}
.df-bgm77{border:1px solid #d8c9d566;color:#fff3c8;background:#514666;border-radius:10px;min-width:38px;min-height:34px;padding:3px;font-size:15px;line-height:1;cursor:pointer}
.df-hud{gap:6px}.df-hud>div:first-child{margin-right:auto}.df-lives{letter-spacing:0;font-size:13px}
@media(max-height:650px){.df-quiz{flex-basis:225px;min-height:225px;max-height:225px;grid-template-rows:40px 64px 4px 92px;gap:3px;padding:6px 8px 7px}.df-question-head strong{font-size:14px;padding:5px;width:calc(100% - 47px);max-width:calc(100% - 47px);margin-right:47px}.df-question-cue{max-height:64px;font-size:19px}.df-question-cue .df-word-art{width:62px;max-width:62px;max-height:62px}.df-choices button{font-size:16px;padding:3px 5px;gap:4px;min-height:43px}.df-choices .df-answer-goose77{width:22px;flex-basis:22px;height:29px}.df-hud strong{font-size:11px}.df-lives{font-size:11px}.df-bgm77{min-width:32px;min-height:30px}.df-boss{width:100px;height:100px}.df-boss-hp77{bottom:-22px;font-size:10px}}
@media(min-width:761px){.df-quiz{flex-basis:231px;min-height:231px;max-height:231px;grid-template-rows:46px 100px 4px 48px;gap:5px;padding:7px 20px 8px}.df-question-cue{max-height:100px;font-size:26px}.df-question-cue .df-word-art{width:94px;max-width:94px;max-height:98px}.df-choices{grid-template-columns:repeat(4,1fr);grid-template-rows:1fr}.df-question-head strong{font-size:20px}.df-lives{font-size:17px}}
.df-tucked77>:not(.df-shell-tackle77){visibility:hidden}
.df-tucked77>.df-shell-tackle77{visibility:visible;width:100%;height:80%;top:10%;left:0;object-fit:contain;transform:rotate(-15deg)}
.df-dressed77{position:absolute;inset:0;width:100%;height:100%;transform:scaleX(var(--face,1));pointer-events:none}
.df-dressed77 .gb77-avatar{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important}
.df-dressed77 .gb77-figure{animation:none!important}
.df-actor>.df-shell-tackle77{position:absolute}

/* v80: name above the boss; health and count below, never sharing a row. */
.df-boss>.df-name{top:-23px;bottom:auto;max-width:180px;white-space:nowrap;line-height:16px}
.df-boss .df-monster-health{bottom:-10px}
.df-boss-hp77{bottom:-32px;line-height:14px}
