.corner{position:fixed;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));display:flex;align-items:center;gap:2px;pointer-events:auto}.corner-logo{display:flex;align-items:center;margin-right:6px;opacity:.5}.corner-logo img{display:block;height:22px;width:auto}.corner-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;background:none;color:inherit;font-family:inherit;font-size:19px;line-height:1;text-decoration:none;opacity:.5;cursor:pointer;touch-action:manipulation;transition:opacity .15s ease;-webkit-tap-highlight-color:transparent}.corner-btn svg{width:19px;height:19px}.legal-link{color:inherit;background:none;border:0;padding:5px 0;margin:0;font:inherit;text-align:left;text-decoration:underline;text-underline-offset:2px;cursor:pointer;-webkit-tap-highlight-color:transparent}body.view .corner{color:#eee}.legal-sentence-link{color:inherit;background:none;border:0;padding:0;margin:0;font:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.legal-sheet{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:none;align-items:flex-end;justify-content:center;background:#00000073;overscroll-behavior:contain}.legal-sheet.open{display:flex}.legal-panel{width:min(560px,100%);max-height:85vh;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#fff;color:#111;padding:22px 20px calc(20px + env(safe-area-inset-bottom));border-radius:14px 14px 0 0;-webkit-user-select:text;user-select:text}.legal-tabs{display:flex;gap:4px;margin:-4px -4px 14px;padding:4px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid rgb(0 0 0 / .12)}.legal-tabs::-webkit-scrollbar{display:none}.legal-tab{flex:0 0 auto;padding:8px 10px;border:0;background:none;color:#666;font:inherit;font-size:13px;cursor:pointer;margin-bottom:-1px;border-bottom:2px solid transparent;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.legal-tab.on{color:#111;font-weight:600;border-bottom-color:#111}.legal-title{margin:0 0 14px;font-size:17px;font-weight:600}.legal-heading{margin:16px 0 4px;font-size:13px;font-weight:600}.legal-body{margin:0;font-size:13px;line-height:1.45;color:#333;white-space:pre-line}.legal-panel-links{margin-top:18px;display:flex;align-items:center;gap:6px}.legal-close{margin-top:20px;width:100%;padding:12px;border:0;border-radius:8px;background:#111;color:#fff;font:inherit;font-size:14px;cursor:pointer}
