.css-grid-playground{min-height:auto;background:var(--background);padding:2rem}.css-grid-playground .tool-header{text-align:center;margin-bottom:2rem}.css-grid-playground .tool-header h1{font-size:2rem;color:var(--text-primary);margin-bottom:.5rem}.css-grid-playground .tool-header p{color:var(--text-secondary)}.css-grid-playground .playground-layout{display:grid;grid-template-columns:320px 1fr 350px;gap:1.5rem;max-width:1800px;margin:0 auto}.control-panel{background-color:#1f2937f2!important;border:2px solid var(--gray-400)!important;border-radius:6px}[data-theme=dark] .control-section{background-color:#1f2937e6!important;border-color:var(--gray-400)!important;border-width:2px}[data-theme=dark] .control-group input,[data-theme=dark] .control-group select,[data-theme=dark] .control-group textarea{background-color:#0f172acc!important;border:2px solid var(--gray-500)!important;color:var(--text-primary)}[data-theme=dark] .control-group label{display:block;color:var(--gray-900);font-size:1rem;margin-bottom:.5rem;font-weight:600;line-height:1.5;letter-spacing:.3px}@media (max-width: 1279px){.css-grid-playground .playground-layout{grid-template-columns:280px 1fr}.css-grid-playground .code-panel{grid-column:1 / -1}}@media (max-width: 900px){.css-grid-playground .playground-layout{grid-template-columns:1fr}}.css-grid-playground .controls-panel{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #00000014;height:fit-content;max-height:none;overflow-y:auto}.css-grid-playground .control-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid var(--gray-600)}.css-grid-playground .control-section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.css-grid-playground .control-section h3{font-size:1.15rem;font-weight:700;color:var(--gray-900);margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:2px solid var(--primary);letter-spacing:.03em}.css-grid-playground .control-section label{display:block;margin-bottom:.75rem}.css-grid-playground .control-section label span{display:block;font-size:.85rem;color:var(--text-secondary);margin-bottom:.25rem}.css-grid-playground .control-section input[type=text],.css-grid-playground .control-section input[type=number],.css-grid-playground .control-section select{width:100%;padding:.5rem .75rem;border:1px solid #ddd;border-radius:6px;font-size:.875rem;font-family:Monaco,Consolas,monospace}.css-grid-playground .control-section input[type=range]{width:100%;margin-top:.25rem}.css-grid-playground .control-section input[type=color]{width:100%;height:36px;border:1px solid #ddd;border-radius:6px;cursor:pointer}.css-grid-playground .checkbox-label{display:flex!important;align-items:center;gap:.5rem;cursor:pointer}.css-grid-playground .checkbox-label input[type=checkbox]{width:16px;height:16px}.css-grid-playground .checkbox-label span{display:inline!important;margin-bottom:.5rem}.css-grid-playground .template-hints{margin-top:.5rem;font-size:.75rem;color:var(--text-secondary)}.css-grid-playground .template-hints code{background:#f0f0f0;padding:.1rem .3rem;border-radius:3px;font-size:.7rem}.css-grid-playground .preset-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.css-grid-playground .preset-btn{padding:.5rem;font-size:.75rem;background:#f5f5f5;border:1px solid #ddd;border-radius:6px;cursor:pointer;transition:all .2s;text-transform:capitalize}.css-grid-playground .preset-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary)}.css-grid-playground .preview-panel{background:#fff;border:2px solid #d1d5db;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #00000014;box-shadow:0 1px 3px #0000001a}.css-grid-playground .preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.css-grid-playground .preview-header h3{font-size:1rem;font-weight:600;color:var(--text-primary)}.css-grid-playground .preview-actions{display:flex;gap:.5rem}.css-grid-playground .add-item-btn,.css-grid-playground .save-btn{padding:.5rem 1rem;font-size:.85rem;border-radius:6px;cursor:pointer;transition:all .2s}.css-grid-playground .add-item-btn{background:var(--primary);color:#fff;border:none}.css-grid-playground .add-item-btn:hover{background:var(--primary-hover)}.css-grid-playground .save-btn{background:#fff;color:var(--text-primary);border:1px solid #ddd}.css-grid-playground .save-btn:hover{border-color:var(--primary);color:var(--primary)}.css-grid-playground .grid-container{border:2px dashed #ccc;border-radius:8px;overflow:hidden}.css-grid-playground .grid-container.show-grid-lines{background-image:linear-gradient(rgba(0,128,255,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(0,128,255,.1) 1px,transparent 1px);background-size:20px 20px}.css-grid-playground .grid-item{display:flex;align-items:center;justify-content:center;border-radius:6px;color:#fff;font-weight:600;font-size:1rem;position:relative;cursor:pointer;transition:all .2s;min-height:60px;padding:.5rem}.css-grid-playground .grid-item:hover{transform:scale(1.02);box-shadow:0 4px 12px #0003}.css-grid-playground .grid-item.selected{outline:3px solid #000;outline-offset:2px;z-index:10}.css-grid-playground .grid-item .item-text{text-shadow:0 1px 2px rgba(0,0,0,.2)}.css-grid-playground .grid-item .remove-item{position:absolute;top:4px;right:4px;width:20px;height:20px;border-radius:50%;background:#0000004d;color:#fff;border:none;font-size:14px;line-height:1;cursor:pointer;opacity:0;transition:opacity .2s}.css-grid-playground .grid-item:hover .remove-item{opacity:1}.css-grid-playground .grid-item .remove-item:hover{background:#e74c3c}.css-grid-playground .item-controls{margin-top:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px}.css-grid-playground .item-controls h4{font-size:.875rem;font-weight:600;margin-bottom:1rem;color:var(--text-primary)}.css-grid-playground .item-control-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}@media (max-width: 600px){.css-grid-playground .item-control-grid{grid-template-columns:repeat(2,1fr)}}.css-grid-playground .item-control-grid label{display:block}.css-grid-playground .item-control-grid label span{display:block;font-size:.75rem;color:var(--text-secondary);margin-bottom:.25rem}.css-grid-playground .item-control-grid input,.css-grid-playground .item-control-grid select{width:100%;padding:.4rem .5rem;border:1px solid #ddd;border-radius:4px;font-size:.85rem}.css-grid-playground .quick-spans{display:flex;align-items:center;gap:.5rem;margin-top:1rem;flex-wrap:wrap}.css-grid-playground .quick-spans span{font-size:.85rem;color:var(--text-secondary)}.css-grid-playground .quick-spans button{padding:.3rem .6rem;font-size:.75rem;background:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;transition:all .2s}.css-grid-playground .quick-spans button:hover{background:var(--primary);color:#fff;border-color:var(--primary)}.css-grid-playground .saved-layouts{margin-top:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px}.css-grid-playground .saved-layouts h4{font-size:.875rem;font-weight:600;margin-bottom:.75rem;color:var(--text-primary)}.css-grid-playground .saved-layout-list{display:flex;flex-direction:column;gap:.5rem}.css-grid-playground .saved-layout-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem;background:#fff;border-radius:6px;font-size:.85rem}.css-grid-playground .layout-actions{display:flex;gap:.25rem}.css-grid-playground .layout-actions button{padding:.25rem .5rem;font-size:.75rem;border:1px solid #ddd;border-radius:4px;background:#fff;cursor:pointer}.css-grid-playground .layout-actions button:first-child:hover{background:var(--primary);color:#fff;border-color:var(--primary)}.css-grid-playground .layout-actions button:last-child:hover{background:#e74c3c;color:#fff;border-color:#e74c3c}.css-grid-playground .code-panel{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #00000014;height:fit-content}.css-grid-playground .code-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.css-grid-playground .code-header h3{font-size:1rem;font-weight:600;color:var(--text-primary)}.css-grid-playground .copy-btn{padding:.5rem 1rem;font-size:.85rem;background:var(--primary);color:#fff;border:none;border-radius:6px;cursor:pointer;transition:all .2s}.css-grid-playground .copy-btn:hover{background:var(--primary-hover)}.css-grid-playground .css-output{background:#1e1e1e;color:#d4d4d4;padding:1rem;border-radius:8px;font-family:Monaco,Consolas,monospace;font-size:.8rem;line-height:1.6;overflow-x:auto;white-space:pre-wrap;max-height:300px;overflow-y:auto}.css-grid-playground .tips-section{margin-top:1.5rem}.css-grid-playground .tips-section h4{font-size:.95rem;font-weight:600;color:var(--text-primary);margin-bottom:1rem}.css-grid-playground .tip-group{margin-bottom:1rem}.css-grid-playground .tip-group h5{font-size:.8rem;font-weight:600;color:var(--text-secondary);margin-bottom:.5rem}.css-grid-playground .tip-group ul{list-style:none;padding:0;margin:0}.css-grid-playground .tip-group li{font-size:.8rem;color:var(--text-secondary);padding:.25rem 0}.css-grid-playground .tip-group code{background:#f0f0f0;padding:.15rem .4rem;border-radius:3px;font-size:.75rem;color:#e83e8c}
