/* yyds_fxq */
.yyds-fxq-app{--yyds-fxq-pink:#ff5b8a;--yyds-fxq-peach:#ff9f68;--yyds-fxq-gold:#ffc93c;--yyds-fxq-blue:#4aa8ff;--yyds-fxq-green:#37c98b;--yyds-fxq-title:clamp(19px,4vw,27px);--yyds-fxq-icon:clamp(22px,5vw,32px);--yyds-fxq-plane:clamp(11px,2.1vw,16px);--yyds-fxq-dice:clamp(30px,8vw,48px);max-width:1240px;margin:0 auto;padding:4px 0 30px;color:var(--text);font-size:var(--font-size-md)}
.yyds-fxq-app *{box-sizing:border-box}
.yyds-fxq-hero{position:relative;display:flex;align-items:center;gap:14px;flex-wrap:wrap;overflow:hidden;margin-bottom:16px;padding:20px 24px;border-radius:20px;background:linear-gradient(120deg,#ff6b8a 0%,#ff9f68 45%,#ffca45 100%);box-shadow:0 12px 32px rgba(255,107,138,.28);color:#fff}
.yyds-fxq-hero::before{content:"";position:absolute;right:-44px;top:-72px;width:210px;height:210px;border-radius:50%;background:rgba(255,255,255,.14)}
.yyds-fxq-hero::after{content:"";position:absolute;right:110px;bottom:-90px;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.1)}
.yyds-fxq-hero>*{position:relative;z-index:1}
.yyds-fxq-hero-mark{width:60px;height:60px;flex:none;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.42);font-size:var(--yyds-fxq-icon);animation:yyds-fxq-float 3.2s ease-in-out infinite}
.yyds-fxq-hero-text{flex:1;min-width:180px}
.yyds-fxq-hero h1{margin:0 0 5px;font-size:var(--yyds-fxq-title);font-weight:900;letter-spacing:1px;text-shadow:0 2px 8px rgba(180,60,80,.3)}
.yyds-fxq-hero p{margin:0;font-size:var(--font-size-sm);line-height:1.5;color:rgba(255,255,255,.94)}
.yyds-fxq-hero-badge,.yyds-fxq-room-code,.yyds-fxq-spectators{flex:none;padding:7px 13px;border-radius:99px;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.18);font-size:var(--font-size-xs);font-weight:700;backdrop-filter:blur(6px)}
.yyds-fxq-hero-badges{display:flex;gap:8px;flex-wrap:wrap}
.yyds-fxq-room-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:1px}
.yyds-fxq-card{border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:18px 20px;box-shadow:var(--shadow-base)}
.yyds-fxq-card h3{position:relative;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding-left:11px;font-size:var(--font-size-lg);line-height:1.3}
.yyds-fxq-card h3::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:4px;border-radius:4px;background:linear-gradient(180deg,var(--yyds-fxq-pink),var(--yyds-fxq-gold))}
.yyds-fxq-game-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.yyds-fxq-main{min-width:0;display:flex;flex-direction:column;gap:12px}
.yyds-fxq-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.yyds-fxq-status{padding:11px 15px;border:1px solid color-mix(in srgb,var(--yyds-fxq-pink) 26%,var(--line));border-radius:12px;background:linear-gradient(100deg,color-mix(in srgb,var(--yyds-fxq-pink) 10%,var(--panel)),var(--panel));font-size:var(--font-size-sm);font-weight:700}
.yyds-fxq-status.is-my-turn{border-color:var(--yyds-fxq-green);background:linear-gradient(100deg,color-mix(in srgb,var(--yyds-fxq-green) 16%,var(--panel)),var(--panel));animation:yyds-fxq-glow 1.6s ease-in-out infinite}
.yyds-fxq-seats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}
.yyds-fxq-seat{display:flex;align-items:center;gap:9px;min-width:0;padding:9px 11px;border:1px solid var(--line-soft);border-radius:12px;background:var(--bg);transition:border-color .2s,box-shadow .2s}
.yyds-fxq-seat.is-active{border-color:var(--yyds-fxq-gold);box-shadow:0 0 0 2px color-mix(in srgb,var(--yyds-fxq-gold) 32%,transparent)}
.yyds-fxq-seat.is-mine{background:color-mix(in srgb,var(--yyds-fxq-pink) 7%,var(--bg))}
.yyds-fxq-seat-dot{width:12px;height:12px;flex:none;border-radius:50%;box-shadow:0 0 0 3px rgba(0,0,0,.06)}
.yyds-fxq-seat-red .yyds-fxq-seat-dot{background:#ff4d6d}.yyds-fxq-seat-green .yyds-fxq-seat-dot{background:#26c281}.yyds-fxq-seat-blue .yyds-fxq-seat-dot{background:#3b9dff}.yyds-fxq-seat-yellow .yyds-fxq-seat-dot{background:#ffbe1f}
.yyds-fxq-seat-body{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.yyds-fxq-seat-body strong{font-size:var(--font-size-sm);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yyds-fxq-seat-body small{font-size:var(--font-size-xxs);color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yyds-fxq-seat-ready{flex:none;padding:3px 8px;border-radius:99px;background:var(--success-soft);color:var(--success);font-size:var(--font-size-xxs);font-weight:700}
.yyds-fxq-board{position:relative;display:grid;grid-template-columns:repeat(15,minmax(0,1fr));grid-template-rows:repeat(15,minmax(0,1fr));gap:2px;width:min(100%,640px);margin:0 auto;padding:9px;border:2px solid #f0e2c4;border-radius:20px;background:radial-gradient(circle at 50% 42%,#fffdf7,#f6ecd7 78%,#eadbbd);box-shadow:0 5px 0 #d9c59c,0 12px 26px rgba(60,45,20,.2),inset 0 2px 4px rgba(255,255,255,.9),inset 0 -3px 6px rgba(120,90,40,.16);aspect-ratio:1/1;user-select:none;-webkit-user-select:none;touch-action:manipulation;overflow:hidden}
.yyds-fxq-board::before{content:"";position:absolute;inset:9px;pointer-events:none;z-index:1;border-radius:12px;background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--yyds-fxq-gold) 7%,transparent),transparent 62%)}
.yyds-fxq-theme-sky{--yyds-fxq-pink:#3b9dff;--yyds-fxq-peach:#68c8f5;--yyds-fxq-gold:#8ad4ff}
.yyds-fxq-theme-night{--yyds-fxq-pink:#a06bff;--yyds-fxq-peach:#5c7cfa;--yyds-fxq-gold:#f9d423}
.yyds-fxq-theme-forest{--yyds-fxq-pink:#37c98b;--yyds-fxq-peach:#8bd450;--yyds-fxq-gold:#ffd54a}
.yyds-fxq-base{position:relative;display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(6,1fr);place-items:center;border-radius:18px;box-shadow:inset 0 2px 6px rgba(255,255,255,.6),0 4px 0 var(--base-shadow,rgba(0,0,0,.12)),0 8px 14px rgba(15,23,42,.14)}
.yyds-fxq-base-red{--base-shadow:#e3a0ab;background:linear-gradient(150deg,rgba(255,77,109,.26),rgba(255,77,109,.06));border:1px solid rgba(255,77,109,.5)}
.yyds-fxq-base-green{--base-shadow:#96d7ba;background:linear-gradient(150deg,rgba(38,194,129,.26),rgba(38,194,129,.06));border:1px solid rgba(38,194,129,.5)}
.yyds-fxq-base-blue{--base-shadow:#9ec9f5;background:linear-gradient(150deg,rgba(59,157,255,.26),rgba(59,157,255,.06));border:1px solid rgba(59,157,255,.5)}
.yyds-fxq-base-yellow{--base-shadow:#efd38a;background:linear-gradient(150deg,rgba(255,190,31,.3),rgba(255,190,31,.07));border:1px solid rgba(255,190,31,.55)}
.yyds-fxq-base-label{position:absolute;top:4px;left:8px;font-size:var(--font-size-xxs);color:var(--text-subtle);font-weight:800;letter-spacing:.06em}
.yyds-fxq-base-slot{width:70%;height:70%;border-radius:50%;border:2px solid currentColor;opacity:.42;background:radial-gradient(circle at 40% 32%,rgba(255,255,255,.85),color-mix(in srgb,currentColor 18%,transparent));box-shadow:inset 0 -2px 3px rgba(0,0,0,.12),0 2px 0 rgba(0,0,0,.08)}
.yyds-fxq-base-red .yyds-fxq-base-slot{color:#ff4d6d}.yyds-fxq-base-green .yyds-fxq-base-slot{color:#26c281}.yyds-fxq-base-blue .yyds-fxq-base-slot{color:#3b9dff}.yyds-fxq-base-yellow .yyds-fxq-base-slot{color:#ffbe1f}
.yyds-fxq-cell{position:relative;display:grid;place-items:center;min-width:0;min-height:0;border-radius:5px;border:1px solid var(--line-soft);background:linear-gradient(160deg,color-mix(in srgb,#fff 70%,var(--panel)),var(--panel));box-shadow:inset 0 1px 1px rgba(255,255,255,.9),inset 0 -2px 0 rgba(15,23,42,.07),0 2px 0 rgba(15,23,42,.08)}
.yyds-fxq-cell-ring.yyds-fxq-c-red{background:color-mix(in srgb,#ff4d6d 13%,var(--panel));border-color:color-mix(in srgb,#ff4d6d 30%,var(--line-soft))}
.yyds-fxq-cell-ring.yyds-fxq-c-green{background:color-mix(in srgb,#26c281 13%,var(--panel));border-color:color-mix(in srgb,#26c281 30%,var(--line-soft))}
.yyds-fxq-cell-ring.yyds-fxq-c-blue{background:color-mix(in srgb,#3b9dff 13%,var(--panel));border-color:color-mix(in srgb,#3b9dff 30%,var(--line-soft))}
.yyds-fxq-cell-ring.yyds-fxq-c-yellow{background:color-mix(in srgb,#ffbe1f 15%,var(--panel));border-color:color-mix(in srgb,#ffbe1f 34%,var(--line-soft))}
.yyds-fxq-cell-ring.is-start{box-shadow:inset 0 0 0 2px color-mix(in srgb,currentColor 55%,transparent);border-color:var(--yyds-fxq-gold)}
.yyds-fxq-cell-ring.is-start::after{content:"起";position:absolute;font-size:var(--font-size-xxs);color:var(--text-subtle);font-weight:800}
.yyds-fxq-cell-ring.is-flight{box-shadow:inset 0 0 0 2px var(--yyds-fxq-gold);animation:yyds-fxq-flight-glow 2s ease-in-out infinite}
.yyds-fxq-cell-ring.is-flight::after{content:"✈";position:absolute;font-size:var(--font-size-xxs);color:var(--yyds-fxq-gold)}
.yyds-fxq-cell-home{border-radius:6px;border-style:dashed;opacity:.75}
.yyds-fxq-cell-home.yyds-fxq-c-red{background:color-mix(in srgb,#ff4d6d 30%,var(--panel));border-color:#ff4d6d}
.yyds-fxq-cell-home.yyds-fxq-c-green{background:color-mix(in srgb,#26c281 30%,var(--panel));border-color:#26c281}
.yyds-fxq-cell-home.yyds-fxq-c-blue{background:color-mix(in srgb,#3b9dff 30%,var(--panel));border-color:#3b9dff}
.yyds-fxq-cell-home.yyds-fxq-c-yellow{background:color-mix(in srgb,#ffbe1f 32%,var(--panel));border-color:#ffbe1f}
.yyds-fxq-center{grid-row:7 / span 3;grid-column:7 / span 3;display:grid;place-items:center;position:relative;z-index:2;isolation:isolate}
.yyds-fxq-center-rays{position:absolute;inset:-4%;border-radius:50%;background:conic-gradient(from 0deg,rgba(255,77,109,.92) 0deg 90deg,rgba(59,157,255,.92) 90deg 180deg,rgba(38,194,129,.92) 180deg 270deg,rgba(255,190,31,.92) 270deg 360deg);box-shadow:0 0 0 4px rgba(255,255,255,.85),0 6px 16px rgba(15,23,42,.22);animation:yyds-fxq-center-spin 24s linear infinite}
.yyds-fxq-center-rays::after{content:"";position:absolute;inset:11%;border-radius:50%;background:repeating-conic-gradient(rgba(255,255,255,.55) 0deg 1.2deg,transparent 1.2deg 8deg);-webkit-mask:radial-gradient(circle,transparent 62%,#000 63%);mask:radial-gradient(circle,transparent 62%,#000 63%)}
.yyds-fxq-center-pad{position:relative;z-index:1;width:62%;height:62%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border-radius:50%;border:3px solid rgba(255,255,255,.9);background:radial-gradient(circle at 50% 30%,#fff9e8,#ffe6a0 70%,#f5c451);box-shadow:0 5px 0 #d99a22,0 12px 22px rgba(15,23,42,.32),inset 0 2px 5px rgba(255,255,255,.95);text-align:center}
.yyds-fxq-center-trophy{font-size:clamp(18px,3.4vw,30px);line-height:1;filter:drop-shadow(0 2px 3px rgba(174,105,0,.4));animation:yyds-fxq-float 3.6s ease-in-out infinite}
.yyds-fxq-center-word{font-size:clamp(8px,1.5vw,12px);font-weight:900;line-height:1.1;letter-spacing:.12em;color:#a86400;text-shadow:0 1px 0 rgba(255,255,255,.8)}
.yyds-fxq-center-sub{font-size:clamp(7px,1.2vw,10px);font-weight:800;line-height:1.2;color:#b57a15;white-space:nowrap}
@keyframes yyds-fxq-center-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}
.yyds-fxq-planes{position:absolute;inset:9px;display:grid;grid-template-columns:repeat(15,minmax(0,1fr));grid-template-rows:repeat(15,minmax(0,1fr));gap:2px;pointer-events:none;z-index:3}
.yyds-fxq-plane{position:relative;display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0;padding:0;border:0;background:transparent;color:#fff;font-size:calc(var(--yyds-fxq-plane) * 1.25);line-height:1;cursor:default;pointer-events:none;transition:transform .35s cubic-bezier(.2,.8,.25,1.2)}
.yyds-fxq-plane::before{content:"";position:absolute;width:92%;height:92%;border-radius:50%;border:1px solid rgba(255,255,255,.75);background:radial-gradient(circle at 34% 26%,rgba(255,255,255,.8),transparent 58%);box-shadow:inset 0 -3px 4px rgba(0,0,0,.22),0 4px 0 var(--plane-shadow,rgba(0,0,0,.3)),0 7px 9px rgba(0,0,0,.28)}
.yyds-fxq-plane>span{position:relative;z-index:1;filter:drop-shadow(0 1px 1px rgba(0,0,0,.35))}
.yyds-fxq-plane.yyds-fxq-c-red{--plane-shadow:#b93250}.yyds-fxq-plane.yyds-fxq-c-red::before{background-color:#ff4d6d}.yyds-fxq-plane.yyds-fxq-c-green{--plane-shadow:#158659}.yyds-fxq-plane.yyds-fxq-c-green::before{background-color:#26c281}.yyds-fxq-plane.yyds-fxq-c-blue{--plane-shadow:#2374bd}.yyds-fxq-plane.yyds-fxq-c-blue::before{background-color:#3b9dff}.yyds-fxq-plane.yyds-fxq-c-yellow{--plane-shadow:#c8950d}.yyds-fxq-plane.yyds-fxq-c-yellow::before{background-color:#ffbe1f}
.yyds-fxq-plane.is-movable{pointer-events:auto;cursor:pointer;animation:yyds-fxq-pulse 1s ease-in-out infinite}
.yyds-fxq-plane.is-movable:hover{transform:scale(1.25) rotate(-8deg);z-index:5}
.yyds-fxq-plane.is-done{font-size:calc(var(--yyds-fxq-plane) * .9);opacity:.9}
.yyds-fxq-plane.just-moved{animation:yyds-fxq-hop .42s ease}
.yyds-fxq-plane.is-captured{animation:yyds-fxq-capture .5s ease forwards}
.yyds-fxq-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:center}
.yyds-fxq-dice{width:76px;height:76px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:2px solid #fff;border-radius:18px;background:linear-gradient(145deg,var(--yyds-fxq-pink),var(--yyds-fxq-peach));box-shadow:0 8px 22px rgba(255,107,138,.35);color:#fff;cursor:pointer;transition:transform .12s,box-shadow .2s}
.yyds-fxq-dice:hover:not(:disabled){transform:translateY(-3px) rotate(-3deg);box-shadow:0 12px 28px rgba(255,107,138,.45)}
.yyds-fxq-dice:active:not(:disabled){transform:translateY(1px) scale(.97)}
.yyds-fxq-dice:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.3)}
.yyds-fxq-dice-face{font-size:var(--yyds-fxq-dice);font-weight:900;line-height:1;text-shadow:0 2px 6px rgba(0,0,0,.2)}
.yyds-fxq-dice small{font-size:var(--font-size-xxs);font-weight:700;opacity:.9}
.yyds-fxq-dice.is-rolling .yyds-fxq-dice-face{animation:yyds-fxq-roll .55s ease}
.yyds-fxq-control-side{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.yyds-fxq-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 15px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font-size:var(--font-size-sm);font-weight:700;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,transform .1s}
.yyds-fxq-btn:hover{background:var(--brand-soft);border-color:var(--brand);text-decoration:none}
.yyds-fxq-btn:active{transform:translateY(1px)}
.yyds-fxq-btn:disabled{opacity:.5;cursor:not-allowed}
.yyds-fxq-btn-primary{background:linear-gradient(120deg,var(--yyds-fxq-pink),var(--yyds-fxq-peach));border-color:transparent;color:#fff;box-shadow:0 5px 14px rgba(255,107,138,.28)}
.yyds-fxq-btn-primary:hover{color:#fff;background:linear-gradient(120deg,#f24f7c,#ff8f54)}
.yyds-fxq-btn-green{background:linear-gradient(120deg,#26c281,#7ddc6a);border-color:transparent;color:#fff}
.yyds-fxq-btn-green:hover{color:#fff}
.yyds-fxq-btn-ghost{background:transparent}
.yyds-fxq-hint{text-align:center;color:var(--text-muted);font-size:var(--font-size-xs)}
.yyds-fxq-log{list-style:none;margin:0;padding:0;max-height:230px;overflow:auto;display:flex;flex-direction:column;gap:6px}
.yyds-fxq-log-item{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:9px;background:var(--bg);font-size:var(--font-size-xs);line-height:1.5}
.yyds-fxq-log-item time{color:var(--text-subtle);font-size:var(--font-size-xxs)}
.yyds-fxq-log-empty{padding:24px 10px;text-align:center;color:var(--text-muted);font-size:var(--font-size-xs)}
.yyds-fxq-rules p{margin:0;color:var(--text-muted);font-size:var(--font-size-xs);line-height:1.75}
.yyds-fxq-chat-who{display:block;color:var(--text-muted);font-size:var(--font-size-xxs)}
.yyds-fxq-chat-who time{margin-left:5px}
.yyds-fxq-chat-bubble{display:inline-block;margin-top:3px;padding:7px 10px;border-radius:10px;background:var(--bg);font-size:var(--font-size-xs);line-height:1.5;word-break:break-word}
.yyds-fxq-chat-list{list-style:none;margin:0 0 10px;padding:0;max-height:210px;overflow:auto;display:flex;flex-direction:column;gap:8px}
.yyds-fxq-chat-list li.is-mine{text-align:right}
.yyds-fxq-chat-list li.is-mine .yyds-fxq-chat-bubble{background:linear-gradient(120deg,color-mix(in srgb,var(--yyds-fxq-pink) 16%,var(--panel)),var(--panel))}
.yyds-fxq-chat-empty{padding:18px 8px;text-align:center;color:var(--text-muted);font-size:var(--font-size-xs)}
.yyds-fxq-chat-form{display:flex;gap:6px}
.yyds-fxq-chat-form input{flex:1;min-width:0;min-height:36px;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);font-size:var(--font-size-sm)}
.yyds-fxq-chat-form button{flex:none;padding:7px 12px;border:0;border-radius:9px;background:var(--yyds-fxq-pink);color:#fff;font-size:var(--font-size-sm);font-weight:700;cursor:pointer}
.yyds-fxq-chat-open{font-size:var(--font-size-xxs);font-weight:500;margin-left:auto}
.yyds-fxq-lobby-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px;align-items:start}
.yyds-fxq-create-form,.yyds-fxq-join-form{display:flex;flex-direction:column;gap:11px}
.yyds-fxq-create-form label,.yyds-fxq-join-form label{display:flex;flex-direction:column;gap:6px;font-size:var(--font-size-sm);font-weight:600}
.yyds-fxq-create-form select,.yyds-fxq-join-form input{width:100%;min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);font-size:var(--font-size-sm)}
.yyds-fxq-join-form{margin-top:14px;padding-top:14px;border-top:1px dashed var(--line)}
.yyds-fxq-login-tip{color:var(--text-muted);font-size:var(--font-size-sm);line-height:1.6}
.yyds-fxq-room-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.yyds-fxq-room-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid var(--line-soft);border-radius:11px;background:var(--bg)}
.yyds-fxq-room-main{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
.yyds-fxq-room-code{padding:4px 9px;border-radius:7px;background:var(--brand-soft);color:var(--brand);font-family:ui-monospace,monospace;font-weight:800}
.yyds-fxq-room-info{font-size:var(--font-size-xs);color:var(--text-muted)}
.yyds-fxq-room-info strong{color:var(--text)}
.yyds-fxq-room-empty{padding:36px 12px;text-align:center;color:var(--text-muted);font-size:var(--font-size-sm)}
.yyds-fxq-rank-page{max-width:900px}
.yyds-fxq-rank-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.yyds-fxq-rank-head h2{margin:0 0 4px;font-size:var(--font-size-xl)}
.yyds-fxq-rank-head p{margin:0;color:var(--text-muted);font-size:var(--font-size-sm)}
.yyds-fxq-rank-table{border:1px solid var(--line);border-radius:12px;overflow-x:auto}
.yyds-fxq-rank-tr{display:grid;grid-template-columns:64px minmax(140px,1fr) 84px 84px 84px 84px;gap:8px;align-items:center;min-width:620px;padding:10px 13px;font-size:var(--font-size-sm)}
.yyds-fxq-rank-th{background:var(--bg);font-weight:700}
.yyds-fxq-rank-list{list-style:none;margin:0;padding:0}
.yyds-fxq-rank-list .yyds-fxq-rank-row{border-top:1px solid var(--line-soft)}
.yyds-fxq-rank-no{font-weight:800;color:var(--text-muted);font-variant-numeric:tabular-nums}
.yyds-fxq-rank-no.is-top{color:var(--yyds-fxq-gold)}
.yyds-fxq-rank-user{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden}
.yyds-fxq-rank-user a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yyds-fxq-rank-avatar{width:28px;height:28px;flex:none}
.yyds-fxq-rank-score{text-align:right;color:var(--yyds-fxq-pink);font-variant-numeric:tabular-nums}
.yyds-fxq-rank-empty{padding:36px;text-align:center;color:var(--text-muted)}
.yyds-fxq-toast{position:fixed;left:50%;top:18px;transform:translate(-50%,-140%);z-index:9998;padding:10px 18px;border-radius:11px;background:rgba(31,35,40,.94);color:#fff;font-size:var(--font-size-sm);line-height:1.5;opacity:0;pointer-events:none;transition:transform .25s,opacity .25s;max-width:min(86vw,440px);text-align:center}
.yyds-fxq-toast.is-show{transform:translate(-50%,0);opacity:1}
.yyds-fxq-toast.is-error{background:rgba(190,36,56,.95)}
.yyds-fxq-toast.is-ok{background:rgba(24,164,110,.95)}
.yyds-fxq-result{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(20,18,36,.58);backdrop-filter:blur(3px)}
.yyds-fxq-result[hidden]{display:none}
.yyds-fxq-result-card{width:min(400px,100%);border-radius:20px;background:var(--panel);padding:26px 22px;text-align:center;box-shadow:0 20px 70px rgba(0,0,0,.3);animation:yyds-fxq-pop .45s cubic-bezier(.2,.9,.3,1.25)}
.yyds-fxq-result-emoji{font-size:clamp(40px,10vw,58px);line-height:1;margin-bottom:8px}
.yyds-fxq-result-card h2{margin:0 0 6px;font-size:var(--font-size-xl)}
.yyds-fxq-result-card p{margin:0 0 16px;color:var(--text-muted);font-size:var(--font-size-sm);line-height:1.6}
.yyds-fxq-confetti{position:fixed;inset:0;z-index:9997;pointer-events:none;overflow:hidden}
.yyds-fxq-confetti i{position:absolute;top:-20px;width:8px;height:14px;opacity:.9;animation:yyds-fxq-fall linear forwards}
.yyds-fxq-admin{--yyds-fxq-admin-accent:#ff5b8a;--yyds-fxq-admin-2:#ff9f68;--yyds-fxq-admin-line:#ece9f2;--yyds-fxq-admin-soft:#fff6f8;max-width:1100px;margin:0 auto;color:var(--text)}
.yyds-fxq-admin-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;overflow:hidden;margin-bottom:14px;padding:22px 24px;border-radius:18px;background:linear-gradient(120deg,#ff6b8a 0%,#ff9f68 52%,#ffca45 100%);box-shadow:0 12px 28px rgba(255,107,138,.24);color:#fff}
.yyds-fxq-admin-head::before{content:"";position:absolute;right:-40px;top:-70px;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.13)}
.yyds-fxq-admin-head>div{position:relative;z-index:1}
.yyds-fxq-admin-head h2{margin:0 0 7px;font-size:var(--font-size-xl)}
.yyds-fxq-admin-head p{margin:0;font-size:var(--font-size-sm);color:rgba(255,255,255,.9)}
.yyds-fxq-admin-badge{position:relative;z-index:1;padding:7px 14px;border:1px solid rgba(255,255,255,.4);border-radius:99px;background:rgba(255,255,255,.17);font-size:var(--font-size-xs);font-weight:700}
.yyds-fxq-admin-nav{display:flex;gap:6px;margin-bottom:16px;padding:5px;border:1px solid var(--yyds-fxq-admin-line);border-radius:12px;background:var(--bg)}
.yyds-fxq-admin-nav a{flex:0 0 auto;padding:9px 15px;border-radius:9px;color:var(--text-muted);font-size:var(--font-size-sm);font-weight:700;text-decoration:none;transition:background .18s,color .18s}
.yyds-fxq-admin-nav a:hover{background:var(--yyds-fxq-admin-soft);color:var(--yyds-fxq-admin-accent);text-decoration:none}
.yyds-fxq-admin-nav a.is-active{background:var(--panel);box-shadow:0 2px 8px rgba(40,20,30,.08);color:var(--yyds-fxq-admin-accent)}
.yyds-fxq-admin-body{display:grid;gap:14px}
.yyds-fxq-admin-section{border:1px solid var(--yyds-fxq-admin-line);border-radius:16px;background:var(--panel);padding:20px 22px;box-shadow:0 8px 24px rgba(30,20,30,.05)}
.yyds-fxq-admin-section h3{position:relative;margin:0 0 18px;padding-left:12px;font-size:var(--font-size-lg)}
.yyds-fxq-admin-section h3::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:4px;border-radius:4px;background:linear-gradient(180deg,var(--yyds-fxq-admin-accent),var(--yyds-fxq-admin-2))}
.yyds-fxq-admin-help{color:var(--text-muted);font-size:var(--font-size-sm);line-height:1.7}
.yyds-fxq-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:15px 18px}
.yyds-fxq-admin-grid label{display:flex;flex-direction:column;gap:7px;font-size:var(--font-size-sm);font-weight:700}
.yyds-fxq-admin-grid label>span{line-height:1.4}
.yyds-fxq-admin-grid label small{display:block;margin-top:4px;color:var(--text-muted);font-size:var(--font-size-xxs);font-weight:400;line-height:1.5}
.yyds-fxq-admin-grid input,.yyds-fxq-admin-grid select{width:100%;min-width:0;min-height:38px;padding:8px 11px;border:1px solid var(--yyds-fxq-admin-line);border-radius:9px;background:var(--bg);color:var(--text);font-size:var(--font-size-sm);font-variant-numeric:tabular-nums}
.yyds-fxq-admin-grid input:focus,.yyds-fxq-admin-grid select:focus{border-color:var(--yyds-fxq-admin-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--yyds-fxq-admin-accent) 16%,transparent);outline:0}
.yyds-fxq-admin-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px;margin-top:19px;padding-top:17px;border-top:1px dashed var(--yyds-fxq-admin-line)}
.yyds-fxq-admin-checks label{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid var(--yyds-fxq-admin-line);border-radius:10px;background:var(--bg);font-size:var(--font-size-sm);cursor:pointer;transition:border-color .18s,background .18s}
.yyds-fxq-admin-checks label:has(input:checked){border-color:color-mix(in srgb,var(--yyds-fxq-admin-accent) 45%,transparent);background:var(--yyds-fxq-admin-soft)}
.yyds-fxq-admin-checks label small{display:block;color:var(--text-muted);font-size:var(--font-size-xxs);font-weight:400;line-height:1.5}
.yyds-fxq-admin-checks input[type=checkbox]{flex:none;margin-top:1px;accent-color:var(--yyds-fxq-admin-accent)}
.yyds-fxq-admin-save{position:sticky;bottom:14px;display:inline-flex;align-items:center;gap:8px;margin-top:20px;border:0;border-radius:10px;background:linear-gradient(120deg,var(--yyds-fxq-admin-accent),var(--yyds-fxq-admin-2));box-shadow:0 8px 18px rgba(255,107,138,.28);color:#fff;font-size:var(--font-size-sm);font-weight:800;padding:12px 24px;cursor:pointer;transition:transform .18s,box-shadow .18s}
.yyds-fxq-admin-save::before{content:"✓";font-size:var(--font-size-md)}
.yyds-fxq-admin-save:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(255,107,138,.34)}
.yyds-fxq-admin-table{border:1px solid var(--yyds-fxq-admin-line);border-radius:12px;overflow-x:auto}
.yyds-fxq-admin-tr{display:grid;grid-template-columns:minmax(90px,1fr) minmax(90px,1.1fr) 76px 84px 70px minmax(90px,1fr) 120px;gap:8px;align-items:center;min-width:680px;padding:10px 13px;font-size:var(--font-size-sm)}
.yyds-fxq-admin-tr+.yyds-fxq-admin-tr{border-top:1px solid var(--yyds-fxq-admin-line)}
.yyds-fxq-admin-th{position:sticky;top:0;background:var(--yyds-fxq-admin-soft);font-weight:800}
.yyds-fxq-admin-empty{padding:40px 16px;text-align:center;color:var(--text-muted);font-size:var(--font-size-sm)}
.yyds-fxq-admin-pager{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--text-muted);font-size:var(--font-size-sm)}
/* ===== 重构后的游戏大厅 ===== */
.yyds-fxq-app-lobby{max-width:1180px}
.yyds-fxq-lobby-hero{position:relative;display:flex;align-items:center;gap:20px;flex-wrap:wrap;overflow:hidden;margin-bottom:14px;padding:26px 28px;border-radius:24px;background:linear-gradient(125deg,#ff6b8a 0%,#ff9f68 48%,#ffca45 100%);box-shadow:0 16px 40px rgba(255,107,138,.26);color:#fff}
.yyds-fxq-lobby-hero::before{content:"";position:absolute;right:-70px;top:-110px;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.14)}
.yyds-fxq-lobby-hero-main{position:relative;z-index:1;flex:1;min-width:260px}
.yyds-fxq-lobby-hero .yyds-fxq-kicker{color:rgba(255,255,255,.86)}
.yyds-fxq-lobby-hero h1{margin:0 0 8px;font-size:clamp(28px,5vw,42px);font-weight:900;letter-spacing:1px;text-shadow:0 3px 10px rgba(180,60,80,.25)}
.yyds-fxq-lead{margin:0;max-width:640px;font-size:var(--font-size-sm);line-height:1.7;color:rgba(255,255,255,.95)}
.yyds-fxq-my-rank{position:relative;z-index:1;flex:0 0 250px;padding:15px 17px;border:1px solid rgba(255,255,255,.36);border-radius:16px;background:rgba(255,255,255,.16);backdrop-filter:blur(8px)}
.yyds-fxq-my-rank-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:var(--font-size-xs);color:rgba(255,255,255,.88)}
.yyds-fxq-my-rank-head strong{font-size:var(--font-size-base);color:#fff}
.yyds-fxq-my-rank-name{display:flex;align-items:center;gap:8px;margin:9px 0;font-size:var(--font-size-sm);font-weight:700}
.yyds-fxq-my-rank-avatar{width:34px;height:34px;border-radius:50%;border:2px solid rgba(255,255,255,.7)}
.yyds-fxq-my-rank-stats{display:flex;gap:12px;flex-wrap:wrap;font-size:var(--font-size-xs);color:rgba(255,255,255,.9)}
.yyds-fxq-my-rank-stats b{font-size:var(--font-size-base);color:#fff}
.yyds-fxq-my-rank-link{display:inline-block;margin-top:10px;color:#fff;font-size:var(--font-size-xs);font-weight:700;text-decoration:none}
.yyds-fxq-my-rank-link:hover{text-decoration:underline}
.yyds-fxq-my-rank.is-guest p{margin:9px 0 0;font-size:var(--font-size-xs);line-height:1.6;color:rgba(255,255,255,.9)}
.yyds-fxq-hero-deco{position:absolute;right:14px;bottom:-22px;display:flex;gap:12px;font-size:clamp(34px,7vw,64px);font-weight:900;color:rgba(255,255,255,.16);transform:rotate(-8deg);pointer-events:none}
.yyds-fxq-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.yyds-fxq-stats span{padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:var(--shadow-base);font-size:var(--font-size-xs);color:var(--text-muted);text-align:center}
.yyds-fxq-stats b{display:block;margin-top:3px;font-size:var(--font-size-lg);color:var(--text)}
.yyds-fxq-section{margin-bottom:16px;padding:18px 20px;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:var(--shadow-base)}
.yyds-fxq-section h2{position:relative;margin:0 0 14px;padding-left:12px;font-size:var(--font-size-lg);line-height:1.3}
.yyds-fxq-section h2::before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:4px;border-radius:4px;background:linear-gradient(180deg,var(--yyds-fxq-pink),var(--yyds-fxq-gold))}
.yyds-fxq-create-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.yyds-fxq-create-wrap form{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px dashed var(--line);border-radius:14px;background:var(--bg)}
.yyds-fxq-create-wrap label{display:flex;flex-direction:column;gap:6px;font-size:var(--font-size-xs);font-weight:700;color:var(--text-muted)}
.yyds-fxq-create-wrap select,.yyds-fxq-create-wrap input{min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);font-size:var(--font-size-sm)}
.yyds-fxq-create-wrap .yyds-fxq-btn{width:100%;margin-top:2px}
.yyds-fxq-login-tip{margin:0;padding:16px;border-radius:12px;background:var(--bg);font-size:var(--font-size-sm);color:var(--text-muted)}
.yyds-fxq-room-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.yyds-fxq-room-card{display:flex;flex-direction:column;gap:9px;padding:15px;border:1px solid var(--line-soft);border-radius:15px;background:var(--bg);transition:transform .16s,border-color .16s,box-shadow .16s}
.yyds-fxq-room-card:hover{transform:translateY(-2px);border-color:var(--yyds-fxq-pink);box-shadow:0 10px 24px rgba(255,107,138,.16)}
.yyds-fxq-room-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.yyds-fxq-room-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:var(--font-size-sm);font-weight:800;letter-spacing:1px}
.yyds-fxq-room-status{padding:3px 9px;border-radius:99px;background:color-mix(in srgb,var(--yyds-fxq-green) 16%,transparent);color:var(--yyds-fxq-green);font-size:var(--font-size-xxs);font-weight:800}
.yyds-fxq-room-status.is-playing{background:color-mix(in srgb,var(--yyds-fxq-pink) 14%,transparent);color:var(--yyds-fxq-pink)}
.yyds-fxq-room-host{display:flex;align-items:center;gap:7px;font-size:var(--font-size-xs);color:var(--text-muted)}
.yyds-fxq-room-host strong{color:var(--text)}
.yyds-fxq-room-avatar{width:26px;height:26px;border-radius:50%}
.yyds-fxq-room-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:var(--font-size-xxs);color:var(--text-muted)}
.yyds-fxq-room-progress{display:inline-flex;gap:4px;margin-left:auto}
.yyds-fxq-progress-dot{width:9px;height:9px;border-radius:50%;opacity:.3;background:currentColor}
.yyds-fxq-progress-dot.is-on{opacity:1;box-shadow:0 0 6px currentColor}
.yyds-fxq-progress-dot.yyds-fxq-c-red{color:#ff4d6d}.yyds-fxq-progress-dot.yyds-fxq-c-green{color:#26c281}.yyds-fxq-progress-dot.yyds-fxq-c-blue{color:#3b9dff}.yyds-fxq-progress-dot.yyds-fxq-c-yellow{color:#ffbe1f}
.yyds-fxq-room-join{width:100%;margin-top:auto}
.yyds-fxq-room-empty{grid-column:1/-1;padding:34px 16px;border:1px dashed var(--line);border-radius:14px;text-align:center;color:var(--text-muted);font-size:var(--font-size-sm)}
.yyds-fxq-how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.yyds-fxq-how{padding:16px;border:1px solid var(--line-soft);border-radius:14px;background:var(--bg)}
.yyds-fxq-how>span{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:linear-gradient(120deg,var(--yyds-fxq-pink),var(--yyds-fxq-peach));color:#fff;font-size:var(--font-size-xs);font-weight:900}
.yyds-fxq-how strong{display:block;margin:9px 0 5px;font-size:var(--font-size-sm)}
.yyds-fxq-how p{margin:0;font-size:var(--font-size-xs);line-height:1.7;color:var(--text-muted)}
@media(max-width:900px){.yyds-fxq-my-rank{flex-basis:100%}.yyds-fxq-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.yyds-fxq-how-grid{grid-template-columns:1fr}}
@media(max-width:680px){.yyds-fxq-lobby-hero{padding:18px;border-radius:16px}.yyds-fxq-hero-deco{display:none}.yyds-fxq-create-wrap{grid-template-columns:1fr}.yyds-fxq-section{padding:15px}}

/* ===== 重构后的对局舞台 ===== */
.yyds-fxq-app-game{max-width:1320px}
.yyds-fxq-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:16px;padding:20px 24px;border:1px solid rgba(255,255,255,.28);border-radius:20px;background:linear-gradient(120deg,#ff6b8a 0%,#ff9f68 48%,#ffca45 100%);box-shadow:0 14px 36px rgba(255,107,138,.24);color:#fff;overflow:hidden}
.yyds-fxq-head::before{content:"";position:absolute;right:-50px;top:-90px;width:230px;height:230px;border-radius:50%;background:rgba(255,255,255,.14)}
.yyds-fxq-head>*{position:relative;z-index:1}
.yyds-fxq-kicker{margin:0 0 4px;font-size:var(--font-size-xs);font-weight:800;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.86)}
.yyds-fxq-head h1{margin:0 0 6px;font-size:clamp(22px,4vw,30px);font-weight:900;letter-spacing:.5px}
.yyds-fxq-room-no{display:inline-block;margin-left:8px;padding:4px 10px;border:1px solid rgba(255,255,255,.42);border-radius:99px;background:rgba(255,255,255,.18);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:var(--font-size-xs);letter-spacing:1px;vertical-align:middle}
.yyds-fxq-head-sub{margin:0;font-size:var(--font-size-sm);color:rgba(255,255,255,.92)}
.yyds-fxq-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.yyds-fxq-fs-btn,.yyds-fxq-back{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 14px;border:1px solid rgba(255,255,255,.44);border-radius:10px;background:rgba(255,255,255,.18);color:#fff;font-size:var(--font-size-sm);font-weight:700;text-decoration:none;cursor:pointer;backdrop-filter:blur(6px)}
.yyds-fxq-fs-btn:hover,.yyds-fxq-back:hover{background:rgba(255,255,255,.3);color:#fff;text-decoration:none}
.yyds-fxq-game-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
.yyds-fxq-board-col{min-width:0;display:flex;flex-direction:column;gap:12px}
.yyds-fxq-seat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.yyds-fxq-seat-strip .yyds-fxq-seat{gap:8px;padding:10px 11px;border:1px solid var(--line-soft);border-radius:14px;background:var(--panel);box-shadow:var(--shadow-base)}
.yyds-fxq-seat-badge{width:22px;height:22px;flex:none;display:grid;place-items:center;border-radius:7px;background:var(--bg);font-size:var(--font-size-xxs);font-weight:800}
.yyds-fxq-seat-red .yyds-fxq-seat-badge{color:#ff4d6d}.yyds-fxq-seat-green .yyds-fxq-seat-badge{color:#26c281}.yyds-fxq-seat-blue .yyds-fxq-seat-badge{color:#3b9dff}.yyds-fxq-seat-yellow .yyds-fxq-seat-badge{color:#e5a400}
.yyds-fxq-seat-avatar{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:var(--brand-soft);font-size:var(--font-size-xs);font-weight:800;color:var(--text-muted)}
.yyds-fxq-seat-avatar img,.yyds-fxq-seat-avatar svg{width:100%;height:100%;display:block}
.yyds-fxq-seat-avatar.is-empty{border:1px dashed var(--line);background:var(--bg)}
.yyds-fxq-seat-body strong em{margin-left:3px;padding:1px 6px;border-radius:99px;background:var(--brand-soft);color:var(--brand);font-size:var(--font-size-xxs);font-style:normal}
.yyds-fxq-board-stage{padding:18px;border:1px solid var(--line);border-radius:22px;background:radial-gradient(circle at 50% 40%,color-mix(in srgb,var(--yyds-fxq-gold) 12%,transparent),transparent 65%),var(--bg);box-shadow:var(--shadow-base)}
.yyds-fxq-board-shell{position:relative;width:100%;display:grid;place-items:center}
.yyds-fxq-board-stage .yyds-fxq-board{width:min(100%,720px);margin:0;box-shadow:0 18px 46px rgba(31,41,55,.18);transform:perspective(1400px) rotateX(6deg);transform-style:preserve-3d}
.yyds-fxq-fs-exit{display:none;position:absolute;right:14px;top:14px;z-index:8;padding:8px 14px;border:1px solid rgba(255,255,255,.45);border-radius:10px;background:rgba(15,23,42,.72);color:#fff;font-size:var(--font-size-sm);font-weight:700;cursor:pointer}
.yyds-fxq-board-shell:fullscreen,.yyds-fxq-board-shell:-webkit-full-screen{width:100vw;height:100vh;max-width:none;padding:24px;border-radius:0;background:radial-gradient(circle at 50% 45%,#233047,#0b1220);box-sizing:border-box}
.yyds-fxq-board-shell:fullscreen .yyds-fxq-board,.yyds-fxq-board-shell:-webkit-full-screen .yyds-fxq-board{width:min(94vw,94vh);max-width:none;box-shadow:none;transform:none}
.yyds-fxq-board-shell:fullscreen .yyds-fxq-fs-exit,.yyds-fxq-board-shell:-webkit-full-screen .yyds-fxq-fs-exit{display:inline-flex}
.yyds-fxq-board-foot{display:flex;align-items:center;gap:16px;padding:14px 18px;border:1px solid var(--line);border-radius:18px;background:var(--panel);box-shadow:var(--shadow-base)}
.yyds-fxq-board-foot .yyds-fxq-dice{width:84px;height:84px}
.yyds-fxq-foot-side{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.yyds-fxq-foot-side .yyds-fxq-control-side{justify-content:flex-start}
.yyds-fxq-side-wrap{display:flex;flex-direction:column;gap:12px}
.yyds-fxq-game-body .yyds-fxq-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.yyds-fxq-side-card{border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:16px 18px;box-shadow:var(--shadow-base)}
.yyds-fxq-side-card h3{position:relative;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;padding-left:11px;font-size:var(--font-size-base);line-height:1.3}
.yyds-fxq-side-card h3::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:4px;border-radius:4px;background:linear-gradient(180deg,var(--yyds-fxq-pink),var(--yyds-fxq-gold))}
.yyds-fxq-side-card h3 span{margin-left:auto;font-size:var(--font-size-xxs);font-weight:600;color:var(--text-subtle)}
.yyds-fxq-invite-card{background:linear-gradient(140deg,color-mix(in srgb,var(--yyds-fxq-pink) 10%,var(--panel)),var(--panel))}
.yyds-fxq-invite-btn{width:100%;min-height:40px;border:0;border-radius:11px;background:linear-gradient(120deg,var(--yyds-fxq-pink),var(--yyds-fxq-peach));color:#fff;font-size:var(--font-size-sm);font-weight:800;cursor:pointer}
.yyds-fxq-invite-card p{margin:8px 0 0;color:var(--text-muted);font-size:var(--font-size-xxs);line-height:1.6}
.yyds-fxq-pot{display:flex;align-items:baseline;gap:6px;padding:12px 14px;border-radius:12px;background:linear-gradient(120deg,color-mix(in srgb,var(--yyds-fxq-gold) 18%,var(--bg)),var(--bg));color:var(--text-muted);font-size:var(--font-size-xs)}
.yyds-fxq-pot strong{margin:0 auto;font-size:clamp(20px,4vw,28px);font-weight:900;color:var(--yyds-fxq-pink)}
.yyds-fxq-info-list{list-style:none;margin:10px 0 0;padding:0}
.yyds-fxq-info-list li{display:flex;justify-content:space-between;gap:10px;padding:7px 2px;border-bottom:1px dashed var(--line-soft);font-size:var(--font-size-xs)}
.yyds-fxq-info-list li:last-child{border-bottom:0}
.yyds-fxq-info-list span{color:var(--text-muted)}
.yyds-fxq-info-list b{font-weight:700}
.yyds-fxq-game-body .yyds-fxq-log{max-height:250px}
.yyds-fxq-game-body .yyds-fxq-chat-list{max-height:260px;overflow:auto;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.yyds-fxq-chat-open{font-size:var(--font-size-xxs);font-weight:600;color:var(--brand);text-decoration:none}
.yyds-fxq-chat-foot{margin:8px 0 0;font-size:var(--font-size-xxs);color:var(--text-subtle);text-align:center}
@media(max-width:1100px){.yyds-fxq-game-body{grid-template-columns:1fr}.yyds-fxq-side-wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}}
@media(max-width:760px){.yyds-fxq-head{align-items:flex-start;padding:16px}.yyds-fxq-head-actions{width:100%}.yyds-fxq-seat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.yyds-fxq-board-stage{padding:8px;border-radius:14px}.yyds-fxq-board-foot{flex-direction:column;align-items:stretch;gap:10px}.yyds-fxq-board-foot .yyds-fxq-dice{align-self:center}.yyds-fxq-foot-side .yyds-fxq-control-side{justify-content:center}}
@media(max-width:430px){.yyds-fxq-seat-strip{gap:6px}.yyds-fxq-seat-strip .yyds-fxq-seat{padding:7px 8px}.yyds-fxq-seat-avatar{width:28px;height:28px}.yyds-fxq-foot-side .yyds-fxq-control-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}

@keyframes yyds-fxq-float{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-5px) rotate(5deg)}}
@keyframes yyds-fxq-glow{0%,100%{box-shadow:0 0 0 2px color-mix(in srgb,var(--yyds-fxq-green) 20%,transparent)}50%{box-shadow:0 0 0 5px color-mix(in srgb,var(--yyds-fxq-green) 6%,transparent)}}
@keyframes yyds-fxq-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}
/* ===== 边栏「等待应战」卡片：呼吸光晕 / 流光扫过 / 应战脉冲 ===== */
.yyds-fxq-waiting-card{position:relative;overflow:hidden;border:1px solid rgba(255,107,138,.3);box-shadow:0 8px 30px rgba(255,107,138,.13),0 2px 8px rgba(0,0,0,.05);animation:yyds-fxq-waiting-breathe 3.2s ease-in-out infinite}
.yyds-fxq-waiting-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.42) 50%,transparent 65%);transform:translateX(-120%);animation:yyds-fxq-waiting-shine 4.5s ease-in-out infinite}
.yyds-fxq-waiting{padding:0}
.yyds-fxq-waiting-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 13px;color:#fff;background:linear-gradient(120deg,#ff6b8a 0%,#ff9f43 55%,#ffd166 100%);background-size:200% 200%;animation:yyds-fxq-waiting-gradient 6s ease infinite}
.yyds-fxq-waiting-title{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:800;letter-spacing:.04em;text-shadow:0 1px 3px rgba(0,0,0,.15)}
.yyds-fxq-waiting-logo{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.94);color:#ff5d7d;font-size:16px;box-shadow:0 2px 8px rgba(0,0,0,.2);animation:yyds-fxq-waiting-plane 2.6s ease-in-out infinite}
.yyds-fxq-waiting-head a{flex:0 0 auto;font-size:11px;color:#fff;text-decoration:none;opacity:.95;border:1px solid rgba(255,255,255,.7);border-radius:12px;padding:2px 9px;transition:background .15s}
.yyds-fxq-waiting-head a:hover{background:rgba(255,255,255,.22);color:#fff}
.yyds-fxq-waiting-sub{display:flex;align-items:center;gap:6px;margin:0;padding:9px 12px 4px;font-size:11px;color:var(--text-muted,#777)}
.yyds-fxq-waiting-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#ff6b8a;box-shadow:0 0 0 0 rgba(255,107,138,.6);animation:yyds-fxq-waiting-ping 1.8s ease-out infinite}
.yyds-fxq-waiting ul{list-style:none;margin:0;padding:4px 8px 10px}
.yyds-fxq-waiting li{margin:0 0 6px}
.yyds-fxq-waiting li:last-child{margin-bottom:0}
.yyds-fxq-waiting li a{position:relative;display:flex;align-items:center;gap:8px;padding:7px 8px;border:1px solid var(--line-soft,#e3e3e3);border-radius:9px;color:var(--text,#222);text-decoration:none;background:var(--bg,#fff);transition:border-color .18s,transform .18s,box-shadow .18s}
.yyds-fxq-waiting li a:hover{border-color:#ff8fa6;transform:translateY(-2px);box-shadow:0 6px 14px rgba(255,107,138,.18)}
.yyds-fxq-waiting-avatar{width:30px;height:30px;border-radius:50%;flex:0 0 auto;border:2px solid #ffc4d1;object-fit:cover}
.yyds-fxq-waiting-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.yyds-fxq-waiting-name{font-size:12px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yyds-fxq-waiting-meta{font-size:10px;color:var(--text-muted,#777);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yyds-fxq-waiting-code{font-family:ui-monospace,Menlo,Consolas,monospace;color:#ff6b8a;font-weight:700;letter-spacing:.06em}
.yyds-fxq-waiting-go{position:relative;flex:0 0 auto;padding:5px 11px;border-radius:7px;background:linear-gradient(135deg,#ff6b8a,#ff9f43);color:#fff;font-size:11px;font-weight:800;box-shadow:0 3px 10px rgba(255,107,138,.36);overflow:hidden;animation:yyds-fxq-waiting-pulse 2s ease-in-out infinite}
.yyds-fxq-waiting-go::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);transform:translateX(-100%);animation:yyds-fxq-waiting-go-shine 2.4s ease-in-out infinite}
.yyds-fxq-waiting li a:hover .yyds-fxq-waiting-go{background:linear-gradient(135deg,#ff4d73,#ff8c1a);animation-play-state:paused}
@keyframes yyds-fxq-waiting-breathe{0%,100%{box-shadow:0 8px 30px rgba(255,107,138,.12),0 2px 8px rgba(0,0,0,.05)}50%{box-shadow:0 10px 38px rgba(255,107,138,.28),0 0 0 1px rgba(255,107,138,.18)}}
@keyframes yyds-fxq-waiting-shine{0%,55%{transform:translateX(-120%)}75%,100%{transform:translateX(120%)}}
@keyframes yyds-fxq-waiting-gradient{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes yyds-fxq-waiting-plane{0%,100%{transform:rotate(-8deg) translateY(0)}50%{transform:rotate(10deg) translateY(-3px)}}
@keyframes yyds-fxq-waiting-ping{0%{box-shadow:0 0 0 0 rgba(255,107,138,.55)}70%{box-shadow:0 0 0 7px rgba(255,107,138,0)}100%{box-shadow:0 0 0 0 rgba(255,107,138,0)}}
@keyframes yyds-fxq-waiting-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes yyds-fxq-waiting-go-shine{0%,40%{transform:translateX(-100%)}60%,100%{transform:translateX(100%)}}
@keyframes yyds-fxq-flight-glow{0%,100%{box-shadow:inset 0 0 0 2px var(--yyds-fxq-gold)}50%{box-shadow:inset 0 0 0 3px var(--yyds-fxq-gold),0 0 10px var(--yyds-fxq-gold)}}
@keyframes yyds-fxq-hop{0%{transform:translateY(0) scale(1)}45%{transform:translateY(-45%) scale(1.3)}100%{transform:translateY(0) scale(1)}}
@keyframes yyds-fxq-capture{to{transform:scale(.1) rotate(240deg);opacity:0}}
@keyframes yyds-fxq-roll{0%{transform:rotate(0)}25%{transform:rotate(90deg) scale(1.12)}50%{transform:rotate(185deg) scale(.94)}75%{transform:rotate(280deg) scale(1.08)}100%{transform:rotate(360deg) scale(1)}}
@keyframes yyds-fxq-pop{0%{transform:scale(.65);opacity:0}100%{transform:scale(1);opacity:1}}
@keyframes yyds-fxq-fall{0%{transform:translateY(-10px) rotate(0);opacity:1}100%{transform:translateY(105vh) rotate(720deg);opacity:.7}}
@media (max-width:960px){.yyds-fxq-game-grid{grid-template-columns:1fr}.yyds-fxq-side{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.yyds-fxq-lobby-grid{grid-template-columns:1fr}}
@media (max-width:680px){.yyds-fxq-app{padding:0 0 18px}.yyds-fxq-hero{padding:16px;border-radius:15px;gap:10px}.yyds-fxq-hero-mark{width:48px;height:48px}.yyds-fxq-hero-badges{width:100%}.yyds-fxq-card{padding:14px;border-radius:13px}.yyds-fxq-board{padding:5px;gap:1px;border-radius:13px}.yyds-fxq-planes{inset:5px;gap:1px}.yyds-fxq-seats{grid-template-columns:repeat(2,minmax(0,1fr))}.yyds-fxq-controls{gap:10px}.yyds-fxq-dice{width:66px;height:66px}.yyds-fxq-admin-head{padding:17px;border-radius:14px}.yyds-fxq-admin-nav{flex-wrap:nowrap;overflow-x:auto;margin:0 -10px 14px;padding:5px 10px;border-radius:0;border-right:0;border-left:0;scrollbar-width:none}.yyds-fxq-admin-nav::-webkit-scrollbar{display:none}.yyds-fxq-admin-nav a{white-space:nowrap}.yyds-fxq-admin-section{padding:16px 14px;border-radius:14px}.yyds-fxq-admin-grid,.yyds-fxq-admin-checks{grid-template-columns:1fr}.yyds-fxq-admin-grid input,.yyds-fxq-admin-grid select{font-size:16px;min-height:42px}.yyds-fxq-admin-save{position:static;width:100%;justify-content:center;min-height:44px}.yyds-fxq-room-row{flex-wrap:wrap}}
@media (max-width:420px){.yyds-fxq-hero p{font-size:var(--font-size-xs)}.yyds-fxq-seats{grid-template-columns:1fr}.yyds-fxq-control-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.yyds-fxq-control-side .yyds-fxq-btn{width:100%}}
@media (prefers-reduced-motion:reduce){.yyds-fxq-hero-mark,.yyds-fxq-cell-ring.is-flight,.yyds-fxq-plane.is-movable,.yyds-fxq-status.is-my-turn,.yyds-fxq-plane.just-moved,.yyds-fxq-center-rays,.yyds-fxq-center-trophy,.yyds-fxq-waiting-card,.yyds-fxq-waiting-card::after,.yyds-fxq-waiting-head,.yyds-fxq-waiting-logo,.yyds-fxq-waiting-dot,.yyds-fxq-waiting-go,.yyds-fxq-waiting-go::after{animation:none}.yyds-fxq-plane{transition:none}}