/* Fonts are inherited from v6; no remote requests in this library. */
:root{--hfx-gold:#efd085;--hfx-green:#133b2e;--hfx-ink:#0b1712;--hfx-ease:cubic-bezier(.87,.05,.02,.97)}
.hfx-layer,.hfx-layer *{box-sizing:border-box}.hfx-layer{position:absolute;inset:0;z-index:80;pointer-events:none;overflow:hidden;font-family:'Noto Sans JP',sans-serif;font-weight:800;color:#fff5d6;display:flex;flex-direction:column;align-items:center;justify-content:center;isolation:isolate}
.hfx-layer .hfx-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 38%;z-index:-2}.hfx-cut:after,.hfx-unlock:after,.hfx-vs:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#07130ff2,transparent 70%);z-index:-1}.hfx-cut{inset:14% 0 21%;background:#101d19;clip-path:polygon(0 8%,100% 0,100% 92%,0 100%);animation:hfx-cut 1.48s var(--hfx-ease) both;border-block:4px solid var(--hfx-gold);padding-top:35%}.hfx-kicker{font-size:12px;letter-spacing:.23em;z-index:2}.hfx-title{font-family:'Barlow Condensed','Noto Sans JP',sans-serif;font-size:clamp(42px,15vw,76px);font-weight:800;line-height:1.05;text-align:center;letter-spacing:-.04em;z-index:2;text-shadow:0 3px 0 #38280f,0 0 30px #ffc34c88}.hfx-line{font-size:19px;z-index:2;text-align:center}.hfx-rays{position:absolute;inset:-50%;background:repeating-conic-gradient(from 10deg,transparent 0deg 10deg,#ffeab32b 11deg,transparent 12deg 20deg);z-index:-1;animation:hfx-ray 1s var(--hfx-ease) both}.hfx-hot{background:radial-gradient(ellipse,#8c5c19c9, #0b1712a6 70%);color:#ffdf81;animation:hfx-pop 1.05s var(--hfx-ease) both}.hfx-tier-2{--hfx-gold:#ffbb58;color:#ffd583;background-color:#801e29aa}.hfx-tier-3{color:white;background:conic-gradient(from 40deg,#bd3e6077,#bca63988,#25a98a88,#5284b888,#8846bc88,#bd3e6077)}.hfx-hot .hfx-title{font-size:92px;transform:skew(-8deg)}.hfx-win{background:linear-gradient(#06171099,#061710e8);justify-content:flex-start;padding:39% 15px 0;animation:hfx-pop 1.9s var(--hfx-ease) both}.hfx-win .hfx-title{font-size:38px;margin-top:12px}.hfx-count{font:800 76px 'Barlow Condensed',sans-serif;color:var(--hfx-gold)}.hfx-chip{position:absolute;width:19px;height:19px;border:3px dashed #fff0b0;border-radius:50%;background:#bf8e36;animation:hfx-chip 1.1s var(--hfx-ease) var(--d) both}.hfx-pot-3 .hfx-count{font-size:96px}.hfx-pot-3:after{content:'';position:absolute;inset:12%;border:1px solid #f8d080;transform:rotate(12deg);z-index:-1}.hfx-fire{border-color:#ff9e47;color:#ffd79c}.hfx-burning{position:relative;isolation:isolate}.hfx-burning:after{content:'';position:absolute;inset:-7px;z-index:-1;border:2px solid #f9a342;clip-path:polygon(0 100%,0 35%,12% 55%,20% 0,32% 38%,48% 8%,60% 40%,80% 0,88% 50%,100% 25%,100% 100%);background:linear-gradient(transparent,#dd681b99);animation:hfx-flame 1.3s var(--hfx-ease) infinite alternate}.hfx-unlock{background:radial-gradient(ellipse at center,#5f4f26,#07140ff5 70%);gap:18px}.hfx-unlock .hfx-title{font-size:34px}.hfx-flip{position:relative;width:220px;height:300px;border:2px solid var(--hfx-gold);border-radius:8px;overflow:hidden;animation:hfx-flip 1.2s var(--hfx-ease) both;box-shadow:0 0 70px #d6a64b55}.hfx-flip .hfx-image{position:static;width:100%;height:100%;object-fit:cover}.hfx-card-name{position:absolute;bottom:0;left:0;right:0;padding:20px 8px;background:linear-gradient(transparent,#07140f);text-align:center}.hfx-vs{background:#06100ef2}.hfx-fighter{position:absolute;width:70%;height:48%;overflow:hidden;clip-path:polygon(0 0,100% 12%,100% 100%,0 88%);animation:hfx-left .6s var(--hfx-ease) both}.hfx-fighter-0{top:7%;left:0}.hfx-fighter-1{bottom:7%;right:0;animation-name:hfx-right}.hfx-fighter b{position:absolute;bottom:15%;left:15px;font-size:22px;text-shadow:0 2px 9px black}.hfx-vs>.hfx-title{font-size:100px;color:var(--hfx-gold)}.hfx-vs>.hfx-kicker{margin-top:-80px}.hfx-reveal-board{position:absolute;bottom:8%;display:flex;gap:7px;z-index:4}.hfx-reveal-card{display:grid;place-items:center;width:53px;height:75px;background:#fff6dd;color:#b42e37;border-radius:4px;font-size:23px;animation:hfx-flip .6s var(--hfx-ease) both}.hfx-heartbeat:before{content:'';position:absolute;inset:0;background:#000b;z-index:3;animation:hfx-breathe .55s var(--hfx-ease)}.hfx-pulse{z-index:90;border:4px solid #f39c65;box-shadow:inset 0 0 35px #f0964055;animation:hfx-breathe 1s var(--hfx-ease) infinite alternate}.hfx-outs{justify-content:flex-start;padding-top:36%;z-index:40}.hfx-outs b{font-size:18px;color:#ffdc87;border-bottom:1px solid #ddba6a;padding:8px 20px;background:#10271de0;animation:hfx-breathe 1.8s var(--hfx-ease) infinite alternate}.hfx-bad .hfx-title{font-size:51px}.hfx-stamp-layer{z-index:95}.hfx-stamp{position:absolute;top:calc(42% - 120px);left:calc(50% - 120px);width:240px;height:240px;object-fit:contain;animation:hfx-stamp 2s var(--hfx-ease) both}
@keyframes hfx-cut{0%{transform:translateX(-110%) skewX(-8deg)}18%,82%{transform:translateX(0) skewX(0)}100%{transform:translateX(110%) skewX(-8deg)}}@keyframes hfx-pop{0%{opacity:0;transform:scale(.92,1.04)}18%,80%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.04,.98)}}@keyframes hfx-ray{from{transform:rotate(-12deg) scale(.6)}to{transform:rotate(8deg) scale(1.15)}}@keyframes hfx-chip{0%{opacity:0;transform:translate(0,0) rotate(0)}20%{opacity:1}50%{transform:translate(calc(var(--dx)*.45),var(--arc)) rotate(180deg)}90%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(540deg)}}@keyframes hfx-flip{0%{transform:perspective(700px) rotateY(180deg) scale(.7);opacity:0}45%{opacity:1;transform:perspective(700px) rotateY(90deg)}100%{transform:perspective(700px) rotateY(0)}}@keyframes hfx-left{from{transform:translateX(-110%)}to{transform:translateX(0)}}@keyframes hfx-right{from{transform:translateX(110%)}to{transform:translateX(0)}}@keyframes hfx-breathe{from{opacity:.35}to{opacity:1}}@keyframes hfx-flame{from{transform:scale(1,.94);opacity:.6}to{transform:scale(1.03,1.08);opacity:1}}@keyframes hfx-stamp{0%{opacity:0;transform:translate(var(--sx),var(--sy)) scale(.25)}25%{opacity:1;transform:translate(0,0) scale(1.08,.96) rotate(-4deg)}40%,80%{opacity:1;transform:scale(1)}100%{opacity:0;transform:translateY(-50px) scale(.9)}}
/* Standalone mocks; scoped so production UI is untouched. */
.hfx-demo{margin:0;background:#09130f;color:#f5eedb;font:800 14px 'Noto Sans JP',sans-serif}.hfx-demo *{box-sizing:border-box}.hfx-phone{position:relative;isolation:isolate;width:min(100%,390px);height:844px;overflow:hidden;margin:0 auto;background:radial-gradient(ellipse at 50% 60%,#20533c,#15261d 60%,#1d1c13);border:1px solid #405040}.hfx-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 12px;border-bottom:1px solid #d2bc6755}.hfx-toolbar h1{font-size:23px;margin:4px 0}.hfx-toolbar small{font-size:10px;letter-spacing:.14em;color:#b7bca9}.hfx-button,.hfx-demo button,.hfx-demo select{font:inherit;color:inherit;background:#183227;border:1px solid #66806b77;border-radius:7px;padding:12px;cursor:pointer}.hfx-demo button:hover{border-color:#e8c77c}.hfx-demo button:focus-visible,.hfx-demo select:focus-visible{outline:3px solid #f7d383;outline-offset:3px}.hfx-demo button:disabled{cursor:default;opacity:.5}.hfx-gold{background:#e6c47b!important;color:#192418!important}.hfx-table{position:relative;margin:120px 16px 0;height:365px;border:9px solid #ad8e4e;border-radius:48% 48% 16% 16%;background:radial-gradient(ellipse at top,#548c63,#24593f 65%);box-shadow:inset 0 0 40px #0a281e;display:flex;align-items:center;justify-content:center}.hfx-seat{position:absolute;padding:10px;min-width:86px;border:1px solid #8d946d;border-radius:5px;background:#172d24;color:#fff5da;text-align:center}.hfx-seat strong{display:block;font:800 29px 'Barlow Condensed',sans-serif}.hfx-self{margin:24px 0 0;padding:18px 14px;background:#0d241be8;border-block:1px solid #688267;display:flex;align-items:center;justify-content:space-between}.hfx-controls{max-width:780px;margin:24px auto;padding:0 16px 40px}.hfx-controls h2{font-size:20px}.hfx-controls p{font-weight:500;line-height:1.7;color:#afbbaf}.hfx-controls .buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hfx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}.hfx-character{padding:0!important;overflow:hidden;text-align:left;border-radius:5px!important}.hfx-character .hfx-image{width:100%;aspect-ratio:1;object-fit:cover;display:block}.hfx-character strong,.hfx-character small{display:block;padding:5px 6px}.hfx-character strong{font-size:12px}.hfx-character small{font-size:10px;color:#c6c8b0}.hfx-character.is-selected{border:2px solid #f0cb7e!important}.hfx-character.is-locked .hfx-image{filter:grayscale(1);opacity:.45}.hfx-preview{height:260px;position:relative;overflow:hidden;padding:120px 20px 12px;isolation:isolate}.hfx-preview .hfx-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hfx-preview:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#091b12);z-index:-1}.hfx-preview h2{font-size:28px;margin:8px 0}.hfx-preview p{font-size:13px;margin:0}.hfx-demo progress{width:100%;accent-color:#edc679;height:7px}.hfx-demo a{color:#e8ca85}.hfx-demo .stamp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.hfx-demo .stamp-grid button{padding:3px}.hfx-demo .stamp-grid img{width:100%;display:block}
@media(prefers-reduced-motion:reduce){.hfx-layer *,.hfx-layer,.hfx-burning:after{animation:none!important;transform:none!important}.hfx-chip{display:none}.hfx-pulse{opacity:.7}.hfx-stamp{opacity:1}.hfx-flip{opacity:1}}
.hfx-demo-header{max-width:780px;margin:32px auto;padding:0 20px}.hfx-demo-header p{color:#aebaa9;font-size:12px;letter-spacing:.1em}.hfx-demo-header h1{font-size:30px;letter-spacing:-.04em}.hfx-character-page{max-width:430px;margin:auto}.hfx-status{padding:8px 16px;font-size:12px;line-height:1.7}.hfx-seat{left:var(--x);top:var(--y);transform:translate(-50%,-50%);min-width:85px;padding:6px}.hfx-seat img{width:32px;height:32px;object-fit:cover;border-radius:50%;display:block;margin:-23px auto 4px;border:1px solid #c9b77c}.hfx-seat span,.hfx-seat small{display:block;font-size:10px}.hfx-table{margin-top:90px;height:340px}.hfx-pot{position:absolute;top:23%;left:50%;transform:translateX(-50%);text-align:center}.hfx-pot small{display:block;font-size:9px;letter-spacing:.14em}.hfx-pot strong{font:800 38px 'Barlow Condensed',sans-serif}.hfx-board{display:flex;gap:5px;justify-content:center}.hfx-table>.hfx-board{position:absolute;top:47%;left:50%;transform:translateX(-50%)}.hfx-playing-card{display:grid;place-items:center;background:#f1ecd8;color:#18281f;width:40px;height:57px;border-radius:3px;font:800 21px 'Barlow Condensed',sans-serif;box-shadow:0 2px 1px #06100e88}.hfx-self{margin-top:20px;padding:10px 12px;gap:8px}.hfx-self>img{width:36px;height:36px;border-radius:50%;object-fit:cover}.hfx-self strong{display:block;font:800 29px 'Barlow Condensed',sans-serif}.hfx-self small,.hfx-self>span{font-size:10px}.hfx-self .hfx-playing-card{width:31px;height:43px}.hfx-toolbar h2{margin:4px 0;font-size:24px}.hfx-xp{padding:0 12px}.hfx-xp .hfx-toolbar{padding:5px 0;border:0;font-size:10px}.hfx-stamps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:12px}.hfx-stamps button{padding:3px}.hfx-stamps img{width:100%;display:block}.hfx-controls>.hfx-toolbar{flex-wrap:wrap}.hfx-controls select{max-width:200px;font-size:12px}.hfx-shake .hfx-image{animation:hfx-shake .3s linear .2s both}.hfx-streak-3 .hfx-title{color:#ffa15b}.hfx-streak-4 .hfx-title{color:#ffdd81;text-shadow:0 0 35px #ff6425}.hfx-streak-4{border-width:7px}
@keyframes hfx-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-7px)}50%{transform:translateX(6px)}75%{transform:translateX(-3px)}}
@media(prefers-reduced-motion:reduce){.hfx-shake .hfx-image{animation:none}.hfx-burning:after{animation:none}}
