/* A lightweight demonstration at the table; real parties live in /play/. */
.home-play{--hp-ink:#30433e;--hp-green:#527361;--hp-orange:#c8753b;color:var(--hp-ink)}
.hp-table{display:grid;grid-template-columns:minmax(245px,.85fr) minmax(0,1.4fr);gap:0;border:1px solid #adb69b;border-radius:24px;background:#fbf3e2;box-shadow:0 12px 0 #c6c8ac30;overflow:hidden;position:relative}
.hp-choose{padding:30px;border-right:1px dashed #b6bea5;background:radial-gradient(ellipse at 50% 22%,#ecd8ad66,transparent 65%),#f1eddc}
.hp-step{display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:.3px;color:#64785c;margin:0}
.hp-step>span{width:25px;height:25px;border:1px solid #9daa89;border-radius:44% 53% 46% 50%;display:grid;place-items:center;font:20px Neucha;flex:none;color:#596e54}
.hp-roll{background:none;display:block;width:100%;padding:15px 0 0;cursor:pointer;color:var(--hp-ink);border:0}
.hp-dice-stage{--die-size:78px;display:block;width:var(--die-size);height:var(--die-size);perspective:650px;margin:26px auto 34px;position:relative;isolation:isolate;overflow:visible}
.hp-dice-stage:after{content:'';position:absolute;z-index:-1;left:-20%;right:-20%;height:18px;bottom:-28px;background:radial-gradient(ellipse,#61745f38,transparent 70%);transform:scaleY(.5);pointer-events:none}
.hp-roll-label{display:inline-flex;align-items:center;gap:16px;font:30px Neucha}.hp-roll-label b{font-weight:400;color:#b6763b;display:inline-block;transition:transform .2s}.hp-roll:hover .hp-roll-label b{transform:translate(5px,-4px)}
.hp-in-view .hp-roll:not(:disabled) .table-dice{animation:hp-die-breathe 7s ease-in-out infinite}.hp-rolling .hp-roll .table-dice{animation:none!important}.hp-roll:disabled{cursor:wait}.hp-die-fallback{display:grid;place-items:center;font:58px Neucha;border:1px solid #6a7d65;border-radius:13px;width:78px;height:78px;background:#fff3d8}
.hp-groups{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:25px}.hp-groups>button{display:flex;gap:9px;align-items:center;text-align:left;padding:9px 8px;background:#faf5e7;border:1px solid #bdc6ad;border-radius:10px;color:#566b50;font-size:11px;line-height:1.3;min-height:47px;transition:transform .2s,background .2s}
.hp-groups>button:hover{background:#fff9ea;transform:translateY(-3px)}.hp-groups>button[aria-pressed=true]{border-color:#74956c;background:#dfe8d1;box-shadow:inset 0 0 0 1px #93ad864d}.hp-groups>button:disabled{cursor:wait}
.hp-group-die{display:block;position:relative;width:25px;height:25px;border:1px solid #91a17f;background:#fdf4db;border-radius:5px;flex:none}.hp-group-die .table-die-pips{inset:20%;gap:15%}.hp-group-die .table-die-pips>i.is-pip{box-shadow:none;background:#526c56}.hp-disclaimer{font-size:10px;line-height:1.65;color:#819076;margin:20px 0 0}
.hp-example{min-width:0;padding:30px 36px;display:flex;flex-direction:column;gap:18px}.hp-card{min-height:325px}.hp-card-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px}.hp-selected-symbol{display:grid;grid-template-columns:36px 1fr;column-gap:10px;font:22px Neucha;align-items:center}.hp-selected-symbol>img{grid-row:span 2;width:36px}.hp-selected-symbol small{font:9px/1.4 Arial,sans-serif;color:#8b967e}.hp-card-value{font:23px Neucha;color:#b16f3d;white-space:nowrap;text-align:right}.hp-card-value small{display:block;font:10px/1.7 Arial,sans-serif;color:#7a886c}.hp-card h3{font:clamp(32px,3vw,43px)/1.07 Neucha;margin:22px 0 10px;color:var(--hp-ink)}.hp-rule{font-size:12px;line-height:1.65;color:#758466;max-width:480px;margin:0}
.hp-target{background:#fffaf0;border:1px solid #d9d2b6;border-radius:3px 15px 4px 12px;padding:20px 23px;margin-top:23px;box-shadow:3px 5px 0 #d5caa020}.hp-target>span{text-transform:uppercase;letter-spacing:1.5px;color:#9c865e;font-size:8px;display:block;margin-bottom:10px}.hp-target>strong{display:block;font:clamp(25px,2.4vw,34px)/1.12 Neucha;font-weight:400;color:#3e5e4c}.hp-target ul{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0 0;padding:0;list-style:none}.hp-target li{border:1px dashed #bac7a6;border-radius:6px;padding:6px 9px;color:#657e55;font-size:11px}.hp-target>p{font-size:11px;line-height:1.65;margin-top:12px;color:#7c866c}.hp-target>p b{font-weight:400;color:#a27342}.hp-target .hp-role-example{font-style:italic;border-top:1px dashed #d5d8be;padding-top:10px;font-size:10px}
.hp-result{margin-top:auto}.hp-success{width:100%;justify-content:space-between;font-size:12px;min-height:48px}.hp-success:disabled{cursor:default;opacity:.6}.hp-result-note{font-size:10px;color:#8a937b;line-height:1.6;margin:11px 0 0}.hp-partial{margin-bottom:14px}.hp-partial label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#758267}.hp-partial select{border:1px solid #b9c2a3;background:#fff9eb;color:#52694d;padding:7px;border-radius:6px;max-width:155px;font-size:11px}
.hp-path-panel{grid-column:1/-1;padding:27px 32px 22px;border-top:1px solid #c1c9ae;background:#edf0df}.hp-path-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.hp-total{display:flex;align-items:center;gap:10px;margin:0;color:#657b57}.hp-total strong{font:38px/1 Neucha;color:#b17540;min-width:35px;text-align:right}.hp-total span{font-size:10px;max-width:45px;line-height:1.5}
.hp-path{height:176px;position:relative;margin:13px 6px 0;isolation:isolate}.hp-trail{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.hp-trail path{fill:none;stroke-linecap:round}.hp-trail-paper{stroke:#fff8df;stroke-width:18}.hp-trail-ink{stroke:#91a583;stroke-width:1.4;stroke-dasharray:4 6}.hp-stop{position:absolute;transform:translate(-50%,-50%);width:37px;height:37px;display:grid;place-items:center;border:1px solid #a3b292;border-radius:46% 51% 45% 52%;background:#faf4dc;transition:background .3s,box-shadow .3s}.hp-stop>img{width:23px}.hp-stop small{position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);font:14px Neucha;white-space:nowrap;color:#879274}.hp-stop.hp-passed{background:#dce5cd}.hp-stop.hp-current{box-shadow:0 0 0 5px #c8753b20;border-color:#bf8a55}.hp-pawn{position:absolute;width:65px;height:65px;transform:translate(-50%,-88%);z-index:2;transition:left .32s cubic-bezier(.2,.65,.3,1),top .32s cubic-bezier(.2,.65,.3,1);pointer-events:none}.hp-pawn>img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 2px #50624525)}.hp-is-busy .hp-pawn>img{animation:hp-pawn-step .36s ease-in-out infinite}.hp-gain{position:absolute;top:-15px;right:-15px;border:1px solid #c38e57;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;background:#f4d7a1;color:#986435;font:23px Neucha}
.hp-path-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.hp-feedback{font:20px/1.3 Neucha;color:#577050;margin:0;max-width:650px;min-height:52px}.hp-reset{font-size:10px;flex:none;white-space:nowrap;margin-top:4px;color:#7f8d6e}.hp-next{display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:1px dashed #bdc8a9;margin-top:15px;padding-top:17px}.hp-next>span{font-size:10px;line-height:1.65;color:#88977b;max-width:460px}.hp-next>a{font-size:11px;white-space:nowrap}.hp-roll:focus-visible,.hp-groups button:focus-visible,.hp-success:focus-visible,.hp-reset:focus-visible,.hp-next>a:focus-visible{outline:2px solid #d2914f;outline-offset:5px}
@keyframes hp-die-breathe{0%,65%,100%{transform:rotateX(-23deg) rotateY(-31deg) rotateZ(-3deg)}78%{transform:translateY(-7px) rotateX(-32deg) rotateY(-12deg) rotateZ(3deg)}90%{transform:translateY(-2px) rotateX(-18deg) rotateY(-36deg) rotateZ(-4deg)}}
@keyframes hp-pawn-step{0%,100%{transform:translateY(0) rotate(-5deg)}45%{transform:translateY(-8px) rotate(5deg)}}
@media(max-width:900px){.hp-choose{padding:25px 20px}.hp-example{padding:25px}.hp-groups{grid-template-columns:1fr}.hp-groups>button{min-height:36px}.hp-card-top{gap:9px}.hp-card-value{font-size:20px}.hp-selected-symbol{font-size:20px}.hp-path-panel{padding-inline:25px}.hp-next{align-items:flex-start}.hp-next>a{white-space:normal;max-width:200px}}
@media(max-width:650px){.hp-table{grid-template-columns:1fr;border-radius:18px}.hp-choose{border-right:0;border-bottom:1px dashed #b6bea5;padding:22px}.hp-roll{display:flex;align-items:center;justify-content:center;gap:27px;padding:9px 0 11px}.hp-dice-stage{--die-size:53px;margin:22px 12px 18px}.hp-roll-label{font-size:27px}.hp-dice-stage:after{bottom:-21px}.hp-groups{grid-template-columns:1fr 1fr;margin-top:12px;gap:6px}.hp-groups>button{font-size:10px;min-height:40px;padding:7px;gap:8px}.hp-group-die{width:22px;height:22px}.hp-disclaimer{font-size:9px;margin-top:15px}.hp-example{padding:23px 22px}.hp-card{min-height:0}.hp-card h3{font-size:34px}.hp-card-top{margin-top:19px}.hp-rule{font-size:11px}.hp-selected-symbol{grid-template-columns:30px 1fr;font-size:20px;column-gap:7px}.hp-selected-symbol>img{width:30px}.hp-selected-symbol small{font-size:8px;max-width:115px}.hp-card-value{font-size:21px}.hp-card-value small{font-size:9px}.hp-target{padding:17px;margin-top:19px}.hp-target>strong{font-size:29px}.hp-target li{font-size:10px;padding:5px 7px}.hp-target>p{font-size:10px}.hp-partial label{font-size:10px}.hp-step{font-size:11px}.hp-path-panel{padding:22px 17px 20px}.hp-path-heading{gap:8px}.hp-path-heading .hp-step{font-size:10px;gap:7px;max-width:190px}.hp-total{gap:7px}.hp-total strong{font-size:34px}.hp-total span{font-size:9px}.hp-path{height:152px;margin-inline:0}.hp-stop{width:25px;height:25px}.hp-stop>img{width:17px}.hp-stop small{font-size:11px;top:calc(100% + 7px)}.hp-pawn{width:47px;height:47px}.hp-gain{width:28px;height:28px;font-size:19px;right:-10px;top:-16px}.hp-path-foot{display:block}.hp-feedback{font-size:20px;min-height:54px}.hp-reset{margin-top:12px;font-size:10px}.hp-next{display:block;margin-top:18px;padding-top:15px}.hp-next>a{display:block;margin-top:14px;max-width:none}.hp-result-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){.hp-roll .table-dice,.hp-pawn>img{animation:none!important}.hp-pawn,.hp-groups>button,.hp-stop,.hp-roll-label b{transition:none!important}}
