#k168-ads-prices{box-sizing:border-box;width:min(1040px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #d5dce5;border-radius:12px;background:#fff;color:#243147;font-family:Arial,sans-serif;font-size:16px;line-height:1.55;box-shadow:0 16px 60px #17223940;overflow:hidden}
#k168-ads-prices:not([open]){display:none}
#k168-ads-prices[open]{display:flex;flex-direction:column}
#k168-ads-prices::backdrop{background:rgba(19,29,46,.62)}
#k168-ads-prices *{box-sizing:border-box}
#k168-ads-prices .k168-ads-prices-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid #dce1e8;background:#fff}
#k168-ads-prices #k168-ads-prices-title{min-width:0;margin:0;color:#20304d;font-size:26px;font-weight:700;line-height:1.25;overflow-wrap:anywhere}
#k168-ads-prices .k168-ads-prices-close{display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #cbd3df;border-radius:8px;background:#fff;color:#20304d;font:32px/1 Arial,sans-serif;cursor:pointer}
#k168-ads-prices .k168-ads-prices-close:hover{background:#eef2f7}
#k168-ads-prices :focus-visible{outline:3px solid #ed2343;outline-offset:3px}
#k168-ads-prices .k168-ads-prices-body{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:24px;scrollbar-gutter:stable}
#k168-ads-prices .k168-ads-prices-body:focus-visible{outline-offset:-3px}
#k168-ads-prices .k168-rules-table{width:100%;margin:0;border-collapse:collapse;font-size:14px;line-height:1.5;table-layout:fixed}
#k168-ads-prices .k168-rules-table th,#k168-ads-prices .k168-rules-table td{border:1px solid #d5dce5;padding:12px 10px;vertical-align:top;overflow-wrap:anywhere}
#k168-ads-prices .k168-rules-table thead th{background:#eef2f7;color:#20304d;font-weight:600;text-align:center}
#k168-ads-prices .k168-rules-table thead th:first-child{width:42px}
#k168-ads-prices .k168-rules-table thead th:nth-child(2){width:46%}
#k168-ads-prices .k168-rules-table tbody th{font-weight:400;text-align:left}
#k168-ads-prices .k168-rules-table td{text-align:center;font-variant-numeric:tabular-nums}
#k168-ads-prices .k168-rules-table tbody tr:nth-child(even){background:#f8fafc}
#k168-ads-prices .k168-rules-note{margin:24px 0 0;padding:18px 20px;border-left:3px solid #ed2343;background:#f5f7fa;overflow-wrap:anywhere}
#k168-ads-prices .k168-rules-note h2{margin:0 0 12px;font-size:20px;font-weight:600;line-height:1.4}
#k168-ads-prices .k168-rules-note p{margin:0 0 8px}
#k168-ads-prices .k168-rules-note p:last-child{margin-bottom:0}
#k168-ads-prices .k168-ads-prices-unavailable{margin:0;overflow-wrap:anywhere}
#k168-ads-prices .k168-ads-prices-unavailable a{color:#20304d;text-decoration:underline;text-underline-offset:3px}
@media(max-width:640px){
 #k168-ads-prices{width:calc(100% - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);border-radius:10px}
 #k168-ads-prices .k168-ads-prices-header{gap:10px;padding:12px}
 #k168-ads-prices #k168-ads-prices-title{font-size:22px}
 #k168-ads-prices .k168-ads-prices-body{padding:14px 12px;scrollbar-gutter:auto}
 #k168-ads-prices .k168-rules-table,#k168-ads-prices .k168-rules-table tbody,#k168-ads-prices .k168-rules-table tr,#k168-ads-prices .k168-rules-table td,#k168-ads-prices .k168-rules-table tbody th{display:block;width:100%}
 #k168-ads-prices .k168-rules-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 #k168-ads-prices .k168-rules-table tbody tr{border:1px solid #d5dce5;border-radius:8px;margin:0 0 14px;overflow:hidden;background:#fff}
 #k168-ads-prices .k168-rules-table tbody th{padding:12px;background:#eef2f7;font-weight:600;border:0}
 #k168-ads-prices .k168-rules-table td{border:0;border-top:1px solid #e6eaf0;display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:12px;text-align:right;padding:10px 12px}
 #k168-ads-prices .k168-rules-table td::before{content:attr(data-label);text-align:left;color:#576479;font-size:13px}
 #k168-ads-prices .k168-rules-table td:first-child{display:block;text-align:left;font-size:12px;padding:7px 12px;color:#576479;background:#eef2f7;border:0}
 #k168-ads-prices .k168-rules-table td:first-child::before{content:'№ '}
 #k168-ads-prices .k168-rules-table td:first-child:empty{display:none}
 #k168-ads-prices .k168-rules-note{padding:15px 12px;font-size:15px}
}
