/* A collection of translucent, unbound wakeboards. No change to unlock rules. */
#trickBook,#newTrick{font-family:var(--hud-font,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)}
[data-tier="Basic"]{--tier-color:#f1f8ff}[data-tier="Pro"]{--tier-color:#d6ff32}[data-tier="Legendary"]{--tier-color:#25b8ff}
.trick-badge{position:relative;display:inline-flex;align-items:center;justify-content:center;isolation:isolate;width:100%;max-width:320px;min-height:90px;color:#fff;text-align:center;vertical-align:middle;filter:drop-shadow(0 4px 9px #001b2840)}
#trickBook .trick-badge{background:none}
.board-shape{position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:visible}
.board-deck{fill:#05263880;stroke:var(--tier-color,#effaff);stroke-opacity:.68;stroke-width:1}
.board-rail{fill:none;stroke:#fff;stroke-opacity:.13;stroke-width:.7}
.board-tip{fill:none;stroke-width:2;stroke-linecap:round}
.board-tip-lime{stroke:#d6ff32}.board-tip-blue{stroke:#25b8ff}
.board-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:78%;padding:22px 0}
.board-copy small{color:var(--tier-color,#fff);font-size:8px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase}
.board-copy strong{font-size:15px;line-height:1.2;font-weight:600;letter-spacing:-.2px;overflow-wrap:anywhere}
.board-copy>span{font-size:7px;font-weight:550;letter-spacing:1.5px;color:#dcefffbd}
#newTrick{position:absolute;z-index:5;top:calc(116px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(250px,calc(100% - 42px));padding:0;border:0;background:none;color:#fff;pointer-events:auto;touch-action:manipulation;cursor:pointer}
#newTrick[hidden]{display:none}
#newTrick .trick-badge{min-height:82px;filter:drop-shadow(0 4px 16px #002d4166)}
#newTrick .board-copy{gap:4px;padding:16px 0}
#newTrick .board-deck{fill:#07374b80;stroke-opacity:.9}
#newTrick .board-copy strong{font-size:16px;text-shadow:0 1px 5px #03283990}
#newTrick .long-name .board-copy strong{font-size:14px}
#newTrick .board-copy small{color:#f0faff;font-size:7px;letter-spacing:1.2px}
#newTrick .board-copy>span{font-size:6px;letter-spacing:1.2px}
.unlock-board{animation:board-unlock .65s cubic-bezier(.18,.8,.24,1) both}
.unlock-board .board-tip{animation:rail-unlock 1.1s ease-out both}
.unlock-footer{display:flex;justify-content:center;gap:12px;margin:0 12px;font-size:7px;letter-spacing:.3px;color:#e8f9ffcc;text-shadow:0 1px 4px #032839}
.unlock-footer>span:last-child{color:#c9f1ff}
#newTrick:hover .board-deck{fill:#104757a8;stroke:#fff}
#newTrick:focus-visible{outline:2px solid #25b8ff;outline-offset:4px;border-radius:40%}
@keyframes board-unlock{0%{opacity:0;transform:translateY(-10px) scale(.82)}65%{opacity:1;transform:translateY(0) scale(1.035)}100%{opacity:1;transform:scale(1)}}
@keyframes rail-unlock{0%{stroke-dasharray:0 60;stroke-width:4}100%{stroke-dasharray:60 0;stroke-width:2}}
#trickBook{width:min(1120px,calc(100vw - 24px));height:min(760px,calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));max-width:none;max-height:none;padding:16px;border:1px solid #d1f6ff24;border-radius:18px;background:radial-gradient(ellipse at 100% 0,#12485850,transparent 55%),#082a38f5;color:#fff;overflow:hidden;box-shadow:0 22px 90px #00192360}
#trickBook[open]{display:flex;flex-direction:column;gap:11px}
#trickBook::backdrop{background:#021e3480;backdrop-filter:blur(8px)}
.book-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}
.book-heading h2{font:600 19px/1.1 var(--hud-font,sans-serif);letter-spacing:-.4px;margin:0;white-space:nowrap}
.book-heading .book-close{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;padding:0;border:1px solid #ffffff20;border-radius:50%;background:#ffffff04;color:#d7ebf4;font:300 23px/1 var(--hud-font,sans-serif)}
.book-close:hover{background:#ffffff12}
.book-tiers{display:flex;align-items:center;gap:18px;padding:0 0 2px;flex-shrink:0}
.book-tiers>div{display:flex;align-items:baseline;gap:6px;white-space:nowrap;font-variant-numeric:tabular-nums}
.book-tiers>div>span{font-size:10px;font-weight:550;color:var(--tier-color)}
.book-tiers strong{font-size:11px;font-weight:550;color:#eefaff}
.book-tiers strong small{font-size:9px;color:#8facba;font-weight:400}
#trickBook .book-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid #ffffff12;border-radius:10px;scrollbar-width:thin;scrollbar-color:#527888 #ffffff05}
#trickBook table{border-collapse:separate;border-spacing:0;font-size:10px;width:max-content;min-width:100%}
#trickBook th,#trickBook td{padding:5px;border-right:1px solid #ffffff09;border-bottom:1px solid #ffffff09;min-width:108px;max-width:125px;height:52px;text-align:left;overflow-wrap:break-word}
#trickBook thead th{position:sticky;top:0;z-index:3;background:#163b49;height:32px;color:#d6e8ef;font-size:9px;font-weight:500;letter-spacing:.6px}
#trickBook tr>th:first-child:not([colspan]){position:sticky;left:0;background:#10323f;z-index:2;width:100px;min-width:100px;max-width:100px;font-weight:500;color:#b7d0dc;box-shadow:3px 0 8px #001e2920}
#trickBook thead tr>th:first-child{z-index:4;background:#163b49}
#trickBook .book-group th{background:#17414d;color:#d6eaf3;height:29px;font-size:10px;font-weight:550;padding:7px 10px;letter-spacing:.2px}
#trickBook .book-group th>span{position:sticky;left:10px;display:inline-block}
#trickBook .book-empty{background:#082b3860;text-align:center}
.book-empty>span{display:block;width:8px;height:2px;border-radius:2px;background:#aac9d226;margin:auto;font-size:0}
#trickBook .book-landed{background:#17454c20}
#trickBook .book-unavailable{background:repeating-linear-gradient(135deg,#041d2840 0 5px,#041d2860 5px 6px)}
#trickBook td .trick-badge{min-height:46px;filter:none}
#trickBook td .board-copy{gap:3px;padding:7px 0;width:77%}
#trickBook td .board-copy small{display:none}
#trickBook td .board-copy strong{font-size:9px;line-height:1.2;font-weight:500;letter-spacing:0}
#trickBook td .long-name .board-copy strong{font-size:8px}
.book-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){#trickBook{padding:13px}.book-heading h2{font-size:18px}.book-tiers{gap:14px}.book-tiers>div{gap:5px}}
@media(max-width:360px){#trickBook{padding:11px}.book-heading h2{font-size:17px}.book-tiers{gap:11px}.book-tiers>div>span{font-size:9px}.book-tiers strong{font-size:10px}.book-tiers strong small{font-size:8px}#newTrick{top:calc(105px + env(safe-area-inset-top))}}
@media(max-height:600px) and (orientation:landscape){#newTrick{top:calc(8px + env(safe-area-inset-top));width:220px}#newTrick .trick-badge{min-height:68px}#newTrick .board-copy{gap:3px;padding:12px 0}#newTrick .board-copy strong{font-size:14px}#newTrick .long-name .board-copy strong{font-size:12px}.unlock-footer{margin-top:-2px}#game:has(#newTrick:not([hidden])) #doubleUpCue{top:calc(92px + env(safe-area-inset-top))}#trickBook{padding:10px 14px;height:calc(100dvh - 24px)}#trickBook[open]{gap:8px}.book-heading h2{font-size:18px}.book-heading .book-close{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.unlock-board,.unlock-board .board-tip{animation:none}}
