#comment_shield-wrap *{box-sizing:border-box}
#comment_shield-wrap{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;max-width:940px;margin:22px 20px 60px 0}

/* Header */
.dw-hdr{background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);border-radius:16px;padding:28px 32px;margin-bottom:24px;display:flex;align-items:center;gap:16px;box-shadow:0 8px 28px rgba(15,52,96,.35);position:relative;overflow:hidden}
.dw-hdr::before{content:'';position:absolute;top:-40px;right:-40px;width:180px;height:180px;background:radial-gradient(circle,rgba(99,179,237,.14) 0%,transparent 70%);pointer-events:none}
.dw-hdr-ico{font-size:38px;flex-shrink:0}
.dw-hdr h1{color:#fff!important;font-size:20px!important;font-weight:700!important;margin:0 0 3px!important;padding:0!important}
.dw-hdr p{color:rgba(255,255,255,.58);margin:0;font-size:12.5px}
.dw-hdr-bdg{margin-left:auto;background:rgba(99,179,237,.18);border:1px solid rgba(99,179,237,.32);color:#90cdf4;font-size:10.5px;font-weight:600;padding:3px 9px;border-radius:20px;white-space:nowrap;flex-shrink:0}

/* Grid */
.dw-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
@media(max-width:780px){.dw-grid{grid-template-columns:1fr}}

/* Cards */
.dw-card{background:#fff;border:1px solid #e8edf2;border-radius:14px;padding:22px 24px;margin-bottom:18px;box-shadow:0 2px 10px rgba(0,0,0,.045);transition:box-shadow .2s}
.dw-card:last-child{margin-bottom:0}
.dw-card:hover{box-shadow:0 4px 18px rgba(0,0,0,.08)}
.dw-ch{display:flex;align-items:center;gap:11px;margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid #f0f4f8}
.dw-ci{width:36px;height:36px;background:linear-gradient(135deg,#e8f4fd,#d1eaf8);border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:17px;flex-shrink:0}
.dw-ch h2{font-size:13.5px!important;font-weight:700!important;color:#1e3a5f!important;margin:0!important;padding:0!important}
.dw-ch p{font-size:11.5px;color:#8898aa;margin:2px 0 0!important}

/* Toggle rows */
.dw-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #f5f7fa}
.dw-row:last-of-type{border-bottom:none;padding-bottom:0}
.dw-row:first-of-type{padding-top:0}
.dw-row strong{display:block;font-size:13px;font-weight:600;color:#2d3748;margin-bottom:2px}
.dw-row span{font-size:11px;color:#8898aa;line-height:1.4}

/* iOS switch */
.dw-sw{position:relative;display:inline-block;width:42px;height:23px;flex-shrink:0}
.dw-sw input{opacity:0;width:0;height:0}
.dw-sl{position:absolute;cursor:pointer;inset:0;background:#cbd5e0;transition:.22s;border-radius:23px}
.dw-sl::before{content:"";position:absolute;width:17px;height:17px;left:3px;bottom:3px;background:#fff;transition:.22s;border-radius:50%;box-shadow:0 2px 5px rgba(0,0,0,.16)}
.dw-sw input:checked+.dw-sl{background:#3b82f6}
.dw-sw input:checked+.dw-sl::before{transform:translateX(19px)}
.dw-sw input:focus+.dw-sl{box-shadow:0 0 0 3px rgba(59,130,246,.22)}

/* Fields */
.dw-f{margin-bottom:14px}
.dw-f:last-child{margin-bottom:0}
.dw-lbl{display:block;font-size:11px;font-weight:700;color:#4a5568;margin-bottom:5px;text-transform:uppercase;letter-spacing:.5px}
.dw-inp{width:100%;padding:8px 12px;border:1.5px solid #e2e8f0;border-radius:8px;font-size:13px;color:#2d3748;background:#f8fafc;outline:none;transition:all .16s}
.dw-inp:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px rgba(59,130,246,.11)}
.dw-hint{font-size:11px;color:#94a3b8;margin-top:4px;display:block}

/* Score slider */
.dw-sr{display:flex;align-items:center;gap:10px}
.dw-sr-l{font-size:11px;color:#94a3b8;white-space:nowrap}
.dw-sr input[type=range]{flex:1;-webkit-appearance:none;height:5px;border-radius:5px;outline:none;cursor:pointer}
.dw-sr input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:17px;height:17px;background:#fff;border:2.5px solid #3b82f6;border-radius:50%;cursor:pointer;box-shadow:0 2px 5px rgba(59,130,246,.28)}
.dw-sv{font-size:14px;font-weight:700;color:#3b82f6;min-width:28px;text-align:center}

/* Buttons */
.dw-save{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff!important;border:none;border-radius:9px;padding:9px 22px;font-size:13px;font-weight:600;cursor:pointer;transition:all .16s;box-shadow:0 4px 12px rgba(37,99,235,.32);margin-top:4px}
.dw-save:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af);transform:translateY(-1px);box-shadow:0 6px 16px rgba(37,99,235,.4);color:#fff!important}
.dw-btn{display:inline-flex;align-items:center;gap:5px;padding:8px 16px;border-radius:8px;font-size:12.5px;font-weight:600;cursor:pointer;border:none;transition:all .16s}
.dw-bp{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff!important;box-shadow:0 2px 8px rgba(37,99,235,.28)}
.dw-bp:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af);transform:translateY(-1px);color:#fff!important}
.dw-bg{background:#f1f5f9;color:#475569!important;border:1.5px solid #e2e8f0}
.dw-bg:hover{background:#e2e8f0;color:#1e293b!important}
.dw-btn:disabled{opacity:.6;cursor:not-allowed;transform:none!important}

/* Textarea */
.dw-ta{width:100%;padding:9px 12px;border:1.5px solid #e2e8f0;border-radius:8px;font-size:12px;font-family:'SFMono-Regular',Consolas,monospace;color:#2d3748;background:#f8fafc;resize:vertical;outline:none;transition:all .16s;line-height:1.6}
.dw-ta:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px rgba(59,130,246,.11)}

/* Notices */
.dw-ntc{padding:10px 14px;border-radius:8px;font-size:12.5px;font-weight:500;margin-top:12px;display:flex;flex-direction:column;gap:4px}
.dw-ntc-t{display:flex;align-items:flex-start;gap:7px}
.dw-ntc-d{font-size:11px;opacity:.78;padding-left:20px}
.dw-ok{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}
.dw-er{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
.dw-wn{background:#fffbeb;border:1px solid #fde68a;color:#92400e}

/* Diff */
.dw-diff{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.dw-dp{border-radius:8px;overflow:hidden;border:1px solid #e2e8f0}
.dw-dh{padding:6px 12px;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.dw-dp.bef .dw-dh{background:#fef2f2;color:#991b1b}
.dw-dp.aft .dw-dh{background:#f0fdf4;color:#166534}
.dw-db{padding:10px 12px;font-size:11.5px;font-family:'SFMono-Regular',Consolas,monospace;background:#fff;word-break:break-all;color:#374151;line-height:1.6}

/* Status grid */
.dw-sg{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.dw-si{background:#f8fafc;border:1px solid #e8edf2;border-radius:10px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:6px}
.dw-si-l{font-size:11.5px;color:#64748b;font-weight:500}
.dw-bdg{font-size:11px;font-weight:700;padding:2px 8px;border-radius:20px}
.dw-bdg.on{background:#dcfce7;color:#166534}
.dw-bdg.off{background:#f1f5f9;color:#94a3b8}
.dw-bdg.ok{background:#dbeafe;color:#1d4ed8}
.dw-bdg.warn{background:#fef3c7;color:#92400e}

.dw-ext{color:#3b82f6;font-size:11.5px;font-weight:500;text-decoration:none}
.dw-ext:hover{text-decoration:underline}
#comment_shield-wrap .notice,#comment_shield-wrap .updated{border-radius:9px!important;margin:0 0 16px!important}