/* The quest screen is a white jade hu, surrounded by the approved red/gold UI. */
#game-viewport .hu-entry {pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:4px;padding:3px 7px;min-height:34px;color:var(--light);background-image:var(--palace-red);font-size:16px;z-index:9}
.hu-entry img {width:15px;height:30px;object-fit:contain;pointer-events:none}
.hu-entry span {white-space:nowrap}
#game-viewport .game-hud>span {min-width:0;max-width:calc(100% - 158px)}
#game-viewport .game-hud:not(:has(.hu-hud))>span {max-width:calc(100% - 82px)}
#game-viewport .hu-hand {position:absolute;right:-17px;top:36%;background:transparent;border:0;border-image:none;box-shadow:none;width:25px;min-height:42px;padding:0;filter:drop-shadow(1px 2px 1px #2115)}
#game-viewport .hu-hand img {position:static;width:19px;height:43px;max-width:none;object-fit:contain;border:0}
.hu-hand span {display:none}
#game-viewport .hu-home {position:absolute;left:38%;top:51%;font-size:16px}
#game-viewport.landscape .hu-home {left:57%;top:48%;font-size:15px}
#game-viewport .hu-hud {margin-left:auto;font-size:16px;min-width:0}
#game-viewport .quest-modal {max-width:324px;max-height:96%;background:transparent;border:0;box-shadow:none;overflow:visible}
#game-viewport .quest-modal::after {display:none}
#game-viewport .quest-modal .modal-head {border:0;background:transparent;padding:0 5px 5px 0;min-height:36px;justify-content:flex-end}
.quest-modal .modal-head h2 {display:none}
#game-viewport .quest-modal .modal-body {padding:0;background:none;overflow:auto;border-radius:46% 46% 9% 9% / 30px 30px 10px 10px;scrollbar-width:thin;scrollbar-color:#9aaa99 #eff1e6}
.jade-board {min-height:590px;padding:43px 23px 35px;border:2px solid #bac8ba;border-radius:46% 46% 9% 9% / 30px 30px 10px 10px;background:radial-gradient(ellipse at 20% 16%,#fffef6bb,transparent 55%),linear-gradient(95deg,#d9e2d8,#fafcf0 13%,#f4f7ed 75%,#d1dbcf);box-shadow:inset 4px 0 12px #fffef8,inset -5px 0 12px #97ad8c55;color:#292e28}
#game-viewport .jade-board h3 {margin:0 0 13px;text-align:center;font-size:29px;letter-spacing:5px;color:#30372e}
#game-viewport .hu-instruction {font-size:17px;line-height:1.6;color:#65705f;padding-bottom:15px;border-bottom:1px solid #a8b39c;margin-bottom:8px}
.hu-task {position:relative;padding:16px 0;border-bottom:1px solid #bcc5b27a}
.hu-task-title {display:flex;align-items:baseline;gap:5px;justify-content:space-between}
.hu-task-title strong {font-size:23px;line-height:1.4}
.hu-task-title>span {flex:none;font-size:15px;color:#786343}
.hu-task p {font-size:18px;line-height:1.65;margin:8px 0 4px}
.hu-task>small {font-size:16px;color:#626e59}
.hu-task.done .hu-task-title strong {color:#66725b}
.hu-task.missed .hu-task-title strong {color:#817366}
#game-viewport .hu-task>button {display:block;margin:8px 0 0 auto;min-height:30px;padding:3px 12px;font-size:17px;background:#e7ecde;border-image:none;border:1px solid #a3b19a;color:#4d5d43;box-shadow:none}
.hu-empty {font-size:21px;line-height:1.8;margin:30px 0}
#game-viewport.landscape .quest-modal {max-width:344px;max-height:97%}
#game-viewport.landscape .quest-modal .modal-head {min-height:30px;padding:0 5px 3px 0}
#game-viewport.landscape .jade-board {padding:28px 22px;min-height:590px}
#game-viewport.landscape .hu-hud {font-size:15px;min-height:30px}
#game-viewport.landscape .hu-hand {top:26%;right:-14px}
