.text-emphasis-generator{min-height:auto;background:linear-gradient(135deg,#1a1a2e,#16213e);padding:2rem;color:#fff}.generator-header{text-align:center;margin-bottom:2rem}.generator-header h1{font-size:2.5rem;margin-bottom:.5rem;background:linear-gradient(135deg,#f56565,#ed64a6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.generator-header p{color:#a0aec0;font-size:1.1rem}.generator-layout{display:grid;grid-template-columns:350px 1fr;gap:var(--tool-content-gap, 2rem);max-width:var(--tool-container-max-width, 1600px);margin:0 auto}.controls-panel{background:#ffffff14;border-radius:16px;padding:1.5rem;height:fit-content}.panel-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.1)}.panel-section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.panel-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}.presets-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.preset-btn{padding:.5rem;background:#ffffff26;border:2px solid rgba(255,255,255,.35);border-radius:8px;color:#fff;cursor:pointer;font-size:.8rem;transition:all .2s ease}.preset-btn:hover{background:#f565654d;border-color:#fc8181}.panel-section select,.panel-section input[type=text]{width:100%;padding:.75rem;background:#ffffff26;border:2px solid rgba(255,255,255,.35);border-radius:8px;color:#fff;font-size:.875rem;margin-bottom:.5rem}.panel-section select option{background:#1a1a2e;color:#fff}.style-options,.position-options{display:flex;flex-direction:column;gap:.75rem}.radio-label{display:flex;align-items:flex-start;gap:.75rem;cursor:pointer;padding:.5rem;border-radius:8px;transition:background .2s ease}.radio-label:hover{background:#ffffff14}.radio-label input[type=radio]{width:18px;height:18px;accent-color:#fc8181;margin-top:2px}.radio-label div{display:flex;flex-direction:column;gap:.2rem}.radio-label span{color:var(--gray-200);font-size:.875rem}.radio-label small{color:#718096;font-size:.75rem}.custom-mark-input{margin-top:1rem;display:flex;flex-direction:column;gap:.5rem}.custom-mark-input label{color:#a0aec0;font-size:.85rem}.custom-mark-input input{font-size:1.5rem;text-align:center;padding:1rem}.shape-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.shape-btn{display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:.75rem;background:#ffffff26;border:2px solid rgba(255,255,255,.2);border-radius:8px;color:#fff;cursor:pointer;transition:all .2s ease}.shape-btn:hover{background:#f5656533;border-color:#f5656580}.shape-btn.active{background:#f565654d;border-color:#fc8181}.shape-char{font-size:1.5rem}.shape-name{font-size:.7rem;color:#a0aec0}.color-picker{display:flex;gap:.5rem;align-items:center;margin-top:.5rem}.color-picker input[type=color]{width:50px;height:40px;border:none;border-radius:8px;cursor:pointer;background:none}.color-picker input[type=text]{flex:1;margin-bottom:0}.checkbox-label{display:flex;align-items:center;gap:.75rem;color:var(--gray-900);font-size:1rem;cursor:pointer}.checkbox-label input[type=checkbox]{width:18px;height:18px;accent-color:var(--gray-900)}.actions{display:flex;gap:.5rem}.save-btn,.load-btn{flex:1;padding:.75rem;border:none;border-radius:8px;cursor:pointer;font-size:.85rem;transition:all .2s ease}.save-btn{background:linear-gradient(135deg,#f56565,#ed64a6);color:#fff}.load-btn{background:#ffffff26;color:#fff;border:2px solid rgba(255,255,255,.35)}.save-btn:hover,.load-btn:hover{transform:translateY(-1px)}.preview-panel{display:flex;flex-direction:column;gap:1.5rem}.preview-section{background:#ffffff14;border:2px solid #d1d5db;border-radius:16px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.preview-section h3{color:#fc8181;margin-bottom:1rem;font-size:1rem}.preview-controls{margin-bottom:1rem}.preview-controls label{display:flex;flex-direction:column;gap:.5rem;color:#a0aec0;font-size:.85rem}.preview-controls input[type=range]{width:100%;accent-color:#fc8181}.preview-text-input{width:100%;padding:.75rem;background:#f9fafb;border:2px solid #d1d5db;border-radius:8px;color:#fff;font-size:.875rem;resize:vertical;margin-bottom:1rem;font-family:inherit;box-shadow:0 1px 3px #0000001a}.preview-box{background:#fff;color:#1a1a2e;padding:2.5rem;border:2px solid #d1d5db;border-radius:12px;font-family:Noto Sans JP,Hiragino Sans,Yu Gothic,sans-serif;line-height:2.2;text-align:center;box-shadow:0 1px 3px #0000001a}.comparison-section{background:#ffffff14;border-radius:16px;padding:1.5rem}.comparison-section h3{color:#fc8181;margin-bottom:1rem;font-size:1rem}.comparison-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}.comparison-item{background:#fff;padding:1rem;border-radius:8px;text-align:center}.comparison-label{display:block;font-size:1rem;color:var(--gray-900);margin-bottom:.5rem;font-family:system-ui,sans-serif}.comparison-demo{display:flex;justify-content:center;gap:1.5rem}.comparison-text{font-family:Noto Sans JP,Hiragino Sans,sans-serif;font-size:1.5rem;color:#1a1a2e;line-height:2.5}.comparison-labels{display:flex;justify-content:center;gap:var(--tool-content-gap, 2rem);margin-top:.5rem;font-size:1rem;color:var(--gray-900);font-family:system-ui,sans-serif}.position-demo-section{background:#ffffff14;border-radius:16px;padding:1.5rem}.position-demo-section h3{color:#fc8181;margin-bottom:1rem;font-size:1rem}.position-demo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.position-demo-item{background:#fff;padding:1rem;border-radius:8px;text-align:center}.position-label{display:block;font-size:.75rem;color:#667;margin-bottom:.75rem;font-family:system-ui,sans-serif}.position-preview{font-family:Noto Sans JP,Hiragino Sans,sans-serif;font-size:1.25rem;color:#1a1a2e;line-height:2.5;padding:.5rem;background:#f9fafb;box-shadow:0 1px 3px #0000001a}.output-section{background:#ffffff14;border-radius:16px;padding:1.5rem}.output-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.output-header h3{color:#fc8181;font-size:1rem}.copy-btn{padding:.5rem 1rem;background:linear-gradient(135deg,#f56565,#ed64a6);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.85rem;transition:all .2s ease}.copy-btn:hover{transform:translateY(-1px)}.css-output{background:#0000004d;padding:1rem;border-radius:8px;font-family:Fira Code,Monaco,monospace;font-size:.85rem;color:#fbb6ce;overflow-x:auto;white-space:pre-wrap;word-break:break-word}.examples-section{margin-top:3rem;max-width:var(--tool-container-max-width, 1600px);margin-left:auto;margin-right:auto}.examples-section h2{text-align:center;color:#fc8181;margin-bottom:1.5rem}.example-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem}.example-card{background:#ffffff14;border-radius:12px;padding:1.25rem}.example-card h4{color:var(--gray-200);margin-bottom:.75rem;font-size:.95rem}.example-card pre{background:#0000004d;padding:1rem;border-radius:8px;font-family:Fira Code,Monaco,monospace;font-size:.8rem;color:#fbb6ce;overflow-x:auto;white-space:pre-wrap;margin:0}.reference-section{margin-top:3rem;max-width:var(--tool-container-max-width, 1600px);margin-left:auto;margin-right:auto}.reference-section h2{text-align:center;color:#fc8181;margin-bottom:1.5rem}.reference-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:1.5rem}.reference-card{background:#ffffff14;border-radius:12px;padding:1.25rem}.reference-card h4{color:var(--gray-200);margin-bottom:1rem;font-size:.95rem;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:.5rem}.reference-card table{width:100%;border-collapse:collapse;font-size:.8rem}.reference-card th,.reference-card td{padding:.5rem;text-align:left;border-bottom:1px solid rgba(255,255,255,.1)}.reference-card th{color:#fc8181;font-weight:600}.reference-card td{color:var(--gray-200)}.reference-card td:first-child{font-family:Fira Code,monospace;color:#fbb6ce}.reference-card ul{list-style:none;padding:0;margin:0}.reference-card li{padding:.5rem 0;color:var(--gray-200);font-size:.85rem;border-bottom:1px solid rgba(255,255,255,.05)}.reference-card li:last-child{border-bottom:none}.reference-card li strong{color:#fc8181}.reference-note{margin-top:.75rem;padding:.75rem;background:#f565651a;border-radius:8px;font-size:.8rem;color:#fbb6ce;border-left:3px solid #fc8181}.reference-code{background:#0000004d;padding:.75rem;border-radius:8px;font-family:Fira Code,monospace;font-size:.75rem;color:#fbb6ce;white-space:pre-wrap;margin:0}.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: 1023px){.generator-layout,.reference-grid{grid-template-columns:1fr}}@media (max-width: 768px){.text-emphasis-generator{padding:1rem}.generator-header h1{font-size:1.75rem}.presets-grid,.shape-grid{grid-template-columns:repeat(2,1fr)}.example-grid{grid-template-columns:1fr}.comparison-grid{grid-template-columns:repeat(2,1fr)}}
