body,html{background:#1e1e1e;box-sizing:border-box;color:#fff;font-family:sans-serif;-webkit-hyphens:none;hyphens:none;margin:0;overflow-wrap:normal;padding:0;word-break:keep-all}*,:after,:before{box-sizing:inherit}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=number]::-ms-input-spinner{display:none}::-webkit-scrollbar{height:12px;width:12px}::-webkit-scrollbar-track{background:#1e1e1e;border-radius:4px}::-webkit-scrollbar-thumb{background-color:#4c8bfd;border-radius:4px;-webkit-transition:background-color .3s;transition:background-color .3s}::-webkit-scrollbar-thumb:hover{background-color:#356fd1}html{scrollbar-color:#4c8bfd #1e1e1e;scrollbar-width:thin}.loader-overlay{align-items:center;background-color:#0009;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:99999}.spinner{animation:spin .9s linear infinite;border:6px solid #ccc;border-radius:50%;border-top-color:#4c8bfd;height:50px;width:50px}@keyframes spin{to{transform:rotate(1turn)}}.notification-container{align-items:center;display:flex;flex-direction:column;gap:.5rem;left:0;margin:0 auto;max-width:320px;position:fixed;right:0;top:1rem;z-index:9999}.notification{word-wrap:break-word;align-items:center;border-radius:6px;box-shadow:0 2px 8px #0003;color:#fff;display:flex;font-weight:500;justify-content:space-between;opacity:1;padding:.8rem 1rem;transition:opacity 5s ease}.notification.fade{opacity:0}.notification.approved{background-color:#4caf50}.notification.warning{background-color:#ff9800}.notification.error{background-color:#f44336}.notification .notification .message{flex:1 1;margin:0}.notification .message{display:inline-block;margin-right:.25rem}.notification .close-btn{background:#0000;border:none;color:#ffffffe6;cursor:pointer;font-size:1.2rem;line-height:1;padding:0;position:relative}.auth-container{background:#1f1f1f;border-radius:8px;box-shadow:0 0 15px #0006;color:#fff;left:50%;max-width:400px;padding:2rem;position:fixed;top:45%;transform:translate(-50%,-50%);width:100%}.auth-container input{background:#2a2a2a;border:1px solid #333;border-radius:4px;color:#fff;font-size:1rem;margin-bottom:1rem;padding:.5rem;width:100%}.auth-container button{background-color:#4c8bfd;border:none;border-radius:4px;color:#fff;cursor:pointer;font-weight:700;padding:.6rem;transition:.3s;width:100%}.auth-container button:hover{background-color:#356fd1}.auth-container h2{font-size:1.2rem;margin-bottom:1rem;text-align:center}.auth-container .error{color:#ff4d4d;font-size:.9rem;margin-top:5px}.micro-modal{background:#2a2a2a;border:1px solid #444;border-radius:6px;box-shadow:0 4px 8px #0003;color:#fff;font-size:.9rem;margin-top:.5rem;min-width:200px;padding:.75rem;position:absolute;right:0;top:100%;z-index:100}.micro-modal .email{margin-bottom:.5rem;opacity:.85}.micro-modal .logout{background:#e74c3c;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:.4rem;width:100%}.micro-modal .logout:hover{background:#c0392b!important}.custom-button{background-color:#4c8bfd;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;font-weight:700;padding:.5rem 1rem;transition:background-color .3s;-webkit-user-select:none;user-select:none}.custom-button.back{margin:6px}.custom-button.warning{background-color:#e74c3c}.custom-button.warning:hover{background:#c0392b!important}.custom-button:hover:enabled{background-color:#356fd1}.custom-button:disabled{background-color:#999;cursor:not-allowed}.custom-button.join-confirm{background-color:#4caf50;font-size:1.1rem;padding:.4rem .7rem}.custom-button.join-confirm:hover{background-color:#3e8e41}.custom-button.join-confirm svg{pointer-events:none}.home-container{background:#1e1e1e;color:#fff;display:flex;flex-direction:column;height:100vh}header{align-items:center;background:#292929;display:flex;justify-content:space-between;padding:1rem}header .user{font-size:1rem;font-weight:700}.main-grid{grid-gap:1rem;display:grid;flex-grow:1;gap:1rem;grid-template-columns:1fr 1fr;grid-template-rows:1fr auto;padding:1rem}@media(max-width:800px){.main-grid{gap:.8rem;grid-template-columns:1fr;grid-template-rows:none;padding:.5rem}.main-grid>.left,.main-grid>.right-bottom,.main-grid>.right-top{grid-column:unset!important;grid-row:unset!important}}.block{background:#3a3a3a;border:2px solid #555;border-radius:6px;font-size:1.2rem;padding:1rem}.db-buttons{display:flex;gap:1rem}.db-buttons button{flex:1 1}.left{display:flex;flex-direction:column;grid-row:span 2;justify-content:space-between;min-height:80vh;padding:1rem}@media(max-width:800px){.left{grid-column:unset;grid-row:unset}}.left h3{font-size:1.1rem;margin-bottom:.5rem}.left .lobby-list{background:#2a2a2a;border:1px solid #555;border-radius:6px;flex-grow:1;margin-bottom:1rem;overflow-y:auto;padding:.5rem}.left .lobby-list .lobby-item{border-bottom:1px solid #444;cursor:pointer;padding:.4rem}.left .lobby-list .lobby-item:hover{background:#3a3a3a}.left .join-code-wrapper{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.left .join-code-wrapper .join-code-input{background:#222;border:1px solid #444;border-radius:4px;color:#fff;flex:1 1;font-size:1rem;max-width:140px;padding:.4rem}.left .join-code-wrapper .join-confirm{background:#4caf50;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1.1rem;padding:.4rem .7rem}.left .join-code-wrapper .join-confirm:hover{background:#3e8e41}.left .lobby-buttons{display:flex;gap:1rem}.left .lobby-buttons button{background:#4c8bfd;border:none;border-radius:4px;color:#fff;cursor:pointer;flex:1 1;font-weight:700;padding:.5rem}.left .lobby-buttons button:hover{background:#356fd1}.right-top{grid-column:2;grid-row:1}@media(max-width:800px){.right-top{grid-column:unset;grid-row:unset}}.right-bottom{grid-column:2;grid-row:2}@media(max-width:800px){.right-bottom{grid-column:unset;grid-row:unset}}.user-container{cursor:pointer;position:relative}.user-container .user{background:#444;border-radius:4px;font-size:1rem;font-weight:700;padding:.3rem .6rem;-webkit-user-select:none;user-select:none}.user-container .user:hover{background:#555}.lobbies-container{display:flex;flex-direction:column;height:100%;justify-content:space-between;padding:1rem}.lobbies-container h3{font-size:1.1rem;margin-bottom:.5rem}.lobbies-container .lobby-list{background:#2a2a2a;border:1px solid #555;border-radius:6px;flex-grow:1;margin-bottom:1rem;overflow-y:auto;padding:.5rem}.lobbies-container .lobby-list .lobby-item{border-bottom:1px solid #444;cursor:pointer;padding:.4rem}.lobbies-container .lobby-list .lobby-item:hover{background:#3a3a3a}.lobbies-container .join-code-wrapper{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.lobbies-container .join-code-wrapper .join-code-input{background:#222;border:1px solid #444;border-radius:4px;color:#fff;flex:1 1;font-size:1rem;max-width:140px;padding:.4rem}.lobbies-container .lobby-buttons{display:flex;gap:1rem}.lobbies-container .lobby-buttons button{flex:1 1}.modal-backdrop{align-items:center;background-color:#0009;display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:999}.modal-content{background-color:#1f1f1f;border-radius:10px;box-shadow:0 0 20px #0006;color:#fff;display:flex;flex-direction:column;gap:1rem;padding:20px}.modal-content h3{font-size:1.2rem;margin-bottom:.5rem}.modal-content .form-row{display:flex;gap:.5rem}.modal-content .form-row input{background:#2a2a2a;border:1px solid #444;border-radius:4px;color:#fff;flex:1 1;font-size:1rem;padding:.5rem}.modal-content .form-row .custom-button{padding:.5rem 1.2rem;white-space:nowrap}.modal-content input,.modal-content select,.modal-content textarea{background:#2a2a2a;border:1px solid #444;border-radius:4px;box-sizing:border-box;color:#fff;font-size:1rem;outline:none;padding:.5rem;transition:border-color .2s;width:100%}.modal-content input:focus,.modal-content select:focus,.modal-content textarea:focus{border-color:#4a90e2}.modal-content input::placeholder,.modal-content select::placeholder,.modal-content textarea::placeholder{color:#999}.modal-close{background:#0000;border:none;color:#fff;cursor:pointer;font-size:1.5rem;position:absolute;right:.7rem;top:.3rem}.modal-close:hover{color:#f66}.templates-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.templates-grid textarea{resize:vertical}.deleting{background-color:#c0392b}.deleting:hover{background-color:#c0392b!important}.template-card{border-radius:12px;box-shadow:0 4px 8px #0003;cursor:pointer;height:220px;overflow:hidden;position:relative;transition:transform .2s}.template-card:hover{transform:scale(1.03)}.template-card .template-overlay{background:#0009;bottom:0;color:#fff;display:flex;font-size:14px;justify-content:space-between;padding:.5rem;position:absolute;width:100%}.template-modal-content{display:flex;flex-direction:column;gap:.75rem;max-height:80vh;overflow-y:auto;padding-right:.5rem}.add-card{align-items:center;background:#333;display:flex;font-size:2rem;justify-content:center}.room-container{position:relative}.top-bar{background-color:#1c1c1c;box-shadow:0 2px 4px #0006;height:60px;justify-content:space-between;left:0;padding:0 1rem;position:fixed;right:0;top:0;z-index:12}.room-header,.top-bar{align-items:center;color:#fff;display:flex}.room-header{background-color:#1e1e1e;gap:1rem;margin-top:60px;padding:1rem;position:relative}.chat-toggle,.menu-icon{cursor:pointer}.chat-toggle{position:absolute;right:20px;top:1rem}.chat-toggle .badge{background:red;border-radius:50%;height:8px;position:absolute;right:-4px;top:-4px;width:8px}.sidebar-overlay{background:#0009;inset:0;position:fixed;z-index:10}.sidebar{background-color:#2b2b2b;box-shadow:2px 0 10px #00000080;color:#fff;height:100vh;left:0;margin-top:60px;padding:1rem;position:fixed;top:0;transform:translateX(-100%);transition:transform .3s ease;width:250px;z-index:11}.sidebar.open{transform:translateX(0)}.room-content{display:flex;gap:16px;height:calc(100vh - 116px);padding:16px}.characters-column{flex:1 1 auto;gap:8px;margin-right:0;overflow-y:auto;transition:width .3s ease,margin-right .3s ease}.characters-column,.chat-drawer{display:flex;flex-direction:column;height:calc(100% - 60px)}.chat-drawer{background:#1e1e1e;box-shadow:-2px 0 8px #0003;max-width:600px;position:fixed;right:-100%;top:60px;transition:right .3s ease;width:80%;z-index:15}.chat-drawer.open{right:0}.chat-drawer .chat-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;padding-left:.5rem;padding-right:1rem}.chat-drawer .chat-messages{display:flex;flex:1 1;flex-direction:column;gap:4px;overflow-y:auto;padding:.5rem}.chat-drawer .chat-message{align-items:baseline;display:flex;gap:4px;word-break:break-word}.chat-drawer .command-message{color:#fff3cd;cursor:pointer}.chat-drawer .command-message .chat-text:hover{text-decoration:underline}.chat-drawer .chat-time{color:#666;font-size:.75rem}.chat-drawer .chat-sender{font-weight:700}.chat-drawer .chat-text{flex:1 1}.chat-drawer .dice-buttons{display:flex;gap:8px;overflow-y:auto;padding:.5rem;width:100%}.chat-drawer .dice-buttons button{align-items:center;background-color:#f0f0f0;border:1px solid #ccc;border-radius:4px;cursor:pointer;display:flex;font-size:.9rem;height:45px;justify-content:center;width:45px}.chat-drawer .dice-buttons button:hover{background-color:#e0e0e0}.chat-drawer .chat-input-wrapper{border-top:1px solid #ddd;padding:.5rem;position:relative}.chat-drawer .chat-input-wrapper .chat-input{border:1px solid #ccc;border-radius:4px;font-size:14px;margin-bottom:6px;outline:none;padding:6px 10px;width:100%}.chat-drawer .chat-input-wrapper .suggestions-list{background:#fff;border:1px solid #ccc;left:0;list-style:none;margin:0;max-height:120px;overflow-y:auto;padding:0;position:absolute;right:0;top:-120px;z-index:10}.chat-drawer .chat-input-wrapper .suggestions-list .suggestion-item{color:#000;cursor:pointer;padding:6px 10px}.chat-drawer .chat-input-wrapper .suggestions-list .suggestion-item:hover{background-color:#f0f0f0}@media(max-width:768px){.top-bar .room-code{font-size:medium}.chat-container{display:none}.room-content.chat-open .characters-column{margin-right:0;width:100%}}@media(min-width:1042px){.room-content{transition:padding-right .3s ease}.room-content.chat-open .characters-column{margin-right:min(80vw,600px)}}.characters-display-box{display:flex;flex-direction:column;gap:1rem}.character-box{background:#22222a;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.333);overflow:hidden;position:relative}.character-box .character-main{align-items:center;cursor:pointer;display:flex;padding:.8rem 1rem}.character-box .character-main .character-image{background:#292940;border-radius:8px;height:56px;margin-right:1rem;object-fit:cover;width:56px}.character-box .character-main .character-info{flex:1 1}.character-box .character-main .character-info .character-name{color:#fff7c0;font-size:1.11em;font-weight:700}.character-box .character-main .character-info .character-hp{display:inline-block;width:auto}.character-box .character-main .character-info .character-hp.editable{cursor:pointer;text-decoration:underline}.character-box .character-main .character-info .character-thp{color:#ffc09f;font-size:.95em;margin-left:.4em}.character-box .character-main .character-info .character-stats{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.1em}.character-box .character-main .character-info .stat-pair{color:#9ad0fc;display:inline-block;font-size:.95em;white-space:nowrap}.character-box .character-main .character-info .stat-pair u{color:inherit;cursor:pointer;text-decoration:underline}.character-box .character-main .expand-arrow{color:#4ccfff;font-size:1.4em;margin-left:.7em;-webkit-user-select:none;user-select:none}.character-box .character-main .edit-btn{bottom:.5rem;margin-left:1rem;right:.5rem}.character-box .character-spellslots{animation:openSlots .2s;background:#252532;border-top:1px solid #2e2e3e;padding:.7rem 1.2rem 1rem 2.6rem}.character-box .character-spellslots .spellslots-title{color:#b7d5ff;font-size:1.04em;font-weight:600;letter-spacing:.5px;margin-bottom:.4em}.character-box .character-spellslots .spellslots-list{display:flex;flex-wrap:wrap;gap:.7rem 2.2rem}.character-box .character-spellslots .spellslots-list .spellslot-row{color:#d0e4fa;font-size:1.02em}.character-box .character-spellslots .spellslots-list .spellslot-row .slot-label{color:#7ee7fa;font-weight:600;margin-right:.5em}.spells-row{grid-gap:1.2rem 2.6rem;align-items:stretch;background:#21212b;border-radius:10px;display:grid;gap:1.2rem 2.6rem;grid-template-columns:repeat(3,1fr);max-height:calc(100vh - 130px);overflow-y:auto;padding:1.2rem 2rem 1.5rem}.spells-row h3.sheet-section-title{grid-column:1/-1}.sheet-section-title{color:#ccf;font-size:1.15em;font-weight:700;letter-spacing:1px;margin-bottom:.4em}.character-assets-buttons{background:#252532;border-top:1px solid #2e2e3e;display:flex;gap:.5rem;justify-content:flex-end;padding:.5rem 1rem}.asset-list{list-style:none;margin:0;padding:0}.asset-list li{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.items-cards,.spells-cards{display:flex;flex-direction:column;gap:.75rem;max-height:300px;overflow-y:auto}.item-card,.spell-card{align-items:center;background:#21212b;border:1px solid #3c3c56;border-radius:6px;cursor:pointer;display:flex;flex-direction:row;padding:.75rem;transition:background .2s}.item-card:hover,.spell-card:hover{background:#21213c}.item-card .item-header,.spell-card .spell-header{align-items:center;display:flex;flex:1 1;justify-content:space-between}.item-card .item-name,.spell-card .spell-name{color:#fff;font-weight:700}.item-name,.spell-name{margin-right:1rem}.item-card .item-img img,.spell-card .spell-img img{border:1px solid #444;border-radius:4px;height:40px;object-fit:cover;width:40px}.item-card .item-body{color:#ccc;display:flex;flex-direction:column;font-size:.85rem;margin-left:1rem}.item-card .item-rarity,.item-card .item-type{margin-bottom:.25rem}.hp-mode-select{display:flex;justify-content:space-between;margin-bottom:1rem}.hp-mode-select label{align-items:center;color:#c7c7d9;cursor:pointer;display:flex;font-size:.98rem}.hp-mode-select label input[type=radio]{accent-color:#4c8bfd;height:1.1em;margin-right:.5em;width:1.1em}@keyframes openSlots{0%{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:translateY(0)}}.stat-icon{-webkit-text-stroke:.75px #000c;align-items:center;background-position:50%;background-repeat:no-repeat;background-size:contain;color:#fff;display:inline-flex;font-size:1em;font-weight:700;height:32px;justify-content:center;margin-right:.4rem;position:relative;text-shadow:-1px -1px 0 #000c,1px -1px 0 #000c,-1px 1px 0 #000c,1px 1px 0 #000c;width:32px}.shield-icon{background-image:url(/static/media/shield.f5bde7e2c5ebc8448b52.png)}.wing-icon{background-image:url(/static/media/wing.636e14e20fe957601c91.png)}.boot-icon{background-image:url(/static/media/boot.40c7d4df815121c6d2d1.png)}.health-icon{background-image:url(/static/media/heart.d759bd9beaf2b8671f48.png)}@media(max-width:600px){.stat-icon{font-size:.9em;height:28px;margin-right:.3rem;width:28px}}.item-info .desc{word-wrap:keep-all;white-space:pre-wrap}.item-info{grid-gap:.5rem;background:#1f1f1f;border:1px solid #333;border-radius:8px;box-shadow:0 2px 4px #0009,0 4px 8px #000c;color:#e0e0e0;display:grid;gap:.5rem;grid-template-areas:"name   name    name    img" "type   rarity  rarity  img" "desc   desc    desc    desc" "actions .       .      price";grid-template-columns:1fr 1fr 1fr auto;grid-template-rows:auto auto 1fr auto;margin:1rem auto;max-width:600px;padding:1rem}.item-info .name{grid-area:name}.item-info .name h2{font-size:1.5rem;margin:0}.item-info .name input{background:#2e2e2e;border:1px solid #444;border-radius:4px;color:#e0e0e0;font-size:1.2rem;outline:none;padding:.25rem}.item-info .name input:focus{border-color:#666}.item-info .img{align-items:start;display:flex;grid-area:img;justify-content:center}.item-info .img img{border:1px solid #333;border-radius:4px;max-height:120px;max-width:120px;object-fit:cover}.item-info .img input{background:#2e2e2e;border:1px solid #444;border-radius:4px;color:#e0e0e0;outline:none;padding:.25rem;width:120px}.item-info .img input:focus{border-color:#666}.item-info .type{font-size:.9rem;grid-area:type}.item-info .type input{background:#2e2e2e;border:1px solid #444;border-radius:4px;color:#e0e0e0;outline:none;padding:.25rem;width:100%}.item-info .type input:focus{border-color:#666}.item-info .rarity{font-size:.9rem;grid-area:rarity}.item-info .rarity input{background:#2e2e2e;border:1px solid #444;border-radius:4px;color:#e0e0e0;outline:none;padding:.25rem;width:100%}.item-info .rarity input:focus{border-color:#666}.item-info .desc{word-wrap:break-word;grid-area:desc;height:auto;max-height:500px;overflow-wrap:normal;overflow-x:hidden;overflow-y:auto;text-align:justify;white-space:keep-all;word-break:keep-all}.item-info .desc p{margin:0 15px 0 0}.item-info .desc textarea{background:#2e2e2e;border:1px solid #444;border-radius:4px;color:#e0e0e0;height:500px;max-height:none;outline:none;padding:.5rem;resize:vertical;width:100%}.item-info .desc textarea:focus{border-color:#666}.item-info .actions{display:flex;gap:.5rem;grid-area:actions}.item-info .actions .delete-btn{background:#c44;color:#fff}.item-info .price{align-self:center;font-size:.9rem;grid-area:price;justify-self:end}.item-info .price input{background:#2e2e2e;border:1px solid #444;border-radius:4px;color:#e0e0e0;outline:none;padding:.25rem;text-align:right;width:80px}.item-info .price input:focus{border-color:#666}.character-sheet-root{background:#23232a;border-radius:18px;box-shadow:0 4px 28px rgba(0,0,0,.667);margin:2rem auto;max-width:1200px;padding:2.5rem 1.5rem}.character-sheet-root .input-label-block{display:flex;flex-direction:column;gap:.18em;margin-bottom:1em}.character-sheet-root .input-label-block label{color:#cfcff9;font-size:1.02em;font-weight:500;letter-spacing:.5px;line-height:1.13;margin-bottom:.16em;padding-left:1px;text-shadow:0 1px 3px #1d1d22;transition:color .2s}.character-sheet-root .input-label-block input,.character-sheet-root .input-label-block textarea{margin-bottom:0;margin-top:0}.character-sheet-root .sheet-row--header .input-label-block{flex:1 1 170px;margin-right:.85em;max-height:65px;min-width:140px}.character-sheet-root .sheet-section-title{color:#fed;font-size:1.19em;font-weight:700;letter-spacing:1.2px;margin-bottom:1.1em;text-shadow:0 1px 5px #1d1d22}.character-sheet-root .sheet-section-subtitle{color:#aad;font-size:1.07em;font-weight:700;letter-spacing:.7px;margin-bottom:.7em;margin-top:1.3em;text-shadow:0 1px 5px #1d1d22}.character-sheet-root .sheet-column.notes label{color:#aaa3ee;display:block;font-size:1.05em;font-weight:500;letter-spacing:.7px;margin-bottom:.5em}.character-sheet-root .sheet-column.notes textarea{margin-bottom:1.2em;min-height:70px}.character-sheet-root .sheet-row--header{background:#22222a;border-radius:10px;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.8rem;padding:1rem 1rem .8rem}.character-sheet-root .sheet-row--header input{background:#242430;border:1.5px solid #313149;border-radius:7px;color:#eee;flex:1 1 200px;font-size:1.09em;margin-right:.6rem;min-width:140px;padding:.4em .7em}.character-sheet-root .sheet-row--header .sheet-title{background:#262635;color:#fff7c0;flex:2 1 350px;font-size:1.45em;font-weight:700;letter-spacing:1.5px}.character-sheet-root .sheet-row--header .sheet-small{background:#262635;border:1.5px solid #313149;border-radius:7px;color:#eee;flex:1 1 120px;font-size:1.01em;min-width:90px}.character-sheet-root .sheet-grid{grid-gap:1.6rem;display:grid;gap:1.6rem;grid-template-columns:270px 1.7fr 330px;margin-bottom:1.7rem}.character-sheet-root .sheet-grid .sheet-column{background:#242430;border-radius:14px;min-width:300px;padding:1.2rem 1.1rem}.character-sheet-root .sheet-grid .sheet-column.abilities{border-right:2px solid #2c2c38;max-width:400px;padding-right:1.3rem}.character-sheet-root .sheet-grid .sheet-column.notes textarea{background:#21212b;border:1.5px solid #3c3c56;border-radius:7px;color:#efeffc;font-size:1.05em;margin-bottom:1.15rem;min-height:100px;padding:.7em .9em;resize:vertical;width:100%}.character-sheet-root .sheet-grid .ability-group{margin-bottom:1.1rem;min-width:300px}.character-sheet-root .sheet-grid .ability-group .ability-box{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px;max-width:400px}.character-sheet-root .sheet-grid .ability-group .ability-box label{color:#fff7c0;font-size:1.09em;font-weight:600;letter-spacing:1px;min-width:78px}.character-sheet-root .sheet-grid .ability-group .ability-box .ability-input-mod{align-items:center;display:flex;gap:.55em}.character-sheet-root .sheet-grid .ability-group .ability-box .ability-input-mod input{background:#21212b;border:1.2px solid #3c3c56;color:#fed;font-size:1.06em;text-align:center;width:54px}.character-sheet-root .sheet-grid .ability-group .ability-box .ability-input-mod .modifier{color:#8fe28f;font-size:1.2em;font-weight:700;text-align:left;width:40px}.character-sheet-root .sheet-grid .saving-throws .save-row{align-items:center;display:flex;margin-bottom:6px;min-height:32px}.character-sheet-root .sheet-grid .saving-throws .save-row .save-value{color:#8fe28f;display:inline-block;font-size:1.12em;font-weight:700;margin-right:.28em;min-width:42px;text-align:right;width:42px}.character-sheet-root .sheet-grid .saving-throws .save-row label{align-items:center;color:#a8e;display:flex;flex:1 1 auto;font-size:1.03em;gap:.4em;margin-left:9px;min-width:120px}.character-sheet-root .sheet-grid .saving-throws .save-row input[type=number]{background:#21212b;border:1px solid #3c3c56;border-radius:5px;color:#fed;font-size:1.07em;margin-left:.5em;min-width:42px;padding:.15em;text-align:center;width:42px}.character-sheet-root .sheet-grid .skills .skill-row{align-items:center;display:flex;margin-bottom:5px;min-height:32px}.character-sheet-root .sheet-grid .skills .skill-row .skill-value{color:#81e8ff;display:inline-block;font-size:1.07em;font-weight:700;margin-right:.23em;min-width:42px;text-align:right;width:42px}.character-sheet-root .sheet-grid .skills .skill-row label{align-items:center;color:#7be7e7;display:flex;flex:1 1 auto;font-size:1.03em;gap:.4em;margin-left:9px;min-width:120px}.character-sheet-root .sheet-grid .skills .skill-row input[type=number]{background:#21212b;border:1px solid #3c3c56;border-radius:5px;color:#fed;font-size:1.07em;margin-left:.5em;min-width:42px;padding:.15em;text-align:center;width:42px}.character-sheet-root .sheet-grid .mainstats-row{display:flex;gap:.7rem;margin-bottom:1.1rem;max-height:100px}.character-sheet-root .sheet-grid .mainstats-row input{background:#21212b;border:1.2px solid #313149;border-radius:6px;color:#fafaff;flex:1 1 80px;font-weight:600;height:40px;width:100px}.character-sheet-root .sheet-grid .health-block input{background:#21212b;border:1.2px solid #3c3c56;border-radius:6px;color:#fbfbfa;display:block;height:40px;margin-bottom:.7rem;width:100%}.character-sheet-root .sheet-grid .death-save-block{background:#22222a;border-radius:8px;margin:1.2rem 0;padding:.65rem}.character-sheet-root .sheet-grid .death-save-block span{color:#fed;font-size:1.07em}.character-sheet-root .sheet-grid .attacks-block{background:#22222a;border-radius:8px;margin:1.2rem 0;padding:.55rem}.character-sheet-root .sheet-grid .attacks-block h4{color:#e6a7ff;font-size:1.04em;font-weight:600;margin-bottom:.3rem}.character-sheet-root .character-items{margin:1rem 0}.character-sheet-root .character-items h3{color:#e0e0e0;margin-bottom:.5rem}.character-sheet-root .character-items .items-cards{display:flex;flex-direction:column;gap:.75rem;max-height:300px;overflow-y:auto}.character-sheet-root .character-items .item-card{align-items:center;background:#21212b;border:1px solid #3c3c56;border-radius:6px;cursor:pointer;display:flex;flex-direction:row;padding:.75rem;transition:background .2s}.character-sheet-root .character-items .item-card:hover{background:#21213c}.character-sheet-root .character-items .item-card .item-header{align-items:center;display:flex;flex:1 1;justify-content:space-between}.character-sheet-root .character-items .item-card .item-header .item-name{color:#fff;font-weight:700}.character-sheet-root .character-items .item-card .item-header .item-img img{border:1px solid #444;border-radius:4px;height:40px;object-fit:cover;width:40px}.character-sheet-root .character-items .item-card .item-body{color:#ccc;display:flex;flex-direction:column;font-size:.85rem;margin-left:1rem}.character-sheet-root .character-items .item-card .item-body .item-rarity,.character-sheet-root .character-items .item-card .item-body .item-type{margin-bottom:.25rem}.character-sheet-root .spells-cards{display:flex;flex-direction:column;gap:.75rem;max-height:300px;overflow-y:auto}.character-sheet-root .spell-card{align-items:center;background:#21212b;border:1px solid #3c3c56;border-radius:6px;cursor:pointer;display:flex;flex-direction:row;padding:.75rem;transition:background .2s}.character-sheet-root .spell-card:hover{background:#21213c}.character-sheet-root .spell-card .spell-header{align-items:center;display:flex;flex:1 1;justify-content:space-between}.character-sheet-root .spell-card .spell-name{color:#fff;font-weight:700}.character-sheet-root .spell-card .spell-img img{border:1px solid #444;border-radius:4px;height:40px;object-fit:cover;width:40px}.character-sheet-root .spells-row{align-items:flex-end;display:flex;flex-wrap:wrap;gap:1.3rem;padding:1.2rem 1.4rem}.character-sheet-root .spells-row h3{flex:0 0 130px;font-size:1.17em;margin-right:2rem}.character-sheet-root .spells-row{grid-gap:1.2rem 2.6rem;align-items:stretch;background:#21212b;border-radius:10px;display:grid;gap:1.2rem 2.6rem;grid-template-columns:repeat(3,1fr);margin:2.2rem 0 0;padding:1.2rem 2rem 1.5rem}.character-sheet-root .spells-row h3{color:#ccf;font-size:1.15em;font-weight:700;grid-column:1/-1;letter-spacing:1px;margin-bottom:.4em;padding-left:.15em}.character-sheet-root .spell-slot-col{display:block;min-width:120px;text-align:center}.character-sheet-root .spell-slot-col .slot-label{color:#6de7ff;display:block;font-size:1.06em;font-weight:700;margin-bottom:.38em}.character-sheet-root .spell-slot-col .spell-input-row{display:flex;gap:.28rem;justify-content:center;margin-top:.1em;width:100%}.character-sheet-root .spell-slot-col input{background:#23232a;border:1.2px solid #383855;border-radius:7px;color:#e4e4f4;font-size:1.07em;font-weight:600;min-width:60px;text-align:center;width:100px}.character-sheet-root .form-actions{display:flex;justify-content:space-between;margin:1rem}.stat-input-icon{background-position:50%;background-repeat:no-repeat;background-size:contain;border:none;border-radius:6px;color:#fff;font-weight:700;height:40px;text-align:center;width:40px}.stat-input-icon.ac{background-image:url(/static/media/shield.f5bde7e2c5ebc8448b52.png)}.stat-input-icon.initiative{background-image:url(/static/media/wing.636e14e20fe957601c91.png)}.stat-input-icon.speed{background-image:url(/static/media/boot.40c7d4df815121c6d2d1.png)}.stat-input-icon.health{background-image:url(/static/media/heart.d759bd9beaf2b8671f48.png)}@media(max-width:600px){.stat-input-icon{font-size:.9em;height:32px;width:32px}}@media(max-width:1156px){.character-sheet-root{padding:1.1rem .3rem}.character-sheet-root .sheet-row--header{gap:.7rem}.character-sheet-root .sheet-row--header input{margin-right:0;min-width:0}.character-sheet-root .sheet-row--header .sheet-small,.character-sheet-root .sheet-row--header .sheet-title{min-width:0}.character-sheet-root .ability-group .ability-box{max-width:600px}.character-sheet-root .sheet-grid{gap:1.2rem;grid-template-columns:1fr;margin-bottom:1.2rem}.character-sheet-root .sheet-grid .sheet-column{border-right:none!important;max-width:none!important;padding:1rem .5rem}.spells-row{gap:1.2rem 1.1rem;grid-template-columns:1fr 1fr;padding:1rem .4rem 1.2rem}.spells-row h3{font-size:1.07em;margin-bottom:.8em;padding-left:0}}@media(max-width:600px){.character-sheet-root{padding:.3rem 0}.character-sheet-root .sheet-row--header{padding:.6rem .2rem .5rem}.character-sheet-root .sheet-row--header .sheet-small,.character-sheet-root .sheet-row--header .sheet-title,.character-sheet-root .sheet-row--header input{font-size:.99em;padding:.3em .4em}.character-sheet-root .sheet-row--header .sheet-title{font-size:1.05em}.character-sheet-root .sheet-grid{gap:.7rem;margin-bottom:.6rem}.character-sheet-root .sheet-grid .sheet-column{padding:.6rem .2rem}.spells-row{gap:1.05rem 0;grid-template-columns:1fr!important;padding:.6rem .2rem .8rem}.spells-row h3{font-size:1em;grid-column:1/-1;margin-bottom:.5em}.spell-slot-col{grid-auto-rows:minmax(120px,auto);min-width:0}.spell-slot-col .slot-label{font-size:.96em;margin-bottom:.2em}.spell-slot-col .spell-input-row input{font-size:.98em;max-width:130px;min-width:64px;width:50vw}}.pagination{align-items:center;display:flex;gap:1rem;justify-content:center;margin:1rem 0}.pagination button{background:#444;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:.5rem 1rem;transition:background .2s ease}.pagination button:disabled{background:#999;cursor:default}.pagination button:hover:not(:disabled){background:#555}.pagination span{font-size:.9rem}.items-list{border:1px solid #000;border-radius:8px;box-shadow:0 2px 4px #0000001a,0 4px 8px #0000001a;box-sizing:border-box;display:flex;flex-direction:column;margin:1rem auto;max-width:1000px;padding:1rem}.items-list .filter-wrapper{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}.items-list .filter-wrapper .filter-input{border:1px solid #ccc;border-radius:4px;flex:1 1;font-size:.9rem;outline:none;padding:.5rem}.items-list .filter-wrapper .filter-input:focus{border-color:#888}.items-list .filter-wrapper .filter-toggle-btn{background:#444;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:background .2s ease}.items-list .filter-wrapper .filter-toggle-btn:hover{background:#555}.items-list .advanced-filters{align-items:center;display:flex;gap:.5rem;margin-bottom:1rem}.items-list .advanced-filters .filter-select{border:1px solid #ccc;border-radius:4px;font-size:.9rem;outline:none;padding:.5rem}.items-list .advanced-filters .filter-select:focus{border-color:#888}.items-list .advanced-filters .apply-btn,.items-list .advanced-filters .reset-btn{border:none;border-radius:4px;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:background .2s ease}.items-list .advanced-filters .apply-btn{background:#007bff;color:#fff}.items-list .advanced-filters .apply-btn:hover{background:#0069d9}.items-list .advanced-filters .reset-btn{background:#6c757d;color:#fff}.items-list .advanced-filters .reset-btn:hover{background:#5a6268}.items-list .items{flex:1 1;list-style:none;margin:0;overflow-y:auto;padding:0}.items-list .items li{border-bottom:1px solid #eee;cursor:pointer;padding:.75rem}.items-list .items li:hover{background:#414141}.items-list .items li.selected{background:#eef;font-weight:700}.items-list .items .no-results{color:#888;padding:.75rem;text-align:center}.items-list .pagination{align-items:center;display:flex;gap:1rem;justify-content:center;margin:1rem 0}.items-list .pagination button{background:#444;border:none;border-radius:4px;color:#fff;cursor:pointer;padding:.5rem 1rem;transition:background .2s ease}.items-list .pagination button:disabled{background:#999;cursor:default}.items-list .pagination button:hover:not(:disabled){background:#555}.items-list .pagination span{font-size:.9rem}.items-list .add-btn{font-size:1rem;margin-top:1rem;padding:.75rem}
/*# sourceMappingURL=main.cf9b9478.css.map*/