.dp-launcher { position: fixed; right: 22px; bottom: 134px; z-index: 978; display: flex; align-items: center; gap: 9px; padding: 8px 13px 8px 8px; border: 0; border-radius: 999px; background: #f0b33a; color: #3d3019; box-shadow: 0 12px 34px rgba(99, 74, 23, .18); cursor: pointer; }
.dp-launcher b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #173d33; color: #fff; font-size: 12px; }
.dp-launcher span { font-size: 12px; font-weight: 800; }
.dp-wrap { position: fixed; inset: 0; z-index: 1085; display: grid; place-items: center; padding: 20px; }
.dp-wrap[hidden] { display: none; }
.dp-mask { position: absolute; inset: 0; background: rgba(18, 28, 25, .48); backdrop-filter: blur(4px); }
.dp-wrap > section { position: relative; width: min(620px, 100%); max-height: 92vh; overflow: auto; border-radius: 26px; background: #f5f2e9; color: #18221f; box-shadow: 0 28px 80px rgba(10, 24, 19, .28); }
.dp-wrap header { display: flex; justify-content: space-between; align-items: flex-start; padding: 25px 27px 18px; border-bottom: 1px solid rgba(27, 53, 44, .1); background: radial-gradient(circle at 82% 0, rgba(239, 178, 58, .3), transparent 42%); }
.dp-wrap header small { color: #c18111; font: 700 10px/1 "IBM Plex Mono", monospace; letter-spacing: .17em; }
.dp-wrap h2 { margin: 6px 0 0; font: 800 25px/1.2 "Noto Serif SC", serif; }
.dp-wrap header button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; color: #41504b; font-size: 24px; cursor: pointer; }
.dp-wrap main { padding: 22px 27px 28px; }
.dp-loading { padding: 70px 20px; color: #74807c; text-align: center; }
.dp-loading.bad { color: #b74b32; }
.dp-mode h3 { margin: 0 0 10px; font-size: 13px; }
.dp-mode { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dp-mode h3 { grid-column: 1 / -1; }
.dp-mode label { position: relative; }
.dp-mode input { position: absolute; opacity: 0; }
.dp-mode span { display: grid; gap: 5px; height: 100%; box-sizing: border-box; padding: 14px; border: 1px solid rgba(30, 56, 47, .1); border-radius: 14px; background: #fff; cursor: pointer; }
.dp-mode input:checked + span { border-color: #e09c27; background: #fff7e3; box-shadow: 0 0 0 2px rgba(224, 156, 39, .1); }
.dp-mode b { font-size: 12px; }
.dp-mode small { color: #7c8783; font-size: 9px; line-height: 1.45; }
.dp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 17px; }
.dp-grid label, .dp-area { display: grid; gap: 6px; padding: 12px; border-radius: 13px; background: #fff; font-size: 10px; font-weight: 700; }
.dp-grid input, .dp-area input { min-width: 0; padding: 7px 0; border: 0; border-bottom: 1px solid #dfe3df; outline: 0; font: 800 15px/1 "IBM Plex Mono", monospace; }
.dp-grid small { color: #818b87; font-size: 9px; font-weight: 400; }
.dp-switches { display: grid; gap: 8px; margin-top: 15px; }
.dp-switches label { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 13px 15px; border-radius: 13px; background: #173d33; color: #fff; }
.dp-switches span { display: grid; gap: 4px; }
.dp-switches b { font-size: 11px; }
.dp-switches small { color: rgba(255,255,255,.55); font-size: 9px; }
.dp-switches input { width: 38px; height: 20px; accent-color: #eeab32; }
.dp-area { margin-top: 10px; }
.dp-save { width: 100%; margin-top: 13px; padding: 12px; border: 0; border-radius: 12px; background: #df6a2c; color: #fff; font-weight: 800; cursor: pointer; }
.dp-toast { position: fixed; left: 50%; bottom: 28px; z-index: 1320; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: #173d33; color: #fff; font-size: 12px; }
.dp-toast.bad { background: #b74830; }
@media (max-width: 600px) { .dp-mode, .dp-grid { grid-template-columns: 1fr; } .dp-mode h3 { grid-column: auto; } }

