*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f0f0f0}#root{min-height:100vh}.with-navbar{padding-bottom:80px}@media (min-width: 801px){.with-navbar{padding-bottom:0}}.home-container{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:40px 20px}.home-content{max-width:1200px;margin:0 auto}.player-name{font-size:2.5rem;color:#fff;margin:0 0 40px;text-shadow:2px 2px 4px rgba(0,0,0,.3);font-weight:700}.characters-section{background:#ffffff1a;border-radius:16px;padding:30px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 8px 32px #0000001a}.characters-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;flex-wrap:wrap;gap:20px}.characters-header h2{font-size:1.8rem;color:#fff;margin:0;font-weight:600}.create-character-btn{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 15px #f5576c4d}.create-character-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #f5576c66}.create-character-btn:active{transform:translateY(0)}.characters-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px}.character-card{background:#fffffff2;border-radius:12px;padding:24px;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 15px #0000001a}.character-card:hover{transform:translateY(-4px);box-shadow:0 8px 25px #00000026}.character-main-info{margin-bottom:16px}.character-name{font-size:1.5rem;color:#2d3748;margin:0 0 8px;font-weight:700}.character-details{display:flex;align-items:center;gap:8px;font-size:1rem;color:#4a5568}.character-level{font-weight:600;color:#667eea}.character-separator{color:#cbd5e0}.character-classe{font-weight:500}.character-adventure{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;padding:12px 16px;display:flex;flex-direction:column;gap:4px}.adventure-label{font-size:.75rem;color:#fffc;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.adventure-name{font-size:1rem;color:#fff;font-weight:600}.empty-state{text-align:center;padding:60px 20px;color:#fff}.empty-state p{font-size:1.1rem;margin:10px 0;opacity:.9}.empty-state p:first-child{font-weight:600;font-size:1.3rem}.game-card .character-details{margin-top:8px}.game-status{padding:4px 12px;border-radius:12px;font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.game-status.active{background-color:#48bb78;color:#fff}.game-status.inactive{background-color:#cbd5e0;color:#4a5568}@media (max-width: 768px){.home-container{padding:20px 15px}.player-name{font-size:2rem;margin-bottom:30px}.characters-section{padding:20px}.characters-header h2{font-size:1.5rem}.characters-list{grid-template-columns:1fr}.character-card{padding:20px}.character-name{font-size:1.3rem}}@media (max-width: 480px){.player-name{font-size:1.8rem}.characters-header{flex-direction:column;align-items:stretch}.create-character-btn{width:100%}}.auth-container{min-height:100vh;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.auth-card{background:#fff;border-radius:12px;box-shadow:0 8px 24px #00000026;padding:40px;width:100%;max-width:420px}.auth-title{font-size:2rem;margin-bottom:30px;text-align:center;color:#333}.auth-form{display:flex;flex-direction:column;gap:20px}.form-group label{font-weight:500;color:#555;font-size:.95rem}.form-group input,.form-group select{padding:12px 16px;border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;transition:all .3s ease;outline:none}.form-group input:focus,.form-group select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group select{cursor:pointer;background-color:#fff}.auth-button{padding:14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;margin-top:10px}.auth-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.auth-button:active{transform:translateY(0)}.auth-link{text-align:center;color:#666;font-size:.95rem;margin-top:10px}.link{color:#667eea;cursor:pointer;font-weight:500;text-decoration:none}.link:hover{text-decoration:underline}.auth-error{background-color:#fee;color:#c33;padding:12px;border-radius:8px;border:1px solid #fcc;font-size:.95rem;margin-bottom:10px}.auth-button:disabled{opacity:.6;cursor:not-allowed}.form-group input:disabled,.form-group select:disabled{background-color:#f5f5f5;cursor:not-allowed}.navbar{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 8px #0000001a;position:sticky;top:0;z-index:100}.navbar-container{max-width:1200px;margin:0 auto;padding:1rem 2rem;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem}.navbar-left{display:flex;justify-content:flex-start}.navbar-center{display:flex;justify-content:center}.navbar-right{display:flex;justify-content:flex-end;position:relative}.navbar-logo{color:#fff;font-size:1.5rem;font-weight:700;margin:0}.back-button{display:flex;align-items:center;gap:.5rem;padding:.6rem 1.2rem;background:#fff3;color:#fff;border:2px solid rgba(255,255,255,.3);border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.back-button:hover{background:#ffffff4d;border-color:#ffffff80;transform:translate(-2px)}.back-button:active{transform:translate(0)}.back-button svg{width:20px;height:20px}.hamburger-button{width:50px;height:50px;background:#fff3;border:2px solid rgba(255,255,255,.3);border-radius:12px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:relative}.hamburger-button:hover{background:#ffffff4d;border-color:#ffffff80;transform:scale(1.05)}.hamburger-line{width:24px;height:3px;background:#fff;border-radius:2px;transition:all .3s ease}.hamburger-button.active .hamburger-line:nth-child(1){transform:translateY(8px) rotate(45deg)}.hamburger-button.active .hamburger-line:nth-child(2){opacity:0}.hamburger-button.active .hamburger-line:nth-child(3){transform:translateY(-8px) rotate(-45deg)}.dropdown-menu{position:absolute;top:calc(100% + 10px);right:0;background:linear-gradient(135deg,#667eea,#764ba2);border:2px solid rgba(255,255,255,.3);border-radius:12px;box-shadow:0 8px 24px #0003;overflow:hidden;min-width:200px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:slideDown .3s ease;z-index:1000}.dropdown-item{width:100%;padding:1rem 1.5rem;background:transparent;border:none;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.75rem;transition:all .2s ease;text-align:left}.dropdown-item:hover{background:#fff3}.dropdown-item svg{flex-shrink:0}.dropdown-item:not(:last-child){border-bottom:1px solid rgba(255,255,255,.1)}.rpg-day{display:flex;align-items:center;gap:.5rem;padding:.6rem 1.5rem;background:#ffffff40;border:2px solid rgba(255,255,255,.4);border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 6px #0000001a}.calendar-icon{color:#fff;flex-shrink:0}.rpg-day-text{color:#fff;font-size:1rem;font-weight:600;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.2)}.navbar-mobile{display:none}@media (max-width: 800px){.navbar{position:fixed;inset:auto 0 0;width:100%}.navbar-desktop{display:none}.navbar-mobile{display:flex;justify-content:space-around;align-items:center;padding:.5rem .5rem .8rem;max-width:1200px;margin:0 auto;width:100%}.nav-quick-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.3rem;background:#ffffff26;border:2px solid rgba(255,255,255,.25);border-radius:12px;color:#fff;padding:.6rem .8rem;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);flex:1;max-width:100px;min-width:70px}.nav-quick-button:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-2px)}.nav-quick-button:active{transform:translateY(0)}.nav-quick-button svg{flex-shrink:0}.nav-quick-button span{font-size:.75rem;font-weight:600;text-align:center;line-height:1.1}}@media (max-width: 400px){.navbar-mobile{padding:.4rem .3rem .6rem}.nav-quick-button{padding:.5rem .4rem;gap:.2rem;min-width:60px}.nav-quick-button svg{width:20px;height:20px}.nav-quick-button span{font-size:.65rem}}@media (max-width: 600px){.navbar-container{grid-template-columns:auto 1fr auto}.rpg-day-text{display:none}.rpg-day{padding:.5rem}}.profile-header{position:relative;width:100%;height:340px;overflow:hidden;background:#f5f5f5;border-radius:0 0 24px 24px;box-shadow:0 4px 12px #0000001a}.profile-background{position:absolute;top:0;left:0;width:100%;height:180px;background:linear-gradient(135deg,#667eea,#764ba2);background-size:cover;background-position:center}.profile-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(180deg,#0000001a,#0000004d)}.profile-options-container{position:absolute;top:16px;right:16px;z-index:10}.profile-options-button{width:40px;height:40px;border:none;border-radius:50%;background:#fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #00000026}.profile-options-button:hover{background:#ffffff4d;transform:scale(1.05);box-shadow:0 4px 12px #00000040}.profile-options-button:active{transform:scale(.95)}.profile-dropdown-menu{position:absolute;top:calc(100% + 10px);right:0;background:linear-gradient(135deg,#667eea,#764ba2);border:2px solid rgba(255,255,255,.3);border-radius:12px;box-shadow:0 8px 24px #0003;overflow:hidden;min-width:200px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:slideDown .3s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.profile-dropdown-item{width:100%;padding:1rem 1.5rem;background:transparent;border:none;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.75rem;transition:all .2s ease;text-align:left}.profile-dropdown-item:hover{background:#fff3}.profile-dropdown-item svg{flex-shrink:0}.profile-content{position:relative;display:flex;flex-direction:column;align-items:center;padding-top:100px;z-index:2}.profile-avatar-container{position:relative;margin-bottom:16px}.profile-avatar{width:140px;height:140px;border-radius:50%;background:#fff;border:6px solid #ffffff;box-shadow:0 8px 24px #00000026;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .3s ease}.profile-avatar:hover{transform:scale(1.05)}.profile-avatar-image{width:100%;height:100%;object-fit:cover}.profile-avatar-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:48px;font-weight:700;text-transform:uppercase}.profile-info{text-align:center;padding:0 20px}.profile-username{font-size:24px;font-weight:700;color:#2d3748;margin-bottom:8px;letter-spacing:-.5px}.profile-stats{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;max-width:600px}.profile-badge{display:inline-flex;align-items:center;padding:8px 18px;color:#fff;border-radius:20px;font-size:14px;font-weight:600;box-shadow:0 3px 10px #0003;transition:transform .2s ease,box-shadow .2s ease}.profile-badge:hover{transform:translateY(-2px);box-shadow:0 5px 15px #0000004d}.profile-level{background:linear-gradient(135deg,#667eea,#764ba2)}.profile-class{background:linear-gradient(135deg,#f093fb,#f5576c)}.profile-race{background:linear-gradient(135deg,#4facfe,#00f2fe)}.profile-deity{background:linear-gradient(135deg,#fa709a,#fee140)}.profile-origin{background:linear-gradient(135deg,#30cfd0,#330867)}.profile-size{background:linear-gradient(135deg,#a8edea,#fed6e3);color:#2d3748}.profile-movement{background:linear-gradient(135deg,#ffecd2,#fcb69f);color:#2d3748}@media (min-width: 800px){.profile-header{height:320px}.profile-background{height:100%}.profile-content{flex-direction:row;align-items:center;justify-content:flex-start;padding-top:0;padding-left:60px;padding-right:60px;height:100%;gap:32px}.profile-avatar-container{margin-bottom:0;flex-shrink:0}.profile-avatar{width:160px;height:160px}.profile-avatar-placeholder{font-size:56px}.profile-info{text-align:left;padding:0;flex-grow:1;max-width:600px}.profile-username{font-size:32px;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.3)}.profile-stats{justify-content:flex-start}}@media (max-width: 768px){.profile-header{height:340px}.profile-background{height:160px}.profile-content{padding-top:80px}.profile-avatar{width:120px;height:120px;border-width:5px}.profile-avatar-placeholder{font-size:42px}.profile-username{font-size:20px}.profile-badge{font-size:13px;padding:6px 14px}.profile-stats{gap:8px}}@media (max-width: 480px){.profile-header{height:340px;border-radius:0 0 16px 16px}.profile-background{height:140px}.profile-content{padding-top:70px;padding-left:12px;padding-right:12px}.profile-avatar{width:100px;height:100px;border-width:4px}.profile-avatar-placeholder{font-size:36px}.profile-username{font-size:18px}.profile-badge{font-size:11px;padding:5px 12px}.profile-stats{gap:6px}}.description-widget{width:100%;padding:0 20px;margin:20px 0;box-sizing:border-box}@media (min-width: 800px){.description-widget{flex-grow:1;padding:0;margin:0}}.description-container{width:100%;display:flex;flex-direction:column;gap:12px}.description-label{font-size:18px;font-weight:700;color:#2d3748;letter-spacing:-.5px}.description-input{width:100%;min-height:60px;max-height:100px;padding:16px;font-family:inherit;font-size:15px;line-height:1.6;color:#2d3748;background:#fff;border:2px solid #e2e8f0;border-radius:12px;resize:none;overflow-y:auto;transition:border-color .3s ease,box-shadow .3s ease;box-sizing:border-box}@media (min-width: 800px){.description-input{height:400px;min-height:400px;max-height:400px;resize:vertical}}.description-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.description-input::placeholder{color:#a0aec0;font-style:italic}.description-input::-webkit-scrollbar{width:10px}.description-input::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.description-input::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:10px}.description-input::-webkit-scrollbar-thumb:hover{background:#a0aec0}@media (max-width: 768px){.description-widget{padding:0 16px;margin:16px 0}.description-label{font-size:16px}.description-input{font-size:14px;padding:14px;min-height:50px}}@media (max-width: 480px){.description-widget{padding:0 12px;margin:12px 0}.description-label{font-size:15px}.description-input{font-size:13px;padding:12px;min-height:45px}}.action-buttons-widget{width:100%;padding:0 20px;margin:20px 0;box-sizing:border-box}@media (min-width: 800px){.action-buttons-widget{max-width:1400px;margin:20px auto}}.action-buttons-container{width:100%;display:flex;flex-direction:row;gap:16px;align-items:stretch}.action-button{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;padding:16px 24px;font-family:inherit;font-size:16px;font-weight:600;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d;min-height:60px}.action-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.action-button:active{transform:translateY(0);box-shadow:0 2px 8px #667eea4d}.notes-button{background:linear-gradient(135deg,#4facfe,#00f2fe);box-shadow:0 4px 12px #4facfe4d}.notes-button:hover{box-shadow:0 6px 16px #4facfe66}.notes-button:active{box-shadow:0 2px 8px #4facfe4d}.backstory-button{background:linear-gradient(135deg,#f093fb,#f5576c);box-shadow:0 4px 12px #f093fb4d}.backstory-button:hover{box-shadow:0 6px 16px #f093fb66}.backstory-button:active{box-shadow:0 2px 8px #f093fb4d}.button-icon{font-size:20px;line-height:1}.button-text{font-size:16px;font-weight:600;letter-spacing:-.3px}@media (max-width: 768px){.action-buttons-widget{padding:0 16px;margin:16px 0}.action-buttons-container{gap:12px}.action-button{padding:14px 20px;font-size:15px;min-height:50px}.button-icon{font-size:18px}.button-text{font-size:15px}}@media (max-width: 480px){.action-buttons-widget{padding:0 12px;margin:12px 0}.action-buttons-container{gap:10px}.action-button{padding:12px 16px;font-size:14px;min-height:45px;gap:8px}.button-icon{font-size:16px}.button-text{font-size:14px}}.currency-widget{width:100%;padding:0 20px;margin:20px 0;box-sizing:border-box}.currency-container{width:100%;background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000f;overflow:hidden}.currency-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #f0f0f0}.currency-title{font-size:20px;font-weight:700;margin:0;color:#2d3748;letter-spacing:-.3px}.currency-actions{display:flex;gap:8px;align-items:center}.action-button{display:flex;align-items:center;gap:6px;padding:10px 16px;background:#f7fafc;color:#4a5568;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap}.action-button:hover{background:#edf2f7;border-color:#cbd5e0;color:#2d3748}.action-button.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:#667eea}.action-button.primary:hover{background:linear-gradient(135deg,#5568d3,#6a4190);border-color:#5568d3;color:#fff}.action-button:active{transform:scale(.98)}.currency-balance{display:flex;padding:24px;gap:16px;background:linear-gradient(135deg,#667eea,#764ba2)}.balance-item{flex:1;display:flex;align-items:center;gap:12px;padding:16px;background:#ffffff26;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.balance-icon{font-size:32px;line-height:1;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.balance-info{display:flex;flex-direction:column;gap:4px;min-width:0}.balance-label{font-size:12px;font-weight:500;color:#ffffffd9;text-transform:uppercase;letter-spacing:.5px}.balance-value{font-size:24px;font-weight:700;color:#fff;line-height:1;text-shadow:0 2px 4px rgba(0,0,0,.1)}.bank-section,.transaction-form,.transaction-history{border-top:1px solid #f0f0f0;animation:slideDown .3s ease}@keyframes slideDown{0%{opacity:0;max-height:0}to{opacity:1;max-height:1000px}}.section-header{padding:16px 24px;background:#f7fafc;border-bottom:1px solid #e2e8f0}.section-header h4{margin:0;font-size:14px;font-weight:700;color:#4a5568;text-transform:uppercase;letter-spacing:.5px}.bank-content{padding:24px}.bank-info{margin-bottom:24px}.bank-description{margin:0 0 16px;color:#4a5568;font-size:14px;line-height:1.6}.bank-balance{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin-top:16px}.bank-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f7fafc;border-radius:8px;border:1px solid #e2e8f0;font-size:14px;color:#4a5568}.bank-item strong{font-size:16px;font-weight:700;color:#2d3748}.bank-actions-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bank-action-btn{padding:14px 20px;border:none;border-radius:10px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease}.bank-action-btn.deposit{background:linear-gradient(135deg,#48bb78,#38a169);color:#fff}.bank-action-btn.deposit:hover{background:linear-gradient(135deg,#38a169,#2f855a);transform:translateY(-2px);box-shadow:0 4px 12px #48bb784d}.bank-action-btn.withdraw{background:linear-gradient(135deg,#ed8936,#dd6b20);color:#fff}.bank-action-btn.withdraw:hover{background:linear-gradient(135deg,#dd6b20,#c05621);transform:translateY(-2px);box-shadow:0 4px 12px #ed89364d}.bank-action-btn:active{transform:translateY(0)}.form-content{padding:24px}.form-group{margin-bottom:20px}.form-group:last-of-type{margin-bottom:24px}.form-group label{display:block;margin-bottom:8px;font-size:13px;font-weight:600;color:#4a5568;text-transform:uppercase;letter-spacing:.3px}.transaction-type-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.type-btn{padding:12px;background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;font-weight:600;color:#4a5568;cursor:pointer;transition:all .2s ease}.type-btn:hover{border-color:#cbd5e0;background:#edf2f7}.type-btn.active.income{background:#e6fffa;border-color:#48bb78;color:#2f855a}.type-btn.active.expense{background:#fff5f5;border-color:#f56565;color:#c53030}.form-select,.form-input{width:100%;padding:12px 16px;font-size:14px;font-family:inherit;color:#2d3748;background:#fff;border:2px solid #e2e8f0;border-radius:8px;transition:all .2s ease;box-sizing:border-box}.form-select:focus,.form-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-select{cursor:pointer}.currency-inputs{display:flex;flex-direction:column;gap:12px}.currency-input-item{display:flex;align-items:center;gap:12px;padding:14px;background:#f7fafc;border:2px solid #e2e8f0;border-radius:10px;transition:all .2s ease}.currency-input-item:focus-within{border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.currency-input-icon{font-size:28px;line-height:1;flex-shrink:0}.currency-input-wrapper{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}.currency-input-label{font-size:11px;font-weight:600;color:#718096;text-transform:uppercase;letter-spacing:.5px;margin:0}.form-input.currency-amount{border:none;background:transparent;padding:0;font-size:18px;font-weight:700;color:#2d3748}.form-input.currency-amount:focus{box-shadow:none;border:none}.submit-transaction-btn{width:100%;padding:14px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.submit-transaction-btn:hover{background:linear-gradient(135deg,#5568d3,#6a4190);transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.submit-transaction-btn:active{transform:translateY(0);box-shadow:0 2px 8px #667eea4d}.history-list{max-height:300px;overflow-y:auto;padding:8px}.transaction-item{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:6px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;transition:all .2s ease}.transaction-item:hover{background:#f7fafc;border-color:#cbd5e0;transform:translate(4px)}.transaction-item:last-child{margin-bottom:0}.transaction-icon{font-size:24px;line-height:1;flex-shrink:0}.transaction-info{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}.transaction-description{font-size:14px;font-weight:600;color:#2d3748;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transaction-date{font-size:12px;color:#718096}.transaction-amount{font-size:16px;font-weight:700;flex-shrink:0}.transaction-amount.income{color:#48bb78}.transaction-amount.expense{color:#f56565}.empty-history{padding:40px 20px;text-align:center;color:#a0aec0;font-size:14px}.history-list::-webkit-scrollbar{width:6px}.history-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.history-list::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}.history-list::-webkit-scrollbar-thumb:hover{background:#a0aec0}@media (max-width: 768px){.currency-widget{padding:0 16px;margin:16px 0}.currency-header{padding:16px 20px}.currency-title{font-size:18px}.currency-actions{gap:6px}.action-button{padding:8px 12px;font-size:13px;gap:4px}.currency-balance{flex-direction:column;padding:20px;gap:12px}.balance-item{padding:14px}.balance-icon{font-size:28px}.balance-value{font-size:22px}.section-header{padding:14px 20px}.bank-content,.form-content{padding:20px}.bank-balance,.bank-actions-buttons{grid-template-columns:1fr}.transaction-item{padding:12px 14px}.transaction-icon{font-size:22px}.transaction-description{font-size:13px}.transaction-amount{font-size:15px}}@media (max-width: 480px){.currency-widget{padding:0 12px;margin:12px 0}.currency-header{padding:14px 16px}.currency-title{font-size:17px}.currency-actions{gap:4px;flex-wrap:wrap}.action-button{padding:7px 10px;font-size:12px;gap:3px}.currency-balance{padding:16px;gap:10px}.balance-item{padding:12px;gap:10px}.balance-icon{font-size:24px}.balance-label{font-size:11px}.balance-value{font-size:20px}.section-header{padding:12px 16px}.section-header h4{font-size:13px}.bank-content,.form-content{padding:16px}.form-group{margin-bottom:16px}.currency-input-item{padding:12px}.currency-input-icon{font-size:24px}.form-input.currency-amount{font-size:16px}.bank-action-btn,.submit-transaction-btn{padding:12px 16px;font-size:14px}.transaction-item{padding:10px 12px}.transaction-icon{font-size:20px}.transaction-description{font-size:12px}.transaction-date{font-size:11px}.transaction-amount{font-size:14px}}.transaction-header-row{display:flex;align-items:center;gap:8px;margin-bottom:4px;flex-wrap:wrap}.transaction-type-badge{display:inline-block;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.3px}.transaction-type-badge.income{background:#d1fae5;color:#065f46}.transaction-type-badge.expense{background:#fee2e2;color:#991b1b}.transaction-category{font-size:12px;color:#6b7280;font-weight:500}.transaction-notes{font-size:12px;color:#6b7280;font-style:italic;margin-top:2px;display:block}.transaction-content{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;width:100%}.transaction-amount-wrapper{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0}.transaction-delete-mini-btn{padding:4px 8px;background:transparent;border:1px solid #e5e7eb;border-radius:4px;font-size:14px;cursor:pointer;transition:all .2s ease}.transaction-delete-mini-btn:hover{background:#fee2e2;border-color:#ef4444;transform:scale(1.1)}.modal-overlay{position:fixed;inset:0;background-color:#0009;display:flex;justify-content:center;align-items:center;z-index:1000;padding:1rem;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-container{background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000040;display:flex;flex-direction:column;max-height:90vh;animation:slideUp .3s ease-out;position:relative}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-small{width:100%;max-width:400px}.modal-medium{width:100%;max-width:600px}.modal-large{width:100%;max-width:900px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e7eb;flex-shrink:0}.modal-title{font-size:1.5rem;font-weight:600;color:#1f2937;margin:0}.modal-close-button{background:none;border:none;font-size:2rem;color:#6b7280;cursor:pointer;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease;line-height:1}.modal-close-button:hover{background-color:#f3f4f6;color:#1f2937}.modal-close-button:active{transform:scale(.95)}.modal-content{padding:1.5rem;overflow-y:auto;flex:1}.modal-content::-webkit-scrollbar{width:8px}.modal-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.modal-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.modal-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.modal-form{display:flex;flex-direction:column;gap:1.25rem}.modal-form-group{display:flex;flex-direction:column;gap:.5rem}.modal-form-label{font-size:.875rem;font-weight:500;color:#374151}.modal-form-input,.modal-form-select,.modal-form-textarea{width:100%;max-width:100%;padding:.5rem;border:1px solid #d1d5db;border-radius:6px;font-size:.9375rem;font-family:inherit;box-sizing:border-box;transition:border-color .2s ease,box-shadow .2s ease;word-wrap:break-word;overflow-wrap:break-word}.modal-form-input:focus,.modal-form-select:focus,.modal-form-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.modal-form-textarea{min-height:100px;resize:vertical}.modal-form-textarea-small{min-height:60px;max-height:120px;resize:vertical;line-height:1.4;overflow-y:auto}.modal-form-row{display:grid;grid-template-columns:1fr;gap:1rem}.modal-form-row-2{grid-template-columns:1fr 1fr}.modal-form-row-3{grid-template-columns:1fr 1fr 1fr}.modal-form-divider{display:flex;align-items:center;margin:.5rem 0 1rem;gap:1rem}.modal-form-divider:before,.modal-form-divider:after{content:"";flex:1;height:1px;background:#e0e0e0}.modal-form-divider span{font-size:.875rem;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px}.modal-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.modal-button{padding:.625rem 1.25rem;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease}.modal-button-primary{background-color:#3b82f6;color:#fff}.modal-button-primary:hover{background-color:#2563eb}.modal-button-primary:active{transform:scale(.98)}.modal-button-secondary{background-color:#f3f4f6;color:#374151}.modal-button-secondary:hover{background-color:#e5e7eb}.modal-button-secondary:active{transform:scale(.98)}.modal-button-danger{background-color:#ef4444;color:#fff}.modal-button-danger:hover{background-color:#dc2626}.modal-button-danger:active{transform:scale(.98)}@media (max-width: 800px){.modal-overlay{padding:0;align-items:flex-end}.modal-container{width:100%!important;max-width:100%!important;max-height:95vh;border-radius:12px 12px 0 0;animation:slideUpMobile .3s ease-out}@keyframes slideUpMobile{0%{transform:translateY(100%)}to{transform:translateY(0)}}.modal-header{padding:1.25rem}.modal-title{font-size:1.25rem}.modal-content{padding:1.25rem}.modal-form-row,.modal-form-row-2,.modal-form-row-3{grid-template-columns:1fr;gap:.75rem}.modal-form{gap:1rem}.modal-form-input,.modal-form-select,.modal-form-textarea{padding:.4rem;font-size:.875rem;min-width:0}.modal-form-textarea{min-height:80px}.modal-form-textarea-small{min-height:50px;max-height:100px;line-height:1.3}.modal-actions{flex-direction:column-reverse}.modal-button{width:100%}}@media (max-width: 480px){.modal-header{padding:1rem}.modal-title{font-size:1.125rem}.modal-content{padding:1rem}.modal-form{gap:1rem}}.backpack-widget{width:100%;padding:0 20px;margin:20px 0;box-sizing:border-box}.backpack-container{width:100%;background:#fff;border-radius:16px;box-shadow:0 4px 16px #00000014;overflow:hidden}.backpack-header{background:linear-gradient(135deg,#667eea,#764ba2);padding:24px;color:#fff}.backpack-title{font-size:24px;font-weight:700;margin:0 0 20px;letter-spacing:-.5px}.backpack-stats{display:flex;flex-direction:column;gap:16px}.ammo-stats{display:flex;gap:24px;flex-wrap:wrap}.ammo-item{display:flex;align-items:center;gap:8px;background:#ffffff26;padding:10px 16px;border-radius:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.ammo-item-clickable{cursor:pointer;transition:all .2s ease}.ammo-item-clickable:hover{background:#ffffff40;transform:translateY(-1px);box-shadow:0 2px 8px #00000026}.ammo-item-clickable:active{transform:translateY(0)}.ammo-icon{font-size:20px;line-height:1}.ammo-label{font-size:14px;font-weight:500;opacity:.9}.ammo-value{font-size:16px;font-weight:700;margin-left:4px}.ammo-controls{display:flex;align-items:center;gap:6px}.ammo-btn{width:24px;height:24px;border:none;border-radius:4px;background:#ffffff40;color:#fff;font-size:16px;font-weight:700;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;line-height:1;padding:0}.ammo-btn:hover:not(:disabled){background:#ffffff59;transform:scale(1.05)}.ammo-btn:active:not(:disabled){transform:scale(.95)}.ammo-btn:disabled{opacity:.3;cursor:not-allowed}.ammo-controls .ammo-value{min-width:30px;text-align:center;margin:0}.capacity-stats{display:flex;flex-direction:column}.capacity-bar-container{width:100%}.capacity-labels{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.capacity-label{font-size:14px;font-weight:500;opacity:.9}.capacity-value{font-size:16px;font-weight:700}.capacity-value.overloaded{color:#ff6b6b;animation:pulse 1.5s ease-in-out infinite}.capacity-max{display:inline-block}.capacity-max.editable{cursor:pointer;padding:2px 6px;border-radius:4px;transition:background-color .2s ease}.capacity-max.editable:hover{background-color:#ffffff40}.capacity-input{width:60px;padding:2px 6px;border:2px solid rgba(255,255,255,.5);border-radius:4px;background:#ffffffe6;color:#2d3748;font-size:16px;font-weight:700;text-align:center;outline:none;transition:all .2s ease}.capacity-input:focus{border-color:#fff;box-shadow:0 0 0 3px #ffffff4d}.capacity-bar{width:100%;height:12px;background:#fff3;border-radius:6px;overflow:hidden}.capacity-fill{height:100%;background:linear-gradient(90deg,#4ade80,#22c55e);border-radius:6px;transition:width .3s ease}.capacity-fill.overloaded{background:linear-gradient(90deg,#ff6b6b,#ff5252)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.backpack-items{padding:24px}.empty-backpack{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:#a0aec0}.empty-icon{font-size:64px;margin-bottom:16px;opacity:.5}.empty-text{font-size:16px;font-weight:500;margin:0}.items-table{width:100%}.items-header{display:grid;grid-template-columns:1.5fr 2.5fr 1fr .8fr .8fr .8fr .9fr;gap:16px;padding:12px 16px;background:#f7fafc;border-radius:8px;margin-bottom:8px}.items-body{display:flex;flex-direction:column;gap:8px}.item-row{display:grid;grid-template-columns:1.5fr 2.5fr 1fr .8fr .8fr .8fr .9fr;gap:16px;padding:16px;background:#fff;border:2px solid #e2e8f0;border-radius:8px;transition:all .2s ease}.item-row:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea1a;transform:translateY(-1px)}.item-col{display:flex;align-items:center;font-size:14px;overflow:hidden}.item-name-col{font-weight:600;color:#2d3748}.item-description-col{color:#4a5568}.item-category-col{justify-content:center;color:#718096;font-weight:500}.item-price-col{justify-content:center;font-weight:600;color:#48bb78}.item-quantity-col,.item-slots-col{justify-content:center;font-weight:600;color:#667eea}.item-total-load-col{justify-content:center;font-weight:700;color:#8b5cf6;font-size:15px}.item-actions-col{justify-content:center}.items-header .item-col{font-size:12px;font-weight:700;color:#4a5568;text-transform:uppercase;letter-spacing:.5px}.items-header .item-category-col,.items-header .item-price-col,.items-header .item-quantity-col,.items-header .item-slots-col,.items-header .item-total-load-col,.items-header .item-actions-col{justify-content:center}.item-action-buttons{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.item-action-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#f7fafc;border:2px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .2s ease;padding:0;font-size:16px;line-height:1}.item-action-btn:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.item-action-btn:active{transform:translateY(0)}.item-action-edit{border-color:#667eea}.item-action-edit:hover{background:#667eea;border-color:#667eea;filter:brightness(1.1)}.item-action-delete{border-color:#e94560}.item-action-delete:hover{background:#e94560;border-color:#e94560;filter:brightness(1.1)}.item-action-move{border-color:#48bb78}.item-action-move:hover{background:#48bb78;border-color:#48bb78;filter:brightness(1.1)}.item-action-sell{border-color:#f59e0b}.item-action-sell:hover{background:#f59e0b;border-color:#f59e0b;filter:brightness(1.1)}.item-action-consume{border-color:#8b5cf6}.item-action-consume:hover{background:#8b5cf6;border-color:#8b5cf6;filter:brightness(1.1)}.add-item-container{margin-top:24px;padding-top:16px;border-top:2px dashed #e2e8f0}.add-item-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff!important;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #667eea4d}.add-item-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.add-item-button:active{transform:translateY(0);box-shadow:0 2px 8px #667eea4d}.add-item-icon{font-size:24px;font-weight:700;line-height:1;color:#fff!important}.add-item-text{line-height:1;color:#fff!important}@media (min-width: 800px){.backpack-widget{padding:0 20px}.backpack-stats{flex-direction:row;justify-content:space-between;align-items:center}.capacity-stats{flex:1;max-width:400px}}@media (max-width: 768px){.backpack-widget{padding:0 16px;margin:16px 0}.backpack-header{padding:20px}.backpack-title{font-size:20px}.backpack-items{padding:20px}.items-header{display:none}.item-row{grid-template-columns:1fr;gap:8px}.item-col{justify-content:flex-start}.item-col:before{content:attr(data-label);font-weight:700;margin-right:8px;color:#4a5568}.item-name-col:before{content:"Nome: "}.item-description-col:before{content:"Descrição: "}.item-category-col:before{content:"Categoria: "}.item-price-col:before{content:"Preço: "}.item-quantity-col:before{content:"Quantidade: "}.item-slots-col:before{content:"Slots/Un: "}.item-total-load-col:before{content:"Carga Total: "}.item-actions-col{justify-content:center}.item-actions-col:before{content:none}.item-action-buttons{justify-content:center}}@media (max-width: 480px){.backpack-widget{padding:0 12px;margin:12px 0}.backpack-header{padding:16px}.backpack-title{font-size:18px;margin-bottom:16px}.backpack-items{padding:16px}.ammo-stats{gap:12px}.ammo-item{padding:8px 12px}.ammo-icon{font-size:18px}.ammo-label{font-size:13px}.ammo-value{font-size:14px}}.item-row-clickable{cursor:pointer;transition:background-color .2s ease,transform .1s ease}.item-row-clickable:hover{background-color:#f8f9fa;transform:translateY(-1px)}.item-row-clickable:active{transform:translateY(0)}.item-details-modal{display:flex;flex-direction:column;gap:24px}.item-details-content{display:flex;flex-direction:column;gap:20px}.item-detail-row{display:flex;flex-direction:column;gap:6px}.item-detail-label{font-size:12px;font-weight:600;text-transform:uppercase;color:#6c757d;letter-spacing:.5px}.item-detail-value{font-size:15px;color:#212529;font-weight:500}.item-detail-description{line-height:1.6;color:#495057;background:#f8f9fa;padding:12px;border-radius:8px;border-left:3px solid #667eea}.item-specific-section{margin-top:16px;padding:16px;background:#f8f9fa;border-radius:8px;border-left:4px solid #667eea}.item-specific-title{font-size:14px;font-weight:700;color:#495057;text-transform:uppercase;letter-spacing:.5px;margin:0 0 16px;display:flex;align-items:center;gap:8px}.item-specific-title .section-icon{font-size:20px;line-height:1}.item-weapon-section{border-left-color:#ef4444;background:linear-gradient(135deg,#fef2f2,#fee2e2)}.item-weapon-section .item-specific-title{color:#dc2626}.item-armor-section{border-left-color:#3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe)}.item-armor-section .item-specific-title{color:#2563eb}.item-consumable-section{border-left-color:#10b981;background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.item-consumable-section .item-specific-title{color:#059669}.item-effect-section{margin-top:8px;padding:16px;background:linear-gradient(135deg,#e0f2fe,#dbeafe);border-radius:8px;border-left:4px solid #10b981}.item-effect-section .item-detail-label{color:#059669;display:flex;align-items:center;gap:6px}.item-effect-section .item-detail-label:before{content:"✨";font-size:16px}.item-detail-effect{line-height:1.6;color:#047857;font-weight:500;margin:0;padding:8px 0 0}.item-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;background:#f8f9fa;padding:16px;border-radius:8px}.item-details-actions{border-top:1px solid #e9ecef;padding-top:20px}.item-details-actions-title{font-size:16px;font-weight:600;color:#212529;margin:0 0 16px}.item-details-actions-buttons{display:flex;flex-wrap:wrap;gap:12px}.item-details-action-btn{display:flex;align-items:center;gap:8px;padding:12px 20px;border:2px solid transparent;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;flex:1;min-width:140px;justify-content:center;background:#f8f9fa;color:#495057}.item-details-action-btn:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.item-details-action-btn:active{transform:translateY(0)}.item-details-action-btn .action-icon{font-size:18px;line-height:1}.item-details-action-btn .action-label{font-size:14px;font-weight:600}.item-details-action-edit{border-color:#3b82f6;background:linear-gradient(135deg,#60a5fa,#3b82f6);color:#fff}.item-details-action-edit:hover{background:linear-gradient(135deg,#3b82f6,#2563eb)}.item-details-action-delete{border-color:#ef4444;background:linear-gradient(135deg,#f87171,#ef4444);color:#fff}.item-details-action-delete:hover{background:linear-gradient(135deg,#ef4444,#dc2626)}.item-details-action-move{border-color:#8b5cf6;background:linear-gradient(135deg,#a78bfa,#8b5cf6);color:#fff}.item-details-action-move:hover{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.item-details-action-sell{border-color:#f59e0b;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff}.item-details-action-sell:hover{background:linear-gradient(135deg,#f59e0b,#d97706)}.item-details-action-consume{border-color:#10b981;background:linear-gradient(135deg,#34d399,#10b981);color:#fff}.item-details-action-consume:hover{background:linear-gradient(135deg,#10b981,#059669)}@media (max-width: 768px){.item-details-grid{grid-template-columns:1fr}.item-details-actions-buttons{flex-direction:column}.item-details-action-btn{min-width:100%}}.proficiencies-widget{width:100%;padding:0 20px;margin:20px 0;box-sizing:border-box}@media (min-width: 800px){.proficiencies-widget{padding:0;margin:0}}.proficiencies-container{width:100%;display:flex;flex-direction:column;gap:12px}.proficiencies-label{font-size:18px;font-weight:700;color:#2d3748;letter-spacing:-.5px}.proficiencies-input{width:100%;height:400px;padding:16px;font-family:inherit;font-size:15px;line-height:1.6;color:#2d3748;background:#fff;border:2px solid #e2e8f0;border-radius:12px;resize:vertical;overflow-y:auto;transition:border-color .3s ease,box-shadow .3s ease;box-sizing:border-box}.proficiencies-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.proficiencies-input::placeholder{color:#a0aec0;font-style:italic}.proficiencies-input::-webkit-scrollbar{width:10px}.proficiencies-input::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.proficiencies-input::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:10px}.proficiencies-input::-webkit-scrollbar-thumb:hover{background:#a0aec0}@media (max-width: 768px){.proficiencies-widget{padding:0 16px;margin:16px 0}.proficiencies-label{font-size:16px}.proficiencies-input{font-size:14px;padding:14px;height:350px}}@media (max-width: 480px){.proficiencies-widget{padding:0 12px;margin:12px 0}.proficiencies-label{font-size:15px}.proficiencies-input{font-size:13px;padding:12px;height:300px}}.profile-container{min-height:calc(100vh - 70px);background:#f7fafc}.profile-container h1{font-size:3rem;color:#667eea;text-align:center}.profile-content-row{display:flex;flex-direction:column;width:100%;gap:0}@media (min-width: 800px){.profile-content-row{flex-direction:row;align-items:flex-start;gap:20px;padding:0 20px;max-width:1400px;margin:0 auto;box-sizing:border-box}.profile-content-row>*{flex:1;min-width:0}}.notes-container{min-height:calc(100vh - 70px);background:#f7fafc;padding:40px 20px;box-sizing:border-box}.notes-content{max-width:900px;margin:0 auto}.notes-header{margin-bottom:30px;display:flex;justify-content:space-between;align-items:center;gap:20px}.notes-title{font-size:2.5rem;font-weight:800;color:#2d3748;margin:0 0 8px;letter-spacing:-1px;text-align:left}.notes-subtitle{font-size:1.1rem;color:#718096;margin:0;font-weight:400;text-align:left}.btn-add-note{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:12px 24px;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap;box-shadow:0 4px 12px #667eea4d}.btn-add-note:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.btn-add-note:active{transform:translateY(0)}.notes-editor{background:#fff;border-radius:16px;box-shadow:0 4px 6px #0000000d,0 1px 3px #0000001a;padding:24px;min-height:500px}.notes-textarea{width:100%;min-height:450px;padding:0;font-family:inherit;font-size:16px;line-height:1.8;color:#2d3748;background:transparent;border:none;resize:none;overflow:hidden;box-sizing:border-box}.notes-textarea:focus{outline:none}.notes-textarea::placeholder{color:#a0aec0;font-style:italic;line-height:1.8}.notes-list{display:flex;flex-direction:column;gap:20px}.notes-section-title{font-size:1.3rem;font-weight:700;color:#2d3748;margin:20px 0 10px}.note-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #00000014;transition:all .3s ease;border-left:4px solid #cbd5e0}.note-card.pinned{border-left-color:#667eea;background:linear-gradient(135deg,#fff,#f7f9ff)}.note-card:hover{box-shadow:0 4px 16px #0000001f;transform:translateY(-2px)}.note-card.collapsed{padding:12px 20px;transition:all .3s ease;cursor:pointer;border-left-width:3px}.note-card.collapsed .note-card-header{margin-bottom:0}.note-card.collapsed .note-card-title{font-size:1rem;margin:0;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.note-card-title.note-preview{font-weight:400;font-style:italic;color:#4a5568}.note-card.collapsed:hover{transform:translateY(0);box-shadow:0 2px 12px #00000026;border-left-width:4px}.note-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:12px;transition:all .3s ease}.note-card.collapsed .note-card-header{align-items:center;margin-bottom:0}.note-card-title-container{flex:1;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;overflow:hidden}.note-card.collapsed .note-card-title-container{flex-wrap:nowrap}.note-card-title{font-size:1.25rem;font-weight:700;color:#2d3748;margin:0;flex-shrink:1;min-width:0}.note-category{display:inline-block;padding:4px 12px;border-radius:20px;font-size:.85rem;font-weight:600;width:fit-content;flex-basis:100%;order:3}.category-quest{background:#e6f2ff;color:#06c}.category-npc{background:#ffe6f0;color:#c06}.category-location{background:#f0e6ff;color:#60c}.category-lore{background:#fff4e6;color:#c60}.category-combat{background:#ffe6e6;color:#c00}.category-general{background:#e6ffe6;color:#0c0}.note-card-actions{display:flex;gap:8px;flex-shrink:0}.btn-icon{background:transparent;border:none;font-size:1.2rem;cursor:pointer;padding:4px 8px;border-radius:6px;transition:all .2s ease;opacity:.7;display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px}.btn-collapse{flex-shrink:0}.btn-icon:hover{opacity:1;background:#f7fafc}.btn-icon.delete:hover{background:#fee}.btn-icon.pin-active{opacity:1;color:#667eea}.note-card-content{color:#4a5568;line-height:1.8;margin-bottom:12px;white-space:pre-wrap;word-wrap:break-word;animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.note-card-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.note-tag{display:inline-block;padding:4px 10px;background:#edf2f7;color:#4a5568;border-radius:12px;font-size:.85rem;font-weight:500}.note-card-footer{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #e2e8f0}.note-date{font-size:.85rem;color:#a0aec0}.notes-empty-state{text-align:center;padding:60px 20px;background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000d}.notes-empty-icon{font-size:4rem;margin-bottom:16px}.notes-empty-title{font-size:1.5rem;font-weight:700;color:#2d3748;margin:0 0 8px}.notes-empty-text{font-size:1rem;color:#718096;margin:0 0 24px}.note-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:#2d3748;font-size:.95rem}.form-group input,.form-group textarea,.form-group select{padding:10px 14px;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;font-family:inherit;transition:all .2s ease}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{resize:vertical;min-height:120px}.tags-input-container{display:flex;gap:8px}.tags-input-container input{flex:1}.add-tag-button{background:#667eea;color:#fff;border:none;padding:10px 16px;border-radius:8px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s ease}.add-tag-button:hover{background:#5568d3}.tags-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.tag{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:#edf2f7;color:#4a5568;border-radius:16px;font-size:.9rem;font-weight:500}.remove-tag-button{background:transparent;border:none;font-size:1.2rem;cursor:pointer;color:#718096;padding:0;line-height:1;transition:color .2s ease}.remove-tag-button:hover{color:#e53e3e}.checkbox-group{flex-direction:row;align-items:center}.checkbox-group label{display:flex;align-items:center;gap:8px;cursor:pointer}.checkbox-group input[type=checkbox]{width:18px;height:18px;cursor:pointer}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:8px}.btn-cancel{padding:10px 24px;border:2px solid #e2e8f0;background:#fff;color:#4a5568;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-cancel:hover{background:#f7fafc;border-color:#cbd5e0}.btn-submit{padding:10px 24px;border:none;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #667eea4d}.btn-submit:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.btn-submit:active{transform:translateY(0)}@media (max-width: 768px){.notes-container{padding:24px 16px}.notes-header{flex-direction:column;align-items:flex-start}.notes-title{font-size:2rem}.notes-subtitle{font-size:1rem}.btn-add-note{width:100%}.notes-editor{padding:20px;min-height:400px;border-radius:12px}.notes-textarea{font-size:15px;min-height:350px}.note-card{padding:16px}.note-card-header{gap:8px}.note-card-actions{justify-content:flex-end}}@media (max-width: 480px){.notes-container{padding:20px 12px}.notes-title{font-size:1.75rem}.notes-subtitle{font-size:.95rem}.notes-editor{padding:16px;min-height:350px}.notes-textarea{font-size:14px;min-height:300px}.note-card-title{font-size:1.1rem}.btn-icon{font-size:1rem;padding:4px 6px;min-width:28px;min-height:28px}.note-card.collapsed{padding:10px 16px}.note-card.collapsed .note-card-title{font-size:.95rem}.form-actions{flex-direction:column}.btn-cancel,.btn-submit{width:100%}}.backstory-widget{width:100%;padding:0 20px;margin:20px 0;box-sizing:border-box}@media (min-width: 800px){.backstory-widget{flex-grow:1;padding:0;margin:20px 0}}.backstory-container{width:100%;display:flex;flex-direction:column;gap:12px}.backstory-label{font-size:18px;font-weight:700;color:#2d3748;letter-spacing:-.5px}.backstory-input{width:100%;min-height:60px;padding:16px;font-family:inherit;font-size:15px;line-height:1.6;color:#2d3748;background:#fff;border:2px solid #e2e8f0;border-radius:12px;resize:none;overflow:hidden;transition:border-color .3s ease,box-shadow .3s ease;box-sizing:border-box}.backstory-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.backstory-input::placeholder{color:#a0aec0;font-style:italic}@media (max-width: 768px){.backstory-widget{padding:0 16px;margin:16px 0}.backstory-label{font-size:16px}.backstory-input{font-size:14px;padding:14px;min-height:50px}}@media (max-width: 480px){.backstory-widget{padding:0 12px;margin:12px 0}.backstory-label{font-size:15px}.backstory-input{font-size:13px;padding:12px;min-height:45px}}.backstory-privacy{display:flex;flex-direction:column;gap:8px;margin-top:4px}.backstory-privacy-button{padding:12px 20px;font-size:14px;font-weight:600;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px #667eea4d;align-self:flex-start}.backstory-privacy-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.backstory-privacy-button:active{transform:translateY(0)}.backstory-privacy-button.secret{background:linear-gradient(135deg,#718096,#4a5568);box-shadow:0 2px 8px #7180964d}.backstory-privacy-button.secret:hover{box-shadow:0 4px 12px #71809666}.backstory-privacy-description{font-size:13px;color:#718096;margin:0;line-height:1.5;font-style:italic}@media (max-width: 768px){.backstory-privacy-button{padding:10px 16px;font-size:13px}.backstory-privacy-description{font-size:12px}}@media (max-width: 480px){.backstory-privacy-button{padding:9px 14px;font-size:12px}.backstory-privacy-description{font-size:11px}}.backstory-page-container{min-height:calc(100vh - 70px);background:#f7fafc;padding:40px 20px;box-sizing:border-box}.backstory-page-content{max-width:900px;margin:0 auto}.backstory-page-header{margin-bottom:30px;text-align:center}.backstory-page-title{font-size:2.5rem;font-weight:800;color:#2d3748;margin:0 0 12px;letter-spacing:-1px}.backstory-page-subtitle{font-size:1.1rem;color:#718096;font-weight:400;max-width:700px;margin:0 auto}.backstory-page-editor{background:#fff;border-radius:16px;box-shadow:0 4px 6px #0000000d,0 1px 3px #0000001a;padding:24px;min-height:500px}.backstory-page-editor .backstory-widget{padding:0;margin:0}.backstory-page-editor .backstory-input{min-height:450px;border:none;border-radius:0;padding:0;box-shadow:none}.backstory-page-editor .backstory-input:focus{border:none;box-shadow:none}.backstory-page-editor .backstory-label{display:none}@media (max-width: 768px){.backstory-page-container{padding:24px 16px}.backstory-page-title{font-size:2rem}.backstory-page-subtitle{font-size:1rem}.backstory-page-editor{padding:20px;min-height:400px;border-radius:12px}.backstory-page-editor .backstory-input{min-height:350px;font-size:15px}}@media (max-width: 480px){.backstory-page-container{padding:20px 12px}.backstory-page-title{font-size:1.75rem}.backstory-page-subtitle{font-size:.95rem}.backstory-page-editor{padding:16px;min-height:350px}.backstory-page-editor .backstory-input{min-height:300px;font-size:14px}}.health-bar-container{background:linear-gradient(135deg,#fff,#f8f9fa);border-radius:16px;padding:1.5rem;border:2px solid #e2e8f0;box-shadow:0 4px 12px #00000014;transition:all .3s ease}.health-bar-container:hover{box-shadow:0 6px 16px #0000001f;border-color:#cbd5e0}.health-bar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.health-label-section{display:flex;align-items:center;gap:.75rem}.health-icon{color:#e53e3e;animation:heartbeat 2s ease-in-out infinite}@keyframes heartbeat{0%,to{transform:scale(1)}10%,30%{transform:scale(1.1)}20%,40%{transform:scale(1)}}.health-label{font-size:1.1rem;font-weight:600;color:#2d3748}.health-values{display:flex;align-items:center;gap:.5rem;font-size:1.5rem;font-weight:700}.hp-current{color:#2d3748;cursor:pointer;padding:.25rem .5rem;border-radius:8px;transition:all .2s ease;min-width:60px;text-align:center}.hp-current:hover{background:#edf2f7;color:#667eea}.hp-separator{color:#a0aec0}.hp-max{color:#718096}.hp-temp{font-size:.9rem;color:#805ad5;background:#faf5ff;padding:.25rem .75rem;border-radius:8px;border:1px solid #d6bcfa;font-weight:600}.hp-input{width:80px;padding:.25rem .5rem;border:2px solid #667eea;border-radius:8px;font-size:1.5rem;font-weight:700;text-align:center;color:#2d3748;background:#fff}.hp-input:focus{outline:none;border-color:#764ba2;box-shadow:0 0 0 3px #667eea1a}.health-bar-wrapper{margin-bottom:1rem}.health-bar-background{width:100%;height:32px;background:#e2e8f0;border-radius:16px;overflow:hidden;position:relative;box-shadow:inset 0 2px 4px #0000001a}.health-bar-fill{height:100%;border-radius:16px;transition:width .5s ease,background-color .5s ease;position:relative;overflow:hidden;z-index:2}.health-bar-shine{position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:shine 3s ease-in-out infinite}@keyframes shine{0%{left:-100%}50%{left:100%}to{left:100%}}.health-bar-temp{height:100%;background:repeating-linear-gradient(45deg,#9f7aea,#9f7aea 10px,#b794f4 10px 20px);position:absolute;top:0;left:0;transition:width .5s ease;opacity:.8;z-index:1;border-radius:16px}.health-bar-actions{display:flex;gap:.75rem;align-items:center}.hp-action-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1rem;border:none;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;flex:1}.hp-heal{background:linear-gradient(135deg,#4ecca3,#48bb78);color:#fff}.hp-heal:hover{transform:translateY(-2px);box-shadow:0 4px 12px #4ecca366}.hp-heal:active{transform:translateY(0)}.hp-damage{background:linear-gradient(135deg,#fc5c65,#e53e3e);color:#fff}.hp-damage:hover{transform:translateY(-2px);box-shadow:0 4px 12px #fc5c6566}.hp-damage:active{transform:translateY(0)}.temp-hp-section{flex:2}.hp-temp-btn{background:linear-gradient(135deg,#9f7aea,#805ad5);color:#fff;width:100%}.hp-temp-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #9f7aea66}.hp-temp-btn:active{transform:translateY(0)}.temp-hp-input{width:100%;padding:.625rem 1rem;border:2px solid #9f7aea;border-radius:10px;font-size:.9rem;font-weight:600;text-align:center;color:#2d3748;background:#fff}.temp-hp-input:focus{outline:none;border-color:#805ad5;box-shadow:0 0 0 3px #9f7aea1a}.hp-status{display:inline-block;padding:.25rem .5rem;border-radius:6px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-left:.5rem}.hp-status.fallen{background:#4a5568;color:#fff;animation:pulse-fallen 2s ease-in-out infinite}@keyframes pulse-fallen{0%,to{opacity:.8;transform:scale(1)}50%{opacity:1;transform:scale(1.05)}}@media (max-width: 768px){.health-bar-container{padding:1rem}.health-values{font-size:1.25rem}.health-bar-actions{flex-wrap:wrap}.hp-action-btn{padding:.5rem .75rem;font-size:.85rem}}.mana-bar-container{background:linear-gradient(135deg,#f8f9ff,#e8eaff);border-radius:16px;padding:1.5rem;border:2px solid #d6d8f0;box-shadow:0 4px 12px #667eea26;transition:all .3s ease}.mana-bar-container:hover{box-shadow:0 6px 16px #667eea40;border-color:#b8bcf0}.mana-bar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.mana-label-section{display:flex;align-items:center;gap:.75rem}.mana-icon{color:#667eea;animation:manaGlow 2s ease-in-out infinite}@keyframes manaGlow{0%,to{filter:drop-shadow(0 0 2px rgba(102,126,234,.5));transform:rotate(0)}50%{filter:drop-shadow(0 0 8px rgba(102,126,234,.8));transform:rotate(180deg)}}.mana-label{font-size:1.1rem;font-weight:600;color:#2d3748}.mana-values{display:flex;align-items:center;gap:.5rem;font-size:1.5rem;font-weight:700}.mana-current{color:#667eea;cursor:pointer;padding:.25rem .5rem;border-radius:8px;transition:all .2s ease;min-width:60px;text-align:center}.mana-current:hover{background:#e6ecff;color:#5568d3}.mana-separator{color:#a0aec0}.mana-max{color:#718096}.mana-input{width:80px;padding:.25rem .5rem;border:2px solid #667eea;border-radius:8px;font-size:1.5rem;font-weight:700;text-align:center;color:#667eea;background:#fff}.mana-input:focus{outline:none;border-color:#764ba2;box-shadow:0 0 0 3px #667eea33}.mana-bar-wrapper{margin-bottom:1rem}.mana-bar-background{width:100%;height:32px;background:#d6d8f0;border-radius:16px;overflow:hidden;position:relative;box-shadow:inset 0 2px 4px #0000001a}.mana-bar-fill{height:100%;border-radius:16px;transition:width .5s ease,background-color .5s ease;position:relative;overflow:hidden}.mana-bar-shine{position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);animation:manaShine 2.5s ease-in-out infinite}@keyframes manaShine{0%{left:-100%}50%{left:100%}to{left:100%}}.mana-bar-glow{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(180deg,rgba(255,255,255,.3) 0%,transparent 50%,rgba(0,0,0,.1) 100%)}.mana-bar-actions{display:flex;gap:.75rem;align-items:center}.mana-action-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1rem;border:none;border-radius:10px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;flex:1}.mana-restore{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.mana-restore:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea80}.mana-restore:active{transform:translateY(0)}.mana-spend{background:linear-gradient(135deg,#805ad5,#6b46c1);color:#fff}.mana-spend:hover{transform:translateY(-2px);box-shadow:0 4px 12px #805ad580}.mana-spend:active{transform:translateY(0)}.mana-full{background:linear-gradient(135deg,#4299e1,#3182ce);color:#fff;flex:1.5}.mana-full:hover{transform:translateY(-2px);box-shadow:0 4px 12px #4299e180}.mana-full:active{transform:translateY(0)}@media (max-width: 768px){.mana-bar-container{padding:1rem}.mana-values{font-size:1.25rem}.mana-bar-actions{flex-wrap:wrap}.mana-action-btn{padding:.5rem .75rem;font-size:.85rem}}.defense-bar-container{background:linear-gradient(135deg,#f7fafc,#fff);border-radius:16px;border:2px solid #e2e8f0;padding:1.5rem;box-shadow:0 4px 6px #0000000d;transition:all .3s ease}.defense-bar-container:hover{border-color:#f6ad55;box-shadow:0 6px 12px #f6ad5526}.defense-bar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.defense-label-section{display:flex;align-items:center;gap:.75rem}.defense-icon{color:#f6ad55;flex-shrink:0}.defense-label{font-size:1.1rem;font-weight:600;color:#2d3748}.defense-total{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f6ad55,#ed8936);width:60px;height:60px;border-radius:50%;box-shadow:0 4px 12px #f6ad5566;position:relative}.defense-total:before{content:"";position:absolute;inset:2px;border-radius:50%;background:linear-gradient(135deg,#ffffff4d,#fff0);pointer-events:none}.defense-total-value{font-size:1.75rem;font-weight:700;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.2);z-index:1}.defense-breakdown{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:#fff;padding:1rem;border-radius:12px;border:1px solid #e2e8f0}.defense-component{display:flex;flex-direction:column;align-items:center;gap:.25rem;min-width:70px}.defense-component.base{background:#f7fafc;padding:.5rem .75rem;border-radius:8px;border:1px solid #cbd5e0}.defense-component.dex{background:#ebf8ff;padding:.5rem .75rem;border-radius:8px;border:1px solid #90cdf4}.defense-component.armor{background:#faf5ff;padding:.5rem .75rem;border-radius:8px;border:1px solid #d6bcfa}.defense-component.shield{background:#f0fff4;padding:.5rem .75rem;border-radius:8px;border:1px solid #9ae6b4}.defense-component.other{background:#fffaf0;padding:.5rem .75rem;border-radius:8px;border:1px solid #fbd38d}.component-label{font-size:.75rem;font-weight:600;color:#718096;text-transform:uppercase;letter-spacing:.5px}.component-value{font-size:1.25rem;font-weight:700;color:#2d3748}.component-value.editable{cursor:pointer;transition:all .2s ease;padding:.25rem .5rem;border-radius:6px}.component-value.editable:hover{background:#667eea1a;color:#667eea}.defense-separator{font-size:1.25rem;font-weight:600;color:#a0aec0;margin:0 .25rem}.component-input{width:60px;padding:.25rem .5rem;border:2px solid #667eea;border-radius:6px;font-size:1.1rem;font-weight:700;text-align:center;color:#2d3748;background:#fff;transition:all .2s ease;outline:none}.component-input:focus{border-color:#f6ad55;box-shadow:0 0 0 3px #f6ad5533}.component-input::-webkit-outer-spin-button,.component-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.component-input[type=number]{-moz-appearance:textfield}@media (max-width: 768px){.defense-bar-container{padding:1rem}.defense-breakdown{gap:.5rem;padding:.75rem;justify-content:center}.defense-component{min-width:60px}.defense-total{width:50px;height:50px}.defense-total-value{font-size:1.5rem}.component-label{font-size:.65rem}.component-value{font-size:1.1rem}.defense-separator{font-size:1rem;margin:0}}.tabbed-item-list{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:2rem;box-shadow:0 4px 6px #0000000d}.til-header{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.til-title{display:flex;align-items:center;gap:.75rem;color:#2d3748;font-size:1.75rem;font-weight:700;margin-bottom:1rem}.til-title-icon svg{color:#667eea}.theme-orange .til-title-icon svg{color:#f6ad55}.til-tabs-container{display:flex;gap:1rem;background:#f7fafc;padding:.5rem;border-radius:12px;border:1px solid #e2e8f0}.til-tab-button{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.25rem;background:transparent;border:none;border-radius:10px;font-size:1rem;font-weight:600;color:#718096;cursor:pointer;transition:all .3s ease}.til-tab-button:hover{background:#edf2f7;color:#667eea}.theme-orange .til-tab-button:hover{color:#f6ad55}.til-tab-button.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.theme-orange .til-tab-button.active{background:linear-gradient(135deg,#f6ad55,#ed8936);box-shadow:0 4px 12px #f6ad554d}.til-tab-icon{font-size:1.2rem;line-height:1}.til-tab-button.active .til-tab-icon{animation:tabIconPulse .6s ease}.til-layout{display:grid;grid-template-columns:400px 1fr;gap:2rem;height:500px}.til-list{background:#f7fafc;border-radius:12px;padding:1rem;border:1px solid #e2e8f0;overflow-y:auto}.til-list-header{margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #e2e8f0}.til-list-header h3{color:#2d3748;font-size:1.25rem;font-weight:600;margin:0}.til-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;margin-bottom:.75rem;cursor:pointer;transition:all .3s ease}.til-item:hover{background:#edf2f7;border-color:#667eea;transform:translate(4px)}.theme-orange .til-item:hover{border-color:#f6ad55}.til-item.selected{background:#e6f0ff;border-color:#667eea;border-left:4px solid #667eea}.theme-orange .til-item.selected{background:#fffaf0;border-color:#f6ad55;border-left:4px solid #f6ad55}.til-add-item{background:linear-gradient(135deg,#f7fafc,#edf2f7);border:2px dashed #cbd5e0;display:flex;align-items:center;justify-content:center}.til-add-item:hover{background:linear-gradient(135deg,#e6f0ff,#edf2f7);border-color:#667eea;border-style:dashed;transform:translate(4px)}.theme-orange .til-add-item:hover{background:linear-gradient(135deg,#fffaf0,#fff5e6);border-color:#f6ad55}.til-add-item .til-item-header{width:100%;justify-content:center}.til-add-item .til-item-name-type{flex-direction:row;align-items:center;gap:.75rem;justify-content:center}.til-add-item-icon{font-size:2rem;font-weight:300;color:#667eea;line-height:1}.theme-orange .til-add-item-icon{color:#f6ad55}.til-add-item-text{color:#667eea!important;font-weight:600!important;font-size:1.05rem!important}.theme-orange .til-add-item-text{color:#f6ad55!important}.til-item-header{display:flex;justify-content:space-between;align-items:flex-start}.til-item-actions{display:flex;align-items:center;gap:8px}.til-item-name-type{display:flex;flex-direction:column;gap:.25rem;flex:1}.til-item-name{color:#2d3748;font-weight:600;font-size:1.05rem}.til-item-type{color:#718096;font-size:.85rem}.til-item-badge{padding:.4rem .75rem;border-radius:8px;font-weight:600;font-size:.85rem;white-space:nowrap}.til-item-badge.usage,.theme-orange .til-item-badge.usage{background:#ebf8ff;color:#3182ce;border:1px solid #bee3f8}.item-menu-container{position:relative}.theme-orange .item-menu-btn:hover{color:#f6ad55}.theme-orange .menu-option:hover{color:#f6ad55}.til-details{background:#fff;border-radius:12px;padding:1.5rem;border:1px solid #e2e8f0;overflow-y:auto}.til-details-header{margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.til-details-header h2{color:#2d3748;font-size:2rem;font-weight:700;margin-bottom:.5rem}.til-details-type{color:#667eea;font-size:1.1rem;font-weight:500}.theme-orange .til-details-type{color:#f6ad55}.til-details-stats{background:#f7fafc;border-radius:12px;padding:1.5rem;margin-bottom:2rem;border:1px solid #e2e8f0}.til-stat-row{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid #e2e8f0;gap:1rem}.til-stat-row:last-child{border-bottom:none}.til-stat-row strong{color:#4a5568;font-weight:600;min-width:80px}.til-stat-row span{color:#2d3748;text-align:right}.til-stat-row.effect span{color:#667eea;font-weight:600}.theme-orange .til-stat-row.effect span{color:#f6ad55;font-weight:600}.til-details-description{margin-bottom:2rem}.til-details-description h3{color:#2d3748;font-size:1.3rem;margin-bottom:1rem;font-weight:600}.til-details-description p{color:#4a5568;line-height:1.8;font-size:1.05rem}.til-description-textarea{width:100%;padding:1rem;border:2px solid #e2e8f0;border-radius:12px;font-size:1.05rem;font-family:inherit;line-height:1.8;color:#4a5568;resize:vertical;transition:all .3s ease;background:#fff}.til-description-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.theme-orange .til-description-textarea:focus{border-color:#f6ad55;box-shadow:0 0 0 3px #f6ad551a}.til-details-actions{display:flex;gap:1rem}.til-action-btn{flex:1;padding:1rem;border-radius:12px;border:none;font-size:1.05rem;font-weight:600;cursor:pointer;transition:all .3s ease}.til-action-btn.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.theme-orange .til-action-btn.primary{background:linear-gradient(135deg,#f6ad55,#ed8936)}.til-action-btn.primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}.theme-orange .til-action-btn.primary:hover{box-shadow:0 8px 20px #f6ad5566}.til-no-selection{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#718096;text-align:center}.til-no-selection svg{margin-bottom:1.5rem;opacity:.3;color:#a0aec0}.til-no-selection p{font-size:1.1rem}.til-list::-webkit-scrollbar,.til-details::-webkit-scrollbar{width:8px}.til-list::-webkit-scrollbar-track,.til-details::-webkit-scrollbar-track{background:#f7fafc;border-radius:10px}.til-list::-webkit-scrollbar-thumb,.til-details::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:10px}.til-list::-webkit-scrollbar-thumb:hover,.til-details::-webkit-scrollbar-thumb:hover{background:#a0aec0}@media (max-width: 1200px){.til-layout{grid-template-columns:1fr;height:auto}.til-list{max-height:400px}.til-details{min-height:300px}}@media (max-width: 768px){.tabbed-item-list{padding:1rem}.til-title{font-size:1.5rem}.til-tabs-container{padding:.375rem;gap:.5rem}.til-tab-button{flex-direction:column;padding:.625rem .75rem;font-size:.85rem;gap:.25rem}.til-tab-icon{font-size:1.5rem}.til-item-header{flex-direction:column;gap:.5rem}.til-item-badge{align-self:flex-start}}.tabbed-item-list.standalone{background:transparent;border:none;padding:0;box-shadow:none}.tabbed-item-list.standalone .til-header{margin-bottom:2rem}.tabbed-item-list.standalone .til-title{font-size:2.5rem;color:#667eea;margin-bottom:1.5rem}.tabbed-item-list.standalone .til-tabs-container{background:#fff;border:1px solid #e2e8f0;box-shadow:0 2px 4px #0000000d}.tabbed-item-list.standalone .til-layout{height:calc(100vh - 250px)}.tabbed-item-list.standalone .til-list{background:#fff;box-shadow:0 4px 6px #0000000d}.tabbed-item-list.standalone .til-details{box-shadow:0 4px 6px #0000000d}.combat-container{min-height:calc(100vh - 70px);background:#f7fafc;padding:2rem}.combat-content{max-width:1400px;margin:0 auto}.combat-stats-section{margin-bottom:2rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem;align-items:start}.loading-placeholder{display:flex;align-items:center;justify-content:center;min-height:200px;background:#fff;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 2px 4px #0000000d}.loading-placeholder p{color:#718096;font-size:1.1rem;font-weight:500}@media (min-width: 1400px){.stats-grid{grid-template-columns:repeat(3,1fr)}}.combat-header{margin-bottom:2rem}.combat-title{font-size:2.5rem;color:#667eea;margin-bottom:1.5rem;font-weight:700}.spell-slots-info{display:flex;gap:2rem;flex-wrap:wrap}.spell-slot-group{background:#fff;padding:.75rem 1.5rem;border-radius:12px;border:1px solid #e2e8f0;display:flex;align-items:center;gap:.75rem;box-shadow:0 2px 4px #0000000d}.slot-label{color:#4a5568;font-size:.95rem;font-weight:500}.slot-count{color:#667eea;font-size:1.1rem;font-weight:700}.combat-layout{display:grid;grid-template-columns:400px 1fr;gap:2rem;margin-bottom:2rem}.combat-list{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:1.5rem;overflow-y:auto;box-shadow:0 4px 6px #0000000d}@media (min-width: 800px){.combat-list,.combat-details{height:800px!important;max-height:800px!important}.combat-layout{height:800px!important}}@media (min-width: 1025px){.combat-container{min-height:1200px!important}.combat-list,.combat-details{height:1000px!important;max-height:1000px!important}.combat-layout{height:1000px!important}}.combat-item{background:#f7fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;margin-bottom:.75rem;cursor:pointer;transition:all .3s ease}.combat-item:hover{background:#edf2f7;border-color:#667eea;transform:translate(4px)}.combat-item.selected{background:#e6f0ff;border-color:#667eea}.combat-item.prepared{border-left:4px solid #4ecca3}.combat-item.add-item-btn{background:linear-gradient(135deg,#f7fafc,#edf2f7);border:2px dashed #cbd5e0;display:flex;align-items:center;justify-content:center;padding:1.25rem}.combat-item.add-item-btn:hover{background:linear-gradient(135deg,#e6f0ff,#edf2f7);border-color:#667eea;border-style:dashed;transform:translate(4px)}.add-item-content{display:flex;align-items:center;gap:.75rem;justify-content:center;width:100%}.add-item-icon{font-size:2rem;font-weight:300;color:#667eea;line-height:1}.add-item-text{color:#667eea;font-weight:600;font-size:1.05rem}.combat-item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.5rem;gap:.75rem}.combat-item-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-left:auto}.item-menu-container{position:relative;flex-shrink:0}.item-menu-btn{background:transparent;border:none;color:#718096;font-size:1.5rem;line-height:1;padding:.25rem .5rem;cursor:pointer;transition:all .2s ease;border-radius:4px}.item-menu-btn:hover{background:#f7fafc;color:#667eea}.item-menu-dropdown{position:absolute;top:100%;right:0;margin-top:.25rem;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:1000;min-width:140px;overflow:hidden;animation:menuFadeIn .2s ease}@keyframes menuFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.menu-option{width:100%;padding:.75rem 1rem;background:transparent;border:none;text-align:left;cursor:pointer;font-size:.95rem;color:#2d3748;transition:all .2s ease;display:flex;align-items:center;gap:.5rem}.menu-option:hover{background:#f7fafc;color:#667eea}.menu-option.delete{color:#e94560}.menu-option.delete:hover{background:#fff5f7;color:#d63851}.combat-name-level{display:flex;flex-direction:column;gap:.25rem;flex:1;min-width:0;overflow:hidden}.combat-name{color:#2d3748;font-weight:600;font-size:1.05rem}.combat-level{color:#718096;font-size:.85rem}.combat-school{color:#667eea;font-size:.9rem;font-style:italic}.combat-item input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#4ecca3}.attack-bonus{background:linear-gradient(135deg,#e94560,#d63851);color:#fff;padding:.4rem .75rem;border-radius:8px;font-weight:700;font-size:.95rem;box-shadow:0 2px 6px #e945604d}.attack-bonus-value{color:#e94560!important;font-weight:700!important;font-size:1.2rem!important}.etc-uses{background:#f0fff4;color:#38a169;padding:.4rem .75rem;border-radius:8px;font-weight:600;font-size:.85rem;border:1px solid #9ae6b4}.combat-details{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:2rem;overflow-y:auto;box-shadow:0 4px 6px #0000000d}.details-level{color:#667eea;font-size:1.1rem;font-weight:500}.stat-row{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid #e2e8f0}.stat-row strong{color:#4a5568;font-weight:600}.stat-row span{color:#2d3748}.stat-row.damage span{color:#e94560;font-weight:600}.editable-stat{display:flex;align-items:center}.teste-ataque-input,.damage-input,.critico-input,.range-input,.escola-input,.execucao-input,.alcance-input,.area-input,.duracao-input,.resistencia-input{background:#fff;border:2px solid #e2e8f0;border-radius:8px;padding:.4rem .6rem;font-size:.9375rem;font-weight:600;color:#2d3748;min-width:100px;max-width:200px;transition:all .3s ease;box-sizing:border-box}.teste-ataque-input:focus,.damage-input:focus,.critico-input:focus,.range-input:focus,.escola-input:focus,.execucao-input:focus,.alcance-input:focus,.area-input:focus,.duracao-input:focus,.resistencia-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;background:#f7fafc}.teste-ataque-input:hover,.damage-input:hover,.critico-input:hover,.range-input:hover,.escola-input:hover,.execucao-input:hover,.alcance-input:hover,.area-input:hover,.duracao-input:hover,.resistencia-input:hover{border-color:#cbd5e0}.damage-input{color:#e94560}.critico-input{color:#f6ad55}.escola-input{color:#667eea}.execucao-input{color:#38a169}.alcance-input{color:#9f7aea}.area-input{color:#ed8936}.duracao-input{color:#3182ce}.resistencia-input{color:#e53e3e}.editable-title{margin-bottom:.5rem}.attack-name-input,.spell-name-input{background:transparent;border:none;border-bottom:2px solid #e2e8f0;font-size:2rem;font-weight:700;color:#2d3748;padding:.25rem 0;width:100%;transition:all .3s ease}.attack-name-input:focus,.spell-name-input:focus{outline:none;border-bottom-color:#667eea;background:#667eea0d}.attack-name-input:hover,.spell-name-input:hover{border-bottom-color:#cbd5e0}.description-textarea,.efeito-textarea{background:#fff;border:2px solid #e2e8f0;border-radius:8px;padding:.75rem;font-size:1rem;color:#4a5568;line-height:1.6;width:100%;resize:vertical;min-height:100px;transition:all .3s ease;font-family:inherit}.description-textarea:focus,.efeito-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;background:#f7fafc}.description-textarea:hover,.efeito-textarea:hover{border-color:#cbd5e0}.aprimoramentos-section{margin-top:2rem;padding-top:2rem;border-top:2px solid #e2e8f0}.aprimoramentos-header{margin-bottom:1.5rem}.aprimoramentos-header h3{color:#2d3748;font-size:1.3rem;margin:0;font-weight:600}.btn-add-aprimoramento{background:linear-gradient(135deg,#48bb78,#38a169);color:#fff;border:none;border-radius:8px;padding:.75rem 1rem;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;margin-top:.75rem}.btn-add-aprimoramento:hover{transform:translateY(-2px);box-shadow:0 4px 12px #48bb784d}.aprimoramentos-list{display:flex;flex-direction:column;gap:1rem}.aprimoramento-item{background:#f7fafc;border:2px solid #e2e8f0;border-radius:12px;padding:1.5rem;transition:all .3s ease}.aprimoramento-item:hover{border-color:#cbd5e0;box-shadow:0 2px 8px #0000001a}.aprimoramento-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.aprimoramento-info{display:flex;flex-direction:column;gap:1rem;flex:1}.aprimoramento-cost-info{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.custo-base-section,.custo-total-section{display:flex;align-items:center;gap:.5rem}.custo-base-label,.custo-total-label{font-size:.85rem;font-weight:600;color:#4a5568}.custo-base-value{background:#e6fffa;color:#319795;padding:.25rem .5rem;border-radius:6px;font-weight:700;font-size:.9rem;border:1px solid #81e6d9}.custo-total-value{background:#fef5e7;color:#d69e2e;padding:.25rem .5rem;border-radius:6px;font-weight:700;font-size:.9rem;border:1px solid #f6e05e}.reaplicavel-badge{background:linear-gradient(135deg,#48bb78,#38a169);color:#fff;padding:.25rem .6rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.aplicacoes-counter{display:flex;align-items:center;gap:.75rem}.aplicacoes-label{font-size:.85rem;font-weight:600;color:#4a5568}.counter-controls{display:flex;align-items:center;gap:.5rem;background:#fff;border:2px solid #e2e8f0;border-radius:8px;padding:.25rem}.counter-btn{width:28px;height:28px;border:none;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .2s ease;line-height:1}.counter-minus{background:#fed7d7;color:#e53e3e}.counter-minus:hover:not(:disabled){background:#e53e3e;color:#fff}.counter-minus:disabled{background:#f7fafc;color:#cbd5e0;cursor:not-allowed}.counter-plus{background:#c6f6d5;color:#38a169}.counter-plus:hover{background:#38a169;color:#fff}.counter-value{min-width:24px;text-align:center;font-weight:700;font-size:1rem;color:#2d3748}.aprimoramento-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.aprimoramento-modal{background:#fff;border-radius:16px;padding:0;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:2px solid #e2e8f0}.modal-header h3{margin:0;color:#2d3748;font-size:1.5rem;font-weight:700}.modal-close-btn{background:none;border:none;font-size:1.5rem;color:#718096;cursor:pointer;padding:.25rem;border-radius:4px;transition:all .2s ease}.modal-close-btn:hover{background:#f7fafc;color:#2d3748}.modal-content{padding:1.5rem;display:flex;flex-direction:column;gap:1.5rem}.modal-field{display:flex;flex-direction:column;gap:.5rem}.modal-field label{font-size:.9rem;font-weight:600;color:#4a5568}.modal-checkbox-label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:.75rem!important;cursor:pointer;padding:.75rem;background:#f7fafc;border-radius:8px;border:2px solid #e2e8f0;transition:all .3s ease}.modal-checkbox-label:hover{background:#edf2f7;border-color:#cbd5e0}.modal-input{background:#fff;border:2px solid #e2e8f0;border-radius:8px;padding:.75rem;font-size:1rem;color:#2d3748;transition:all .3s ease}.modal-input:focus{outline:none;border-color:#48bb78;box-shadow:0 0 0 3px #48bb781a}.modal-checkbox{width:20px;height:20px;cursor:pointer;accent-color:#48bb78}.modal-textarea{background:#fff;border:2px solid #e2e8f0;border-radius:8px;padding:.75rem;font-size:1rem;color:#4a5568;line-height:1.6;resize:vertical;min-height:80px;transition:all .3s ease;font-family:inherit}.modal-textarea:focus{outline:none;border-color:#48bb78;box-shadow:0 0 0 3px #48bb781a}.modal-actions{display:flex;gap:1rem;padding:1.5rem;border-top:2px solid #e2e8f0;justify-content:flex-end}.modal-btn{padding:.75rem 1.5rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;border:2px solid transparent}.modal-cancel{background:#f7fafc;color:#4a5568;border-color:#e2e8f0}.modal-cancel:hover{background:#edf2f7;border-color:#cbd5e0}.modal-create{background:linear-gradient(135deg,#48bb78,#38a169);color:#fff}.modal-create:hover{transform:translateY(-2px);box-shadow:0 4px 12px #48bb784d}.btn-remove-aprimoramento{background:#fed7d7;color:#e53e3e;border:2px solid #feb2b2;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1.2rem;font-weight:700;transition:all .3s ease;line-height:1}.btn-remove-aprimoramento:hover{background:#e53e3e;color:#fff;transform:scale(1.1)}.aprimoramento-description{display:flex;flex-direction:column;gap:.5rem}.aprimoramento-description label{font-size:.85rem;font-weight:600;color:#4a5568}.aprimoramento-textarea{background:#fff;border:2px solid #e2e8f0;border-radius:8px;padding:.6rem;font-size:.9rem;color:#4a5568;line-height:1.5;width:100%;resize:vertical;min-height:60px;transition:all .3s ease;font-family:inherit}.aprimoramento-textarea:focus{outline:none;border-color:#48bb78;box-shadow:0 0 0 3px #48bb781a;background:#f0fff4}.aprimoramento-textarea:hover{border-color:#cbd5e0}.no-aprimoramentos{text-align:center;padding:2rem;color:#718096;font-style:italic}.no-aprimoramentos p{margin:0;font-size:1rem}.critico-value{color:#f6ad55!important;font-weight:700!important;font-size:1.1rem!important}.status-active{color:#38a169!important;font-weight:600!important}.status-inactive{color:#718096!important;font-weight:600!important}.btn-cast{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-cast:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}.btn-cast.btn-deactivate{background:linear-gradient(135deg,#718096,#4a5568)}.btn-prepare{background:#f7fafc;color:#667eea;border:1px solid #667eea}.btn-prepare:hover{background:#edf2f7;transform:translateY(-2px)}.abilities-section{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:2rem;box-shadow:0 4px 6px #0000000d}.abilities-header{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.abilities-title{display:flex;align-items:center;gap:.75rem;color:#2d3748;font-size:1.75rem;font-weight:700;margin-bottom:1rem}.abilities-title svg{color:#f6ad55}.ability-tabs-container{display:flex;gap:1rem;background:#f7fafc;padding:.5rem;border-radius:12px;border:1px solid #e2e8f0}.ability-tab-button{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.25rem;background:transparent;border:none;border-radius:10px;font-size:1rem;font-weight:600;color:#718096;cursor:pointer;transition:all .3s ease}.ability-tab-button:hover{background:#edf2f7;color:#f6ad55}.ability-tab-button.active{background:linear-gradient(135deg,#f6ad55,#ed8936);color:#fff;box-shadow:0 4px 12px #f6ad554d}.ability-tab-icon{font-size:1.2rem;line-height:1}.ability-tab-button.active .ability-tab-icon{animation:tabIconPulse .6s ease}.abilities-layout{display:grid;grid-template-columns:400px 1fr;gap:2rem;height:500px}.abilities-list{background:#f7fafc;border-radius:12px;padding:1rem;border:1px solid #e2e8f0;overflow-y:auto}.abilities-list-header{margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #e2e8f0}.abilities-list-header h3{color:#2d3748;font-size:1.25rem;font-weight:600;margin:0}.ability-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;margin-bottom:.75rem;cursor:pointer;transition:all .3s ease}.ability-item:hover{background:#edf2f7;border-color:#f6ad55;transform:translate(4px)}.ability-item.selected{background:#fffaf0;border-color:#f6ad55;border-left:4px solid #f6ad55}.ability-item-header{display:flex;justify-content:space-between;align-items:flex-start}.ability-name-type{display:flex;flex-direction:column;gap:.25rem;flex:1}.ability-name{color:#2d3748;font-weight:600;font-size:1.05rem}.ability-type{color:#718096;font-size:.85rem}.ability-usage{background:#ebf8ff;color:#3182ce;padding:.4rem .75rem;border-radius:8px;font-weight:600;font-size:.85rem;border:1px solid #bee3f8;white-space:nowrap}.ability-details-panel{background:#fff;border-radius:12px;padding:1.5rem;border:1px solid #e2e8f0;overflow-y:auto}.stat-row.effect span{color:#f6ad55;font-weight:600}.combat-list::-webkit-scrollbar,.combat-details::-webkit-scrollbar,.abilities-list::-webkit-scrollbar,.ability-details-panel::-webkit-scrollbar{width:8px}.combat-list::-webkit-scrollbar-track,.combat-details::-webkit-scrollbar-track,.abilities-list::-webkit-scrollbar-track,.ability-details-panel::-webkit-scrollbar-track{background:#f7fafc;border-radius:10px}.combat-list::-webkit-scrollbar-thumb,.combat-details::-webkit-scrollbar-thumb,.abilities-list::-webkit-scrollbar-thumb,.ability-details-panel::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:10px}.combat-list::-webkit-scrollbar-thumb:hover,.combat-details::-webkit-scrollbar-thumb:hover,.abilities-list::-webkit-scrollbar-thumb:hover,.ability-details-panel::-webkit-scrollbar-thumb:hover{background:#a0aec0}@media (max-width: 1200px){.abilities-layout{grid-template-columns:1fr;height:auto}.abilities-list{max-height:400px}.ability-details-panel{min-height:300px}}@media (max-width: 1024px){.combat-layout{grid-template-columns:1fr;height:auto}.combat-details{min-height:500px}.stats-grid{grid-template-columns:1fr}}@media (max-width: 800px){.stat-row{flex-direction:column;gap:.5rem;padding:.625rem 0}.stat-row strong{font-size:.875rem}.teste-ataque-input,.damage-input,.critico-input,.range-input,.escola-input,.execucao-input,.alcance-input,.area-input,.duracao-input,.resistencia-input{width:100%;min-width:0;max-width:100%;padding:.4rem .6rem;font-size:.875rem;box-sizing:border-box}.editable-stat{width:100%}}@media (max-width: 768px){.combat-container{padding:1rem}.combat-title{font-size:2rem}.tabs-container{padding:.375rem;gap:.5rem}.tab-button{flex-direction:column;padding:.625rem .75rem;font-size:.85rem;gap:.25rem}.tab-icon{font-size:1.5rem}.spell-slots-info{gap:1rem}.spell-slot-group{padding:.5rem 1rem}.abilities-section{padding:1rem}.abilities-title{font-size:1.5rem}.ability-tabs-container{padding:.375rem;gap:.5rem}.ability-tab-button{flex-direction:column;padding:.625rem .75rem;font-size:.85rem;gap:.25rem}.ability-tab-icon{font-size:1.5rem}}.skills-container{min-height:calc(100vh - 70px);background:#f7fafc;padding:2rem}.skills-content{max-width:1400px;margin:0 auto}.skills-header{margin-bottom:2rem}.skills-title{font-size:2.5rem;color:#667eea;margin-bottom:1.5rem;font-weight:700}.tabs-container{display:flex;gap:1rem;margin-bottom:1.5rem;background:#fff;padding:.5rem;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 2px 4px #0000000d}.tab-button{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 1.5rem;background:transparent;border:none;border-radius:12px;font-size:1rem;font-weight:600;color:#718096;cursor:pointer;transition:all .3s ease;position:relative}.tab-button:hover{background:#f7fafc;color:#667eea}.tab-button.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.tab-icon{font-size:1.2rem;line-height:1}.tab-button.active .tab-icon{animation:tabIconPulse .6s ease}@keyframes tabIconPulse{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.skills-layout{display:grid;grid-template-columns:400px 1fr;gap:2rem;height:calc(100vh - 250px)}.skills-list{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:1.5rem;overflow-y:auto;box-shadow:0 4px 6px #0000000d}.list-header{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.list-header h2{color:#2d3748;font-size:1.5rem;font-weight:600}.skill-item{background:#f7fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;margin-bottom:.75rem;cursor:pointer;transition:all .3s ease}.skill-item:hover{background:#edf2f7;border-color:#667eea;transform:translate(4px)}.skill-item.selected{background:#e6f0ff;border-color:#667eea;border-left:4px solid #667eea}.skill-item-header{display:flex;justify-content:space-between;align-items:flex-start}.skill-name-type{display:flex;flex-direction:column;gap:.25rem;flex:1}.skill-name{color:#2d3748;font-weight:600;font-size:1.05rem}.skill-type{color:#718096;font-size:.85rem}.skill-usage{background:#f0fff4;color:#38a169;padding:.4rem .75rem;border-radius:8px;font-weight:600;font-size:.85rem;border:1px solid #9ae6b4;white-space:nowrap}.skill-details{background:#fff;border-radius:16px;border:1px solid #e2e8f0;padding:2rem;overflow-y:auto;box-shadow:0 4px 6px #0000000d}.details-header{margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.details-header h2{color:#2d3748;font-size:2rem;font-weight:700;margin-bottom:.5rem}.details-type{color:#667eea;font-size:1.1rem;font-weight:500}.details-stats{background:#f7fafc;border-radius:12px;padding:1.5rem;margin-bottom:2rem;border:1px solid #e2e8f0}.stat-row{display:flex;justify-content:space-between;padding:.75rem 0;border-bottom:1px solid #e2e8f0;gap:1rem}.stat-row:last-child{border-bottom:none}.stat-row strong{color:#4a5568;font-weight:600;min-width:80px}.stat-row span{color:#2d3748;text-align:right}.stat-row.effect span{color:#667eea;font-weight:600}.details-description{margin-bottom:2rem}.details-description h3{color:#2d3748;font-size:1.3rem;margin-bottom:1rem;font-weight:600}.details-description p{color:#4a5568;line-height:1.8;font-size:1.05rem}.details-actions{display:flex;gap:1rem}.details-actions button{flex:1;padding:1rem;border-radius:12px;border:none;font-size:1.05rem;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-use{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-use:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}.no-selection{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#718096;text-align:center}.no-selection svg{margin-bottom:1.5rem;opacity:.3;color:#a0aec0}.no-selection p{font-size:1.1rem}.skills-list::-webkit-scrollbar,.skill-details::-webkit-scrollbar{width:8px}.skills-list::-webkit-scrollbar-track,.skill-details::-webkit-scrollbar-track{background:#f7fafc;border-radius:10px}.skills-list::-webkit-scrollbar-thumb,.skill-details::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:10px}.skills-list::-webkit-scrollbar-thumb:hover,.skill-details::-webkit-scrollbar-thumb:hover{background:#a0aec0}@media (max-width: 1024px){.skills-layout{grid-template-columns:1fr;height:auto}.skills-list{max-height:400px}.skill-details{min-height:500px}}@media (max-width: 768px){.skills-container{padding:1rem}.skills-title{font-size:2rem}.tabs-container{padding:.375rem;gap:.5rem}.tab-button{flex-direction:column;padding:.625rem .75rem;font-size:.85rem;gap:.25rem}.tab-icon{font-size:1.5rem}.skill-item-header{flex-direction:column;gap:.5rem}.skill-usage{align-self:flex-start}}.proficiencies-container{padding:2rem;max-width:1400px;margin:0 auto}.proficiencies-content{width:100%}.page-title{font-size:2rem;font-weight:700;color:var(--text-primary, #1a1a1a);margin-bottom:.5rem}.page-subtitle{font-size:1rem;color:var(--text-secondary, #666);margin-bottom:2rem}.skills-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.skill-card{background:#fff;border:2px solid #e0e0e0;border-radius:12px;padding:1.5rem;transition:all .3s ease}.skill-card:hover{border-color:#4a90e2;box-shadow:0 4px 12px #4a90e226}.skill-card.trained{border-color:#4caf50;background:linear-gradient(135deg,#fff,#f1f8f4)}.skill-card.disabled{opacity:.6;background:#f5f5f5}.skill-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.skill-name{font-size:1.25rem;font-weight:600;color:#1a1a1a;margin:0}.skill-total{font-size:1.5rem;font-weight:700;color:#4a90e2;background:#e3f2fd;padding:.5rem 1rem;border-radius:8px;min-width:60px;text-align:center}.skill-card.trained .skill-total{background:#e8f5e9;color:#2e7d32}.skill-info{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.skill-attribute{display:inline-block;padding:.25rem .75rem;background:#e0e0e0;color:#424242;border-radius:4px;font-size:.875rem;font-weight:500}.skill-badge{display:inline-block;padding:.25rem .75rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase}.skill-badge.trained-only{background:#fff3e0;color:#e65100}.skill-badge.armor-penalty{background:#fce4ec;color:#c2185b}.skill-badge.saving-throw{background:#e3f2fd;color:#1565c0}.skill-card.saving-throw{border-color:#2196f3;background:linear-gradient(135deg,#fff,#f3f9ff)}.skill-card.saving-throw .skill-total{background:#e3f2fd;color:#1565c0}.skill-details{display:flex;flex-direction:column;gap:1rem}.skill-breakdown{display:flex;flex-direction:column;gap:.5rem;padding:1rem;background:#f9f9f9;border-radius:8px}.breakdown-item{display:flex;justify-content:space-between;align-items:center}.breakdown-label{font-size:.875rem;color:#666}.breakdown-value{font-size:.875rem;font-weight:600;color:#1a1a1a}.skill-edit{display:flex;flex-direction:column;gap:1rem;padding:1rem;background:#f9f9f9;border-radius:8px}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:500;cursor:pointer}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.input-label{display:flex;flex-direction:column;gap:.25rem;font-size:.875rem;font-weight:500;color:#424242}.input-label input[type=number]{padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:.875rem;width:100%}.input-label input[type=number]:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 3px #4a90e21a}.input-label input[type=number].readonly-input,.input-label input[type=number]:disabled{background-color:#f5f5f5;color:#666;cursor:not-allowed;border-color:#ddd}.skill-actions{display:flex;gap:.5rem}.skill-warning{margin-top:1rem;padding:.75rem;background:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-size:.875rem;color:#856404}.btn{padding:.5rem 1rem;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-sm{padding:.375rem .75rem;font-size:.8125rem}.btn-primary{background:#4a90e2;color:#fff}.btn-primary:hover{background:#357abd}.btn-secondary{background:#9e9e9e;color:#fff}.btn-secondary:hover{background:#757575}.btn-outline{background:transparent;border:2px solid #4a90e2;color:#4a90e2}.btn-outline:hover{background:#4a90e2;color:#fff}.no-skills{grid-column:1 / -1;text-align:center;padding:3rem;color:#666}.no-skills p{margin:.5rem 0}.no-skills .hint{font-size:.875rem;color:#999}.loading{text-align:center;padding:3rem;font-size:1.25rem;color:#666}@media (max-width: 768px){.proficiencies-container{padding:1rem}.skills-grid{grid-template-columns:1fr;gap:1rem}.page-title{font-size:1.5rem}}.group-chest-widget{width:100%;padding:0 20px;margin:20px 0;box-sizing:border-box}.group-chest-container{width:100%;background:#fff;border-radius:16px;box-shadow:0 4px 16px #00000014;overflow:hidden}.group-chest-header{background:linear-gradient(135deg,#e94560,#d63851);padding:24px;color:#fff}.group-chest-title{font-size:24px;font-weight:700;margin:0 0 20px;letter-spacing:-.5px}.group-chest-stats{display:flex;flex-direction:column;gap:16px}.chest-ammo-stats{display:flex;gap:24px;flex-wrap:wrap}.chest-ammo-item{display:flex;align-items:center;gap:8px;background:#ffffff26;padding:10px 16px;border-radius:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.chest-ammo-item-clickable{cursor:pointer;transition:all .2s ease}.chest-ammo-item-clickable:hover{background:#ffffff40;transform:translateY(-1px)}.chest-ammo-icon{font-size:20px;line-height:1}.chest-ammo-label{font-size:14px;font-weight:500;opacity:.9}.chest-ammo-value{font-size:16px;font-weight:700;margin-left:4px}.chest-ammo-controls{display:flex;align-items:center;gap:6px}.chest-ammo-btn{width:24px;height:24px;border:none;border-radius:4px;background:#ffffff40;color:#fff;font-size:16px;font-weight:700;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;line-height:1;padding:0}.chest-ammo-btn:hover:not(:disabled){background:#ffffff59;transform:scale(1.05)}.chest-ammo-btn:active:not(:disabled){transform:scale(.95)}.chest-ammo-btn:disabled{opacity:.3;cursor:not-allowed}.chest-ammo-controls .chest-ammo-value{min-width:30px;text-align:center;margin:0}.chest-item-count{display:flex;align-items:center;gap:12px;background:#ffffff26;padding:10px 16px;border-radius:8px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:fit-content}.chest-count-label{font-size:14px;font-weight:500;opacity:.9}.chest-count-value{font-size:20px;font-weight:700}.group-chest-items{padding:24px}.empty-chest{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:#a0aec0}.empty-chest-icon{font-size:64px;margin-bottom:16px;opacity:.5}.empty-chest-text{font-size:16px;font-weight:500;margin:0}.chest-items-table{width:100%}.chest-items-header{display:grid;grid-template-columns:1.5fr 2.5fr 1fr .8fr .8fr 1.2fr;gap:16px;padding:12px 16px;background:#f7fafc;border-radius:8px;margin-bottom:8px}.chest-items-body{display:flex;flex-direction:column;gap:8px}.chest-item-row{display:grid;grid-template-columns:1.5fr 2.5fr 1fr .8fr .8fr 1.2fr;gap:16px;padding:16px;background:#fff;border:2px solid #e2e8f0;border-radius:8px;transition:all .2s ease;position:relative}.chest-item-row:hover{border-color:#e94560;box-shadow:0 2px 8px #e945601a;transform:translateY(-1px)}.chest-item-col{display:flex;align-items:center;font-size:14px;overflow:hidden}.chest-item-name-col{font-weight:600;color:#2d3748}.chest-item-description-col{color:#4a5568}.chest-item-category-col{justify-content:center;color:#718096;font-weight:500}.chest-item-price-col{justify-content:center;font-weight:600;color:#48bb78}.chest-item-quantity-col{justify-content:center;font-weight:600;color:#e94560}.chest-item-actions-col{justify-content:center;position:relative}.chest-items-header .chest-item-col{font-size:12px;font-weight:700;color:#4a5568;text-transform:uppercase;letter-spacing:.5px}.chest-items-header .chest-item-category-col,.chest-items-header .chest-item-price-col,.chest-items-header .chest-item-quantity-col,.chest-items-header .chest-item-actions-col{justify-content:center}.chest-action-buttons{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.chest-action-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:#f7fafc;border:2px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .2s ease;padding:0;font-size:16px;line-height:1}.chest-action-btn:hover{transform:translateY(-2px);box-shadow:0 4px 8px #00000026}.chest-action-btn:active{transform:translateY(0)}.chest-action-edit{border-color:#667eea}.chest-action-edit:hover{background:#667eea;border-color:#667eea;filter:brightness(1.1)}.chest-action-delete{border-color:#e94560}.chest-action-delete:hover{background:#e94560;border-color:#e94560;filter:brightness(1.1)}.chest-action-move{border-color:#48bb78}.chest-action-move:hover{background:#48bb78;border-color:#48bb78;filter:brightness(1.1)}.chest-action-sell{border-color:#f59e0b}.chest-action-sell:hover{background:#f59e0b;border-color:#f59e0b;filter:brightness(1.1)}.chest-action-consume{border-color:#8b5cf6}.chest-action-consume:hover{background:#8b5cf6;border-color:#8b5cf6;filter:brightness(1.1)}.chest-add-item-container{margin-top:24px;padding-top:16px;border-top:2px dashed #e2e8f0}.chest-add-item-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:16px;background:linear-gradient(135deg,#e94560,#d63851);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #e945604d}.chest-add-item-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #e9456066}.chest-add-item-button:active{transform:translateY(0);box-shadow:0 2px 8px #e945604d}.chest-add-item-icon{font-size:24px;font-weight:700;line-height:1}.chest-add-item-text{line-height:1}@media (min-width: 800px){.group-chest-widget{padding:0 20px}.group-chest-stats{flex-direction:row;justify-content:space-between;align-items:center}}@media (max-width: 768px){.group-chest-widget{padding:0 16px;margin:16px 0}.group-chest-header{padding:20px}.group-chest-title{font-size:20px}.group-chest-items{padding:20px}.chest-items-header{display:none}.chest-item-row{grid-template-columns:1fr;gap:8px}.chest-item-col{justify-content:flex-start}.chest-item-col:before{content:attr(data-label);font-weight:700;margin-right:8px;color:#4a5568}.chest-item-name-col:before{content:"Nome: "}.chest-item-description-col:before{content:"Descrição: "}.chest-item-category-col:before{content:"Categoria: "}.chest-item-price-col:before{content:"Preço: "}.chest-item-quantity-col:before{content:"Quantidade: "}.chest-item-actions-col{justify-content:center;padding-top:12px;border-top:1px solid #e2e8f0}.chest-item-actions-col:before{content:""}.chest-action-buttons{justify-content:center}}@media (max-width: 480px){.group-chest-widget{padding:0 12px;margin:12px 0}.group-chest-header{padding:16px}.group-chest-title{font-size:18px;margin-bottom:16px}.group-chest-items{padding:16px}.chest-ammo-stats{gap:12px}.chest-ammo-item{padding:8px 12px}.chest-ammo-icon{font-size:18px}.chest-ammo-label{font-size:13px}.chest-ammo-value{font-size:14px}.chest-item-count{padding:8px 12px}.chest-count-label{font-size:13px}.chest-count-value{font-size:18px}}.chest-item-row-clickable{cursor:pointer;transition:background-color .2s ease,transform .1s ease}.chest-item-row-clickable:hover{background-color:#f8f9fa;transform:translateY(-1px)}.chest-item-row-clickable:active{transform:translateY(0)}.chest-item-details-modal{display:flex;flex-direction:column;gap:24px}.chest-item-details-content{display:flex;flex-direction:column;gap:20px}.chest-item-detail-row{display:flex;flex-direction:column;gap:6px}.chest-item-detail-label{font-size:12px;font-weight:600;text-transform:uppercase;color:#6c757d;letter-spacing:.5px}.chest-item-detail-value{font-size:15px;color:#212529;font-weight:500}.chest-item-detail-description{line-height:1.6;color:#495057;background:#f8f9fa;padding:12px;border-radius:8px;border-left:3px solid #f59e0b}.chest-item-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;background:#f8f9fa;padding:16px;border-radius:8px}.chest-item-specific-section{margin-top:16px;padding:16px;background:#f8f9fa;border-radius:8px;border-left:4px solid #667eea}.chest-item-specific-title{font-size:14px;font-weight:700;color:#495057;text-transform:uppercase;letter-spacing:.5px;margin:0 0 16px;display:flex;align-items:center;gap:8px}.chest-item-specific-title .section-icon{font-size:20px;line-height:1}.chest-item-weapon-section{border-left-color:#ef4444;background:linear-gradient(135deg,#fef2f2,#fee2e2)}.chest-item-weapon-section .chest-item-specific-title{color:#dc2626}.chest-item-armor-section{border-left-color:#3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe)}.chest-item-armor-section .chest-item-specific-title{color:#2563eb}.chest-item-consumable-section{border-left-color:#10b981;background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.chest-item-consumable-section .chest-item-specific-title{color:#059669}.chest-item-effect-section{margin-top:8px;padding:16px;background:linear-gradient(135deg,#e0f2fe,#dbeafe);border-radius:8px;border-left:4px solid #10b981}.chest-item-effect-section .chest-item-detail-label{color:#059669;display:flex;align-items:center;gap:6px}.chest-item-effect-section .chest-item-detail-label:before{content:"✨";font-size:16px}.chest-item-detail-effect{line-height:1.6;color:#047857;font-weight:500;margin:0;padding:8px 0 0}.chest-item-details-actions{border-top:1px solid #e9ecef;padding-top:20px}.chest-item-details-actions-title{font-size:16px;font-weight:600;color:#212529;margin:0 0 16px}.chest-item-details-actions-buttons{display:flex;flex-wrap:wrap;gap:12px}.chest-item-details-action-btn{display:flex;align-items:center;gap:8px;padding:12px 20px;border:2px solid transparent;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;flex:1;min-width:140px;justify-content:center;background:#f8f9fa;color:#495057}.chest-item-details-action-btn:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.chest-item-details-action-btn:active{transform:translateY(0)}.chest-item-details-action-btn .action-icon{font-size:18px;line-height:1}.chest-item-details-action-btn .action-label{font-size:14px;font-weight:600}.chest-item-details-action-edit{border-color:#3b82f6;background:linear-gradient(135deg,#60a5fa,#3b82f6);color:#fff}.chest-item-details-action-edit:hover{background:linear-gradient(135deg,#3b82f6,#2563eb)}.chest-item-details-action-delete{border-color:#ef4444;background:linear-gradient(135deg,#f87171,#ef4444);color:#fff}.chest-item-details-action-delete:hover{background:linear-gradient(135deg,#ef4444,#dc2626)}.chest-item-details-action-move{border-color:#8b5cf6;background:linear-gradient(135deg,#a78bfa,#8b5cf6);color:#fff}.chest-item-details-action-move:hover{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.chest-item-details-action-sell{border-color:#f59e0b;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff}.chest-item-details-action-sell:hover{background:linear-gradient(135deg,#f59e0b,#d97706)}.chest-item-details-action-consume{border-color:#10b981;background:linear-gradient(135deg,#34d399,#10b981);color:#fff}.chest-item-details-action-consume:hover{background:linear-gradient(135deg,#10b981,#059669)}@media (max-width: 768px){.chest-item-details-grid{grid-template-columns:1fr}.chest-item-details-actions-buttons{flex-direction:column}.chest-item-details-action-btn{min-width:100%}}.group-container{min-height:calc(100vh - 70px);background:#f7fafc;padding:2rem}.group-content{max-width:1400px;margin:0 auto}.group-header{margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.group-title{font-size:2.5rem;color:#667eea;font-weight:700}.group-stats{display:flex;gap:2rem}.stat-item{background:#fff;padding:.75rem 1.5rem;border-radius:12px;border:1px solid #e2e8f0;display:flex;align-items:center;gap:.75rem;box-shadow:0 2px 4px #0000000d}.stat-label{color:#4a5568;font-size:.95rem;font-weight:500}.stat-value{color:#667eea;font-size:1.1rem;font-weight:700}.party-members-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem;margin-bottom:2rem}.member-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.5rem;transition:all .3s ease;box-shadow:0 2px 4px #0000000d}.member-card:hover{transform:translateY(-4px);border-color:#667eea;box-shadow:0 8px 24px #667eea26}.member-header{display:flex;gap:1rem;margin-bottom:1.5rem}.member-avatar{width:60px;height:60px;border-radius:50%;overflow:hidden;border:2px solid #667eea;flex-shrink:0}.member-avatar img{width:100%;height:100%;object-fit:cover}.avatar-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#fff;font-weight:700}.member-info{flex:1}.member-name{color:#2d3748;font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.member-details{color:#718096;font-size:.9rem;margin:0}.hp-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.hp-values{color:#2d3748;font-size:.9rem;font-weight:600}.hp-bar{width:100%;height:8px;background-color:#e2e8f0;border-radius:4px;overflow:hidden}.hp-fill{height:100%;transition:width .3s ease;border-radius:4px}.member-status{display:flex;justify-content:center}.status-badge{padding:.25rem .75rem;border-radius:12px;font-size:.8rem;font-weight:600;border:1px solid}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.loading-spinner{width:40px;height:40px;border:4px solid #e2e8f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.available-groups-container{margin-top:2rem}.join-message{display:flex;align-items:center;gap:.75rem;padding:1rem 1.5rem;border-radius:12px;margin-bottom:1.5rem;font-size:.95rem;font-weight:500;animation:slideIn .3s ease-out}.join-message.success{background:#f0fff4;border:1px solid #9ae6b4;color:#22543d}.join-message.error{background:#fed7d7;border:1px solid #feb2b2;color:#c53030}.join-message .message-icon{font-size:1.2rem;flex-shrink:0}.join-message .message-text{flex:1}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.group-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.5rem;transition:all .3s ease;box-shadow:0 2px 4px #0000000d}.group-card:hover{transform:translateY(-4px);border-color:#667eea;box-shadow:0 8px 24px #667eea26}.group-card-header{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.group-info{width:100%}.group-name{color:#2d3748;font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.group-description{color:#718096;font-size:.9rem;line-height:1.4;margin:0}.group-badges{display:flex;gap:.5rem;align-self:flex-start}.private-badge{background-color:#fed7d7;color:#c53030;padding:.25rem .5rem;border-radius:8px;font-size:.75rem;font-weight:600}.group-details{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem}.group-stat{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f7fafc}.group-stat .stat-label{color:#4a5568;font-size:.85rem;font-weight:500}.group-stat .stat-value{color:#2d3748;font-size:.85rem;font-weight:600}.group-actions{display:flex;justify-content:center}.join-group-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:12px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;width:100%}.join-group-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.join-group-btn:disabled{background:#e2e8f0;color:#a0aec0;cursor:not-allowed;transform:none;box-shadow:none}.create-group-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:12px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem}.create-group-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.create-group-btn.primary{background:linear-gradient(135deg,#48bb78,#38a169);padding:1rem 2rem;font-size:1rem}.create-group-btn.primary:hover{box-shadow:0 4px 12px #48bb784d}.btn-icon{font-size:1.1rem;font-weight:700}.no-groups-message{text-align:center;padding:3rem 2rem;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 2px 4px #0000000d}.no-groups-icon{font-size:3rem;margin-bottom:1rem}.no-groups-message h3{color:#2d3748;font-size:1.5rem;font-weight:600;margin-bottom:.5rem}.no-groups-message p{color:#718096;font-size:1rem;margin-bottom:2rem}.error-container{text-align:center;padding:3rem 2rem;background:#fff;border:1px solid #fed7d7;border-radius:16px;box-shadow:0 2px 4px #0000000d}.error-icon{font-size:3rem;margin-bottom:1rem}.error-container h3{color:#c53030;font-size:1.5rem;font-weight:600;margin-bottom:.5rem}.error-container p{color:#718096;font-size:1rem;margin-bottom:2rem}.retry-btn{background:linear-gradient(135deg,#e53e3e,#c53030);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:12px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease}.retry-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #e53e3e4d}.member-details{color:#718096;font-size:.95rem}.member-hp-section{margin-bottom:1rem}.hp-header{display:flex;justify-content:space-between;margin-bottom:.5rem}.hp-label{color:#4a5568;font-size:.9rem;font-weight:500}.hp-values{color:#2d3748;font-size:1rem;font-weight:600}.hp-bar{height:12px;background:#e2e8f0;border-radius:10px;overflow:hidden;position:relative}.hp-fill{height:100%;transition:width .3s ease,background-color .3s ease;border-radius:10px}.member-status{margin-bottom:1rem}.status-badge{display:inline-block;padding:.4rem 1rem;border-radius:20px;font-size:.85rem;font-weight:600;border:1px solid}@media (max-width: 768px){.group-container{padding:1rem}.group-title{font-size:2rem}.group-header{flex-direction:column;align-items:flex-start}.party-members-grid{grid-template-columns:1fr}.group-stats{width:100%;justify-content:space-between}.stat-item{flex:1;padding:.5rem 1rem}.groups-grid{grid-template-columns:1fr;gap:1rem}.group-card{padding:1rem}.group-name{font-size:1.1rem}.group-description{font-size:.85rem}}@media (max-width: 1024px) and (min-width: 769px){.groups-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}.group-form{display:flex;flex-direction:column;gap:1.5rem}.group-form .form-group{display:flex;flex-direction:column;gap:.5rem}.group-form label{font-size:.9rem;font-weight:600;color:#2d3748}.group-form .required{color:#e53e3e}.group-form input,.group-form textarea{width:100%;padding:.75rem;border:2px solid #e2e8f0;border-radius:8px;font-size:.95rem;font-family:inherit;transition:border-color .3s ease,box-shadow .3s ease}.group-form input:focus,.group-form textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.group-form textarea{resize:vertical;min-height:100px}.group-form .form-section{margin-top:1rem;padding-top:1rem;border-top:2px solid #e2e8f0}.group-form .section-title{font-size:1rem;font-weight:600;color:#2d3748;margin-bottom:.5rem}.group-form .section-description{font-size:.85rem;color:#718096;margin-bottom:1rem}.group-form .currency-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.group-form .form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1rem}.group-form .btn-cancel,.group-form .btn-submit{padding:.75rem 1.5rem;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease}.group-form .btn-cancel{background:#f7fafc;color:#4a5568;border:2px solid #e2e8f0}.group-form .btn-cancel:hover{background:#edf2f7;border-color:#cbd5e0}.group-form .btn-submit{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.group-form .btn-submit:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.group-form .btn-submit:active{transform:translateY(0)}@media (max-width: 768px){.group-form .currency-inputs{grid-template-columns:1fr}.group-form .form-actions{flex-direction:column-reverse}.group-form .btn-cancel,.group-form .btn-submit{width:100%}}.add-craft-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{font-weight:600;color:#333;font-size:.9rem}.form-input,.form-select{padding:.75rem;border:2px solid #e1e5e9;border-radius:8px;font-size:1rem;transition:border-color .2s ease;background-color:#fff}.form-input:focus,.form-select:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 3px #4a90e21a}.form-input:disabled,.form-select:disabled{background-color:#f5f5f5;cursor:not-allowed;opacity:.7}.form-error{background-color:#fee;color:#c53030;padding:.75rem;border-radius:6px;border:1px solid #feb2b2;font-size:.9rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:6px;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s ease;min-width:100px}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background-color:#4a90e2;color:#fff}.btn-primary:hover:not(:disabled){background-color:#357abd}.btn-secondary{background-color:#f5f5f5;color:#666;border:1px solid #ddd}.btn-secondary:hover:not(:disabled){background-color:#e5e5e5}.attributes-container{min-height:calc(100vh - 70px);height:auto;background:#f7fafc;padding:2rem}.attributes-content{max-width:1200px;margin:0 auto;width:100%;height:auto}.attributes-header{margin-bottom:2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.attributes-title{font-size:2.5rem;color:#667eea;font-weight:700}.proficiency-info{background:#fff;padding:.75rem 1.5rem;border-radius:12px;border:1px solid #e2e8f0;display:flex;align-items:center;gap:.75rem;box-shadow:0 2px 4px #0000000d}.proficiency-label{color:#4a5568;font-size:.95rem;font-weight:500}.proficiency-value{color:#667eea;font-size:1.3rem;font-weight:700}.attributes-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1rem;margin-bottom:3rem}.attribute-card{background:#fff;border:2px solid;border-radius:16px;padding:1rem;text-align:center;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #0000000d}.attribute-card:hover{transform:translateY(-4px) scale(1.05);box-shadow:0 8px 24px #0000001a;background:#f7fafc}.attribute-name{color:#4a5568;font-size:.95rem;font-weight:600;margin-bottom:.75rem;text-transform:uppercase;letter-spacing:1px}.attribute-value{font-size:3rem;font-weight:700;margin-bottom:.5rem;text-shadow:0 0 20px currentColor}.attribute-value-input{font-size:2.5rem;font-weight:700;margin-bottom:.3rem;text-shadow:0 0 20px currentColor;background:transparent;border:none;border-bottom:2px solid transparent;text-align:center;width:100%;padding:.25rem;transition:all .3s ease}.attribute-value-input:focus{outline:none;border-bottom:2px solid currentColor;background:#ffffff80}.attribute-value-input:hover{border-bottom:2px solid rgba(0,0,0,.1)}.attribute-modifier{color:#2d3748;font-size:1.3rem;font-weight:600;background:#f7fafc;padding:.5rem;border-radius:8px}.attribute-modifier-section{display:flex;flex-direction:column;gap:.3rem;width:100%;align-items:center}.attribute-modifier-label{font-size:.65rem;color:#4a5568;font-weight:600;text-transform:uppercase;letter-spacing:.3px;text-align:center}.attribute-modifier-input{background:#f7fafc;border:2px solid #cbd5e0;border-radius:8px;padding:.4rem .6rem;font-size:1rem;font-weight:600;color:#2d3748;text-align:center;transition:all .2s ease;width:60px}.attribute-modifier-input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.attribute-modifier-input:hover{border-color:#a0aec0}.saves-section,.skills-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:2rem;margin-bottom:2rem;box-shadow:0 2px 4px #0000000d;width:100%;min-height:fit-content;height:auto;overflow:visible}.skills-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.saves-section h2,.skills-section h2{color:#2d3748;font-size:1.8rem;font-weight:600;margin:0}.add-craft-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;padding:.75rem 1.5rem;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #667eea33}.add-craft-button:hover{transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d;background:linear-gradient(135deg,#5a67d8,#6b46c1)}.add-craft-button:active{transform:translateY(0);box-shadow:0 2px 4px #667eea33}.skills-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;gap:1rem;flex-wrap:wrap}.skills-header-row h2{margin-bottom:0}.skills-search-container{position:relative;margin-bottom:1.5rem}.skills-search-input{width:100%;padding:.75rem 2.5rem .75rem 1rem;font-size:1rem;border:2px solid #e2e8f0;border-radius:10px;background:#f7fafc;color:#2d3748;transition:all .3s ease}.skills-search-input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.skills-search-input::placeholder{color:#a0aec0}.skills-search-clear{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:transparent;border:none;color:#718096;font-size:1.2rem;cursor:pointer;padding:.25rem;line-height:1;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.skills-search-clear:hover{color:#e53e3e;transform:translateY(-50%) scale(1.2)}.skills-no-results{text-align:center;padding:3rem 1rem;color:#718096;font-size:1rem;background:#f7fafc;border:2px dashed #e2e8f0;border-radius:10px}.skills-no-results p{margin:0;font-weight:500}.saves-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.save-item{background:#f7fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;transition:all .3s ease;cursor:pointer}.save-item:hover{background:#edf2f7;border-color:#667eea;transform:translate(4px)}.save-info{display:flex;align-items:center;gap:.75rem}.save-name{color:#2d3748;font-size:1.1rem;font-weight:600}.save-attribute{color:#718096;font-size:.9rem}.save-bonus{color:#667eea;font-size:1.3rem;font-weight:700}.skills-grid{display:flex;flex-direction:column;gap:.75rem;width:100%}.skill-item-new{background:#f7fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1rem 1.5rem;transition:all .3s ease;min-height:fit-content;height:auto}.skill-item-new:hover{background:#edf2f7;border-color:#667eea}.skill-item-new.trained{border-left:4px solid #4ecca3}.skill-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;gap:1rem}.skill-title-section{display:flex;align-items:center;gap:.75rem;flex:1;min-width:0}.skill-name-area{display:flex;flex-direction:column;gap:.5rem;flex:1}.skill-total-display{display:flex;flex-direction:column;align-items:center;background:#667eea;color:#fff;border-radius:10px;padding:.5rem 1.25rem;cursor:pointer;transition:all .2s ease;min-width:80px}.skill-total-display:hover{background:#5568d3;transform:scale(1.05)}.skill-total-label{font-size:.75rem;font-weight:500;opacity:.9;text-transform:uppercase;letter-spacing:.5px}.skill-total-value{font-size:1.5rem;font-weight:700}.skill-fields-row{display:flex;gap:.75rem;flex-wrap:nowrap}.skill-field{display:flex;flex-direction:column;gap:.3rem;flex:1;min-width:0}.skill-field label{font-size:.75rem;color:#4a5568;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.skill-field input[type=number]{background:#fff;border:1px solid #cbd5e0;border-radius:6px;padding:.5rem;font-size:.95rem;color:#2d3748;font-weight:600;text-align:center;transition:all .2s ease;width:100%}.skill-field input[type=number]:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.skill-field input[type=number]:hover{border-color:#a0aec0}.skill-field input[type=number]:disabled,.skill-field input[type=number][readonly]{background:#edf2f7;color:#718096;cursor:not-allowed;border-color:#e2e8f0;opacity:.8}.skill-field input[type=number]:disabled:hover,.skill-field input[type=number][readonly]:hover{border-color:#e2e8f0}.skill-attribute-select-inline{background:transparent;border:none;color:#4a5568;font-size:.75rem;font-weight:600;cursor:pointer;padding:0;text-transform:uppercase}.skill-attribute-select-inline:focus{outline:none}.skill-name-wrapper{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.skill-name{color:#2d3748;font-size:1rem;font-weight:600}.skill-specialization-input{background:#edf2f7;border:1px solid #cbd5e0;border-radius:6px;padding:.3rem .6rem;font-size:.85rem;color:#4a5568;font-weight:500;transition:all .2s ease;min-width:120px;max-width:150px}.skill-specialization-input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.skill-specialization-input:hover{border-color:#a0aec0}.skill-tags{display:flex;gap:.4rem;margin-top:.25rem}.skill-tag{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:4px;font-size:.7rem;font-weight:700;color:#fff;cursor:help}.skill-tag.trained-only{background:#f59e0b}.skill-tag.armor-penalty{background:#ef4444}.trained-indicator{color:#4ecca3;font-size:1.2rem;line-height:1}.legend{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem 1.5rem;flex-wrap:wrap;gap:1rem;box-shadow:0 2px 4px #0000000d}.legend-item{display:flex;align-items:center;gap:.5rem;color:#4a5568;font-size:.95rem}.legend-text{color:#718096;font-size:.95rem;font-style:italic}@media (max-width: 800px){.attributes-grid{grid-template-columns:1fr;gap:1rem}.skill-fields-row{flex-direction:column;gap:.5rem}.skill-field{flex-direction:row;align-items:center;justify-content:space-between}.skill-field label{flex:1;text-align:left}.skill-field input[type=number]{flex:1;max-width:80px}.skill-header-row{flex-wrap:wrap}}@media (max-width: 768px){.attributes-container{padding:1rem}.attributes-title{font-size:2rem}.attributes-header{flex-direction:column;align-items:flex-start}.attributes-grid{grid-template-columns:repeat(2,1fr);gap:1rem}.attribute-card{padding:1rem}.attribute-value,.attribute-value-input{font-size:2.5rem}.saves-grid,.skills-grid{grid-template-columns:1fr}.legend{flex-direction:column;align-items:flex-start}}@media (max-width: 480px){.attributes-grid{grid-template-columns:repeat(3,1fr);gap:.5rem}.attribute-card{padding:.75rem}.attribute-name{font-size:.8rem}.attribute-value,.attribute-value-input{font-size:2rem}.attribute-modifier,.attribute-modifier-input{font-size:.9rem}.attribute-modifier-label{font-size:.6rem}.attribute-modifier-input{width:50px;padding:.3rem .5rem}}.character-creation-container{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:40px 20px}.character-creation-content{max-width:800px;margin:0 auto}.character-creation-title{font-size:2.5rem;color:#fff;margin:0 0 30px;text-shadow:2px 2px 4px rgba(0,0,0,.3);font-weight:700;text-align:center}.character-creation-form{background:#fff;border-radius:16px;padding:40px;box-shadow:0 10px 40px #0003}.form-group{margin-bottom:30px}.numeric-fields-group{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:30px}.numeric-fields-group .form-group{margin-bottom:0}.form-label{display:block;font-size:1.1rem;font-weight:600;color:#333;margin-bottom:10px}.optional-label{font-size:.9rem;font-weight:400;color:#888;font-style:italic}.form-input{width:100%;padding:14px 18px;font-size:1rem;border:2px solid #e0e0e0;border-radius:10px;transition:all .3s ease;background:#fff;box-sizing:border-box}.form-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-input::placeholder{color:#999}.form-select{width:100%;padding:14px 45px 14px 18px;font-size:1rem;border:2px solid #e0e0e0;border-radius:10px;transition:all .3s ease;background:#fff;cursor:pointer;box-sizing:border-box;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center}.form-select:hover{border-color:#667eea}.form-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-select option{padding:10px}.form-description{margin-top:8px;font-size:.9rem;color:#667eea;font-style:italic;padding-left:5px}.skills-info{font-size:.9rem;color:#666;margin-bottom:15px;line-height:1.5}.skills-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-bottom:15px;max-height:400px;overflow-y:auto;padding:10px;background:#f9f9f9;border-radius:10px;border:2px solid #e0e0e0}.skill-item{display:flex;align-items:center;gap:12px;padding:12px 15px;background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .2s ease;-webkit-user-select:none;user-select:none}.skill-item:hover{border-color:#667eea;box-shadow:0 2px 8px #667eea26;transform:translateY(-1px)}.skill-item.selected{border-color:#667eea;background:linear-gradient(135deg,#667eea1a,#764ba21a)}.skill-checkbox{width:24px;height:24px;border:2px solid #e0e0e0;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#fff;background:#fff;flex-shrink:0;transition:all .2s ease}.skill-item.selected .skill-checkbox{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea}.skill-info{flex:1;display:flex;flex-wrap:wrap;align-items:center;gap:6px}.skill-name{font-weight:600;color:#333;font-size:.95rem}.skill-attribute{font-size:.85rem;color:#888;font-weight:500}.skill-badge{font-size:.7rem;padding:2px 8px;border-radius:12px;background:#667eea;color:#fff;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.skill-badge.penalty{background:#e74c3c}.skills-selected-count{font-size:.95rem;font-weight:600;color:#667eea;text-align:center;margin-top:10px}.form-actions{display:flex;gap:15px;margin-top:40px;justify-content:center}.btn{padding:14px 35px;font-size:1.1rem;font-weight:600;border:none;border-radius:10px;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:.5px}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 15px #667eea66}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea99}.btn-primary:active{transform:translateY(0)}.btn-secondary{background:#f0f0f0;color:#666}.btn-secondary:hover{background:#e0e0e0;transform:translateY(-2px)}.btn-secondary:active{transform:translateY(0)}@media (max-width: 992px){.numeric-fields-group{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.character-creation-container{padding:20px 15px}.character-creation-title{font-size:2rem;margin-bottom:20px}.character-creation-form{padding:30px 20px}.form-label{font-size:1rem}.form-input,.form-select{padding:12px 15px;font-size:.95rem}.form-actions{flex-direction:column;gap:10px}.btn{width:100%;padding:12px 25px;font-size:1rem}.skills-grid{grid-template-columns:1fr;max-height:350px}.skill-item{padding:10px 12px}.numeric-fields-group{grid-template-columns:1fr;gap:15px}}@media (max-width: 480px){.character-creation-title{font-size:1.8rem}.character-creation-form{padding:25px 15px}.form-group{margin-bottom:25px}}
