#ty-account-root[id] { background: rgba(21,34,24,.40); padding: 116px 16px 24px; }
#ty-account-root[id] .ty-account-card { position: relative; width: min(370px,100%); padding: 40px 24px 18px; border: 6px solid #714429; border-radius: 24px; background: radial-gradient(ellipse at top,#fff7da,#f4dcac); box-shadow: 0 0 0 2px #3e271b, inset 0 0 0 2px #fff4ca, inset 0 -8px 0 #dcb67a, 0 8px 0 #3e271bcc, 0 20px 35px #142a2555; }
#ty-account-root[id] .ty-account-card::before, #ty-account-root[id] .ty-account-card::after { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #e6b45e; border: 2px solid #58351d; box-shadow: inset 0 2px 0 #ffdf99; top: 14px; }
#ty-account-root[id] .ty-account-card::before { left: 12px; } #ty-account-root[id] .ty-account-card::after { right: 12px; }
#ty-account-root[id] .ty-account-logo { position: absolute; top: -122px; left: 50%; width: 238px; height: 116px; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; pointer-events: none; }
#ty-account-root[id] .ty-account-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 4px 0 #372d2366); }
#ty-account-root[id] .ty-account-banner { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 170px; padding: 7px 0 8px; background: linear-gradient(#9c6336,#76442a); border: 2px solid #51301d; border-radius: 7px; box-shadow: inset 0 2px 0 #c08b55, 0 3px 0 #38271b; color: #fff0c1; font-size: 19px; font-weight: 900; letter-spacing: 4px; text-shadow: 0 2px 0 #4b2f20; }
#ty-account-root[id] .ty-account-subtitle { margin: 0 0 16px; font-size: 12px; color: #98724e; letter-spacing: 2px; }
#ty-account-root[id] .ty-account-tabs { gap: 12px; margin-bottom: 18px; }
#ty-account-root[id] .ty-account-tabs button { min-height: 43px; padding: 7px; border: 2px solid #887652; border-radius: 8px; color: #88704d; background: #e5d3ad; box-shadow: inset 0 2px 0 #fff2cb, 0 3px 0 #b49a73; font-size: 17px; font-weight: 900; }
#ty-account-root[id] .ty-account-tabs button.active { border-color: #a9752b; color: #7a4519; background: linear-gradient(#ffe2a1,#ffc653); box-shadow: inset 0 2px 0 #fff4c3, inset 0 -3px 0 #e7a237, 0 3px 0 #98612a; text-shadow: 0 1px 0 #ffe8b1; }
#ty-account-root[id] .ty-account-form label:not(.ty-agreement-row label) { text-align: left; margin: 12px 0 6px; color: #725035; font-size: 13px; letter-spacing: 1px; }
#ty-account-root[id] .ty-account-form input:not([type=checkbox]) { height: 44px; border: 2px solid #bb9768; border-radius: 8px; background: #fffbeb; box-shadow: inset 0 2px 3px #96703a22, 0 1px 0 #fff6d9; padding: 0 12px; font-size: 14px; color: #583d26; }
#ty-account-root[id] .ty-account-form input::placeholder { color: #ad977b; font-size: 12px; }
#ty-account-root[id] .ty-account-form input:not([type=checkbox]):focus { border-color: #dd9d32; box-shadow: 0 0 0 3px #e8b34933; }
#ty-account-root[id] .ty-agreement-row { margin-top: 16px; text-align: left; }
#ty-account-root[id] .ty-agreement-row label { font-size: 11px; line-height: 1.8; color: #8d7150; gap: 7px; }
#ty-account-root[id] .ty-agreement-row a { color: #a35f27; padding: 4px 0; }
#ty-account-root[id] .ty-agreement-row input[type=checkbox] { accent-color: #b17c32; }
#ty-account-root[id] .ty-account-error { min-height: 20px; font-size: 12px; margin-top: 8px; }
#ty-account-root[id] .ty-account-submit { height: 49px; margin-top: 0; border: 2px solid #a66d25; border-radius: 10px; background: linear-gradient(#ffe5a0 0%,#ffcc5c 50%,#efad36 100%); color: #774118; text-shadow: 0 1px 0 #ffedae; box-shadow: inset 0 2px 0 #fff4c7, inset 0 -4px 0 #dc8e24, 0 4px 0 #704222; font-size: 18px; letter-spacing: 1px; }
#ty-account-root[id] .ty-account-submit:active:not(:disabled) { transform: translateY(2px); box-shadow: inset 0 2px 0 #fff4c7, 0 2px 0 #704222; }
#ty-account-root[id] button:focus-visible, #ty-account-root[id] a:focus-visible { outline: 2px solid #a86226; outline-offset: 3px; }
#ty-account-root[id] .ty-account-rule { margin: 16px 0 0; color: #a38a68; font-size: 11px; }
@media (max-width:360px) { #ty-account-root[id] .ty-account-card { padding-left: 18px; padding-right: 18px; } }
@media (max-height:650px) { #ty-account-root[id] { padding-top: 100px; align-items: flex-start; } #ty-account-root[id] .ty-account-card { margin: 12px 0; padding-top: 32px; } #ty-account-root[id] .ty-account-logo { width: 200px; height: 95px; top: -104px; } #ty-account-root[id] .ty-account-subtitle { margin-bottom: 10px; } #ty-account-root[id] .ty-account-tabs { margin-bottom: 10px; } #ty-account-root[id] .ty-account-form label:not(.ty-agreement-row label) { margin-top: 7px; } }

#ty-account-root[id] .ty-account-operator { margin-top: 14px; padding-top: 11px; border-top: 1px solid #c9aa7a66; color: #92764f; font-size: 11px; line-height: 1.8; text-align: center; }
#ty-account-root[id] .ty-account-operator a { color: #92764f; text-decoration: underline; text-underline-offset: 2px; }
