.app .t-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.app .t-generator,.app .t-meter,.app .t-memes{width:270px;max-width:100%;margin:0 auto;color:#fff;font-family:Rubik,Arial,sans-serif;direction:rtl}
.app .t-label{display:block;margin:0 0 7px;font-size:16px;font-weight:800;line-height:20px}
.app .t-skin-button{position:relative;display:block;border:0;background:none;padding:0;min-height:35px;overflow:visible;cursor:pointer;color:#fff}
.app .t-skin-button>img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}
.app .t-skin-button:disabled{opacity:.64;cursor:wait}
.app .t-skin-button[data-skin=generateButton],.app .t-skin-button[data-skin=spinButton],.app .t-skin-button[data-skin=meterAnalyzeButton]{overflow:hidden;border-radius:999px}
.app .t-generator{width:275px;max-width:100%}
.app .t-generator-label{height:30px;margin:-1px -4px 3px 0}
.app .t-generator-label>img{display:block;width:163px;height:30px;margin-left:auto;object-fit:contain}
.app .t-categories{display:grid;grid-template-columns:89px 88px 90px;direction:ltr;column-gap:4px;row-gap:7px;margin-bottom:10px}
.app .t-categories .t-skin-button{height:61px;border-radius:9px}
.app .t-categories .t-skin-button:nth-child(n+4){height:62px}
.app .t-categories .t-skin-button[aria-pressed=true]{box-shadow:0 0 6px #f9202a;outline:1px solid #ff7777;outline-offset:0}
.app .t-generator>.t-skin-button{width:255px;max-width:100%;height:49px;margin:0 auto 10px}
.app .t-paper{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:70px;margin:0 0 10px;padding:7px 11px;border:1px solid #fff;border-radius:10px;background:linear-gradient(#fff,#d7d7d7);box-shadow:0 4px 10px #000;color:#111;text-align:center;font-size:15px;font-weight:800;line-height:18px}
.app button.t-paper{width:100%;font-family:inherit;cursor:pointer}
.app .modal-body .t-wheel-admin-options{margin:12px 0}
.app .modal-body .t-wheel-admin-options>summary{min-height:35px;padding:5px 0;font-size:13px;cursor:pointer}
.app .modal-body .t-metal{margin-top:8px}
.app .t-generator-actions{display:grid;grid-template-columns:89px 88px 89px;gap:4px}
.app .t-generator-actions .t-skin-button{height:55px}
.app .t-link{display:block;min-height:35px;margin:10px auto 0;padding:5px 8px;border:0;background:none;color:#d5d5d5;font:500 12px Rubik,Arial,sans-serif;text-decoration:underline;cursor:pointer}
.app .t-metal,.app .t-red{display:flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;min-height:35px;padding:5px 8px;border:1px solid #999;border-radius:8px;background:linear-gradient(#2a2a2b 0%,#111 48%,#080808 52%,#202020 100%);box-shadow:inset 0 1px 1px #ffffff40,0 2px 4px #000;color:#fff;font:700 13px Rubik,Arial,sans-serif;line-height:17px;cursor:pointer}
.app .t-metal svg,.app .t-red svg{width:21px;height:21px;flex:none}
.app .t-red{width:100%;border-color:#ff9696;border-radius:23px;background:linear-gradient(#ff6262 0%,#f10a0e 13%,#c50005 49%,#a90000 55%,#f0090c 100%);box-shadow:inset 0 2px 2px #fff8,0 0 9px #ee000077;font-size:18px;font-weight:900;min-height:39px}
.app .t-red:disabled,.app .t-metal:disabled{opacity:.6;cursor:wait}
.app .t-field{box-sizing:border-box;width:100%;min-height:35px;margin:0 0 10px;padding:7px 9px;border:1px solid #aaa;border-radius:8px;background:#131315;color:#fff;font:500 16px Rubik,Arial,sans-serif;direction:rtl;resize:vertical}
.app .t-check{display:flex;align-items:flex-start;gap:7px;margin:12px 0;font-size:13px;line-height:20px}
.app .t-check input{flex:none;width:19px;height:19px;accent-color:#ed111a;margin:0}
.app .t-modal-quote{padding:10px;border:1px solid #777;border-radius:9px;background:#171719;font-size:16px;line-height:24px}
.app .t-note{margin:6px 0;font-size:11px;line-height:16px;color:#bbb;text-align:center}
.app .t-context-intro{margin:0 0 15px;font-size:14px;line-height:1.55;color:#eee}
.app .t-context-optional{font-size:12px;font-weight:400;color:#bbb}
.app .t-context-preview{margin:5px 0 14px;padding:9px 10px;border-right:2px solid #e51c19;font-size:12px;line-height:1.5;color:#ddd;overflow-wrap:anywhere}
.app .t-empty{padding:8px 0;text-align:center;font-size:14px;line-height:21px}
.app .t-wheel{width:282px;max-width:100%;margin:auto;direction:rtl}
.app .t-wheel-wrap{position:relative;width:100%;aspect-ratio:1;margin:7px 0 -1px;filter:drop-shadow(0 2px 5px #000)}
.app .t-wheel-rotor{position:absolute;inset:0;transform-origin:50% 50%;will-change:transform}
.app .t-wheel-rotor>img,.app .t-wheel-rotor>svg{display:block;width:100%;height:100%;object-fit:contain}
.app .t-wheel-content{position:absolute;width:26.95%;height:20.568%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transform:translate(-50%,-50%) rotate(calc(0deg - var(--t-wheel-angle,0deg)));transform-origin:50% 50%;pointer-events:none;line-height:1.1}
.app .t-wheel-content>img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none}
.app .t-wheel-content>.t-wheel-text-art{max-height:38px;flex:0 1 auto;min-height:0}
.app .t-wheel-content>.t-wheel-icon-art{height:18px;max-height:18px;max-width:32px;flex:none}
.app .t-wheel-custom-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;max-height:100%;width:100%;color:#fff;font:800 13px/1.1 Rubik,Arial,sans-serif;text-align:center;direction:rtl;overflow-wrap:anywhere;text-shadow:0 1px 2px #000}
.app .t-wheel-rotor[data-wheel-count="7"] .t-wheel-content,.app .t-wheel-rotor[data-wheel-count="8"] .t-wheel-content{width:23.4%;height:19.15%}
.app .t-wheel-rotor[data-wheel-count="9"] .t-wheel-content,.app .t-wheel-rotor[data-wheel-count="10"] .t-wheel-content,.app .t-wheel-rotor[data-wheel-count="11"] .t-wheel-content,.app .t-wheel-rotor[data-wheel-count="12"] .t-wheel-content{width:15.6%;height:12.76%}
.app .t-wheel-rotor[data-wheel-count="7"] .t-wheel-custom-label,.app .t-wheel-rotor[data-wheel-count="8"] .t-wheel-custom-label{font-size:12px}
.app .t-wheel-rotor[data-wheel-count="9"] .t-wheel-custom-label,.app .t-wheel-rotor[data-wheel-count="10"] .t-wheel-custom-label,.app .t-wheel-rotor[data-wheel-count="11"] .t-wheel-custom-label,.app .t-wheel-rotor[data-wheel-count="12"] .t-wheel-custom-label{font-size:11px;-webkit-line-clamp:3}
.app .t-wheel-hub{position:absolute;z-index:2;left:31.915%;top:29.078%;width:37.943%;height:40.426%;pointer-events:none}
.app .t-wheel-hub>img{display:block;width:100%;height:100%;object-fit:contain}
.app .t-wheel-pointer{position:absolute;z-index:3;width:37px;height:41px;top:-15px;left:calc(50% - 17px);pointer-events:none;filter:drop-shadow(0 1px 2px #000)}
.app .t-wheel-pointer img{display:block;width:100%;height:100%;object-fit:contain}
.app .t-wheel>.t-skin-button{width:248px;max-width:100%;height:45px;margin:auto}
.app .t-wheel-label{fill:#fff;font-family:Rubik,Arial,sans-serif;font-size:13px;font-weight:800;paint-order:stroke;stroke:#000;stroke-width:1px}
.app .t-wheel-secondary{display:flex;justify-content:center;gap:8px;margin:17px 0 6px}
.app .t-wheel-secondary .t-metal{font-size:11px;padding:4px 7px}
.app .t-wheel-last{text-align:center;font-size:15px;line-height:23px;margin:10px 0;color:#ddd}
.app .t-wheel-last strong{display:block;color:#fff;font-size:19px}
.app .t-spin-result{display:flex;align-items:center;flex-direction:column;gap:12px;padding:20px 10px;text-align:center;font-size:25px;font-weight:900;line-height:34px}
.app .t-spin-result svg{width:50px;height:50px;color:#ff343b}
.app .t-history article{display:flex;flex-direction:column;gap:5px;margin:8px 0;padding:10px;border:1px solid #777;border-radius:9px;background:linear-gradient(#242426,#090909);font-size:15px}
.app .t-history time{font-size:12px;color:#bbb}
.app .t-meter{box-sizing:border-box;width:100%;max-width:283px;min-width:0;margin:0 auto;padding:0}
.app .t-meter>.t-label{height:19px;margin:0 0 4px;line-height:19px}
.app .t-meter-label>img{display:block;width:auto;max-width:100%;height:18px;margin-left:auto;object-fit:contain}
.app .t-meter-input{position:relative;box-sizing:border-box;width:100%;min-width:0;height:35px;overflow:hidden;border-radius:8px}
.app .t-meter-input>.t-field{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:35px;min-height:35px;margin:0;padding:7px 9px 7px 32px;background:linear-gradient(#fff,#dedede);color:#111;font-size:14px;font-weight:800;line-height:20px}
.app .t-input-clear{position:absolute;left:0;top:0;width:30px;height:35px;min-height:35px;border:0;border-radius:8px;background:none;color:#111;font:400 26px Arial,sans-serif;cursor:pointer}
.app .t-meter>.t-skin-button{width:227px;max-width:100%;height:45px;margin:0 auto}
.app .t-meter>.t-skin-button>img{object-fit:contain}
.app .t-meter-gauge{text-align:center;margin-top:1px}
.app .t-meter-svg{display:block;width:205px;max-width:100%;height:86px;margin:auto;overflow:visible;filter:drop-shadow(0 2px 2px #000)}
.app .t-meter-needle{transform-origin:93px 85px}
.app .t-meter-number{font-family:Rubik,Arial,sans-serif;font-size:38px;font-weight:800;direction:ltr;unicode-bidi:bidi-override;paint-order:stroke;stroke:#080808;stroke-width:4px}
.app .t-meter-verdict{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:156px;height:26px;margin-top:3px;padding:0;border:0;background:none;font-size:12.5px;font-weight:800;line-height:24px;vertical-align:top}
.app .t-meter-verdict>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.app .t-meter-verdict>span{position:relative;z-index:1;white-space:nowrap}
.app .t-detective{display:flex;align-items:center;gap:8px;box-sizing:border-box;height:56px;margin:9px 0 5px;padding:4px 8px;border:1px solid #aaa;border-radius:12px;background:linear-gradient(#252527,#090909);box-shadow:inset 0 1px 1px #ffffff33,0 2px 4px #000}
.app .t-detective>img{flex:none;width:48px;height:48px;object-fit:cover;border-radius:50%;border:1px solid #e8c352}
.app .t-detective strong{color:#f3d533;font-size:14px;line-height:17px}
.app .t-detective p{margin:0;font-size:12px;line-height:14px}
.app .t-meter .t-detective{box-sizing:border-box;width:100%;min-width:0;overflow:hidden}
.app .t-meter-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;box-sizing:border-box;width:100%;max-width:275px;min-width:0;margin:auto}
.app .t-meter-actions>.t-skin-button{box-sizing:border-box;width:100%;min-width:0;height:47px}
.app .t-meter-actions>.t-skin-button>img{display:block;max-width:100%;object-fit:contain}
.app .t-meter-help{margin-top:10px;font-size:11px;line-height:17px;color:#bbb}
.app .t-meter-help summary{min-height:24px;cursor:pointer}
.app .t-meter-help p{margin:7px 0}
.app .t-meme-canvas{display:block;width:100%;height:auto;aspect-ratio:1;border:1px solid #aaa;border-radius:12px;background:#080808;touch-action:none;cursor:grab}
.app .t-meme-image-control{margin:8px 0;padding:6px 10px 2px;border:1px solid #555;border-radius:9px;background:#101010}
.app .t-meme-image-control>div{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;font-weight:700}
.app .t-meme-image-control output{font-variant-numeric:tabular-nums}
.app #t-meme-image-size{display:block;width:100%;height:32px;margin:0;direction:ltr;accent-color:#ed151d;touch-action:pan-y}
.app .t-meme-templates{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px;margin:8px 0 12px}
.app .t-meme-templates>.t-metal{display:flex;flex-direction:column;gap:3px;padding:5px 3px;font-size:11px;min-height:48px}
.app .t-memes>.t-label{margin-top:6px;margin-bottom:5px;font-size:14px}
.app .t-memes>.t-field{font-size:15px;margin-bottom:4px}
.app #t-meme-size{width:100%;accent-color:#ed151d;min-height:28px;margin:0 0 5px}
.app .t-meme-export-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.app .t-meme-gallery article{display:flex;flex-direction:column;gap:8px;margin-bottom:15px;padding-bottom:12px;border-bottom:1px solid #666}
.app .t-meme-gallery article>img{display:block;width:100%;height:auto;border:1px solid #999;border-radius:9px}
.app .t-meme-gallery article>strong{font-size:15px}
@media(prefers-reduced-motion:reduce){.app .t-wheel-rotor{will-change:auto}}
