.points-section{padding:3rem 0}#calculator.points-section{background:var(--color-surface)}.points-hero-section{padding:0 0 3rem;background:var(--color-surface)}.points-hero{display:grid;justify-items:center;gap:.75rem;padding:2rem 1.5rem 2.25rem;border-radius:16px;background:radial-gradient(circle at 50% 35%,#8c2639 0,#4a0f1c 85%);color:#fff8f0;text-align:center;box-shadow:var(--shadow-lg)}.points-hero-cat{display:block;width:clamp(84px,9vw,120px);height:auto;animation:points-hero-float 4s ease-in-out infinite;-webkit-user-drag:none;user-select:none}@keyframes points-hero-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}@media (prefers-reduced-motion:reduce){.points-hero-cat{animation:none}}.points-hero-title{margin:0;color:#ffd27a;font-family:var(--font-heading);font-size:clamp(1.5rem, 4vw, 2.1rem);font-weight:400}.points-hero-text{margin:0;max-width:34rem;color:rgba(255,248,240,.85)}.points-hero-btn{margin-top:.5rem;justify-content:center;background:linear-gradient(180deg,#ffd98a 0,#f4a020 100%);color:#3a1a00;box-shadow:0 6px 18px rgba(0,0,0,.25)}.points-hero-btn:hover{filter:brightness(1.05);color:#3a1a00}.guide-cta{margin:1.25rem 0;padding:2rem 1.5rem;border-radius:14px;background:radial-gradient(circle at 50% 35%,#8c2639 0,#4a0f1c 85%);color:#fff8f0;text-align:center;box-shadow:var(--shadow-lg)}.guide-cta p{color:rgba(255,248,240,.85);margin:0 0 1rem}.guide-cta .guide-cta-title{margin-bottom:.4rem;color:#ffd27a;font-family:var(--font-heading);font-size:clamp(1.5rem, 4vw, 2rem)}.guide-cta .btn{background:linear-gradient(180deg,#ffd98a 0,#f4a020 100%);color:#3a1a00;font-weight:700;box-shadow:0 6px 18px rgba(0,0,0,.25)}.guide-cta .btn:hover{filter:brightness(1.05);color:#3a1a00}#basics.points-section{background:var(--color-background)}#scoring.points-section{background:var(--color-surface)}#tips.points-section{background:var(--color-background)}#statistics.points-section{background:var(--color-surface)}#payout.points-section{background:var(--color-background)}#basics .section-intro,#scoring .section-intro{margin-bottom:1rem}#basics .section-heading{margin-bottom:.35rem}.points-lead{max-width:90ch;margin:0 auto 2rem;text-align:center;color:var(--color-text-muted);font-size:1rem}#basics .points-lead:last-child{margin-bottom:0}#basics .points-lead em,#basics .points-lead strong{color:var(--color-primary)}.tile-face{display:block;aspect-ratio:5/7;background:linear-gradient(160deg,#fff 0,#fbf3e7 100%);border-radius:12px;border:1px solid rgba(0,0,0,.08);box-shadow:0 2px 6px rgba(0,0,0,.12),inset 0 -2px 0 rgba(0,0,0,.05);padding:9% 8% 6% 8%;overflow:hidden}.tile-face img{display:block;width:100%;height:100%;object-fit:contain;object-position:center 53%}.faan-block{margin-bottom:2rem}.faan-block h3{font-family:var(--font-heading);font-size:1.25rem;color:var(--color-primary);margin-bottom:.85rem}.faan-table-wrap{overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow);background:var(--color-surface)}.faan-table{width:100%;border-collapse:collapse;font-size:.97rem;--family-flush:#C41E3A;--family-flush-rgb:196,30,58;--family-dragons:#1D4ED8;--family-dragons-rgb:29,78,216;--family-winds:#C05600;--family-winds-rgb:192,86,0;--family-triplets:#05693A;--family-triplets-rgb:5,105,58;--family-terminals:#7A3E9D;--family-terminals-rgb:122,62,157;--family-kong:#0E7490;--family-kong-rgb:14,116,144;--family-opening:#BE185D;--family-opening-rgb:190,24,93}.faan-table td,.faan-table th{padding:.85rem 1rem;text-align:left;border-bottom:1px solid rgba(0,0,0,.06);vertical-align:top}.faan-table th{background:var(--color-primary);color:#fff;font-family:var(--font-body);font-weight:600;white-space:nowrap}.faan-table th:first-child{border-radius:var(--radius) 0 0 0}.faan-table th:last-child{border-radius:0 var(--radius) 0 0}.faan-table tbody tr:last-child td{border-bottom:none}.faan-table tbody tr:last-child td:first-child{border-bottom-left-radius:var(--radius)}.faan-table tbody tr:last-child td:last-child{border-bottom-right-radius:var(--radius)}.faan-table td:first-child,.faan-table th:first-child{white-space:nowrap}.faan-table tbody tr:hover{background:rgba(var(--color-primary-rgb),.03)}.faan-name{color:var(--color-text);font-size:.85rem}.faan-cn{color:var(--color-text-muted);font-weight:500}.faan-table tbody tr.family-flush{--family:var(--family-flush);--family-rgb:var(--family-flush-rgb)}.faan-table tbody tr.family-dragons{--family:var(--family-dragons);--family-rgb:var(--family-dragons-rgb)}.faan-table tbody tr.family-winds{--family:var(--family-winds);--family-rgb:var(--family-winds-rgb)}.faan-table tbody tr.family-triplets{--family:var(--family-triplets);--family-rgb:var(--family-triplets-rgb)}.faan-table tbody tr.family-terminals{--family:var(--family-terminals);--family-rgb:var(--family-terminals-rgb)}.faan-table tbody tr.family-kong{--family:var(--family-kong);--family-rgb:var(--family-kong-rgb)}.faan-table tbody tr.family-opening{--family:var(--family-opening);--family-rgb:var(--family-opening-rgb)}.faan-table tbody tr.family-dragons,.faan-table tbody tr.family-flush,.faan-table tbody tr.family-kong,.faan-table tbody tr.family-opening,.faan-table tbody tr.family-terminals,.faan-table tbody tr.family-triplets,.faan-table tbody tr.family-winds{background:rgba(var(--family-rgb),.08)}.faan-table tbody tr.family-dragons:hover,.faan-table tbody tr.family-flush:hover,.faan-table tbody tr.family-kong:hover,.faan-table tbody tr.family-opening:hover,.faan-table tbody tr.family-terminals:hover,.faan-table tbody tr.family-triplets:hover,.faan-table tbody tr.family-winds:hover{background:rgba(var(--family-rgb),.14)}.faan-table tbody tr.family-dragons .faan-name,.faan-table tbody tr.family-flush .faan-name,.faan-table tbody tr.family-kong .faan-name,.faan-table tbody tr.family-opening .faan-name,.faan-table tbody tr.family-terminals .faan-name,.faan-table tbody tr.family-triplets .faan-name,.faan-table tbody tr.family-winds .faan-name{color:var(--family)}html.hide-extra-chinese .faan-cn,html.hide-extra-chinese .result-cn{display:none}.faan-value{color:var(--color-primary);white-space:nowrap}.faan-limit{color:var(--color-secondary)}.faan-desc{color:var(--color-text-muted);font-size:.92rem}.points-note{margin:1.5rem auto 0 auto;font-size:.9rem;color:var(--color-text-muted);font-style:italic;text-align:center;max-width:61rem}.points-note em{color:var(--color-primary)}#statistics .section-intro,#tips .section-intro{margin-bottom:1rem}.tips-grid{display:grid;grid-template-columns:1fr;gap:1rem;max-width:68rem;margin:0 auto}.tip-card{background:var(--color-surface);border-radius:var(--radius);box-shadow:var(--shadow);border-top:3px solid var(--color-secondary);padding:1.1rem 1.25rem 1.25rem}.tip-card h3{font-family:var(--font-heading);font-size:1.15rem;color:var(--color-primary);margin-bottom:.45rem}.tip-card p{margin:0;color:var(--color-text-muted);font-size:.95rem;line-height:1.55}@media (min-width:760px){.tips-grid{grid-template-columns:repeat(2,1fr)}}#statistics .faan-block{max-width:52rem;margin:0 auto 3.5rem}#statistics .faan-block:last-of-type{margin-bottom:0}.stats-table-wrap{overflow-x:auto}.stats-table th{white-space:normal;vertical-align:bottom}.stats-table td:first-child{white-space:normal}.stats-table td:not(:first-child),.stats-table th:not(:first-child){text-align:right}@media (max-width:768px){.faan-table.stats-table:not(.payout-faan-table):has(th:nth-child(3)) td:first-child,.faan-table.stats-table:not(.payout-faan-table):has(th:nth-child(3)) th:first-child{width:32%}.faan-table.stats-table:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(2),.faan-table.stats-table:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(2){width:14%}.faan-table.stats-table:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(3),.faan-table.stats-table:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(4),.faan-table.stats-table:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(5),.faan-table.stats-table:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(3),.faan-table.stats-table:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(4),.faan-table.stats-table:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(5){width:18%}.faan-table.stats-turns:not(.payout-faan-table):has(th:nth-child(3)) td:first-child,.faan-table.stats-turns:not(.payout-faan-table):has(th:nth-child(3)) th:first-child{width:25%}.faan-table.stats-turns:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(n+2),.faan-table.stats-turns:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(n+2){width:19.5%}.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) td:first-child,.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) th:first-child{width:24%}.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(2),.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(2){width:11.5%}.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(3),.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(3){width:16.5%}.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(4),.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(5),.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(4),.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(5){width:15%}.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(6),.faan-table.stats-patterns:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(6){width:18.5%}.faan-table.stats-patterns th{font-size:.72rem;padding-left:.2rem;padding-right:.2rem}.faan-table.stats-patterns td{font-size:.8rem;padding-left:.2rem;padding-right:.2rem}.faan-table.stats-patterns td:first-child,.faan-table.stats-patterns th:first-child{padding-left:.5rem}.stats-patterns .faan-name{font-size:.78rem}.faan-table.stats-bonus:not(.payout-faan-table):has(th:nth-child(3)) td:first-child,.faan-table.stats-bonus:not(.payout-faan-table):has(th:nth-child(3)) th:first-child{width:35%}.faan-table.stats-bonus:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(2),.faan-table.stats-bonus:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(2){width:15%}.faan-table.stats-bonus:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(3),.faan-table.stats-bonus:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(3){width:20%}.faan-table.stats-bonus:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(4),.faan-table.stats-bonus:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(4){width:30%}.stats-table td,.stats-table th{padding:.55rem .35rem;overflow-wrap:normal}.stats-table .faan-value{white-space:nowrap}}.payout-table{max-width:40rem;margin:0 auto;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.payout-table .faan-table-wrap{overflow:visible;border-radius:0;box-shadow:none;background:0 0}.payout-faan-table{table-layout:fixed;width:100%;border-collapse:collapse;border-radius:0;overflow:visible;box-shadow:none;background:var(--color-surface);border:none}.payout-faan-table .payout-col{width:calc(100% / 3)}.payout-faan-table.faan-table td,.payout-faan-table.faan-table th{text-align:center;white-space:normal;border:0;background-clip:padding-box}.payout-faan-table thead tr{background-color:var(--color-primary);position:relative}.payout-faan-table.faan-table th{background-color:transparent}.payout-faan-table tbody tr{background-color:var(--color-surface);position:relative}.payout-faan-table tbody tr:not(:last-child)::after,.payout-faan-table thead tr::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(0,0,0,.06);pointer-events:none}.payout-faan-table.faan-table tbody td{background-color:transparent}.payout-faan-table tbody tr:hover{background-color:rgba(var(--color-primary-rgb),.03)}.payout-faan-table tbody tr:hover td{background-color:transparent}.payout-faan-table tbody tr:last-child td{border-bottom:none}.payout-faan-table .faan-value{white-space:normal}.payout-faan-table .payout-faan-num{color:var(--color-text)}#calculator,#calculator .palette-tile,#calculator button,#calculator input,#calculator label{touch-action:manipulation}#calculator .hand-tile{touch-action:none}.calc{display:grid;gap:1.5rem;grid-template-columns:1fr}@media (min-width:900px){.calc{grid-template-columns:1.1fr 0.9fr;align-items:stretch}.calc-left .calc-card:last-child{flex:1;display:flex;flex-direction:column;min-height:0}.calc-left .calc-card:last-child .calc-hand{flex:1;display:flex;flex-direction:column;min-height:0}.calc-left .calc-card:last-child .hand-body{flex:1;display:flex;flex-direction:column;min-height:5.75rem}.calc-left .calc-card:last-child .hand-placeholder{flex:1;min-height:5.75rem}.calc-right .calc-card{height:100%}}.calc-left,.calc-right{display:flex;flex-direction:column;gap:1.25rem}.calc-card{background:var(--color-surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem;border-top:4px solid var(--color-primary)}.calc-card h3{font-family:var(--font-heading);font-size:1.15rem;color:var(--color-primary);margin:0}.calc-card-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.calc-card-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.calc-card>h3{margin-bottom:1rem}.calc-reset{flex-shrink:0;font-family:var(--font-body);font-size:.82rem;font-weight:600;padding:.45rem .85rem;border-radius:999px;border:1px solid rgba(0,0,0,.2);background:var(--color-background);color:var(--color-text-muted);cursor:pointer;transition:background .15s,color .15s,transform .12s,box-shadow .12s,border-color .12s}.calc-reset:active:not(:disabled){transform:scale(.96)}.calc-reset:hover{background:var(--color-primary);border-color:var(--color-primary);color:#fff}.calc-reset:disabled{opacity:.62;cursor:not-allowed;pointer-events:none}.calc-reset:disabled:hover{background:var(--color-background);border-color:rgba(0,0,0,.2);color:var(--color-text-muted)}.calc-reset:active:not(:disabled){transform:scale(.96)}.calc-reset.is-active,.calc-reset.is-active:hover{background:var(--color-primary);border-color:var(--color-primary);color:#fff}.calc-reset.is-share-ready,.calc-reset.is-share-ready:hover{background:var(--color-primary);border-color:var(--color-primary);color:#fff;animation:calc-share-pulse 1.6s ease-in-out infinite}@keyframes calc-share-pulse{0%,100%{box-shadow:0 0 0 0 rgba(var(--color-primary-rgb),.55);transform:scale(1)}50%{box-shadow:0 0 0 8px rgba(var(--color-primary-rgb),0),0 0 16px rgba(var(--color-primary-rgb),.45);transform:scale(1.04)}}.calc-hand{min-height:0}.hand-body{min-height:7.75rem}.hand-meta{display:flex;justify-content:space-between;align-items:center;font-size:.85rem;color:var(--color-text-muted);margin-bottom:.6rem}.hand-meta-flowers{color:var(--color-accent);font-weight:600}.hand-placeholder{display:flex;align-items:center;justify-content:center;min-height:7.75rem;margin:0;padding:.85rem 1rem;text-align:center;color:var(--color-text-muted);font-size:.92rem;line-height:1.45;background:var(--color-background);border-radius:var(--radius);border:1px dashed rgba(0,0,0,.1)}.hand-placeholder--paste{flex-direction:column;gap:.35rem;cursor:pointer}.hand-placeholder-note{color:var(--color-primary);font-weight:600;font-size:.85rem}.hand-tiles{position:relative;display:flex;flex-wrap:wrap;gap:.35rem}.hand-tile{display:flex;flex-direction:column;align-items:center;width:46px;padding:0;border:none;background:0 0;cursor:grab;transition:transform .12s;transform:translate3d(0,0,0);backface-visibility:hidden;-webkit-tap-highlight-color:transparent}.hand-tiles--dragging{user-select:none}.hand-tile.is-dragging-absolute{position:fixed;z-index:1000;margin:0;flex:none;cursor:grabbing;transition:none;animation:none;opacity:.96;transform:scale(1.05);filter:drop-shadow(0 8px 18px rgba(0, 0, 0, .2));will-change:transform,left,top;pointer-events:none}.hand-tiles--dragging .hand-tile:not(.is-dragging-absolute){transition:none}.hand-tile-placeholder{display:block;flex:0 0 auto;box-sizing:border-box;border-radius:12px;border:2px dashed rgba(var(--color-primary-rgb),.35);background:rgba(var(--color-primary-rgb),.06);pointer-events:none;transition:none}.hand-tile.is-just-added,.hand-tile.is-removing{transition:none}.hand-tile.is-removing-absolute{position:absolute;z-index:2;margin:0;flex:0 0 auto}.hand-tile.is-shifting{transition:transform .32s cubic-bezier(.4, 0, .2, 1)}.hand-tile.is-shifting.is-shift-from{transition:none;transform:translate3d(var(--shift-x,0),var(--shift-y,0),0)}.hand-tile .tile-face,.palette-tile .tile-face{width:100%;transform:translate3d(0,0,0);backface-visibility:hidden}.hand-tile.is-flower .tile-face{border-color:var(--color-accent)}@media (hover:hover) and (pointer:fine){.hand-tile:hover{transform:translate3d(0,-3px,0)}}#calc-examples[hidden],.calc-controls.is-hidden{display:none!important}.calc-card-head:has(+ #calc-examples[hidden]){margin-bottom:0}.calc-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:0;margin-bottom:1rem}.calc-controls button{font-family:var(--font-body);font-size:.82rem;font-weight:600;padding:.45rem .85rem;border-radius:999px;border:1px solid rgba(var(--color-primary-rgb),.25);background:var(--color-background);color:var(--color-primary);cursor:pointer;transition:background .15s,color .15s,transform .12s,box-shadow .12s,border-color .12s;width:100%;text-align:center}.calc-controls button:active{transform:scale(.96)}.calc-controls button:hover{background:var(--color-primary);color:#fff}.calc-controls button.is-active,.calc-controls button.is-active:hover{background:var(--color-primary);border-color:var(--color-primary);color:#fff}.calc-controls button.is-flash-success,.calc-reset.is-flash-success{animation:calc-btn-success .42s ease-out}.calc-controls button.is-flash-rejected,.calc-reset.is-flash-rejected{animation:calc-btn-rejected .45s ease-out}.opt-check.is-flash-success{animation:opt-check-flash .36s ease-out}@keyframes calc-btn-success{0%{transform:scale(.93);box-shadow:0 0 0 0 rgba(var(--color-primary-rgb),.75),0 0 0 0 rgba(var(--color-primary-rgb),.4)}35%{transform:scale(1.045);box-shadow:0 0 0 7px rgba(var(--color-primary-rgb),0),0 0 14px rgba(var(--color-primary-rgb),.45)}100%{transform:scale(1);box-shadow:none}}@keyframes calc-btn-rejected{0%,100%{transform:translateX(0)}20%{transform:translateX(-5px);border-color:#c0392b;box-shadow:0 0 0 2px rgba(192,57,43,.35)}40%{transform:translateX(5px);border-color:#c0392b;box-shadow:0 0 0 2px rgba(192,57,43,.35)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}}@keyframes opt-check-flash{0%{background:rgba(var(--color-primary-rgb),.16)}100%{background:0 0}}.palette-group{margin-bottom:1rem}.palette-title{font-size:.85rem;font-weight:700;color:var(--color-text-muted);margin:.45rem 0 .45rem;text-transform:uppercase;letter-spacing:.03em}.palette-row{display:flex;flex-wrap:wrap;gap:.3rem}.palette-tile{display:flex;flex-direction:column;align-items:center;position:relative;width:45px;padding:0;border:none;background:0 0;cursor:pointer;transition:transform .12s;transform:translate3d(0,0,0);backface-visibility:hidden;-webkit-tap-highlight-color:transparent}.palette-tile-mark{font-size:1rem;font-weight:400;color:var(--color-primary);line-height:1.1;margin-top:.5rem}.palette-tile.is-flash-rejected,.palette-tile.is-flash-success{transition:none}@media (hover:hover) and (pointer:fine){.palette-tile:hover{transform:translate3d(0,-3px,0)}.palette-tile:active{transform:translate3d(0,0,0) scale(.94)}}.palette-tile.is-flash-success{animation:tile-palette-added .32s cubic-bezier(.22,1,.36,1) both}.palette-tile.is-flash-success .tile-face{animation:tile-face-ripple .36s cubic-bezier(.22,1,.36,1) both}.palette-tile.is-flash-rejected{animation:tile-palette-rejected .42s cubic-bezier(.4,0,.2,1) both}.palette-tile.is-flash-rejected .tile-face{animation:tile-face-rejected .42s cubic-bezier(.4,0,.2,1) both}.hand-tile.is-just-added{animation:tile-hand-enter .38s cubic-bezier(.22,1,.36,1) both}.hand-tile.is-just-added .tile-face{animation:tile-face-ripple .42s cubic-bezier(.22,1,.36,1) both}.hand-tile.is-removing{animation:tile-hand-exit .32s cubic-bezier(.4,0,.2,1) forwards;pointer-events:none}@keyframes tile-hand-exit{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.82)}}@keyframes tile-palette-added{from{transform:translate3d(0,0,0) scale(.92)}50%{transform:translate3d(0,0,0) scale(1.04)}to{transform:translate3d(0,0,0) scale(1)}}@keyframes tile-palette-rejected{0%,100%{transform:translate3d(0,0,0)}20%{transform:translate3d(-4px,0,0)}40%{transform:translate3d(4px,0,0)}60%{transform:translate3d(-3px,0,0)}80%{transform:translate3d(3px,0,0)}}@keyframes tile-face-rejected{0%,100%{border-color:rgba(0,0,0,.08);box-shadow:0 2px 6px rgba(0,0,0,.12),inset 0 -2px 0 rgba(0,0,0,.05)}15%,45%,75%{border-color:#c0392b;box-shadow:0 0 0 3px rgba(192,57,43,.45)}30%,60%{border-color:#c0392b;box-shadow:0 0 0 5px rgba(192,57,43,.2)}}@keyframes tile-face-ripple{0%{border-color:var(--color-primary);box-shadow:0 0 0 0 rgba(var(--color-primary-rgb),.45)}45%{border-color:var(--color-primary);box-shadow:0 0 0 6px rgba(var(--color-primary-rgb),.16)}100%{border-color:rgba(0,0,0,.08);box-shadow:0 2px 6px rgba(0,0,0,.12),inset 0 -2px 0 rgba(0,0,0,.05)}}@keyframes tile-hand-enter{from{transform:translate3d(0,8px,0) scale(.72);opacity:0}to{transform:translate3d(0,0,0) scale(1);opacity:1}}@media (prefers-reduced-motion:reduce){.calc-controls button.is-flash-rejected,.calc-controls button.is-flash-success,.calc-reset.is-flash-rejected,.calc-reset.is-flash-success,.calc-reset.is-share-ready,.hand-tile.is-dragging-absolute,.hand-tile.is-just-added,.hand-tile.is-removing,.hand-tile.is-shifting,.palette-tile.is-flash-rejected,.palette-tile.is-flash-success{animation:none}.calc-reset.is-share-ready,.calc-reset.is-share-ready:hover{box-shadow:0 0 0 3px rgba(var(--color-primary-rgb),.45)}.opt-check.is-flash-success{animation:none;background:rgba(var(--color-primary-rgb),.12)}.hand-tile.is-just-added .tile-face,.palette-tile.is-flash-success .tile-face{animation:none;border-color:var(--color-primary);box-shadow:0 0 0 2px rgba(var(--color-primary-rgb),.35)}.hand-tile.is-removing .tile-face,.palette-tile.is-flash-rejected .tile-face{animation:none;border-color:#c0392b;box-shadow:0 0 0 2px rgba(192,57,43,.45)}.calc-controls button.is-flash-success,.calc-reset.is-flash-success{box-shadow:0 0 0 3px rgba(var(--color-primary-rgb),.55);border-color:var(--color-primary)}.calc-controls button.is-flash-rejected,.calc-reset.is-flash-rejected{border-color:#c0392b}}.calc-options{display:block}.calc-options-table{width:100%;border-collapse:separate;border-spacing:0}.calc-options-table tr+tr td{padding-top:.75rem}.calc-options-table td{padding:.25rem .85rem .25rem 0;vertical-align:middle}.calc-options-table td:last-child{padding-right:0}.calc-options-table td:not(:last-child){padding-right:.85rem}.calc-options-table .opt-check{align-items:center;margin:0;padding:.15rem 0}.calc-options-table .opt-check input{margin-top:0}.calc-options-table .opt-select{flex-direction:row;align-items:center;gap:.45rem;min-width:0}.calc-options-table .opt-select select{flex:1;min-width:0}.calc-options-table tr.calc-options-winds .opt-select--inline{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:.4rem;white-space:nowrap;font-size:.82rem}.calc-options-table tr.calc-options-winds .opt-select--inline select{flex:none;width:4.5rem;min-width:4.5rem;font-size:.85rem;padding:.42rem .35rem}.calc-options-table,.calc-options-table tbody{display:block;width:100%}.calc-options-table tr{display:grid;gap:.55rem .85rem}.calc-options-table tr.calc-options-winds,.calc-options-table tr:first-child{grid-template-columns:repeat(2,minmax(0,1fr))}.calc-options-table tr+tr{margin-top:.5rem;padding-top:.5rem}.calc-options-table tr+tr td{padding-top:0}.calc-options-table td{display:block;padding:0}@media (max-width:479px){.calc-options-table tr.calc-options-winds .opt-select--inline{font-size:.76rem;gap:.3rem}.calc-options-table tr.calc-options-winds .opt-select--inline select{width:4.25rem;min-width:4.25rem;font-size:.78rem;padding:.38rem .25rem}}.opt-check{display:flex;align-items:flex-start;gap:.5rem;font-size:.9rem;color:var(--color-text);cursor:pointer;border-radius:6px;padding:.2rem .35rem;margin:-.2rem -.35rem;transition:background .15s}.opt-check input{margin-top:.2rem;flex-shrink:0;width:1rem;height:1rem;accent-color:var(--color-primary);cursor:pointer}.opt-select{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600;color:var(--color-text);cursor:pointer}.opt-select select{font-family:var(--font-body);font-size:.95rem;padding:.5rem .6rem;border-radius:8px;border:1.5px solid rgba(0,0,0,.12);background:var(--color-background);color:var(--color-text)}.calc-result{margin-top:.5rem}.result-list{list-style:none;margin:0 0 .75rem;padding:0;display:flex;flex-direction:column;gap:.35rem}.result-item{display:flex;justify-content:space-between;gap:.75rem;padding:.5rem .7rem;background:var(--color-background);border-radius:8px;font-size:.92rem}.result-cn{color:var(--color-text-muted)}.result-faan{font-weight:700;color:var(--color-primary);white-space:nowrap}.result-total{display:flex;justify-content:space-between;align-items:center;padding:.75rem .9rem;background:var(--color-primary);color:#fff;border-radius:10px;font-size:1.05rem}.result-total strong{font-size:1.15rem}.result-footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.75rem}.spicy-toggle{display:inline-flex;flex-shrink:0;border:1px solid rgba(var(--color-primary-rgb),.25);border-radius:8px;overflow:hidden;background:var(--color-background)}.spicy-toggle-btn{border:0;background:0 0;color:var(--color-text);font:inherit;font-size:.82rem;font-weight:600;line-height:1.2;padding:.45rem .65rem;cursor:pointer;white-space:nowrap}.spicy-toggle-btn.is-active{background:var(--color-primary);color:#fff}.spicy-toggle-btn:focus-visible{outline:2px solid var(--color-primary);outline-offset:-2px}.result-footer .result-payout{margin:0;flex:1}.result-payout{margin:.75rem 0 0;font-size:.95rem;color:var(--color-text);text-align:right}.result-payout strong{color:var(--color-primary)}.result-below{color:var(--color-text-muted);font-style:italic}.calc-disclaimer{margin-top:2.2rem;text-align:center;font-size:.88rem;color:var(--color-text-muted);font-style:italic}.points-cta{text-align:center;margin-top:2rem}.points-cta .btn{justify-content:center}@media (max-width:768px){.calc-card-head{flex-direction:row;align-items:center;justify-content:space-between;gap:.65rem}.calc-card-head h3{flex:1;min-width:0}.calc-card-actions,.calc-card-head .calc-reset{flex-shrink:0}.calc-card-actions{flex-wrap:nowrap;justify-content:flex-end}.calc .palette-row{--calc-tile-gap:0.2rem;gap:var(--calc-tile-gap)}.calc .hand-tiles{--calc-tile-gap:0.25rem;gap:var(--calc-tile-gap)}.calc .palette-tile{width:calc((100% - 8 * var(--calc-tile-gap))/ 9);flex:0 0 calc((100% - 8 * var(--calc-tile-gap))/ 9);max-width:calc((100% - 8 * var(--calc-tile-gap))/ 9)}.calc .hand-tile{width:calc((100% - 6 * var(--calc-tile-gap))/ 7);flex:0 0 calc((100% - 6 * var(--calc-tile-gap))/ 7);max-width:calc((100% - 6 * var(--calc-tile-gap))/ 7)}.calc .hand-tile .tile-face,.calc .palette-tile .tile-face{border-radius:8px;padding:8% 6% 4% 6%;box-shadow:0 1px 4px rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.04)}.faan-table{font-size:.84rem;table-layout:fixed}.faan-table:not(.payout-faan-table):has(th:nth-child(3)) td:first-child,.faan-table:not(.payout-faan-table):has(th:nth-child(3)) th:first-child{width:32%}.faan-table:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(2),.faan-table:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(2){width:16%}.faan-table:not(.payout-faan-table):has(th:nth-child(3)) td:nth-child(3),.faan-table:not(.payout-faan-table):has(th:nth-child(3)) th:nth-child(3){width:52%}.faan-table td,.faan-table th{padding:.55rem .5rem;white-space:normal;overflow-wrap:anywhere}.faan-table th{white-space:normal}.faan-table td:first-child,.faan-table th:first-child{white-space:normal}.faan-value{white-space:normal}.faan-desc{font-size:.85rem}.payout-faan-table{display:block}.payout-faan-table colgroup{display:none}.payout-faan-table tbody,.payout-faan-table thead{display:block}.payout-faan-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;column-gap:0}.payout-faan-table td,.payout-faan-table th{display:block;min-width:0;width:auto}.payout-faan-table tbody{width:100%}}@media (max-width:600px){.calc-card-head .calc-reset,.calc-left .calc-card-actions .calc-reset,.calc-right .calc-card-head .calc-reset{font-size:.72rem;padding:.38rem .6rem}.calc-controls{gap:.3rem}.calc-controls button{font-size:clamp(.68rem, 2.6vw, .72rem);padding:.35rem .12rem;white-space:nowrap}.tile-face{padding:10% 8% 5% 8%;box-shadow:0 1px 4px rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.04)}.tile-face img{object-position:center 55%}.points-section{padding:2.25rem 0}.opt-check{font-size:.7rem}}