/* Typer UX v4.0.1: responsive controls and visible prediction statistics. */
body.tp-ux-v4{--tp-panel:#060606;--tp-line:#2f3336;--tp-muted:#a0a7ae;--tp-blue:#0053cb;background:#000;color:#e7e9ea}
.tp-ux-v4 button,.tp-ux-v4 input,.tp-ux-v4 select{font-family:inherit}
.tp-ux-v4 button{touch-action:manipulation}
.tp-ux-v4 :is(button,a,input,select,summary,[tabindex]):focus-visible{outline:2px solid #78afff;outline-offset:3px}
.tp-ux-v4 button:disabled{cursor:default}
.tp-ux-v4 .game-main,.tp-ux-v4 .command-content,.tp-ux-v4 .mcard-col{min-width:0}
.tp-ux-v4 .game-sidebar,.tp-ux-v4 .screen-head{background:#000}
.tp-ux-v4 .game-sidebar .tab{min-height:44px}
.tp-ux-v4 .game-sidebar .tab.active{background:#060606}
.tp-ux-v4 .view-heading h2{font-size:clamp(21px,2vw,28px);letter-spacing:-.025em}
.tp-ux-v4 .view-heading p{color:var(--tp-muted);font-size:14px;line-height:1.5}
.tp-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid var(--tp-line);border-radius:9px;background:#0b0b0b;color:#e7e9ea;font-size:14px;font-weight:650;line-height:1.25;text-align:center;cursor:pointer}
.tp-button:hover{background:#161616}
.tp-button.primary{border-color:#0053cb;background:#0053cb;color:#fff}
.tp-button.primary:hover{background:#064ba9}
.tp-button:disabled{opacity:.5}
.tp-segments{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid #25282b;border-radius:10px;background:#060606;margin:0 0 16px}
.tp-segments>button{flex:1 1 0;min-width:0;min-height:44px;border:1px solid transparent;border-radius:7px;padding:8px 10px;background:transparent;color:#abb2b9;font-size:14px;font-weight:650;cursor:pointer}
.tp-segments>button.on{background:#0a1930;border-color:#0053cb;color:#fff}
.tp-section-label{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px;line-height:1.45}
.tp-section-label>b{font-size:16px;color:#e7e9ea}
.tp-section-label>small{font-size:13px;color:var(--tp-muted)}
.tp-load-error,.tp-first-visit{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;margin:0 0 16px;border:1px solid #654f27;border-radius:10px;background:#141006;color:#f0ddb0}
.tp-load-error>span,.tp-first-visit>span{display:grid;gap:5px}
.tp-load-error small{display:block;font-size:13px;line-height:1.5}
.tp-first-visit{background:#060e1a;border-color:#17447d;color:#e7e9ea}
.tp-first-visit p{margin:4px 0 0;font-size:14px;line-height:1.5;color:#b9c5d6}
.tp-first-visit>button{flex:none}
/* Typowanie: distinct empty inputs, comfortably sized steppers, optional markets. */
.tp-ux-v4 .mcard-split{align-items:start;grid-template-columns:minmax(0,1fr);gap:16px}
.tp-ux-v4 .match.mcard{overflow:visible}
.tp-ux-v4 .mcard-points .markets{overflow:visible;padding:4px 12px 12px;gap:12px;background:#060606}
.tp-ux-v4 .mcard-col-head{background:#081426}
.tp-ux-v4 .mcard-cash .mrc-inline>header{background:#171104}
.tp-ux-v4 .mcard-points .mrow{flex-direction:column;align-items:stretch;gap:8px}
.tp-ux-v4 .mcard-points .mrow.korow:not(.show){display:none}
.tp-ux-v4 .mcard-points .mlabel{flex:0 0 auto;color:#c4cbd2;font-size:13px;line-height:1.4;text-transform:none;letter-spacing:0}
.tp-ux-v4 .mcard-points .opts{flex:0 0 auto;width:100%;gap:7px}
.tp-ux-v4 .mcard-points :is(.opt,.scorer-chip){min-height:44px;font-size:14px;line-height:1.3;white-space:normal;cursor:pointer}
.tp-ux-v4 .mcard-points .opt:not(.sel){background:#0d0d0d;color:#cbd1d7}
.tp-ux-v4 .mcard-points .opt:disabled,.tp-ux-v4 .mcard-points .scorer-chip:disabled{opacity:1;cursor:default}
.tp-ux-v4 .mcard-points .scorebox{flex:0 0 auto;justify-content:center;gap:12px}
.tp-ux-v4 .mcard-points .numwrap,.tp-ux-v4 .mcard-points .numwrap.mini{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:0}
.tp-ux-v4 .mcard-points .numwrap .spin{display:contents}
.tp-ux-v4 .mcard-points .numwrap input{order:2;width:44px;height:46px;padding:2px;border-radius:8px;background:#000;border:1px solid #3c4248;font-size:20px;color:#fff}
.tp-ux-v4 .mcard-points .numwrap input::placeholder{color:#626c75;opacity:1}
.tp-ux-v4 .mcard-points .numwrap .sb{flex:none;width:44px;height:44px;min-width:44px;min-height:44px;font-size:22px;line-height:1;background:#111;border-color:#2f3336;color:#e7e9ea}
.tp-ux-v4 .mcard-points .numwrap .sb:first-child{order:3}
.tp-ux-v4 .mcard-points .numwrap .sb:last-child{order:1}
.tp-ux-v4 .mcard-points .sb-head,.tp-ux-v4 .mcard-points .statline{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:6px}
.tp-ux-v4 .mcard-points .sb-head .sb-title,.tp-ux-v4 .mcard-points .statline .sl-label{grid-column:1/-1;margin-bottom:4px}
.tp-ux-v4 .mcard-points .statline{padding:12px 0}
.tp-ux-v4 .mcard-points .sb-head .th{font-size:12px;overflow-wrap:anywhere}
.tp-ux-v4 .mcard-points .tp-stat-markets{display:block;min-width:0;margin:0;padding:12px;border:1px solid #274366;border-radius:10px;background:#080808}
.tp-stat-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 7px;line-height:1.4}
.tp-stat-heading>b{display:flex;align-items:center;gap:8px;color:#e7e9ea;font-size:15px;font-weight:700}
.tp-stat-heading>b>i{color:#7eb1ff}
.tp-stat-heading>span{flex:none;padding:3px 8px;border-radius:6px;background:#0a1e38;color:#b5d1ff;font-size:12px;font-weight:700;white-space:nowrap}
.tp-stat-hint{margin:0 0 12px;color:#aeb8c2;font-size:12px;line-height:1.5}
.tp-stat-hint>b{font-weight:600;color:#d8c18b}
.tp-ux-v4 .mcard-points .tp-stat-markets .sb-head{padding:0 0 8px;align-items:end}
.tp-ux-v4 .mcard-points .tp-stat-markets .sb-head .th{color:#c4cfdb;font-size:12px;font-weight:650;text-align:center;white-space:normal;line-height:1.4}
.tp-ux-v4 .mcard-points .tp-stat-markets .statline{padding:12px 0;border-top:1px solid #272c32;row-gap:10px}
.tp-ux-v4 .mcard-points .tp-stat-markets .statline:last-child{padding-bottom:2px}
.tp-ux-v4 .mcard-points .tp-stat-markets .sl-label{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;margin:0;font-size:14px;line-height:1.4;font-weight:650}
.tp-stat-name{display:inline-flex;align-items:center;gap:7px;min-width:0}
.tp-ux-v4 .mcard-points .tp-stat-markets .sl-label .pts{display:inline-flex;flex:none;align-items:center;min-height:25px;padding:3px 7px;border:1px solid #25466e;border-radius:6px;background:#081b33;color:#9dc5ff;font-size:12px;font-weight:700;white-space:nowrap}
.tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini{display:grid;grid-template-columns:36px 44px 36px;gap:3px}
.tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini input{grid-column:2;grid-row:1;width:44px;min-width:0;height:44px;font-size:18px;text-align:center;appearance:textfield;-moz-appearance:textfield}
.tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini input::-webkit-inner-spin-button,.tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini .sb{width:36px;min-width:36px;height:44px;min-height:44px;font-size:20px}
.tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini .sb:last-child{grid-column:1;grid-row:1}
.tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini .sb:first-child{grid-column:3;grid-row:1}
.tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini:has(input[readonly]){display:flex}
@media(max-width:600px){
 .tp-ux-v4 .mcard-points .tp-stat-markets{padding:12px 10px}
 .tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini{grid-template-columns:44px 44px;gap:4px}
 .tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini input{grid-column:1/-1;grid-row:1;width:100%}
 .tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini .sb{width:44px;min-width:44px}
 .tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini .sb:last-child{grid-column:1;grid-row:2}
 .tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini .sb:first-child{grid-column:2;grid-row:2}
 .tp-ux-v4 .mcard-points .tp-stat-markets .numwrap.mini input[readonly]{width:64px}
}
.tp-extra-markets{border:1px solid #2f3336;border-radius:10px;background:#080808}
.tp-extra-markets>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:10px 12px;cursor:pointer;color:#c3d8f8;font-size:14px;font-weight:650;list-style:none}
.tp-extra-markets>summary::-webkit-details-marker{display:none}
.tp-extra-markets>summary>span{display:flex;align-items:center;gap:8px}
.tp-extra-markets>summary::after{content:'+';font-size:22px;font-weight:400}
.tp-extra-markets[open]>summary::after{content:'−'}
.tp-extra-count{margin-left:auto;color:var(--tp-muted);font-size:12px;font-weight:500}
.tp-extra-body{display:grid;gap:14px;padding:0 12px 12px}
.tp-ux-v4 .mcard-points .scorer-grid{flex:0 0 auto;grid-template-columns:repeat(2,minmax(0,1fr));max-height:280px;overflow:auto}
.tp-ux-v4 .mcard-points :is(.f-banker,.f-bonus){min-height:60px;cursor:pointer}
.tp-ux-v4 [role="switch"][aria-disabled="true"]{cursor:default}
.tp-save-area{position:sticky;bottom:12px;z-index:12;display:grid;gap:7px;padding:10px 0 0;background:#060606;border-top:1px solid #2f3336}
.tp-draft-status{font-size:12px;color:#aeb7c0;line-height:1.4}
.tp-draft-status.is-dirty{color:#ffcb74}
.tp-ux-v4 .mcard-points .tp-save-area .submit{margin:0;min-height:48px;border-radius:9px;font-size:15px}
/* Ranking: stable labels and controls remain visible at every size. */
.tp-ux-v4 .rank-mode-switch.rank-mode-switch-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 44px;gap:6px}
.tp-ux-v4 .rank-mode-switch.rank-mode-switch-filter .rank-mode-btn{display:flex;flex:none;width:auto;min-width:0;min-height:44px;padding:8px 6px;justify-content:center;gap:6px;font-size:13px}
.tp-ux-v4 .rank-mode-switch.rank-mode-switch-filter .rank-mode-btn span{display:inline;white-space:normal;overflow:visible;text-overflow:clip}
.tp-ux-v4 .rank-mode-switch.rank-mode-switch-filter .rank-filter-toggle{width:44px;min-height:44px}
.tp-ux-v4 .tp-rank-period{display:flex;gap:7px;margin:12px 0}
.tp-ux-v4 .tp-rank-period>.rvtab{min-height:44px;flex:1 1 0;justify-content:center;font-size:14px}
.tp-find-me{margin:0 0 12px}
.tp-found{outline:2px solid #74aaff;outline-offset:-2px;scroll-margin-block:80px}
/* Coins: immediate match access, desktop slip and mobile expandable dock. */
.tp-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;margin-bottom:16px;background:#060606;border:1px solid #3d321f;border-radius:11px}
.tp-balance>span{display:flex;align-items:center;gap:12px;min-width:0}
.tp-balance>span>span{display:grid;gap:3px}
.tp-balance .mrc-icon{width:38px;height:38px}
.tp-balance small{font-size:12px;color:var(--tp-muted)}
.tp-balance strong{font-size:clamp(20px,2vw,28px);font-variant-numeric:tabular-nums;line-height:1.2;color:#ffe09a}
.tp-coin-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
.tp-coin-matches{min-width:0}
.tp-coupon-dock{position:sticky;top:16px;min-width:0;border:1px solid #655120;border-radius:11px;background:#080808;overflow:hidden}
.tp-coupon-toggle{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:54px;padding:12px 16px;border:0;background:#141006;color:#ffe1a1;font-size:14px;font-weight:700;cursor:pointer}
.tp-coupon-toggle>span{display:flex;align-items:center;gap:8px}
.tp-coupon-toggle b{display:grid;place-items:center;min-width:26px;height:26px;border-radius:7px;background:#493812;color:#fff}
.tp-ux-v4 .tp-coupon-body .mrc-multi-coupon{margin:0;border:0;border-radius:0;box-shadow:none;background:#080808}
.tp-ux-v4 .tp-coupon-body .mrc-multi-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}
.tp-ux-v4 .tp-coupon-body .mrc-multi-numbers>div:last-child{grid-column:1/-1}
.tp-ux-v4 .tp-coupon-body .mrc-multi-stake{display:flex;flex-direction:column;align-items:stretch}
.tp-ux-v4 .tp-coupon-body .mrc-chips{display:flex;flex-wrap:wrap;gap:5px}
.tp-ux-v4 :is(.mrc-chip,.mrc-place,.mrc-pick,.mrc-market-tab,.mrc-filter-btn){min-height:44px}
.tp-ux-v4 .mrc-field input{min-height:46px;font-size:16px}
.tp-help{margin:16px 0;border:1px solid #2f3336;border-radius:10px;background:#060606}
.tp-help>summary{min-height:48px;padding:14px;cursor:pointer;font-size:14px;font-weight:650}
.tp-help>.mrc-rules{border:0;margin:0;background:transparent}
/* Inventory: square artwork, real profile styles and an owned-items grid. */
.tp-profile-preview{padding:16px;margin-bottom:16px;border:1px solid #2f3336;border-radius:11px;background:#060606;scroll-margin-top:16px}
.tp-preview-row{position:relative;isolation:isolate;display:flex;align-items:center;gap:18px;min-height:100px;padding:18px;border-radius:9px;background:#0b0b0b;overflow:hidden}
.tp-preview-row>*{position:relative;z-index:2}
.tp-ux-v4 .tp-preview-row .mrc-avatar-shell{flex:none;width:58px;height:58px;min-width:58px;border-radius:50%}
.tp-ux-v4 .tp-preview-row .mrc-avatar-shell>img{display:block;width:58px;height:58px;object-fit:cover;border-radius:50%}
.tp-preview-name{display:grid;gap:8px;min-width:0;flex:1}
.tp-preview-name>b{font-size:18px;overflow-wrap:anywhere}
.tp-preview-name>span{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.tp-preview-name .mrc-nick-badge img,.tp-preview-name .mrc-title-art img{width:24px;height:24px;object-fit:contain}
.tp-preview-name .mrc-nick-title{display:flex;gap:5px;align-items:center;white-space:normal;line-height:1.3;font-size:12px}
.tp-preview-you{color:#adb7c2;font-size:12px}
.tp-preview-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.tp-inventory-filters{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 16px}
.tp-inventory-filters>.tp-segments{margin:0;flex:1 1 300px}
.tp-inventory-filters>label{display:grid;gap:5px;flex:1 1 200px;color:#aeb7c0;font-size:12px}
.tp-inventory-filters select{width:100%;min-height:48px;padding:10px;border:1px solid #2f3336;border-radius:8px;background:#060606;color:#e7e9ea;font-size:14px}
.tp-item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px;align-items:stretch}
.tp-item{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px;border:1px solid #292c30;border-radius:10px;background:#060606}
.tp-item.equipped{border-color:#2c68bb;background:#07101d}
.tp-item-top{display:flex;gap:6px;justify-content:space-between;align-items:start;color:#99a4b0;font-size:11px;line-height:1.3}
.tp-item-top b{flex:none;color:#cdd5de}
.tp-item-art{display:grid;place-items:center;width:100%;height:132px;padding:8px;border:0;border-radius:8px;background:transparent;cursor:pointer}
#view-inventory .tp-item-art .mrc-item-art-preview{display:grid;place-items:center;width:112px;height:112px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#view-inventory .tp-item-art .mrc-item-art-preview img{width:112px!important;height:112px!important;max-width:100%!important;max-height:112px!important;object-fit:contain!important;border-radius:0}
.tp-item>b{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.tp-item>small{margin-bottom:auto;color:var(--loot-color);font-size:12px}
.tp-item>.tp-button{width:100%;padding:9px 6px;font-size:13px}
.tp-item>.tp-salvage{font-size:11px;color:#d3bcf4;border-color:#40304f}
.tp-inventory-empty{grid-column:1/-1;display:grid;justify-items:center;gap:14px;padding:36px 14px;color:#b4bec8;text-align:center;line-height:1.5}
.tp-workshop{padding:18px;border:1px solid #2f3336;border-radius:11px;background:#060606}
.tp-craft-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:18px 0}
.tp-craft-card{display:grid;align-content:start;justify-items:center;gap:12px;padding:16px;border:1px solid #303039;border-radius:10px;background:#090909;text-align:center;font-size:14px}
.tp-craft-card>img{width:140px;height:140px;max-width:100%;object-fit:contain}
.tp-craft-card>span{color:#bda6e7;font-size:13px}
.tp-craft-card>.tp-button{width:100%}
/* Crates and missions keep their current rewards and visual assets. */
.tp-crate-summary{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1fr);gap:24px;padding:20px;margin-bottom:20px;border:1px solid #2f3336;border-radius:11px;background:#060606}
.tp-crate-summary>div{display:grid;gap:8px;align-content:center}
.tp-crate-summary span{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:#aeb7c0}
.tp-crate-summary strong{font-size:32px;line-height:1.2;color:#fff}
.tp-crate-summary small{font-size:12px;font-weight:400;color:#aeb7c0}
.tp-crate-summary progress{appearance:none;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#222}
.tp-crate-summary progress::-webkit-progress-bar{background:#222}
.tp-crate-summary progress::-webkit-progress-value{background:#0053cb}
.tp-crate-summary progress::-moz-progress-bar{background:#0053cb}
.tp-crate-skip{margin:0 auto 12px}
.tp-ux-v4 .mrc-case-modal-actions{gap:8px;flex-wrap:wrap}
.tp-ux-v4 .mrc-case-modal-actions>button{min-height:46px}
.tp-ux-v4 .tp-mission{background:#060606;border-radius:10px}
.tp-ux-v4 .tp-mission>button,.tp-ux-v4 .tp-pass-level>button{min-height:46px}
@media(min-width:800px){
 .tp-ux-v4 .app.game-shell{grid-template-columns:224px minmax(0,1fr)}
 .tp-ux-v4 .game-sidebar .tab{font-size:13px}
 .tp-ux-v4 .game-main{padding-left:24px;padding-right:24px}
}
@media(min-width:1200px){
 .tp-ux-v4 .mcard-split{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
 .tp-coin-layout{grid-template-columns:minmax(0,1fr) minmax(290px,340px)}
 .tp-coupon-toggle{cursor:default;pointer-events:none}
 .tp-coupon-toggle>i{display:none}
 .tp-coupon-body{max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
}
@media(min-width:800px) and (max-width:1199px){
 .tp-ux-v4 .app.game-shell{grid-template-columns:200px minmax(0,1fr)}
 .tp-ux-v4 .game-main{padding-left:16px;padding-right:16px}
 .tp-coupon-dock{position:fixed;z-index:55;left:216px;right:16px;bottom:12px;top:auto}
 .tp-coin-layout{padding-bottom:75px}
}
@media(max-width:1199px){
 .tp-coupon-body{display:none;max-height:55dvh;overflow-y:auto;overscroll-behavior:contain}
 .tp-coupon-dock.expanded .tp-coupon-body{display:block}
}
@media(max-width:799px){
 .tp-ux-v4 .game-sidebar .tabs-wrap{box-shadow:none;background:#000}
 .tp-ux-v4 .game-sidebar .tab{min-height:52px;font-size:11px}
 .tp-ux-v4 .game-main{padding-left:10px;padding-right:10px}
 .tp-ux-v4 .mcard-split{padding:12px 8px}
 .tp-save-area{bottom:calc(70px + env(safe-area-inset-bottom));padding-bottom:8px}
 .tp-coupon-dock{position:fixed;z-index:60;left:8px;right:8px;bottom:calc(70px + env(safe-area-inset-bottom));top:auto;border-radius:10px}
 .tp-coin-layout{padding-bottom:76px}
 .tp-ux-v4.tp-keyboard-open .game-sidebar .tabs-wrap{display:none}
 .tp-ux-v4.tp-keyboard-open .tp-save-area,.tp-ux-v4.tp-keyboard-open .tp-coupon-dock{bottom:8px}
 .tp-balance{padding:12px}
 .tp-balance .tp-button{padding:8px 10px;font-size:12px}
 .tp-segments>button{font-size:13px;padding:8px 5px}
 .tp-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .tp-item{padding:10px}
 .tp-inventory-filters>label{flex-basis:100%}
 .tp-crate-summary{grid-template-columns:1fr;gap:16px;padding:16px}
 .tp-crate-summary>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}
 .tp-crate-summary strong{font-size:26px}
 .tp-profile-preview{padding:12px}
 .tp-preview-row{padding:14px;gap:14px}
 .tp-preview-name>b{font-size:16px}
 .tp-load-error,.tp-first-visit{flex-wrap:wrap;gap:10px;padding:12px}
 .tp-ux-v4 .tp-pass-rail{scroll-snap-type:x proximity}
 .tp-ux-v4 .tp-pass-level{scroll-snap-align:start}
}
@media(max-width:380px){
 .tp-ux-v4 .mcard-points .numwrap{display:grid;grid-template-columns:44px 44px;gap:4px}
 .tp-ux-v4 .mcard-points .numwrap input{grid-column:1/-1;grid-row:1;width:100%}
 .tp-ux-v4 .mcard-points .numwrap .sb:last-child{grid-column:1;grid-row:2}
 .tp-ux-v4 .mcard-points .numwrap .sb:first-child{grid-column:2;grid-row:2}
 .tp-ux-v4 .rank-mode-switch.rank-mode-switch-filter .rank-mode-btn{font-size:12px;gap:4px}
 .tp-ux-v4 .rank-mode-switch.rank-mode-switch-filter .rank-mode-btn i{font-size:12px}
 .tp-item-art{height:116px;padding:2px}
 #view-inventory .tp-item-art .mrc-item-art-preview{width:98px;height:98px}
 .tp-preview-you{display:none}
}
@media(prefers-reduced-motion:reduce){
 .tp-ux-v4 *,.tp-ux-v4 *::before,.tp-ux-v4 *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

.tp-first-visit>span{flex:1;min-width:170px}
.tp-first-visit small{font-size:13px;line-height:1.5;color:#b9c5d6}
.tp-ux-v4 .mrc-filters>button{min-height:44px}

.tp-ux-v4 .tp-coupon-body .mrc-multi-foot{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.tp-ux-v4 .tp-coupon-body .mrc-multi-foot .mrc-place{width:100%;min-width:0}
.tp-ux-v4 .tp-coupon-body .mrc-multi-row{grid-template-columns:minmax(0,1fr) 46px 44px;gap:7px}
.tp-ux-v4 .tp-coupon-body .mrc-multi-row>button{width:44px;height:44px}
.tp-ux-v4 .tp-coupon-body .mrc-multi-head{flex-wrap:wrap}
.tp-ux-v4 .tp-coupon-body .mrc-club-pair{flex-wrap:wrap;justify-content:flex-start}

.tp-crate-skip[hidden]{display:none}
