.r31-kicker{font-size:11px;letter-spacing:.085em;font-weight:800;color:#88ded8}
.r31-cast{padding:16px;background:#10242e;border-top:1px solid #3b5a65}
.r31-cast-head{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:10px;margin-bottom:13px}
.r31-cast-head h2{font-size:clamp(19px,2.5vw,23px);margin:4px 0 0;color:#fff}
.r31-cast-head p{font-size:12px;line-height:1.5;margin:0;color:#c5dce0;max-width:53ch}
.r31-cast-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.r31-cast-card{display:flex;flex-direction:column;text-align:left;min-width:0;min-height:0;padding:0;border:1px solid #45636e;border-radius:9px;overflow:hidden;background:#193440;cursor:zoom-in}
.r31-cast-card:hover{border-color:#8edbd8;background:#234653}
.r31-cast-card:focus-visible{outline:3px solid #fff0a6;outline-offset:2px}
.r31-cast-card img{display:block;width:100%;height:clamp(200px,24vw,310px);object-fit:contain;background:#e4e8e7}
.r31-cast-card>span{display:grid;gap:4px;padding:10px}
.r31-cast-card strong{font-size:13px;line-height:1.3;color:#fff}
.r31-cast-card small{font-size:11px;line-height:1.35;color:#c0d8dc}
.r31-cast-hold{margin:11px 0 0;color:#c4d9dd;font-size:12px;line-height:1.5}
.r31-cast-dialog{width:min(94vw,850px);max-height:92dvh;max-width:850px;background:#102a35;border:1px solid #5c8491;border-radius:12px;color:#f1fbfc;padding:0;overflow:auto}
.r31-cast-dialog::backdrop{background:rgba(2,11,17,.87)}
.r31-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 13px}
.r31-dialog-head strong{font-size:17px}
.r31-dialog-head button,.r31-dialog-controls button{min-height:44px;background:#21414f;border:1px solid #5b8390;color:#fff;border-radius:8px;padding:9px 13px}
.r31-dialog-stage{height:min(65dvh,650px);background:#e5e9e9;display:flex;align-items:center;justify-content:center}
.r31-dialog-stage img{display:block;width:100%;height:100%;object-fit:contain}
.r31-dialog-controls{display:flex;justify-content:center;align-items:center;gap:12px;padding:10px}
.r31-dialog-controls span{font-size:13px;min-width:42px;text-align:center}
.r31-cast-dialog>p{font-size:12px;color:#c6dce1;line-height:1.45;margin:0;padding:0 14px 13px}
.r31-phase{border:1px solid #4d747c;background:#112d38;border-radius:12px;padding:14px;margin:18px 0}
.r31-phase-head h2,.r31-seal-head h2{font-size:clamp(20px,2.5vw,26px);color:#fff;margin:4px 0 7px}
.r31-phase-head p,.r31-seal-head p{color:#d1e3e6;font-size:13px;line-height:1.5;margin:0 0 12px;max-width:90ch}
.r31-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.r31-steps>div{border:1px solid #486a74;background:#1a3b47;border-radius:8px;padding:12px;display:grid;gap:5px;min-width:0}
.r31-steps b{color:#8fe0dd;font-size:11px}
.r31-steps strong{font-size:14px;color:#fff;line-height:1.25}
.r31-steps span{font-size:12px;line-height:1.4;color:#c8dfe3}
.r31-evidence{display:grid;gap:5px;margin-top:12px;padding:10px 12px;border-left:3px solid #83d9d4;background:#173b45}
.r31-evidence strong{color:#fff;font-size:13px}
.r31-evidence span{font-size:12px;line-height:1.5;color:#d3e5e7}
.r31-seal{border:1px solid #4d747c;background:#122a35;border-radius:12px;padding:14px;margin:18px 0}
.r31-seal-visuals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.r31-seal-panel{background:#1a3a47;border:1px solid #486b76;border-radius:9px;padding:12px;min-width:0}
.r31-seal-panel strong{font-size:14px;color:#fff}
.r31-seal-panel svg{display:block;width:100%;height:165px;max-width:330px;margin:7px auto;background:#18333e;border-radius:7px}
.r31-seal-panel p{font-size:12px;line-height:1.5;color:#d0e2e5;margin:4px 0 0}
.r31-durability{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.r31-durability>div{border:1px solid #496c77;border-radius:8px;padding:10px;display:grid;gap:5px;background:#1a3945}
.r31-durability strong{font-size:13px;color:#fff}
.r31-durability span{font-size:12px;line-height:1.45;color:#cbdfe2}
.r31-gates{font-size:12px!important;line-height:1.5;color:#e4d6bd!important;border-top:1px solid #4c7079;padding-top:12px;margin:12px 0 0!important}
@media(max-width:850px){.r31-cast-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.r31-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.r31-durability{grid-template-columns:1fr}}
@media(max-width:540px){.r31-cast{padding:10px}.r31-cast-grid{gap:6px}.r31-cast-card img{height:190px}.r31-cast-card>span{padding:7px}.r31-cast-card strong{font-size:12px}.r31-phase,.r31-seal{padding:10px}.r31-steps{gap:6px}.r31-steps>div{padding:9px}.r31-steps strong{font-size:13px}.r31-seal-visuals{grid-template-columns:1fr}.r31-dialog-stage{height:min(60dvh,520px)}}
@media(prefers-reduced-motion:reduce){.r31-cast-dialog *{scroll-behavior:auto!important}}
