.level-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0}
.level-switch a{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:44px;padding:8px 5px;border:1px solid #c6d2bd;border-radius:12px;background:#fffdf5;color:#31584b;text-align:center;text-decoration:none;font:750 13px/1.3 system-ui,-apple-system,'Noto Sans TC',sans-serif;white-space:normal;overflow-wrap:anywhere;touch-action:manipulation}
.level-switch a:hover{background:#eaf1dd}.level-switch a[aria-current="page"]{background:#244e43;border-color:#244e43;color:#fff9e9;box-shadow:0 2px 0 #16362d}
.level-switch a:focus-visible{outline:3px solid #e58a45;outline-offset:2px}
.game-header>.level-switch{grid-column:1/-1;grid-row:2}
.ticket-body>.level-switch{margin:0 0 16px}.result-dialog .ticket-body>.level-switch{margin:16px 0 0;padding-top:12px;border-top:1px solid #dcdcc7}
@media(max-width:360px){.level-switch{gap:4px}.level-switch a{font-size:11px;gap:3px}.level-switch a>span{font-size:13px}}
@media(max-width:600px) and (orientation:portrait){.game-header>.level-switch{grid-row:3}}
@media(max-height:550px) and (orientation:landscape){.pf-fast-hands main{grid-template-rows:auto minmax(56px,1fr) auto auto}.game-header>.level-switch{grid-row:2}.level-switch a{padding-top:5px;padding-bottom:5px}}
@media(max-height:600px) and (orientation:portrait){.pf-fast-hands{overflow-y:auto}.pf-fast-hands main{min-height:590px;height:auto;max-height:none;grid-template-rows:auto minmax(110px,1fr) auto auto auto auto}}
