/* Sayabee touch template - topic (forumdisplay thread list). Scoped to #page-topic. */
#page-topic ul{margin:0;padding:0;list-style:none}
#page-topic .banner{position:relative;height:200px;background:#0b1030}
#page-topic .clip{position:absolute;inset:0;overflow:hidden}
#page-topic .scene{position:absolute;inset:0;width:100%;height:100%;display:block}
#page-topic .ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.65),transparent)}
#page-topic .top{position:absolute;left:0;right:0;top:0;height:44px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;color:#fff;z-index:3}
#page-topic .top a{display:grid;place-items:center;height:44px;color:#fff}
#page-topic .back{font-size:32px;line-height:1;padding-bottom:4px}
#page-topic .bname{text-align:center;font-size:16px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#page-topic .top svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#page-topic .info{position:absolute;left:16px;right:16px;bottom:34px;display:flex;align-items:center;gap:12px;color:#fff;z-index:3}
#page-topic .bicon{width:56px;height:56px;border-radius:50%;border:2px solid #fff;background:linear-gradient(135deg,#ff8a50,#fb4e23);display:grid;place-items:center;flex:none;box-shadow:0 2px 8px rgba(0,0,0,.3)}
#page-topic .bt{min-width:0}
#page-topic .bt h1{margin:0;font-size:22px;font-weight:700;line-height:1.25;text-shadow:0 1px 3px rgba(0,0,0,.4);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#page-topic .bt p{margin:3px 0 0;font-size:12px;opacity:.95}
#page-topic .bt b{color:#fff3a0;font-weight:600}
#page-topic .waves{position:absolute;left:0;right:0;bottom:-10px;height:30px;overflow:hidden;z-index:4;pointer-events:none}
#page-topic .wv{position:absolute;left:0;top:0;width:calc(100% + 600px);height:30px;background-repeat:repeat-x;background-size:600px 30px}
#page-topic .w1{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='30' viewBox='0 0 600 30'%3E%3Cpath d='M0 15Q150 0 300 15T600 15V30H0Z' fill='%23fff' fill-opacity='1'/%3E%3C/svg%3E");animation:tw1 3.5s infinite linear}
#page-topic .w2{top:5px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='30' viewBox='0 0 600 30'%3E%3Cpath d='M0 15Q150 0 300 15T600 15V30H0Z' fill='%23fff' fill-opacity='0.5'/%3E%3C/svg%3E");animation:tw2 6s infinite linear reverse}
@keyframes tw1{from{background-position:0 0}to{background-position:600px 0}}
@keyframes tw2{from{background-position:0 0}to{background-position:600px 0}}
#page-topic .tabs{position:relative;z-index:1;display:flex;padding:12px 4px 0;background:#fff;border-bottom:1px solid #eee}
#page-topic .tabs a{flex:1;text-align:center;font-size:15px;color:#555;padding:8px 0 9px;position:relative;white-space:nowrap}
#page-topic .tabs a.on{color:#FB4E23;font-weight:600}
#page-topic .tabs a.on:after{content:"";position:absolute;left:50%;bottom:-1px;width:24px;height:3px;margin-left:-12px;border-radius:2px;background:#FB4E23}
#page-topic .pin a{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #eee;font-size:15px;color:#222}
#page-topic .pin em{font-style:normal;flex:none;background:#FB4E23;color:#fff;font-size:11px;line-height:18px;padding:0 8px;border-radius:9px}
#page-topic .pin span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#page-topic .rl{display:flex;gap:10px;padding:10px 12px;border-bottom:1px solid #eee;align-items:flex-start}
#page-topic .av,#page-topic img.av{display:block;width:40px;height:40px;flex:none;border-radius:50%;object-fit:cover}
#page-topic .copy{flex:1;min-width:0}
#page-topic .tt{font-size:16px;line-height:22px;color:#000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#page-topic .pic{display:inline-block;vertical-align:-2px;margin-left:5px}
#page-topic .mt{margin-top:3px;font-size:12px;line-height:18px;color:#999;display:flex;flex-wrap:wrap;column-gap:8px}
#page-topic .foot{padding:22px 0 8px}
/* additions for real-Discuz features that the prototype has no visual for (kept minimal) */
#page-topic .sb-sub{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px;border-bottom:1px solid #eee;background:#fff}
#page-topic .sb-sub a{padding:3px 10px;border-radius:999px;background:#f4f5f7;font-size:13px;color:#555}
#page-topic .sb-types{display:flex;gap:14px;padding:8px 12px;overflow-x:auto;border-bottom:1px solid #eee;background:#fff;white-space:nowrap;-webkit-overflow-scrolling:touch}
#page-topic .sb-types a{font-size:13px;color:#777;padding:2px 0}
#page-topic .sb-types a.on{color:#FB4E23;font-weight:600}
#page-topic .sb-empty{padding:40px 12px;text-align:center;color:#999;font-size:14px}
#page-topic .page{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 12px 4px;font-size:14px}
#page-topic .page>a{flex:1 1 0;text-align:center;line-height:34px;border:1px solid #fcd0c3;border-radius:999px;color:#FB4E23;background:#fff;position:relative;white-space:nowrap}
#page-topic .page>a.grey{color:#bbb;border-color:#eee;background:#fafafa}
#page-topic .page>a#select_a{color:#555;border-color:#eee}
#page-topic .page select{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;font-size:16px;border:0}
#page-topic .sb-bd{font-style:normal;display:inline-block;margin-right:5px;padding:0 5px;border-radius:3px;background:#fff1ec;color:#FB4E23;font-size:11px;line-height:16px;vertical-align:1px}
#page-topic .tt span{display:inline}
