/* Scoped page theme is removed automatically when the route changes. */
body:has(.hcd-page){background:#d0f3f2}
body:has(.hcd-page) #footer{background:#121212}
#app:has(.hcd-page){max-width:none;margin:0;min-height:100vh}
.hcd-page{min-height:100vh;padding:0 16px 32px;background:#d0f3f2 var(--hcd-background) repeat;background-size:100% auto;color:#1f2937;font-family:Arial,sans-serif;color-scheme:light}
.hcd-column{max-width:375px;margin:0 auto}
.hcd-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0 16px}
.hcd-heading h1{margin:0;color:#134e4a;font-family:Poppins,Arial,sans-serif;font-size:18px;line-height:28px;font-weight:700;text-align:center}
.hcd-back{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;padding:0;background:#fff;border:0;border-radius:4px;box-shadow:0 1px 3px #0002;color:#111}
.hcd-back img{display:block;width:32px;height:32px}
.hcd-back span{font-size:25px;line-height:1}
.hcd-info{display:flex;align-items:center;justify-content:center;width:16px;height:16px;flex:none;padding:0;border:0;border-radius:0;background:transparent;color:#111}
.hcd-info img{display:block;width:100%;height:100%}
.hcd-header-info{width:19.5px;height:19.5px;border:1px solid #000;border-radius:3px;background:#fff;font-family:Arial,sans-serif;font-size:14.7px;line-height:1;font-weight:400}
.hcd-page button:disabled{cursor:default;opacity:1}
.hcd-page button:hover:disabled{filter:none}
.hcd-draw-stage{margin-top:24px;display:flex;align-items:center;flex-direction:column}
.hcd-card-stack{position:relative;width:167px;height:210px;background-repeat:no-repeat;background-size:100% 100%}
.hcd-card-one{display:block;width:142px;height:100%;object-fit:contain}
.hcd-draw-action{position:relative;margin-top:32px}
.hcd-draw-button{min-width:186px;padding:12px 48px;background:#999;border:0;border-radius:999px;box-shadow:0 10px 15px -3px #0002;color:#fff;font-family:Poppins,Arial,sans-serif;font-size:18px;line-height:28px;font-weight:700}
.hcd-draw-button.hcd-draw-enabled{background:linear-gradient(#04ff26,#3d84ff,#673dff);transition:transform .15s}
.hcd-draw-button.hcd-draw-enabled:active:not(:disabled){transform:scale(.95)}
.hcd-count{position:absolute;right:0;top:-4px;display:flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#ff6565;color:#fff;font-size:12px;line-height:20px}
.hcd-fly-up{animation:hcd-fly-out .75s ease-out forwards}
@keyframes hcd-fly-out{from{transform:translateY(0);opacity:1}to{transform:translateY(-100px);opacity:0}}
.hcd-result-layer{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;background:#0009;padding:16px}
.hcd-result{display:flex;align-items:center;flex-direction:column;justify-content:center;max-width:100%;padding:24px;box-sizing:border-box}
.hcd-result-card{display:block;height:256px;max-width:min(100%,280px);object-fit:contain}
.hcd-result-button{display:flex;align-items:center;justify-content:center;width:186px;min-height:43px;margin-top:32px;border:0;border-radius:999px;background:linear-gradient(#04ff26cc,#3d84ffe6,#673dff);color:#fff;font-family:Poppins,Arial,sans-serif;font-size:16px;font-weight:500}
.hcd-availability{font-size:11px;line-height:16px;color:#4b6563;text-align:center;margin:7px 0 -23px;max-width:100%}
.hcd-available{margin-top:40px}
.hcd-available-heading{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.hcd-available-heading>img{width:24px;height:24px;flex:none}
.hcd-available-heading h2{margin:0;color:#1f2937;font-family:Arial,sans-serif;font-size:18px;line-height:28px;font-weight:700}
.hcd-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hcd-card{display:flex;align-items:center;flex-direction:column;min-width:0;padding:12px;border-radius:16px;background:#ffffff99;box-shadow:0 1px 3px #0000000d;backdrop-filter:blur(4px)}
.hcd-card-art{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;padding:8px;border-radius:12px;background:#fff;overflow:hidden}
.hcd-card-art img{display:block;width:100%;height:100%;object-fit:contain}
.hcd-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;margin:8px 0 0;color:#374151;font-size:14px;line-height:20px;font-weight:500}
.hcd-loading,.hcd-empty,.hcd-error{padding:32px 0;color:#374151;line-height:1.6;text-align:center}
.hcd-error p{color:#374151}
.hcd-error button{background:#fff;color:#134e4a;border:1px solid #a4c7c4}
.modal.hcd-rules-modal{width:480px;max-height:min(560px,90vh);padding:32px 16px 16px;border:0;border-radius:8px;background:#333;color:#fff;font-family:Arial,sans-serif;box-shadow:none}
.hcd-rules-modal h2{margin:0 0 20px;text-align:center;font-size:24px;line-height:36px;color:#fff;font-weight:700}
.hcd-rules-modal .close-modal{top:7px;right:12px;padding:0;background:none;border:0;border-radius:0;color:#fff;font-size:25px;font-weight:400;line-height:24px}
.hcd-rule-sections{font-size:14px;line-height:21px;font-weight:600}
.hcd-rule-sections h3{margin:0;color:#fff;font-size:14px;line-height:21px;font-weight:700}
.hcd-rule-sections ul{list-style:disc;margin:0;padding-left:29px}
.hcd-rule-sections li{padding:0;margin:0}
.hcd-rule-sections strong{font-weight:700}
@media(min-width:1024px){.hcd-page{background-image:var(--hcd-background-desktop,var(--hcd-background))}}
@media(max-width:650px){.hcd-page{padding-bottom:90px}.modal.hcd-rules-modal{max-height:min(560px,90vh);padding:32px 16px 16px}.hcd-rules-modal h2{font-size:22px}}
