:root{--bg:#1e1e1e;--card:#222;--line:#933147;--muted:#c7c7c7;--green:#d63258;color-scheme:dark}
body{font-family:Arial,'Segoe UI',sans-serif;font-size:14px;color:#eee;background:#1e1e1e}main{margin:0 0 0 344px;padding:90px 22px 28px;max-width:none}p{line-height:1.45}button,input,select,.file-button{border-radius:3px;border:1px solid #4c4c4c;font-size:13px;padding:8px 12px;font-weight:400}button,button.secondary,.file-button{background:#2a2a2a;color:#eee}button:hover,.file-button:hover{background:#363636;border-color:#797979}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #56c9ec;outline-offset:2px}input,select,.overlay-settings input,.overlay-settings select,.overlay-settings textarea{background:#292929;border-color:#4b4b4b;border-radius:3px}h2{font-size:19px;font-weight:400;color:#349bc0}.panel,.rule{border-radius:10px;background:#222;border:1px solid #98334b;padding:22px;margin:16px 0}.row{gap:5px}.muted{color:#c5c5c5}button.danger{background:#44222c}#notice{position:fixed;right:22px;bottom:22px;z-index:70;background:#262626;color:#fff;border:1px solid #a13450;border-radius:5px;padding:12px 18px;max-width:580px;box-shadow:0 4px 15px #0006}#notice:empty{display:none}footer{border-top:1px solid #414141;padding-top:12px;color:#aaa}
.app-topbar{position:fixed;inset:0 0 auto 0;height:64px;z-index:40;display:flex;align-items:center;gap:10px;background:#303030;border-bottom:1px solid #4b2d38;padding:8px 16px}.brand{width:42px;flex-shrink:0}.app-logo{width:34px;height:34px;border-radius:7px;background:#d63258;font-weight:900;font-size:15px;margin:0}.nav-search-wrap{width:244px;position:relative;margin-right:auto}#nav-search{width:100%;height:40px;border-radius:8px;border:0;background:#222;font-size:15px}#nav-search-results{position:absolute;top:44px;left:0;width:310px;max-height:430px;overflow:auto;background:#252525;border:1px solid #a23856;box-shadow:0 8px 24px #0008;padding:5px}#nav-search-results button{width:100%;text-align:left;border:0;background:transparent;padding:10px}.connect-pill{background:#d63258;color:#fff;border:0;border-radius:5px;padding:12px 18px;font-weight:600;white-space:nowrap}.connect-pill:hover{background:#e83a64}.top-actions{display:flex;align-items:center;gap:5px}.top-actions button{font-size:12px;white-space:nowrap;border-color:#4b4b4b;padding:8px}.profile-pill{padding:10px;border-left:1px solid #555;white-space:nowrap;font-size:12px}
.app-sidebar{position:fixed;inset:64px auto 0 0;width:322px;padding:0;display:flex;flex-direction:row;overflow:hidden;background:#292929;border-right:4px solid #cf2e53;z-index:30}.app-rail{width:64px;flex-shrink:0;margin:0;padding:12px 3px;gap:8px;display:flex;flex-direction:column;overflow-y:auto;background:#2b2729;border-right:1px solid #383038}.app-rail button.rail-item{width:58px;min-height:66px;padding:0;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;font-size:11px;background:transparent;border:0;color:#fff;line-height:1.1}.rail-icon{display:grid;place-items:center;font-size:24px;color:var(--icon-color);width:44px;height:42px;border-radius:12px;background:#393137}.app-rail button.selected{background:transparent}.app-rail button.selected .rail-icon{background:var(--icon-color);color:#fff}.app-submenus{position:relative;width:254px;padding:16px 10px 82px;overflow-y:auto}.submenu-heading,.overlay-group-heading{width:100%;border:0;background:#cf2e53;color:#fff;padding:9px 10px;border-radius:7px;display:flex;justify-content:space-between;align-items:center;font-size:14px;text-align:left;margin:0 0 8px}.app-submenus #setup-subnav{margin:0 0 10px 13px;padding-left:8px;border-left:1px solid #575757}#setup-subnav button{padding:8px 7px;border:0;background:transparent;color:#fff;font-size:13px;min-height:32px;text-align:left;border-radius:3px;width:100%}#setup-subnav button.selected{background:#353535;color:#fff}.app-submenus nav{margin:0;display:block}.overlay-nav-group{margin-bottom:7px}.overlay-group-heading{background:transparent;margin:0;font-size:13px;padding:10px}.overlay-group-heading[aria-expanded=true]{background:#cf2e53}.overlay-nav-items{border-left:1px solid #565656;margin:0 0 8px 14px;padding:4px 0 4px 9px}.overlay-nav-items button{width:100%;text-align:left;background:transparent;border:0;color:#fff;padding:9px 5px;font-size:13px}.overlay-nav-items button.selected{background:#353535;color:#66c8ed}.sidebar-foot{margin-top:26px;padding:12px;background:#222;border:1px solid #333;border-radius:8px;color:#5dbade;font-size:13px}.sidebar-foot small{display:block;margin-top:7px;color:#aaa;font-size:11px}#general-subnav p{font-size:13px;color:#ccc;padding:4px 12px}
.setup-section{max-width:none;padding:22px 24px}.setup-section h2{margin-bottom:20px;font-size:18px}.setup-field{margin:14px 0;gap:24px}.setup-field input{width:300px}.setup-field input[type=checkbox]{width:18px;height:18px}input[type=checkbox]{accent-color:#349ec4}table{font-size:13px}td{border-color:#484848}.table-scroll{border:1px solid #444;border-radius:0}.rule{border-radius:7px}.rule h3{font-size:16px}.rule img{background:#292929;border-radius:4px}dialog{background:#222;border:1px solid #99405a;border-radius:8px;padding:22px;width:min(920px,94vw)}dialog::backdrop{background:#000a}.dialog-head{margin-bottom:18px}.overlay-settings{gap:18px}.overlay-settings input,.overlay-settings select,.overlay-settings textarea{padding:8px;font:inherit}.overlay-settings label{font-size:13px}.overlay-customize .panel{border:0;padding:0;margin:0}.overlay-settings input[type=color]{height:34px}
.overlay-page-head{margin:16px 0 32px}.overlay-page-head h2{font-size:24px}.overlay-page-head p{margin-top:22px}.overlay-gallery{display:grid;grid-template-columns:1fr;gap:20px}.overlay-gallery.gift-grid-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:#222;border:1px solid #98334b;border-radius:10px;padding:12px}.overlay-card{min-width:0;background:#222;border:1px solid #98334b;border-radius:10px;padding:20px 24px;scroll-margin-top:86px}.gift-grid-layout .overlay-card{border:0;border-radius:0;padding:18px 10px}.overlay-card h3{color:#349bc0;font-size:17px;font-weight:400;margin:4px 0 22px}.overlay-card p{min-height:21px;margin:0 0 18px}.overlay-url-row{display:flex;gap:5px;align-items:center;margin:5px 0}.overlay-url-row input{min-width:60px;flex:1;border-style:dashed;height:35px;font-size:12px}.overlay-url-row button{height:35px;white-space:nowrap;padding:6px 12px}.studio-url-row{margin-bottom:8px}.studio-url-row span{width:74px;color:#aaa;font-size:11px;flex-shrink:0}.overlay-frame-wrap{border:1px solid #4b4b4b;position:relative;background:#202020;margin-top:8px;overflow:hidden}.overlay-frame-wrap iframe{width:100%;height:350px;display:block;border:0;background:transparent}.overlay-card[data-kind=goal] iframe,.overlay-card[data-kind=remaining] iframe{height:160px}.overlay-card .preview-tools{position:absolute;right:6px;top:6px;display:flex;flex-direction:column;gap:4px;z-index:2}.preview-tools button{padding:6px 8px;background:#303030d9}.overlay-source-size{font-size:11px;color:#aaa;margin-top:8px}.overlay-card.is-selected h3{color:#58b7d6}#overlay-browse-gifts-menu{width:100%;text-align:left;background:transparent;border:0;margin-top:10px;padding:10px}.session-panel p{font-size:13px}.session-panel{margin-top:24px}.gift-download-grid article{background:#292929;border-color:#555;border-radius:4px}
.app-sidebar .app-rail button.selected{background:transparent}.app-sidebar .overlay-nav-items button.selected{background:transparent;color:#fff;font-weight:600}.gift-grid-layout .overlay-card p{min-height:42px}
@media(max-width:1100px){.top-actions button{font-size:0;width:33px}.top-actions button::first-letter{font-size:17px}.profile-pill{display:none}.nav-search-wrap{width:225px}.overlay-url-row{flex-wrap:wrap}.overlay-url-row input{flex-basis:100%}.overlay-url-row button{flex:1}.studio-url-row input{flex-basis:70%}}
@media(max-width:850px){.app-sidebar{width:248px}.app-submenus{width:184px}.app-rail{width:60px}main{margin-left:266px;padding:82px 12px 20px}.app-topbar{gap:6px;padding:8px}.nav-search-wrap{width:170px}.connect-pill{padding:11px 8px;font-size:12px}.top-actions{display:none}.overlay-gallery.gift-grid-layout{grid-template-columns:1fr}.overlay-card{padding:16px}.setup-field{flex-wrap:wrap}.setup-field input{max-width:100%}#setup-subnav{display:block}.setup-section{padding:18px}}
@media(max-width:600px){.app-sidebar{position:static;width:100%;height:auto;max-height:280px;border-right:0;border-bottom:3px solid #cf2e53;margin-top:64px}.app-rail{width:64px}.app-submenus{width:calc(100% - 64px);padding-bottom:12px}.sidebar-foot{display:none}main{margin:0;padding:14px}.nav-search-wrap{width:150px}.overlay-page-head{margin:0 0 20px}}

body[data-section=rules] .app-sidebar,body[data-section=events] .app-sidebar{width:64px;border-right:0}body[data-section=rules] .app-submenus,body[data-section=events] .app-submenus{display:none}body[data-section=rules] main,body[data-section=events] main{margin-left:86px}body[data-section=sounds] .app-rail #sounds-tab .rail-icon{background:#45d6b1;color:#fff}#rule-list{display:block}.action-search{display:block;width:240px;margin:10px 0 14px auto}.actions-table-head,.action-table-row{display:grid;grid-template-columns:90px minmax(170px,1.5fr) 85px 60px minmax(150px,1.3fr) minmax(110px,1fr) 50px;align-items:center;gap:0;font-size:13px}.actions-table-head{background:#282828;color:#aaa;border:1px solid #4c4c4c}.actions-table-head span,.action-table-row>span{padding:10px;border-right:1px solid #444;min-width:0;overflow-wrap:anywhere}.action-entry{border:1px solid #4c4c4c;border-top:0}.action-table-row{cursor:pointer;background:#242424;min-height:54px;list-style:none}.action-table-row::-webkit-details-marker{display:none}.action-table-row:hover{background:#303030}.action-name{display:flex;align-items:center;gap:12px}.action-name img{width:30px;height:30px;object-fit:contain}.action-row-tools{display:flex;gap:2px}.action-row-tools button{border:0;background:transparent;color:#349bc0;padding:5px;font-size:17px}.action-entry .rule{margin:0;border:0;border-top:1px solid #555;border-radius:0;background:#292929}.action-entry .rule .top{display:none}.action-entry[open] .action-table-row{background:#343434}.action-entry .rule .fields{display:inline-flex;margin-right:14px}.action-entry .rule .row{gap:10px}@media(max-width:1000px){.actions-table-head,.action-table-row{grid-template-columns:60px minmax(120px,1.5fr) 60px 50px minmax(100px,1fr) 65px 40px;font-size:11px}.actions-table-head span,.action-table-row>span{padding:7px}.action-name img{width:24px;height:24px}.action-name{gap:5px}}@media(max-width:600px){body[data-section=rules] .app-sidebar,body[data-section=events] .app-sidebar{width:100%;height:auto}body[data-section=rules] .app-rail,body[data-section=events] .app-rail{flex-direction:row;width:100%;overflow-x:auto}body[data-section=rules] main,body[data-section=events] main{margin-left:0}.actions-table-head{display:none}.action-table-row{grid-template-columns:60px minmax(120px,1fr) 40px}.action-table-row>span:nth-child(n+4){display:none}}
#automation-dialog{width:min(780px,90vw);max-height:88vh;overflow:auto}#automation-dialog .setup-field{margin:12px 0}#automation-dialog [hidden]{display:none!important}.automation-entry{padding:12px 0;border-bottom:1px solid #444}.automation-entry>span{flex:1;min-width:200px}.automation-panel{margin-bottom:24px}
body[data-section=rules] .legacy-actions{display:none}body[data-section=sounds] .automation-page{display:none}.automation-page .panel{margin:24px 0;padding:20px}.automation-page .row{margin:26px 0 12px}.automation-page .row input[type=search]{margin-left:auto;width:240px}.automation-table-wrap{overflow:auto}.automation-table{border-collapse:collapse;width:100%;margin-top:10px;font-size:14px;background:#272727}.automation-table th,.automation-table td{padding:10px 8px;text-align:left;border:1px solid #4c4c4c;vertical-align:middle}.automation-table th{font-weight:400;color:#999;background:#292929}.automation-table td{border-top:0;border-bottom:0}.automation-icon-tools{white-space:nowrap;width:90px}.automation-icon-tools button{padding:4px;border:0;background:transparent;color:#20aed1;font-size:19px}.automation-gift-name{display:flex;align-items:center;gap:9px}.automation-gift-name img{width:28px;height:28px;object-fit:contain}.automation-url input{flex:1;min-width:250px}.tik-action-dialog#automation-dialog{width:650px;max-width:92vw;max-height:90vh;padding:0;border:1px solid #555;border-radius:4px;background:#292929;color:#ddd;overflow:hidden}.tik-dialog-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #555;padding:12px 20px}.tik-dialog-head h2{color:#ddd;font-size:21px;margin:0}.tik-dialog-head button{background:transparent;border:0;color:#ddd;font-size:26px}.tik-dialog-body{overflow:auto;max-height:calc(90vh - 65px);padding:24px 20px}.automation-field{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:14px 0;max-width:100%;font-size:14px}.automation-field>input:not([type=checkbox]),.automation-field>select{margin-left:20px;width:200px}.automation-field:has(input[type=checkbox]){flex-direction:row-reverse;justify-content:flex-end;min-height:32px;gap:14px}.automation-field input[type=checkbox]{width:21px;height:21px;accent-color:#1a99b7}.automation-question{margin:42px 0 26px}.automation-effect{margin:18px 0 28px}.automation-effect-details{margin-left:35px}.automation-effect-details .automation-field{font-size:12px}.automation-drop{padding:12px;border:1px dashed #606060;color:#aaa;max-width:470px}.automation-drop input{display:block;margin-top:12px;max-width:100%}.tik-dialog-footer{border-top:1px solid #555;padding-top:18px;margin-top:30px}.automation-error{color:#ff8282;white-space:pre-wrap}.tik-action-dialog [hidden]{display:none!important}.automation-gift-dialog{width:800px;max-height:85vh;overflow:auto}.automation-gift-dialog>input{width:100%;margin:20px 0}.automation-gift-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}.automation-gift-grid button{display:flex;flex-direction:column;align-items:center;gap:6px}.automation-gift-grid img{width:64px;height:64px;object-fit:contain}.automation-gift-grid small{color:#aaa}.automation-event-gift{display:flex;align-items:center;gap:10px;margin:22px 0}.action-preview-dialog{width:900px;max-width:95vw}.action-preview-dialog iframe{display:block;width:100%;aspect-ratio:16/9;border:1px solid #555;background:repeating-conic-gradient(#333 0% 25%,#292929 0% 50%) 50%/20px 20px;margin-top:15px}
.automation-gift-header{position:sticky;top:-20px;z-index:2;background:#252525;padding:16px 0 10px;margin-top:-16px}.automation-gift-header h2{display:inline-block;margin:0 20px 12px 0}.automation-gift-header>button{float:right}.automation-gift-header input{display:block;width:100%;box-sizing:border-box}.automation-gift-header p{margin:10px 0 0;color:#aaa;font-size:13px}.automation-gift-grid button{font-family:inherit;font-size:13px;min-height:148px;padding:12px 8px;justify-content:flex-start}.automation-gift-grid strong{min-height:36px;display:flex;align-items:center;justify-content:center;text-align:center;overflow-wrap:anywhere}.automation-gift-grid small{margin-top:auto}
.tik-key-dialog{width:620px;max-width:92vw;max-height:90vh;padding:0;background:#292929;border:1px solid #555;border-radius:4px;color:#ddd;overflow:hidden}.tik-key-dialog .tik-dialog-body{max-height:calc(90vh - 65px);overflow:auto}.tik-key-dialog .row{gap:22px}.tik-key-dialog .automation-field{font-size:13px}.tik-key-dialog textarea{box-sizing:border-box;width:100%;font:14px Consolas,monospace;padding:10px;resize:vertical}.key-sequence-buttons{display:flex;flex-wrap:wrap;gap:5px;margin:24px 0}.key-sequence-buttons button{padding:9px 15px;font-size:12px}.tik-key-dialog .muted{font-size:12px;line-height:1.6}
.automation-small-panel{max-width:760px}.screen-ready{color:#55da74!important}.screen-offline{color:#ff626b!important}#automation-panel .automation-table a{color:#20afd4;overflow-wrap:anywhere}#automation-panel .automation-table input[type=number]{width:90px}#automation-panel .automation-table th{white-space:normal}#automation-panel .automation-table td{vertical-align:middle}
.action-preview-dialog[hidden]{display:none}.automation-small-panel .action-preview-dialog{width:100%;max-width:100%;margin-top:20px}
.tts-page{padding-top:12px}.tts-page>h2{font-size:25px;font-weight:400}.tts-intro{white-space:pre-line;margin:22px 0 42px!important}.tts-grid-top{display:grid;grid-template-columns:minmax(280px,370px) minmax(190px,230px) minmax(260px,300px) minmax(280px,330px);gap:18px;align-items:start}.tts-page .tts-card{background:#222;border:1px solid #96354f;border-radius:10px;padding:22px 20px;margin:0;color:#ddd;font-size:14px;min-width:0}.tts-card h3{color:#349ec4;font-size:16px;font-weight:400;margin:0 0 26px}.tts-field{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0}.tts-field input:not([type=checkbox]):not([type=range]){width:120px}.tts-field input[type=text],.tts-field select{width:200px;max-width:65%}.tts-field input[type=checkbox],.tts-choice input{width:22px;height:22px;accent-color:#299abd;margin:0}.tts-enabled{font-weight:600;justify-content:flex-start;gap:52px}.tts-field input[type=range]{width:125px;accent-color:#21a7d5}.tts-choice{display:flex;align-items:center;gap:15px;margin:22px 0;line-height:1.5}.tts-choice input{flex-shrink:0}.tts-link{color:#21add2!important;border:0!important;background:transparent!important;padding:3px!important;font-size:12px!important;font-weight:400!important}.tts-card>.tts-link{display:block;margin:-16px 0 16px 36px}.tts-card small{white-space:pre-line;font-size:11px;line-height:1.8}.tts-grid-middle{display:grid;grid-template-columns:minmax(400px,742px) minmax(300px,440px);gap:52px;margin-top:84px;align-items:start}.tts-grid-bottom{display:grid;grid-template-columns:minmax(280px,356px) minmax(380px,474px);gap:42px;margin-top:84px;align-items:start}.tts-special p{white-space:pre-line}.tts-special>.row{justify-content:flex-end}.tts-special input[type=search]{width:240px}.tts-table{background:#292929;border-collapse:collapse}.tts-table th,.tts-table td{padding:9px 7px;border:1px solid #4c4c4c;text-align:left;font-size:13px}.tts-table th{font-weight:400;color:#999}.tts-table tbody tr{color:#ddd;font-weight:400}.tts-table input[type=checkbox]{accent-color:#299abd}.tts-card .row{margin:20px 0}.tts-card .row>input{flex:1;min-width:100px}.tts-card .tts-plus{font-size:23px;padding:2px 10px}.tts-logs{min-height:190px;max-height:270px;overflow:auto}.tts-logs p{font-size:12px;overflow-wrap:anywhere;border-bottom:1px solid #444;padding-bottom:10px}.tts-voice-info{display:block;color:#aaa}.tts-dialog input,.tts-dialog select,.tts-dialog textarea{max-width:100%}.tts-dialog textarea{width:100%}.tts-dialog form>input{margin:16px 0}.tts-dialog form>button{display:block;margin-top:24px}@media(max-width:1450px){.tts-grid-top{grid-template-columns:repeat(2,minmax(250px,1fr));max-width:900px}.tts-grid-middle{gap:24px;grid-template-columns:1.4fr 1fr}.tts-grid-bottom{gap:24px}}@media(max-width:900px){.tts-grid-top,.tts-grid-middle,.tts-grid-bottom{grid-template-columns:1fr}.tts-grid-middle,.tts-grid-bottom{margin-top:30px}.tts-grid-top{gap:20px}.tts-field input[type=text],.tts-field select{max-width:60%}}
body[data-section=tts] .app-sidebar{width:64px;border-right:0}body[data-section=tts] .app-submenus{display:none}body[data-section=tts] main{margin-left:86px}.tts-card input[type=radio]{accent-color:#299abd}.tts-page .tts-grid-top{grid-template-columns:minmax(260px,370px) minmax(180px,230px) minmax(230px,300px) minmax(230px,330px)}@media(max-width:1150px){.tts-page .tts-grid-top{grid-template-columns:repeat(2,minmax(200px,1fr))}}@media(max-width:900px){.tts-page .tts-grid-top{grid-template-columns:1fr}}@media(max-width:600px){body[data-section=tts] .app-sidebar{width:100%;height:auto}body[data-section=tts] .app-rail{width:100%;flex-direction:row}body[data-section=tts] main{margin-left:0}}

.broadcaster-status{display:flex;align-items:center;gap:16px;margin:22px 0 14px}.broadcaster-status>img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:2px solid #555}.broadcaster-status strong{font-size:18px}.broadcaster-status #status{margin:7px 0;padding:0;border:0}.broadcaster-status>span{font-size:30px;font-weight:bold;color:#ff526e}.broadcaster-status[data-state=connected]>span,.profile-pill[data-state=connected] #connection-mark{color:#36e486}.broadcaster-status[data-state=connected]>img{border-color:#36e486}.broadcaster-status[data-state=connecting]>span{color:#ffc65c}.profile-pill{display:flex;align-items:center;gap:7px}.profile-pill img{width:30px;height:30px;border-radius:50%;object-fit:cover}.profile-pill img[hidden]{display:none}.profile-pill #connection-mark{color:#ff526e;font-size:19px}

.profiles-dialog{max-width:520px;width:90vw;max-height:90vh;overflow:auto;background:#222;color:#eee;border:1px solid #743346;border-radius:14px;padding:22px}.profiles-dialog::backdrop{background:#000a}.profiles-dialog p{font-size:13px;line-height:1.5;color:#bbb}.profile-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #ffffff12;padding:8px 4px}.profile-row>button:first-child{flex:1;text-align:left;background:transparent;border:0;color:white}.profile-row.active{background:#20422e;border-radius:8px}.profile-row strong{font-size:12px;color:#54eb83}.profiles-dialog form input{display:block;margin-bottom:18px;width:100%}.profiles-dialog form button{margin:10px 8px 0 0}
.activity-kind-settings{display:flex;flex-wrap:wrap;gap:18px;border:1px solid #555;padding:18px;margin:18px 0}.activity-kind-settings label{display:flex;align-items:center;gap:8px}.activity-kind-settings input{width:18px;height:18px}
.overlay-card[data-kind=activitypanel] iframe{height:240px}

.event-choice-section{display:grid;grid-template-columns:40% 1fr;gap:18px;margin:28px 0}.event-choice-question{font-size:14px;color:#ddd;padding-top:10px}.event-radio-list{display:flex;flex-direction:column;gap:9px}.event-radio{display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.4;padding:5px 0}.event-radio input{width:20px;height:20px;flex:none;accent-color:#19b5de}.event-radio:has(input:disabled){opacity:.45}.event-editor .event-help{font-size:12px;line-height:1.5}.event-editor>label{margin:12px 0}@media(max-width:600px){.event-choice-section{grid-template-columns:1fr}}

.action-editor .automation-effect{margin:26px 20px}.action-editor>.automation-field:has(input[type=checkbox]){margin:24px 20px}.action-editor>.automation-field:first-child{display:block;margin:0 0 42px}.action-editor>.automation-field:first-child input{display:block;margin:35px 20px 0}.action-editor h3{font-size:14px;font-weight:400;margin:42px 0 30px}.action-editor textarea{width:100%;box-sizing:border-box;resize:vertical;font:14px monospace}.action-editor .action-screen-info{text-align:center;margin:45px 10px 20px;font-size:14px;line-height:1.5}.action-editor .action-screen-info a{color:#20aed1;overflow-wrap:anywhere}.action-editor .action-rewards{margin:25px 20px}.action-editor .tik-dialog-footer{justify-content:space-evenly}.action-editor .tik-dialog-footer button{min-width:160px}

.overlay-style-library{padding-bottom:24px;border-bottom:1px solid #555;margin-bottom:22px}.overlay-style-library h3{color:#20aed1}.overlay-theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}.overlay-theme-grid button{min-height:65px;background:linear-gradient(135deg,color-mix(in srgb,var(--swatch) 20%,#202020),#202020);border:1px solid #555;border-top:4px solid var(--swatch);color:#fff;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:8px}.overlay-theme-grid button.selected{outline:2px solid var(--swatch-secondary)}.overlay-theme-grid small{color:#ccc;font-size:11px}.overlay-style-preview{width:100%;height:280px;border:1px solid #555;background:repeating-conic-gradient(#333 0 25%,#292929 0 50%) 0/24px 24px}.overlay-customize .overlay-style-library .overlay-settings{margin:20px 0}@media(max-width:600px){.overlay-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.overlay-style-preview{height:350px}

#screen-text{display:block;width:100%;box-sizing:border-box;font:13px Consolas,monospace;margin:10px 0 20px;resize:vertical}#screen-source{margin:12px 20px}#screen-summary{max-height:600px;overflow:auto}#screen-summary p{line-height:1.5}#screen-summary .automation-table{font-size:13px}

#widget-link{display:block;width:95%;margin:12px 0 18px}#widget-profile{width:100px;margin:12px 20px}.panel details>summary{cursor:pointer;color:#20aed1;margin:18px 0}.panel details{border:1px solid #555;padding:12px;margin:18px 0}#screen-summary .automation-table td:last-child{overflow-wrap:anywhere}

.migration-simple{max-width:1000px}.migration-simple>button{margin:12px 0;font-size:16px;padding:12px 28px}.migration-progress-heading{display:flex;justify-content:space-between;gap:20px;margin:14px 0 8px}#migration-bar{width:100%;height:20px;accent-color:#20aed1}#migration-result{line-height:1.6;overflow-wrap:anywhere}.migration-simple details{margin-top:24px}

.automation-icon-tools .icon-button{display:inline-flex;align-items:center;justify-content:center;padding:3px;width:26px;height:28px;border:0;background:transparent;color:#20b6d5}.icon-button svg{width:19px;height:19px}.rail-icon svg{width:24px;height:24px;display:block}.overlay-url-row input[readonly]{cursor:copy}

.gift-grid-layout .overlay-card[data-kind=giftjar]{grid-column:1/-1}.overlay-card[data-kind=giftjar] iframe{height:600px}

.action-detail-table{min-width:1100px;font-size:13px}.action-detail-table th,.action-detail-table td{padding:8px 7px}.action-detail-table th{white-space:nowrap!important}.action-detail-table .action-feature-cell{text-align:center}.action-feature-mark{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border:1px solid #444;border-radius:2px;color:#20b6d5;font-weight:bold;font-size:14px;line-height:1}.action-feature-mark.is-pending{color:#ffbf59;border-color:#ad823e}.action-description{min-width:350px;max-width:650px;overflow-wrap:anywhere}.action-detail-table td:nth-child(2){min-width:130px}.action-detail-table td:nth-child(3),.action-detail-table td:nth-child(4),.action-detail-table td:nth-child(5){white-space:nowrap}

#ui-language{max-width:155px;min-width:100px;margin-left:8px;font-size:12px;padding:7px;background:#292929;color:white;border:1px solid #555;border-radius:5px}.tts-card input[type=search]{width:100%;margin:8px 0;padding:8px}#ui-language option{background:#292929}@media(max-width:1100px){#ui-language{max-width:120px}}
#ui-language[hidden]{display:none}#ui-language-control{position:relative;margin-left:8px;flex-shrink:0}.language-trigger{display:flex;align-items:center;gap:8px;min-width:145px;padding:8px 10px;font-size:12px;background:#292929;border:1px solid #555;border-radius:5px;color:white}.language-flag{width:22px;height:16px;object-fit:contain;flex-shrink:0}.language-arrow{margin-left:auto}.language-menu{position:absolute;right:0;top:calc(100% + 6px);width:230px;max-height:min(75vh,580px);overflow:auto;padding:5px;background:#292929;border:1px solid #666;border-radius:7px;box-shadow:0 8px 24px #0009;z-index:1000}.language-menu[hidden]{display:none}.language-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;text-align:left;background:transparent;color:#eee;border-radius:4px}.language-menu button:hover,.language-menu button:focus-visible{background:#414141;outline:2px solid #20b7d9;outline-offset:-2px}.language-menu button[aria-selected=true]{background:#3a3a3a;font-weight:bold}@media(max-width:1100px){.language-trigger{min-width:120px}}

/* Keep the whole rail button inside the narrow sidebar, including while scrolling. */
.app-sidebar nav.app-rail{box-sizing:border-box;flex:0 0 64px;width:64px;min-width:64px;min-height:0;height:100%;margin:0;padding:8px 3px;gap:5px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;touch-action:pan-y}.app-sidebar nav.app-rail::-webkit-scrollbar{width:0;height:0}.app-sidebar nav.app-rail button.rail-item{box-sizing:border-box;position:relative;flex:0 0 auto;width:100%;min-width:0;min-height:68px;margin:0;padding:4px 0;cursor:pointer;touch-action:manipulation;user-select:none}.app-sidebar nav.app-rail button.rail-item>*{pointer-events:none}.app-sidebar nav.app-rail button.rail-item>span:last-child{max-width:100%;white-space:normal;overflow-wrap:anywhere}.app-sidebar nav.app-rail button.rail-item:hover .rail-icon{box-shadow:0 0 0 2px #ffffff38}.app-sidebar nav.app-rail button.rail-item:focus-visible{outline:2px solid #56c9ec;outline-offset:-2px}#systems-tab{--icon-color:#dfa94e}@media(max-width:600px){body[data-section=rules] .app-sidebar nav.app-rail,body[data-section=events] .app-sidebar nav.app-rail,body[data-section=tts] .app-sidebar nav.app-rail{flex:1 1 100%;width:100%;min-width:0;height:auto;overflow-x:auto;overflow-y:hidden;touch-action:pan-x}.app-sidebar nav.app-rail button.rail-item{min-width:56px}body[data-section=rules] .app-sidebar nav.app-rail button.rail-item,body[data-section=events] .app-sidebar nav.app-rail button.rail-item,body[data-section=tts] .app-sidebar nav.app-rail button.rail-item{width:62px;flex:0 0 62px}}

.keystroke-toasts{position:fixed;right:22px;top:80px;width:min(340px,calc(100vw - 30px));z-index:140;display:flex;flex-direction:column;gap:8px;pointer-events:none}.keystroke-toast{padding:13px 16px;border-radius:5px;background:#976000;color:#fff;box-shadow:0 3px 15px #0007;line-height:1.4}.keystroke-toast strong{display:block;margin-bottom:4px}.keystroke-toast.executed{background:#347947}.keystroke-toast.failed,.keystroke-toast.stopped{background:#922e40}
.overlay-frame-wrap{position:relative}.overlay-idle-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:40px 80px;color:#bfc4d4;font-size:14px;pointer-events:none;background:radial-gradient(ellipse,#ffffff06,transparent 65%)}
.live-event-item{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px}.live-event-item>.live-event-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;grid-row:1 / span 2}.live-event-item>strong,.live-event-item>p{grid-column:2;overflow-wrap:anywhere}.live-event-links{display:grid;gap:8px;margin:12px 0}.live-event-links input{min-width:0;flex:1;font-size:12px}.live-event-links .row{flex-wrap:wrap}
.live-event-filter{border:1px solid #743346;border-radius:10px;padding:14px;margin:12px 0}.live-event-filter label{display:inline-flex;align-items:center;gap:6px;font-size:13px}.live-event-filter .row{gap:12px;flex-wrap:wrap}.live-event-filter input[type=checkbox]{width:18px;height:18px}.live-event-filter p{font-size:12px;color:#bdbdc8}
.broadcast-log-dialog{width:min(1100px,96vw);max-width:96vw;max-height:92vh;padding:18px;background:#202023;color:#fff;border:1px solid #743346;border-radius:12px}.broadcast-log-dialog .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.broadcast-log-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.broadcast-log-toolbar input{flex:1;min-width:230px}.broadcast-log-toolbar input,.broadcast-log-toolbar select{padding:9px;border:1px solid #555;background:#29292c;color:#fff;border-radius:6px}.broadcast-log-toolbar a{display:inline-flex;align-items:center;padding:8px 12px;border:1px solid #555;border-radius:6px;text-decoration:none;color:#fff}.broadcast-log-summary,.broadcast-log-status{font-size:12px;color:#bbc4ce;margin:7px 0}.broadcast-log-table-wrap{max-height:48vh;overflow:auto;border:1px solid #444;border-radius:7px}.broadcast-log-dialog table{margin:0;table-layout:fixed;font-size:12px}.broadcast-log-dialog th,.broadcast-log-dialog td{padding:8px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-bottom:1px solid #414148}.broadcast-log-dialog th{position:sticky;top:0;background:#303036;z-index:1}.broadcast-log-dialog th:nth-child(1){width:155px}.broadcast-log-dialog th:nth-child(2){width:75px}.broadcast-log-dialog th:nth-child(3){width:210px}.broadcast-log-dialog tbody tr{cursor:pointer;color:#fff;font-weight:normal}.broadcast-log-dialog tr.selected{background:#4c2638}.broadcast-log-dialog tr:focus{outline:1px solid #f72c79;outline-offset:-1px}.broadcast-log-pager{display:flex;gap:12px;justify-content:center;align-items:center;margin:12px 0;font-size:12px}.broadcast-log-detail{white-space:pre-wrap;overflow-wrap:anywhere;max-height:110px;overflow:auto;background:#161619;padding:10px;border-radius:7px;font:12px/1.5 Arial}.broadcast-log-dialog>.muted{font-size:11px;margin-bottom:0}
.broadcast-log-toolbar a[hidden]{display:none}

.overlay-card[data-kind="toplikers"] .overlay-frame-wrap{max-width:800px}.overlay-card[data-kind="toplikers"] iframe{width:100%;height:auto;aspect-ratio:800 / 350}

.connection-health{width:118px;flex:none;display:grid;gap:3px;padding:3px 7px;border:1px solid #48484a;border-radius:6px;background:#202023}.health-trace{display:flex;align-items:center;gap:5px;color:#f25566;height:18px}.health-trace>span{font-size:9px;width:25px;flex:none;color:#c9c9ce}.health-trace svg{width:72px;height:18px;overflow:hidden}.health-trace path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}.health-beat{display:none}.health-trace.healthy{color:#43ee92}.healthy .health-flat{display:none}.healthy .health-beat{display:block;stroke-dasharray:150;animation:connectionPulse 1.6s linear infinite;filter:drop-shadow(0 0 2px #43ee9255)}@keyframes connectionPulse{0%{stroke-dashoffset:150}85%,100%{stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.healthy .health-beat{animation:none}}.nav-search-wrap{min-width:60px;flex-shrink:1}

.brand-lockup{display:flex;align-items:center;gap:9px;min-width:0}.brand-lockup img{flex:0 0 32px;border-radius:9px}.brand-lockup strong{font-size:16px;color:#f4f6ff;letter-spacing:-.4px}.sidebar-foot small{display:block;margin-top:8px}

.app-logo{overflow:hidden;background:#101421;display:grid;place-items:center}.app-logo img{display:block;width:100%;height:100%;object-fit:contain;animation:brand-orbit 12s linear infinite}.app-copyright{border-top:1px solid #393940;padding:16px 0;text-align:center;color:var(--muted);font-size:12px}@keyframes brand-orbit{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.app-logo img{animation:none}}

.setup-section:has(.home-welcome){max-width:1200px}.home-welcome{display:flex;align-items:center;gap:28px;padding:8px 0 28px;margin-bottom:28px;border-bottom:1px solid #51404b}.home-welcome>div{flex:1}.home-eyebrow{font-size:12px;color:#9addf4;letter-spacing:.06em}.home-welcome h2{font-size:30px;color:#f8f6fb;margin:12px 0}.home-welcome p{max-width:760px;line-height:1.7;color:#cbc8d2;margin:0}.home-welcome img{flex-shrink:0;filter:drop-shadow(0 6px 24px #724fe544)}.home-features{margin-top:30px}.home-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.home-feature{display:flex;gap:16px;padding:22px;border:1px solid #483c4a;border-radius:12px;background:linear-gradient(135deg,#222b34,#25232c)}.home-feature-icon{width:52px;height:52px;flex-shrink:0;display:grid;place-items:center;border-radius:14px;background:#1b404a;color:#65d9e9}.home-feature-icon svg{width:30px;height:30px}.home-feature-icon.tone-1{background:#3a2c52;color:#bba1ff}.home-feature-icon.tone-2{background:#4b303e;color:#ff9cbe}.home-feature-icon.tone-3{background:#433c24;color:#f1d17a}.home-feature h3{font-size:16px;margin:0 0 9px;color:#faf8ff}.home-feature p{font-size:14px;line-height:1.65;color:#c4c5cf;margin:0 0 14px}.home-feature button{font-size:12px;padding:7px 12px}@media(max-width:900px){.home-feature-grid{grid-template-columns:1fr}.home-welcome{gap:16px}.home-welcome h2{font-size:24px}.home-welcome img{width:76px;height:76px}}@media(max-width:520px){.home-welcome{align-items:flex-start}.home-welcome img{width:52px;height:52px}.home-feature{padding:16px;gap:12px}}

.desktop-download{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border:1px solid #62616a;border-radius:5px;background:#25252a;color:#f7f7fa;text-decoration:none;font-size:12px;font-weight:600;white-space:nowrap}.desktop-download:hover{border-color:#39cadb;background:#30323a}.desktop-download:focus-visible{outline:2px solid #39cadb;outline-offset:3px}.nav-search-wrap{flex:1;min-width:70px;max-width:244px}@media(max-width:1050px){.top-actions{display:none}}@media(max-width:650px){.nav-search-wrap{display:none}.desktop-download{margin-left:auto;white-space:normal;max-width:170px;font-size:11px;padding:7px 9px}.app-topbar .brand{width:34px}.connect-pill{white-space:normal;max-width:150px}}

/* Keep blank iframe documents out of the gallery until their first rendered snapshot. */
.overlay-frame-wrap iframe,.overlay-style-preview{color-scheme:dark;background:#202020}.overlay-frame-wrap iframe{pointer-events:none}.overlay-frame-wrap{contain:paint;isolation:isolate}.overlay-frame-wrap iframe[data-preview-ready="false"],.overlay-style-preview[data-preview-ready="false"]{opacity:0;pointer-events:none}.overlay-frame-wrap[data-preview-loading="true"]::before{content:"Önizleme hazırlanıyor…";position:absolute;inset:0;display:grid;place-items:center;color:#aab3c7;font-size:13px;pointer-events:none}
/* Brand theme changes colour only; existing layout and overlay themes are independent. */
:root:not([data-app-theme=classic]){--brand-cyan:#12d9ec;--brand-blue:#245cfc;--brand-violet:#b532ed;--brand-bg:#090e22;--brand-surface:#12182e;--brand-line:#303756;--brand-text:#edf2ff;--brand-muted:#aeb9d3;color-scheme:dark}
:root:not([data-app-theme=classic]) body{background:var(--brand-bg);color:var(--brand-text)}
:root:not([data-app-theme=classic]) .app-sidebar,:root:not([data-app-theme=classic]) .app-topbar{background:#0c1228;border-color:var(--brand-line)}
:root:not([data-app-theme=classic]) :is(.panel,.tts-card,.system-panel,dialog,.overlay-card,.system-visual-options,.membership-status){background:var(--brand-surface);border-color:var(--brand-line);color:var(--brand-text)}
:root:not([data-app-theme=classic]) :is(input,select,textarea){background-color:#0a1025;color:var(--brand-text);border-color:#3a4569}
:root:not([data-app-theme=classic]) :is(h2,h3,a,.tts-link,.submenu-heading,details>summary){color:var(--brand-cyan)}
:root:not([data-app-theme=classic]) :is(button,.file-button){background-color:var(--brand-blue);border-color:var(--brand-blue);color:#fff}
:root:not([data-app-theme=classic]) :is(button.secondary,.secondary,.app-submenus button){background-color:#18213d;border-color:#3a4569;color:#e4edff}
:root:not([data-app-theme=classic]) .rail-item{--icon-color:var(--brand-cyan)!important;background:transparent;border-color:transparent;color:var(--brand-muted)}
:root:not([data-app-theme=classic]) .rail-icon{background:#18213a;color:var(--brand-cyan)}
:root:not([data-app-theme=classic]) .rail-item.selected .rail-icon{background:var(--brand-blue);color:#fff}
:root:not([data-app-theme=classic]) .rail-item:hover .rail-icon{background:#253052;color:var(--brand-cyan)}
:root:not([data-app-theme=classic]) .app-submenus button.selected{background:#25204c;color:#e9d6ff;border-color:var(--brand-violet)}
:root:not([data-app-theme=classic]) .system-scene-choice{background:#10162d;border-color:#343c60}
:root:not([data-app-theme=classic]) .system-scene-choice[aria-pressed=true]{border-color:var(--brand-cyan);box-shadow:0 0 0 1px var(--brand-cyan)}
:root:not([data-app-theme=classic]) .system-visual-options summary{color:var(--brand-cyan)}
:root:not([data-app-theme=classic]) :focus-visible{outline:2px solid var(--brand-cyan);outline-offset:3px}
.app-theme-control{display:flex;flex-direction:column;gap:6px;margin-top:15px;font-size:12px;color:#aeb9d3}.app-theme-control select{width:100%;font:inherit;padding:7px;border-radius:6px}
.portable-download{display:inline-flex;align-items:center;text-decoration:none;font-size:12px;padding:9px 11px;border:1px solid #39486b;border-radius:6px;white-space:nowrap;color:#b6c8e5;background:#15213a}.portable-download:hover{border-color:#56d8e9;color:#fff}@media(max-width:850px){.portable-download{display:none}}
/* Editorial home and restrained application chrome. */
:root{--green:#55778b;--line:#343b45}body{background:#171a1f;color:#e7ebf0}.app-topbar,.app-sidebar{background:#20242b;border-color:#343a44}.app-submenus{background:#1d2127}.rail-item{--icon-color:#bbc7d0!important}.rail-icon{background:transparent!important;box-shadow:none!important;border-radius:9px;color:#c5d2dd}.rail-icon img{width:36px;height:36px;object-fit:contain;display:block}.rail-item.selected .rail-icon{background:#34414e!important;outline:1px solid #506678}.rail-item:hover .rail-icon{background:#2c343e!important}.rail-item.selected{color:#f4f6f8}.app-submenus button.selected{background:#35424e!important;border-color:#4d5f6d!important}.app-topbar .app-logo{background:transparent}.app-theme-control{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0 16px 0 0;font-size:12px;color:#aeb7c2;flex:none}.app-theme-control select{width:124px;font:inherit;min-height:34px;padding:6px 9px;background:#282e37;border:1px solid #414b58;color:#e9edf2;border-radius:6px}.app-topbar .nav-search-wrap{flex:0 1 245px}.app-topbar .top-actions{margin-left:auto}.app-theme-control:focus-within{color:#e4edf5}
:root:not([data-app-theme=classic]){--brand-bg:#171b23;--brand-surface:#202631;--brand-line:#394352;--brand-cyan:#9dc8d5;--brand-blue:#3f5c75;--brand-violet:#776a94;--brand-muted:#b0becb;--brand-text:#ebf0f7}:root:not([data-app-theme=classic]) :is(h2,h3,a,.submenu-heading,details>summary){color:#d6e4ed}:root:not([data-app-theme=classic]) .rail-item.selected .rail-icon{background:#354655!important;color:#fff}:root:not([data-app-theme=classic]) .rail-icon{background:transparent;color:#bbd2df}:root:not([data-app-theme=classic]) .app-topbar,:root:not([data-app-theme=classic]) .app-sidebar{background:#202630}
body .panel,body .setup-section{border-color:#343d48}body .panel h2,body .panel h3{color:#d8e4ed}body .app-rail button{border:0}body .home-welcome{position:relative;isolation:isolate;overflow:hidden;min-height:240px;box-sizing:border-box;padding:38px 36px;margin:0 0 30px;border:1px solid #3b4550;border-radius:12px;background:#171d24;display:flex;align-items:center}.home-welcome .home-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:none;z-index:-2;opacity:.76}.home-welcome:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#141b24f5 0%,#151b25dd 32%,#151b2544 70%,transparent);z-index:-1}.home-welcome-copy{max-width:600px}.home-welcome .home-eyebrow{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#a8bac8}.home-welcome h2{font-size:32px;font-weight:650;letter-spacing:-.025em;line-height:1.2;margin:15px 0;color:#f3f6fa!important}.home-welcome p{font-size:15px;line-height:1.7;color:#c3ced9;max-width:470px}.home-guide-link{display:inline-flex;gap:14px;margin-top:22px;font-size:13px;color:#d6e2eb!important;text-decoration:none;border-bottom:1px solid #748597;padding-bottom:4px}.home-features{margin:30px 0 36px}.home-features>h2,.home-section-heading h2,.home-guide h2{font-size:20px;font-weight:600;letter-spacing:-.01em;color:#e9eff5!important}.home-features>.muted{font-size:13px;color:#a7b0bc}.home-feature-grid{gap:0 30px;margin-top:20px;border-top:1px solid #343d48}.home-feature{background:transparent;border:0;border-bottom:1px solid #343d48;border-radius:0;box-shadow:none;padding:22px 0;gap:18px;align-items:flex-start;min-height:145px;box-sizing:border-box}.home-feature-icon{width:64px;height:64px;background:transparent!important;border-radius:0;display:flex;align-items:center;justify-content:center}.home-feature-icon img{width:58px;height:58px;object-fit:contain}.home-feature h3{font-size:15px;font-weight:600;color:#e3eaf2!important;margin:0 0 7px}.home-feature p{font-size:13px;color:#aeb9c5;line-height:1.7;margin-bottom:12px;max-width:440px}.home-feature button{background:transparent!important;border:0;color:#b6cddd!important;padding:0;font-size:12px;border-radius:0}.home-feature button:hover{text-decoration:underline}.home-news{padding-top:8px;margin-top:12px}.home-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:18px}.home-section-heading>span{font-size:12px;color:#98a6b3}.home-news-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.home-story{background:#1d232b;border:1px solid #37404d;border-radius:10px;overflow:hidden}.home-story>img{display:block;width:100%;height:175px;object-fit:cover}.home-story>div{padding:22px}.home-story-label{font-size:10px;letter-spacing:.12em;font-weight:600;color:#9aafc0}.home-story h3{font-size:20px;line-height:1.3;margin:12px 0;color:#e8eff6!important;font-weight:600}.home-story p{font-size:13px;line-height:1.8;color:#b2becb;margin:0 0 18px}.home-story button{background:#303e4c!important;border:1px solid #4a5a69!important;color:#edf3f8!important;font-size:12px;padding:8px 12px}.home-guide{margin-top:32px;padding:24px;border:1px solid #37404d;background:#1c222a;border-radius:10px;scroll-margin-top:90px}.home-guide ol{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:0;list-style:none;counter-reset:guide;margin:24px 0 4px}.home-guide li{counter-increment:guide;position:relative;padding-left:32px}.home-guide li:before{content:counter(guide,decimal-leading-zero);position:absolute;left:0;top:1px;font-size:13px;color:#8ca3b6}.home-guide strong{font-size:13px;display:block;color:#e2eaf1}.home-guide li span{display:block;margin-top:9px;font-size:12px;line-height:1.7;color:#acb8c5}
@media(max-width:1000px){.home-welcome h2{font-size:27px}.app-theme-control{margin-right:6px}.app-theme-control>select{width:108px}.home-guide ol{grid-template-columns:1fr;gap:20px}.home-section-heading{display:block}.home-section-heading>span{display:block;margin-top:8px}}@media(max-width:750px){.home-news-grid,.home-feature-grid{grid-template-columns:1fr}.home-welcome{padding:26px 22px!important}.home-welcome-copy{max-width:80%}.home-welcome h2{font-size:25px}.app-theme-control{font-size:0;gap:0}.app-theme-control select{font-size:11px;width:95px}.home-story>img{height:160px}.home-feature{min-height:0}.home-welcome:after{background:#151c25bb}}
body[data-section=home] .app-submenus{display:none}body[data-section=home] .app-sidebar{width:74px}body[data-section=home] main{margin-left:94px}body[data-section=home] .setup-section:has(.home-welcome){max-width:1200px;margin:0 auto;padding:24px 28px;border-color:#39414b}body[data-section=home] main>footer{display:none}@media(max-width:600px){body[data-section=home] main{margin-left:0}}
/* Theme-specific rail art and bounded welcome artwork. */
html[data-app-theme=classic] .rail-brand{display:none}
html[data-app-theme=brand] .rail-classic{display:none}
html[data-app-theme=classic] body .app-rail .rail-icon{--rail-tile:#352e36;background:var(--rail-tile)!important;border-radius:14px;width:44px;height:44px;color:var(--icon-color)!important}
.rail-classic{display:grid;place-items:center;width:100%;height:100%}
.rail-classic svg{width:23px;height:23px;stroke-width:2.1}
html[data-app-theme=classic] body .app-rail button.selected .rail-icon{--rail-tile:#ff4d7d;background:var(--rail-tile)!important;color:white!important;box-shadow:none}
body .home-welcome{width:100%;max-width:100%;min-width:0;display:block}
body .home-welcome>img.home-cover{position:absolute;inset:0;display:block;width:100%;max-width:100%;height:100%;max-height:100%;object-fit:cover;flex:none}
body .home-welcome>.home-welcome-copy{position:relative;z-index:1;width:min(100%,600px);min-width:0;box-sizing:border-box}
html[data-app-theme=classic] body .app-rail .rail-icon{color:var(--rail-ink)!important}html[data-app-theme=classic] body .app-rail button.selected .rail-icon{color:#fff!important}
/* Classic palette: warm charcoal, rose navigation, cyan headings. */
html[data-app-theme=classic]{--green:#e83162;--line:#83354c}
html[data-app-theme=classic] body{background:#1e1e1e;color:#f2edf0}
html[data-app-theme=classic] :is(.app-topbar,.app-sidebar){background:#2d2a2c;border-color:#8e3450}
html[data-app-theme=classic] .app-submenus{background:#292628}
html[data-app-theme=classic] body :is(.panel,.setup-section,.overlay-card){background:#222;border-color:#81354b}
html[data-app-theme=classic] body :is(.panel h2,.panel h3,.overlay-card h3){color:#53c0e8}
html[data-app-theme=classic] :is(.submenu-heading,.overlay-group-heading[aria-expanded=true]){background:#d63258;color:#fff}
html[data-app-theme=classic] .app-submenus button.selected{background:#cf2e53!important;border-color:#f0527a!important}
html[data-app-theme=classic] body .home-welcome{border-color:#8d4059;box-shadow:0 10px 30px #0003}
html[data-app-theme=classic] .home-welcome:after{background:linear-gradient(90deg,#211c24f5,#261d28db 32%,#261d2840 70%,transparent)}
html[data-app-theme=classic] body :is(.home-feature-grid,.home-feature){border-color:#50323e}
html[data-app-theme=classic] body :is(.home-story,.home-guide){background:#272329;border-color:#764054}
html[data-app-theme=classic] body .home-story button{background:#c92f55!important;border-color:#ee577d!important}
html[data-app-theme=classic] body .home-feature button{color:#65c9ed!important}
html[data-app-theme=classic] .home-story-label{color:#ff8dad}
html[data-app-theme=classic] .app-rail .rail-icon{outline:none}
html[data-app-theme=classic] .app-rail button:hover .rail-icon{box-shadow:0 0 0 1px var(--rail-ink)!important}
.systems-choice{position:relative;overflow:hidden;padding:0 0 20px!important;display:flex;flex-direction:column}
.systems-choice .system-card-art{display:block;width:100%;height:170px;object-fit:cover;border-bottom:1px solid #ffffff18}
.systems-choice :is(h3,p,button){margin-left:22px!important;margin-right:22px!important}
.systems-choice h3{margin-top:20px!important;font-size:17px}
.systems-choice p{flex:1;line-height:1.7}
.systems-choice button{margin-top:12px!important;width:auto!important}
html[data-app-theme=classic] .systems-choice{background:#272329;border-color:#7d3a51!important}
html[data-app-theme=classic] .systems-choice button{background:#c92f55!important;border-color:#e34a74!important}
.live-event-item{animation:feed-arrive .25s ease-out both}.live-event-item .live-event-detail{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.live-event-inline-gift{width:30px;height:30px;object-fit:contain;float:right}.live-event-filter small{display:block;margin-top:6px}@keyframes feed-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.live-event-item{animation:none}}

.desktop-download-icon{display:inline-grid;place-items:center;color:#48e594;background:#123a2b;border:1px solid #2e9660;border-radius:6px;width:25px;height:25px;margin-right:9px;font-size:20px;line-height:1}.desktop-download:hover .desktop-download-icon{background:#19563b}

.discord-help{display:flex;align-items:flex-start;gap:9px;padding:12px 8px;color:#eef3ff;text-decoration:none;font:13px system-ui;border-radius:8px}.discord-help svg{color:#7289ff;flex:none}.discord-help span{display:flex;flex-direction:column;gap:4px}.discord-help small{color:#70c8f1}.discord-help:hover{background:#5865f222}.discord-help:focus-visible{outline:2px solid #7289ff;outline-offset:3px}

#desktop-download.desktop-download{background:#138544!important;border:1px solid #47e88e!important;color:#fff!important;gap:8px;box-shadow:0 3px 14px #13a85b26}#desktop-download.desktop-download:hover{background:#0c6d36!important;border-color:#7affae!important}#desktop-download .desktop-download-icon{color:#b9ffd4;background:#ffffff15;border-color:#ffffff45;margin-right:0}
.home-discord{position:relative;overflow:hidden;display:flex;align-items:center;gap:24px;margin:32px 0;padding:28px;border:1px solid #6570d5;border-radius:18px;background:radial-gradient(ellipse at 85% 0%,#7176ed38,transparent 65%),linear-gradient(125deg,#1a213b,#262547);box-shadow:0 12px 32px #080d2526}.home-discord-symbol{display:grid;place-items:center;flex:none;width:78px;height:78px;border-radius:22px;background:linear-gradient(145deg,#7b83ff,#5865f2);box-shadow:0 8px 22px #5865f24d;transform:rotate(-5deg)}.home-discord-symbol svg{width:44px;height:44px;color:white;transform:rotate(5deg)}.home-discord-copy{flex:1;min-width:0}.home-discord-eyebrow{font:700 11px system-ui;letter-spacing:1.8px;color:#b8bfff}.home-discord h2{margin:8px 0!important;color:#fff!important;font-size:24px}.home-discord p{color:#d5d9ef;margin:0;line-height:1.6}.home-discord-join{display:inline-flex;align-items:center;gap:18px;padding:13px 18px;background:#5865f2;color:white!important;text-decoration:none;border:1px solid #959eff;border-radius:10px;font-weight:700;white-space:nowrap}.home-discord-join:hover{background:#6d78ff}.home-discord-join:focus-visible{outline:3px solid #c0c6ff;outline-offset:4px}.home-connection-title{margin-top:34px!important}.sidebar-foot{margin-top:auto}.app-submenus>.discord-help{margin-top:auto}@media(max-width:760px){.home-discord{flex-wrap:wrap;padding:22px;gap:16px}.home-discord-symbol{width:58px;height:58px;border-radius:16px}.home-discord-symbol svg{width:34px;height:34px}.home-discord h2{font-size:20px}.home-discord-join{width:100%;justify-content:center}}

/* Compatibility for a previously cached fog editor; no empty preview area. */
#systems-view iframe[title="Pus perdesi önizlemesi"]{display:none!important}
#systems-view button{min-height:40px;padding:10px 16px;border:1px solid #6597b5!important;border-radius:8px!important;background:#305d79!important;color:#fff!important;font-weight:650!important;box-shadow:0 2px 5px #0002;transition:background .12s,border-color .12s}#systems-view button:hover:not(:disabled){background:#3c7598!important;border-color:#9cd9fa!important}#systems-view button:focus-visible{outline:3px solid #77d8ff!important;outline-offset:3px}#systems-view button:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}#systems-view button[data-system-test]{background:#6750aa!important;border-color:#ad96e7!important}#systems-view button[data-system-test]:hover:not(:disabled){background:#8063c9!important}#systems-view button.system-save-button{background:#197347!important;border-color:#56c48c!important}#systems-view button.system-save-button:hover:not(:disabled){background:#218857!important}#systems-view button.system-destructive-button{background:#873c50!important;border-color:#dc849b!important}#systems-view .racon-video-grid button,#systems-view .racon-frame-choices button{white-space:normal}#systems-view .system-settings-menu summary{border-bottom:1px solid #526b85;color:#b9edff!important;font-size:16px}#systems-view .system-external-tools{gap:10px}

/* Shared navigation rhythm and quieter gallery chrome. */
.app-sidebar .rail-icon{width:42px;height:42px;border-radius:12px!important;box-shadow:none!important}.app-sidebar .rail-classic svg{width:22px;height:22px;stroke-width:1.7}.app-sidebar .rail-item{position:relative;gap:7px;border-radius:12px;padding-top:8px;padding-bottom:9px}.app-sidebar .rail-item>span:last-child{font-size:10px;font-weight:500;letter-spacing:.01em}.app-sidebar .rail-item.selected:before{content:'';position:absolute;left:-9px;top:17px;width:3px;height:24px;border-radius:3px;background:var(--rail-ink,#ec729d)}html[data-app-theme=classic] .rail-item.selected .rail-icon{background:#ffffff12!important;border:1px solid #ffffff25!important;color:var(--rail-ink)!important}html[data-app-theme=classic] .rail-icon{background:#ffffff05!important;border:1px solid #ffffff09!important}.overlay-gallery{gap:24px!important}.overlay-gallery .overlay-card{border:1px solid #ffffff16!important;border-radius:14px!important;padding:22px!important;background:#20252d!important;box-shadow:0 5px 20px #0000000d}.overlay-gallery .overlay-card h3{font-weight:600;font-size:16px;color:#e1e9f2!important;margin:0 0 10px}.overlay-gallery .overlay-card p{color:#aebac9;font-size:12px;line-height:1.65}.overlay-gallery .overlay-card iframe{border:1px solid #ffffff10!important;border-radius:11px;background:#151b24!important}.overlay-gallery .overlay-card input{border-radius:7px!important;background:#151b24!important;border:1px solid #394353!important;font-size:11px!important;color:#b7c7d9!important}.overlay-gallery .overlay-card button{border-radius:7px!important;background:#304458!important;border:1px solid #4e637b!important;color:#edf3fa!important;font-weight:500;font-size:12px;padding:9px 12px}.overlay-gallery .overlay-card button:hover{background:#3c5671!important}
/* Gül Pembesi: complete panel theme, independent of broadcast overlay colours. */
html[data-app-theme=rose]{--brand-bg:#1c161e;--brand-surface:#2a212d;--brand-line:#594053;--brand-text:#fff1f6;--brand-muted:#d5becb;--brand-cyan:#f4adc7;--brand-blue:#b96989;--brand-violet:#c98baa;--bg:#1c161e;--card:#2a212d;--line:#594053;--muted:#d5becb;--green:#ec9cba;--rail-tile:#362536;color-scheme:dark}
html[data-app-theme=rose] body{background:#1c161e!important;color:#f6eaf0!important}html[data-app-theme=rose] :is(.app-topbar,.app-sidebar){background:#241b27!important;border-color:#513348!important}html[data-app-theme=rose] .app-submenus{background:#281d2b!important;border-color:#513348!important}html[data-app-theme=rose] :is(.panel,.setup-section,.tts-card,.overlay-card,.system-panel,dialog,.home-story,.home-guide,.rule,.membership-status){background:#2a212d!important;border-color:#594053!important;color:#f6eaf0!important}html[data-app-theme=rose] :is(h2,h3,.submenu-heading){color:#f4b6cf!important}html[data-app-theme=rose] :is(input,select,textarea){background:#211824!important;border-color:#69475e!important;color:#fff1f6!important;accent-color:#eaa4c0}html[data-app-theme=rose] input::placeholder,html[data-app-theme=rose] textarea::placeholder{color:#bda4b5!important}html[data-app-theme=rose] button{background:#684459!important;border-color:#a7748e!important;color:#fff2f7!important}html[data-app-theme=rose] button:hover:not(:disabled){background:#7e536b!important}html[data-app-theme=rose] :is(button,input,select,textarea,a):focus-visible{outline:2px solid #f5aacb!important;outline-offset:3px}html[data-app-theme=rose] .rail-brand{display:none!important}html[data-app-theme=rose] .rail-classic{display:grid!important}html[data-app-theme=rose] .rail-icon{--rail-ink:#e6a8c3!important;color:#e6a8c3!important;background:#3a293a!important;border:1px solid #67445e!important}html[data-app-theme=rose] .rail-item{color:#dec6d5!important}html[data-app-theme=rose] .rail-item.selected .rail-icon{color:#fff5fa!important;background:#a55f80!important;border-color:#e4a2c2!important}html[data-app-theme=rose] .rail-item.selected:before{background:#f4aacb!important}html[data-app-theme=rose] .rail-item.selected{color:#fff1f7!important}html[data-app-theme=rose] .app-submenus button{background:transparent!important;border-color:transparent!important;color:#dac2d1!important}html[data-app-theme=rose] .app-submenus button.selected{background:#513348!important;color:#ffd9eb!important;border-color:#8a5873!important}html[data-app-theme=rose] :is(.muted,.overlay-card p,.home-feature p,.home-story p,.home-guide li span){color:#d0b7c7!important}html[data-app-theme=rose] .home-welcome:after{background:linear-gradient(90deg,#251827f5,#2e1d2bca 45%,#281b2e33)!important}html[data-app-theme=rose] .home-feature{border-color:#594053!important}html[data-app-theme=rose] .home-feature h3{color:#f6dbe9!important}html[data-app-theme=rose] .home-feature button{color:#efacc9!important}html[data-app-theme=rose] .system-settings-menu>summary{background:#3d293d!important;color:#ffd1e5!important;border-color:#69475e!important}html[data-app-theme=rose] .home-discord{background:linear-gradient(120deg,#38233e,#3d2b51)!important;border-color:#9b6a99!important}html[data-app-theme=rose] .overlay-card iframe{background:#211824!important}html[data-app-theme=rose] #systems-view button{background:#734a63!important;border-color:#ba84a1!important}html[data-app-theme=rose] #systems-view button.system-save-button{background:#386d59!important;border-color:#79b79d!important}html[data-app-theme=rose] #systems-view button.system-destructive-button{background:#8b4059!important;border-color:#dc91ad!important}html[data-app-theme=rose] #systems-view button[data-system-test]{background:#75558f!important;border-color:#c19bdd!important}html[data-app-theme=rose] .automation-table,html[data-app-theme=rose] .automation-table th,html[data-app-theme=rose] .automation-table td{background:#2b202f!important;border-color:#594053!important;color:#f0dce8!important}html[data-app-theme=rose] .automation-table th{background:#39283c!important;color:#e7bbd3!important}html[data-app-theme=rose] .connection-fields,html[data-app-theme=rose] .profile-pill{border-color:#69475e!important}html[data-app-theme=rose] .home-guide strong{color:#f4d6e6!important}

.home-feature-icon.home-feature-vector{width:52px;height:52px;border:1px solid #ffffff17;border-radius:14px;background:#ffffff04!important;flex:none}.home-feature-vector svg{width:26px;height:26px;color:#aec2d5;stroke-width:1.6}html[data-app-theme=rose] .home-feature-vector{border-color:#8b5c77;background:#56364b33!important}html[data-app-theme=rose] .home-feature-vector svg{color:#f0b4cf}

html[data-app-theme=rose] .app-sidebar .app-rail button.rail-item{background:transparent!important;border:0!important;box-shadow:none!important}html[data-app-theme=rose] .app-sidebar .app-rail button.rail-item:hover{background:#ffffff05!important}html[data-app-theme=rose] .app-sidebar .app-rail button.rail-item.selected .rail-icon{background:#9c5275!important;color:#fff2f8!important;border-color:#edb3d0!important}html[data-app-theme=rose] .home-feature button{background:transparent!important;border:0!important;box-shadow:none!important}html[data-app-theme=rose] .home-feature button:hover{background:transparent!important;color:#ffe1ef!important}

.automation-gift-header .gift-catalog-refresh{background:#246a4c!important;border-color:#63ba8f!important;color:#fff!important;min-height:38px;font-weight:600}.automation-gift-header .gift-catalog-refresh:disabled{opacity:.55}.automation-gift-header{flex-wrap:wrap}.automation-gift-header>p{width:100%;font-size:12px;color:#b9cfdd}

/* Original studio artwork; keep the hero heading on its clear dark side. */
.home-welcome .home-cover{opacity:1;object-position:center}.home-welcome:after{background:linear-gradient(90deg,#100f1bd9 0%,#12111bb0 32%,#15121a18 62%,transparent)}
.home-story>img{height:auto;aspect-ratio:2/1;object-fit:cover;object-position:center}
.systems-choice:is([data-system="single-tv"],[data-system="leader-tv"],[data-system="stream-helper"]) .system-card-art{object-fit:contain;background:#100e18}

#desktop-download .desktop-download-icon{width:22px;height:22px;border:0;border-radius:0;background:transparent!important;color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}#desktop-download .desktop-download-icon svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor}

/* Readable application headings and labels, without changing layout or saved values. */
main h1,main h2,main h3{font-weight:800;letter-spacing:-.015em}main label,main legend{font-weight:600}.rail-item#pk-tab .rail-icon{color:#35e3ee}
