.lp-surface{
  --lp-ink:#403c48;--lp-line:#887c70;--lp-paper:#f5e7c9;
  position:absolute;z-index:2;inset:auto max(2.4vw,12px) 8% auto;
  width:min(51%,465px);box-sizing:border-box;overflow:hidden;
  padding:clamp(8px,1.9vh,15px);border:2px solid #594e52;border-radius:10px;
  background:linear-gradient(110deg,#e9d9b9,#f4e8ce 62%,#dfccb1);
  box-shadow:inset 0 1px #fff4de,0 3px 0 #4e43586b,0 5px 14px #30253642;
  color:var(--lp-ink);
}
.lp-surface .oe-actions{display:flex;justify-content:stretch;align-items:stretch;flex:1 1 0%;max-width:100%;min-width:0;gap:clamp(3px,.6vw,8px)}
.lp-surface .oe-actions button{
  appearance:none;min-width:0;min-height:44px;box-sizing:border-box;margin:0;padding:3px 4px;
  display:flex;flex:1 1 0%;flex-direction:column;justify-content:center;align-items:center;gap:1px;
  border:1.5px solid var(--lp-line);border-radius:6px;background:#f8eed8;color:#373641;
  box-shadow:0 2px #8e7e6c;font:750 clamp(10px,1.34vw,15px)/1.07 system-ui,sans-serif;text-align:center;
}
.lp-surface .oe-actions button:hover{background:#fff7e8}
.lp-surface .oe-actions button:focus-visible,.lp-surface input:focus-visible{outline:3px solid #116b76;outline-offset:-2px}
.lp-surface .oe-actions button.lp-picked{background:#c5e2bd;border-color:#407568;transform:translateY(1px)}
.lp-surface .oe-actions button:disabled{opacity:.9}
.lp-compare{display:flex;align-items:stretch;gap:clamp(6px,1vw,14px);padding-block:clamp(8px,1.5vh,16px)}
.lp-sample{width:23%;padding-right:clamp(4px,.7vw,11px);border-right:1px dashed #978770;display:flex;flex-direction:column;align-items:center;justify-content:center}
.lp-caption{align-self:center;font:750 clamp(10px,1.24vw,14px)/1.1 system-ui,sans-serif;color:#4a5d5a}
.lp-surface .oe-actions button canvas,.lp-sample canvas{
  display:block;width:100%;height:clamp(44px,14vh,73px);object-fit:contain;max-width:104px
}
.lp-sequence,.lp-light{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:6px;background:linear-gradient(115deg,#d7ad83,#e6c596 62%,#c99d7b)}
.lp-light{background:linear-gradient(115deg,#596e72,#71827d 58%,#536768);--lp-line:#405457}
.lp-surface .lp-drawing{display:block;width:100%;height:clamp(71px,24vh,122px);cursor:pointer}
.lp-surface .oe-actions button.lp-next{border-color:#4e7a6a;background:#dcede0}
.lp-light .oe-actions{align-items:stretch}
.lp-light .oe-aim{flex:1 1 53%;color:#fff1d5;gap:0;justify-content:center;margin:0}
.lp-light .oe-aim input{box-sizing:border-box;margin:0;width:100%;height:44px;accent-color:#b6ead0}
.lp-light .oe-actions .primary{flex:0 1 42%;color:#163c35;background:#a0d9c1;border-color:#3b675c;box-shadow:0 2px #394f50}
.outing-episode:has(.lp-surface) .oe-caption{max-width:100%}
.outing-episode:has(.lp-surface) .oe-line{display:none}
.oe-frame:has(.lp-surface)>.oe-progress{right:auto;left:max(38%,195px)}
@media(max-height:350px){
  .lp-surface{inset:auto max(2vw,10px) 4% auto;width:min(54%,420px);padding:6px 7px}
  .lp-surface .lp-drawing{height:clamp(54px,21vh,75px)}
  .lp-surface .oe-actions button canvas,.lp-sample canvas{height:44px}
}
