.yj-ops-calc{--calc-bg:#071426;--calc-panel:#0b1d33;--calc-panel-2:#102742;--calc-line:rgba(106,208,255,.19);--calc-text:#eaf7ff;--calc-muted:#91abc2;--calc-cyan:#34d9ff;--calc-blue:#4f7cff;--calc-violet:#916cff;--calc-green:#45f5ba;position:relative;isolation:isolate;width:100%;max-width:100%;margin:-18px 0 32px;padding:26px;border:1px solid rgba(65,202,255,.28);border-radius:22px;background:radial-gradient(circle at 85% 0,rgba(94,92,255,.17),transparent 31%),radial-gradient(circle at 0 48%,rgba(0,222,255,.1),transparent 28%),var(--calc-bg);color:var(--calc-text);box-shadow:0 24px 70px rgba(2,13,28,.25);overflow:hidden;font-family:"Segoe UI","Microsoft YaHei",sans-serif}
.yj-ops-calc *{box-sizing:border-box}.yj-ops-calc:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(70,180,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(70,180,255,.04) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,#000,transparent 82%)}
.yjcalc-hero{position:relative;min-height:310px;padding:58px 54px 48px;border:1px solid rgba(103,209,255,.18);border-radius:18px;background:linear-gradient(135deg,rgba(15,43,73,.91),rgba(10,25,49,.95));overflow:hidden}.yjcalc-hero:before,.yjcalc-hero:after{content:"";position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}.yjcalc-hero:before{width:260px;height:260px;right:-60px;top:-100px;background:radial-gradient(circle,rgba(80,105,255,.33),transparent 67%)}.yjcalc-hero:after{width:190px;height:190px;right:14%;bottom:-125px;background:radial-gradient(circle,rgba(52,217,255,.24),transparent 68%)}
.yjcalc-hero-grid{position:absolute;right:0;top:0;width:46%;height:100%;opacity:.5;background:linear-gradient(90deg,transparent,rgba(65,215,255,.08)),repeating-linear-gradient(0deg,transparent 0 21px,rgba(104,220,255,.1) 22px),repeating-linear-gradient(90deg,transparent 0 21px,rgba(104,220,255,.1) 22px);clip-path:polygon(27% 0,100% 0,100% 100%,0 100%)}
.yjcalc-kicker{position:relative;display:inline-flex;align-items:center;gap:10px;padding:8px 13px;border:1px solid rgba(82,213,255,.35);border-radius:999px;background:rgba(7,25,45,.68);color:#aeeeff;font:600 11px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.12em}.yjcalc-kicker span,.yjcalc-status i,.yjcalc-local i{width:7px;height:7px;border-radius:50%;background:var(--calc-cyan);box-shadow:0 0 0 5px rgba(52,217,255,.1),0 0 15px var(--calc-cyan)}
.yj-ops-calc .yjcalc-hero h1{position:relative;margin:27px 0 12px!important;color:#f2fbff!important;font-size:clamp(34px,5.2vw,61px)!important;line-height:1.08!important;letter-spacing:-.045em!important;text-shadow:0 0 32px rgba(91,178,255,.2)}.yjcalc-hero>p{position:relative;max-width:700px!important;margin:0!important;color:#a9c2d8!important;font-size:17px!important;line-height:1.8!important}.yjcalc-status{position:relative;display:flex;flex-wrap:wrap;gap:12px 25px;margin-top:30px;color:#cce8f6;font-size:13px}.yjcalc-status span,.yjcalc-local{display:flex;align-items:center;gap:9px}.yjcalc-status i,.yjcalc-local i{width:5px;height:5px;box-shadow:0 0 10px var(--calc-cyan)}
.yjcalc-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:16px 0 22px}.yjcalc-nav a{display:flex;align-items:center;gap:11px;min-height:58px;padding:12px 14px;border:1px solid rgba(92,188,239,.16);border-radius:12px;background:rgba(11,29,51,.85);color:#b7d0e3!important;text-decoration:none!important;transition:.2s ease}.yjcalc-nav a:hover,.yjcalc-nav a:focus{border-color:rgba(52,217,255,.48);background:#102a48;transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.16)}.yjcalc-nav b{color:var(--calc-cyan);font:700 12px ui-monospace,SFMono-Regular,Consolas,monospace}.yjcalc-nav span{font-size:13px;font-weight:600}
.yjcalc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.yjcalc-card{position:relative;padding:25px;border:1px solid rgba(90,190,242,.17);border-radius:17px;background:linear-gradient(160deg,rgba(15,38,65,.98),rgba(8,25,44,.98));box-shadow:0 16px 35px rgba(0,0,0,.14);overflow:hidden}.yjcalc-card:after{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,var(--calc-cyan),var(--calc-blue),transparent 84%)}.yjcalc-card-wide{grid-column:1/-1}.yjcalc-card>header{display:flex;align-items:flex-start;gap:15px;margin-bottom:23px}.yjcalc-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:1px solid rgba(74,220,255,.35);border-radius:13px;background:rgba(40,157,215,.1);color:var(--calc-cyan);font:700 24px/1 ui-monospace,Consolas,monospace;box-shadow:inset 0 0 18px rgba(44,210,255,.08)}.yjcalc-card small{display:block;margin:1px 0 4px;color:#6ea0be;font:700 10px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.16em}.yj-ops-calc .yjcalc-card h2{margin:0!important;padding:0!important;border:0!important;color:#edfaff!important;font-size:21px!important;line-height:1.25!important}.yjcalc-card header p{margin:7px 0 0!important;color:var(--calc-muted)!important;font-size:13px!important;line-height:1.6!important}
.yjcalc-form{display:grid;gap:13px}.yjcalc-form-3{grid-template-columns:minmax(0,1.8fr) minmax(110px,.55fr) minmax(150px,.65fr);align-items:end}.yjcalc-form label{display:grid;gap:7px;margin:0}.yjcalc-form label>span{color:#9eb9ce;font-size:12px;font-weight:600}.yjcalc-form input,.yjcalc-form select{width:100%;height:44px;margin:0!important;padding:0 13px!important;border:1px solid rgba(107,174,215,.28)!important;border-radius:9px!important;outline:0;background:#07182b!important;color:#ebf9ff!important;font:500 14px/1 "Segoe UI","Microsoft YaHei",sans-serif!important;box-shadow:none!important;transition:.2s}.yjcalc-form input:focus,.yjcalc-form select:focus{border-color:var(--calc-cyan)!important;box-shadow:0 0 0 3px rgba(52,217,255,.11)!important}.yjcalc-form select{color-scheme:dark}.yjcalc-form button{height:44px;padding:0 17px;border:1px solid rgba(73,216,255,.35);border-radius:9px;background:linear-gradient(105deg,#176bb5,#5048d8);color:#fff;font-weight:700;cursor:pointer;box-shadow:0 9px 24px rgba(30,78,194,.24);transition:.2s}.yjcalc-form button:hover,.yjcalc-form button:focus{filter:brightness(1.12);transform:translateY(-1px);box-shadow:0 12px 28px rgba(32,109,210,.3)}.yjcalc-form button span{margin-left:7px;color:#b9f4ff}.yjcalc-inline{display:grid;grid-template-columns:minmax(0,1fr) 105px;gap:10px}.yjcalc-inline-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.yjcalc-output{min-height:75px;margin-top:17px;padding:15px;border:1px solid rgba(63,217,255,.15);border-radius:12px;background:rgba(3,16,30,.58)}.yjcalc-output:empty:before{content:"等待输入参数…";color:#5f7d95;font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.yjcalc-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.yjcalc-result{min-width:0;padding:10px 11px;border-radius:8px;background:rgba(26,57,89,.52)}.yjcalc-result span{display:block;margin-bottom:4px;color:#7496b1;font-size:11px}.yjcalc-result b{display:block;overflow-wrap:anywhere;color:#e7faff;font:700 14px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.yjcalc-result.primary{background:linear-gradient(135deg,rgba(37,131,184,.22),rgba(76,76,213,.19));box-shadow:inset 0 0 0 1px rgba(53,215,255,.12)}.yjcalc-result.primary b{color:#7fe9ff;font-size:18px}.yjcalc-note{grid-column:1/-1;margin:1px 2px 0!important;color:#7898b0!important;font-size:11px!important;line-height:1.6!important}.yjcalc-error{margin:0!important;color:#ff9fa6!important;font-size:13px!important}.yjcalc-divider{display:flex;align-items:center;gap:12px;color:#54748e;font:700 10px ui-monospace,Consolas,monospace}.yjcalc-divider:before,.yjcalc-divider:after{content:"";height:1px;flex:1;background:rgba(111,167,205,.16)}
.yjcalc-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:18px;padding:20px 22px;border:1px solid rgba(87,180,225,.15);border-radius:14px;background:rgba(9,27,47,.82)}.yjcalc-footer>div{display:grid;gap:4px}.yjcalc-footer b{color:#dff6ff;font-size:13px}.yjcalc-footer span{color:#7999b1;font-size:12px;line-height:1.6}.yjcalc-local{flex:0 0 auto!important;color:#75cce9!important;font:700 10px ui-monospace,Consolas,monospace;letter-spacing:.12em}
@media(max-width:900px){.yj-ops-calc{margin:-12px 0 24px;padding:15px;border-radius:16px}.yjcalc-hero{padding:42px 30px}.yjcalc-nav{grid-template-columns:repeat(3,1fr)}.yjcalc-grid{grid-template-columns:1fr}.yjcalc-card-wide{grid-column:auto}.yjcalc-form-3{grid-template-columns:1fr 1fr}.yjcalc-form-3 button{grid-column:1/-1}.yjcalc-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.yj-ops-calc{margin:-8px 0 20px;padding:10px;border-width:0;border-radius:0}.yjcalc-hero{min-height:auto;padding:34px 20px}.yj-ops-calc .yjcalc-hero h1{font-size:34px!important}.yjcalc-hero>p{font-size:14px!important}.yjcalc-status{gap:10px 15px}.yjcalc-nav{display:flex;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;padding-bottom:2px}.yjcalc-nav::-webkit-scrollbar{display:none}.yjcalc-nav a{flex:0 0 136px;scroll-snap-align:start}.yjcalc-card{padding:20px 17px}.yjcalc-card>header{gap:12px}.yjcalc-icon{flex-basis:42px;width:42px;height:42px}.yjcalc-form-3,.yjcalc-inline,.yjcalc-inline-3{grid-template-columns:1fr}.yjcalc-form-3 button{grid-column:auto}.yjcalc-result-grid{grid-template-columns:1fr 1fr}.yjcalc-result.primary{grid-column:1/-1}.yjcalc-footer{align-items:flex-start;flex-direction:column}.yjcalc-local{align-self:flex-end}}
@media(prefers-reduced-motion:reduce){.yj-ops-calc *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Visual refinement: calmer hierarchy, clearer Chinese typography and touch-friendly mobile layout. */
.yj-ops-calc{
  --calc-text:#f1f8ff;
  --calc-muted:#9db5c9;
  padding:clamp(16px,2.4vw,28px);
  line-height:1.65;
  letter-spacing:.01em;
  background:
    radial-gradient(circle at 88% -4%,rgba(99,102,241,.22),transparent 30%),
    radial-gradient(circle at -5% 42%,rgba(6,182,212,.13),transparent 28%),
    linear-gradient(155deg,#07182b 0%,#061326 48%,#08162a 100%);
  font-family:"Segoe UI Variable","Segoe UI","HarmonyOS Sans SC","PingFang SC","Microsoft YaHei UI","Microsoft YaHei",sans-serif;
}
.yjcalc-hero{
  min-height:286px;
  padding:clamp(38px,5vw,56px) clamp(26px,5vw,52px);
  border-color:rgba(111,211,255,.22);
  background:linear-gradient(135deg,rgba(17,48,80,.94),rgba(9,27,51,.97));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 18px 42px rgba(1,10,24,.2);
}
.yjcalc-kicker{padding:8px 14px;color:#c3f4ff;font-size:10px;letter-spacing:.15em}
.yj-ops-calc .yjcalc-hero h1{
  max-width:760px;
  margin:25px 0 13px!important;
  font-size:clamp(36px,4.25vw,54px)!important;
  font-weight:750!important;
  letter-spacing:-.035em!important;
  text-wrap:balance;
}
.yjcalc-hero>p{max-width:760px!important;color:#b2c7da!important;font-size:16px!important;line-height:1.85!important}
.yjcalc-status{margin-top:27px;gap:10px 24px;color:#d5e9f5;font-size:12px}
.yjcalc-nav{gap:12px;margin:17px 0 23px}
.yjcalc-nav a{
  min-width:0;
  min-height:60px;
  padding:12px 15px;
  border-color:rgba(105,198,240,.2);
  background:linear-gradient(145deg,rgba(13,36,61,.94),rgba(9,27,47,.9));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
.yjcalc-nav b{font-size:11px;letter-spacing:.04em}.yjcalc-nav span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.yjcalc-grid{gap:20px}
.yjcalc-card{
  padding:clamp(21px,2.2vw,27px);
  border-color:rgba(105,199,241,.19);
  background:linear-gradient(155deg,rgba(16,42,70,.98),rgba(7,25,44,.99));
  box-shadow:0 18px 42px rgba(0,8,20,.17),inset 0 1px 0 rgba(255,255,255,.018);
}
.yjcalc-card>header{gap:16px;margin-bottom:22px}
.yjcalc-icon{border-color:rgba(80,222,255,.4);background:linear-gradient(145deg,rgba(39,162,219,.16),rgba(42,87,160,.1));box-shadow:inset 0 0 20px rgba(44,210,255,.1),0 7px 18px rgba(0,0,0,.12)}
.yjcalc-card small{margin:2px 0 5px;color:#7ca8c4;letter-spacing:.18em}
.yj-ops-calc .yjcalc-card h2{font-size:20px!important;font-weight:720!important;letter-spacing:-.01em!important}
.yjcalc-card header p{max-width:680px;color:#9ab2c6!important;font-size:13px!important;line-height:1.7!important}
.yjcalc-form{gap:14px}.yjcalc-form label{gap:8px}.yjcalc-form label>span{color:#adc4d5;font-size:12px;letter-spacing:.015em}
.yjcalc-form input,.yjcalc-form select{height:46px;padding:0 14px!important;border-color:rgba(116,186,225,.32)!important;background:rgba(4,20,37,.9)!important;color:#f3fbff!important;font-size:15px!important}
.yjcalc-form button{height:46px;border-color:rgba(86,220,255,.42);background:linear-gradient(110deg,#1677bc,#5a4ce0);font-size:14px;letter-spacing:.01em}
.yjcalc-output{margin-top:18px;padding:16px;border-color:rgba(76,219,255,.18);background:rgba(2,14,27,.67);box-shadow:inset 0 1px 0 rgba(255,255,255,.018)}
.yjcalc-result{padding:11px 12px;background:rgba(25,58,91,.58)}
.yjcalc-result span{color:#83a4bd}.yjcalc-result b{color:#effaff;font-size:14px;line-height:1.55}.yjcalc-result.primary b{color:#89efff;font-size:19px}
.yjcalc-note{color:#829fb6!important;font-size:11px!important}
.yjcalc-footer{margin-top:20px;padding:21px 23px;border-color:rgba(99,190,232,.18);background:linear-gradient(145deg,rgba(11,34,57,.9),rgba(7,25,44,.88))}
@media(hover:hover){.yjcalc-card{transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}.yjcalc-card:hover{transform:translateY(-2px);border-color:rgba(75,214,255,.3);box-shadow:0 22px 48px rgba(0,8,20,.23),inset 0 1px 0 rgba(255,255,255,.025)}}
@media(max-width:900px){
  .yj-ops-calc{padding:15px}
  .yjcalc-hero{min-height:250px;padding:40px 31px}
  .yj-ops-calc .yjcalc-hero h1{font-size:clamp(34px,7vw,46px)!important}
  .yjcalc-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:560px){
  .yj-ops-calc{padding:9px}
  .yjcalc-hero{padding:31px 20px 29px;border-radius:14px}
  .yjcalc-kicker{max-width:100%;font-size:9px;letter-spacing:.11em}
  .yj-ops-calc .yjcalc-hero h1{margin-top:22px!important;font-size:clamp(30px,10vw,38px)!important;line-height:1.14!important}
  .yjcalc-hero>p{font-size:14px!important;line-height:1.75!important}
  .yjcalc-status{margin-top:22px;gap:8px 14px;font-size:11px}
  .yjcalc-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;margin:12px 0 17px;padding:0}
  .yjcalc-nav a{min-height:52px;padding:10px 11px}.yjcalc-nav span{font-size:12px}
  .yjcalc-card{padding:19px 16px;border-radius:14px}
  .yjcalc-card>header{margin-bottom:19px}.yj-ops-calc .yjcalc-card h2{font-size:19px!important}
  .yjcalc-form input,.yjcalc-form select{font-size:16px!important}
  .yjcalc-result-grid{grid-template-columns:1fr}.yjcalc-result.primary{grid-column:auto}
  .yjcalc-footer{padding:18px;gap:15px}
}
