/* The registrar's three small shelves sit above the fold on a phone. */
#firstminute{gap:8px;padding:10px 14px 14px;min-height:calc(100dvh - 52px - max(12px,env(safe-area-inset-bottom)));align-items:stretch}
.fm-head{display:flex;align-items:center;justify-content:space-between;min-height:36px}
.fm-quiet{border:0;background:transparent;color:var(--muted);font-size:14px;min-height:44px;padding:0 8px;cursor:pointer}
.fm-premise{font:22px/1.12 Fell,Georgia,serif;margin:0 0 2px}
.fm-object{background:var(--paper);border:1px solid var(--rule);box-shadow:0 4px 8px #2a1f1626;display:flex;align-items:center;justify-content:center;gap:12px;transition:transform .35s,opacity .35s}
.fm-object.fm-lifted{transform:translateY(24px) scale(.65);opacity:0}
.fm-object .fm-art{height:100%;width:112px;object-fit:contain}
.fm-one{height:145px}.fm-two{height:125px}
.fm-small{font:20px Fell,Georgia,serif;color:var(--muted)}
.fm-drawers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fm-drawers.fm-single{grid-template-columns:1fr}.fm-drawers.fm-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.fm-drawer{min-width:0;min-height:72px;display:grid;grid-template-columns:75px 1fr;align-items:center;gap:5px;padding:4px;background:var(--oak);border:3px solid var(--edge);border-radius:3px;color:var(--brass);cursor:pointer;position:relative}
.fm-drawer:disabled{cursor:default}.fm-era{display:grid;place-items:center;min-height:48px;background:var(--brass);color:var(--ink);font:20px Fell,Georgia,serif}
.fm-slot{height:54px;min-width:0;overflow:hidden;background:var(--oak2);display:grid;place-items:center;border:1px solid #b18a4866}.fm-slot img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;background:var(--paper)}
.fm-cue .fm-slot,.fm-tempt .fm-slot{border:2px solid #f3c85e;box-shadow:0 0 0 3px #f3c85e55;animation:fm-pulse 1.6s ease-in-out infinite}
.fm-tempt .fm-era{filter:brightness(1.2)}.fm-correct .fm-slot{box-shadow:0 0 0 3px #e8d59d}
.fm-wrong .fm-slot{border:3px solid var(--seal);box-shadow:0 0 0 2px #ad392a88}
.fm-copy{margin:0;min-height:30px;font:18px/1.2 Fell,Georgia,serif;animation:fm-appear .38s .55s both}.fm-copy.fm-now{animation-delay:.3s}.fm-copy.fm-wait{min-height:22px}
.fm-single:after,.fm-tempt:after,.fm-cue:after{content:'☝';position:absolute;right:20px;bottom:-28px;font-size:32px;transform:rotate(-20deg);pointer-events:none;animation:fm-nudge 1.4s ease-in-out infinite}
.fm-single{position:relative}.fm-single:after{right:30px;bottom:-34px}.fm-three:after{content:none}
.fm-glove{display:grid;grid-template-columns:34px 85px 1fr auto;align-items:center;gap:7px;background:var(--paper);border-left:3px solid var(--brassEdge);padding:5px;min-height:82px;animation:fm-appear .35s both}
.fm-glove img{width:80px;height:72px;object-fit:contain}.fm-glove-icon{font-size:27px;color:var(--oak)}.fm-glove span:not(.fm-glove-icon){font-size:14px}.fm-arrow{color:var(--seal);font-weight:700}
#fm-undo,#fm-next{width:100%}
.fm-tray{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.fm-tile{min-width:0;height:92px;background:var(--paper);border:2px solid var(--rule);padding:3px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;cursor:pointer}
.fm-tile .fm-art{width:100%;height:80px;object-fit:contain}.fm-tile span{font-size:12px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;text-align:center}
.fm-tile.fm-selected{border-color:var(--seal);box-shadow:0 0 0 2px #ad392a55}.fm-tile.fm-on-shelf{opacity:.5}
.fm-three .fm-drawer{grid-template-columns:1fr;grid-template-rows:34px 40px;min-height:85px;gap:2px}.fm-three .fm-era{min-height:30px;font-size:19px}.fm-three .fm-slot{height:40px}
.fm-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.fm-bottom .btn{min-height:44px;padding-inline:10px}.fm-bottom .btn:disabled{opacity:.5}.fm-score{font:19px Fell,Georgia,serif}.fm-feedback{margin:0;min-height:18px;font-size:15px;color:var(--muted)}
.fm-howpics{overflow:hidden}.fm-howpics img{animation:fm-look 2.8s ease-in-out infinite alternate}.fm-howpics img+img{animation-delay:1.3s}.fm-first-card .howlines{padding-left:0;list-style:none;font:20px/1.2 Fell,Georgia,serif}.fm-first-card .howcard{padding:12px}.fm-how-more{font-size:14px;margin:0 0 10px}.howcard #fm-replay{display:block;width:100%;margin-top:6px}
@keyframes fm-pulse{50%{box-shadow:0 0 0 6px #f3c85e88}}@keyframes fm-nudge{50%{transform:translateY(-8px) rotate(-20deg)}}@keyframes fm-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes fm-look{to{transform:scale(1.06) rotate(1deg)}}
@media(max-width:360px){#firstminute{padding:6px 8px;gap:5px}.fm-premise{font-size:19px}.fm-one{height:112px}.fm-two{height:105px}.fm-drawer{grid-template-columns:48px 1fr;min-height:64px}.fm-era{font-size:17px;min-height:42px}.fm-slot{height:47px}.fm-glove{grid-template-columns:24px 65px 1fr auto;min-height:64px}.fm-glove img{width:63px;height:57px}.fm-glove span:not(.fm-glove-icon){font-size:12px}.fm-tile{height:78px}.fm-tile .fm-art{height:66px}.fm-tile span{font-size:11px}.fm-three .fm-drawer{min-height:72px;grid-template-rows:27px 33px}.fm-three .fm-era{font-size:17px;min-height:26px}.fm-three .fm-slot{height:33px}.fm-copy{font-size:17px}}
@media(prefers-reduced-motion:reduce){.fm-copy,.fm-glove,.fm-howpics img{animation:none}.fm-cue .fm-slot,.fm-tempt .fm-slot{animation:none}.fm-single:after,.fm-tempt:after,.fm-cue:after{animation:none}}

html[lang|="zh"] .mount.empty:after{content:"請選一件文物"}
