.lf-user-panel{width:calc(100% + 40px);margin:22px -20px 0;padding:18px 20px;border:0;border-radius:0;background:#1e1e1e;color:#f5f5f5;box-shadow:0 8px 24px rgba(0,0,0,.14);font-size:14px;line-height:1.35}
.lf-user-panel *{box-sizing:border-box}
.lf-user-panel button,.lf-user-panel input{font:inherit}
.lf-user-panel button{cursor:pointer;text-transform:none;letter-spacing:0}
.lf-user-panel__top{display:flex;align-items:center;gap:14px}
.lf-user-panel__status-block{min-width:0;flex:1}
.lf-user-panel__statuses{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.lf-user-panel__status{display:inline-flex;align-items:center;justify-content:center;min-height:36px;border:1px solid #45494d;border-radius:7px;background:#202326;color:#f5f5f5;padding:0 12px;font-size:13px;line-height:1.2;transition:.18s ease}
.lf-user-panel__status:hover{border-color:#70c53b}
.lf-user-panel__status>span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;width:16px;margin-right:6px;color:#70c53b;text-align:center}
.lf-user-panel__status[data-lf-status="want"].is-active{border-color:#4d9cff;background:#203750}
.lf-user-panel__status[data-lf-status="watching"].is-active{border-color:#f0a329;background:#4c391d}
.lf-user-panel__status[data-lf-status="watched"].is-active{border-color:#70c53b;background:#27451f}
.lf-user-panel__status[data-lf-status="ignored"].is-active{border-color:#e05b64;background:#4d252a}
.lf-user-panel__lists{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;margin-left:auto;border:1px solid #45494d;border-radius:6px;background:#202326;color:#dce1dd;padding:0 10px;font-size:12px;text-decoration:none;white-space:nowrap;transition:.18s ease}
.lf-user-panel__lists:hover{border-color:#70c53b;background:#222a21;color:#fff}
.lf-user-panel__lists .fa-bookmark{display:inline-flex;align-items:center;justify-content:center;width:16px;color:#70c53b}
.lf-user-panel__top-links{display:flex;align-items:center;gap:14px;margin-left:auto}
.lf-user-panel__more-toggle{display:inline-flex;align-items:center;gap:7px;min-height:34px;border:1px solid #45494d;border-radius:6px;background:#202326;color:#dce1dd;padding:0 10px;font-size:12px}
.lf-user-panel__more-toggle:hover,.lf-user-panel__more-toggle[aria-expanded="true"]{border-color:#70c53b;color:#fff}
.lf-user-panel__more-toggle>span{display:inline-flex;align-items:center;justify-content:center;color:#70c53b}
.lf-user-panel__more[hidden]{display:none!important}
.lf-user-panel__actions{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid #34373a}
.lf-user-panel__actions.is-without-notify{grid-template-columns:1fr 1fr}
.lf-user-panel__notify-toggle[hidden]{display:none!important}
.lf-user-panel__action{display:grid;grid-template-columns:20px minmax(0,1fr) 16px;gap:9px;align-items:center;min-width:0;min-height:54px;border:1px solid #45494d;border-radius:8px;background:#202326;color:#f5f5f5;padding:8px 12px;text-align:left;transition:.18s ease}
.lf-user-panel__action:hover,.lf-user-panel__action[aria-expanded="true"]{border-color:#70c53b;background:#222a21}
.lf-user-panel__action>span:first-child,.lf-user-panel__action>span:last-child{display:inline-flex;align-items:center;justify-content:center;width:100%;color:#70c53b;font-size:16px;text-align:center}
.lf-user-panel__action>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
.lf-user-panel__action strong,.lf-user-panel__action small{display:block;overflow:visible;text-overflow:clip;white-space:normal}
.lf-user-panel__action strong{font-size:13px;font-weight:600}
.lf-user-panel__action small{margin-top:3px;color:#92979b;font-size:11px;line-height:1.3}
.lf-user-panel__notify-toggle{border-color:#537842;background:#20251f}
.lf-user-panel__settings[hidden]{display:none!important}
.lf-user-panel__settings{display:block;margin-top:12px;padding:0;border:1px solid #34383b;border-radius:9px;background:#1d2022}
.lf-user-panel__settings-head{display:flex;align-items:baseline;gap:12px;padding:14px 16px;border-bottom:1px solid #34383b}
.lf-user-panel__settings-head strong{color:#fff;font-size:14px}
.lf-user-panel__settings-head span{color:#92979b;font-size:12px}
.lf-user-panel__steps{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(180px,.75fr) minmax(260px,1.1fr)}
.lf-user-panel__setting-group{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:16px;border-right:1px solid #34383b;border-bottom:0}
.lf-user-panel__setting-group:last-child{border-right:0}
.lf-user-panel__step{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid #70c53b;border-radius:50%;background:#263d20;color:#8bd15f;font-size:12px;font-weight:700}
.lf-user-panel__setting-content{display:flex;min-width:0;flex-direction:column;gap:9px}
.lf-user-panel__setting-content>strong{display:flex;align-items:center;min-height:26px;margin:0;color:#fff;font-size:13px}
.lf-user-panel__setting-content>small{color:#92979b;font-size:11px;line-height:1.35}
.lf-user-panel__setting-content label{display:flex;align-items:flex-start;gap:8px;color:#e4e4e4;cursor:pointer}
.lf-user-panel__channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.lf-user-panel__channels label{min-width:0;align-items:center}
.lf-user-panel__channels input:disabled+span{color:#92979b}
.lf-user-panel__telegram-connect{display:grid;gap:5px;width:100%}
.lf-user-panel__telegram-connect button{width:100%;min-height:34px;border:1px solid #70c53b;border-radius:6px;background:#27451f;color:#fff;padding:0 10px;font:inherit;font-size:12px;cursor:pointer}
.lf-user-panel__telegram-connect button:disabled{cursor:wait;opacity:.6}
.lf-user-panel__telegram-connect small{color:#858c91;font-size:11px;line-height:1.25;text-align:center}
.lf-user-panel__events .lf-user-panel__setting-content{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;column-gap:18px;row-gap:9px}
.lf-user-panel[data-kind="film"] .lf-user-panel__events .lf-user-panel__setting-content{grid-template-columns:repeat(3,minmax(0,1fr))}
.lf-user-panel__events .lf-user-panel__setting-content>strong{grid-column:1/-1}
.lf-user-panel__choice>span{min-width:0}
.lf-user-panel__choice b,.lf-user-panel__choice small{display:block}
.lf-user-panel__choice b{font-weight:400}
.lf-user-panel__choice small{margin-top:2px;color:#858c91;font-size:11px;line-height:1.3}
.lf-user-panel input[type=checkbox],.lf-user-panel input[type=radio]{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:#70c53b}
.lf-user-panel__note{margin-top:12px;color:#777e83;font-size:12px}
.lf-user-panel-toast{position:fixed;left:50%;bottom:24px;z-index:10020;transform:translateX(-50%);padding:11px 16px;border:1px solid #70c53b;border-radius:8px;background:#191b1d;color:#fff;box-shadow:0 12px 35px rgba(0,0,0,.4)}
.lf-user-panel-modal{position:fixed;inset:0;z-index:10010;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.72)}
.lf-user-panel-modal__dialog{width:min(680px,100%);max-height:88vh;overflow:auto;border:1px solid #34373a;border-radius:12px;background:#191b1d;color:#f3f3f3;box-shadow:0 24px 70px rgba(0,0,0,.55)}
.lf-user-panel-modal__head{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid #34373a}
.lf-user-panel-modal__head h3{margin:0;font-size:20px}
.lf-user-panel-modal__close{margin-left:auto;border:0;background:transparent;color:#aaa;font-size:27px;cursor:pointer}
.lf-user-panel-modal__body{padding:12px 20px 20px}
.lf-user-panel-modal__row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #2c3033}
.lf-user-panel-modal__row.has-poster{grid-template-columns:44px minmax(0,1fr) auto}
.lf-user-panel-modal__row strong{display:block;color:#fff}
.lf-user-panel-modal__row small{display:block;margin-top:4px;color:#959b9f}
.lf-user-panel-modal__poster{display:block;width:44px;height:66px;overflow:hidden;border:1px solid #34383b;border-radius:4px;background:#222}
.lf-user-panel-modal__poster img{display:block;width:100%;height:100%;object-fit:cover}
.lf-user-panel-modal__action{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #70c53b;border-radius:6px;background:#27451f;color:#fff;padding:0 13px;text-decoration:none;cursor:pointer}
.lf-user-panel-modal__action:disabled{cursor:wait;opacity:.6}
.lf-user-panel-modal__player-toolbar{display:flex;align-items:center;gap:12px;margin:4px 0 14px}
.lf-user-panel-modal__player-toolbar strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lf-user-panel-modal__back{flex:0 0 auto;min-height:34px;border:1px solid #45494d;border-radius:6px;background:#202326;color:#f3f3f3;padding:0 11px;cursor:pointer}
.lf-user-panel-modal__back:hover{border-color:#70c53b}
.lf-user-panel-modal__player{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:7px;background:#090a0a}
.lf-user-panel-modal__player iframe{display:block;width:100%;height:100%;border:0}
.lf-user-panel-modal__empty{padding:18px 0;color:#9ca1a4;text-align:center}
.lf-user-panel-modal__intro{margin-bottom:14px;padding:11px 13px;border-left:2px solid #70c53b;border-radius:0 7px 7px 0;background:#202326;color:#c4c8ca;font-size:13px;line-height:1.45}
.lf-user-panel-modal__search{display:flex;gap:8px;margin-bottom:10px}
.lf-user-panel-modal__search input{min-width:0;flex:1;min-height:40px;border:1px solid #45494d;border-radius:6px;background:#151719;color:#fff;padding:0 12px}
.lf-user-panel-modal__order-mark{color:#70c53b;font-size:18px}
.lf-user-panel-registration{position:fixed;inset:0;z-index:10030;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.72)}
.lf-user-panel-registration__dialog{display:flex;flex-direction:column;width:min(780px,100%);height:min(760px,90vh);min-height:320px;overflow:hidden;border:1px solid #d5d7d7;border-radius:12px;background:#f3f3f3;color:#26302a;box-shadow:0 24px 70px rgba(0,0,0,.45)}
.lf-user-panel-registration__header{display:flex;align-items:flex-start;gap:16px;padding:16px 20px;border-bottom:1px solid #d5d7d7}
.lf-user-panel-registration__header>div{min-width:0;flex:1}
.lf-user-panel-registration__header small{color:#5cac2d;font-size:12px;font-weight:700}
.lf-user-panel-registration__header h2{margin:3px 0 5px;color:inherit;font-size:21px;line-height:1.2}
.lf-user-panel-registration__header p{margin:0;color:#69736d;font-size:13px;line-height:1.4}
.lf-user-panel-registration__close{flex:0 0 30px;width:30px;height:30px;border:0;border-radius:5px;background:transparent;color:#68716b;font-size:26px;line-height:1;cursor:pointer}
.lf-user-panel-registration__close:hover{background:rgba(112,197,59,.12);color:#333}
.lf-user-panel-registration__frame{display:block;flex:1;min-height:0;width:100%;border:0;background:transparent}
.lf-user-panel-registration__footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:12px 20px;border-top:1px solid #d5d7d7;color:#69736d;font-size:13px}
.lf-user-panel-registration__login{min-height:32px;border:1px solid #70c53b;border-radius:5px;background:#70c53b;color:#fff;padding:0 13px;cursor:pointer}
.lf-user-panel-registration__footer a{margin-left:auto;color:#459724;text-decoration:none}
.lf-user-panel-registration__footer a:hover{text-decoration:underline}
body.dt .lf-user-panel-registration__dialog{border-color:#3a4140;background:#1c1e1e;color:#f5f5f5}
body.dt .lf-user-panel-registration__header,body.dt .lf-user-panel-registration__footer{border-color:#3a4140}
body.dt .lf-user-panel-registration__header p,body.dt .lf-user-panel-registration__footer{color:#a0aaa3}
body.dt .lf-user-panel-registration__close{color:#a0aaa3}
body.dt .lf-user-panel-registration__close:hover{color:#fff}

@media(max-width:900px){
	.lf-user-panel__top{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
	.lf-user-panel__status-block{width:100%}
	.lf-user-panel__statuses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
	.lf-user-panel__status{width:100%;min-width:0;white-space:normal}
	.lf-user-panel__top-links{justify-self:end;margin:0}
	.lf-user-panel__lists{margin:0}
	.lf-user-panel__actions{grid-template-columns:1fr}
	.lf-user-panel__actions.is-without-notify{grid-template-columns:minmax(0,1fr)}
	.lf-user-panel__notify-toggle{grid-column:auto;width:100%;margin:0}
	.lf-user-panel__steps{grid-template-columns:1fr 1fr}
	.lf-user-panel__events{grid-column:1/-1;border-right:0;border-bottom:1px solid #34383b}
}

@media(max-width:720px){
	.lf-user-panel__steps{grid-template-columns:1fr}
	.lf-user-panel__events{grid-column:auto}
	.lf-user-panel__setting-group{border-right:0;border-bottom:1px solid #34383b}
	.lf-user-panel__setting-group:last-child{border-bottom:0}
}

@media(max-width:620px){
	.lf-user-panel{width:calc(100% + 40px);margin:16px -20px 0;padding:12px 14px;overflow:visible}
	.lf-user-panel__statuses{gap:7px}
	.lf-user-panel__status{min-height:40px;padding:5px 6px;font-size:12px}
	.lf-user-panel__lists{width:100%;min-height:38px;margin:0;font-size:12px}
	.lf-user-panel__top-links{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;gap:8px}
	.lf-user-panel__more-toggle{min-height:38px;padding:0 11px}
	.lf-user-panel__actions{gap:8px;margin-top:12px;padding-top:12px}
	.lf-user-panel__action{min-height:54px;padding:8px 10px}
	.lf-user-panel__settings{margin-top:10px}
	.lf-user-panel__settings-head{display:block;padding:13px 12px}
	.lf-user-panel__settings-head span{display:block;margin-top:4px;line-height:1.35}
	.lf-user-panel__setting-group{grid-template-columns:26px minmax(0,1fr);gap:9px;padding:13px 11px}
	.lf-user-panel__events .lf-user-panel__setting-content{grid-template-columns:1fr}
	.lf-user-panel[data-kind="film"] .lf-user-panel__events .lf-user-panel__setting-content{grid-template-columns:1fr}
	.lf-user-panel__events .lf-user-panel__setting-content>strong{grid-column:auto}
	.lf-user-panel__note{font-size:11px;line-height:1.4}
	.lf-user-panel-modal{padding:10px}
	.lf-user-panel-modal__head{padding:15px}
	.lf-user-panel-modal__head h3{font-size:18px}
	.lf-user-panel-modal__body{padding:8px 15px 15px}
	.lf-user-panel-modal__row{grid-template-columns:1fr}
	.lf-user-panel-modal__row.has-poster{grid-template-columns:44px minmax(0,1fr)}
	.lf-user-panel-modal__row.has-poster .lf-user-panel-modal__poster{grid-row:1/3}
	.lf-user-panel-modal__row.has-poster .lf-user-panel-modal__action{grid-column:2}
	.lf-user-panel-modal__action{width:100%}
	.lf-user-panel-modal__player-toolbar{align-items:flex-start;flex-direction:column}
	.lf-user-panel-modal__player-toolbar strong{white-space:normal}
	.lf-user-panel-modal__search{display:grid;grid-template-columns:1fr}
	.lf-user-panel-registration{padding:8px}
	.lf-user-panel-registration__dialog{height:94vh}
	.lf-user-panel-registration__header{padding:12px 14px}
	.lf-user-panel-registration__header h2{font-size:18px}
	.lf-user-panel-registration__header p{font-size:12px}
	.lf-user-panel-registration__footer{padding:10px 14px;font-size:12px}
	.lf-user-panel-registration__footer a{width:100%;margin:0}
}

@media(max-width:350px){
	.lf-user-panel__statuses{grid-template-columns:1fr}
	.lf-user-panel__channels{grid-template-columns:1fr}
}
