@import"http://fonts.googleapis.com/earlyaccess/notosansjp.css";:root{--main-color: #819B31}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:1000;display:flex;align-items:center;justify-content:center}.modal-content{background:#fff;border-radius:8px;overflow:auto}@media print,screen and (min-width: 769px){.modal-content{padding:24px;width:600px;height:80vh}.modal-content h3{margin-top:0;margin-bottom:16px;font-size:19px}}@media screen and (max-width: 768px){.modal-content{padding:10px;box-sizing:border-box;width:90vw;max-height:90vh;font-size:12px}.modal-content h3{margin-top:0;margin-bottom:10px;font-size:14px}}.modal-actions{display:flex;justify-content:center;gap:15px}@media print,screen and (min-width: 769px){.modal-actions{margin-top:20px}}.modal-actions .cancel-btn,.modal-actions .save-btn,.modal-actions .select-btn{color:#fff;border:none;cursor:pointer}@media print,screen and (min-width: 769px){.modal-actions .cancel-btn,.modal-actions .save-btn,.modal-actions .select-btn{border-radius:20px;padding:11px 24px;font-size:16px}}@media screen and (max-width: 768px){.modal-actions .cancel-btn,.modal-actions .save-btn,.modal-actions .select-btn{border-radius:20px;padding:11px 24px;font-size:12px}}.modal-actions .cancel-btn{background:#bbb}.modal-actions .cancel-btn:hover{background:rgb(161.5,161.5,161.5)}.modal-actions .save-btn,.modal-actions .select-btn{background:var(--main-color)}.modal-actions .save-btn:hover,.modal-actions .select-btn:hover{opacity:.8}.modal-actions .save-btn:disabled,.modal-actions .select-btn:disabled{background:#ccc;cursor:not-allowed}.dictionary-edit-modal .word-list-label{margin-bottom:10px;font-weight:700}.dictionary-edit-modal .word-textarea{width:100%;box-sizing:border-box;padding:8px;border-radius:4px;border:1px solid #ccc;font-family:monospace;margin-bottom:15px}@media print,screen and (min-width: 769px){.dictionary-edit-modal .word-textarea{min-height:400px}}@media screen and (max-width: 768px){.dictionary-edit-modal .word-textarea{min-height:300px}}@media print,screen and (min-width: 769px){.slot-modal.modal-content{width:400px;height:500px}}@media screen and (max-width: 768px){.slot-modal.modal-content{width:90vw;height:80vh}}@media print,screen and (min-width: 769px){.category-modal.modal-content{width:900px;min-height:500px;display:grid;grid-template-columns:200px 300px 1fr;grid-template-rows:1fr auto;gap:20px;grid-template-areas:"main-cat sub-cat preview" "actions actions actions"}}@media screen and (max-width: 768px){.category-modal.modal-content{width:90vw;min-height:80vh;display:flex;flex-direction:column;gap:10px}}.category-modal .main-categories{grid-area:main-cat;max-height:60vh;overflow-y:auto;border-right:1px solid #eee;padding-right:15px}@media screen and (max-width: 768px){.category-modal .main-categories{border-right:none;border-bottom:1px solid #eee;padding-right:0;padding-bottom:15px;max-height:30vh}}.category-modal .main-categories h3{margin-bottom:12px}@media screen and (max-width: 768px){.category-modal .main-categories h3{font-size:14px}}.category-modal .main-categories ul{list-style:none;padding:0}.category-modal .main-categories li{margin-bottom:8px}.category-modal .main-categories button{width:100%;text-align:left;border:none;border-radius:4px;padding:6px 10px;cursor:pointer;background:#f3f6e7}@media screen and (max-width: 768px){.category-modal .main-categories button{font-size:12px;padding:4px 8px}}.category-modal .main-categories button.active{background:#dbe7b6;font-weight:700}.category-modal .main-categories button:hover{background:#e2ebc5}.category-modal .subcategories{grid-area:sub-cat;max-height:60vh;overflow-y:auto;border-right:1px solid #eee;padding-right:15px}@media screen and (max-width: 768px){.category-modal .subcategories{border-right:none;border-bottom:1px solid #eee;padding-right:0;padding-bottom:15px;max-height:30vh}}.category-modal .subcategories h3{margin-bottom:12px;font-size:17px}@media screen and (max-width: 768px){.category-modal .subcategories h3{font-size:14px}}.category-modal .subcategories ul{list-style:none;padding:0}.category-modal .subcategories li{margin-bottom:8px}.category-modal .subcategories button{width:100%;text-align:left;border:none;border-radius:4px;padding:6px 10px;cursor:pointer;background:#f3f6e7}@media screen and (max-width: 768px){.category-modal .subcategories button{font-size:12px;padding:4px 8px}}.category-modal .subcategories button.active{background:#dbe7b6;font-weight:700}.category-modal .subcategories button:hover{background:#e2ebc5}.category-modal .category-preview{grid-area:preview;background:#eef0e6;border-radius:6px;padding:16px;max-height:60vh;overflow-y:auto}@media screen and (max-width: 768px){.category-modal .category-preview{max-height:30vh;padding:10px}}.category-modal .category-preview h3{margin-bottom:12px}@media screen and (max-width: 768px){.category-modal .category-preview h3{font-size:14px}}.category-modal .category-preview .category-title{font-weight:700;margin-bottom:8px;border-bottom:1px solid #ccc;padding-bottom:5px}@media screen and (max-width: 768px){.category-modal .category-preview .category-title{font-size:12px}}.category-modal .category-preview ul{list-style:none;padding:0}.category-modal .category-preview ul li{margin-bottom:4px;padding:3px 0;border-bottom:1px dotted #e2e2e2;display:flex}.category-modal .category-preview ul li .item-number{width:30px;color:#777;font-weight:700;font-size:14px}@media screen and (max-width: 768px){.category-modal .category-preview ul li .item-number{font-size:10px}}.category-modal .category-preview ul li .item-value{flex:2}@media screen and (max-width: 768px){.category-modal .category-preview ul li .item-value{font-size:12px}}.category-modal .category-preview ul li .item-label{flex:1;font-size:14px;color:#666;text-align:right}@media screen and (max-width: 768px){.category-modal .category-preview ul li .item-label{font-size:10px}}.category-modal .modal-actions{grid-area:actions}@media screen and (max-width: 768px){.category-modal .modal-actions{margin-top:10px}}body{background:#f7faef;font-family:Noto Sans JP,sans-serif;color:#222;margin:0}input,textarea{font-family:Noto Sans JP,sans-serif}@media print,screen and (min-width: 769px){.wrapper{margin:0 25vw 0 0}}@media screen and (max-width: 768px){.wrapper{margin:0 0 300px}}@media print,screen and (min-width: 769px){.prompt-maker-root{padding:5px 20px 30px}}@media screen and (max-width: 768px){.prompt-maker-root{padding:5px 5px 30px}}h1{text-align:center;font-weight:300}@media print,screen and (min-width: 769px){h1{font-size:32px}}@media screen and (max-width: 768px){h1{font-size:20px}}h1 b{font-weight:700}.prompt-maker-description{margin-bottom:30px;text-align:center}@media print,screen and (min-width: 769px){.prompt-maker-description{font-size:16px}}@media screen and (max-width: 768px){.prompt-maker-description{font-size:12px}}.header-container{margin-bottom:20px}.header-container .language-toggle-btn{position:absolute;padding:8px 16px;background:var(--main-color);color:#fff;border:none;border-radius:20px;font-size:14px;font-weight:700;cursor:pointer;min-width:50px;box-shadow:0 2px 5px #0000001a}@media print,screen and (min-width: 769px){.header-container .language-toggle-btn{top:20px;right:calc(25vw + 20px)}}@media screen and (max-width: 768px){.header-container .language-toggle-btn{top:10px;right:10px}}.header-container .language-toggle-btn:active{transform:translateY(0);box-shadow:0 1px 3px #0000001a}section{margin-bottom:19px}h2{font-size:20px;margin:0 0 6px}h2 span{margin-left:8px;font-size:14px;color:#999;font-weight:400}@media screen and (max-width: 768px){h2{font-size:16px}h2 span{margin-left:8px;font-size:12px;color:#999;font-weight:400}}.base-prompt-input{width:100%;min-height:100px;font-size:16px;padding:10px;border-radius:6px;border:none;background:#222;cursor:text;color:#fff;box-sizing:border-box;box-shadow:2px 5px 5px #00000040}.base-prompt-input b{color:var(--main-color);font-weight:700;padding:0 3px;color:#ff0;color:#a4a4ff;background:rgba(164,164,255,.2)}.base-prompt-display:hover{opacity:.8}.memory-buttons{display:flex;align-items:center;justify-content:center}@media screen and (max-width: 768px){.memory-buttons{flex-wrap:wrap}}.memory-buttons .memory-label{font-size:14px;color:#333;text-align:center;margin-right:20px}.memory-buttons .memory-btn{border:1px solid #ccc;padding:8px 10px 6px;border-radius:0 0 4px 4px;border:none;background:transparent;color:#333;font-size:13px;font-weight:700;cursor:pointer}.memory-buttons .memory-btn.active{background:#222;color:#fff;box-shadow:0 2px 5px #0000001a}.memory-buttons .memory-btn:hover{background:rgba(0,0,0,.1)}.memory-buttons .memory-btn:hover.active{background:#333}.setting-section{display:flex;justify-content:flex-end;gap:20px;align-items:center;margin-bottom:10px}.slot-selector{display:flex;align-items:center}.slot-selector label{font-weight:700;color:#333}.slot-selector select{padding:4px 10px;border:1px solid #ccc;border-radius:4px;background:#fff;color:#333;font-size:14px;cursor:pointer}.slot-selector select:focus{outline:none;border-color:var(--main-color);box-shadow:0 0 3px #819b314d}.slot-selector .noscroll-option{display:flex;align-items:center;gap:5px;margin-left:15px;font-weight:400;font-size:14px;color:#666;cursor:pointer}.slot-selector .noscroll-option input[type=checkbox]{margin:0;cursor:pointer}.custom-dictionary-section,.preset-dictionary-section{padding:15px 15px 40px;box-shadow:0 2px 10px #0000001a;background-color:#ffffff80;border-radius:15px}@media print,screen and (min-width: 769px){.custom-dictionaries,.preset-dictionaries{display:flex;flex-wrap:wrap;gap:13px}.custom-dictionaries.is-slot-1 .custom-dictionary,.custom-dictionaries.is-slot-1 .preset-dictionary,.custom-dictionaries.is-slot-2 .custom-dictionary,.custom-dictionaries.is-slot-2 .preset-dictionary,.custom-dictionaries.is-slot-3 .custom-dictionary,.custom-dictionaries.is-slot-3 .preset-dictionary,.preset-dictionaries.is-slot-1 .custom-dictionary,.preset-dictionaries.is-slot-1 .preset-dictionary,.preset-dictionaries.is-slot-2 .custom-dictionary,.preset-dictionaries.is-slot-2 .preset-dictionary,.preset-dictionaries.is-slot-3 .custom-dictionary,.preset-dictionaries.is-slot-3 .preset-dictionary{flex:1}.custom-dictionaries.is-slot-4 .custom-dictionary,.custom-dictionaries.is-slot-4 .preset-dictionary,.custom-dictionaries.is-slot-5 .custom-dictionary,.custom-dictionaries.is-slot-5 .preset-dictionary,.custom-dictionaries.is-slot-6 .custom-dictionary,.custom-dictionaries.is-slot-6 .preset-dictionary,.custom-dictionaries.is-slot-7 .custom-dictionary,.custom-dictionaries.is-slot-7 .preset-dictionary,.custom-dictionaries.is-slot-8 .custom-dictionary,.custom-dictionaries.is-slot-8 .preset-dictionary,.custom-dictionaries.is-slot-9 .custom-dictionary,.custom-dictionaries.is-slot-9 .preset-dictionary,.custom-dictionaries.is-slot-10 .custom-dictionary,.custom-dictionaries.is-slot-10 .preset-dictionary,.preset-dictionaries.is-slot-4 .custom-dictionary,.preset-dictionaries.is-slot-4 .preset-dictionary,.preset-dictionaries.is-slot-5 .custom-dictionary,.preset-dictionaries.is-slot-5 .preset-dictionary,.preset-dictionaries.is-slot-6 .custom-dictionary,.preset-dictionaries.is-slot-6 .preset-dictionary,.preset-dictionaries.is-slot-7 .custom-dictionary,.preset-dictionaries.is-slot-7 .preset-dictionary,.preset-dictionaries.is-slot-8 .custom-dictionary,.preset-dictionaries.is-slot-8 .preset-dictionary,.preset-dictionaries.is-slot-9 .custom-dictionary,.preset-dictionaries.is-slot-9 .preset-dictionary,.preset-dictionaries.is-slot-10 .custom-dictionary,.preset-dictionaries.is-slot-10 .preset-dictionary{width:32%;min-width:120px;max-width:360px}}@media screen and (max-width: 768px){.custom-dictionaries,.preset-dictionaries{display:flex;gap:20px;flex-direction:column}}.custom-dictionary,.preset-dictionary{position:relative}.custom-dictionary .btns,.preset-dictionary .btns{position:absolute;top:7px;right:10px;display:flex;gap:10px}.copy-btn{background:var(--main-color);color:#fff;border:none;border-radius:2px;padding:4px 13px;font-size:14px;margin-bottom:6px;cursor:pointer;transition:background .2s}.edit-btn,.select-btn{background:transparent;color:#ff0;border:none;border-bottom:1px solid #ff0;border-radius:2px;line-height:1;padding:4px 0;font-size:14px;cursor:pointer;transition:background .2s}.edit-btn i,.select-btn i{margin-right:4px}.insert-btn{background:transparent;color:#ff0;border:none;border-bottom:1px solid #ff0;border-radius:2px;line-height:1;padding:4px 0;font-size:14px;cursor:pointer;transition:background .2s;margin-left:10px}.insert-btn i{margin-right:4px}.edit-btn:hover,.select-btn:hover,.copy-btn:hover,.insert-btn:hover{background:#5c6d2e}.dict-list{width:100%;overflow-y:auto;max-height:320px}.dict-list.is-noscroll{max-height:none;overflow-y:visible}.dict-item{padding:3px 8px;border-radius:4px;margin-bottom:2px;cursor:pointer;transition:background .15s;font-size:14px;display:flex;justify-content:space-between}.dict-item:nth-child(2n){background-color:#eaefdd80}.dict-item .item-number{width:32px;font-size:14px;color:#777;font-weight:700;margin-right:5px}.dict-item p{flex:2;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.dict-item small{flex:1;font-size:14px;color:#999;margin-left:5px;text-align:right}.dict-item:hover,.dict-item.selected{background:#dbe7b6;font-weight:700}.preset-label{background:var(--main-color);padding:15px 10px;border-radius:5px;color:#fff;line-height:1;font-size:16px}.preset-label b{font-size:12px;margin-left:2px;background-color:#222;border-radius:5px;padding:2px 5px;color:#a4a4ff;font-weight:700}@media screen and (max-width: 768px){.preset-label{font-size:14px}.preset-label b{font-size:12px}}.final-prompt-wrap{background:#222;box-sizing:border-box;color:#fff;overflow:auto;margin:0}@media print,screen and (min-width: 769px){.final-prompt-wrap{position:fixed;right:0;top:0;bottom:0;margin:0;padding:20px;width:25vw}.final-prompt-wrap h2{margin:0;font-size:18px}}@media screen and (max-width: 768px){.final-prompt-wrap{position:fixed;left:0;right:0;bottom:0;padding:10px;max-height:30vh;font-size:12px}.final-prompt-wrap h2{margin:0;font-size:12px}}.prompt-stats{color:#999;margin:3px 0}.final-prompt-area{border-top:1px solid #666;color:#fff}@media print,screen and (min-width: 769px){.final-prompt-area{padding-top:20px;margin-top:20px}}@media screen and (max-width: 768px){.final-prompt-area{padding-top:5px;margin-top:5px}}.final-prompt-text{line-height:1.5;color:#fff;word-wrap:break-word}@media print,screen and (min-width: 769px){.final-prompt-text{font-size:16px}}@media screen and (max-width: 768px){.final-prompt-text{font-size:12px}}.final-prompt-text b{color:#a4a4ff}.prompt-controls,.emoji-preview{border-top:1px solid #666;margin-top:20px;padding-top:20px}.emoji-preview .emoji-preview-title{font-size:14px;color:#aaa;margin-bottom:10px;font-weight:700}.emoji-preview .emoji-preview-content{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.emoji-preview .emoji-preview-content .emoji-item{font-size:28px;cursor:default;line-height:.95;position:relative}.emoji-preview .emoji-preview-content .emoji-item.emoji-no-match{color:#999;font-size:12px}.emoji-preview .emoji-preview-content .emoji-item.emoji-no-match:hover{color:#666}.emoji-preview .emoji-preview-content .emoji-item.emoji-basic-word{color:#999;font-size:12px}.emoji-preview .emoji-preview-content .emoji-item.emoji-comma,.emoji-preview .emoji-preview-content .emoji-item.emoji-period{font-size:12px;color:#999;margin:0 2px}.emoji-preview .emoji-preview-content .emoji-item:hover{transition-duration:.2s;transform:scale(1.2)}.emoji-preview .emoji-preview-content .emoji-item:hover:after{content:attr(title);position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:rgba(0,0,0,.8);color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;white-space:nowrap;z-index:1000;pointer-events:none}.emoji-preview .emoji-preview-content .emoji-item:hover:before{content:"";position:absolute;bottom:95%;left:50%;transform:translate(-50%);border:4px solid transparent;border-top-color:#000c;z-index:1000;pointer-events:none}.copy-btn{display:block;width:100%;font-size:14px;padding:10px;border-radius:5px;background:var(--main-color);color:#fff;border:none;cursor:pointer}.copy-btn i{margin-right:6px}.copy-btn:hover{background:#5c6d2e}.copy-notification-wrap{height:30px}.copy-notification{margin-top:8px;font-size:14px;color:#9ecd6f;transition:opacity .5s}.auto-copy-option{margin-top:10px;display:flex;align-items:center;font-size:14px;color:#aaa}.auto-copy-option input[type=checkbox]{margin-right:5px}.annoration{margin-top:60px;padding:20px 0;border-top:1px solid #ccc;text-align:center;color:#999;display:flex;gap:20px;flex-direction:column}@media screen and (max-width: 768px){.annoration{padding:20px}}.annoration p{margin:10px 0 0;color:#999}@media print,screen and (min-width: 769px){.annoration p{font-size:16px}}@media screen and (max-width: 768px){.annoration p{font-size:12px}}.annoration .reset-btn{background:#f3f3f3;color:#333;border-radius:3px;padding:4px 10px;font-size:14px;cursor:pointer;margin-left:10px;transition:background .2s;background:var(--main-color);border:none;color:#fff}.annoration .reset-btn:hover{background:#e0e0e0}.slot-button{padding:4px 10px;border:1px solid #ccc;border-radius:4px;background:#fff;color:#333;font-size:14px;font-weight:700;cursor:pointer}
