.tc-stat-panel[hidden]{display:none!important}
.tc-stat-panel{position:fixed;z-index:1000;inset:auto 16px 16px auto;box-sizing:border-box;width:min(410px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:18px 20px;background:#f6f4ed;color:#19352e;border:1px solid #aab5a7;border-radius:10px;box-shadow:0 5px 25px #19352e30;font:14px/1.55 Arial,sans-serif;text-align:left}
.tc-stat-panel h2{font:700 17px/1.3 Arial,sans-serif;margin:0 0 7px;color:inherit}
.tc-stat-panel p{margin:0 0 12px;color:inherit}
.tc-stat-actions,.tc-stat-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tc-stat-actions button{flex:1 1 145px;font:inherit;font-weight:600;color:inherit;background:transparent;border:1px solid #516b5c;border-radius:5px;padding:8px;cursor:pointer}
.tc-stat-actions button:hover{background:#eeece5}
.tc-stat-links{justify-content:space-between;margin-top:10px}
.tc-stat-links a,.tc-stat-links button,.tc-stat-settings{font:inherit;color:inherit;text-decoration:underline;text-underline-offset:3px}
.tc-stat-links button,.tc-stat-settings{background:transparent;border:0;cursor:pointer;padding:6px}
.tc-stat-settings{display:block;margin:8px auto;font-size:12px}

.tc-stat-panel #tc-stat-options[hidden]{display:none!important}
.tc-stat-panel .tc-stat-actions button{flex:1 1 108px}
.tc-stat-panel #tc-stat-options{margin-top:10px;border-top:1px solid #aab5a7;padding-top:8px}
.tc-stat-panel #tc-stat-options label{display:flex;align-items:center;gap:8px;padding:5px 0}
.tc-stat-panel #tc-stat-options button,.youtube-choice .tc-privacy-open{font:inherit;color:inherit;background:transparent;border:1px solid currentColor;border-radius:5px;padding:6px 10px;cursor:pointer}

.tc-stat-panel .tc-stat-actions button:first-child{background:#dce9d8}
.tc-stat-panel .tc-stat-actions button:first-child:hover{background:#cbdcc7}
