/* Coral Ads & Plans: works on dark (Coral) and light themes; takes the theme's --accent when it has one. */
.dcm { --dcm-accent: var(--accent, #ff6b57); --dcm-soft: rgba(127, 127, 127, .14); --dcm-line: rgba(127, 127, 127, .3); display: flex; flex-direction: column; gap: 24px; margin-top: 12px; }
.dcm-lead { font-size: 20px; line-height: 1.6; margin: 0; max-width: 760px; }
.dcm-small { font-size: 15px; opacity: .85; margin: 0; }
.dcm-note { padding: 16px 20px; border-radius: 18px; background: var(--dcm-soft); font-weight: 600; }
.dcm-ok { box-shadow: inset 4px 0 0 #22c55e; }
.dcm-msg:empty { display: none; }
.dcm-msg { padding: 16px 20px; border-radius: 18px; font-weight: 700; }
.dcm-msg.is-ok { background: rgba(34, 197, 94, .15); }
.dcm-msg.is-bad { background: rgba(239, 68, 68, .16); }
.dcm h2 { font-size: 30px; line-height: 1.1; margin: 0; }
.dcm h3 { font-size: 21px; margin: 0; }

.dcm-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.dcm-plan { position: relative; border-radius: 26px; background: var(--dcm-soft); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.dcm-best { box-shadow: inset 0 0 0 3px var(--dcm-accent); }
.dcm-badge { position: absolute; top: -14px; right: 22px; padding: 6px 14px; border-radius: 12px; background: var(--dcm-accent); color: var(--dcm-on-accent, #121214); font-weight: 800; font-size: 14px; }
.dcm-price { font-size: 44px; font-weight: 800; line-height: 1; margin: 4px 0 0; }
.dcm-price small { font-size: 18px; font-weight: 600; opacity: .8; }
.dcm-plan ul { margin: 6px 0 8px; padding-left: 22px; font-size: 17px; line-height: 1.8; }
.dcm-pay { min-height: 56px; }

.dcm-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.dcm-slot { border-radius: 22px; background: var(--dcm-soft); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.dcm-slot-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dcm-mocks { display: flex; gap: 16px; align-items: flex-end; margin: 6px 0 4px; }
.dcm-mock { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.dcm-mock-d { flex: 1 1 auto; max-width: 240px; }
.dcm-mock-d .dcm-screen { width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; }
.dcm-mock-m { flex: 0 0 74px; }
.dcm-mock-m .dcm-screen { width: 74px; aspect-ratio: 9 / 17; border-radius: 12px; }
.dcm-screen { position: relative; overflow: hidden; background: rgba(127, 127, 127, .12); box-shadow: inset 0 0 0 3px var(--dcm-line); }
.dcm-r { position: absolute; border-radius: 3px; display: grid; place-items: center; font: 800 9px/1 sans-serif; font-style: normal; letter-spacing: .5px; }
.dcm-r-bar { background: rgba(127, 127, 127, .32); border-radius: 0; }
.dcm-r-ui { background: rgba(127, 127, 127, .22); }
.dcm-r-video { background: #000; }
.dcm-r-ad { background: var(--dcm-accent); color: var(--dcm-on-accent, #121214); box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.dcm-sizes { display: flex; flex-direction: column; gap: 10px; }
.dcm-size-box span { display: block; font-size: 13px; font-weight: 700; opacity: .85; margin-bottom: 4px; }
.dcm-banner { max-width: 100%; display: grid; place-items: center; border-radius: 8px; border: 2px dashed var(--dcm-accent); background: rgba(127, 127, 127, .1); }
.dcm-banner b { font-size: 14px; }
.dcm-slot p { margin: 0; }
.dcm-slot .dcm-price { font-size: 30px; margin-top: auto; }
.dcm-size { font-weight: 700; font-size: 15px; opacity: .85; }

.dcm-form { max-width: 640px; border-radius: 26px; background: var(--dcm-soft); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.dcm-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 16px; }
.dcm-form label small { font-weight: 500; opacity: .8; }
.dcm-form input:not([type=checkbox]), .dcm-form select { min-height: 56px; border-radius: 16px; border: 2px solid var(--dcm-line); background: transparent; color: inherit; padding: 0 16px; font: inherit; font-size: 17px; }
.dcm-form input[type=file] { padding: 12px 16px; }
.dcm-form select option { color: #111; }
.dcm-form input:focus, .dcm-form select:focus { outline: 3px solid var(--dcm-accent); outline-offset: 1px; }
.dcm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dcm-check { flex-direction: row !important; align-items: flex-start; font-weight: 600 !important; line-height: 1.5; }
.dcm-check input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--dcm-accent); }
.dcm-hp { position: absolute; left: -9999px; }
.dcm-total { font-size: 22px; margin: 4px 0; }
.dcm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 30px; border-radius: 18px; border: 0; background: var(--dcm-accent); color: var(--dcm-on-accent, #121214); font: inherit; font-size: 18px; font-weight: 800; text-decoration: none; cursor: pointer; }
.dcm-btn-line { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px var(--dcm-line); }
.dcm-card { max-width: 640px; border-radius: 26px; background: var(--dcm-soft); padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.dcm-status { font-size: 22px; font-weight: 800; margin: 0; }
.dcm-status.is-on { color: #22c55e; }
.dcm-status.is-off { color: #ef4444; }
.dcm-login { max-width: 480px; }
@media (max-width: 560px) {
  .dcm-two { grid-template-columns: 1fr; }
  .dcm-form, .dcm-plan, .dcm-card { padding: 20px; }
  .dcm-price { font-size: 38px; }
}
