/* CargoExpanse · modernější levé menu a hvězdičkové hodnocení. */
#company-shortcut{display:grid;gap:8px;min-width:0}
#company-shortcut .sidebar-help-link{margin:0;min-height:44px;padding:9px 11px;background:#1d2d46;border-color:#39506c;border-radius:7px}
#company-shortcut .sidebar-help-link:hover{background:#253e61;border-color:#7fa7d4}
#company-shortcut .owner-preview-toggle,
#company-shortcut .ce-sidebar-feedback{
  display:flex;align-items:center;gap:10px;width:100%;min-width:0;
  min-height:49px;margin:0;padding:9px 10px;border-radius:8px;
  border:1px solid #3d5575;background:#1c2e49;color:#e8f1ff;
  cursor:pointer;box-shadow:none;text-align:left;
}
#company-shortcut .owner-preview-toggle:hover,
#company-shortcut .ce-sidebar-feedback:hover{background:#273f61;border-color:#88b4e8}
#company-shortcut .owner-preview-toggle.is-premium{
  background:linear-gradient(110deg,#183656,#233854);border-color:#649bd0;
  box-shadow:inset 3px 0 0 #62cbff;
}
#company-shortcut .owner-preview-symbol{
  display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:7px;
  border:1px solid #5878a0;background:#112540;color:#d7e5ff;
  font:800 19px/1 var(--font);
}
#company-shortcut .owner-preview-toggle.is-premium .owner-preview-symbol{
  color:#86dbff;border-color:#389ed0;background:#173e66;
}
#company-shortcut .ce-side-copy{flex:1;min-width:0;display:grid;gap:3px}
#company-shortcut .ce-side-copy strong{font:750 11px/1.22 var(--font);color:#f1f6ff;overflow-wrap:anywhere}
#company-shortcut .ce-side-copy small{font:550 10px/1.3 var(--font);color:#abc4e0;letter-spacing:0}
#company-shortcut .ce-mode-switch{
  width:32px;height:19px;border-radius:30px;background:#53677e;border:1px solid #7b93ae;
  flex:none;display:flex;align-items:center;padding:2px;
  transition:background .17s ease;
}
#company-shortcut .ce-mode-switch i{
  width:13px;height:13px;border-radius:50%;background:#fff;
  box-shadow:0 1px 3px #09132366;transition:transform .17s ease;
}
#company-shortcut .owner-preview-toggle.is-premium .ce-mode-switch{background:#217dc0;border-color:#7ecafb}
#company-shortcut .owner-preview-toggle.is-premium .ce-mode-switch i{transform:translateX(13px)}
#company-shortcut .ce-sidebar-feedback .icon{color:#8ebcff;width:16px;height:16px;flex:none}
#company-shortcut .ce-sidebar-feedback .icon:last-child{width:14px;height:14px;color:#8fabcf}
#company-shortcut .account-exit{margin:3px 0 0;border-radius:7px;background:#1d293b;border-color:#34445e;min-height:39px}
#company-shortcut :is(.owner-preview-toggle,.ce-sidebar-feedback):focus-visible{outline:2px solid #9cd9ff;outline-offset:2px}
@media(max-height:780px){#company-shortcut{gap:5px}#company-shortcut .sidebar-help-link{min-height:40px;padding:7px 10px}#company-shortcut .owner-preview-toggle,#company-shortcut .ce-sidebar-feedback{min-height:43px;padding:7px 10px}}
/* Rating dialog */
dialog.game-feedback-dialog{width:min(740px,calc(100vw - 22px));max-height:calc(100dvh - 24px)}
dialog.game-feedback-dialog .dialog-body{padding:0;background:#f0f4f9}
.ce-feedback-form--stars{display:block;max-width:none;color:#193457}
.ce-feedback-form-head{padding:23px 26px 20px;background:linear-gradient(110deg,#102842,#1e4976);color:white}
.ce-feedback-form-kicker{font:750 10px/1.3 var(--mono);letter-spacing:.09em;color:#9ccaff}
.ce-feedback-form-head h3{margin:6px 0 8px;font:850 clamp(24px,4vw,35px)/1 var(--head);color:white;text-transform:uppercase}
.ce-feedback-form-head p{margin:0;max-width:540px;font:500 12px/1.6 var(--font);color:#d6e7fb}
.ce-rating-list{display:grid;gap:8px;padding:17px 22px 10px}
.ce-rating-row{margin:0;border:1px solid #d3e0ed;background:white;min-width:0;padding:11px 15px 12px;border-radius:8px}
.ce-rating-row legend{display:flex;align-items:center;gap:9px;padding:0 4px;color:#1b395b}
.ce-rating-row legend strong{font:750 13px/1.25 var(--font)}
.ce-rating-index{display:inline-grid;place-items:center;background:#e8f1fd;color:#3467aa;width:21px;height:21px;border-radius:5px;font:750 10px var(--mono)}
.ce-rating-row-body{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;min-height:31px}
.ce-rating-row-body small{font:500 11px/1.4 var(--font);color:#6c829e;flex:1;min-width:170px}
.ce-rating-stars{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:1px;align-items:center;min-height:30px}
.ce-star-choice{position:relative;cursor:pointer;padding:0 3px;display:inline-grid;place-items:center;min-width:31px;min-height:31px}
.ce-star-choice span{font:800 29px/1 var(--font);color:#b8c7d8;transition:color .12s,transform .12s;user-select:none}
.ce-star-choice input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;inset:0}
.ce-star-choice:has(input:checked) span,.ce-star-choice:has(input:checked)~.ce-star-choice span{color:#e7a32a}
.ce-star-choice:hover span,.ce-star-choice:hover~.ce-star-choice span{color:#ffbb45;transform:scale(1.06)}
.ce-star-choice:has(input:focus-visible){outline:2px solid #2d70cf;outline-offset:1px;border-radius:5px}
.ce-rating-summary{margin:3px 22px 0;padding:10px 12px;border:1px dashed #c6d5e7;background:#e8f0fb;color:#416183;font:700 12px var(--font);border-radius:7px}
.ce-rating-summary.is-complete{color:#126047;background:#e5f5ee;border-color:#9cceba}
.ce-feedback-comment{display:grid;gap:7px;margin:16px 22px 0}
.ce-feedback-comment label{display:flex;justify-content:space-between;align-items:center;gap:12px;font:750 12px var(--font);color:#23415d}
.ce-feedback-comment label span{font:500 10px var(--font);color:#758ba2}
.ce-feedback-comment textarea{width:100%;min-height:99px;resize:vertical;max-height:250px;border:1px solid #bccde0;border-radius:8px;background:#fff;color:#192c45;padding:12px;font:500 12px/1.5 var(--font)}
.ce-feedback-form-foot{padding:15px 22px 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:13px}
.ce-feedback-form-foot p{font:500 10px/1.5 var(--font);color:#76879c;margin:0;max-width:330px}
.ce-feedback-form-foot .btn{min-height:40px;border-radius:7px;padding:9px 15px;font-size:12px}
.ce-feedback-category-averages{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px;margin:2px 0 6px}
.ce-feedback-category-averages>div{display:grid;gap:7px;padding:11px 12px;border:1px solid #cfdeed;background:#edf5fe}
.ce-feedback-category-averages span{font-size:10px;color:#537291}
.ce-feedback-category-averages strong{font:850 23px/1 var(--head);color:#184470}
.ce-feedback-category-averages strong small{font-size:11px;color:#8196ad}
.ce-feedback-result-stars{display:flex;gap:7px 12px;flex-wrap:wrap;margin-top:9px}
.ce-feedback-result-stars span{font:550 10px var(--font);color:#55718c}
.ce-feedback-result-stars b{color:#275f9c}
@media(max-width:560px){
  .ce-feedback-form-head{padding:18px}
  .ce-rating-list{padding:12px 12px 7px;gap:7px}
  .ce-rating-row{padding:9px 11px 10px}
  .ce-rating-row-body small{min-width:160px}
  .ce-rating-summary{margin:4px 12px 0}
  .ce-feedback-comment{margin:13px 12px 0}
  .ce-feedback-form-foot{padding:14px 12px 18px}
  .ce-star-choice{padding:0 2px;min-width:29px}
}
@media(prefers-reduced-motion:reduce){.ce-mode-switch i,.ce-star-choice span{transition:none}}

/* Klidná spodní navigace: jeden tmavý seznam, žádné kontrastní karty. */
.sidebar-bottom{margin:0 9px 10px;padding-top:10px;border-top:1px solid #2b3541}
#company-shortcut{display:flex;flex-direction:column;gap:1px;min-width:0}
#company-shortcut .ce-side-item,
#company-shortcut .sidebar-help-link.ce-side-item,
#company-shortcut .owner-preview-toggle.ce-side-item,
#company-shortcut .ce-sidebar-feedback.ce-side-item{
  width:100%;min-width:0;display:flex;align-items:center;gap:9px;
  min-height:36px;margin:0;padding:7px 9px;border:0;border-radius:5px;
  background:transparent;box-shadow:none;color:#bcc9d7;text-decoration:none;
  font:600 11px/1.28 var(--font);text-align:left;cursor:pointer;
  transition:background .15s ease,color .15s ease;
}
#company-shortcut .ce-side-item:hover,
#company-shortcut .sidebar-help-link.ce-side-item:hover,
#company-shortcut .owner-preview-toggle.ce-side-item:hover,
#company-shortcut .ce-sidebar-feedback.ce-side-item:hover{
  background:#25303c;border:0;box-shadow:none;color:#f7fafc;
}
#company-shortcut .ce-side-item.is-active{background:#25313f;color:#e8f2fb}
#company-shortcut .ce-side-item :is(.icon,.ce-side-glyph){
  flex:none;width:16px;height:16px;color:#879aae;
}
#company-shortcut .ce-side-glyph{display:grid;place-items:center;font:750 19px/1 var(--font)}
#company-shortcut .ce-side-item .ce-side-name{flex:1;min-width:0;overflow-wrap:normal}
#company-shortcut .ce-side-premium,
#company-shortcut .owner-preview-toggle.is-premium.ce-side-item{
  border:0;background:transparent;box-shadow:none;
}
#company-shortcut .owner-preview-toggle.is-premium.ce-side-item .ce-side-glyph{
  color:#a8c2d8;
}
#company-shortcut .ce-mode-switch{
  display:flex;align-items:center;flex:none;width:27px;height:15px;
  padding:2px;border-radius:18px;border:1px solid #5d7084;
  background:#354252;box-shadow:none;
}
#company-shortcut .ce-mode-switch i{width:9px;height:9px;background:#b8c4ce;border-radius:50%;box-shadow:none}
#company-shortcut .owner-preview-toggle.is-premium.ce-side-item .ce-mode-switch{
  border-color:#5b849c;background:#486c87;
}
#company-shortcut .owner-preview-toggle.is-premium.ce-side-item .ce-mode-switch i{
  background:#e8f4ff;transform:translateX(12px)
}
#company-shortcut .owner-preview-toggle.ce-side-item .ce-mode-switch i{transform:translateX(0)}
#company-shortcut .ce-sidebar-feedback.ce-side-item .icon{color:#879aae}
#company-shortcut .account-exit.btn{
  background:transparent;color:#95a6b9;box-shadow:none;
  border:0;border-top:1px solid #293441;border-radius:0;
  padding:11px 9px 7px;margin:9px 0 0;min-height:35px;
  font:600 11px/1.3 var(--font);justify-content:flex-start;
}
#company-shortcut .account-exit.btn:hover:not(:disabled){background:#26313e;color:#f0f5fa}
.sidebar-bottom .pwa-install{
  display:flex;justify-content:flex-start;align-items:center;
  width:100%;min-height:36px;margin-top:5px;padding:8px 9px;
  border:0;border-radius:5px;background:transparent;color:#90a5bd;
  box-shadow:none;font:600 11px/1.3 var(--font);
}
.sidebar-bottom .pwa-install:hover{background:#25303c;color:#e9f2fc}
#company-shortcut .ce-side-item:focus-visible,
#company-shortcut .account-exit:focus-visible,
.sidebar-bottom .pwa-install:focus-visible{
  outline:2px solid #7da7cf;outline-offset:1px;
}
@media(max-height:780px){
  #company-shortcut{gap:0}
  #company-shortcut .ce-side-item,
  #company-shortcut .sidebar-help-link.ce-side-item,
  #company-shortcut .owner-preview-toggle.ce-side-item,
  #company-shortcut .ce-sidebar-feedback.ce-side-item{min-height:32px;padding:6px 8px}
  .sidebar-bottom .pwa-install{min-height:32px}
}
