:root{--app-safe-top:max(env(safe-area-inset-top,0px),var(--native-safe-top,0px));--app-safe-right:max(env(safe-area-inset-right,0px),var(--native-safe-right,0px));--app-safe-bottom:max(env(safe-area-inset-bottom,0px),var(--native-safe-bottom,0px));--app-safe-left:max(env(safe-area-inset-left,0px),var(--native-safe-left,0px))}.landscape-viewport[class]{--app-window-h:100dvh;--app-safe-top:max(env(safe-area-inset-top,0px),var(--native-safe-top,0px));--app-safe-right:max(env(safe-area-inset-right,0px),var(--native-safe-right,0px));--app-safe-bottom:max(env(safe-area-inset-bottom,0px),var(--native-safe-bottom,0px));--app-safe-left:max(env(safe-area-inset-left,0px),var(--native-safe-left,0px));--app-safe-w:calc(100vw - var(--app-safe-left) - var(--app-safe-right));--app-safe-h:calc(var(--app-window-h) - var(--app-safe-top) - var(--app-safe-bottom));width:100%;height:var(--app-window-h);padding:var(--app-safe-top) var(--app-safe-right) var(--app-safe-bottom) var(--app-safe-left);box-sizing:border-box;place-items:center;display:grid;position:relative;overflow:hidden}.landscape-viewport>.landscape-stage{width:var(--app-safe-w);height:var(--app-safe-h);max-width:none;position:relative;inset:auto;transform:none}.landscape-viewport[class]{isolation:isolate;background:#8bcfe5}.landscape-viewport[class]:before{content:"";z-index:-1;filter:saturate(.85)brightness(1.04);pointer-events:none;background:url(/assets/home-landscape/seaside-background-fast.webp) 50%/cover no-repeat;position:absolute;inset:0}.landscape-viewport>.landscape-stage{background:0 0}.sea-home-viewport.landscape-viewport:before{filter:saturate(.8)contrast(.9)brightness(1.04)}.sea-auth-viewport.landscape-viewport:before{filter:none;background-image:url(/assets/home-landscape/seaside-background-fast.webp)}.landscape-stage :is(.sea-home__backdrop,.sea-auth__scene,.sea-utility__background,.sea-records__background,.sea-team__background,.sea-rules__background,.sea-settings__background){visibility:hidden}.landscape-viewport>.landscape-stage :is(.sea-home__backdrop,.sea-auth__scene,.sea-utility__background,.sea-records__background,.sea-team__background,.sea-rules__background,.sea-settings__background){object-fit:cover}.sea-auth.landscape-stage{overflow:visible}.sea-auth.landscape-stage>.sea-auth__scene{visibility:visible;inset:auto;left:calc(0px - var(--app-safe-left));object-fit:contain;object-position:left top;-webkit-mask-composite:source-in;width:159.915cqh;max-width:none;height:90cqh;top:8cqh;-webkit-mask-image:linear-gradient(90deg,#000 0% 60%,#0000 95%),linear-gradient(#0000,#000 7%,#000);mask-image:linear-gradient(90deg,#000 0% 60%,#0000 95%),linear-gradient(#0000,#000 7%,#000);-webkit-mask-composite:source-in;mask-composite:intersect}.sea-auth .sea-auth__panel .field input,.sea-auth .sea-auth__panel .invitation-field--compact>input{font-size:max(16px,1.65cqw)}.sea-auth .sea-auth__panel .field{min-width:0}.sea-auth .sea-auth__panel .field input{width:100%;min-width:0}.sea-auth .sea-auth__panel .invitation-field--compact>input{min-height:0}html :is(.thirteen-room-landscape.phone-page,.thirteen-hall__stage,.mahjong-lobby__stage,.mahjong-board,.fish-hall){--game-safe-w:calc(100vw - var(--app-safe-left) - var(--app-safe-right));--game-safe-h:calc(100dvh - var(--app-safe-top) - var(--app-safe-bottom));inset:auto;left:var(--app-safe-left);top:var(--app-safe-top);width:var(--game-safe-w);height:var(--game-safe-h);max-width:none;transform:none}html :is(.thirteen-hall,.mahjong-lobby){background-color:#102c26;background-image:url(/assets/visual/hall-bg-empty-fast.webp),radial-gradient(at 50% 30%,#315247,#102c26 75%);background-position:50%;background-repeat:no-repeat;background-size:cover;background-attachment:scroll;background-origin:padding-box;background-clip:border-box}html :is(.thirteen-hall__background,.mahjong-lobby__bg,.mahjong-bg){visibility:hidden}html .mahjong-game{background:#063f30;background-image:radial-gradient(ellipse at 50% 45%,#55a98820,#092f2a80),url('/assets/visual/thirteen-felt-ju-v1.png');background-position:center;background-size:cover;background-repeat:no-repeat}body:has(.thirteen-room-landscape){background-color:#063f30;background-image:radial-gradient(at 50% 45%,#55a98820,#092f2a80),url(/assets/visual/thirteen-felt-ju-v2.webp);background-position:50%;background-repeat:no-repeat;background-size:cover;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;min-height:100dvh}.app-shell:has(.thirteen-room-landscape){background:0 0;min-height:100dvh}html .thirteen-room-landscape.phone-page{box-shadow:none;background:0 0}html .thirteen-room-landscape.phone-page:before,html .thirteen-room-landscape.phone-page:after{display:none}:is(body,.app-shell):has(.fish-hall){background:#8bdae4 url(/assets/visual/fish-hall-bg.png) 50%/cover no-repeat fixed;min-height:100dvh}html .fish-hall{background:0 0}.landscape-orientation-guide{display:none}html[data-phone-portrait=true] .landscape-orientation-guide{z-index:2147483647;padding:32px max(24px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom));color:#104e86;text-align:center;background:#eaf9ff url(/assets/home-landscape/seaside-background-fast.webp) 50%/cover no-repeat;flex-direction:column;justify-content:center;align-items:center;gap:18px;font:600 18px/1.6 Microsoft YaHei UI,PingFang SC,sans-serif;display:flex;position:fixed;inset:0}.landscape-orientation-guide:before{content:"";z-index:-1;background:#effaffdf;position:absolute;inset:0}.landscape-orientation-guide svg{color:#078ce2;stroke-width:1.4px;width:78px;height:78px}.landscape-orientation-guide strong{font-size:24px}.landscape-orientation-guide p{max-width:24em;margin:0;font-size:15px;font-weight:400}.sea-auth-viewport.landscape-viewport[data-editing=true]{overscroll-behavior:contain;scroll-behavior:auto;display:block;overflow-y:auto}.sea-auth-viewport[data-editing=true]>.landscape-stage,.sea-auth-viewport[data-editing=true]:before{height:var(--auth-rest-stage-h)}html dialog.mahjong-create-room.thirteen-room-dialog{width:100vw;min-width:0;max-width:none;height:100dvh;max-height:none;box-shadow:none;color:inherit;background:0 0;border:0;border-radius:0;margin:0;padding:0;position:fixed;inset:0;overflow:hidden;transform:none;container-type:size}html dialog.thirteen-room-dialog::backdrop{background:#001b1838}html dialog.thirteen-room-dialog>.mahjong-room-config{left:calc((100vw + var(--app-safe-left) - var(--app-safe-right))/2);top:calc((100dvh + var(--app-safe-top) - var(--app-safe-bottom))/2);max-width:calc(100vw - var(--app-safe-left) - var(--app-safe-right) - 24px);max-height:calc(100dvh - var(--app-safe-top) - var(--app-safe-bottom) - 24px)}
