.paper-icon{width:36px;height:36px;object-fit:contain;vertical-align:middle;flex-shrink:0}.product-skill .paper-icon{width:44px;height:44px}.specialty-options .paper-icon{float:left;margin-right:6px}.paper-feedback{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #b99a60;background:#f5e6c9;color:#293d46;box-shadow:2px 3px 0 #172c3933;animation:paper-stamp .38s ease-out}.paper-feedback .paper-icon{width:56px;height:56px}.paper-toast{position:fixed;z-index:1000;left:50%;bottom:18px;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 24px);pointer-events:none;font-size:15px}.paper-event,.paper-status{position:absolute;z-index:8;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;pointer-events:none;width:104px}.paper-event{animation:paper-stamp .38s ease-out}.paper-event .paper-icon{width:52px;height:52px;filter:drop-shadow(1px 2px 1px #132d4566)}.paper-event small,.paper-status small{font:700 12px/1.3 sans-serif;color:#263d49;background:#f9edda;border:1px solid #af9057;border-radius:3px;padding:2px 4px;text-align:center;max-width:104px}.paper-status{z-index:7;transform:translate(-50%,-95%);width:80px}.paper-status .paper-icon{width:30px;height:30px}.paper-status small{font-size:11px}.arena{overflow:hidden}.box.fx-subject{z-index:6;opacity:1}.fx-deploy{animation:box-place .45s ease-out}.fx-box_hit{animation:box-block .45s ease-out}.fx-hooked{animation:box-hook .7s ease-in forwards}.fx-broken{animation:box-break .7s ease-in forwards}.fx-rescue,.fx-swap{filter:drop-shadow(0 0 4px #d7bc7b)}.fx-freeze{outline:3px double #cbb17c;outline-offset:3px}.arena[data-event="cast"] .fx path{stroke:#cfb36f;stroke-dasharray:5 2;animation:line-cast .5s ease-out}.arena[data-event="freeze"]{box-shadow:inset 0 0 45px #d6bd7c66}.result-paper .paper-feedback{margin-bottom:10px}.result-paper.win .paper-feedback{border-color:#b78e36}.duel-fx{margin:8px auto;max-width:280px}.duel-fx .paper-icon{width:42px;height:42px}.skill-icon{display:none!important}
@keyframes paper-stamp{from{opacity:.3;scale:1.3;rotate:-9deg}to{opacity:1;scale:1;rotate:0deg}}@keyframes box-place{from{translate:0 -28px;scale:.7}to{translate:0 0;scale:1}}@keyframes box-block{30%{rotate:-8deg;scale:1.15}65%{rotate:6deg}}@keyframes box-hook{to{translate:30px -80px;rotate:-25deg;opacity:0}}@keyframes box-break{to{translate:0 24px;rotate:16deg;scale:.7;opacity:0}}@keyframes line-cast{from{stroke-dashoffset:50}to{stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.paper-feedback,.paper-event,.fx-subject,.arena .fx path{animation:none!important}.unit{transition:none!important}.box.removed{opacity:0!important}}@media(max-width:350px){.paper-event .paper-icon{width:44px;height:44px}.paper-event{width:94px}.paper-toast .paper-feedback{padding:7px;font-size:13px}}

#detail-body .paper-icon{width:36px!important;height:36px!important;object-fit:contain;margin:0 6px 0 0!important}.emotion-mark:after{display:none}.paper-status{margin-left:28px}.paper-event{z-index:16}.box.fx-hooked{animation:box-hook .7s ease-in forwards}.box.fx-broken{animation:box-break .7s ease-in forwards}

/* HISTORY-RECOVERY-UI-01: transient feedback takes space, never covers controls. */
#app .paper-toast{position:static;display:block;transform:none;translate:none;inset:auto;z-index:auto;width:100%;max-width:100%;margin:10px 0;pointer-events:none;overflow-wrap:anywhere}
#app .paper-toast .paper-feedback{animation:none;min-width:0}
#app .paper-toast strong{min-width:0}
.is-finale #app .paper-toast{display:block}
.shell #notice.purchase-feedback{position:static;transform:none;inset:auto;width:100%;max-width:100%;margin:8px 0;padding:10px 14px;pointer-events:none}
.shell .leaderboard-startup{position:static;transform:none;inset:auto;width:100%;max-width:100%;margin:8px 0;pointer-events:none}
.guard-manager-line{position:absolute;left:15%;right:15%;top:35%;padding:8px;background:#f5e6c9;color:#293d46;pointer-events:none;text-align:center}
/* The playfield menu occupies the top-right corner; leave its existing row free. */
.is-playfield .shell #notice.purchase-feedback{margin-top:56px}
.is-playfield #notice:empty + .leaderboard-startup{margin-top:56px}
