
    :root {
      --bg: #090b10;
      --panel: rgba(255, 255, 255, .075);
      --panel-strong: rgba(255, 255, 255, .11);
      --line: rgba(255, 255, 255, .14);
      --line-strong: rgba(53, 224, 209, .36);
      --text: #f7fbff;
      --soft: #dce8f5;
      --muted: #aeb9c8;
      --orange: #ff6a00;
      --orange-2: #ff8a2a;
      --cyan: #35e0d1;
      --violet: #7c5cff;
      --danger: #ff5f6d;
      --ok: #4ade80;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background: var(--bg);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      min-width: 320px;
      margin: 0;
      color: var(--text);
      background:
        radial-gradient(circle at 18% 0, rgba(53, 224, 209, .20), transparent 34%),
        radial-gradient(circle at 88% 8%, rgba(255, 106, 0, .16), transparent 32%),
        linear-gradient(180deg, #090b10 0%, #081419 100%);
      line-height: 1.5;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    textarea,
    select {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

    .diy-page {
      width: min(1180px, calc(100% - 48px));
      margin: 0 auto;
      padding: 34px 0 84px;
    }

    .diy-entry-modal {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 22px;
      background: rgba(2, 8, 11, .72);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .diy-entry-modal.is-open {
      display: flex;
    }

    .diy-entry-dialog {
      width: min(100%, 720px);
      max-height: 90vh;
      overflow: auto;
      border: 1px solid rgba(53, 224, 209, .34);
      border-radius: 8px;
      color: var(--text);
      background:
        linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045)),
        rgba(8, 18, 23, .98);
      box-shadow: 0 28px 84px rgba(0, 0, 0, .52), inset 0 1px 0 rgba(255, 255, 255, .10);
    }

    .diy-entry-content {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 18px;
      padding: 20px;
      align-items: stretch;
    }

    .diy-hero-side,
    .diy-summary {
      border: 1px solid var(--line);
      border-radius: 8px;
      background:
        linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045)),
        rgba(8, 18, 23, .86);
      box-shadow: 0 24px 64px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .08);
    }

    .diy-hero-side {
      display: grid;
      align-content: start;
      gap: 12px;
      padding: 24px;
    }

    .diy-entry-side-title {
      display: grid;
      gap: 4px;
    }

    .diy-entry-side-title span {
      color: var(--cyan);
      font-size: 12px;
      font-weight: 950;
    }

    .diy-entry-side-title strong {
      color: #fff;
      font-size: 18px;
      line-height: 1.2;
    }

    .diy-entry-note-list {
      display: grid;
      gap: 10px;
    }

    .diy-entry-notice {
      display: grid;
      grid-template-columns: 28px minmax(0, 1fr);
      gap: 10px;
      min-width: 0;
      padding: 12px;
      border: 1px solid rgba(255, 255, 255, .10);
      border-radius: 8px;
      background: rgba(255, 255, 255, .045);
    }

    .diy-entry-notice b {
      display: inline-flex;
      width: 28px;
      height: 28px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      color: #061316;
      background: linear-gradient(135deg, var(--cyan), #8df6eb);
      font-size: 12px;
      font-weight: 950;
    }

    .diy-entry-notice p {
      margin: 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.62;
    }

    .diy-entry-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 20px 20px;
      border-top: 1px solid rgba(255, 255, 255, .10);
    }

    .diy-entry-agree {
      display: flex;
      min-width: 0;
      align-items: flex-start;
      gap: 10px;
      color: var(--soft);
      font-size: 13px;
      line-height: 1.55;
    }

    .diy-entry-agree input {
      width: 16px;
      height: 16px;
      flex: 0 0 16px;
      margin-top: 2px;
      accent-color: var(--cyan);
    }

    .diy-entry-actions {
      display: flex;
      flex: 0 0 auto;
      gap: 10px;
    }

    .diy-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 330px;
      gap: 18px;
      align-items: start;
    }

    .diy-form {
      display: grid;
      gap: 18px;
    }

    .diy-form-section {
      min-width: 0;
      padding: 0 0 18px;
      border-bottom: 1px solid rgba(255, 255, 255, .10);
    }

    .diy-form-section:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }

    .diy-section-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 16px;
    }

    .diy-section-head span {
      display: block;
      color: var(--cyan);
      font-size: 12px;
      font-weight: 950;
    }

    .diy-section-head h2 {
      margin: 3px 0 0;
      color: #fff;
      font-size: 20px;
      line-height: 1.2;
      letter-spacing: 0;
    }

    .diy-section-head p {
      max-width: 460px;
      margin: 0;
      color: var(--muted);
      font-size: 13px;
      text-align: right;
    }

    .diy-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .diy-field {
      display: grid;
      gap: 7px;
      min-width: 0;
    }

    .diy-field.full {
      grid-column: 1 / -1;
    }

    .diy-field label {
      color: rgba(247, 251, 255, .88);
      font-size: 13px;
      font-weight: 850;
    }

    .diy-field label small {
      color: var(--muted);
      font-weight: 700;
    }

    .diy-field label .diy-required-mark {
      margin-left: 3px;
      color: #ff5f6d;
      font-size: 14px;
      font-weight: 950;
      line-height: 1;
    }

    .diy-input,
    .diy-select,
    .diy-textarea {
      width: 100%;
      min-width: 0;
      border: 1px solid rgba(255, 255, 255, .13);
      border-radius: 8px;
      color: var(--text);
      background: rgba(255, 255, 255, .07);
      outline: none;
      transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
    }

    .diy-input,
    .diy-select {
      min-height: 44px;
      padding: 0 12px;
    }

    .diy-textarea {
      min-height: 112px;
      resize: vertical;
      padding: 12px;
      line-height: 1.55;
    }

    .diy-input::placeholder,
    .diy-textarea::placeholder {
      color: rgba(220, 232, 245, .45);
    }

    .diy-input:focus,
    .diy-select:focus,
    .diy-textarea:focus {
      border-color: rgba(53, 224, 209, .58);
      background: rgba(53, 224, 209, .08);
      box-shadow: 0 0 0 3px rgba(53, 224, 209, .10);
    }

    .diy-item-list {
      display: grid;
      gap: 12px;
    }

    .diy-add-item-bottom {
      display: none;
      width: 100%;
      margin-top: 12px;
    }

    .diy-item-card {
      min-width: 0;
      padding: 16px;
      border: 1px solid rgba(255, 255, 255, .11);
      border-radius: 8px;
      background: rgba(255, 255, 255, .045);
    }

    .diy-item-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .diy-item-title {
      display: flex;
      min-width: 0;
      align-items: center;
      gap: 10px;
      color: #fff;
      font-weight: 950;
    }

    .diy-item-index {
      display: inline-flex;
      width: 28px;
      height: 28px;
      flex: 0 0 28px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      color: #061316;
      background: var(--cyan);
      font-size: 12px;
      font-weight: 950;
    }

    .diy-remove-item {
      min-height: 32px;
      padding: 0 10px;
      border: 1px solid rgba(255, 95, 109, .32);
      border-radius: 8px;
      color: #ffd7dc;
      background: rgba(255, 95, 109, .08);
      font-size: 12px;
      font-weight: 900;
    }

    .diy-remove-item:hover {
      border-color: rgba(255, 95, 109, .62);
      background: rgba(255, 95, 109, .14);
    }

    .diy-image-picker {
      display: flex;
      flex-wrap: nowrap;
      gap: 10px;
      align-items: flex-start;
      max-width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      padding: 0 2px 8px 0;
      scrollbar-width: thin;
      scrollbar-color: rgba(53, 224, 209, .42) rgba(255, 255, 255, .08);
    }

    .diy-image-picker::-webkit-scrollbar {
      height: 8px;
    }

    .diy-image-picker::-webkit-scrollbar-track {
      border-radius: 999px;
      background: rgba(255, 255, 255, .08);
    }

    .diy-image-picker::-webkit-scrollbar-thumb {
      border-radius: 999px;
      background: rgba(53, 224, 209, .42);
    }

    .diy-upload {
      position: relative;
      display: inline-flex;
      width: 74px;
      height: 74px;
      flex: 0 0 74px;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border: 1px dashed rgba(53, 224, 209, .38);
      border-radius: 8px;
      color: var(--soft);
      background: rgba(53, 224, 209, .055);
      cursor: pointer;
      transition: border-color .18s ease, background .18s ease, transform .18s ease;
    }

    .diy-upload:hover {
      border-color: rgba(53, 224, 209, .66);
      background: rgba(53, 224, 209, .10);
      transform: translateY(-1px);
    }

    .diy-upload-plus {
      color: var(--cyan);
      font-size: 30px;
      font-weight: 700;
      line-height: 1;
    }

    .diy-upload input {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
    }

    .diy-preview-row {
      display: flex;
      flex: 0 0 auto;
      flex-wrap: nowrap;
      gap: 10px;
      min-width: 0;
    }

    .diy-preview-item {
      position: relative;
      width: 74px;
      height: 74px;
      flex: 0 0 74px;
    }

    .diy-preview-item img {
      width: 74px;
      height: 74px;
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 8px;
      object-fit: cover;
      background: rgba(255, 255, 255, .06);
    }

    .diy-preview-remove {
      position: absolute;
      top: -6px;
      right: -6px;
      display: inline-flex;
      width: 20px;
      height: 20px;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 95, 109, .58);
      border-radius: 50%;
      color: #fff;
      background: rgba(255, 95, 109, .96);
      font-size: 14px;
      font-weight: 950;
      line-height: 1;
      box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
    }

    .diy-preview-remove:hover {
      background: #ff4356;
    }

    .diy-options {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .diy-option {
      display: flex;
      min-width: 0;
      align-items: flex-start;
      gap: 10px;
      min-height: 54px;
      padding: 12px;
      border: 1px solid rgba(255, 255, 255, .11);
      border-radius: 8px;
      background: rgba(255, 255, 255, .045);
      color: var(--soft);
      font-size: 13px;
      line-height: 1.45;
      cursor: pointer;
    }

    .diy-option input {
      width: 16px;
      height: 16px;
      flex: 0 0 16px;
      margin-top: 2px;
      accent-color: var(--cyan);
    }

    .diy-option span {
      min-width: 0;
    }

    .diy-option strong {
      display: block;
      color: #fff;
      font-size: 13px;
    }

    .diy-summary {
      position: sticky;
      top: 18px;
      display: grid;
      gap: 14px;
      padding: 18px;
    }

    .diy-summary h2 {
      margin: 0;
      color: #fff;
      font-size: 18px;
      letter-spacing: 0;
    }

    .diy-summary-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255, 255, 255, .10);
      color: var(--muted);
      font-size: 13px;
    }

    .diy-summary-row strong {
      color: #fff;
      white-space: nowrap;
    }

    .diy-summary-note {
      padding: 12px;
      border: 1px solid rgba(255, 106, 0, .34);
      border-radius: 8px;
      color: #fff3ea;
      background: rgba(255, 106, 0, .10);
      font-size: 12px;
      line-height: 1.62;
    }

    .diy-agree {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      color: var(--soft);
      font-size: 12px;
      line-height: 1.55;
    }

    .diy-agree input {
      width: 16px;
      height: 16px;
      flex: 0 0 16px;
      margin-top: 2px;
      accent-color: var(--cyan);
    }

    .diy-agree > span {
      flex: 1 1 auto;
      min-width: 0;
    }

    .diy-agree-links {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 10px;
      margin-top: 7px;
    }

    .diy-agree-links a {
      color: var(--orange-2);
      font-weight: 850;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .diy-agree-warning {
      display: none;
      margin: -6px 0 2px;
      color: #ff5f6d;
      font-size: 12px;
      font-weight: 900;
      line-height: 1.45;
    }

    .diy-agree-warning.is-visible {
      display: block;
      animation: diyAgreeWarningFlash .82s ease-in-out infinite;
    }

    .diy-agree.is-invalid {
      color: #ffd3d7;
    }

    .diy-agree.is-invalid input {
      outline: 2px solid rgba(255, 95, 109, .88);
      outline-offset: 2px;
      box-shadow: 0 0 0 5px rgba(255, 95, 109, .14);
    }

    @keyframes diyAgreeWarningFlash {
      0%, 100% {
        opacity: 1;
        text-shadow: 0 0 0 rgba(255, 95, 109, 0);
      }
      50% {
        opacity: .42;
        text-shadow: 0 0 18px rgba(255, 95, 109, .58);
      }
    }

    .diy-btn {
      display: inline-flex;
      min-height: 42px;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 0 16px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 950;
      line-height: 1.1;
      white-space: nowrap;
      transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
    }

    .diy-btn:hover {
      transform: translateY(-1px);
    }

    .diy-btn-primary {
      border: 0;
      color: #fff;
      background: linear-gradient(135deg, var(--orange-2), var(--orange));
      box-shadow: 0 12px 28px rgba(255, 106, 0, .24);
    }

    .diy-btn-secondary {
      border: 1px solid rgba(53, 224, 209, .38);
      color: var(--text);
      background: rgba(53, 224, 209, .08);
    }

    .diy-btn-ghost {
      border: 1px solid rgba(255, 255, 255, .13);
      color: var(--soft);
      background: rgba(255, 255, 255, .055);
    }

    .diy-btn:disabled {
      opacity: .58;
      cursor: not-allowed;
      transform: none;
    }

    .diy-summary-actions {
      display: grid;
      gap: 10px;
    }

    .diy-mobile-summary {
      display: none;
    }

    .diy-toast {
      position: fixed;
      left: 50%;
      bottom: 22px;
      z-index: 9999;
      display: none;
      max-width: min(92vw, 520px);
      transform: translateX(-50%);
      padding: 12px 16px;
      border: 1px solid rgba(53, 224, 209, .34);
      border-radius: 8px;
      color: #f7fbff;
      background: rgba(8, 24, 29, .96);
      box-shadow: 0 18px 48px rgba(0, 0, 0, .40);
      font-size: 13px;
      line-height: 1.5;
    }

    .diy-toast.is-visible {
      display: block;
    }

    .diy-toast.is-error {
      border-color: rgba(255, 95, 109, .45);
    }



    