/* The Riot Studio – top navigation, profile menu and the sections Calendar, Analytics, Smartlinks, Ads, Profile. */
:root { --gold: #ffcf4a; --red: #ff4d5e; }

/* ---------- top navigation ---------- */
.mainnav { display: flex; gap: 4px; }
.mainnav a { display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 14px;
  text-decoration: none; transition: color .15s, background .15s; white-space: nowrap; }
.mainnav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.mainnav a svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mainnav a.on { color: #fff; background: rgba(255,46,136,.16); box-shadow: inset 0 0 0 1px rgba(255,46,136,.55); }
.lvtag { display: inline-block; font-style: normal; padding: 2px 6px; border-radius: 6px; font: 800 9.5px var(--font); letter-spacing: .1em; vertical-align: 1px; }
.lvtag.pro { background: rgba(255,46,136,.18); color: #ff8cc0; border: 1px solid rgba(255,46,136,.5); }
.lvtag.studio { background: rgba(255,207,74,.14); color: var(--gold); border: 1px solid rgba(255,207,74,.55); }
.lvtag.free { background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--line); }

.ava { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; flex: none;
  background: linear-gradient(135deg, #ff2e88, #9b6bff); }
.mechip { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 99px; border: 1px solid rgba(255,46,136,.45); background: #0b0918;
  cursor: pointer; color: var(--text); text-align: left; }
.mechip:hover { box-shadow: 0 0 12px rgba(255,46,136,.35); }
.mechip .mewho { display: grid; line-height: 1.15; } .mechip b { font-size: 13px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mechip small { color: var(--muted); font-size: 11px; } .mechip i { font-style: normal; color: var(--muted); font-size: 11px; }
.mechip[data-plan="pro"] small { color: #ff8cc0; } .mechip[data-plan="studio"] small { color: var(--gold); }
.memenu { display: grid; gap: 2px; } .memenu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 6px; width: calc(100% - 12px); }
.memenu .titem { grid-template-columns: 22px 1fr; align-items: center; } .memenu .titem em { grid-row: auto; color: inherit; }
.memenu .titem.up b { color: var(--gold); }
.mehead { display: flex; align-items: center; gap: 10px; padding: 6px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.mehead > div { min-width: 0; flex: 1; } .mehead b { display: block; font-size: 14px; } .mehead small { color: var(--muted); font-size: 11.5px; }

/* ---------- section pages ---------- */
main.page:has(> .sec.wide:not(.hidden)) { max-width: 1440px; }
.sec .shead { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.sec .shead h2 { margin: 0; font-size: 24px; } .sec .shead .sub { color: var(--muted); font-size: 13.5px; }
.sec .shead .sp { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sec .key { border: 1px solid var(--line); background: #0b0918; color: #fff; border-radius: 9px; padding: 6px 11px; font: 600 13px var(--font); cursor: pointer;
  white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.sec .key:hover { border-color: rgba(255,46,136,.6); } .sec .key.on { border-color: var(--accent); box-shadow: 0 0 10px rgba(255,46,136,.35); }
.btn.small { padding: 7px 12px; font-size: 13px; } .btn.gold { background: linear-gradient(#ffe27a, #f5b301); color: #2b1a00; text-shadow: none;
  box-shadow: 0 0 14px rgba(255,200,40,.55); }
.btn.ghost.danger:hover { border-color: var(--danger); background: rgba(255,77,109,.2); }
.sec .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #0b0918; }
.sec .seg button { border: 0; background: transparent; padding: 6px 12px; font: 700 13px var(--font); color: var(--muted); cursor: pointer; }
.sec .seg button.on { background: rgba(255,46,136,.2); color: #fff; }
.sec .netf { display: inline-flex; gap: 5px; flex-wrap: wrap; }
.sec .nchip { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 99px; border: 1px solid var(--line);
  background: #0b0918; cursor: pointer; color: var(--muted); font: 700 12.5px var(--font); }
.sec .nchip.on { border-color: rgba(255,46,136,.6); background: rgba(255,46,136,.14); color: #fff; } .sec .nchip:not(.on) .ni svg { opacity: .45; }
.ni { display: inline-flex; vertical-align: middle; } .ni svg { width: 16px; height: 16px; fill: #fff; }
.ni.on.youtube svg { fill: #f00; width: 18px; } .ni.on.facebook svg { fill: #1877F2; } .ni.on.instagram svg { fill: url(#igGrad); }
.ni.on.tiktok svg { filter: drop-shadow(-1px -1px 0 #25F4EE) drop-shadow(1px 1px 0 #FE2C55); }
.sec .mod { padding: 12px 14px; min-width: 0; }
.sec .lbl { display: flex; align-items: center; gap: 8px; } .sec .lbl .r { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 12px; color: var(--muted); }
.sec .tip { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.45; } .sec .tip b { color: #fff; }
.sec .empty.small { padding: 18px 8px; font-size: 13px; }
.sec .lockbox { position: absolute; inset: 0; border-radius: inherit; display: grid; place-items: center; text-align: center; padding: 16px; z-index: 3;
  background: rgba(13,11,26,.78); backdrop-filter: blur(3px); }
.sec .lockbox > div { display: grid; gap: 6px; justify-items: center; max-width: 380px; }
.sec .lockbox .lk-ico { font-size: 24px; } .sec .lockbox small { color: var(--muted); margin-bottom: 6px; }
.sec .mod:has(> .lockbox) { min-height: 170px; }
.sec .upbar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 12px; border-radius: 12px; border: 1px dashed rgba(255,46,136,.6);
  background: rgba(255,46,136,.08); font-size: 13.5px; } .sec .upbar .btn { margin-left: auto; }
.sec .kpi .v { font: 44px/1 VT323, monospace; color: #fff; text-shadow: 0 0 10px rgba(255,46,136,.6); margin: 2px 0 4px; }
.sec .kpi .d { font-size: 12px; font-weight: 800; } .sec .kpi .up, .sec .d.up { color: var(--green); } .sec .d.dn { color: var(--red); } .sec .kpi .s { color: var(--muted); font-size: 12px; }
.sec .kpi .q { position: absolute; top: 9px; right: 10px; }
.sec .tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.sec .tbl th { text-align: left; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 800; padding: 4px 8px; }
.sec .tbl td { padding: 7px 8px; border-top: 1px solid rgba(255,255,255,.06); } .sec .tbl .n { text-align: right; } .sec .tbl td.n { font: 19px VT323, monospace; }
.sec .tbl img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; vertical-align: middle; margin-right: 9px; }
.sec .tbl tr[data-pid] { cursor: pointer; } .sec .tbl tr[data-pid]:hover td { background: rgba(255,46,136,.06); }
.sec .tbl .ni { margin-right: 4px; }

/* ---------- calendar ---------- */
.sec .calwrap { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 14px; align-items: start; }
.sec .calmain .shead { margin-bottom: 10px; } .sec .calmain .shead h2 { font-size: 20px; } .sec .pager { display: flex; gap: 4px; }
.sec .grid7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.sec .dow { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--muted); text-align: center; padding: 2px 0 4px; }
.sec .day { min-height: 104px; border-radius: 10px; background: #0e0c1d; border: 1px solid rgba(255,255,255,.06); padding: 5px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sec .week .day { min-height: 340px; }
.sec .day > i { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 700; padding-left: 2px; }
.sec .day.out { opacity: .38; } .sec .day.past:not(.today) { background: #0b0a17; }
.sec .day.today { border-color: var(--accent); box-shadow: 0 0 12px rgba(255,46,136,.35); } .sec .day.today > i { color: #fff; }
.sec .day.drop { border: 1px dashed var(--accent); background: rgba(255,46,136,.1); }
.sec .post { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 1px 6px; align-items: center; padding: 3px 5px 3px 3px; border-radius: 7px;
  background: #1b1733; border-left: 3px solid var(--accent); font-size: 11px; cursor: pointer; user-select: none; touch-action: none; }
.sec .post:hover { background: #241e44; } .sec .post img { width: 26px; height: 26px; border-radius: 5px; object-fit: cover; grid-row: span 2; }
.sec .post b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sec .post span { display: flex; gap: 3px; align-items: center; color: var(--muted); white-space: nowrap; overflow: hidden; } .sec .post .ni svg { width: 11px; height: 11px; }
.sec .post.done { border-left-color: var(--green); } .sec .post.fail { border-left-color: var(--red); } .sec .post.posting { border-left-color: var(--amber); }
.sec .post.sched { cursor: grab; }
.sec .post.long { grid-template-columns: 40px minmax(0, 1fr); padding: 5px; } .sec .post.long img { width: 40px; height: 40px; } .sec .post.long b { font-size: 12.5px; }
.sec .list .post.long { margin-bottom: 6px; max-width: 520px; }
.sec .calbody.list h4 { margin: 14px 0 6px; font-size: 13px; color: var(--muted); } .sec .calbody.list h4.today { color: var(--accent); }
.sec .best { font-size: 10px; color: #7dffb0; margin-top: auto; padding-left: 2px; }
.sec .legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 10px; }
.sec .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.sec .legend i.sched { background: var(--accent); } .sec .legend i.done { background: var(--green); } .sec .legend i.fail { background: var(--red); } .sec .legend .bt { color: #7dffb0; }
.sec .queue .qlist { display: grid; gap: 7px; max-height: 60vh; overflow-y: auto; }
.sec .qclip { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 9px; align-items: center; padding: 7px; border-radius: 10px; background: #0e0c1d;
  border: 1px solid rgba(255,255,255,.06); cursor: grab; user-select: none; touch-action: none; }
.sec .qclip:hover { border-color: rgba(255,46,136,.5); }
.sec .qclip img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; } .sec .qclip b { font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec .qclip small { color: var(--muted); font-size: 11.5px; }
.sec .queue .btn { width: 100%; margin-top: 10px; }
.dragghost { position: fixed; z-index: 200; pointer-events: none; transform: rotate(-2deg); opacity: .95;
  box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 14px rgba(255,46,136,.5); border-color: var(--accent) !important; }
.calpop { display: grid; gap: 10px; }
.cp-head { display: flex; gap: 10px; align-items: center; } .cp-head img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; }
.cp-head b { display: block; } .cp-head small { color: var(--muted); }
.cp-nets { display: grid; gap: 6px; }
.cp-net { display: grid; grid-template-columns: 20px 1fr auto auto; gap: 2px 8px; align-items: center; padding: 7px 9px; border-radius: 9px; background: #0e0c1d; font-size: 13px; }
.cp-net i { font-style: normal; color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; }
.cp-net span { color: var(--muted); font-size: 12px; } .cp-net.done span { color: var(--green); } .cp-net.error span { color: var(--red); }
.cp-net a { font-size: 12px; font-weight: 700; } .cp-net small { grid-column: 2 / -1; color: var(--muted); font-size: 11.5px; } .cp-net small.bad { color: #ff8c9c; }
.cp-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- analytics ---------- */
.sec .an { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sec .wide3 { grid-column: span 3; } .sec .wide4 { grid-column: 1 / -1; }
.sec .netstat { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.sec .ns { display: inline-flex; align-items: center; gap: 6px; } .sec .ns.bad { color: var(--amber); } .sec .ns .led { width: 7px; height: 7px; }
.sec .chart { width: 100%; height: 200px; display: block; }
.sec .legend2 { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; font-weight: 700; margin: -2px 0 6px; } .sec .legend2 .mx { margin-left: auto; color: var(--muted); font-weight: 600; }
.sec .xlab { position: relative; height: 16px; font-size: 11px; color: var(--muted); }
.sec .xlab span { position: absolute; transform: translateX(-50%); white-space: nowrap; } .sec .xlab span:first-child { transform: none; } .sec .xlab span:last-child { transform: translateX(-100%); }
.sec .heat { display: grid; grid-template-columns: 28px repeat(24, minmax(0, 1fr)); gap: 2px; font-size: 9.5px; color: var(--muted); }
.sec .heat i { height: 14px; border-radius: 2px; background: var(--accent); }
.sec .heatbox { position: relative; } .sec .topbox { position: relative; }
.sec .mod.first { color: #ffd166; font-size: 13.5px; }
.sec .emptycard { text-align: center; padding: 30px; } .sec .emptycard p { color: var(--muted); }

.sec .xlab.mid span, .sec .xlab.mid span:first-child, .sec .xlab.mid span:last-child { transform: translateX(-50%); }
/* post detail */
.sec .pdtitle { font-size: 20px !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.sec .pdwrap { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 14px; align-items: start; }
.sec .pdhead img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; display: block; background: #000; }
.sec .pdwhen { color: var(--muted); font-size: 13px; margin: 10px 0; }
.sec .pdnets { display: grid; gap: 6px; margin-bottom: 12px; }
.sec .pdnets > div { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 9px; background: #0e0c1d; font-size: 13px; }
.sec .pdnets i { font-style: normal; color: var(--muted); font-size: 11px; text-transform: uppercase; } .sec .pdnets .key { margin-left: auto; padding: 4px 9px; font-size: 12px; }
.sec .pdhead .btn { width: 100%; }
.sec .pdright { display: grid; gap: 12px; min-width: 0; }
.sec .an5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.sec .pdcmp { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.sec .pdcmp .mod { display: flex; align-items: baseline; gap: 10px; }
.sec .pdcmp b { font: 34px/1 VT323, monospace; color: #fff; } .sec .pdcmp b.up { color: var(--green); } .sec .pdcmp b.dn { color: var(--amber); }
.sec .pdcmp span { color: var(--muted); font-size: 13px; }

/* ---------- inbox ---------- */
.mainnav a .nbadge { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px;
  font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 8px var(--accent); }
.sec .ibwrap { display: grid; grid-template-columns: 360px minmax(0, 1fr) 290px; gap: 14px; align-items: stretch; height: calc(100vh - 190px); min-height: 520px; }
.sec .iblist { display: flex; flex-direction: column; min-height: 0; }
.sec .iblist .filters { margin-bottom: 10px; } .sec .nchip.soon { opacity: .4; cursor: help; }
.sec .ibsearch { width: 100%; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: #0b0918; color: var(--text); font: 13.5px var(--font); margin-bottom: 8px; }
.sec .ibsearch:focus { outline: none; border-color: var(--accent); }
.sec .ibtabs { display: flex; gap: 4px; margin-bottom: 8px; flex-wrap: wrap; }
.sec .ibtabs button { border: 0; background: transparent; padding: 6px 10px; border-radius: 8px; font: 700 12.5px var(--font); color: var(--muted); cursor: pointer; }
.sec .ibtabs button.on { color: #fff; background: rgba(255,46,136,.16); box-shadow: inset 0 0 0 1px rgba(255,46,136,.5); }
.sec .ibtabs em { font-style: normal; color: var(--accent); margin-left: 5px; }
.sec .ibthreads { overflow-y: auto; flex: 1; min-height: 0; padding: 2px 2px 2px 6px; display: grid; gap: 6px; align-content: start; }
.sec .ith { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 3px 10px; padding: 10px; border-radius: 12px; background: #0e0c1d;
  border: 1px solid rgba(255,255,255,.05); position: relative; cursor: pointer; }
.sec .ith:hover { border-color: rgba(255,46,136,.4); } .sec .ith.on { border-color: var(--accent); background: #1b1733; box-shadow: 0 0 14px rgba(255,46,136,.2); }
.sec .ith.unread::before { content: ""; position: absolute; left: -5px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.sec .ith.unread b { color: #fff; } .sec .ith.hid { opacity: .6; }
.sec .ith b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sec .ith time { font-size: 11px; color: var(--muted); }
.sec .ith p { grid-column: 2 / -1; margin: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sec .ith p i { font-style: normal; color: #ff8cc0; }
.sec .ith .iava { grid-row: span 2; }
.sec .ipost { grid-column: 2 / -1; display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8d84b5; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sec .ipost img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; flex: none; }
.sec .itags { grid-column: 2 / -1; display: flex; gap: 4px; flex-wrap: wrap; }
.sec .itag { font-size: 10.5px; font-weight: 800; padding: 1px 7px; border-radius: 99px; }
.sec .itag.q { color: #7dd3ff; background: rgba(61,139,255,.15); } .sec .itag.fan { color: var(--gold); background: rgba(255,207,74,.12); }
.sec .itag.neg { color: #ff8c9c; background: rgba(255,77,94,.14); } .sec .itag.hid { color: var(--muted); background: rgba(255,255,255,.06); }
.sec .iava { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12.5px; flex: none; position: relative; color: #fff;
  background: linear-gradient(135deg, #5b4bd6, #9b6bff); }
.sec .iava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.sec .iava .ni { position: absolute; right: -5px; bottom: -4px; background: #100d20; border-radius: 5px; padding: 1px; } .sec .iava .ni svg { width: 12px; height: 12px; }
.sec .ibconv { display: flex; flex-direction: column; padding: 0 !important; overflow: hidden; min-height: 0; }
.sec .ichead { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.sec .ichead > div:not(.acts) { min-width: 0; } .sec .ichead b { display: block; } .sec .ichead small { color: var(--muted); font-size: 12px; }
.sec .ichead .acts { margin-left: auto; display: flex; gap: 6px; } .sec .ibback { display: none; }
.sec .imsgs { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.sec .ictx { align-self: center; display: flex; gap: 10px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 12px; background: #0e0c1d; border: 1px solid rgba(255,255,255,.06); max-width: 480px; }
.sec .ictx img { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; } .sec .ictx b { font-size: 13px; display: block; } .sec .ictx small { color: var(--muted); font-size: 11.5px; }
.sec .im { display: flex; gap: 10px; align-items: flex-end; max-width: 75%; }
.sec .im .bub { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #241e44; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.sec .im small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.sec .im.mine { align-self: flex-end; flex-direction: row-reverse; }
.sec .im.mine .bub { border-radius: 16px 16px 4px 16px; background: linear-gradient(135deg, #ff2e88, #c21f6d); box-shadow: 0 0 14px rgba(255,46,136,.35); } .sec .im.mine small { text-align: right; }
.sec .ireply { margin: 0 16px 16px; border-radius: 12px; border: 1px solid rgba(255,46,136,.5); background: #0b0918; padding: 8px 10px; box-shadow: 0 0 14px rgba(255,46,136,.15); }
.sec .ireply textarea { width: 100%; border: 0; background: transparent; color: var(--text); font: 14px/1.45 var(--font); resize: none; min-height: 44px; padding: 4px; }
.sec .ireply textarea:focus { outline: none; }
.sec .ireply .tb { display: flex; align-items: center; gap: 8px; } .sec .ireply .hint { font-size: 11.5px; color: var(--muted); }
.sec .ireply .n { margin-left: auto; font: 16px VT323, monospace; color: var(--green); }
.sec .ibside { display: grid; gap: 12px; align-content: start; overflow-y: auto; min-height: 0; }
.sec .ipcard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; display: block; }
.sec .ipcard b { display: block; margin-top: 8px; font-size: 13.5px; } .sec .ipcard small { color: var(--muted); font-size: 12px; }
.sec .istats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0; text-align: center; }
.sec .istats div { background: #0e0c1d; border-radius: 8px; padding: 6px 4px; } .sec .istats b { font: 22px/1 VT323, monospace; margin: 0; } .sec .istats span { font-size: 10.5px; color: var(--muted); }
.sec .ipcard .row2 { justify-content: flex-start; margin-top: 0; }
.sec .iwho { display: flex; gap: 10px; align-items: center; } .sec .iwho b { display: block; font-size: 13.5px; } .sec .iwho small { color: var(--muted); font-size: 12px; }
.sec .facts { margin: 10px 0 0; padding: 0; list-style: none; font-size: 12.5px; display: grid; gap: 5px; }
.sec .facts li { display: flex; justify-content: space-between; color: var(--muted); } .sec .facts li b { color: #fff; }

/* ---------- smartlinks ---------- */
.sec .slwrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px minmax(0, .8fr); gap: 14px; align-items: start; }
.sec .url { display: flex; align-items: center; gap: 6px; padding: 7px 8px 7px 11px; border-radius: 10px; background: #0b0918; border: 1px solid rgba(255,46,136,.45);
  font-size: 13px; margin-bottom: 10px; min-width: 0; }
.sec .url span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .sec .url b { color: #fff; margin-right: auto; }
.sec .slwho { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #0e0c1d; margin-bottom: 10px; }
.sec .slwho > div { flex: 1; min-width: 0; } .sec .slwho b { display: block; font-size: 13.5px; } .sec .slwho small { color: var(--muted); font-size: 12px; }
.sec .blocks { display: grid; gap: 7px; }
.sec .blk { display: grid; grid-template-columns: 16px 34px minmax(0, 1fr) auto auto auto; gap: 9px; align-items: center; padding: 8px 10px; border-radius: 10px;
  background: #0e0c1d; border: 1px solid rgba(255,255,255,.06); }
.sec .blk.off { opacity: .55; } .sec .blk.moving { border-color: var(--accent); box-shadow: 0 0 14px rgba(255,46,136,.35); }
.sec .blk .grip { color: #5a5380; letter-spacing: -2px; cursor: grab; touch-action: none; user-select: none; }
.sec .blk .t { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #221d40; font-size: 15px; font-weight: 800; }
.sec .blk b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec .blk small { color: var(--muted); font-size: 11.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec .blk .clk { font: 19px VT323, monospace; color: #7dffb0; min-width: 24px; text-align: right; }
.sec .bact { display: flex; gap: 4px; }
.sec .ix { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.sec .ix:hover { color: #fff; border-color: var(--accent); }
.sec .add { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.sec .phone { border-radius: 34px; border: 2px solid #2c2747; padding: 9px; background: #07060f; box-shadow: 0 0 30px rgba(255,46,136,.15); position: sticky; top: 90px; }
.sec .phone iframe { display: block; width: 100%; height: 600px; border: 0; border-radius: 26px; background: #0d0b1a; }
.sec .themes { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.sec .swatches { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.sec .swatches button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; background: var(--c); cursor: pointer; box-shadow: 0 0 8px color-mix(in srgb, var(--c) 60%, transparent); }
.sec .swatches button.on { border-color: #fff; } .sec .swatches .reset { background: #0b0918; border: 1px solid var(--line); color: var(--muted); font-size: 11px; box-shadow: none; }
.sec .swatches .reset.on { border-color: #fff; color: #fff; } .sec .swatches.locked button:not(.reset) { opacity: .45; }
.sec .srcs { display: grid; gap: 7px; margin-top: 10px; }
.sec .srcs div { display: grid; grid-template-columns: 110px 1fr 38px; gap: 8px; align-items: center; font-size: 12.5px; }
.sec .srcs i { height: 6px; border-radius: 3px; background: #221d40; overflow: hidden; } .sec .srcs i b { display: block; height: 100%; background: var(--accent); }
.sec .srcs em { font-style: normal; text-align: right; color: var(--muted); }

/* ---------- ads ---------- */
.sec .adsbody { display: grid; gap: 12px; position: relative; border-radius: 16px; }
.sec .adsbody.sample > .mod, .sec .adsbody.sample > .an4 { filter: blur(1.5px) saturate(.7); opacity: .6; pointer-events: none; }
.sec .adsbody > .lockbox { background: rgba(13,11,26,.45); }
.sec .an4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sec .adacc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sec .adacc > div { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 9px 11px; border-radius: 10px; background: #0e0c1d;
  border: 1px solid rgba(255,255,255,.06); }
.sec .adacc b { font-size: 13px; } .sec .adacc small { display: block; color: var(--muted); font-size: 11.5px; } .sec .adacc .soon { font-size: 11px; color: var(--amber); font-weight: 700; }
.sec .st { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.sec .st.on { color: var(--green); background: rgba(61,255,138,.1); } .sec .st.pa { color: var(--amber); background: rgba(255,196,61,.1); } .sec .st.end { color: var(--muted); background: rgba(255,255,255,.06); }
.sec .bar2 { height: 6px; border-radius: 3px; background: #221d40; overflow: hidden; width: 80px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.sec .bar2 i { display: block; height: 100%; background: var(--accent); }

/* ---------- profile ---------- */
.sec .pfwrap { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 14px; align-items: start; }
.sec .pfright { display: grid; gap: 14px; min-width: 0; }
.sec .pfwho { text-align: center; padding: 22px 16px !important; } .sec .pfwho h3 { margin: 0; font-size: 19px; } .sec .pfwho p { margin: 3px 0 10px; color: var(--muted); font-size: 12.5px; }
.sec .pfwho p.bio { color: var(--text); } .ava.big { width: 86px; height: 86px; font-size: 30px; margin: 0 auto 10px; box-shadow: 0 0 22px rgba(255,46,136,.5); }
.sec .lvl { display: inline-flex; padding: 6px 14px; border-radius: 99px; font: 800 12px var(--font); letter-spacing: .14em; color: var(--muted); border: 1px solid var(--line); }
.sec .lvl.pro { color: #ff8cc0; border-color: rgba(255,46,136,.6); background: rgba(255,46,136,.12); box-shadow: 0 0 14px rgba(255,46,136,.3); }
.sec .lvl.studio { color: var(--gold); border-color: rgba(255,207,74,.6); background: rgba(255,207,74,.1); box-shadow: 0 0 14px rgba(255,207,74,.3); }
.sec .pfwho .ren { margin-top: 10px; }
.sec .meter { margin: 12px 0; text-align: left; } .sec .meter > div:first-child { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 4px; }
.sec .meter > div:first-child span { color: var(--muted); }
.sec .meter .tr { height: 8px; border-radius: 4px; background: #221d40; overflow: hidden; }
.sec .meter .tr i { display: block; height: 100%; background: linear-gradient(90deg, #ff5ca5, #ff2e88); box-shadow: 0 0 8px rgba(255,46,136,.7); }
.sec .meter.full .tr i { background: linear-gradient(90deg, #ffb13d, #ff4d5e); }
.sec .row2 { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.sec .plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 8px; }
.sec .plan { border-radius: 14px; padding: 16px; background: #0e0c1d; border: 1px solid rgba(255,255,255,.08); position: relative; display: flex; flex-direction: column; }
.sec .plan h4 { margin: 0 0 2px; font-size: 13px; letter-spacing: .16em; } .sec .plan.pro h4 { color: #ff8cc0; } .sec .plan.studio h4 { color: var(--gold); }
.sec .plan .pr { font: 46px/1 VT323, monospace; margin: 6px 0 2px; } .sec .plan .pr small { font: 600 13px var(--font); color: var(--muted); }
.sec .plan ul { margin: 12px 0 14px; padding: 0; list-style: none; font-size: 13px; flex: 1; }
.sec .plan li { padding: 4px 0 4px 20px; position: relative; } .sec .plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.sec .plan li.no { color: #5a5380; } .sec .plan li.no::before { content: "–"; color: #5a5380; }
.sec .plan.cur { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 24px rgba(255,46,136,.3); }
.sec .plan.cur::after { content: "YOUR PLAN"; position: absolute; top: -10px; left: 14px; font: 800 10px var(--font); letter-spacing: .14em; padding: 3px 9px; border-radius: 99px; background: var(--accent); }
.sec .plan.studio:not(.cur) { border-color: rgba(255,207,74,.45); }
.sec .plan .btn { width: 100%; } .sec .plan .btn:disabled { opacity: .7; cursor: default; }
.sec .packs { display: flex; gap: 8px; flex-wrap: wrap; } .sec .packs .chip { padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line); background: #0b0918; font-size: 12.5px; }

/* ---------- form window ---------- */
.fbox { width: min(480px, 100%) !important; }
.frow { display: grid; gap: 5px; margin-bottom: 12px; font-size: 13px; color: var(--muted); font-weight: 600; }
.frow .field { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 14px var(--font); }
.frow .field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 10px rgba(255,46,136,.3); }
.frow textarea.field { min-height: 76px; resize: vertical; }
.frow.switch { grid-template-columns: 1fr auto; align-items: center; } .frow.switch small { grid-column: 1 / -1; font-weight: 400; font-size: 12px; }
.fdates { display: flex; gap: 6px; } .fdates .fdate { flex: 1; justify-content: flex-start; }
#fErr { min-height: 18px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .sec .slwrap { grid-template-columns: minmax(0, 1fr) 300px; } .sec .sllook { grid-column: 1 / -1; }
  .mainnav a { padding: 8px 9px; } .mainnav a span { display: none; } .mainnav a .lvtag { display: none; }
}
@media (max-width: 899px) {
  .mainnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(13,11,26,.96); border-top: 1px solid rgba(255,46,136,.35); backdrop-filter: blur(8px); }
  .mainnav a { flex-direction: column; gap: 2px; font-size: 10.5px; padding: 6px 4px; flex: 1; } .mainnav a span { display: block; }
  .mainnav a svg { width: 20px; height: 20px; }
  body:has(#mainnav:not(.hidden)) main.page { padding-bottom: 90px; }
  .mechip .mewho, .mechip i { display: none; } .mechip { padding: 3px; }
  .sec .calwrap, .sec .pfwrap, .sec .slwrap { grid-template-columns: 1fr; }
  .sec .an, .sec .an4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sec .wide3 { grid-column: 1 / -1; }
  .sec .adacc, .sec .plans { grid-template-columns: 1fr; }
  .sec .ibwrap { grid-template-columns: 1fr; height: auto; } .sec .ibside { display: none; } .sec .ibconv { display: none; min-height: 70vh; }
  .sec .ibwrap.open .iblist { display: none; } .sec .ichead { flex-wrap: wrap; padding: 10px 12px; } .sec .ichead small { display: none; }
  .sec .ichead .acts { width: 100%; margin-left: 0; } .sec .ichead .acts .key { flex: 1; justify-content: center; } .sec .ibwrap.open .ibconv { display: flex; } .sec .ibback { display: inline-flex; }
  .sec .iblist { max-height: none; } .sec .ibthreads { overflow: visible; }
  .mainnav a .nbadge { position: absolute; top: 0; right: 18%; }
  .mainnav a { position: relative; }
  .sec .pdwrap { grid-template-columns: 1fr; } .sec .an5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec .day { min-height: 70px; padding: 3px; } .sec .post { grid-template-columns: 1fr; } .sec .post img, .sec .post span { display: none; } .sec .post b { font-size: 10px; }
  .sec .week .day { min-height: 180px; }
  .sec .phone { position: static; max-width: 340px; margin: 0 auto; }
  .sec .tbl { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 599px) {
  .sec .an, .sec .an4 { grid-template-columns: 1fr; }
  .sec .grid7 { gap: 2px; } .sec .dow { font-size: 9px; letter-spacing: .05em; } .sec .day > i { font-size: 10px; } .sec .best { display: none; }
  .sec .shead h2 { font-size: 20px; }
}
