.combat-grid{position:fixed;top:0;left:0;width:100vw;height:100vh;margin:0;padding:0;overflow:hidden;z-index:100}.current-section{min-height:100%;overflow:hidden;display:flex;align-items:stretch;justify-content:stretch}.current-container{position:absolute;left:0%;width:40%;height:100%;display:flex;align-items:center;justify-content:center;clip-path:polygon(0 0,100% 0,75% 100%,0% 100%);z-index:50;transition:transform .5s ease}.current-container.fade-out{transform:translate(-100%)}.current-container.fade-in{transition-duration:0s;transform:translate(0)}.current-image{width:100%;height:100%;object-fit:cover;filter:brightness(100%);z-index:60}.next-slanted-container,.temp-slanted-container{position:absolute;left:10%;width:40%;height:100%;display:flex;align-items:center;justify-content:center;clip-path:polygon(0 0,100% 0,75% 100%,0% 100%);opacity:1;transition:all .2s ease}.next-slanted-container{z-index:1}.temp-slanted-container{z-index:0}.next-slanted-container.fade-out{left:0%;filter:brightness(100%)}.next-slanted-container.fade-in{transition-duration:0s;transform:translate(0)}.next-slanted-container img,.temp-slanted-container img{width:100%;height:100%;object-fit:cover;filter:brightness(30%);transition:all .2s ease}.next-slanted-container.fade-out img{filter:brightness(100%)}.next-slanted-container.fade-in img{transition-duration:0s}.turn-controls{position:absolute;left:2rem;bottom:4rem;display:flex;gap:1rem;z-index:110}.control-button{padding:.75rem 1.5rem;border-radius:15px;color:#fff;font-weight:700;border:1px solid rgba(100,150,100,.3);cursor:pointer;background:#0000001a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);transition:all .3s ease;position:relative;overflow:hidden}.control-button:hover{transform:translateY(-2px);border-color:#9a9a9a80}.initiative-list{background:#0000001a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);border-left:2px solid rgba(144,144,144,.3);position:absolute;height:100%;width:35%;right:0;top:0;display:flex;flex-direction:column;padding:2rem 1rem;box-sizing:border-box}.initiative-title{font-size:2.5rem;font-weight:700;color:#fff;margin-bottom:1rem;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.3)}.initiative-header{display:flex;flex-direction:column;align-items:center;margin-bottom:2rem}.round-tracker{display:flex;align-items:center;gap:.5rem}.round-label{font-size:1rem;font-weight:600;color:#fffc;text-transform:uppercase;letter-spacing:.5px}.initiative-grid{display:flex;flex-direction:column;gap:1rem;overflow-y:auto;padding-right:.5rem;flex:1}.initiative-item{display:flex;align-items:center;gap:1rem;padding:1rem;border-radius:5px;background:#0000001a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);border:1px solid rgba(142,142,142,.3);position:relative;overflow:hidden}.initiative-item:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:#0000001a;transition:left .5s}.initiative-item:hover:before{left:100%}.initiative-item:hover{transform:translateY(-3px);border-color:#93939380}.initiative-item.current{transition-duration:.15s;background:#ffffff1a;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.initiative-item .initiative-number{font-size:1.5rem;font-weight:800;color:#fff;width:3rem;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.3)}.initiative-item .character-name{flex:1;font-size:1rem;color:#fff;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.3)}.initiative-item .character-type{padding:.3rem .8rem;background:#0000004d;color:#fff;font-size:.7rem;font-weight:700;border-radius:20px;border:1px solid rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:.5px}.image-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#0000001a;z-index:2}.bg-blue-500{background:#0051ff1a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.bg-red-700{background:#2a000055;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.bg-green-600{background:#00ff041a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.bg-yellow-400{background:#ffee001a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.bg-black{background:#0003;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.initiative-grid::-webkit-scrollbar{width:8px}.initiative-grid::-webkit-scrollbar-track{background:#ffffff1a;border-radius:4px}.initiative-grid::-webkit-scrollbar-thumb{background:#ffffff4d;border-radius:4px}.initiative-grid::-webkit-scrollbar-thumb:hover{background:#ffffff80}@media (max-width: 1024px){.initiative-list{width:40%;padding:1.5rem .75rem}.initiative-title{font-size:2rem}.turn-controls{left:1.5rem;bottom:3rem;gap:.75rem}.control-button{padding:.6rem 1.2rem;font-size:.95rem}}@media (max-width: 900px){.combat-grid{display:grid;grid-template-columns:1fr;grid-template-rows:60vh 40vh;position:relative;height:100vh}.turn-controls{left:1rem;bottom:2rem;gap:.5rem}.control-button{padding:.5rem 1rem;font-size:.9rem}.current-container,.next-slanted-container,.temp-slanted-container{clip-path:none;width:100%;left:0}.initiative-list{width:100%;padding:1rem .75rem}.initiative-title{font-size:1.75rem}}@media (max-width: 768px){.initiative-list{padding:1rem .5rem}.initiative-title{font-size:1.5rem;margin-bottom:.75rem}.initiative-header{margin-bottom:1rem}.initiative-item{padding:.75rem;gap:.75rem}.initiative-item .initiative-number{font-size:1.25rem;width:2.5rem}.initiative-item .character-name{font-size:.95rem}.initiative-item .character-type{padding:.25rem .6rem;font-size:.65rem}.turn-controls{left:.75rem;bottom:1.5rem;gap:.5rem}.control-button{padding:.5rem 1rem;font-size:.85rem}}@media (max-width: 480px){.initiative-list{padding:.75rem .35rem}.initiative-title{font-size:1.35rem;margin-bottom:.5rem}.round-label{font-size:.9rem}.initiative-header{margin-bottom:.75rem}.initiative-grid{gap:.5rem}.initiative-item{padding:.5rem;gap:.5rem}.initiative-item .initiative-number{font-size:1.1rem;width:2rem}.initiative-item .character-name{font-size:.85rem}.initiative-item .character-type{padding:.2rem .5rem;font-size:.6rem}.turn-controls{left:.5rem;bottom:1rem;gap:.35rem}.control-button{padding:.4rem .75rem;font-size:.8rem;border-radius:10px}}.modal-overlay{position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:10000!important;background:#000000bf!important;display:flex!important;align-items:center!important;justify-content:center!important}.modal-content{background:#1f2937!important;border:1px solid #374151!important;border-radius:.75rem!important;padding:2rem!important;max-width:32rem!important;width:90vw!important;max-height:90vh!important;overflow-y:auto!important;position:relative!important;z-index:10001!important}.creature-image-container{margin-top:1rem;display:flex;justify-content:center;align-items:center;max-width:300px;max-height:300px;border-radius:12px;overflow:hidden;box-shadow:0 8px 25px #0000004d;position:relative}.creature-image{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.creature-image:hover{transform:scale(1.05)}.creature-image-loading{display:flex;justify-content:center;align-items:center;height:200px;color:#fff9;font-style:italic;background:#ffffff1a;border-radius:12px;margin-top:1rem}.image-error-indicator{position:absolute;top:8px;right:8px;background:#ffffffe6;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px;cursor:help}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh}body{background:url(/images/defaults/Forest.png);background-attachment:fixed;background-size:cover;background-position:center;background-repeat:no-repeat;color:#fff;overflow-x:hidden}.glass{background:#ffffff1a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);border:1px solid rgba(255,255,255,.2);border-radius:16px}.glass-heavy{background:#ffffff26;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);border:1px solid rgba(255,255,255,.25);border-radius:20px}.glass-light{background:#ffffff0d;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);border:1px solid rgba(255,255,255,.1);border-radius:12px}.glass-card{background:#0000001a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);border:2px solid rgba(100,150,100,.3);border-radius:20px;position:relative;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1)}.glass-card:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:#0000001a;transition:left .5s}.glass-card:hover:before{left:100%}.glass-card:hover{transform:translateY(-5px);border-color:#64966480}.glass-modal{background:#0000001a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);border:2px solid rgba(120,180,120,.4);border-radius:25px;position:relative}.glass-button{background:#ffffff1a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);border:1px solid rgba(100,150,100,.3);border-radius:15px;transition:all .3s ease;position:relative;overflow:hidden}.glass-button:hover{transform:translateY(-2px);border-color:#64966480}.glass-button:active{transform:translateY(0)}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.2;margin-bottom:1rem}h1{font-size:2.5rem;font-weight:700}h2{font-size:2rem}h3{font-size:1.5rem}h4{font-size:1.25rem}p{line-height:1.6;margin-bottom:1rem}.btn{padding:4px 10px;border:1px solid rgba(100,150,100,.3);border-radius:10px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#00000026;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);position:relative;overflow:hidden}.btn:hover{transform:translateY(-2px);border-color:#64966480}.btn:active{transform:translateY(0)}.btn-primary{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;border:1px solid rgba(255,255,255,.2)}.btn-primary:hover{background:linear-gradient(135deg,#2563eb,#1e40af)}.btn-secondary{background:#ffffff1a;color:#fff;border:1px solid rgba(255,255,255,.2)}.btn-secondary:hover{background:#ffffff26}.btn-danger{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;border:1px solid rgba(255,255,255,.2)}.btn-danger:hover{background:linear-gradient(135deg,#b91c1c,#991b1b)}.btn-success{background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;border:1px solid rgba(255,255,255,.2)}.btn-success:hover{background:linear-gradient(135deg,#15803d,#166534)}.btn-sm{padding:8px 16px;font-size:.875rem;min-height:36px}.btn-lg{padding:16px 32px;font-size:1.125rem;min-height:56px}.form-group{margin-bottom:1.5rem}.form-label{display:block;margin-bottom:.5rem;font-weight:500;color:#ffffffe6}.form-input{width:100%;padding:12px 16px;border:2px solid rgba(100,150,100,.3);border-radius:15px;background:#0000001a;color:#fff;font-size:1rem;transition:all .3s ease;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.form-input::placeholder{color:#fff9}.form-input:focus{outline:none;border-color:#64966499;background:#0000001a}.form-input:invalid{border-color:#dc262699}.form-error{color:#f87171;font-size:.875rem;margin-top:.5rem}.initiative-row{display:flex;gap:8px;align-items:center;padding:8px 12px;background:#0003;border:1px solid rgba(100,150,100,.3);border-radius:12px;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);transition:all .3s ease}.initiative-row:hover{background:#0000004d;border-color:#64966466}.initiative-row .form-input{margin:0;padding:8px 12px;flex:1;min-width:0}.initiative-row .form-input:first-of-type{flex:2}.initiative-row .form-input[type=number]{flex:.8}.initiative-row select.form-input{flex:1.2}.initiative-row .btn-sm{padding:6px 10px;min-width:32px;height:32px;flex-shrink:0}.card{padding:1.5rem;margin-bottom:1rem;transition:all .3s cubic-bezier(.4,0,.2,1);background:#0000001a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);border:2px solid rgba(100,150,100,.3);border-radius:20px;position:relative;overflow:hidden}.card:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:#0000001a;transition:left .5s}.card:hover:before{left:100%}.card:hover{transform:translateY(-5px);border-color:#64966480}.card-body{padding:1rem}.card-header{padding:1rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.1);margin:-1.5rem -1.5rem 1rem;border-radius:16px 16px 0 0}.creature-edit-card{transition:all .3s ease;background:#1e1e1e99!important}.creature-edit-card:hover{transform:translateY(-2px);background:#282828b3!important}.grid{display:grid}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.space-y-2>*+*{margin-top:.5rem}.space-y-3>*+*{margin-top:.75rem}.space-y-4>*+*{margin-top:1rem}.creature-player{color:#3b82f6;border-color:#3b82f6}.creature-enemy{color:#dc2626;border-color:#dc2626}.creature-ally{color:#16a34a;border-color:#16a34a}.creature-other{color:#fff;border-color:#fff}.container{max-width:1200px;margin:0 auto;padding:0 1rem}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}.gap-4{gap:1rem}.gap-8{gap:2rem}.w-full{width:100%}.w-15{width:15%}.w-60{width:60%}.auth-container{width:90%;max-width:480px;padding:2rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.text-center{text-align:center}.text-right{text-align:right}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-8{padding:2rem}.rounded-sm{border-radius:.25rem}.rounded{border-radius:.5rem}.rounded-lg{border-radius:.75rem}.spinner{border:4px solid rgba(255,255,255,.2);border-top:4px solid #3b82f6;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:0 auto}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 1024px){.container{padding:0 1.5rem}}@media (max-width: 768px){.container{padding:0 .75rem}.auth-container{width:95%;padding:1.5rem}h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}.btn{padding:10px 20px;font-size:.9rem}.card{padding:1rem;margin-bottom:.75rem}.modal-overlay{padding:.5rem}.modal-content{padding:1.5rem;max-width:100%}.glass,.glass-heavy,.glass-card,.glass-modal{border-radius:12px}.form-input{padding:10px 12px;font-size:.95rem}.btn-sm{padding:6px 12px;font-size:.8rem}.btn-lg{padding:12px 24px;font-size:1rem}}@media (max-width: 480px){.container{padding:0 .5rem}.auth-container{width:98%;padding:1rem}h1{font-size:1.75rem}h2{font-size:1.35rem}h3{font-size:1.1rem}.btn{padding:8px 16px;font-size:.85rem}.card{padding:.75rem;margin-bottom:.5rem}.modal-content{padding:1rem}.glass,.glass-heavy,.glass-card,.glass-modal{border-radius:10px}.form-input{padding:8px 10px;font-size:.9rem}.btn-sm{padding:5px 10px;font-size:.75rem}.form-group{margin-bottom:1rem}.gap-4{gap:.5rem}.gap-8{gap:1rem}.p-4{padding:.75rem}.p-8{padding:1rem}}.fade-in{animation:fadeIn .5s ease-in}.slide-in{animation:slideIn .3s ease-out}@keyframes slideIn{0%{transform:translate(-100%)}to{transform:translate(0)}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#0000001a;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);border:2px solid rgba(120,180,120,.4);border-radius:25px;padding:2rem;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;animation:modalSlideIn .3s ease-out;position:relative}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.9) translateY(-50px)}to{opacity:1;transform:scale(1) translateY(0)}}
