/* Reference-matched Dating page. */
.page-lottery.shell{background:#FAF7F2}
.page-lottery.shell{width:min(100%,430px)}
.page-lottery .nav{width:min(100%,430px)}
.page-lottery .lottery-page{padding:14px 16px 90px}
.page-lottery .vote-hero{border-radius:23px;background:linear-gradient(120deg,#C77B83,#d39a9d);color:#fff;padding:20px 16px 17px;box-shadow:0 12px 22px #9d687044}
.page-lottery .vote-hero-top,.page-lottery .vote-hero-bottom{display:flex;align-items:center;justify-content:space-between}
.page-lottery .vote-hero-top strong,.page-lottery .vote-hero-top b{display:block;font-size:21px;line-height:1.15}.page-lottery .vote-hero-top b{font-size:21px;margin-top:4px}
.page-lottery .vote-menu{border:0;background:none;padding:5px;display:flex;flex-direction:column;gap:4px}.page-lottery .vote-menu span{display:block;width:25px;height:3px;border-radius:3px;background:#fff}
.page-lottery .vote-hero-bottom{margin-top:10px;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;align-items:center;font-size:17px}.page-lottery .vote-hero-bottom time{grid-row:1;grid-column:1;display:inline-block;width:max-content;border:1px solid #ffffffaa;border-radius:8px;padding:3px 6px;font-weight:700}.page-lottery .vote-hero-bottom span{grid-row:2;grid-column:1;margin-top:9px}.page-lottery .vote-hero-bottom button{grid-row:2;grid-column:3;display:inline-flex;align-items:center;justify-content:center;gap:4px;border:0;background:none;color:#fff;font-size:17px;line-height:1;margin-top:9px}.page-lottery .history-chevron{font-size:18px;line-height:1;margin-left:0}
.page-lottery .vote-hero-bottom button{background:transparent;border-radius:8px;padding:6px 2px;min-width:0;white-space:nowrap}
.page-lottery .vote-main{padding:18px 0}.page-lottery .vote-section-title{font-size:20px;color:#333;margin:0 0 12px;padding-left:10px;border-left:5px solid #7b45b3;line-height:22px}.page-lottery .vote-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.page-lottery .vote-option-card{height:auto;min-height:152px;border:0;border-radius:13px;background:#fff;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;overflow:hidden;box-shadow:0 5px 12px #4a2b7a12;padding:0}.page-lottery .vote-option-card img{width:100%;height:110px;object-fit:cover}.page-lottery .vote-option-card strong{font-size:18px;color:#292929;text-align:center;padding:11px 3px 12px}.page-lottery .vote-option-card.selected{outline:3px solid #8a5abb;background:#f5eafa}
.page-lottery .live-vote{background:#fff;border-radius:11px;padding:0;margin-top:18px;overflow:hidden;box-shadow:0 4px 12px #4a2b7a0c}.page-lottery .live-vote h3{margin:0;padding:8px;text-align:center;color:#fff;background:linear-gradient(90deg,#9b65c8,#c3a0dc);font-size:18px}.page-lottery .live-vote-list{height:145px;overflow:hidden}.page-lottery .live-vote-track{animation:live-vote-scroll 18s linear infinite}.page-lottery .live-vote-list:hover .live-vote-track,.page-lottery .live-vote-list:active .live-vote-track{animation-play-state:paused}.page-lottery .live-vote p{font-size:14px;color:#555;margin:0;padding:9px 8px;text-align:center;border-bottom:1px solid #eee;min-height:40px}@keyframes live-vote-scroll{from{transform:translateY(0)}to{transform:translateY(-50%)}}
.page-lottery .vote-history{margin:0 10px;background:#fff;border:1px solid #eee;border-radius:0 0 10px 10px;overflow:hidden}.page-lottery .vote-history-head{display:grid;grid-template-columns:1fr 1fr;padding:12px 10px;border-bottom:1px solid #eee;color:#333;font-size:16px}.page-lottery .vote-history-head strong:last-child{text-align:right}.page-lottery .vote-history .period-row{display:grid;grid-template-columns:1fr 1.35fr;align-items:center;gap:8px;margin:0;padding:13px 10px;border-radius:0;border-bottom:1px solid #eee}.page-lottery .vote-history .period-row>span{width:auto;font-size:14px;color:#444}.page-lottery .winning-tags{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.page-lottery .winning-tags b{padding:5px 10px;border-radius:999px;background:#9b6bc7;color:#fff;font-size:13px;line-height:1.1}.page-lottery .winning-tags small{color:#999}
@media(max-width:360px){.page-lottery .vote-option-card strong{font-size:19px}.page-lottery .vote-option-card img{height:130px}.page-lottery .vote-option-card{min-height:185px}.page-lottery .vote-hero-top strong,.page-lottery .vote-hero-top b{font-size:20px}}
.vote-option-card:disabled{cursor:not-allowed;filter:grayscale(.2);opacity:.72}
.vote-closed-note{margin:16px 0;color:#8a7c96;text-align:center}

/* Apply the requested palette after the reference-matched Dating rules. */
.page-lottery.shell,.page-lottery .lottery-page{background:#FAF7F2}
.page-lottery .vote-hero{background:linear-gradient(120deg,#C77B83,#d39a9d);box-shadow:0 12px 22px #9d687044}
.page-lottery .vote-section-title{border-color:#C77B83}
.page-lottery .vote-option-card.selected{outline-color:#C77B83;background:#f2e1df}
.page-lottery .live-vote h3{background:linear-gradient(90deg,#C77B83,#d59a9e)}
.page-lottery .vote-drawer button[type=submit]{background:#C77B83}
.page-lottery .vote-closed-note{color:#607362}
.page-lottery .vote-hero-bottom button#toggle-history{background:transparent !important;border-radius:8px;padding:6px 2px;min-width:0;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;line-height:1}
.page-lottery .vote-hero-bottom button#toggle-history .history-chevron{display:inline-block;font-size:16px;line-height:1;vertical-align:middle;position:relative;top:0;transform:none}

/* Voting product cards: scoped to the lottery page. */
.lottery-page{background:#FAF7F2;color:#3b3431}
.page-lottery .vote-hero{background:#6C3046;box-shadow:0 8px 20px rgba(108,48,70,.16)}
.page-lottery .vote-main{padding:18px 10px 34px}
.page-lottery .vote-section-title{margin:0 0 12px;padding-left:10px;border-left:4px solid #C88E98;color:#6C3046;font-size:20px;line-height:24px}
.page-lottery .vote-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.page-lottery .vote-option-card{min-width:0;min-height:0;height:auto;aspect-ratio:3 / 3.45;padding:4px;border:1px solid #E7D6D8;border-radius:18px;background:#FFFEFC;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;overflow:hidden;box-shadow:0 2px 6px rgba(108,48,70,.04),0 8px 20px rgba(108,48,70,.07);transition:background .16s,border-color .16s,box-shadow .16s}
.page-lottery .vote-option-card:disabled{opacity:.72;filter:none}
.page-lottery .vote-option-image{display:grid;place-items:center;min-width:0;width:100%;aspect-ratio:3 / 2;background:#F3EBE8;border-radius:13px;overflow:hidden}
.page-lottery .vote-option-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;padding:7px}
.page-lottery .vote-option-card strong{display:flex;align-items:center;justify-content:center;min-height:52px;padding:10px 4px 8px;color:#6C3046;font-size:17px;font-weight:700;line-height:1.2;text-align:center;white-space:nowrap}
.page-lottery .vote-option-card.selected{border:2px solid #6C3046;padding:3px;background:#fff8f7;box-shadow:0 3px 10px rgba(108,48,70,.12)}
.page-lottery .vote-option-card:focus-visible{outline:3px solid #C88E98;outline-offset:2px}
.page-lottery .live-vote{margin-top:18px;border:1px solid #E7D6D8;border-radius:16px;background:#FFFEFC;box-shadow:0 2px 6px rgba(108,48,70,.04),0 8px 20px rgba(108,48,70,.05);overflow:hidden}
.page-lottery .live-vote h3{background:#C88E98;color:#fff;padding:10px 8px;font-size:17px}
.page-lottery .live-vote p{color:#6C3046;border-bottom-color:#f0e1e2}
.page-lottery .vote-drawer{background:#FFFEFC;border-top:1px solid #E7D6D8}
.page-lottery .vote-drawer button[type=submit]{background:#6C3046}
@media(max-width:360px){.page-lottery .vote-options{gap:10px}.page-lottery .vote-option-card{border-radius:16px}.page-lottery .vote-option-card strong{font-size:16px;min-height:48px;padding-left:2px;padding-right:2px}.page-lottery .vote-option-image img{padding:5px}}
.page-lottery .winning-tags b{background:#879783}
