.shield-invite{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;margin:16px 0;background:linear-gradient(120deg,#1b302c,#172131);border:1px solid #786343;border-radius:12px}.shield-invite h2{color:#f8d783;margin:0 0 6px}.shield-invite p{margin:0;color:#c5ccca}.shield-invite button{flex-shrink:0}
.shield-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:20px;border:1px solid #9d8249;border-radius:16px;background:#111e25;color:#ece7dc;overflow:auto}.shield-dialog::backdrop{background:#03090de8}.shield-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px}.shield-dialog h2{margin:0;color:#f8d783}.shield-dialog button{font:inherit;cursor:pointer;touch-action:manipulation}.shield-dialog .skill-button{padding:9px 12px;border:1px solid #786343;background:#182c32;color:#f8d783;border-radius:8px;margin:0}.shield-dialog button:focus-visible{outline:3px solid #f8d783;outline-offset:3px}.shield-dialog button:disabled{opacity:.45;cursor:default}.shield-help,.shield-dialog footer{font-size:.85rem;line-height:1.5;color:#bdc8c7}.shield-stats{display:flex;justify-content:space-between;gap:8px;font-size:.9rem}.shield-stats b{display:block;color:#f8d783;font-size:1.3rem}.shield-scene{position:relative;overflow:hidden;height:180px;margin-top:12px;border-radius:10px;background:radial-gradient(ellipse at 50% 100%,#335447,#0b151d 80%)}.shield-moon{position:absolute;width:35px;height:35px;border-radius:50%;background:#ddd8b6;right:18%;top:18px;box-shadow:0 0 35px #d9dbb530}.shield-ground{position:absolute;bottom:0;width:100%;height:20px;background:#152622}.shield-enemy{position:absolute;left:calc(50% - 40px);top:12px;color:#899c72;font-size:90px;line-height:1;transform:scale(.9);transition:transform .15s}.shield-enemy span{position:absolute;top:43px;left:19px;font-size:17px;color:#f8d783;white-space:nowrap}.shield-enemy i{position:absolute;top:83px;left:0;font-size:38px;font-style:normal;color:#8b7355}.shield-emblem{position:absolute;bottom:-12px;left:calc(50% - 43px);width:80px;height:80px;display:grid;place-items:center;border:5px solid #a78c55;border-radius:50%;background:repeating-linear-gradient(90deg,#54482f 0 18px,#655735 18px 20px);font-size:38px;color:#edda99;z-index:1;box-shadow:0 0 0 3px #222}.shield-scene.blocked .shield-emblem{transform:translateY(-18px);box-shadow:0 0 20px #b5eab3}.shield-scene.hit{background:#592c2c}.shield-track{position:relative;height:32px;background:#27333c;margin:16px 0 8px;border-radius:8px;overflow:hidden;cursor:pointer;touch-action:manipulation}.shield-window{position:absolute;left:68%;width:24%;height:100%;background:#39755a}.shield-perfect{position:absolute;left:77%;width:6%;height:100%;background:#acd196}.shield-track #shieldMarker{position:absolute;width:4px;height:100%;left:0;background:#fff2cb;box-shadow:0 0 8px #fff}.shield-message{min-height:3em;text-align:center;color:#f8d783;margin:10px 0}.shield-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}#shieldBlock{padding:12px 25px;background:#f8d783;color:#162322;border:0;border-radius:8px;font-weight:bold}.shield-dialog footer{display:flex;gap:12px;align-items:center;margin-top:18px}.shield-dialog footer span{flex:1}@media(max-width:480px){.shield-invite{align-items:flex-start;flex-direction:column}.shield-dialog{padding:14px}.shield-scene{height:150px}.shield-help{margin:10px 0}.shield-dialog footer{font-size:.75rem}}@media(prefers-reduced-motion:reduce){.shield-enemy{transition:none}}
.shield-name{display:block;margin:12px 0;font-size:.9rem;color:#f8d783}.shield-name input{box-sizing:border-box;width:100%;margin:6px 0;padding:9px 12px;border:1px solid #786343;border-radius:8px;background:#0b151d;color:#fff;font:inherit}.shield-name small{display:block;color:#bdc8c7;font-size:.75rem}.shield-submit p{font-size:.85rem;line-height:1.4;color:#bdc8c7}.shield-submit{margin-top:12px}.shield-dialog details{margin-top:16px;border-top:1px solid #786343;padding-top:12px}.shield-dialog summary{cursor:pointer;color:#f8d783}.shield-tabs{display:flex;gap:8px;margin-top:12px}.shield-tabs [aria-pressed=true]{background:#f8d783;color:#172131}.shield-dialog table{width:100%;border-collapse:collapse;text-align:left;font-size:.9rem}.shield-dialog caption{text-align:left;margin:8px 0;color:#f8d783}.shield-dialog th,.shield-dialog td{padding:8px 4px;border-bottom:1px solid #32434b;overflow-wrap:anywhere}.shield-dialog td:last-child,.shield-dialog th:last-child{text-align:right}.shield-dialog td:nth-child(2){max-width:200px}
