:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#52283b;background:#fff8fb;--wine:#682943;--rose:#a7446f;--line:rgba(160,83,116,.22)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 90% 5%,#f4d0df 0,transparent 30%),linear-gradient(135deg,#fffafd,#f9e8f0)}button{font:inherit}.top{display:flex;justify-content:space-between;align-items:center;padding:15px clamp(18px,4vw,64px);background:rgba(255,250,252,.9);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5;backdrop-filter:blur(16px)}.top a{color:var(--wine);text-decoration:none;font-weight:800}.top strong{letter-spacing:.12em}main{width:min(1120px,calc(100% - 32px));margin:auto;padding:34px 0 80px}.hero{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:clamp(28px,5vw,56px);border-radius:32px;color:#fff;background:linear-gradient(135deg,#5b213b,#a64b75 58%,#e8a6c2);box-shadow:0 24px 70px rgba(90,31,58,.2)}.hero p{margin:0 0 12px;line-height:1.7}.hero h1{font:700 clamp(2.2rem,6vw,4.6rem)/1.05 Georgia,"Songti SC",serif;margin:0 0 16px}.hero-mark{width:170px;height:170px;border:1px solid rgba(255,255,255,.5);border-radius:50%;display:grid;place-items:center;text-align:center;font:700 3.4rem/1 Georgia,serif;box-shadow:inset 0 0 50px rgba(255,255,255,.15)}.hero-mark span{font-size:1.6rem}.notice,.actions,.history{margin-top:22px;padding:24px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.86)}.notice strong{color:#8a294f}.notice p{margin:8px 0;line-height:1.65}.actions,.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.actions small,.section-heading small{color:var(--rose);letter-spacing:.14em;font-weight:900}.actions h2,.section-heading h2{margin:6px 0}.actions p{margin:0;color:#886a77}.actions button,.copy-row button,.section-heading button{border:0;border-radius:999px;padding:14px 22px;background:linear-gradient(135deg,var(--rose),var(--wine));color:#fff;font-weight:900;cursor:pointer}.actions button:disabled{opacity:.45;cursor:not-allowed}.number-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}.line-card{padding:22px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 14px 36px rgba(86,33,56,.08)}.line-card h3{margin:0 0 15px}.balls{display:flex;gap:9px;flex-wrap:wrap}.ball{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#fff0f6;border:1px solid #d99ab7;font-weight:900}.ball.star{background:#fff3c9;border-color:#e3bd4d;color:#775700}.copy-row{display:flex;align-items:center;gap:16px;margin:18px 0}.copy-row p{color:var(--rose);font-weight:700}.history-item{padding:18px 0;border-top:1px solid var(--line)}.history-item:first-child{border-top:0}.history-meta{display:flex;justify-content:space-between;gap:12px;color:#886a77;font-size:.85rem}.match{margin-top:10px;color:#6d4b59}.empty{padding:28px;text-align:center;color:#886a77}@media(max-width:720px){.top strong{display:none}.hero{align-items:flex-start}.hero-mark{display:none}.actions,.section-heading,.copy-row{align-items:stretch;flex-direction:column}.actions button,.section-heading button{width:100%}.number-grid{grid-template-columns:1fr}.history-meta{display:block}.history-meta>*{display:block}.history-meta span{margin-top:6px}.top{font-size:.85rem}}
