.ly-page {
  --ly-serif:"Songti TC","LiSong Pro","Noto Serif TC","PMingLiU",serif;
  --ly-gold:#efd69d;
  color:#402b23;background:#fcf7ed;min-height:100%;font-size:.9rem;
}
.ly-court {
  position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;
  padding:1.2rem 1.45rem .92rem;color:#efe3cd;
  background:radial-gradient(ellipse at 52% 39%,#514333 0%,#302a24 32%,#201e1c 61%,#191918 100%);
  border-bottom:1px solid #ac8b58;
}
.ly-court::before {
  content:"";position:absolute;inset:0;z-index:-1;opacity:.46;pointer-events:none;
  background:linear-gradient(118deg,transparent 5%,#e4bf8333 6%,transparent 20%,transparent 74%,#c49f6312 83%,transparent 91%);
}
.ly-pack-header {align-self:stretch;display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;}
.ly-brand {color:#dbbc80;font-size:.64rem;font-weight:570;letter-spacing:.18em;}
.ly-court h1 {margin:.18rem 0 0;color:#f7e8c9;font:650 1.92rem/1.2 var(--ly-serif);letter-spacing:.06em;}
.ly-issue {white-space:nowrap;display:flex;align-items:baseline;gap:.33rem;border-bottom:1px solid #a28758a3;padding-bottom:.15rem;color:#ccba9a;font-size:.67rem;}
.ly-issue b {color:#eddbb5;font:500 1.08rem/1.2 Georgia,serif;letter-spacing:.055em;font-variant-numeric:tabular-nums;}
.ly-pack-stage {
  position:relative;isolation:isolate;display:grid;place-items:center;align-self:stretch;
  height:clamp(13.3rem,34svh,19.6rem);margin:.35rem 0 .4rem;
}
.ly-pack-stage::before {
  content:"";pointer-events:none;position:absolute;inset:4% 1% 0;opacity:.75;
  background:radial-gradient(ellipse at center,#f2c77222 0,transparent 63%);
}
.ly-floor {position:absolute;left:27%;right:27%;height:8%;bottom:0;border-radius:50%;background:radial-gradient(ellipse, #070605a6,transparent 72%);filter:blur(.16rem);}
.ly-pack-unit {
  position:relative;height:94%;aspect-ratio:.57;max-width:75%;isolation:isolate;
  --seam:15.5%;--pull:0deg;--trace:0%;--foil-line:polygon(0 0,100% 0,100% 15.5%,95% 15.7%,89% 15%,81% 15.8%,73% 15.4%,66% 15.8%,59% 15.1%,48% 15.7%,39% 15.2%,30% 15.9%,23% 15.1%,15% 15.6%,8% 15.2%,0 15.5%);
}
.ly-pack-skin {position:absolute;inset:0;z-index:2;pointer-events:none;filter:drop-shadow(.18rem .5rem .47rem #0807078c);}
.ly-pack-skin img {position:absolute;inset:0;width:100%;height:100%;object-fit:fill;user-select:none;-webkit-user-drag:none;}
.ly-pack-bottom {clip-path:polygon(0 15.35%,8% 15.05%,15% 15.45%,23% 14.95%,30% 15.75%,39% 15.05%,48% 15.55%,59% 14.95%,66% 15.65%,73% 15.25%,81% 15.65%,89% 14.85%,95% 15.55%,100% 15.35%,100% 100%,0 100%);}
.ly-pack-top {clip-path:var(--foil-line);transform-origin:92% 15.5%;transition:transform .16s ease-out;}
.ly-page[data-phase="live"] .ly-pack-skin {animation:ly-float 2.9s ease-in-out infinite;}
@keyframes ly-float {0%,30%,85%,100%{transform:translateY(0) rotate(-1deg);}55%{transform:translateY(-2.5%) rotate(.7deg);}71%{transform:translateY(-.6%) rotate(-.45deg);}}
.ly-page .ly-seam {
  position:absolute;z-index:4;left:-6%;width:112%;top:var(--seam);transform:translateY(-50%);height:3.25rem;
  display:none;align-items:center;justify-content:center;background:transparent;touch-action:none;cursor:ew-resize;
}
.ly-page .ly-seam:active {transform:translateY(-50%);}
.ly-page[data-phase="ready"] .ly-seam {display:flex;}
.ly-seam-track {position:relative;display:block;width:90%;height:1px;border-top:1px dashed #ffdf9bca;filter:drop-shadow(0 0 .26rem #e4b564);}
.ly-seam-track b {position:absolute;left:0;top:0;width:1.65rem;height:1.65rem;color:#fff6df;border:1px solid #e8c881;background:#8a704aaa;backdrop-filter:blur(3px);border-radius:50%;display:grid;place-items:center;animation:ly-guide 2.15s ease-in-out infinite;}
.ly-seam-track svg {width:1.1rem;height:1.1rem;}
@keyframes ly-guide {0%{left:0;opacity:0;transform:translate(-50%,-50%);}17%{opacity:.96;}75%{opacity:.96;}94%,100%{left:100%;opacity:0;transform:translate(-50%,-50%);}}
.ly-rip-light {pointer-events:none;position:absolute;left:0;top:var(--seam);width:var(--trace);height:2px;opacity:.95;background:linear-gradient(90deg,#ffedb3,#fffef1);box-shadow:0 0 .45rem #f8c979;}
.ly-pack-unit[data-direction="left"] .ly-rip-light {left:auto;right:0;}
.ly-pack-unit.is-dragging .ly-pack-top {transform:rotate(var(--pull));}
.ly-pack-unit.is-dragging .ly-seam-track {opacity:.23;}
.ly-flecks {position:absolute;left:0;right:0;height:1px;top:var(--seam);z-index:5;pointer-events:none;}
.ly-flecks i {position:absolute;left:var(--x);width:3px;height:4px;background:#ffedbc;opacity:0;}
.ly-page[data-phase="tearing"] .ly-flecks i {animation:ly-flecks .62s ease-out both;}
@keyframes ly-flecks {12%{opacity:.95;}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(140deg);}}
.ly-page[data-phase="tearing"] .ly-pack-top {animation:ly-rip .46s cubic-bezier(.25,.58,.6,1) both;}
@keyframes ly-rip {0%{transform:rotate(var(--pull));}30%{transform:translate(5%,-2%) rotate(5deg);}100%{transform:translate(59%,-24%) rotate(29deg);opacity:0;}}
.ly-page[data-phase="tearing"] .ly-rip-light {animation:ly-flash .53s ease-out both;}
@keyframes ly-flash {0%{width:0;opacity:1;}65%{width:100%;opacity:1;}100%{width:100%;opacity:0;}}
.ly-page[data-phase="extracting"] .ly-pack-top,.ly-page:is([data-phase="cards"],[data-phase="complete"],[data-phase="finishing"]) .ly-pack-skin {visibility:hidden;}
.ly-page[data-phase="extracting"] .ly-pack-bottom {animation:ly-sleeve .87s ease-in both;}
@keyframes ly-sleeve {0%,18%{transform:translateY(0);}75%{opacity:1;}100%{transform:translateY(78%) rotate(7deg);opacity:0;}}
.ly-stack,.ly-card-spot {position:absolute;inset:9% -2% 1%;z-index:1;pointer-events:none;}
.ly-stack {visibility:hidden;perspective:600px;}
.ly-stack i {position:absolute;inset:0;border-radius:.6rem;border:1px solid #c8ad70;background:linear-gradient(122deg,#d5bc7f,#695736 3%,#28342d 4%,#17251c 95%,#c1a26a);box-shadow:0 .11rem .32rem #14100c88,inset 0 0 0 3px #292f25,inset 0 0 0 4px #a98f54;}
.ly-stack i::after {content:"";position:absolute;inset:10%;border:1px solid #a68c5473;background:repeating-linear-gradient(42deg,transparent 0 5px,#c3a05f1c 5px 6px),repeating-linear-gradient(-42deg,transparent 0 5px,#c3a05f1c 5px 6px);}
.ly-stack i:nth-child(2) {transform:translate(3.3%,-1.8%) rotate(3deg);}
.ly-stack i:nth-child(3) {transform:translate(-4.6%,-2.3%) rotate(-4.1deg);}
.ly-stack i:nth-child(4) {transform:translate(6.2%,-3.1%) rotate(5.7deg);}
.ly-stack[data-count="1"] i:nth-child(n+2),.ly-stack[data-count="2"] i:nth-child(n+3),.ly-stack[data-count="3"] i:nth-child(n+4),.ly-stack[data-count="0"] i {display:none;}
.ly-page:is([data-phase="extracting"],[data-phase="cards"],[data-phase="complete"],[data-phase="finishing"]) .ly-stack {visibility:visible;}
.ly-page[data-phase="extracting"] .ly-stack {animation:ly-extract .94s cubic-bezier(.2,.67,.25,1) both;}
@keyframes ly-extract {0%{transform:translateY(12%) scale(.85);opacity:0;}14%{opacity:1;}65%{transform:translateY(-12%) scale(.98) rotate(-4deg);}100%{transform:translateY(0) scale(1);}}
.ly-card-spot {z-index:3;perspective:600px;}
.ly-card-face {
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:.72rem .67rem .96rem;
  border:1px solid #e2c787;border-radius:.6rem;text-align:center;
  color:#704815;background:radial-gradient(ellipse at 26% 23%,#fff3d8,transparent 58%),linear-gradient(145deg,#f6ddb2,#ead09a 55%,#fff0d0);
  box-shadow:inset 0 0 0 3px #eed2a1,inset 0 0 0 4px #ac8e59,0 .17rem .5rem #070503a1;
  animation:ly-flip .38s cubic-bezier(.22,.66,.26,1) both;
}
@keyframes ly-flip {from{transform:translate(-5%,3%) rotateY(-63deg) rotateZ(-3deg);opacity:.42;}to{transform:none;opacity:1;}}
.ly-card-edge {align-self:stretch;display:flex;justify-content:space-between;gap:.22rem;color:#81642e;font:600 .59rem/1.1 Georgia,serif;letter-spacing:.1em;}
.ly-card-emblem {display:grid;place-items:center;width:72%;aspect-ratio:1;border-radius:50%;border:1px solid #ad8f5b70;background:radial-gradient(circle,#ffefcd,#c0a36c25 66%,transparent 68%);box-shadow:0 0 0 4px #d3b88422;}
.ly-card-prize {display:block;width:80%;height:80%;object-fit:contain;border-radius:.45rem;}
.ly-card-caption {max-width:100%;display:grid;gap:.22rem;color:#56351c;line-height:1.2;}
.ly-card-caption small {font-size:.64rem;letter-spacing:.2em;}
.ly-card-caption strong {font:680 1.19rem/1.22 var(--ly-serif);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.ly-card-face.is-blank {color:#555c58;background:linear-gradient(135deg,#efeee6,#cdcfc5 75%,#e3e6dc);border-color:#bdc0b6;box-shadow:inset 0 0 0 3px #d7d9cf,inset 0 0 0 4px #a1a594,0 .17rem .5rem #070503a1;}
.is-blank .ly-card-emblem {border-color:#a3a99a;background:radial-gradient(circle,#e8eadd,#b8bdae80);box-shadow:0 0 0 4px #c4c9ba66;}
.is-blank .ly-card-emblem svg {width:50%;color:#737f70;}
.is-blank .ly-card-edge,.is-blank .ly-card-caption {color:#515c50;}
.ly-round-line,.ly-progress,.ly-stakes,.ly-page button.ly-join {width:min(100%,22rem);}
.ly-round-line {display:flex;justify-content:space-between;align-items:baseline;gap:1rem;color:#cbbda6;font-size:.78rem;}
.ly-round-status {font-size:.76rem;font-weight:450;font-variant-numeric:tabular-nums;color:#bfae91;}
.ly-round-status strong {font:550 1.2rem/1.1 Georgia,serif;color:#ffeac1;}
.ly-progress {background:#78706565;height:3px;border-radius:3px;margin:.44rem 0 .78rem;overflow:hidden;}
.ly-progress i {display:block;width:100%;height:100%;transform-origin:left;transform:scaleX(0);transition:transform .3s;background:linear-gradient(to right,#b99556,#f4dea3);}
.ly-page button.ly-join {
  min-height:2.75rem;border-radius:.45rem;display:block;padding:.47rem .75rem;
  background:linear-gradient(104deg,#e3c287,#f5e1ae 49%,#d9b87d);color:#32271b;font-size:.96rem;font-weight:670;
  border:1px solid #fae6b2;box-shadow:0 .16rem .6rem #120f0c4d;
}
.ly-page button.ly-join:disabled {opacity:.67;cursor:default;}
.ly-just-joined .ly-join {animation:ly-join .45s ease-out;}
@keyframes ly-join {45%{filter:brightness(1.14);transform:scale(1.015);}}
.ly-announcement {margin:0 0 .48rem;color:#f6dfab;font-size:.8rem;text-align:center;}
.ly-announcement:empty {display:none;}
.ly-stakes:not([hidden]) {display:flex;align-items:center;justify-content:space-between;gap:.4rem;margin:0 0 .58rem;font-size:.76rem;color:#ddd1be;}
.ly-stepper {display:flex;align-items:center;border:1px solid #85765f99;border-radius:.28rem;background:#1d1c1b;}
.ly-page .ly-stepper button,.ly-stepper select {display:grid;place-items:center;min-width:2rem;height:1.95rem;background:transparent;color:#f4dfb0;font:inherit;}
.ly-page .ly-stepper button {font-size:1.1rem;}
.ly-stepper button:disabled {opacity:.4;}
.ly-stepper select {appearance:none;border:0;border-inline:1px solid #85765f55;border-radius:0;text-align:center;text-align-last:center;width:3rem;}
.ly-stepper option {color:#28231a;background:#f7f1df;}
.ly-credit-line {display:flex;align-items:center;gap:.6rem;justify-content:center;margin-top:.43rem;font-size:.74rem;color:#cec0a7;font-variant-numeric:tabular-nums;}
.ly-page .ly-balance {display:flex;align-items:center;gap:.27rem;min-height:1.6rem;color:inherit;font:inherit;}
.ly-balance b {font-weight:570;color:#e7d6b7;}
.ly-my-count:not(:empty) {border-left:1px solid #7c705c;padding-left:.6rem;}
.ly-page button.ly-notify {font-size:.73rem;color:#eed5a1;text-decoration:underline;text-underline-offset:.15rem;padding:.3rem .5rem;}
.ly-page [hidden] {display:none!important;}
.ly-cover:not([hidden]) {position:absolute;inset:0;z-index:7;display:grid;align-content:center;justify-items:center;text-align:center;gap:.7rem;padding:1rem;background:#25231fdf;color:#f4e7ce;}
.ly-page .ly-cover button {border:1px solid #ddc494;color:#f3dcad;border-radius:.35rem;padding:.44rem 1rem;}
@media(max-height:620px){
  .ly-court {padding-top:.85rem;}.ly-court h1 {font-size:1.5rem;}.ly-pack-stage {height:11.5rem;margin-top:.27rem;}.ly-card-caption strong {font-size:.96rem;}
}
@media(prefers-reduced-motion:reduce){
  .ly-page *,.ly-page *::before,.ly-page *::after {animation-duration:.001ms!important;animation-iteration-count:1!important;transition:none!important;}
  .ly-seam-track b {animation:none!important;left:50%;opacity:1;transform:translate(-50%,-50%);}
}
.ly-body {
  background:linear-gradient(180deg,#faedcf 0,#fff6e4 4.1rem,#fff9ee 100%);
  padding:0 .95rem 1.4rem;
}
.ly-people {display:flex;align-items:center;justify-content:space-between;gap:.45rem;min-height:3.5rem;}
.ly-page .ly-people button {display:flex;align-items:center;gap:.36rem;font-size:.77rem;color:#79553b;min-height:2.55rem;}
.ly-page .ly-people .ly-crowd {gap:.46rem;color:#623d2b;}
.ly-people-count {font-size:.9rem;color:#783122;font-weight:690;}
.ly-avatar-stack {display:inline-flex;align-items:center;padding-right:.17rem;}
.ly-people svg,.ly-ledger header svg {width:1.13rem;height:1.13rem;flex:none;}
.ly-avatar {border-radius:50%;object-fit:cover;display:inline-grid;place-items:center;flex:none;width:1.85rem;height:1.85rem;background:#f3e0ba;color:#78522c;}
.ly-avatar-stack .ly-avatar {width:1.45rem;height:1.45rem;border:1.6px solid #faedcf;margin-right:-.22rem;}
.ly-initial {font-size:.84rem;font-weight:600;}
.ly-avatar-stack .ly-initial {font-size:.66rem;}
.ly-ledger,.ly-pool {background:#fffaf1;border:1px solid #e8d0a5;border-radius:.75rem;}
.ly-ledger {padding:.86rem .9rem;}
.ly-ledger header {display:flex;align-items:center;justify-content:space-between;gap:.45rem;}
.ly-ledger header h2 {display:flex;align-items:center;gap:.39rem;margin:0;color:#633823;font:650 1.04rem/1.5 var(--ly-serif);}
.ly-ledger header svg {color:#9b6a35;}
.ly-drawn-at,.ly-tally,.ly-empty {font-size:.75rem;color:#82674e;line-height:1.55;}
.ly-tally,.ly-empty {margin:.53rem 0 0;}
.ly-tally span {padding:0 .38rem;}
.ly-personal-result {font-size:.92rem;font-weight:600;margin:.6rem 0 0;color:#785338;}
.ly-personal-result.is-winner {color:#ae3520;}
.ly-page .ly-delivery {margin-top:.3rem;padding:.2rem 0;font-size:.8rem;color:#934b26;}
.ly-members,.ly-pool ul,.ly-history ul {list-style:none;padding:0;margin:0;}
.ly-members li {display:flex;gap:.48rem;align-items:center;padding:.53rem 0;border-top:1px solid #eee0c6;font-size:.82rem;}
.ly-ledger .ly-members:not(:empty) {margin-top:.55rem;}
.ly-member-name {min-width:0;overflow-wrap:anywhere;flex:1;}
.ly-members strong {font-size:.76rem;font-weight:590;color:#944127;max-width:44%;overflow-wrap:anywhere;text-align:right;}
.ly-pool {margin-top:.65rem;padding:0 .9rem;}
.ly-pool summary {cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:2.8rem;color:#66452f;font-size:.88rem;font-weight:580;}
.ly-pool summary::-webkit-details-marker {display:none;}
.ly-pool summary svg {width:1rem;height:1rem;transition:transform .18s;}
.ly-pool[open] summary svg {transform:rotate(90deg);}
.ly-pool li {display:flex;gap:.6rem;justify-content:space-between;align-items:baseline;padding:.48rem 0;border-top:1px solid #eee0c6;color:#6e4f38;font-size:.8rem;}
.ly-pool li small {margin-right:.5rem;color:#9c7954;font-size:.7rem;}
.ly-pool li b {font-weight:500;}
.ly-history,.ly-list-page {padding:1rem;}
.ly-history-round {display:grid;gap:.32rem;border-bottom:1px solid #eee;padding:.9rem 0;}
.ly-history time,.ly-history li>span,.ly-history p,.ly-list-page p {color:#777;font-size:.8rem;}
.ly-history li b {font-size:.97rem;}
.ly-history button,.ly-list-page button {background:#f9f0de;color:#6b452a;padding:.5rem .85rem;border-radius:1.3rem;}
.ly-list-page h2 {font-size:1rem;}
.ly-ticket-detail {font-size:.8rem;color:#775638;}
.ly-ledger .ly-ticket-detail {margin-top:.48rem;}
.ly-ticket-detail summary {width:fit-content;cursor:pointer;padding:.25rem 0;font-weight:580;}
.ly-ticket-detail ol {list-style:none;padding:0;margin:.3rem 0;}
.ly-ticket-detail li {display:flex;justify-content:space-between;gap:.7rem;border-bottom:1px solid #ecdcc2;padding:.33rem 0;}
.ly-ticket-detail li b {font-size:inherit;font-weight:530;text-align:right;overflow-wrap:anywhere;max-width:72%;}
.ly-prize-mini{width:1.55rem;height:1.55rem;object-fit:contain;border-radius:.3rem;background:#fff4df;vertical-align:middle;margin-right:.32rem}
.ly-award-item{display:block;margin:.12rem 0}.ly-ticket-detail li{align-items:center}.ly-pool li{align-items:center}
.ly-personal-result,.ly-history-round>b {overflow-wrap:anywhere;}

