.tma{--tma-bg: var(--bg-2);--tma-av-1: #c44d46;--tma-av-2: #ad601c;--tma-av-3: #8f58d2;--tma-av-4: #338619;--tma-av-5: #267e95;--tma-av-6: #3079b8;--tma-av-7: #bd4c84;background:var(--tma-bg);color:var(--fg);font-size:16px;line-height:21px}@media (prefers-color-scheme: dark){:root:not([data-theme=day]) .tma{--tma-bg: var(--bg)}}:root[data-theme=night] .tma{--tma-bg: var(--bg)}.tma-body{padding:16px 16px 0}.tma-sec+.tma-sec,.tma-sec+.tma-main{margin-top:24px}.tma-h{padding:0 16px 8px;font-size:15px;line-height:20px;font-weight:600;color:var(--accent)}.tma-h-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.tma-h-n{padding:0 16px 8px;font-size:13px;line-height:18px;color:var(--muted);font-variant-numeric:tabular-nums}.tma-foot{padding:8px 16px 0;font-size:14px;line-height:18px;color:var(--muted);text-wrap:pretty}.tma-muted{color:var(--muted)}.tma-group{margin:0;padding:0;list-style:none;border-radius:12px;background:var(--panel);overflow:hidden}.tma-cell{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:4px 8px 4px 16px;color:var(--fg);background:none;border:0;text-align:left;font:inherit;text-decoration:none;transition:background-color .16s var(--ease)}.tma-cell+.tma-cell:before{content:"";position:absolute;top:0;left:16px;right:0;height:1px;background:var(--line)}.tma-cell--member{min-height:56px;padding-block:8px}.tma-cell--member+.tma-cell:before,.tma-cell--member+.tma-cell--member:before{left:68px}.tma-cell-t{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.tma-cell-d{display:block;margin-top:2px;font-size:14px;line-height:18px;color:var(--muted)}.tma-cell-d.is-ok{color:var(--accent)}.tma-cell--input{padding-right:4px}.tma-cell--input:focus-within,.tma-cell--kv:focus-within{box-shadow:inset 3px 0 0 var(--tg-blue)}.tma-cell--kv>.tma-cell-t{flex:none}.tma-cell--pair{gap:8px;padding-block:8px}.tma-cell--switch{cursor:pointer;padding-block:8px;padding-right:16px}.tma-cell--action{cursor:pointer;color:var(--accent);font-weight:500}.tma-cell--action>svg{flex:none;width:24px;height:24px;margin-right:4px}.tma-cell--action:hover,.tma-cell--switch:hover{background:var(--bg-2)}.tma-cell--action:active{background:var(--accent-soft)}.tma-cell--action:focus-visible,.tma-cell--switch:focus-within:has(:focus-visible){outline:2px solid var(--tg-blue);outline-offset:-2px;border-radius:12px}.tma-group>.tma-cell--action:hover:before,.tma-group>.tma-cell--action:hover+.tma-cell:before{opacity:0}.tma-input{flex:1 1 auto;min-width:0;height:40px;padding:0;border:0;border-radius:0;background:transparent;color:var(--fg);font:inherit;font-size:16px;outline:none;box-shadow:none}.tma-input::-moz-placeholder{color:var(--muted);opacity:1}.tma-input::placeholder{color:var(--muted);opacity:1}.tma-input--end{text-align:right}.tma-textarea{height:auto;min-height:64px;padding:10px 0;resize:vertical;line-height:21px}.tma-textarea--list{min-height:200px}.tma-date{min-height:40px;color:var(--fg)}.tma-date::-webkit-date-and-time-value{text-align:right}.tma-mono{font-family:var(--mono);font-size:14px;line-height:20px;word-break:break-all}.tma-select{flex:1 1 0;min-width:0;height:40px;padding:0 28px 0 12px;border:0;border-radius:10px;-moz-appearance:none;appearance:none;-webkit-appearance:none;background:var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9bad' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 16px;color:var(--fg);font:inherit;font-size:16px;cursor:pointer}.tma-select:disabled{cursor:default;color:var(--muted)}.tma-select:focus-visible{outline:2px solid var(--tg-blue);outline-offset:2px}.tma-icbtn{flex:none;display:inline-grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:none;color:var(--muted);cursor:pointer;text-decoration:none;transition:background-color .16s var(--ease),transform 80ms var(--ease)}.tma-icbtn--accent{color:var(--accent)}.tma-icbtn:hover:not(:disabled){background:var(--bg-2)}.tma-icbtn:active:not(:disabled){transform:scale(.94)}.tma-icbtn:disabled{color:var(--muted);cursor:default}.tma-textbtn{flex:none;min-height:44px;padding:0 12px;border:0;border-radius:10px;background:none;cursor:pointer;color:var(--accent);font:inherit;font-size:15px;font-weight:600;transition:background-color .16s var(--ease),transform 80ms var(--ease)}.tma-textbtn:hover:not(:disabled){background:var(--accent-soft)}.tma-textbtn:active:not(:disabled){transform:scale(.98)}.tma-textbtn:disabled{color:var(--muted);cursor:default}.tma-switch{flex:none;position:relative;width:44px;height:26px;margin:0;border-radius:13px;-moz-appearance:none;appearance:none;-webkit-appearance:none;background:var(--line-2);cursor:pointer;transition:background-color .16s var(--ease)}.tma-switch:after{content:"";position:absolute;top:2px;left:2px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #10232f40;transition:transform .16s var(--ease)}.tma-switch:checked{background:var(--tg-blue)}.tma-switch:checked:after{transform:translate(18px)}.tma-switch:focus-visible{outline:2px solid var(--tg-blue);outline-offset:2px}.tma-av{position:relative;flex:none;display:inline-grid;place-items:center;border-radius:50%;color:#fff;font-weight:600;line-height:1}.tma-av:after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 0 1px #0000000f}.tma-pair{flex:none;display:inline-flex}.tma-pair>.tma-av+.tma-av{margin-left:-8px;box-shadow:0 0 0 2px var(--panel)}.tma-num{flex:none;display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.tma-done{padding:8px 16px 24px;text-align:center}.tma-done-ic{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--accent-soft);color:var(--accent)}.tma-done-t{margin-top:12px;font-size:20px;line-height:26px;font-weight:600;text-wrap:balance}.tma-done-d{margin:4px auto 0;max-width:36ch;font-size:15px;line-height:21px;color:var(--muted);text-wrap:pretty}.tma-more>summary{list-style:none;cursor:pointer}.tma-more>summary::-webkit-details-marker{display:none}.tma-more>summary .tma-chev{margin-left:auto;color:var(--muted);transition:transform .2s var(--ease)}.tma-more[open]>summary .tma-chev{transform:rotate(180deg)}.tma-out{margin:0 16px 12px;padding:10px 12px;border-radius:10px;background:var(--bg-2);white-space:pre-wrap}.tma-main{position:relative;margin:24px -16px 0;padding:8px 16px calc(8px + env(safe-area-inset-bottom));background:var(--tma-bg);border-top:1px solid var(--line)}.tma-main-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;padding:0 16px;border:0;border-radius:10px;background:var(--accent-fill);color:#fff;font:inherit;font-size:16px;line-height:20px;font-weight:600;cursor:pointer;transition:background-color .16s var(--ease),transform 80ms var(--ease)}.tma-main-btn:hover{background:var(--accent-fill-hover)}.tma-main-btn:active{transform:scale(.98)}.tma-main-btn:focus-visible{outline:2px solid var(--tg-blue);outline-offset:2px}.tma-msg{margin-bottom:8px;padding:10px 12px;border-radius:10px;background:var(--panel);font-size:14px;line-height:18px;color:var(--fg)}@media (prefers-reduced-motion: no-preference){.tma-rise>*{animation:tma-rise .2s var(--ease) both;animation-delay:calc(min(var(--i, 0),8)*60ms)}}@keyframes tma-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (min-width: 640px){.tma-body{padding:24px 24px 0}.tma-main{margin-inline:-24px;padding-inline:24px}}.tma-more+.tma-cell:before,.tma-cell+.tma-more:before{content:"";position:absolute;left:16px;right:0;height:1px;background:var(--line)}.tma-more+.tma-cell:before{top:0}.tma-cell+.tma-more{position:relative}.tma-cell+.tma-more:before{top:0}.tma-card{width:100%;max-width:400px;margin-inline:auto;padding:16px;border-radius:16px;background:var(--bubble-in);color:var(--fg);box-shadow:var(--bubble-shadow)}.tma-card-from{font-size:14px;line-height:18px;font-weight:600;color:var(--accent)}.tma-card-t{margin-top:2px;font-size:22px;line-height:28px;font-weight:700;text-wrap:balance}.tma-card-d{margin-top:4px;font-size:15px;line-height:21px;color:var(--muted);text-wrap:pretty}.tma-match{display:grid;place-items:center;min-height:96px;margin-top:12px;border-radius:12px;background:var(--bg-2)}.tma-match-name{padding:12px 16px;font-size:32px;line-height:40px;font-weight:700;text-align:center;overflow-wrap:anywhere}.tma-spoiler{position:relative;min-height:64px;min-width:160px;border:0;border-radius:10px;cursor:pointer;color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cg fill='%238a9bad'%3E%3Ccircle cx='3' cy='4' r='1.1'/%3E%3Ccircle cx='14' cy='2' r='.8'/%3E%3Ccircle cx='9' cy='11' r='1'/%3E%3Ccircle cx='20' cy='9' r='1.2'/%3E%3Ccircle cx='4' cy='18' r='.9'/%3E%3Ccircle cx='15' cy='16' r='1.1'/%3E%3Ccircle cx='22' cy='21' r='.8'/%3E%3Ccircle cx='10' cy='22' r='.7'/%3E%3C/g%3E%3C/svg%3E") repeat;transition:transform 80ms var(--ease)}.tma-spoiler:hover{background-color:rgba(var(--fg-rgb) / .04)}.tma-spoiler:active{transform:scale(.98)}.tma-spoiler:focus-visible{outline:2px solid var(--tg-blue);outline-offset:2px}@media (prefers-reduced-motion: no-preference){.tma-shown{animation:tma-rise .2s var(--ease) both}}.tma-card-info{margin-top:12px}.tma-info-row{display:flex;align-items:flex-start;gap:16px;padding:8px 0;text-align:left}.tma-info-row>svg{flex:none;margin-top:2px;color:var(--muted)}.tma-info-row>span{min-width:0;font-size:16px;line-height:21px;overflow-wrap:anywhere}.tma-info-row small{display:block;font-size:14px;line-height:18px;color:var(--muted)}.iv-app{border-radius:16px;background:var(--bg, #fff);border:1px solid var(--iv-line);overflow:clip;box-shadow:0 12px 40px -18px #00000040}.iv-app-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:52px;padding:0 8px;border-bottom:1px solid var(--iv-line);background:var(--iv-soft)}.iv-app-bar .x{justify-self:start;display:inline-flex;align-items:center;min-height:44px;padding:0 8px;font-size:15px;color:var(--iv-link);text-decoration:none}.iv-app-bar .t{text-align:center;line-height:1.2}.iv-app-bar .t b{display:block;font-size:16px;font-weight:600}.iv-app-bar .t span{display:block;font-size:13px;color:var(--iv-muted)}.iv-app-bar .m{justify-self:end;display:grid;place-items:center;width:44px;height:44px;color:var(--iv-muted)}.chat-static button{display:none}.ft-row{width:100%;text-align:left;font-weight:400;color:var(--fg)}.ft-out{display:block}.ft-text{display:block;font-size:18px;line-height:26px;color:var(--fg);overflow-wrap:anywhere;white-space:pre-wrap}.ft-copy{flex:none;display:inline-flex;align-items:center;gap:4px;color:var(--accent);font-size:14px;font-weight:500}.ft-copy>svg{width:18px;height:18px}
