/* TrenLog: isolated component styles, including its native dialogs. */
#trenlog-root{max-width:1400px;margin:auto;padding:48px 32px 64px;color:#effaf7;min-height:600px}
#trenlog-root .tl-app{--tl-bg:#061c20;--tl-card:#0a2428;--tl-input:#03181c;--tl-border:#294448;--tl-text:#f2faf8;--tl-muted:#a8c0c2;--tl-accent:#23e7a2;background:var(--tl-bg);color:var(--tl-text);padding:36px;border:1px solid var(--tl-border);border-radius:24px;font:16px/1.5 Arial,sans-serif;color-scheme:dark}
#trenlog-root .tl-app[data-theme=light]{--tl-bg:#f3f8f6;--tl-card:#fff;--tl-input:#f2f7f5;--tl-border:#b6c9c2;--tl-text:#102a27;--tl-muted:#4c6660;--tl-accent:#007e57;color-scheme:light}
#trenlog-root :where(h1,h2,h3,p,nav,header,article,label,button,input,select,textarea,span,div){box-sizing:border-box;letter-spacing:normal;text-transform:none}
#trenlog-root h1,#trenlog-root h2,#trenlog-root h3{font-family:Arial,sans-serif;color:var(--tl-text);font-weight:700;transform:none;margin:0}
#trenlog-root h1{font-size:clamp(42px,5vw,70px);line-height:1.1;letter-spacing:-3px}
#trenlog-root h1 span{color:var(--tl-accent)}
#trenlog-root h2{font-size:28px;line-height:1.2}
#trenlog-root h3{font-size:15px}
#trenlog-root p{font:inherit;color:inherit;margin:10px 0}
#trenlog-root button{border:1px solid var(--tl-border);border-radius:10px;background:var(--tl-card);color:var(--tl-text);font:600 14px/1.35 Arial,sans-serif;min-height:44px;padding:11px 16px;cursor:pointer;transition:background .18s,border-color .18s;max-width:100%;white-space:normal}
#trenlog-root button:hover{border-color:var(--tl-accent)}
#trenlog-root button:focus-visible,#trenlog-root input:focus-visible,#trenlog-root select:focus-visible,#trenlog-root textarea:focus-visible{outline:2px solid var(--tl-accent);outline-offset:3px}
#trenlog-root button:disabled{opacity:.4;cursor:not-allowed}
#trenlog-root button.tl-primary,#trenlog-root button.selected{background:var(--tl-accent);color:#002318;border-color:var(--tl-accent)}
#trenlog-root [data-theme=light] button.tl-primary,#trenlog-root [data-theme=light] button.selected{color:#fff}
#trenlog-root button.tl-danger{color:#ffb8ae;border-color:#a75549;margin:12px 12px 12px 0}
#trenlog-root [data-theme=light] button.tl-danger{color:#a22b19}
#trenlog-root .tl-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;background:none;position:static;padding:0;border:0}
#trenlog-root .tl-eyebrow{font-size:10px;letter-spacing:2px;color:var(--tl-accent);font-weight:700;margin:0 0 12px}
#trenlog-root .tl-heading>div>p:last-child{color:var(--tl-muted)}
#trenlog-root .tl-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
#trenlog-root .tl-save{font-size:12px;color:var(--tl-muted);padding:12px 0;min-height:42px}
#trenlog-root .tl-dashboard{display:flex;justify-content:space-between;gap:20px;align-items:center;background:var(--tl-input);border:1px solid var(--tl-border);border-radius:14px;padding:18px 22px;margin:12px 0 26px;color:var(--tl-muted);font-size:13px}
#trenlog-root .tl-dashboard b{font-size:27px;color:var(--tl-text);margin-right:6px}
#trenlog-root .tl-dashboard small{display:block;font-size:11px}
#trenlog-root .tl-weeks{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
#trenlog-root .tl-weeks button{padding:12px 0}
#trenlog-root .tl-days{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 28px}
#trenlog-root .tl-days button{padding:12px 4px;font-size:14px}
#trenlog-root .tl-session{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:24px 0}
#trenlog-root .tl-muted{color:var(--tl-muted);font-size:13px}
#trenlog-root .tl-split{display:block;font-size:12px;color:var(--tl-muted);min-width:230px}
#trenlog-root input,#trenlog-root select,#trenlog-root textarea{background:var(--tl-input);color:var(--tl-text);border:1px solid var(--tl-border);border-radius:8px;min-width:0;width:100%;font:16px/1.4 Arial,sans-serif;padding:10px;min-height:44px;margin:5px 0 0;box-shadow:none}
#trenlog-root .tl-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#trenlog-root .tl-card{background:var(--tl-card);padding:20px;border:1px solid var(--tl-border);border-radius:16px;min-width:0}
#trenlog-root .tl-card-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:20px}
#trenlog-root .tl-number{color:var(--tl-accent);font-size:13px;font-weight:bold;padding-top:12px}
#trenlog-root button.tl-exercise-name{flex:1;text-align:left;padding:8px 4px;font-size:17px;border:0;background:none;overflow-wrap:anywhere;min-width:0}
#trenlog-root button.tl-delete{flex-shrink:0;width:32px;min-height:44px;padding:5px;font-size:24px;color:var(--tl-muted);border:0;background:transparent}
#trenlog-root .tl-sets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#trenlog-root .tl-set h3{font-size:10px;letter-spacing:1px;color:var(--tl-accent);margin-bottom:12px}
#trenlog-root .tl-set label{display:block;font-size:11px;color:var(--tl-muted);margin-top:8px}
#trenlog-root .tl-set input{font-size:20px;font-weight:bold;height:48px;padding:8px;width:100%}
#trenlog-root button.tl-add{border-style:dashed;width:100%;padding:18px;margin:20px 0;color:var(--tl-accent)}
#trenlog-root .tl-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 24px}
#trenlog-root .tl-bottom>span{font-size:13px;font-weight:bold}
#trenlog-root .tl-footnote{font-size:12px;color:var(--tl-muted);max-width:760px}
#trenlog-root .tl-modal{width:min(560px,calc(100vw - 24px));max-height:85dvh;overflow:auto;padding:24px;background:var(--tl-bg);color:var(--tl-text);border:1px solid var(--tl-border);border-radius:18px;margin:auto;box-shadow:0 25px 100px #0008}
#trenlog-root .tl-modal::backdrop{background:#000a;backdrop-filter:blur(5px)}
#trenlog-root .tl-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
#trenlog-root .tl-modal h2{font-size:24px}
#trenlog-root .tl-modal .tl-close{font-size:25px;padding:0;width:44px;flex-shrink:0}
#trenlog-root .tl-field{display:block;font-size:13px;margin:14px 0}
#trenlog-root .tl-check{display:flex;gap:10px;align-items:center;font-size:14px;margin:15px 0}
#trenlog-root .tl-check input{width:20px;height:20px;min-height:20px;accent-color:var(--tl-accent);margin:0}
#trenlog-root .tl-list-tools{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--tl-muted)}
#trenlog-root .tl-list-tools span{flex:1}
#trenlog-root .tl-choices{max-height:260px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:6px;margin:10px 0 16px}
#trenlog-root .tl-choices button{text-align:left;flex-shrink:0}
#trenlog-root .tl-wide{width:100%}
#trenlog-root .tl-error{color:#ffb8ae;background:#842c2729;padding:12px;border-radius:8px;font-size:14px}
#trenlog-root [data-theme=light] .tl-error{color:#a22b19}
#trenlog-root .tl-confirm{margin-top:16px;padding:16px;border:1px solid var(--tl-accent);border-radius:12px;font-size:14px}
@media(max-width:950px){#trenlog-root{padding:28px 20px}#trenlog-root .tl-app{padding:24px}#trenlog-root .tl-cards{grid-template-columns:1fr}}
@media(max-width:600px){#trenlog-root{padding:20px 12px 35px}#trenlog-root .tl-app{padding:18px 12px;border-radius:16px}#trenlog-root .tl-heading{display:block}#trenlog-root .tl-heading h1{font-size:48px}#trenlog-root .tl-heading>div>p:last-child{font-size:14px}#trenlog-root .tl-theme{margin-top:10px;font-size:12px}#trenlog-root .tl-eyebrow{font-size:8px;letter-spacing:1.2px}#trenlog-root .tl-toolbar{display:grid;grid-template-columns:1fr 1fr;margin-top:20px}#trenlog-root .tl-toolbar button{padding:10px 5px;font-size:12px}#trenlog-root .tl-dashboard{flex-wrap:wrap;gap:12px;padding:14px;font-size:11px}#trenlog-root .tl-dashboard>span:last-child{width:100%}#trenlog-root .tl-dashboard b{font-size:24px}#trenlog-root .tl-weeks{gap:4px}#trenlog-root .tl-weeks button{font-size:12px;border-radius:7px}#trenlog-root .tl-days{gap:4px}#trenlog-root .tl-days button{font-size:10px;overflow-wrap:anywhere}#trenlog-root .tl-session{display:block}#trenlog-root .tl-session h2{font-size:25px}#trenlog-root .tl-split{margin-top:16px;min-width:0}#trenlog-root .tl-card{padding:14px 10px}#trenlog-root .tl-card-head{gap:5px}#trenlog-root .tl-exercise-name{font-size:16px!important}#trenlog-root .tl-sets{gap:7px}#trenlog-root .tl-set input{font-size:18px;padding:6px}#trenlog-root .tl-set label{font-size:10px}#trenlog-root .tl-bottom button{font-size:11px;padding:10px 8px}#trenlog-root .tl-bottom>span{font-size:11px}#trenlog-root .tl-modal{padding:18px}#trenlog-root .tl-modal h2{font-size:21px}}

#trenlog-root .tl-muscle-filters{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}#trenlog-root .tl-muscle-filters button{font-size:12px;padding:7px 11px;min-height:38px;border-radius:20px}#trenlog-root .tl-picker-count{font-size:12px;color:var(--tl-muted);margin:14px 0 8px}#trenlog-root .tl-picker-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left}#trenlog-root .tl-picker-row>span{flex:1}#trenlog-root .tl-picker-row small{display:block;color:var(--tl-muted);font-size:11px;margin-top:4px}#trenlog-root .tl-picker-row b{font-size:22px;color:var(--tl-accent)}#trenlog-root .selected .tl-picker-row small,#trenlog-root .selected .tl-picker-row b{color:inherit}#trenlog-root .tl-filtered-choices{max-height:330px} @media(max-width:600px){#trenlog-root .tl-muscle-filters button{min-height:44px}#trenlog-root .tl-filtered-choices{max-height:35vh}}


/* Bilingual exercise names: English followed by Bulgarian. */
.tl-exercise-label{display:block;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.tl-exercise-label>span{display:block}
.tl-exercise-label .tl-exercise-translation{font-size:13px;font-weight:400;line-height:1.45;color:#afc6ca;margin-top:4px;text-transform:none;letter-spacing:normal}
.tl-filtered-choices button.selected .tl-exercise-translation{color:#073d32}
.tl-app[data-theme="light"] .tl-exercise-translation{color:#405d62}
.tl-exercise-label small{font-size:11px;margin-top:5px}
.tl-exercise-name .tl-exercise-translation{font-size:14px}

/* Gym backdrop scoped to the workout log only. */
body #trenlog-root{position:relative;isolation:isolate}
body #trenlog-root::before{content:"";position:absolute;z-index:-2;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);pointer-events:none;background:radial-gradient(ellipse at 95% 14%,rgba(0,220,166,.23),transparent 38%),radial-gradient(ellipse at 12% 90%,rgba(0,142,125,.13),transparent 40%),linear-gradient(180deg,rgba(0,16,19,.82),rgba(0,16,19,.70) 45%,#001013 100%),url('/wp-content/uploads/2022/10/fly-gallery-8.jpg') center/cover no-repeat;background-color:#001013}
body #trenlog-root::after{content:"";position:absolute;z-index:-1;bottom:0;left:50%;width:100vw;height:650px;transform:translateX(-50%);pointer-events:none;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221600%22%20height%3D%22700%22%20viewBox%3D%220%200%201600%20700%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%2316dfaa%22%20stroke-opacity%3D%22.26%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M%200%20400%20C%20380%20590%2C%20540%20100%2C%20950%20210%20S%201330%20120%2C%201600%2095%22%2F%3E%3Cpath%20d%3D%22M%200%20409%20C%20380%20596%2C%20540%20112%2C%20950%20220%20S%201330%20128%2C%201600%20103%22%2F%3E%3Cpath%20d%3D%22M%200%20418%20C%20380%20602%2C%20540%20124%2C%20950%20230%20S%201330%20136%2C%201600%20111%22%2F%3E%3Cpath%20d%3D%22M%200%20427%20C%20380%20608%2C%20540%20136%2C%20950%20240%20S%201330%20144%2C%201600%20119%22%2F%3E%3Cpath%20d%3D%22M%200%20436%20C%20380%20614%2C%20540%20148%2C%20950%20250%20S%201330%20152%2C%201600%20127%22%2F%3E%3Cpath%20d%3D%22M%200%20445%20C%20380%20620%2C%20540%20160%2C%20950%20260%20S%201330%20160%2C%201600%20135%22%2F%3E%3Cpath%20d%3D%22M%200%20454%20C%20380%20626%2C%20540%20172%2C%20950%20270%20S%201330%20168%2C%201600%20143%22%2F%3E%3Cpath%20d%3D%22M%200%20463%20C%20380%20632%2C%20540%20184%2C%20950%20280%20S%201330%20176%2C%201600%20151%22%2F%3E%3Cpath%20d%3D%22M%200%20472%20C%20380%20638%2C%20540%20196%2C%20950%20290%20S%201330%20184%2C%201600%20159%22%2F%3E%3Cpath%20d%3D%22M%200%20481%20C%20380%20644%2C%20540%20208%2C%20950%20300%20S%201330%20192%2C%201600%20167%22%2F%3E%3Cpath%20d%3D%22M%200%20490%20C%20380%20650%2C%20540%20220%2C%20950%20310%20S%201330%20200%2C%201600%20175%22%2F%3E%3Cpath%20d%3D%22M%200%20499%20C%20380%20656%2C%20540%20232%2C%20950%20320%20S%201330%20208%2C%201600%20183%22%2F%3E%3Cpath%20d%3D%22M%200%20508%20C%20380%20662%2C%20540%20244%2C%20950%20330%20S%201330%20216%2C%201600%20191%22%2F%3E%3Cpath%20d%3D%22M%200%20517%20C%20380%20668%2C%20540%20256%2C%20950%20340%20S%201330%20224%2C%201600%20199%22%2F%3E%3Cpath%20d%3D%22M%200%20526%20C%20380%20674%2C%20540%20268%2C%20950%20350%20S%201330%20232%2C%201600%20207%22%2F%3E%3Cpath%20d%3D%22M%200%20535%20C%20380%20680%2C%20540%20280%2C%20950%20360%20S%201330%20240%2C%201600%20215%22%2F%3E%3Cpath%20d%3D%22M%200%20544%20C%20380%20686%2C%20540%20292%2C%20950%20370%20S%201330%20248%2C%201600%20223%22%2F%3E%3Cpath%20d%3D%22M%200%20553%20C%20380%20692%2C%20540%20304%2C%20950%20380%20S%201330%20256%2C%201600%20231%22%2F%3E%3Cpath%20d%3D%22M%200%20562%20C%20380%20698%2C%20540%20316%2C%20950%20390%20S%201330%20264%2C%201600%20239%22%2F%3E%3Cpath%20d%3D%22M%200%20571%20C%20380%20704%2C%20540%20328%2C%20950%20400%20S%201330%20272%2C%201600%20247%22%2F%3E%3Cpath%20d%3D%22M%200%20580%20C%20380%20710%2C%20540%20340%2C%20950%20410%20S%201330%20280%2C%201600%20255%22%2F%3E%3Cpath%20d%3D%22M%200%20589%20C%20380%20716%2C%20540%20352%2C%20950%20420%20S%201330%20288%2C%201600%20263%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") right bottom/cover no-repeat;opacity:.65}
body #trenlog-root .tl-app:not([data-theme="light"]){background:rgba(3,24,28,.94);box-shadow:0 20px 65px #0004;border-color:#294b4e}
@media(max-width:600px){body #trenlog-root::before{background-position:center;background-size:auto,auto,auto,auto 100%}body #trenlog-root::after{height:400px;opacity:.35}}

#trenlog-root .tl-auth{max-width:700px;margin:auto;padding:40px}
#trenlog-root .tl-auth form{max-width:440px;margin:24px auto 0}
#trenlog-root .tl-auth h2{font-size:24px;margin-bottom:20px}
#trenlog-root .tl-auth-tabs{display:flex;gap:8px;margin-top:30px}
#trenlog-root .tl-auth-tabs button{flex:1}
#trenlog-root .tl-auth-benefits{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}
#trenlog-root .tl-auth-benefits span{font-size:12px;border:1px solid var(--tl-border);border-radius:24px;padding:8px 12px;color:var(--tl-accent)}
#trenlog-root .tl-forgot{border:0;background:none;width:100%;margin-top:12px;color:var(--tl-muted)}
#trenlog-root .tl-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
#trenlog-root .tl-account-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#cee6df;font:14px/1.4 Arial,sans-serif;margin:0 0 16px}
#trenlog-root .tl-account-bar button{color:#23e7a2;border-color:#294448;background:#061c20}
#trenlog-root .tl-account-bar strong{color:#23e7a2}
@media(max-width:600px){#trenlog-root .tl-auth{padding:24px 18px}#trenlog-root .tl-auth-benefits{gap:6px}#trenlog-root .tl-auth-benefits span{font-size:10px;padding:6px 8px}#trenlog-root .tl-account-bar{font-size:12px}}

#trenlog-root .tl-password-wrap{display:flex;align-items:stretch;gap:8px;width:100%;min-width:0}
#trenlog-root .tl-password-wrap input{flex:1;min-width:0;width:0}
#trenlog-root .tl-password-toggle{flex:0 0 76px;min-height:44px;padding:8px;color:var(--tl-accent);font-size:13px;white-space:nowrap}

#trenlog-root .tl-archive{margin:20px 0 12px}#trenlog-root .tl-archive summary{cursor:pointer;color:var(--tl-accent);font-size:14px;padding:12px 0;width:fit-content}#trenlog-root .tl-archive .tl-toolbar{margin-top:12px}

#trenlog-root .tl-week-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0 12px}
#trenlog-root .tl-week-tools label{display:flex;align-items:center;gap:10px;margin-left:auto;font-size:13px}
#trenlog-root .tl-week-tools select{width:auto;max-width:180px}
#trenlog-root .tl-workout-date{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0 20px;color:var(--tl-muted);font-size:14px}
#trenlog-root .tl-workout-date input{width:auto;max-width:100%;color-scheme:dark}
#trenlog-root [data-theme=light] .tl-workout-date input{color-scheme:light}
#trenlog-root .tl-calendar-nav{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
#trenlog-root .tl-calendar-nav label{display:grid;gap:5px;flex:1;min-width:130px;font-size:12px}
#trenlog-root .tl-calendar-nav input{min-width:0;width:100%;color-scheme:dark}
#trenlog-root [data-theme=light] .tl-calendar-nav input{color-scheme:light}
#trenlog-root .tl-calendar-month{text-transform:capitalize;margin:18px 0}
#trenlog-root .tl-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
#trenlog-root .tl-calendar-grid button{min-width:0;min-height:44px;padding:8px 2px;font-size:14px}
#trenlog-root .tl-calendar-weekday{text-align:center;color:var(--tl-muted);font-size:12px;padding:6px 0}
#trenlog-root .tl-calendar-grid button.tl-trained{background:#23e7a2;color:#00251c;border-color:#23e7a2;box-shadow:0 0 9px #23e7a233;font-weight:700}
#trenlog-root .tl-calendar-grid button.tl-calendar-selected{outline:2px solid var(--tl-text);outline-offset:1px}
#trenlog-root .tl-calendar-entry{display:block;text-align:left;width:100%;margin:8px 0;white-space:normal}
#trenlog-root .tl-calendar-results{border-top:1px solid var(--tl-border);margin-top:18px;padding-top:12px}
#trenlog-root .tl-undated{margin-top:16px;font-size:13px}
#trenlog-root .tl-undated summary{cursor:pointer;color:var(--tl-accent)}
@media(max-width:600px){#trenlog-root .tl-week-tools label{margin-left:0;width:100%;justify-content:space-between}#trenlog-root .tl-calendar-grid{gap:4px}#trenlog-root .tl-calendar-grid button{min-height:40px}#trenlog-root .tl-calendar-nav button{padding:10px}}

#trenlog-root .tl-music{max-width:520px;margin:24px 0;color:var(--tl-text)}
#trenlog-root .tl-music-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px 8px}
#trenlog-root .tl-music-head button{background:none;border:0;color:var(--tl-muted);font-size:12px;padding:8px;min-height:36px}
#trenlog-root .tl-music-card,#trenlog-root .tl-music-queue{border:1px solid var(--tl-border);border-radius:14px;background:var(--tl-input);padding:14px;box-shadow:0 8px 28px #00000012}
#trenlog-root .tl-music-main{display:grid;grid-template-columns:200px minmax(0,1fr) 32px;gap:12px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--tl-border)}
#trenlog-root .tl-music-frame{width:200px;height:200px;overflow:hidden;border-radius:8px;background:#000}
#trenlog-root .tl-music iframe{display:block;width:200px;height:200px;min-width:200px;min-height:200px;border:0}
#trenlog-root .tl-music-label{min-width:0;display:grid;gap:6px}
#trenlog-root .tl-music-label strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
#trenlog-root .tl-music-label small{font-size:12px;color:var(--tl-muted)}
#trenlog-root .tl-music-favorite{background:none;border:0;color:var(--tl-muted);padding:4px;min-height:40px;display:grid;place-items:center}
#trenlog-root .tl-music button[aria-pressed=true]{color:var(--tl-accent)}
#trenlog-root .tl-music-favorite[aria-pressed=true] svg{fill:var(--tl-accent)}
#trenlog-root .tl-music-transport{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:18px 4px 6px}
#trenlog-root .tl-music-transport button{display:grid;place-items:center;background:transparent;border:0;color:var(--tl-text);min-width:40px;min-height:44px;padding:8px}
#trenlog-root .tl-music button:disabled{opacity:.3;cursor:default}
#trenlog-root .tl-music-transport .tl-music-play{border:1px solid var(--tl-accent);color:var(--tl-text);border-radius:50%;width:58px;height:58px;padding:14px;transition:background .2s,transform .2s}
#trenlog-root .tl-music-play:hover{background:var(--tl-accent);color:var(--tl-bg)}
#trenlog-root .tl-music-play svg{width:28px;height:28px}
#trenlog-root .tl-music-times{display:flex;justify-content:space-between;color:var(--tl-muted);font-size:11px}
#trenlog-root .tl-music input[type=range]{appearance:none;-webkit-appearance:none;display:block;box-sizing:border-box;width:100%;height:24px;min-height:24px;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;accent-color:var(--tl-accent)}
#trenlog-root .tl-music input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:6px;background:linear-gradient(to right,var(--tl-accent) var(--music-fill),var(--tl-border) var(--music-fill))}
#trenlog-root .tl-music input[type=range]::-webkit-slider-thumb{appearance:none;width:10px;height:10px;border-radius:50%;background:var(--tl-accent);margin-top:-3px}
#trenlog-root .tl-music input[type=range]::-moz-range-track{height:4px;background:var(--tl-border)}
#trenlog-root .tl-music input[type=range]::-moz-range-progress{height:4px;background:var(--tl-accent)}
#trenlog-root .tl-music input[type=range]::-moz-range-thumb{width:10px;height:10px;border:0;background:var(--tl-accent)}
#trenlog-root .tl-music-volume{display:flex;gap:12px;align-items:center;margin-top:8px}
#trenlog-root .tl-music-volume svg{flex-shrink:0;width:20px}
#trenlog-root .tl-music-volume small{font-size:10px;min-width:28px;color:var(--tl-muted)}
#trenlog-root .tl-music-queue{margin-top:10px;animation:tl-music-reveal .3s ease}
#trenlog-root .tl-music-queue h3{font-size:15px;text-transform:none;margin:0 0 12px;line-height:1.4}
#trenlog-root .tl-music-queue ol{margin:0;padding:0;list-style:none;max-height:330px;overflow:auto}
#trenlog-root .tl-music-queue li{margin:0;padding:0}
#trenlog-root .tl-music-queue li button{display:flex;width:100%;align-items:center;gap:10px;background:transparent;border:1px solid transparent;color:var(--tl-text);padding:7px;border-radius:6px;text-align:left;font-size:12px;min-height:54px}
#trenlog-root .tl-music-queue li button.is-current{background:color-mix(in srgb,var(--tl-accent) 12%,transparent);border-left-color:var(--tl-accent)}
#trenlog-root .tl-music-queue img{width:42px;height:42px;object-fit:cover;border-radius:5px}
#trenlog-root .tl-music-queue li button>span:not(.tl-music-bars){flex:1;min-width:0;line-height:1.4}
#trenlog-root .tl-music-queue small{color:var(--tl-muted);font-size:10px;white-space:nowrap}
#trenlog-root .tl-music-bars{color:var(--tl-accent)}
#trenlog-root .tl-music-queue .tl-music-note{font-size:12px;line-height:1.6;color:var(--tl-muted);margin:14px 2px}
#trenlog-root .tl-music-settings{border-top:1px solid var(--tl-border);margin-top:12px;padding-top:12px}
#trenlog-root .tl-music-settings summary{cursor:pointer;color:var(--tl-accent);font-size:13px;text-align:center;padding:8px}
#trenlog-root .tl-music-form{display:grid;gap:10px;margin:14px 0}
#trenlog-root .tl-music-form label{font-size:12px;color:var(--tl-muted)}
#trenlog-root .tl-music-form input{width:100%;margin-top:6px;font-size:16px}
#trenlog-root .tl-music-settings a{font-size:12px;color:var(--tl-muted)}
#trenlog-root .tl-music-show{margin:24px 0;color:var(--tl-accent)}
#trenlog-root .tl-music :focus-visible{outline:2px solid var(--tl-accent);outline-offset:3px}
@keyframes tl-music-reveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:480px){#trenlog-root .tl-music-main{grid-template-columns:minmax(0,1fr) 32px}#trenlog-root .tl-music-frame{grid-column:1/-1;justify-self:center}#trenlog-root .tl-music-label strong{font-size:14px}#trenlog-root .tl-music-card,#trenlog-root .tl-music-queue{padding:12px}}
@media(prefers-reduced-motion:reduce){#trenlog-root .tl-music-queue{animation:none}}

/* Full-width video in both player states. */
#trenlog-root .tl-music-main{grid-template-columns:minmax(0,1fr) 32px}
#trenlog-root .tl-music-frame{grid-column:1/-1;justify-self:stretch;width:100%;height:auto;aspect-ratio:16/9;min-height:200px}
#trenlog-root .tl-music iframe{width:100%;height:100%;min-height:200px;aspect-ratio:16/9}


#trenlog-root .tl-previous{margin:0 0 24px;padding:14px 14px 16px;border-left:3px solid var(--tl-accent);border-radius:0 12px 12px 0;background:rgba(0,170,125,.16)}
#trenlog-root .tl-previous-title{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--tl-muted);margin-bottom:10px}
#trenlog-root .tl-previous-title>span{font-size:22px;line-height:1}
#trenlog-root .tl-previous-sets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#trenlog-root .tl-previous-sets small{display:block;color:var(--tl-muted);font-size:12px;margin-bottom:4px}
#trenlog-root .tl-previous-sets strong{display:block;font-size:16px;font-weight:600;overflow-wrap:anywhere}
#trenlog-root .tl-transfer{width:100%;margin-top:18px;min-height:48px;color:var(--tl-accent);font-size:14px;font-weight:700}
@media(max-width:380px){#trenlog-root .tl-previous{padding:12px 9px}#trenlog-root .tl-previous-sets{gap:6px}#trenlog-root .tl-previous-sets strong{font-size:13px}#trenlog-root .tl-previous-title{font-size:12px}}

