#tpga4-panel[hidden],#tpga4-details[hidden],.tpga4-toggle[hidden]{display:none!important}
#tpga4-panel{position:fixed;bottom:18px;left:12px;z-index:9999;box-sizing:border-box;width:520px;max-width:calc(100vw - 24px);max-height:58vh;overflow:auto;padding:9px 11px;background:rgba(255,253,249,.98);color:#30251b;border:1px solid #e8dccb;border-radius:12px;box-shadow:0 8px 24px rgba(48,37,27,.08);font:12px/1.45 Arial,sans-serif;text-align:left;display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px;backdrop-filter:saturate(115%) blur(2px)}
#tpga4-panel .tpga4-copy{flex:1 1 250px;min-width:0}
#tpga4-panel p{font:600 13px/1.35 Arial,sans-serif;margin:0;color:#30251b}
#tpga4-panel .tpga4-more{display:inline-block;border:0;background:none;padding:0;margin:2px 0 0;color:#7a5a2a;text-decoration:underline;font:11px/1.35 Arial,sans-serif;cursor:pointer;box-shadow:none;text-transform:none}
#tpga4-panel a{color:#7a5a2a;text-decoration:underline}
#tpga4-panel .tpga4-actions{display:flex;flex:0 0 auto;gap:7px;margin-left:auto}
#tpga4-panel .tpga4-choice,.tpga4-toggle{box-sizing:border-box;border:1px solid #cfbfaa;border-radius:9px;background:#fffdf8;color:#49351d;padding:6px 11px;font:600 12px/1.25 Arial,sans-serif;cursor:pointer;text-transform:none;box-shadow:none;transition:background .15s ease,border-color .15s ease,color .15s ease}
#tpga4-panel .tpga4-choice{width:82px;min-height:34px;text-align:center}
#tpga4-panel .tpga4-choice:hover,.tpga4-toggle:hover{background:#f6efe4;border-color:#c7b18b}
#tpga4-panel .tpga4-choice:focus,#tpga4-panel .tpga4-more:focus,.tpga4-toggle:focus{outline:2px solid #8b6731;outline-offset:2px}
#tpga4-panel .tpga4-choice:last-child{background:#f5ecde}
#tpga4-details{flex:1 0 100%;font-size:11px;line-height:1.45;border-top:1px solid #efe5d8;padding-top:7px;color:#5a4730}
.tpga4-toggle{position:fixed;bottom:10px;left:12px;z-index:9998;background:rgba(255,253,249,.98);font-size:11px;padding:6px 10px;min-height:30px;box-shadow:0 4px 14px rgba(48,37,27,.08)}
@media(max-width:620px){#tpga4-panel{left:10px;bottom:10px;width:calc(100vw - 20px);max-width:calc(100vw - 20px);padding:8px 9px;gap:6px 8px}#tpga4-panel .tpga4-copy{flex:1 1 100%}#tpga4-panel .tpga4-actions{flex:1 1 100%;margin:0}#tpga4-panel .tpga4-choice{flex:1 1 0;min-height:38px}.tpga4-toggle{left:10px;bottom:8px}}
#tpga4-panel{bottom:calc(18px + env(safe-area-inset-bottom, 0px))}.tpga4-toggle{bottom:calc(10px + env(safe-area-inset-bottom, 0px))}
